(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{53627:function(e,t,n){"use strict";t.Z=void 0;var r=o(n(67294)),i=o(n(63494));function o(e){return e&&e.__esModule?e:{default:e}}let a=e=>r.default.createElement(i.default,Object.assign({dangerouslySetGlyph:''},e));a.displayName="CheckMarkIcon",t.Z=a},2769:function(e,t,n){"use strict";t.Z=void 0;var r=o(n(67294)),i=o(n(63494));function o(e){return e&&e.__esModule?e:{default:e}}let a=e=>r.default.createElement(i.default,Object.assign({dangerouslySetGlyph:''},e));a.displayName="InformationCircleIcon",t.Z=a},83706:function(e,t,n){"use strict";t.Z=void 0;var r=o(n(67294)),i=o(n(63494));function o(e){return e&&e.__esModule?e:{default:e}}let a=e=>r.default.createElement(i.default,Object.assign({dangerouslySetGlyph:''},e));a.displayName="SearchIcon",t.Z=a},54627:function(e,t,n){"use strict";t.Z=void 0;var r=o(n(67294)),i=o(n(63494));function o(e){return e&&e.__esModule?e:{default:e}}let a=e=>r.default.createElement(i.default,Object.assign({dangerouslySetGlyph:''},e));a.displayName="WarningIcon",t.Z=a},63494:function(e,t,n){"use strict";n.r(t),n.d(t,{Icon:function(){return g},default:function(){return m}});var r=n(67294),i=n(77967),o=n(62620),a=(0,i.iv)({overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"}}),s=(0,i.iv)({color:"currentColor",verticalAlign:"bottom"}),u=(0,i.iv)({display:"inline-block",boxSizing:"border-box",flexShrink:0,lineHeight:1,paddingInlineEnd:"var(--ds--button--new-icon-padding-end, 0)",paddingInlineStart:"var(--ds--button--new-icon-padding-start, 0)"}),l=(0,i.iv)({lineHeight:"var(--ds-space-150, 12px)"}),c=(0,i.iv)({width:"inherit",height:"inherit"}),d=(0,i.iv)({"@media screen and (forced-colors: active)":{color:"CanvasText",filter:"grayscale(1)"}}),f=(0,i.iv)({width:"inherit",height:"inherit"}),h={core:{none:(0,i.iv)({width:"var(--ds-space-200, 16px)",height:"var(--ds-space-200, 16px)"}),spacious:(0,i.iv)({width:"var(--ds-space-300, 24px)",height:"var(--ds-space-300, 24px)"})},utility:{none:(0,i.iv)({width:"var(--ds-space-150, 12px)",height:"var(--ds-space-150, 12px)"}),compact:(0,i.iv)({width:"var(--ds-space-200, 16px)",height:"var(--ds-space-200, 16px)"}),spacious:(0,i.iv)({width:"var(--ds-space-300, 24px)",height:"var(--ds-space-300, 24px)"})}},p={core:16,utility:12},v={core:{none:0,spacious:4},utility:{none:0,compact:2,spacious:6}},g=(0,r.memo)(function(e){var t,n,r,g,m,y,b=e.color,_=void 0===b?"currentColor":b,w=e.testId,E=e.label,k=e.LEGACY_primaryColor,C=e.LEGACY_secondaryColor,x=e.LEGACY_size,S=e.LEGACY_fallbackIcon,O=e.dangerouslySetGlyph,I=e.shouldScale,A=e.LEGACY_margin;if(S&&!(0,o.fg)("platform-visual-refresh-icons"))return(0,i.tZ)(S,{primaryColor:null!=k?k:_,secondaryColor:C,size:x,label:E,testId:w,UNSAFE_margin:A});var T=p[null!==(t=e.type)&&void 0!==t?t:"core"]+2*(g="utility"===e.type?v[e.type][null!==(m=e.spacing)&&void 0!==m?m:"none"]:v.core[null!==(y=e.spacing)&&void 0!==y?y:"none"]);return(0,i.tZ)("span",{"data-testid":w,role:E?"img":void 0,"aria-label":E||void 0,"aria-hidden":!E||void 0,style:{color:_},css:[u,d,I&&c,"utility"===e.type&&l]},(0,i.tZ)("svg",{fill:"none",viewBox:"".concat(0-g," ").concat(0-g," ").concat(T," ").concat(T),role:"presentation",css:[a,s,I?f:"utility"===e.type?h[e.type][null!==(n=e.spacing)&&void 0!==n?n:"none"]:h.core[null!==(r=e.spacing)&&void 0!==r?r:"none"]],dangerouslySetInnerHTML:O?{__html:O}:void 0}))}),m=g},62620:function(e,t,n){"use strict";n.d(t,{fg:function(){return eV}});var r,i,o=n(15671),a=n(43144),s=n(4942),u=n(45987),l=n(86854),c=n(15861),d=n(64687),f=n.n(d),h=n(90250),p=n(26729),v=n.n(p);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 m(e){for(var t=1;t0}()?k.COMMERCIAL:k.FEDRAMP_MODERATE},e)},I=function(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;var n=Object.entries(e),r=Object.entries(t);if(n.length!==r.length)return!1;var i=function(e,t){var n=(0,l.Z)(e,1)[0],r=(0,l.Z)(t,1)[0];return n.localeCompare(r)};n.sort(i),r.sort(i);for(var o=0;o4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;(0,o.Z)(this,e),this.value=n,this._name=t,this._ruleID=r,this._secondaryExposures=a,this._allocatedExperimentName=s,this._evaluationDetails=i,this._onDefaultValueFallback=u}return(0,a.Z)(e,[{key:"get",value:function(e,t,n){var r,i,o=this.getValue(e,t);if(null==o)return t;var a=Array.isArray(t)?"array":(0,_.Z)(t),s=Array.isArray(o)?"array":(0,_.Z)(o);return n?n(o)?(this.fireExposure(e),o):(null===(i=this._onDefaultValueFallback)||void 0===i||i.call(this,this,e,a,s),t):null==t||a===s?(this.fireExposure(e),o):(null===(r=this._onDefaultValueFallback)||void 0===r||r.call(this,this,e,a,s),t)}},{key:"getValue",value:function(e,t){return null==e?this.value:(null==t&&(t=null),null==this.value[e])?t:(this.fireExposure(e),this.value[e])}},{key:"fireExposure",value:function(e){this.experiment&&this.experiment.get(e)}}],[{key:"fromExperiment",value:function(t){var n,r,i,o=new e(t.name,t.value,t.ruleID,R(t.details),P(null!==(n=null===(r=t.__evaluation)||void 0===r?void 0:r.secondary_exposures)&&void 0!==n?n:[]),null!==(i=t.groupName)&&void 0!==i?i:void 0);return o.experiment=t,o}}])}(),D=function(){function e(t,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:[];(0,o.Z)(this,e),this._logParameterFunction=a,this._name=t,this._value=JSON.parse(JSON.stringify(null!=n?n:{})),this._ruleID=null!=r?r:"",this._evaluationDetails=i,this._secondaryExposures=s,this._undelegatedSecondaryExposures=u,this._allocatedExperimentName=l,this._explicitParameters=c}return(0,a.Z)(e,[{key:"get",value:function(e,t,n){var r=this,i=this._value[e];if(null==i)return t;var o=function(){return r._logLayerParameterExposure(e),i};return n?n(i)?o():t:null==t||(0,_.Z)(i)===(0,_.Z)(t)&&Array.isArray(t)===Array.isArray(i)?o():t}},{key:"getValue",value:function(e,t){void 0==t&&(t=null);var n=this._value[e];return null!=n&&this._logLayerParameterExposure(e),null!=n?n:t}},{key:"_logLayerParameterExposure",value:function(e){var t;null===(t=this._logParameterFunction)||void 0===t||t.call(this,this,e)}}],[{key:"fromLayer",value:function(t){var n,r,i,o,a,s;return new e(t.name,t.__value,t.ruleID,R(t.details),function(e,n){return t.get(n)},P(null!==(n=null===(r=t.__evaluation)||void 0===r?void 0:r.secondary_exposures)&&void 0!==n?n:[]),P(null!==(i=null===(o=t.__evaluation)||void 0===o?void 0:o.undelegated_secondary_exposures)&&void 0!==i?i:[]),null===(a=t.__evaluation)||void 0===a?void 0:a.allocated_experiment_name,null===(s=t.__evaluation)||void 0===s?void 0:s.explicit_parameters)}}])}(),M="0.0.0-development",F=n(58018),B=n(61120),N=n(60136),z=n(89611);function V(e,t,n){return(V=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,z.Z)(i,n.prototype),i}:Reflect.construct.bind()).apply(null,arguments)}function U(e){var t="function"==typeof Map?new Map:void 0;return(U=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return V(e,arguments,(0,B.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,z.Z)(n,e)})(e)}function H(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(H=function(){return!!e})()}var Z=function(e){function t(e){var n,r;return(0,o.Z)(this,t),n=t,r=[e],n=(0,B.Z)(n),(0,F.Z)(this,H()?Reflect.construct(n,r||[],(0,B.Z)(this).constructor):n.apply(this,r))}return(0,N.Z)(t,e),(0,a.Z)(t)}(U(Error));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}var W=function(){var e,t,n,r,i;function u(){(0,o.Z)(this,u)}return(0,a.Z)(u,null,[{key:"fetchClientSdk",value:(e=(0,c.Z)(f().mark(function e(t){var n,r;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.targetApp,r="/api/v2/frontend/clientSdkKey/".concat(n),e.prev=2,e.next=5,this.fetchRequest(r,"GET",t);case 5:return e.abrupt("return",e.sent);case 8:if(e.prev=8,e.t0=e.catch(2),!(e.t0 instanceof Error)){e.next=12;break}throw e.t0;case 12:throw Error("Failed to retrieve client sdk key");case 13:case"end":return e.stop()}},e,this,[[2,8]])})),function(t){return e.apply(this,arguments)})},{key:"fetchExperimentValues",value:(t=(0,c.Z)(f().mark(function e(t,n,r){var i;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i={identifiers:n,customAttributes:r,targetApp:t.targetApp},e.prev=1,e.next=4,this.fetchRequest("/api/v2/frontend/experimentValues","POST",t,i);case 4:return e.abrupt("return",e.sent);case 7:if(e.prev=7,e.t0=e.catch(1),!(e.t0 instanceof Error)){e.next=11;break}throw e.t0;case 11:throw Error("Failed to retrieve experiment values");case 12:case"end":return e.stop()}},e,this,[[1,7]])})),function(e,n,r){return t.apply(this,arguments)})},{key:"handleResponseError",value:(n=(0,c.Z)(f().mark(function e(t){var n;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok){e.next=5;break}return e.next=3,t.text();case 3:throw n=e.sent,new Z("Non 2xx response status received, status: ".concat(t.status,", body: ").concat(JSON.stringify(n)));case 5:if(204!==t.status){e.next=7;break}throw new Z("Unexpected 204 response");case 7:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})},{key:"extractResponseBody",value:(r=(0,c.Z)(f().mark(function e(t){var n;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.text();case 2:return n=e.sent,e.abrupt("return",JSON.parse(n));case 4:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)})},{key:"getBaseUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(t)return"/gateway/api/flags";if(n===k.FEDRAMP_MODERATE)switch(e){case E.Production:return"https://api.atlassian-us-gov-mod.com/flags";case E.Staging:return"https://api.stg.atlassian-us-gov-mod.com/flags";default:throw Error('Invalid environment "'.concat(e,'" for "').concat(n,'" perimeter'))}else if(n===k.COMMERCIAL)switch(e){case E.Development:return"https://api.dev.atlassian.com/flags";case E.Staging:var i=this.getApiUrl(r);if(null!==i)return i;return"https://api.stg.atlassian.com/flags";default:var o=this.getApiUrl(r);if(null!==o)return o;return"https://api.atlassian.com/flags"}else throw Error('Invalid perimeter "'.concat(n,'"'))}},{key:"fetchRequest",value:(i=(0,c.Z)(f().mark(function e(t,n,r,i){var o,a,l,c,d;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=u.getBaseUrl(r.environment,r.useGatewayURL,r.perimeter,r.isolationContextId),a=r.fetchTimeoutMs||5e3,AbortSignal.timeout?l=AbortSignal.timeout(a):AbortController&&(l=(c=new AbortController).signal,setTimeout(function(){return c.abort()},a)),e.next=5,fetch("".concat(o).concat(t),function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(o);try{for(a.s();!(r=a.n()).done;){var s=r.value,u=(0,X._DJB2)(s);o.has(u)&&delete i[u]}}catch(e){a.e(e)}finally{a.f()}}this.applyOverrides(e)}},{key:"saveOverrides",value:function(){try{window.localStorage.setItem(this._localStorageKey,JSON.stringify(this._overrides))}catch(e){}}},{key:"getOverrides",value:function(){return this.mergeOverrides(this._overrides)}},{key:"applyOverrides",value:function(e){var t=ee(ee({},ei()),e);this._djb2Map.clear();for(var n=0,r=Object.entries(t);n0&&void 0!==arguments[0]?arguments[0]:{},r=n.localStorageKey,i=n.overrideAdapter;(0,o.Z)(this,e),(0,s.Z)(this,"initPromise",null),(0,s.Z)(this,"initCompleted",!1),(0,s.Z)(this,"initWithDefaults",!1),(0,s.Z)(this,"hasCheckGateErrorOccurred",!1),(0,s.Z)(this,"hasGetExperimentErrorOccurred",!1),(0,s.Z)(this,"hasGetExperimentValueErrorOccurred",!1),(0,s.Z)(this,"hasGetLayerErrorOccurred",!1),(0,s.Z)(this,"hasGetLayerValueErrorOccurred",!1),(0,s.Z)(this,"subscriptions",new b),(0,s.Z)(this,"dataAdapter",new Y),(0,s.Z)(this,"statsigValuesUpdated",function(){t.user&&t.statsigClient.updateUserSync(t.user,{disableBackgroundCacheRefresh:!0}),t.subscriptions.anyUpdated()}),this.overrideAdapter=i||new ea(void 0===r?"STATSIG_OVERRIDES":r)},[{key:"initialize",value:(em=(0,c.Z)(f().mark(function e(t,n,r){var i,o,a=this;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=O(t),!this.initPromise){e.next=4;break}return I(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),e.abrupt("return",this.initPromise);case 4:return o=performance.now(),this.initOptions=i,this.initPromise=this.init(i,n,r).then(function(){a.initCompleted=!0,a.initWithDefaults=!0}).finally(function(){var e=performance.now()-o;a.fireClientEvent(o,e,"initialize",a.initCompleted,i.apiKey)}),e.abrupt("return",this.initPromise);case 8:case"end":return e.stop()}},e,this)})),function(e,t,n){return em.apply(this,arguments)})},{key:"initializeWithProvider",value:(ey=(0,c.Z)(f().mark(function e(t,n,r,i){var o,a,s=this;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=O(t),!this.initPromise){e.next=4;break}return I(o,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),e.abrupt("return",this.initPromise);case 4:return a=performance.now(),this.initOptions=o,this.provider=n,this.provider.setClientVersion(M),this.provider.setApplyUpdateCallback&&this.provider.setApplyUpdateCallback(this.applyUpdateCallback.bind(this)),this.initPromise=this.initWithProvider(o,n,r,i).then(function(){s.initCompleted=!0,s.initWithDefaults=!0}).finally(function(){var e=performance.now()-a;s.fireClientEvent(a,e,"initializeWithProvider",s.initCompleted,n.getApiKey?n.getApiKey():void 0)}),e.abrupt("return",this.initPromise);case 11:case"end":return e.stop()}},e,this)})),function(e,t,n,r){return ey.apply(this,arguments)})},{key:"applyUpdateCallback",value:function(e){try{(this.initCompleted||this.initWithDefaults)&&(this.assertInitialized(this.statsigClient),this.dataAdapter.setBootstrapData(e.experimentValues),this.dataAdapter.setData(JSON.stringify(e.experimentValues)),this.statsigValuesUpdated())}catch(e){console.warn("Error when attempting to apply update",e)}}},{key:"fireClientEvent",value:function(e,t,n,r){var i,o=this,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;null===(i=this.initOptions.analyticsWebClient)||void 0===i||i.then(function(i){var s=el({targetApp:o.initOptions.targetApp,clientVersion:M,success:r,startTime:e,totalTime:t},a&&{apiKey:a});i.sendOperationalEvent({action:n,actionSubject:"featureGatesClient",attributes:s,tags:["measurement"],source:"@atlaskit/feature-gate-js-client"})}).catch(function(e){o.initOptions.environment!==E.Production&&console.error("Analytics web client promise did not resolve",e)})}},{key:"initializeFromValues",value:(eb=(0,c.Z)(f().mark(function e(t,n,r){var i,o,a,s=this,u=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=u.length>3&&void 0!==u[3]?u[3]:{},o=O(t),!this.initPromise){e.next=5;break}return I(o,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),e.abrupt("return",this.initPromise);case 5:return Object.prototype.hasOwnProperty.call(i,"has_updates")||(i.has_updates=!0),a=performance.now(),this.initOptions=o,this.initPromise=this.initFromValues(o,n,r,i).then(function(){s.initCompleted=!0,s.initWithDefaults=!0}).finally(function(){var e=performance.now()-a;s.fireClientEvent(a,e,"initializeFromValues",s.initCompleted)}),e.abrupt("return",this.initPromise);case 10:case"end":return e.stop()}},e,this)})),function(e,t,n){return eb.apply(this,arguments)})},{key:"assertInitialized",value:function(e){if(!e)throw Error("Client must be initialized before using this method")}},{key:"updateUser",value:(e_=(0,c.Z)(f().mark(function e(t,n,r){var i,o;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.assertInitialized(this.statsigClient),i=O(t),o=function(){return W.fetchExperimentValues(i,n,r).then(function(e){return{experimentValues:e.experimentValues,customAttributesFromFetch:e.customAttributes}})},e.next=5,this.updateUserUsingInitializeValuesProducer(o,n,r);case 5:case"end":return e.stop()}},e,this)})),function(e,t,n){return e_.apply(this,arguments)})},{key:"updateUserWithProvider",value:(ew=(0,c.Z)(f().mark(function e(t,n){var r=this;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.assertInitialized(this.statsigClient),this.provider){e.next=3;break}throw Error("Cannot update user using provider as the client was not initialised with a provider");case 3:return e.next=5,this.provider.setProfile(this.initOptions,t,n);case 5:return e.next=7,this.updateUserUsingInitializeValuesProducer(function(){return r.provider.getExperimentValues()},t,n);case 7:case"end":return e.stop()}},e,this)})),function(e,t){return ew.apply(this,arguments)})},{key:"updateUserWithValues",value:(eE=(0,c.Z)(f().mark(function e(t,n){var r,i,o=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>2&&void 0!==o[2]?o[2]:{},this.assertInitialized(this.statsigClient),i=function(){return Promise.resolve({experimentValues:r,customAttributesFromFetch:n})},e.next=5,this.updateUserUsingInitializeValuesProducer(i,t,n);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return eE.apply(this,arguments)})},{key:"initializeCalled",value:function(){return null!=this.initPromise}},{key:"initializeCompleted",value:function(){return this.initCompleted}},{key:"checkGate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var n=t.fireGateExposure;return this.statsigClient.checkGate(e,{disableExposureLog:!(void 0===n||n)})}catch(t){return this.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate. Only the first occurrence of this error is logged.",gateName:e,error:t}),this.hasCheckGateErrorOccurred=!0),!1}}},{key:"isGateExist",value:function(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getFeatureGate(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error("Error occurred when trying to check FeatureGate: ".concat(e)),!0}}},{key:"isExperimentExist",value:function(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getExperiment(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error("Error occurred when trying to check Experiment: ".concat(e)),!0}}},{key:"manuallyLogGateExposure",value:function(e){this.assertInitialized(this.statsigClient),this.statsigClient.checkGate(e)}},{key:"getExperiment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var n=t.fireExperimentExposure;return j.fromExperiment(this.statsigClient.getExperiment(e,{disableExposureLog:!(void 0===n||n)}))}catch(t){return this.hasGetExperimentErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment. Only the first occurrence of this error is logged.",experimentName:e,error:t}),this.hasGetExperimentErrorOccurred=!0),new j(e,{},"",{time:Date.now(),reason:w.Error})}}},{key:"getExperimentValue",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=this.getExperiment(e,r);try{var o=r.typeGuard;return i.get(t,n,o)}catch(t){return this.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:n,options:r,error:t}),this.hasGetExperimentValueErrorOccurred=!0),n}}},{key:"manuallyLogExperimentExposure",value:function(e){this.assertInitialized(this.statsigClient),this.statsigClient.getExperiment(e)}},{key:"manuallyLogLayerExposure",value:function(e,t){var n;this.assertInitialized(this.statsigClient),null===(n=this.statsigClient.getLayer(e))||void 0===n||n.get(t)}},{key:"shutdownStatsig",value:function(){this.assertInitialized(this.statsigClient),this.statsigClient.shutdown()}},{key:"overrideGate",value:function(e,t){if(this.overrideAdapter.overrideGate(e,t),this.user){var n;null===(n=this.statsigClient)||void 0===n||n.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0})}this.statsigValuesUpdated()}},{key:"clearGateOverride",value:function(e){this.overrideAdapter.removeGateOverride(e),this.statsigValuesUpdated()}},{key:"overrideConfig",value:function(e,t){this.overrideAdapter.overrideDynamicConfig(e,t),this.statsigValuesUpdated()}},{key:"clearConfigOverride",value:function(e){this.overrideAdapter.removeDynamicConfigOverride(e),this.statsigValuesUpdated()}},{key:"setOverrides",value:function(e){this.overrideAdapter.setOverrides(e),this.statsigValuesUpdated()}},{key:"getOverrides",value:function(){return this.overrideAdapter.getOverrides()}},{key:"clearAllOverrides",value:function(){this.overrideAdapter.removeAllOverrides(),this.statsigValuesUpdated()}},{key:"isCurrentUser",value:function(e,t){return I(this.currentIdentifiers,e)&&I(this.currentAttributes,t)}},{key:"onGateUpdated",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.subscriptions.onGateUpdated(e,function(i){var o=r.fireGateExposure;(void 0===o||o)&&n.manuallyLogGateExposure(e);try{t(i)}catch(t){console.warn("Error calling callback for gate ".concat(e," with value ").concat(i),t)}},this.checkGate.bind(this),r)}},{key:"onExperimentValueUpdated",value:function(e,t,n,r){var i=this,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return this.subscriptions.onExperimentValueUpdated(e,t,n,function(t){var n=o.fireExperimentExposure;(void 0===n||n)&&i.manuallyLogExperimentExposure(e);try{r(t)}catch(n){console.warn("Error calling callback for experiment ".concat(e," with value ").concat(t),n)}},this.getExperimentValue.bind(this),o)}},{key:"onAnyUpdated",value:function(e){return this.subscriptions.onAnyUpdated(e)}},{key:"init",value:(ek=(0,c.Z)(f().mark(function e(t,n,r){var i,o,a,s,u,c,d;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=el({},t),e.prev=1,s=W.fetchClientSdk(t).then(function(e){return i.sdkKey=e.clientSdkKey}),u=W.fetchExperimentValues(t,n,r),e.next=6,Promise.all([s,u]);case 6:c=e.sent,o=(d=(0,l.Z)(c,2)[1]).experimentValues,a=d.customAttributes,e.next=20;break;case 13:return e.prev=13,e.t0=e.catch(1),e.t0 instanceof Error&&console.error("Error occurred when trying to fetch the Feature Gates client values, error: ".concat(null===e.t0||void 0===e.t0?void 0:e.t0.message)),console.warn("Initialising Statsig client without values"),e.next=19,this.initFromValues(i,n,r);case 19:throw e.t0;case 20:return e.abrupt("return",this.initFromValues(i,n,a,o));case 21:case"end":return e.stop()}},e,this,[[1,13]])})),function(e,t,n){return ek.apply(this,arguments)})},{key:"initWithProvider",value:(eC=(0,c.Z)(f().mark(function e(t,n,r,i){var o,a,s,u,c,d,h;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=el(el({},t),{},{disableCurrentPageLogging:!0}),e.prev=1,e.next=4,n.setProfile(t,r,i);case 4:return u=n.getClientSdkKey().then(function(e){return o.sdkKey=e}),c=n.getExperimentValues(),e.next=8,Promise.all([u,c]);case 8:d=e.sent,a=(h=(0,l.Z)(d,2)[1]).experimentValues,s=h.customAttributesFromFetch,e.next=22;break;case 15:return e.prev=15,e.t0=e.catch(1),e.t0 instanceof Error&&console.error("Error occurred when trying to fetch the Feature Gates client values, error: ".concat(null===e.t0||void 0===e.t0?void 0:e.t0.message)),console.warn("Initialising Statsig client without values"),e.next=21,this.initFromValues(o,r,i);case 21:throw e.t0;case 22:return e.abrupt("return",this.initFromValues(o,r,s,a));case 23:case"end":return e.stop()}},e,this,[[1,15]])})),function(e,t,n,r){return eC.apply(this,arguments)})},{key:"initFromValues",value:(ex=(0,c.Z)(f().mark(function e(t,n,r){var i,o,a,s,l,c,d,p=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=p.length>3&&void 0!==p[3]?p[3]:{},this.overrideAdapter.initFromStoredOverrides(),this.currentIdentifiers=n,this.currentAttributes=r,(a=T(t)).sdkKey||(a.sdkKey=ec),null!==(i=a.networkConfig)&&void 0!==i&&i.logEventUrl||(a.networkConfig=el(el({},a.networkConfig),{},{logEventUrl:"https://xp.atlassian.com/v1/rgstr"})),a.perimeter===k.FEDRAMP_MODERATE&&(a.disableLogging=!0),s=a.sdkKey,l=a.environment,a.updateUserCompletionCallback,a.perimeter,c=(0,u.Z)(a,es),this.user=A(n,r),d=el(el({},c),{},{environment:{tier:l},includeCurrentPageUrlWithEvents:!1,dataAdapter:this.dataAdapter,overrideAdapter:this.overrideAdapter,logEventCompressionMode:h.LogEventCompressionMode.Forced}),n.stableId?h.StableID.setOverride(n.stableId,s):d.disableStableID=!0,e.prev=12,this.statsigClient=new h.StatsigClient(s,this.user,d),this.dataAdapter.setBootstrapData(o),e.next=17,this.statsigClient.initializeAsync();case 17:e.next=29;break;case 19:return e.prev=19,e.t0=e.catch(12),e.t0 instanceof Error&&console.error("Error occurred when trying to initialise the Statsig client, error: ".concat(null===e.t0||void 0===e.t0?void 0:e.t0.message)),console.warn("Initialising Statsig client with default sdk key and without values"),this.statsigClient=new h.StatsigClient(ec,this.user,d),this.dataAdapter.setBootstrapData(),e.next=27,this.statsigClient.initializeAsync();case 27:throw this.initWithDefaults=!0,e.t0;case 29:case"end":return e.stop()}},e,this,[[12,19]])})),function(e,t,n){return ex.apply(this,arguments)})},{key:"updateUserUsingInitializeValuesProducer",value:(eS=(0,c.Z)(f().mark(function e(t,n,r){var i,o,a,s=this;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.assertInitialized(this.statsigClient),this.initPromise){e.next=3;break}throw Error("The client must be initialized before you can update the user.");case 3:if(!this.isCurrentUser(n,r)){e.next=5;break}return e.abrupt("return",this.initPromise);case 5:return i=this.initPromise,e.prev=6,e.next=9,this.initPromise;case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(6);case 13:return o=t(),a=this.updateStatsigClientUser(o,n,r),this.initPromise=a.catch((0,c.Z)(f().mark(function e(){return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s.initPromise=i,!s.provider){e.next=4;break}return e.next=4,s.provider.setProfile(s.initOptions,s.currentIdentifiers,s.currentAttributes);case 4:case"end":return e.stop()}},e)}))),e.abrupt("return",a);case 17:case"end":return e.stop()}},e,this,[[6,11]])})),function(e,t,n){return eS.apply(this,arguments)})},{key:"updateStatsigClientUser",value:(eO=(0,c.Z)(f().mark(function e(t,n,r){var i,o,a,s,u,l,c,d,h;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.assertInitialized(this.statsigClient),e.prev=1,e.next=4,t;case 4:s=A(n,(a=e.sent).customAttributesFromFetch),e.next=13;break;case 8:throw e.prev=8,e.t0=e.catch(1),c=e.t0 instanceof Error?e.t0.message:JSON.stringify(e.t0),null===(u=(l=this.initOptions).updateUserCompletionCallback)||void 0===u||u.call(l,!1,c),e.t0;case 13:if(d=!0,h=null,e.prev=15,this.dataAdapter.setBootstrapData(a.experimentValues),this.user=s,!this.user){e.next=21;break}return e.next=21,this.statsigClient.updateUserAsync(this.user);case 21:e.next=27;break;case 23:e.prev=23,e.t1=e.catch(15),d=!1,h=String(e.t1);case 27:if(null===(i=this.initOptions)||void 0===i||null===(o=i.updateUserCompletionCallback)||void 0===o||o.call(i,d,h),!d){e.next=34;break}this.currentIdentifiers=n,this.currentAttributes=r,this.subscriptions.anyUpdated(),e.next=35;break;case 34:throw Error("Failed to update user. An unexpected error occured.");case 35:case"end":return e.stop()}},e,this,[[1,8],[15,23]])})),function(e,t,n){return eO.apply(this,arguments)})},{key:"getPackageVersion",value:function(){return M}},{key:"getLayer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var n=t.fireLayerExposure;return D.fromLayer(this.statsigClient.getLayer(e,{disableExposureLog:!(void 0===n||n)}))}catch(t){return this.hasGetLayerErrorOccurred||(console.warn({msg:"An error has occurred getting the layer. Only the first occurrence of this error is logged.",layerName:e,error:t}),this.hasGetLayerErrorOccurred=!0),D.fromLayer((0,h._makeLayer)(e,{reason:"Error"},null))}}},{key:"getLayerValue",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=this.getLayer(e,r);try{var o=r.typeGuard;return i.get(t,n,o)}catch(t){return this.hasGetLayerValueErrorOccurred||(console.warn({msg:"An error has occurred getting the layer value. Only the first occurrence of this error is logged.",layerName:e,defaultValue:n,options:r,error:t}),this.hasGetLayerValueErrorOccurred=!0),n}}}]),ef=(0,a.Z)(function e(){(0,o.Z)(this,e)},null,[{key:"isGateExists",value:function(e){return this.client.isGateExist(e)}},{key:"isExperimentExists",value:function(e){return this.client.isExperimentExist(e)}}]);(0,s.Z)(ef,"client",new ed),(0,s.Z)(ef,"hasCheckGateErrorOccurred",!1),(0,s.Z)(ef,"hasGetExperimentValueErrorOccurred",!1),(0,s.Z)(ef,"checkGate",function(e,t){try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getFeatureFlagOverride){var n=window.__CRITERION__.getFeatureFlagOverride(e);if(void 0!==n)return n}}catch(t){ef.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate from criterion override. Only the first occurrence of this error is logged.",gateName:e,error:t}),ef.hasCheckGateErrorOccurred=!0)}return ef.client.checkGate(e,t)}),(0,s.Z)(ef,"getExperimentValue",function(e,t,n,r){try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getExperimentValueOverride){var i=window.__CRITERION__.getExperimentValueOverride(e,t);if(null!=i)return i}}catch(t){return ef.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value from criterion override. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:n,options:r,error:t}),ef.hasGetExperimentValueErrorOccurred=!0),n}return ef.client.getExperimentValue(e,t,n,r)}),(0,s.Z)(ef,"initializeCalled",ef.client.initializeCalled.bind(ef.client)),(0,s.Z)(ef,"initializeCompleted",ef.client.initializeCompleted.bind(ef.client)),(0,s.Z)(ef,"initialize",ef.client.initialize.bind(ef.client)),(0,s.Z)(ef,"initializeWithProvider",ef.client.initializeWithProvider.bind(ef.client)),(0,s.Z)(ef,"initializeFromValues",ef.client.initializeFromValues.bind(ef.client)),(0,s.Z)(ef,"manuallyLogGateExposure",ef.client.manuallyLogGateExposure.bind(ef.client)),(0,s.Z)(ef,"getExperiment",ef.client.getExperiment.bind(ef.client)),(0,s.Z)(ef,"manuallyLogExperimentExposure",ef.client.manuallyLogExperimentExposure.bind(ef.client)),(0,s.Z)(ef,"manuallyLogLayerExposure",ef.client.manuallyLogLayerExposure.bind(ef.client)),(0,s.Z)(ef,"shutdownStatsig",ef.client.shutdownStatsig.bind(ef.client)),(0,s.Z)(ef,"overrideGate",ef.client.overrideGate.bind(ef.client)),(0,s.Z)(ef,"clearGateOverride",ef.client.clearGateOverride.bind(ef.client)),(0,s.Z)(ef,"overrideConfig",ef.client.overrideConfig.bind(ef.client)),(0,s.Z)(ef,"clearConfigOverride",ef.client.clearConfigOverride.bind(ef.client)),(0,s.Z)(ef,"setOverrides",ef.client.setOverrides.bind(ef.client)),(0,s.Z)(ef,"getOverrides",ef.client.getOverrides.bind(ef.client)),(0,s.Z)(ef,"clearAllOverrides",ef.client.clearAllOverrides.bind(ef.client)),(0,s.Z)(ef,"isCurrentUser",ef.client.isCurrentUser.bind(ef.client)),(0,s.Z)(ef,"onGateUpdated",ef.client.onGateUpdated.bind(ef.client)),(0,s.Z)(ef,"onExperimentValueUpdated",ef.client.onExperimentValueUpdated.bind(ef.client)),(0,s.Z)(ef,"onAnyUpdated",ef.client.onAnyUpdated.bind(ef.client)),(0,s.Z)(ef,"updateUser",ef.client.updateUser.bind(ef.client)),(0,s.Z)(ef,"updateUserWithProvider",ef.client.updateUserWithProvider.bind(ef.client)),(0,s.Z)(ef,"updateUserWithValues",ef.client.updateUserWithValues.bind(ef.client)),(0,s.Z)(ef,"getPackageVersion",ef.client.getPackageVersion.bind(ef.client)),(0,s.Z)(ef,"getLayer",ef.client.getLayer.bind(ef.client)),(0,s.Z)(ef,"getLayerValue",ef.client.getLayerValue.bind(ef.client));var eh=ef;if("undefined"!=typeof window){if(void 0===window.__FEATUREGATES_JS__)window.__FEATUREGATES_JS__=ef;else{var ep,ev,eg,em,ey,eb,e_,ew,eE,ek,eC,ex,eS,eO,eI,eA,eT=(null===(eI=eh=window.__FEATUREGATES_JS__)||void 0===eI||null===(eA=eI.getPackageVersion)||void 0===eA?void 0:eA.call(eI))||"4.10.0 or earlier";eT!==M&&console.warn("Multiple versions of FeatureGateClients found on the current page.\n The currently bound version is ".concat(eT," when module version ").concat(M," was loading."))}}var eL=eh,eR=!((null==globalThis||null===(r=globalThis.process)||void 0===r||null===(r=r.env)||void 0===r?void 0:r.JEST_WORKER_ID)!==void 0)&&(null==globalThis||null===(i=globalThis.process)||void 0===i||null===(i=i.env)||void 0===i?void 0:i.NODE_ENV)!=="production",eP=function(){var e;eR&&(e=console).debug.apply(e,arguments)},ej=n(83454),eD="__PLATFORM_FEATURE_FLAGS__",eM=void 0!==ej&&void 0!==ej.env,eF=!!eM&&"true"===ej.env.ENABLE_PLATFORM_FF,eB=!!eM&&"true"===ej.env.STORYBOOK_ENABLE_PLATFORM_FF,eN=eF||eB,ez="undefined"!=typeof window?window:globalThis;function eV(e){return function(e){if(eN)return eP('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',"@atlaskit/platform-feature-flags",e),!0;try{if((null===(t=ez[eD])||void 0===t?void 0:t.booleanResolver)===void 0||(null===(n=ez[eD])||void 0===n?void 0:n.booleanResolver)===null)return eL.checkGate(e);var t,n,r,i=null===(r=ez[eD])||void 0===r?void 0:r.booleanResolver(e);if("boolean"!=typeof i)return console.warn("".concat(e," resolved to a non-boolean value, returning false for safety")),!1;return i}catch(e){return!1}}(e)}ez[eD]=ez[eD]||{booleanResolver:void 0}},43436:function(e,t,n){var r=n(73325),i=n(34888);i.v1=r,i.v4=i,e.exports=i},19692:function(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0;return[t[e[r++]],t[e[r++]],t[e[r++]],t[e[r++]],"-",t[e[r++]],t[e[r++]],"-",t[e[r++]],t[e[r++]],"-",t[e[r++]],t[e[r++]],"-",t[e[r++]],t[e[r++]],t[e[r++]],t[e[r++]],t[e[r++]],t[e[r++]]].join("")}},96460:function(e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=Array(16);e.exports=function(){for(var e,t=0;t<16;t++)(3&t)==0&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},73325:function(e,t,n){var r,i,o=n(96460),a=n(19692),s=0,u=0;e.exports=function(e,t,n){var l=t&&n||0,c=t||[],d=(e=e||{}).node||r,f=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==f){var h=o();null==d&&(d=r=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==f&&(f=i=(h[6]<<8|h[7])&16383)}var p=void 0!==e.msecs?e.msecs:new Date().getTime(),v=void 0!==e.nsecs?e.nsecs:u+1,g=p-s+(v-u)/1e4;if(g<0&&void 0===e.clockseq&&(f=f+1&16383),(g<0||p>s)&&void 0===e.nsecs&&(v=0),v>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");s=p,u=v,i=f;var m=((268435455&(p+=122192928e5))*1e4+v)%4294967296;c[l++]=m>>>24&255,c[l++]=m>>>16&255,c[l++]=m>>>8&255,c[l++]=255&m;var y=p/4294967296*1e4&268435455;c[l++]=y>>>8&255,c[l++]=255&y,c[l++]=y>>>24&15|16,c[l++]=y>>>16&255,c[l++]=f>>>8|128,c[l++]=255&f;for(var b=0;b<6;++b)c[l+b]=d[b];return t||a(c)}},34888:function(e,t,n){var r=n(96460),i=n(19692);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},42510:function(e,t,n){"use strict";let{FetchHTTPClient:r}=n(64167);class i{constructor(e,t,n,r){this.success=e,this.statusCode=t,this.message=n,this.eventResponseList=r}}class o{constructor(e,t,n){this.messageId=e,this.results=t,this.segmentEvent=n}}class a{static toAnalyticsResponse(e,t,n){let r=JSON.parse(JSON.stringify(e.batch)),a=[],[s,u,l]=[n.success,t.status,t.statusText];if(u>=200&&u<=299){let e=JSON.parse(JSON.stringify(n));return"validationReports"in e&&e.validationReports.forEach(e=>{let t=r.find(t=>t.messageId===e.messageId);t&&a.push(new o(t.messageId,e.results,t))}),new i(s,u,l,a)}if(u>=400&&u<=499){let e=JSON.parse(JSON.stringify(n)).message,t="error"in e?e.error:l;return r.forEach(e=>{a.push(new o(e.messageId,[],e))}),new i(s,u,t,a)}return r.forEach(e=>{a.push(new o(e.messageId,[],e))}),new i(s,u,l,a)}}class s extends r{constructor(e,t){super(),this.httpClient="function"==typeof e?new r(e):null!=e?e:new r,this.analyticsClient=t}async makeRequest(e){let t=this.httpClient.makeRequest(e),n=await t;if(429===n.status)return t;let r=this.analyticsClient.getResponseCallback();if(null!==r){let t=await n.clone().json();r(a.toAnalyticsResponse(e.data,n,t))}return t}}e.exports={AnalyticsFetchHTTPClient:s}},34479:function(e,t,n){"use strict";let r=n(96486),{Analytics:i}=n(64167),{AnalyticsFetchHTTPClient:o}=n(42510),{requireValue:a,validateTrackEvent:s,validateTraitEvent:u,validateUIEvent:l,validateScreenEvent:c,validateOperationalEvent:d,validateAliasType:f,validateGroupType:h,validateEnvOverrideIfPresent:p}=n(29941),v="prod";function g(e,t){return void 0===e?t:e}class m{static callback(e){let t=e.statusCode;t>=200&&t<=299?0===e.eventResponseList.length?console.debug("Event(s) submitted to GASv3"):e.eventResponseList.forEach(e=>{console.warn("Validation report for event with message ID %s:\n",e.messageId,JSON.stringify(e,null,2))}):400===t||404===t?(console.warn("GASv3 submission failed with HTTP Status Code %d: %s",e.statusCode,e.message),e.eventResponseList.forEach(e=>{console.warn("Event with message ID %s:\n",e.messageId,JSON.stringify(e,null,2))})):(console.info("GASv3 submission failed with HTTP Status Code %d: %s",e.statusCode,e.message),e.eventResponseList.forEach(e=>{console.debug("Event with message ID %s:\n",e.messageId,JSON.stringify(e,null,2))}))}}class y{static _buildProperties({userIdType:e,tenantIdType:t,tenantId:n,event:i,subproduct:o,product:a,env:s,datacenter:u,version:l,origin:c,orgId:d,workspaceId:f,aliases:h,groups:p},v){return r.merge({},i,{product:a,env:s,datacenter:u,version:l,eventType:v,subproduct:o,userIdType:e,tenantIdType:t,tenantId:n,origin:c,orgId:d,workspaceId:f,aliases:h,groups:p})}constructor({env:e,product:t,subproduct:n,sendEventHook:r,datacenter:s,version:u,origin:l,maxEventsInBatch:c,flushInterval:d,baseUrl:f,logger:h,errorHandler:y,perimeter:b,httpClient:_,httpRequestTimeout:w,maxRetries:E,envOverride:k}){var C,x;a(e,"env"),a(t,"product"),p(k),this.console=g(h,console),this.config={env:e,product:t,subproduct:n,sendEventHook:r,datacenter:s,origin:g(l,"server"),version:u},this.validationMode=e===v?"quiet":"complete",this.responseCallback=m.callback,this.analyticsClient=new i({writeKey:"BLANK",flushAt:c||250,flushInterval:d||1e4,maxRetries:E||3,host:f||(C=e,(x=b)&&"fedramp-moderate"===x?C===v?"https://as.atlassian-us-gov-mod.com/api":"https://as.staging.atl-paas-us-gov-mod.net/api":C===v?"https://as.atlassian.com/api":"https://as.staging.atl-paas.net/api"),path:"/api/v1/batch",httpRequestTimeout:w,httpClient:new o(_,this)}),y&&"function"==typeof y&&this.analyticsClient.on("error",y),this.groups=void 0,this.aliases=void 0}_getTimeoutMilliseconds(e){let t=g(e,6e4);return t<5e3?(this.console.warn(`timeoutMilliseconds was set less than the allowed minimum of 5000. Using the minimum allowed value instead.`),5e3):t}_eventCallback(e){this.config.sendEventHook&&this.config.sendEventHook(e)}_buildCompleteTrackEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:i,tenantId:o,trackEvent:a,subproduct:s,product:u,os:l,timestamp:c,orgId:d,workspaceId:f,groups:h,validationMode:p}){let v=r.merge({},this.groups,h);return{userId:t,anonymousId:n,event:a.actionSubject+" "+a.action,properties:y._buildProperties({userIdType:e,tenantIdType:i,tenantId:o,event:a,subproduct:g(s,this.config.subproduct),product:g(u,this.config.product),env:this.config.env,datacenter:this.config.datacenter,version:this.config.version,origin:g(a.origin,this.config.origin),orgId:d,workspaceId:f,aliases:this.aliases,groups:r.isEmpty(v)?void 0:v},"track"),timestamp:c,context:{os:l,validationMode:null!=p?p:this.validationMode}}}_buildCompleteTraitEvent({entityType:e,entityId:t,entityTraits:n,os:r,timestamp:i,tenantId:o,tenantIdType:a,validationMode:s}){return{anonymousId:"dummy-id",traits:{entityId:t,entityTraits:n,entityType:e},timestamp:i,context:{os:r,validationMode:null!=s?s:this.validationMode},tenantId:o,tenantIdType:a}}_buildCompleteOperationalEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,operationalEvent:o,subproduct:a,product:s,os:u,timestamp:l,orgId:c,workspaceId:d,validationMode:f}){return{userId:t,anonymousId:n,event:o.actionSubject+" "+o.action,properties:y._buildProperties({userIdType:e,tenantIdType:r,tenantId:i,event:o,subproduct:g(a,this.config.subproduct),product:g(s,this.config.product),env:this.config.env,datacenter:this.config.datacenter,version:this.config.version,origin:g(o.origin,this.config.origin),orgId:c,workspaceId:d,aliases:this.aliases,groups:this.groups},"operational"),timestamp:l,context:{os:u,validationMode:null!=f?f:this.validationMode}}}_buildCompleteUIEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,uiEvent:o,subproduct:a,product:s,os:u,timestamp:l,orgId:c,workspaceId:d,validationMode:f}){return{userId:t,anonymousId:n,event:o.actionSubject+" "+o.action,properties:y._buildProperties({userIdType:e,tenantIdType:r,tenantId:i,event:o,subproduct:g(a,this.config.subproduct),product:g(s,this.config.product),env:this.config.env,datacenter:this.config.datacenter,version:this.config.version,origin:g(o.origin,this.config.origin),orgId:c,workspaceId:d,aliases:this.aliases,groups:this.groups},"ui"),timestamp:l,context:{os:u,validationMode:null!=f?f:this.validationMode}}}_buildScreenEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,name:o,screenEvent:a,subproduct:s,product:u,os:l,timestamp:c,orgId:d,workspaceId:f,validationMode:h}){return{userId:t,anonymousId:n,name:o,properties:y._buildProperties({userIdType:e,tenantIdType:r,tenantId:i,event:a,subproduct:g(s,this.config.subproduct),product:g(u,this.config.product),env:this.config.env,datacenter:this.config.datacenter,version:this.config.version,origin:g(a.origin,this.config.origin),orgId:d,workspaceId:f,aliases:this.aliases,groups:this.groups},"screen"),timestamp:c,context:{os:l,validationMode:null!=h?h:this.validationMode}}}sendOperationalEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,operationalEvent:o,subproduct:a,product:s,os:u,timestamp:l,orgId:c,workspaceId:f,validationMode:h}){return d({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,timestamp:l,operationalEvent:o}).then(()=>new Promise((d,p)=>{let v=this._buildCompleteOperationalEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,operationalEvent:o,subproduct:a,product:s,os:u,timestamp:l,orgId:c,workspaceId:f,validationMode:h});this.analyticsClient.track(v,(e,t)=>{e?p(e):(this._eventCallback(v,t),d(t))})}))}sendTrackEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,trackEvent:o,groups:a,subproduct:u,product:l,os:c,timestamp:d,orgId:f,workspaceId:h,validationMode:p}){return s({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,timestamp:d,trackEvent:o,groups:a}).then(()=>new Promise((s,v)=>{let g=this._buildCompleteTrackEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,trackEvent:o,subproduct:u,product:l,os:c,timestamp:d,orgId:f,workspaceId:h,groups:a,validationMode:p});this.analyticsClient.track(g,(e,t)=>{e?v(e):(this._eventCallback(g,t),s(t))})}))}sendTraitEvent({entityType:e,entityId:t,entityTraits:n,os:r,timestamp:i,tenantId:o,tenantIdType:a,validationMode:s}){return u({entityType:e,entityId:t,entityTraits:n,timestamp:i,tenantId:o,tenantIdType:a}).then(()=>new Promise((u,l)=>{let c=this._buildCompleteTraitEvent({entityType:e,entityId:t,entityTraits:n,os:r,timestamp:i,tenantId:o,tenantIdType:a,validationMode:s});this.analyticsClient.identify(c,(e,t)=>{e?l(e):(this._eventCallback(c,t),u(t))})}))}sendUIEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,uiEvent:o,subproduct:a,product:s,os:u,timestamp:c,orgId:d,workspaceId:f,validationMode:h}){return l({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,timestamp:c,uiEvent:o}).then(()=>new Promise((l,p)=>{let v=this._buildCompleteUIEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,uiEvent:o,subproduct:a,product:s,os:u,timestamp:c,orgId:d,workspaceId:f,validationMode:h});this.analyticsClient.track(v,(e,t)=>{e?p(e):(this._eventCallback(v,t),l(t))})}))}sendScreenEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,name:o,screenEvent:a,subproduct:s,product:u,os:l,timestamp:d,orgId:f,workspaceId:h,validationMode:p}){return c({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,name:o,timestamp:d,screenEvent:a}).then(()=>new Promise((c,v)=>{let g=this._buildScreenEvent({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,name:o,screenEvent:a,subproduct:s,product:u,os:l,timestamp:d,orgId:f,workspaceId:h,validationMode:p});this.analyticsClient.page(g,(e,t)=>{e?v(e):(this._eventCallback(g,t),c(t))})}))}gracefulShutdown(){return new Promise((e,t)=>{this.analyticsClient.closeAndFlush().then(t=>{e(t)}).catch(e=>{t(e)})})}setGroup(e,t){this.groups||(this.groups={}),h(e),this.groups[e]=t}clearGroups(){this.groups=void 0}setAlias(e,t){this.aliases||(this.aliases={}),f(e),this.aliases[e]=t}clearAliases(){this.aliases=void 0}setResponseCallback(e){this.responseCallback=e}getResponseCallback(){return this.responseCallback}setEventValidationMode(e){this.validationMode=e}}e.exports={AnalyticsClient:y}},7796:function(e){"use strict";let t={};e.exports={isAllowedAliasType:function(e){return Object.values(t).includes(e)},ALIAS_TYPE:t}},69385:function(e){"use strict";let t="type",n=["id",t];e.exports={CONTAINER_OBJECT_FIELDS_ALLOWED:n,CONTAINER_OBJECT_FIELDS_MANDATORY:["id"],CONTAINER_OBJECT_FIELD_ID:"id",CONTAINER_OBJECT_FIELD_TYPE:t,isAllowedContainerObjectField:function(e){return n.some(t=>t===e)},isValidContainerObjectField:function(e,t){return n.some(t=>t===e)&&"string"==typeof t}}},24427:function(e,t,n){"use strict";let r=n(96486),i="AJS_ANONYMOUS_USER",o="ATLASSIAN_ACCOUNT",a="EMAIL_UUID",s="SITE",u="SITE_USER",l="TRELLO_USER",c="TRELLO_WORKSPACE",d=[i,o,a,"ORG",s,u,l,c];e.exports={AJS_ANONYMOUS_USER:i,ATLASSIAN_ACCOUNT:o,EMAIL_UUID:a,ORG:"ORG",SITE:s,SITE_USER:u,TRELLO_USER:l,TRELLO_WORKSPACE:c,isValidEntityType:function(e){return d.includes(e)},isValidEntityTraitValue:function(e){return r.isFinite(e)||r.isString(e)&&!r.isEmpty(e)||r.isDate(e)||r.isBoolean(e)}}},79743:function(e){"use strict";let t={FEDRAMP_MODERATE_SANDBOX:"fedramp-moderate-sandbox"};e.exports={isAllowedEnvOverride:function(e){return Object.values(t).includes(e)},ENV_OVERRIDES:t}},10309:function(e){"use strict";let t={TRANSACTION_ACCOUNT_ID:"transactionAccountId",PRODUCT_INTEGRATIONS_VENDOR_ID:"productIntegrationsVendorId"};e.exports={isAllowedGroupType:function(e){return Object.values(t).includes(e)},GROUP_TYPE:t}},57343:function(e){"use strict";let t="cloudId",n="halpTeamId",r="loomOrgId",i="trelloWorkspaceId",o="none",a=[t,n,r,i,o];e.exports={CLOUD_ID:t,HALP_TEAM_ID:n,NONE:o,LOOM_ORG_ID:r,TRELLO_WORKSPACE_ID:i,isValidTenantType:function(e){return a.includes(e)}}},74272:function(e){"use strict";let t="atlassianAccount",n="trello",r="hashedEmail",i="opsgenie",o="halp",a="customerAccount",s="loom";e.exports={ATLASSIAN_ACCOUNT:t,TRELLO:n,HASHED_EMAIL:r,OPSGENIE:i,HALP:o,CUSTOMER_ACCOUNT:a,LOOM:s,isValidUserIdType:function(e){return[t,n,r,i,o,a,s].includes(e)}}},99979:function(e,t,n){"use strict";let{AnalyticsClient:r}=n(34479),i=n(57343),o=n(74272),a=n(24427),{GROUP_TYPE:s}=n(10309),{ALIAS_TYPE:u}=n(7796),{ENV_OVERRIDES:l}=n(79743);e.exports={analyticsClient:function(e){return new r(e)},AnalyticsClient:r,tenantTypes:i,userTypes:o,entityTypes:a,aliasTypes:u,groupTypes:s,envOverrides:l}},29941:function(e,t,n){"use strict";let r=n(96486),i=n(57343),o=n(74272),a=n(24427),{CONTAINER_OBJECT_FIELDS_MANDATORY:s,isAllowedContainerObjectField:u,isValidContainerObjectField:l}=n(69385),{isPlainObject:c}=n(3291),{isAllowedAliasType:d}=n(7796),{isAllowedGroupType:f}=n(10309),{isAllowedEnvOverride:h}=n(79743),p="properties.containers";function v({entityType:e,entityTraits:t}){if(!a.isValidEntityType(e))throw Error(`Unknown entityType ${e}`);if(!r.isObject(t))throw Error("traits.entityTraits should be Object");r.forEach(t,(e,t)=>{if(!a.isValidEntityTraitValue(e))throw Error(`entityTraits.${t}: ${e} should be one of [String|Number|Boolean|Date]`)})}function g({tenantId:e,tenantIdType:t}){if(e&&y(t,"tenantIdType"),t){if(!i.isValidTenantType(t))throw Error(`Unknown tenantIdType ${t}`);t!==i.NONE&&y(e,"tenantId")}}function m({userIdType:e,userId:t,anonymousId:n}){if(function({userIdType:e,userId:t}){if(t&&y(e,"userIdType"),e){if(!o.isValidUserIdType(e))throw Error(`Unknown userIdType ${e}`);y(t,"userId")}}({userIdType:e,userId:t}),!t&&!n)throw Error("At least one set of identifiers must be passed - userIdType and userId, or anonymousId")}function y(e,t){if(!e)throw Error(`Value ${t} cannot be undefined`);return e}function b(e){if(e&&e.containers){let t=e.containers;if(c(t)){let n={};Object.keys(t).forEach(e=>{n[e]=function(e,t){let n=t[e];if(n){if(c(n)){let e={};return r.merge(e,function(e){let t={};return s.forEach(n=>{let r=e[n];if(l(n,r))t[n]=r;else throw Error(`Mandatory ContainerObject field "${n}" is not valid: "${r}" ; expected a value of type "string"`)}),t}(n)),r.merge(e,function(e){let t={};return Object.keys(e).forEach(n=>{let r=e[n];if(u(n)){if(l(n,r))t[n]=r;else throw Error(`ContainerObject field "${n}" is not valid: "${r}" ; expected a value of type "string"`)}}),t}(n)),e}throw Error(`ContainerObject "${p}.${e}" is not an object.`)}throw Error(`Container Key "${p}.${e}" has no ContainerObject.`)}(e,t)}),e.containers=n}else throw Error(`"${p}" is not an object.`)}}e.exports={requireValue:y,validateOperationalEvent:function({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,operationalEvent:o}){try{return m({userIdType:e,userId:t,anonymousId:n}),g({tenantId:i,tenantIdType:r}),y(o,"operationalEvent"),y(o.source,"operationalEvent.source"),y(o.action,"operationalEvent.action"),y(o.actionSubject,"operationalEvent.actionSubject"),b(o),Promise.resolve()}catch(e){return Promise.reject(e)}},validateTrackEvent:function({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,trackEvent:o,groups:a}){try{return m({userIdType:e,userId:t,anonymousId:n}),g({tenantId:i,tenantIdType:r}),y(o,"trackEvent"),y(o.source,"trackEvent.source"),y(o.action,"trackEvent.action"),y(o.actionSubject,"trackEvent.actionSubject"),b(o),a&&Object.keys(a).forEach(e=>{if(!f(e))throw Error(`groups object has unsupported groupKey: ${e}`)}),Promise.resolve()}catch(e){return Promise.reject(e)}},validateUIEvent:function({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,uiEvent:o}){try{return m({userIdType:e,userId:t,anonymousId:n}),g({tenantId:i,tenantIdType:r}),y(o,"uiEvent"),y(o.action,"uiEvent.action"),y(o.actionSubject,"uiEvent.actionSubject"),b(o),Promise.resolve()}catch(e){return Promise.reject(e)}},validateScreenEvent:function({userIdType:e,userId:t,anonymousId:n,tenantIdType:r,tenantId:i,name:o,screenEvent:a}){try{return m({userIdType:e,userId:t,anonymousId:n}),g({tenantId:i,tenantIdType:r}),y(o,"name"),y(a,"screenEvent"),y(a.platform,"screenEvent.platform"),b(a),Promise.resolve()}catch(e){return Promise.reject(e)}},validateTraitEvent:function({entityType:e,entityId:t,entityTraits:n,tenantId:r,tenantIdType:i}){try{return y(e,"entityType"),y(t,"entityId"),y(n,"entityTraits"),v({entityType:e,entityTraits:n}),g({tenantId:r,tenantIdType:i}),Promise.resolve()}catch(e){return Promise.reject(e)}},requireValidEntityData:v,requireValidUserData:m,requireValidTenantData:g,requireValidContainers:b,validateAliasType:function(e){if(y(e,"aliasType"),!d(e))throw Error(`Unknown aliasType ${e}`)},validateGroupType:function(e){if(y(e,"groupType"),!f(e))throw Error(`Unknown groupType ${e}`)},validateEnvOverrideIfPresent:function(e){if(e&&!h(e))throw Error(`Unknown envOverrides value ${e}`)},CONTAINERS_PATH_PREFIX:p}},3291:function(e){"use strict";function t(e){return!0==(null!==e&&"object"==typeof e&&!1===Array.isArray(e))&&"[object Object]"===Object.prototype.toString.call(e)}e.exports={isPlainObject:function(e){if(!1===t(e))return!1;let n=e.constructor;if("function"!=typeof n)return!1;let r=n.prototype;return!1!==t(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}}},77967:function(e,t,n){"use strict";n.d(t,{iv:function(){return e_},tZ:function(){return eb},F4:function(){return ew}});var r,i,o,a,s,u,l=n(67294),c=n.t(l,2),d=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?h[_]+" "+w:v(w,/&\f/g,h[_])).trim())&&(u[b++]=E);return O(e,t,n,0===i?B:s,u,l,c)}function Z(e,t,n,r){return O(e,t,n,N,y(e,0,r),y(e,r+1,-1),r)}var $=function(e,t,n){for(var r=0,i=0;r=i,i=T(),38===r&&12===i&&(t[n]=1),!L(i);)A();return y(S,e,C)},W=function(e,t){var n=-1,r=44;do switch(L(r)){case 0:38===r&&12===T()&&(t[n]=1),e[n]+=$(C-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===T()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=h(r)}while(r=A());return e},G=function(e,t){var n;return n=W(R(e),t),S="",n},K=new WeakMap,q=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||K.get(n))&&!r){K.set(e,!0);for(var i=[],o=G(t,i),a=n.props,s=0,u=0;s-1&&!e.return)switch(e.type){case N:e.return=function e(t,n){switch(45^m(t,0)?(((n<<2^m(t,0))<<2^m(t,1))<<2^m(t,2))<<2^m(t,3):0){case 5103:return M+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return M+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return M+t+D+t+j+t+t;case 6828:case 4268:return M+t+j+t+t;case 6165:return M+t+j+"flex-"+t+t;case 5187:return M+t+v(t,/(\w+).+(:[^]+)/,M+"box-$1$2"+j+"flex-$1$2")+t;case 5443:return M+t+j+"flex-item-"+v(t,/flex-|-self/,"")+t;case 4675:return M+t+j+"flex-line-pack"+v(t,/align-content|flex-|-self/,"")+t;case 5548:return M+t+j+v(t,"shrink","negative")+t;case 5292:return M+t+j+v(t,"basis","preferred-size")+t;case 6060:return M+"box-"+v(t,"-grow","")+M+t+j+v(t,"grow","positive")+t;case 4554:return M+v(t,/([^-])(transform)/g,"$1"+M+"$2")+t;case 6187:return v(v(v(t,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),t,"")+t;case 5495:case 3959:return v(t,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return v(v(t,/(.+:)(flex-)?(.*)/,M+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+t+t;case 4095:case 3583:case 4068:case 2532:return v(t,/(.+)-inline(.+)/,M+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(t)-1-n>6)switch(m(t,n+1)){case 109:if(45!==m(t,n+4))break;case 102:return v(t,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+D+(108==m(t,n+3)?"$3":"$2-$3"))+t;case 115:return~g(t,"stretch")?e(v(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==m(t,n+1))break;case 6444:switch(m(t,b(t)-3-(~g(t,"!important")&&10))){case 107:return v(t,":",":"+M)+t;case 101:return v(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(45===m(t,14)?"inline-":"")+"box$3$1"+M+"$2$3$1"+j+"$2box$3")+t}break;case 5936:switch(m(t,n+11)){case 114:return M+t+j+v(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return M+t+j+v(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return M+t+j+v(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return M+t+j+t+t}return t}(e.value,e.length);break;case z:return V([I(e,{value:v(e.value,"@","@"+M)})],r);case B:if(e.length){var i,o;return i=e.props,o=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return V([I(e,{props:[v(t,/:(read-\w+)/,":"+D+"$1")]})],r);case"::placeholder":return V([I(e,{props:[v(t,/:(plac\w+)/,":"+M+"input-$1")]}),I(e,{props:[v(t,/:(plac\w+)/,":"+D+"$1")]}),I(e,{props:[v(t,/:(plac\w+)/,j+"input-$1")]})],r)}return""},i.map(o).join("")}}}],X=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Q=function(e,t,n){X(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}},ee={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},et=/[A-Z]|^ms/g,en=/_EMO_([^_]+?)_([^]*?)_EMO_/g,er=function(e){return 45===e.charCodeAt(1)},ei=function(e){return null!=e&&"boolean"!=typeof e},eo=(r=function(e){return er(e)?e:e.replace(et,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=r(e)),i[e]}),ea=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(en,function(e,t,n){return u={name:t,styles:n,next:u},t})}return 1===ee[e]||er(e)||"number"!=typeof t||0===t?t:t+"px"};function es(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return u={name:n.name,styles:n.styles,next:u},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)u={name:r.name,styles:r.styles,next:u},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(o)+l,styles:o,next:u}}var ec=!!c.useInsertionEffect&&c.useInsertionEffect,ed=ec||function(e){return e()};ec||l.useLayoutEffect;var ef=l.createContext("undefined"!=typeof HTMLElement?function(e){var t,n,r,i,o,a,s=e.key;if("css"===s){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var l=e.stylisPlugins||Y,c={},f=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+s+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||L(x)>3?"":" "}(R);break;case 92:$+=function(e,t){for(var n;--t&&A()&&!(x<48)&&!(x>102)&&(!(x>57)||!(x<65))&&(!(x>70)||!(x<97)););return n=C+(t<6&&32==T()&&32==A()),y(S,e,n)}(C-1,7);continue;case 47:switch(T()){case 42:case 47:_(O(c=function(e,t){for(;A();)if(e+x===57)break;else if(e+x===84&&47===T())break;return"/*"+y(S,t,C-1)+"*"+h(47===e?e:A())}(A(),C),n,r,F,h(x),y(c,2,-2),0),l);break;default:$+="/"}break;case 123*j:u[d++]=b($)*M;case 125*j:case 59:case 0:switch(B){case 0:case 125:D=0;case 59+f:-1==M&&($=v($,/\f/g,"")),I>0&&b($)-p&&_(I>32?Z($+";",i,r,p-1):Z(v($," ","")+";",i,r,p-2),l);break;case 59:$+=";";default:if(_(U=H($,n,r,d,f,o,u,N,z=[],V=[],p),a),123===B){if(0===f)e($,n,U,U,z,a,p,u,V);else switch(99===k&&110===m($,3)?100:k){case 100:case 108:case 109:case 115:e(t,U,U,i&&_(H(t,U,U,0,0,o,u,N,o,z=[],p),V),o,V,p,u,i?z:V);break;default:e($,U,U,U,[""],V,0,u,V)}}}d=f=I=0,j=M=1,N=$="",p=s;break;case 58:p=1+b($),I=R;default:if(j<1){if(123==B)--j;else if(125==B&&0==j++&&125==(x=C>0?m(S,--C):0,E--,10===x&&(E=1,w--),x))continue}switch($+=h(B),B*j){case 38:M=f>0?1:($+="\f",-1);break;case 44:u[d++]=(b($)-1)*M,M=1;break;case 64:45===T()&&($+=P(A())),k=T(),f=p=b(N=$+=function(e){for(;!L(T());)A();return y(S,e,C)}(C)),B++;break;case 45:45===R&&2==b($)&&(j=0)}}return a}("",null,null,null,[""],t=R(t=e),0,[0],t),S="",n),p)};o=function(e,t,n,r){a=n,k(e?e+"{"+t.styles+"}":t.styles),r&&(I.inserted[t.name]=!0)};var I={key:s,sheet:new d({key:s,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:c,registered:{},insert:o};return I.sheet.hydrate(f),I}({key:"css"}):null);ef.Provider;var eh=l.createContext({}),ep={}.hasOwnProperty,ev="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",eg=function(e,t){var n={};for(var r in t)ep.call(t,r)&&(n[r]=t[r]);return n[ev]=e,n},em=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return X(t,n,r),ed(function(){return Q(t,n,r)}),null},ey=(o=function(e,t,n){var r,i,o,a=e.css;"string"==typeof a&&void 0!==t.registered[a]&&(a=t.registered[a]);var s=e[ev],u=[a],c="";"string"==typeof e.className?(r=t.registered,i=e.className,o="",i.split(" ").forEach(function(e){void 0!==r[e]?u.push(r[e]+";"):e&&(o+=e+" ")}),c=o):null!=e.className&&(c=e.className+" ");var d=el(u,void 0,l.useContext(eh));c+=t.key+"-"+d.name;var f={};for(var h in e)ep.call(e,h)&&"css"!==h&&h!==ev&&(f[h]=e[h]);return f.className=c,n&&(f.ref=n),l.createElement(l.Fragment,null,l.createElement(em,{cache:t,serialized:d,isStringTag:"string"==typeof s}),l.createElement(s,f))},(0,l.forwardRef)(function(e,t){return o(e,(0,l.useContext)(ef),t)}));n(8679);var eb=function(e,t){var n=arguments;if(null==t||!ep.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=ey,i[1]=eg(e,t);for(var o=2;o0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]{if(!e.writeKey)throw new c("writeKey","writeKey is missing.")},f="1.3.0";function h(e){var t=e.minTimeout,n=e.factor,r=e.attempt,i=e.maxTimeout;return Math.min((Math.random()+1)*(void 0===t?500:t)*Math.pow(void 0===n?2:n,r),void 0===i?1/0:i)}let p=e=>e.replace(/\/$/,""),v=(e,t)=>p(new URL(t||"",e).href);for(var g,m=function(){var e,t,n=new Promise(function(n,r){e=n,t=r});return{resolve:e,reject:t,promise:n}},y=256,b=[];y--;)b[y]=(y+256).toString(16).substring(1);function _(){var e,t=0,n="";if(!g||y+16>256){for(g=Array(t=256);t--;)g[t]=256*Math.random()|0;t=y=0}for(;t<16;t++)e=g[y+t],6==t?n+=b[15&e|64]:8==t?n+=b[63&e|128]:n+=b[e],1&t&&t>1&&t<11&&(n+="-");return y++,n}class w{constructor(e){this.id=_(),this.items=[],this.sizeInBytes=0,this.maxEventCount=Math.max(1,e)}tryAdd(e){if(this.length===this.maxEventCount)return{success:!1,message:`Event limit of ${this.maxEventCount} has been exceeded.`};let t=this.calculateSize(e.context);return t>32768?{success:!1,message:"Event exceeds maximum event size of 32 KB"}:this.sizeInBytes+t>491520?{success:!1,message:"Event has caused batch size to exceed 480 KB"}:(this.items.push(e),this.sizeInBytes+=t,{success:!0})}get length(){return this.items.length}calculateSize(e){return encodeURI(JSON.stringify(e.event)).split(/%..|i/).length}getEvents(){return this.items.map(({context:e})=>e.event)}getContexts(){return this.items.map(e=>e.context)}resolveEvents(){this.items.forEach(({resolver:e,context:t})=>e(t))}}var E=n(66784);let k=e=>E.lW.from(e).toString("base64");function C(){}class x{constructor({host:e,path:t,maxRetries:n,flushAt:r,flushInterval:i,writeKey:o,httpRequestTimeout:a,httpClient:s,disable:u},l){this._emitter=l,this._maxRetries=n,this._flushAt=Math.max(r,1),this._flushInterval=i,this._auth=k(`${o}:`),this._url=v(e??"https://api.segment.io",t??"/v1/batch"),this._httpRequestTimeout=a??1e4,this._disable=!!u,this._httpClient=s}createBatch(){this.pendingFlushTimeout&&clearTimeout(this.pendingFlushTimeout);let e=new w(this._flushAt);return this._batch=e,this.pendingFlushTimeout=setTimeout(()=>{e===this._batch&&(this._batch=void 0),this.pendingFlushTimeout=void 0,e.length&&this.send(e).catch(C)},this._flushInterval),e}clearBatch(){this.pendingFlushTimeout&&clearTimeout(this.pendingFlushTimeout),this._batch=void 0}flush(e){e&&(this._flushPendingItemsCount=e,this._batch&&this._batch.length===e&&(this.send(this._batch).catch(C),this.clearBatch()))}enqueue(e){let t=this._batch??this.createBatch(),{promise:n,resolve:r}=m(),i={context:e,resolver:r};if(t.tryAdd(i).success){let e=t.length===this._flushPendingItemsCount;return(t.length===this._flushAt||e)&&(this.send(t).catch(C),this.clearBatch()),n}t.length&&(this.send(t).catch(C),this.clearBatch());let o=this.createBatch(),a=o.tryAdd(i);return a.success?(o.length===this._flushPendingItemsCount&&(this.send(o).catch(C),this.clearBatch()),n):(e.setFailedDelivery({reason:Error(a.message)}),Promise.resolve(e))}async send(e){this._flushPendingItemsCount&&(this._flushPendingItemsCount-=e.length);let t=e.getEvents(),n=this._maxRetries+1,r=0;for(;r=200&&r.status<300){e.resolveEvents();return}if(400===r.status){S(e,Error(`[${r.status}] ${r.statusText}`));return}i=Error(`[${r.status}] ${r.statusText}`)}catch(e){i=e}if(r===n){S(e,i);return}await function(e){return new Promise(t=>setTimeout(t,e))}(h({attempt:r,minTimeout:25,maxTimeout:1e3}))}}}function S(e,t){e.getContexts().forEach(e=>e.setFailedDelivery({reason:t})),e.resolveEvents()}var O=n(83454);let I=()=>"object"==typeof O&&O&&"object"==typeof O.env&&O.env&&"string"==typeof O.version?"node":"object"==typeof window?"browser":"undefined"!=typeof WebSocketPair?"cloudflare-worker":"string"==typeof EdgeRuntime?"vercel-edge":"undefined"!=typeof WorkerGlobalScope&&"function"==typeof importScripts?"web-worker":"unknown";var A=n(83454);let T=(e,t)=>{let n=new x(e,t);return{publisher:n,plugin:function(e){function t(t){return!function(e){e.updateEvent("context.library.name","@segment/analytics-node"),e.updateEvent("context.library.version",f);let t=I();"node"===t&&e.updateEvent("_metadata.nodeVersion",A.version),e.updateEvent("_metadata.jsRuntime",t)}(t),e.enqueue(t)}return{name:"Segment.io",type:"destination",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),alias:t,group:t,identify:t,page:t,screen:t,track:t}}(n)}};function L(e,t,n){t.split&&(t=t.split("."));for(var r,i,o=0,a=t.length,s=e;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(e,["options"]),h=a(a(a({timestamp:new Date},f),{integrations:s,context:l}),d),p=a(a({},h),{messageId:this.createMessageId()});return function(e){if(!(null!=e))throw new c("Event",M);if("object"!=typeof e)throw new c("Event",D)}(p),function(e){if(!R(e.type))throw new c(".type",j)}(p),"track"===p.type&&(function(e){if(!R(e.event))throw new c(".event",j)}(p),function(e){if(!P(e.properties))throw new c(".properties",D)}(p)),["group","identify"].includes(p.type)&&function(e){if(!P(e.traits))throw new c(".traits",D)}(p),function(e){var t,n,r,i=".userId/anonymousId/previousId/groupId",o=null!==(r=null!==(n=null!==(t=e.userId)&&void 0!==t?t:e.anonymousId)&&void 0!==n?n:e.groupId)&&void 0!==r?r:e.previousId;if(null!=o){if(!R(o))throw new c(i,j)}else throw new c(i,M)}(p),p},e}();let B=()=>`node-next-${Date.now()}-${_()}`;class N extends F{constructor(){super({createMessageId:B})}}var z=function(){function e(){this._logs=[]}return e.prototype.log=function(e,t,n){var r=new Date;this._logs.push({level:e,message:t,time:r,extras:n})},Object.defineProperty(e.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),e.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce(function(e,t){var n,r,i,o=a(a({},t),{json:JSON.stringify(t.extras,null," "),extras:t.extras});delete o.time;var s=null!==(i=null===(r=t.time)||void 0===r?void 0:r.toISOString())&&void 0!==i?i:"";return e[s]&&(s="".concat(s,"-").concat(Math.random())),a(a({},e),((n={})[s]=o,n))},{});console.table?console.table(e):console.log(e)}else this.logs.forEach(function(e){var t=e.level,n=e.message,r=e.extras;"info"===t||"debug"===t?console.log(n,null!=r?r:""):console[t](n,null!=r?r:"")});this._logs=[]},e}(),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.gauge=function(){for(var e=[],t=0;tt=>{let n=t.failedDelivery();return n?e(n.reason,t):e(void 0,t)},W=async(e,t,n,i)=>{try{let o=new Z(e),a=await function(e,t,n,i){return s(this,void 0,void 0,function(){var o,a;return u(this,function(s){switch(s.label){case 0:if(n.emit("dispatch_start",e),o=Date.now(),!t.isEmpty())return[3,2];return[4,t.dispatchSingle(e)];case 1:return a=s.sent(),[3,4];case 2:return[4,t.dispatch(e)];case 3:a=s.sent(),s.label=4;case 4:var u,l,c,d,f,h;if(!(null==i?void 0:i.callback))return[3,6];return[4,(c=a,d=i.callback,u=o,f=Math.max((null!=(l=i.timeout)?l:300)-(Date.now()-u),0),h=function(){try{return Promise.resolve(d(c))}catch(e){return Promise.reject(e)}},new Promise(function(e){return setTimeout(e,f)}).then(function(){return r(h(),1e3)}).catch(function(e){null==c||c.log("warn","Callback Error",{error:e}),null==c||c.stats.increment("callback_error")}).then(function(){return c}))];case 5:a=s.sent(),s.label=6;case 6:return(null==i?void 0:i.debug)&&a.flush(),[2,a]}})})}(o,t,n,{...i?{callback:$(i)}:{}}),l=a.failedDelivery();l?n.emit("error",{code:"delivery_failure",reason:l.reason,ctx:a}):n.emit(e.type,a)}catch(e){n.emit("error",{code:"unknown",reason:e})}};var G=function(){function e(e){var t;this.callbacks={},this.warned=!1,this.maxListeners=null!==(t=null==e?void 0:e.maxListeners)&&void 0!==t?t:10}return e.prototype.warnIfPossibleMemoryLeak=function(e){!this.warned&&this.maxListeners&&this.callbacks[e].length>this.maxListeners&&(console.warn("Event Emitter: Possible memory leak detected; ".concat(String(e)," has exceeded ").concat(this.maxListeners," listeners.")),this.warned=!0)},e.prototype.on=function(e,t){return this.callbacks[e]?(this.callbacks[e].push(t),this.warnIfPossibleMemoryLeak(e)):this.callbacks[e]=[t],this},e.prototype.once=function(e,t){var n=this,r=function(){for(var i=[],o=0;oe.maxAttempts||e.includes(t))&&(e.queue.push(t),!0)});return this.queue=this.queue.sort(function(t,n){return e.getAttempts(t)-e.getAttempts(n)}),r},t.prototype.pushWithBackoff=function(e){var t=this;if(0===this.getAttempts(e))return this.push(e)[0];var n=this.updateAttempts(e);return!(n>this.maxAttempts||this.includes(e))&&(setTimeout(function(){t.queue.push(e),t.future=t.future.filter(function(t){return t.id!==e.id}),t.emit(q)},h({attempt:n-1})),this.future.push(e),!0)},t.prototype.getAttempts=function(e){var t;return null!==(t=this.seen[e.id])&&void 0!==t?t:0},t.prototype.updateAttempts=function(e){return this.seen[e.id]=this.getAttempts(e)+1,this.getAttempts(e)},t.prototype.includes=function(e){return this.queue.includes(e)||this.future.includes(e)||!!this.queue.find(function(t){return t.id===e.id})||!!this.future.find(function(t){return t.id===e.id})},t.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(G),Y=function(){var e,t,n=0;return{done:function(){return e},run:function(r){var i=r();return"object"==typeof i&&null!==i&&"then"in i&&"function"==typeof i.then&&(1==++n&&(e=new Promise(function(e){return t=e})),i.finally(function(){return 0==--n&&t()})),i}}};function X(e,t){e.log("debug","plugin",{plugin:t.name});var n=new Date().getTime(),r=t[e.event.type];return void 0===r?Promise.resolve(e):(function(e){return s(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e()];case 1:return[2,t.sent()];case 2:return[2,Promise.reject(t.sent())];case 3:return[2]}})})})(function(){return r.apply(t,[e])}).then(function(e){var r=new Date().getTime()-n;return e.stats.gauge("plugin_time",r,["plugin:".concat(t.name)]),e}).catch(function(n){if(n instanceof U&&"middleware_cancellation"===n.type)throw n;return n instanceof U?e.log("warn",n.type,{plugin:t.name,error:n}):(e.log("error","plugin Error",{plugin:t.name,error:n}),e.stats.increment("plugin_error",1,["plugin:".concat(t.name)])),n})}var Q=function(e){function t(t){var n=e.call(this)||this;return n.criticalTasks=Y(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=t,n.queue.on(q,function(){n.scheduleFlush(0)}),n}return o(t,e),t.prototype.register=function(e,t,n){return s(this,void 0,void 0,function(){var r=this;return u(this,function(i){switch(i.label){case 0:return[4,Promise.resolve(t.load(e,n)).then(function(){r.plugins.push(t)}).catch(function(n){if("destination"===t.type){r.failedInitializations.push(t.name),console.warn(t.name,n),e.log("warn","Failed to load destination",{plugin:t.name,error:n});return}throw n})];case 1:return i.sent(),[2]}})})},t.prototype.deregister=function(e,t,n){return s(this,void 0,void 0,function(){var r;return u(this,function(i){switch(i.label){case 0:if(i.trys.push([0,3,,4]),!t.unload)return[3,2];return[4,Promise.resolve(t.unload(e,n))];case 1:i.sent(),i.label=2;case 2:return this.plugins=this.plugins.filter(function(e){return e.name!==t.name}),[3,4];case 3:return r=i.sent(),e.log("warn","Failed to unload destination",{plugin:t.name,error:r}),[3,4];case 4:return[2]}})})},t.prototype.dispatch=function(e){return s(this,void 0,void 0,function(){var t;return u(this,function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.push(e),t=this.subscribeToDelivery(e),this.scheduleFlush(0),[2,t]})})},t.prototype.subscribeToDelivery=function(e){return s(this,void 0,void 0,function(){var t=this;return u(this,function(n){return[2,new Promise(function(n){var r=function(i,o){i.isSame(e)&&(t.off("flush",r),n(i))};t.on("flush",r)})]})})},t.prototype.dispatchSingle=function(e){return s(this,void 0,void 0,function(){var t=this;return u(this,function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.updateAttempts(e),e.attempts=1,[2,this.deliver(e).catch(function(n){return t.enqueuRetry(n,e)?t.subscribeToDelivery(e):(e.setFailedDelivery({reason:n}),e)})]})})},t.prototype.isEmpty=function(){return 0===this.queue.length},t.prototype.scheduleFlush=function(e){var t=this;void 0===e&&(e=500),this.flushing||(this.flushing=!0,setTimeout(function(){t.flush().then(function(){setTimeout(function(){t.flushing=!1,t.queue.length&&t.scheduleFlush(0)},0)})},e))},t.prototype.deliver=function(e){return s(this,void 0,void 0,function(){var t,n,r,i;return u(this,function(o){switch(o.label){case 0:return[4,this.criticalTasks.done()];case 1:o.sent(),t=Date.now(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.flushOne(e)];case 3:return e=o.sent(),n=Date.now()-t,this.emit("delivery_success",e),e.stats.gauge("delivered",n),e.log("debug","Delivered",e.event),[2,e];case 4:throw i=r=o.sent(),e.log("error","Failed to deliver",i),this.emit("delivery_failure",e,i),e.stats.increment("delivery_failed"),r;case 5:return[2]}})})},t.prototype.enqueuRetry=function(e,t){return(!(e instanceof U)||!!e.retry)&&this.queue.pushWithBackoff(t)},t.prototype.flush=function(){return s(this,void 0,void 0,function(){var e,t;return u(this,function(n){switch(n.label){case 0:if(0===this.queue.length||!(e=this.queue.pop()))return[2,[]];e.attempts=this.queue.getAttempts(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.deliver(e)];case 2:return e=n.sent(),this.emit("flush",e,!0),[3,4];case 3:return t=n.sent(),this.enqueuRetry(t,e)||(e.setFailedDelivery({reason:t}),this.emit("flush",e,!1)),[2,[]];case 4:return[2,[e]]}})})},t.prototype.isReady=function(){return!0},t.prototype.availableExtensions=function(e){var t,n,r=(t="type",n={},this.plugins.filter(function(t){if("destination"!==t.type&&"Segment.io"!==t.name)return!0;var n,r,i,o=void 0;return null===(n=t.alternativeNames)||void 0===n||n.forEach(function(t){void 0!==e[t]&&(o=e[t])}),null!==(i=null!==(r=e[t.name])&&void 0!==r?r:o)&&void 0!==i?i:!1!==("Segment.io"===t.name||e.All)}).forEach(function(e){var r,i=void 0;if("string"==typeof t){var o=e[t];i="string"!=typeof o?JSON.stringify(o):o}else t instanceof Function&&(i=t(e));void 0!==i&&(n[i]=l(l([],null!==(r=n[i])&&void 0!==r?r:[],!0),[e],!1))}),n),i=r.before,o=r.enrichment,a=r.destination,s=r.after;return{before:void 0===i?[]:i,enrichment:void 0===o?[]:o,destinations:void 0===a?[]:a,after:void 0===s?[]:s}},t.prototype.flushOne=function(e){var t,n;return s(this,void 0,void 0,function(){var r,i,o,a,s,l,c,d,f,h,p,v,g;return u(this,function(u){switch(u.label){case 0:if(!this.isReady())throw Error("Not ready");e.attempts>1&&this.emit("delivery_retry",e),i=(r=this.availableExtensions(null!==(t=e.event.integrations)&&void 0!==t?t:{})).before,o=r.enrichment,a=0,s=i,u.label=1;case 1:var m;if(!(a{if("cloudflare-worker"===I())return[];let t=new(globalThis.AbortController||en),n=setTimeout(()=>{t.abort()},e);return n?.unref?.(),[t.signal,n]},ei=async(...e)=>{if(globalThis.fetch)return globalThis.fetch(...e);if("string"!=typeof EdgeRuntime)return(await n.e(1068).then(n.t.bind(n,1068,23))).default(...e);throw Error("Invariant: an edge runtime that does not support fetch should not exist")};class eo{constructor(e){this._fetch=e??ei}async makeRequest(e){let[t,n]=er(e.httpRequestTimeout),r={url:e.url,method:e.method,headers:e.headers,body:JSON.stringify(e.data),signal:t};return this._fetch(e.url,r).finally(()=>clearTimeout(n))}}class ea extends K{constructor(e){super(),this._isClosed=!1,this._pendingEvents=0,this._isFlushing=!1,d(e),this._eventFactory=new N,this._queue=new et;let t=e.flushInterval??1e4;this._closeAndFlushDefaultTimeout=1.25*t;let{plugin:n,publisher:r}=T({writeKey:e.writeKey,host:e.host,path:e.path,maxRetries:e.maxRetries??3,flushAt:e.flushAt??e.maxEventsInBatch??15,httpRequestTimeout:e.httpRequestTimeout,disable:e.disable,flushInterval:t,httpClient:"function"==typeof e.httpClient?new eo(e.httpClient):e.httpClient??new eo},this);this._publisher=r,this.ready=this.register(n).then(()=>void 0),this.emit("initialize",e),function(e){for(var t=e.constructor.prototype,n=0,r=Object.getOwnPropertyNames(t);n{this._pendingEvents?this.once("drained",()=>{e()}):e()}).finally(()=>{this._isFlushing=!1});return e?r(n,e).catch(()=>void 0):n}_dispatch(e,t){if(this._isClosed){this.emit("call_after_close",e);return}this._pendingEvents++,W(e,this._queue,this,t).catch(e=>e).finally(()=>{this._pendingEvents--,this._pendingEvents||this.emit("drained")})}alias({userId:e,previousId:t,context:n,timestamp:r,integrations:i},o){let a=this._eventFactory.alias(e,t,{context:n,integrations:i,timestamp:r});this._dispatch(a,o)}group({timestamp:e,groupId:t,userId:n,anonymousId:r,traits:i={},context:o,integrations:a},s){let u=this._eventFactory.group(t,i,{context:o,anonymousId:r,userId:n,timestamp:e,integrations:a});this._dispatch(u,s)}identify({userId:e,anonymousId:t,traits:n={},context:r,timestamp:i,integrations:o},a){let s=this._eventFactory.identify(e,n,{context:r,anonymousId:t,userId:e,timestamp:i,integrations:o});this._dispatch(s,a)}page({userId:e,anonymousId:t,category:n,name:r,properties:i,context:o,timestamp:a,integrations:s},u){let l=this._eventFactory.page(n??null,r??null,i,{context:o,anonymousId:t,userId:e,timestamp:a,integrations:s});this._dispatch(l,u)}screen({userId:e,anonymousId:t,category:n,name:r,properties:i,context:o,timestamp:a,integrations:s},u){let l=this._eventFactory.screen(n??null,r??null,i,{context:o,anonymousId:t,userId:e,timestamp:a,integrations:s});this._dispatch(l,u)}track({userId:e,anonymousId:t,event:n,properties:r,context:i,timestamp:o,integrations:a},s){let u=this._eventFactory.track(n,r,{context:i,userId:e,anonymousId:t,timestamp:o,integrations:a});this._dispatch(u,s)}register(...e){return this._queue.criticalTasks.run(async()=>{let t=Z.system(),n=e.map(e=>this._queue.register(t,e,this));await Promise.all(n),this.emit("register",e.map(e=>e.name))})}async deregister(...e){let t=Z.system(),n=e.map(e=>{let n=this._queue.plugins.find(t=>t.name===e);if(n)return this._queue.deregister(t,n,this);t.log("warn",`plugin ${e} not found`)});await Promise.all(n),this.emit("deregister",e)}}var es=ea},66784:function(e,t,n){"use strict";let r=n(79742),i=n(80645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|p(e,t),r=a(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(F(e,Uint8Array)){let t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);let i=function(e){var t;if(s.isBuffer(e)){let t=0|h(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),a(e<0?0:0|h(e))}function d(e){let t=e.length<0?0:0|h(e.length),n=a(t);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return D(e).length;default:if(i)return r?-1:j(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:(192&(n=e[i+1]))==128&&(u=(31&t)<<6|63&n)>127&&(o=u);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(u=(15&t)<<12|(63&n)<<6|63&r)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rn)throw RangeError("Trying to access beyond buffer length")}function w(e,t,n,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function E(e,t,n,r,i){T(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function k(e,t,n,r,i){T(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function C(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function x(e,t,n,r,o){return t=+t,n>>>=0,o||C(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,o){return t=+t,n>>>=0,o||C(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(l(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);ir.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(s.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,a=n-t,u=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;let a=t.length;for(r>a/2&&(r=a/2),i=0;i>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||_(e,t,this.length);let r=this[e],i=1,o=0;for(;++o>>=0,t>>>=0,n||_(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=N(function(e){L(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&R(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(i)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&R(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||_(e,t,this.length);let r=this[e],i=1,o=0;for(;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||_(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||_(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=N(function(e){L(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&R(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&R(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||_(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;w(this,e,t,n,r,0)}let i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;w(this,e,t,n,r,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=N(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=N(function(e,t=0){return k(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);w(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);w(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=N(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=N(function(e,t=0){return k(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,n){return x(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return x(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function T(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new O.ERR_OUT_OF_RANGE("value",r,e)}L(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&R(i,r.length-(o+1))}function L(e,t){if("number"!=typeof e)throw new O.ERR_INVALID_ARG_TYPE(t,"number",e)}function R(e,t,n){if(Math.floor(e)!==e)throw L(e,n),new O.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new O.ERR_BUFFER_OUT_OF_BOUNDS;throw new O.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}I("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),I("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),I("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=A(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=A(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let P=/[^+/0-9A-Za-z-_]/g;function j(e,t){let n;t=t||1/0;let r=e.length,i=null,o=[];for(let a=0;a55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function D(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(P,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,n,r){let i;for(i=0;i=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let B=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function N(e){return"undefined"==typeof BigInt?z:e}function z(){throw Error("BigInt not supported")}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,o=u(e),a=o[0],s=o[1],l=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},6011:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,f=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+d>=1?t+=f/u:t+=f*Math.pow(2,1-d),t*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*v}},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},27561:function(e,t,n){var r=n(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,l,c,d,f,h,p=0,v=!1,g=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=u,r=l;return u=l=void 0,p=t,d=e.apply(r,n)}function b(e){var n=e-h,r=e-p;return void 0===h||n>=t||n<0||g&&r>=c}function _(){var e,n,r,o=i();if(b(o))return w(o);f=setTimeout(_,(e=o-h,n=o-p,r=t-e,g?s(r,c-n):r))}function w(e){return(f=void 0,m&&u)?y(e):(u=l=void 0,d)}function E(){var e,n=i(),r=b(n);if(u=arguments,l=this,h=n,r){if(void 0===f)return p=e=h,f=setTimeout(_,t),v?y(e):d;if(g)return clearTimeout(f),f=setTimeout(_,t),y(h)}return void 0===f&&(f=setTimeout(_,t)),d}return t=o(t)||0,r(n)&&(v=!!n.leading,c=(g="maxWait"in n)?a(o(n.maxWait)||0,t):c,m="trailing"in n?!!n.trailing:m),E.cancel=function(){void 0!==f&&clearTimeout(f),p=0,u=h=l=f=void 0},E.flush=function(){return void 0===f?d:w(i())},E}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},96486:function(e,t,n){var r;e=n.nmd(e),(function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=1/0,l=0/0,c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],d="[object Arguments]",f="[object Array]",h="[object Boolean]",p="[object Date]",v="[object Error]",g="[object Function]",m="[object GeneratorFunction]",y="[object Map]",b="[object Number]",_="[object Object]",w="[object Promise]",E="[object RegExp]",k="[object Set]",C="[object String]",x="[object Symbol]",S="[object WeakMap]",O="[object ArrayBuffer]",I="[object DataView]",A="[object Float32Array]",T="[object Float64Array]",L="[object Int8Array]",R="[object Int16Array]",P="[object Int32Array]",j="[object Uint8Array]",D="[object Uint8ClampedArray]",M="[object Uint16Array]",F="[object Uint32Array]",B=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,z=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,U=/[&<>"']/g,H=RegExp(V.source),Z=RegExp(U.source),$=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,G=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,X=RegExp(Y.source),Q=/^\s+/,ee=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /,ei=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,eo=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,es=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,eu=/\w*$/,el=/^[-+]0x[0-9a-f]+$/i,ec=/^0b[01]+$/i,ed=/^\[object .+?Constructor\]$/,ef=/^0o[0-7]+$/i,eh=/^(?:0|[1-9]\d*)$/,ep=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ev=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,em="\ud800-\udfff",ey="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",e_="a-z\\xdf-\\xf6\\xf8-\\xff",ew="A-Z\\xc0-\\xd6\\xd8-\\xde",eE="\\ufe0e\\ufe0f",ek="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eC="['’]",ex="["+ek+"]",eS="["+ey+"]",eO="["+e_+"]",eI="[^"+em+ek+"\\d+"+eb+e_+ew+"]",eA="\ud83c[\udffb-\udfff]",eT="[^"+em+"]",eL="(?:\ud83c[\udde6-\uddff]){2}",eR="[\ud800-\udbff][\udc00-\udfff]",eP="["+ew+"]",ej="\\u200d",eD="(?:"+eO+"|"+eI+")",eM="(?:"+eC+"(?:d|ll|m|re|s|t|ve))?",eF="(?:"+eC+"(?:D|LL|M|RE|S|T|VE))?",eB="(?:"+eS+"|"+eA+")?",eN="["+eE+"]?",ez="(?:"+ej+"(?:"+[eT,eL,eR].join("|")+")"+eN+eB+")*",eV=eN+eB+ez,eU="(?:"+["["+eb+"]",eL,eR].join("|")+")"+eV,eH="(?:"+[eT+eS+"?",eS,eL,eR,"["+em+"]"].join("|")+")",eZ=RegExp(eC,"g"),e$=RegExp(eS,"g"),eW=RegExp(eA+"(?="+eA+")|"+eH+eV,"g"),eG=RegExp([eP+"?"+eO+"+"+eM+"(?="+[ex,eP,"$"].join("|")+")","(?:"+eP+"|"+eI+")+"+eF+"(?="+[ex,eP+eD,"$"].join("|")+")",eP+"?"+eD+"+"+eM,eP+"+"+eF,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eU].join("|"),"g"),eK=RegExp("["+ej+em+ey+eE+"]"),eq=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,eX={};eX[A]=eX[T]=eX[L]=eX[R]=eX[P]=eX[j]=eX[D]=eX[M]=eX[F]=!0,eX[d]=eX[f]=eX[O]=eX[h]=eX[I]=eX[p]=eX[v]=eX[g]=eX[y]=eX[b]=eX[_]=eX[E]=eX[k]=eX[C]=eX[S]=!1;var eQ={};eQ[d]=eQ[f]=eQ[O]=eQ[I]=eQ[h]=eQ[p]=eQ[A]=eQ[T]=eQ[L]=eQ[R]=eQ[P]=eQ[y]=eQ[b]=eQ[_]=eQ[E]=eQ[k]=eQ[C]=eQ[x]=eQ[j]=eQ[D]=eQ[M]=eQ[F]=!0,eQ[v]=eQ[g]=eQ[S]=!1;var e0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e1=parseFloat,e2=parseInt,e5="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,e3="object"==typeof self&&self&&self.Object===Object&&self,e4=e5||e3||Function("return this")(),e6=t&&!t.nodeType&&t,e7=e6&&e&&!e.nodeType&&e,e8=e7&&e7.exports===e6,e9=e8&&e5.process,te=function(){try{var e=e7&&e7.require&&e7.require("util").types;if(e)return e;return e9&&e9.binding&&e9.binding("util")}catch(e){}}(),tt=te&&te.isArrayBuffer,tn=te&&te.isDate,tr=te&&te.isMap,ti=te&&te.isRegExp,to=te&&te.isSet,ta=te&&te.isTypedArray;function ts(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function tu(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function th(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function tM(e,t){for(var n=e.length;n--&&tE(t,e[n],0)>-1;);return n}var tF=tO({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tB=tO({"&":"&","<":"<",">":">",'"':""","'":"'"});function tN(e){return"\\"+e0[e]}function tz(e){return eK.test(e)}function tV(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function tU(e,t){return function(n){return e(t(n))}}function tH(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"}),tq=function e(t){var n,r,ee,em,ey=(t=null==t?e4:tq.defaults(e4.Object(),t,tq.pick(e4,eJ))).Array,eb=t.Date,e_=t.Error,ew=t.Function,eE=t.Math,ek=t.Object,eC=t.RegExp,ex=t.String,eS=t.TypeError,eO=ey.prototype,eI=ew.prototype,eA=ek.prototype,eT=t["__core-js_shared__"],eL=eI.toString,eR=eA.hasOwnProperty,eP=0,ej=(n=/[^.]+$/.exec(eT&&eT.keys&&eT.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",eD=eA.toString,eM=eL.call(ek),eF=e4._,eB=eC("^"+eL.call(eR).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eN=e8?t.Buffer:i,ez=t.Symbol,eV=t.Uint8Array,eU=eN?eN.allocUnsafe:i,eH=tU(ek.getPrototypeOf,ek),eW=ek.create,eK=eA.propertyIsEnumerable,e0=eO.splice,e5=ez?ez.isConcatSpreadable:i,e3=ez?ez.iterator:i,e6=ez?ez.toStringTag:i,e7=function(){try{var e=ip(ek,"defineProperty");return e({},"",{}),e}catch(e){}}(),e9=t.clearTimeout!==e4.clearTimeout&&t.clearTimeout,te=eb&&eb.now!==e4.Date.now&&eb.now,tb=t.setTimeout!==e4.setTimeout&&t.setTimeout,tO=eE.ceil,tJ=eE.floor,tY=ek.getOwnPropertySymbols,tX=eN?eN.isBuffer:i,tQ=t.isFinite,t0=eO.join,t1=tU(ek.keys,ek),t2=eE.max,t5=eE.min,t3=eb.now,t4=t.parseInt,t6=eE.random,t7=eO.reverse,t8=ip(t,"DataView"),t9=ip(t,"Map"),ne=ip(t,"Promise"),nt=ip(t,"Set"),nn=ip(t,"WeakMap"),nr=ip(ek,"create"),ni=nn&&new nn,no={},na=iN(t8),ns=iN(t9),nu=iN(ne),nl=iN(nt),nc=iN(nn),nd=ez?ez.prototype:i,nf=nd?nd.valueOf:i,nh=nd?nd.toString:i;function np(e){if(oW(e)&&!oD(e)&&!(e instanceof ny)){if(e instanceof nm)return e;if(eR.call(e,"__wrapped__"))return iz(e)}return new nm(e)}var nv=function(){function e(){}return function(t){if(!o$(t))return{};if(eW)return eW(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function ng(){}function nm(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function ny(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function nb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function nj(e,t,n,r,o,a){var s,u=1&t,l=2&t,c=4&t;if(n&&(s=o?n(e,r,o,a):n(e)),i!==s)return s;if(!o$(e))return e;var f=oD(e);if(f){if(v=e.length,w=new e.constructor(v),v&&"string"==typeof e[0]&&eR.call(e,"index")&&(w.index=e.index,w.input=e.input),s=w,!u)return rz(e,s)}else{var v,w,S,B,N,z=im(e),V=z==g||z==m;if(oN(e))return rj(e,u);if(z==_||z==d||V&&!o){if(s=l||V?{}:ib(e),!u)return l?(S=(N=s)&&rV(e,ah(e),N),rV(e,ig(e),S)):(B=nT(s,e),rV(e,iv(e),B))}else{if(!eQ[z])return o?e:{};s=function(e,t,n){var r,i,o=e.constructor;switch(t){case O:return rD(e);case h:case p:return new o(+e);case I:return r=n?rD(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case A:case T:case L:case R:case P:case j:case D:case M:case F:return rM(e,n);case y:return new o;case b:case C:return new o(e);case E:return(i=new e.constructor(e.source,eu.exec(e))).lastIndex=e.lastIndex,i;case k:return new o;case x:return nf?ek(nf.call(e)):{}}}(e,z,u)}}a||(a=new nk);var U=a.get(e);if(U)return U;a.set(e,s),oY(e)?e.forEach(function(r){s.add(nj(r,t,n,r,e,a))}):oG(e)&&e.forEach(function(r,i){s.set(i,nj(r,t,n,i,e,a))});var H=c?l?ia:io:l?ah:af,Z=f?i:H(e);return tl(Z||e,function(r,i){Z&&(r=e[i=r]),nO(s,i,nj(r,t,n,i,e,a))}),s}function nD(e,t,n){var r=n.length;if(null==e)return!r;for(e=ek(e);r--;){var o=n[r],a=t[o],s=e[o];if(i===s&&!(o in e)||!a(s))return!1}return!0}function nM(e,t,n){if("function"!=typeof e)throw new eS(o);return iR(function(){e.apply(i,n)},t)}function nF(e,t,n,r){var i=-1,o=tf,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=tp(t,tR(n))),r?(o=th,a=!1):t.length>=200&&(o=tj,a=!1,t=new nE(t));e:for(;++i-1},n_.prototype.set=function(e,t){var n=this.__data__,r=nI(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},nw.prototype.clear=function(){this.size=0,this.__data__={hash:new nb,map:new(t9||n_),string:new nb}},nw.prototype.delete=function(e){var t=id(this,e).delete(e);return this.size-=t?1:0,t},nw.prototype.get=function(e){return id(this,e).get(e)},nw.prototype.has=function(e){return id(this,e).has(e)},nw.prototype.set=function(e,t){var n=id(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},nE.prototype.add=nE.prototype.push=function(e){return this.__data__.set(e,a),this},nE.prototype.has=function(e){return this.__data__.has(e)},nk.prototype.clear=function(){this.__data__=new n_,this.size=0},nk.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},nk.prototype.get=function(e){return this.__data__.get(e)},nk.prototype.has=function(e){return this.__data__.has(e)},nk.prototype.set=function(e,t){var n=this.__data__;if(n instanceof n_){var r=n.__data__;if(!t9||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new nw(r)}return n.set(e,t),this.size=n.size,this};var nB=rZ(nW),nN=rZ(nG,!0);function nz(e,t){var n=!0;return nB(e,function(e,r,i){return n=!!t(e,r,i)}),n}function nV(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?nH(s,t-1,n,r,i):tv(i,s):r||(i[i.length]=s)}return i}var nZ=r$(),n$=r$(!0);function nW(e,t){return e&&nZ(e,t,af)}function nG(e,t){return e&&n$(e,t,af)}function nK(e,t){return td(t,function(t){return oU(e[t])})}function nq(e,t){t=rL(t,e);for(var n=0,r=t.length;null!=e&&nt}function nQ(e,t){return null!=e&&eR.call(e,t)}function n0(e,t){return null!=e&&t in ek(e)}function n1(e,t,n){for(var r=n?th:tf,o=e[0].length,a=e.length,s=a,u=ey(a),l=1/0,c=[];s--;){var d=e[s];s&&t&&(d=tp(d,tR(t))),l=t5(d.length,l),u[s]=!n&&(t||o>=120&&d.length>=120)?new nE(s&&d):i}d=e[0];var f=-1,h=u[0];e:for(;++f=s)return u;return u*("desc"==n[r]?-1:1)}}return e.index-t.index}(e,t,n)})}function ra(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&e0.call(s,u,1),e0.call(e,u,1);return e}function ru(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;iw(i)?e0.call(e,i,1):rk(e,i)}}return e}function rl(e,t){return e+tJ(t6()*(t-e+1))}function rc(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do t%2&&(n+=e),(t=tJ(t/2))&&(e+=e);while(t);return n}function rd(e,t){return iP(iI(e,t,aB),e+"")}function rf(e,t,n,r){if(!o$(e))return e;t=rL(t,e);for(var o=-1,a=t.length,s=a-1,u=e;null!=u&&++oi?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=ey(i);++r>>1,a=e[o];null!==a&&!oQ(a)&&(n?a<=t:a=200){var l=t?null:r6(e);if(l)return tZ(l);a=!1,i=tj,u=new nE}else u=t?[]:s;e:for(;++r=r?e:rv(e,t,n)}var rP=e9||function(e){return e4.clearTimeout(e)};function rj(e,t){if(t)return e.slice();var n=e.length,r=eU?eU(n):new e.constructor(n);return e.copy(r),r}function rD(e){var t=new e.constructor(e.byteLength);return new eV(t).set(new eV(e)),t}function rM(e,t){var n=t?rD(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function rF(e,t){if(e!==t){var n=i!==e,r=null===e,o=e==e,a=oQ(e),s=i!==t,u=null===t,l=t==t,c=oQ(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||r&&s&&l||!n&&l||!o)return 1;if(!r&&!a&&!c&&e1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&iE(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=ek(t);++r-1?o[a?t[s]:s]:i}}function rJ(e){return ii(function(t){var n=t.length,r=n,a=nm.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new eS(o);if(a&&!u&&"wrapper"==iu(s))var u=new nm([],!0)}for(r=u?r:n;++r1&&b.reverse(),d&&lu))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,h=!0,p=2&n?new nE:i;for(a.set(e,t),a.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+t+"] */\n")}(o,(r=(i=o.match(en))?i[1].split(er):[],tl(c,function(e){var t="_."+e[0];n&e[1]&&!tf(r,t)&&r.push(t)}),r.sort())))}function iD(e){var t=0,n=0;return function(){var r=t3(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function iM(e,t){var n=-1,r=e.length,o=r-1;for(t=i===t?r:t;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,i6(e,n)});function or(e){var t=np(e);return t.__chain__=!0,t}function oi(e,t){return t(e)}var oo=ii(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return nR(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof ny&&iw(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:oi,args:[o],thisArg:i}),new nm(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(o)}),oa=rU(function(e,t,n){eR.call(e,n)?++e[n]:nL(e,n,1)}),os=rq(iZ),ou=rq(i$);function ol(e,t){return(oD(e)?tl:nB)(e,ic(t,3))}function oc(e,t){return(oD(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:nN)(e,ic(t,3))}var od=rU(function(e,t,n){eR.call(e,n)?e[n].push(t):nL(e,n,[t])}),of=rd(function(e,t,n){var r=-1,i="function"==typeof t,o=oF(e)?ey(e.length):[];return nB(e,function(e){o[++r]=i?ts(t,e,n):n2(e,t,n)}),o}),oh=rU(function(e,t,n){nL(e,n,t)});function op(e,t){return(oD(e)?tp:re)(e,ic(t,3))}var ov=rU(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),og=rd(function(e,t){if(null==e)return[];var n=t.length;return n>1&&iE(e,t[0],t[1])?t=[]:n>2&&iE(t[0],t[1],t[2])&&(t=[t[0]]),ro(e,nH(t,1),[])}),om=te||function(){return e4.Date.now()};function oy(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,r8(e,128,i,i,i,i,t)}function ob(e,t){var n;if("function"!=typeof t)throw new eS(o);return e=o4(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var o_=rd(function(e,t,n){var r=1;if(n.length){var i=tH(n,il(o_));r|=32}return r8(e,r,t,n,i)}),ow=rd(function(e,t,n){var r=3;if(n.length){var i=tH(n,il(ow));r|=32}return r8(t,r,e,n,i)});function oE(e,t,n){var r,a,s,u,l,c,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new eS(o);function v(t){var n=r,o=a;return r=a=i,d=t,u=e.apply(o,n)}function g(e){var n=e-c,r=e-d;return i===c||n>=t||n<0||h&&r>=s}function m(){var e,n,r,i=om();if(g(i))return y(i);l=iR(m,(e=i-c,n=i-d,r=t-e,h?t5(r,s-n):r))}function y(e){return(l=i,p&&r)?v(e):(r=a=i,u)}function b(){var e,n=om(),o=g(n);if(r=arguments,a=this,c=n,o){if(i===l)return d=e=c,l=iR(m,t),f?v(e):u;if(h)return rP(l),l=iR(m,t),v(c)}return i===l&&(l=iR(m,t)),u}return t=o7(t)||0,o$(n)&&(f=!!n.leading,s=(h="maxWait"in n)?t2(o7(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){i!==l&&rP(l),d=0,r=c=a=l=i},b.flush=function(){return i===l?u:y(om())},b}var ok=rd(function(e,t){return nM(e,1,t)}),oC=rd(function(e,t,n){return nM(e,o7(t)||0,n)});function ox(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new eS(o);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)||o,a};return n.cache=new(ox.Cache||nw),n}function oS(e){if("function"!=typeof e)throw new eS(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ox.Cache=nw;var oO=rd(function(e,t){var n=(t=1==t.length&&oD(t[0])?tp(t[0],tR(ic())):tp(nH(t,1),tR(ic()))).length;return rd(function(r){for(var i=-1,o=t5(r.length,n);++i=t}),oj=n5(function(){return arguments}())?n5:function(e){return oW(e)&&eR.call(e,"callee")&&!eK.call(e,"callee")},oD=ey.isArray,oM=tt?tR(tt):function(e){return oW(e)&&nY(e)==O};function oF(e){return null!=e&&oZ(e.length)&&!oU(e)}function oB(e){return oW(e)&&oF(e)}var oN=tX||aY,oz=tn?tR(tn):function(e){return oW(e)&&nY(e)==p};function oV(e){if(!oW(e))return!1;var t=nY(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!oq(e)}function oU(e){if(!o$(e))return!1;var t=nY(e);return t==g||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function oH(e){return"number"==typeof e&&e==o4(e)}function oZ(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function o$(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function oW(e){return null!=e&&"object"==typeof e}var oG=tr?tR(tr):function(e){return oW(e)&&im(e)==y};function oK(e){return"number"==typeof e||oW(e)&&nY(e)==b}function oq(e){if(!oW(e)||nY(e)!=_)return!1;var t=eH(e);if(null===t)return!0;var n=eR.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eL.call(n)==eM}var oJ=ti?tR(ti):function(e){return oW(e)&&nY(e)==E},oY=to?tR(to):function(e){return oW(e)&&im(e)==k};function oX(e){return"string"==typeof e||!oD(e)&&oW(e)&&nY(e)==C}function oQ(e){return"symbol"==typeof e||oW(e)&&nY(e)==x}var o0=ta?tR(ta):function(e){return oW(e)&&oZ(e.length)&&!!eX[nY(e)]},o1=r5(n9),o2=r5(function(e,t){return e<=t});function o5(e){if(!e)return[];if(oF(e))return oX(e)?tW(e):rz(e);if(e3&&e[e3])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[e3]());var t=im(e);return(t==y?tV:t==k?tZ:aw)(e)}function o3(e){return e?(e=o7(e))===u||e===-u?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function o4(e){var t=o3(e),n=t%1;return t==t?n?t-n:t:0}function o6(e){return e?nP(o4(e),0,4294967295):0}function o7(e){if("number"==typeof e)return e;if(oQ(e))return l;if(o$(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o$(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tL(e);var n=ec.test(e);return n||ef.test(e)?e2(e.slice(2),n?2:8):el.test(e)?l:+e}function o8(e){return rV(e,ah(e))}function o9(e){return null==e?"":rw(e)}var ae=rH(function(e,t){if(iS(t)||oF(t)){rV(t,af(t),e);return}for(var n in t)eR.call(t,n)&&nO(e,n,t[n])}),at=rH(function(e,t){rV(t,ah(t),e)}),an=rH(function(e,t,n,r){rV(t,ah(t),e,r)}),ar=rH(function(e,t,n,r){rV(t,af(t),e,r)}),ai=ii(nR),ao=rd(function(e,t){e=ek(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&iE(t[0],t[1],o)&&(r=1);++n1),t}),rV(e,ia(e),n),r&&(n=nj(n,7,it));for(var i=t.length;i--;)rk(n,t[i]);return n}),am=ii(function(e,t){return null==e?{}:ra(e,t,function(t,n){return au(e,n)})});function ay(e,t){if(null==e)return{};var n=tp(ia(e),function(e){return[e]});return t=ic(t),ra(e,n,function(e,n){return t(e,n[0])})}var ab=r7(af),a_=r7(ah);function aw(e){return null==e?[]:tP(e,af(e))}var aE=rG(function(e,t,n){return t=t.toLowerCase(),e+(n?ak(t):t)});function ak(e){return aL(o9(e).toLowerCase())}function aC(e){return(e=o9(e))&&e.replace(ep,tF).replace(e$,"")}var ax=rG(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),aS=rG(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),aO=rW("toLowerCase"),aI=rG(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),aA=rG(function(e,t,n){return e+(n?" ":"")+aL(t)}),aT=rG(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),aL=rW("toUpperCase");function aR(e,t,n){if(e=o9(e),t=n?i:t,i===t){var r;return(r=e,eq.test(r))?e.match(eG)||[]:e.match(ei)||[]}return e.match(t)||[]}var aP=rd(function(e,t){try{return ts(e,i,t)}catch(e){return oV(e)?e:new e_(e)}}),aj=ii(function(e,t){return tl(t,function(t){nL(e,t=iB(t),o_(e[t],e))}),e});function aD(e){return function(){return e}}var aM=rJ(),aF=rJ(!0);function aB(e){return e}function aN(e){return n7("function"==typeof e?e:nj(e,1))}var az=rd(function(e,t){return function(n){return n2(n,e,t)}}),aV=rd(function(e,t){return function(n){return n2(e,n,t)}});function aU(e,t,n){var r=af(t),i=nK(t,r);null!=n||o$(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=nK(t,af(t)));var o=!(o$(n)&&"chain"in n)||!!n.chain,a=oU(e);return tl(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=rz(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,tv([this.value()],arguments))})}),e}function aH(){}var aZ=r0(tp),a$=r0(tc),aW=r0(ty);function aG(e){return ik(e)?tS(iB(e)):function(t){return nq(t,e)}}var aK=r2(),aq=r2(!0);function aJ(){return[]}function aY(){return!1}var aX=rQ(function(e,t){return e+t},0),aQ=r4("ceil"),a0=rQ(function(e,t){return e/t},1),a1=r4("floor"),a2=rQ(function(e,t){return e*t},1),a5=r4("round"),a3=rQ(function(e,t){return e-t},0);return np.after=function(e,t){if("function"!=typeof t)throw new eS(o);return e=o4(e),function(){if(--e<1)return t.apply(this,arguments)}},np.ary=oy,np.assign=ae,np.assignIn=at,np.assignInWith=an,np.assignWith=ar,np.at=ai,np.before=ob,np.bind=o_,np.bindAll=aj,np.bindKey=ow,np.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return oD(e)?e:[e]},np.chain=or,np.chunk=function(e,t,n){t=(n?iE(e,t,n):i===t)?1:t2(o4(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,a=0,s=ey(tO(r/t));oo?0:o+n),(r=i===r||r>o?o:o4(r))<0&&(r+=o),r=n>r?0:o6(r);n>>0)?(e=o9(e))&&("string"==typeof t||null!=t&&!oJ(t))&&!(t=rw(t))&&tz(e)?rR(tW(e),0,n):e.split(t,n):[]},np.spread=function(e,t){if("function"!=typeof e)throw new eS(o);return t=null==t?0:t2(o4(t),0),rd(function(n){var r=n[t],i=rR(n,0,t);return r&&tv(i,r),ts(e,this,i)})},np.tail=function(e){var t=null==e?0:e.length;return t?rv(e,1,t):[]},np.take=function(e,t,n){return e&&e.length?rv(e,0,(t=n||i===t?1:o4(t))<0?0:t):[]},np.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?rv(e,(t=r-(t=n||i===t?1:o4(t)))<0?0:t,r):[]},np.takeRightWhile=function(e,t){return e&&e.length?rx(e,ic(t,3),!1,!0):[]},np.takeWhile=function(e,t){return e&&e.length?rx(e,ic(t,3)):[]},np.tap=function(e,t){return t(e),e},np.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new eS(o);return o$(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),oE(e,t,{leading:r,maxWait:t,trailing:i})},np.thru=oi,np.toArray=o5,np.toPairs=ab,np.toPairsIn=a_,np.toPath=function(e){return oD(e)?tp(e,iB):oQ(e)?[e]:rz(iF(o9(e)))},np.toPlainObject=o8,np.transform=function(e,t,n){var r=oD(e),i=r||oN(e)||o0(e);if(t=ic(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:o$(e)&&oU(o)?nv(eH(e)):{}}return(i?tl:nW)(e,function(e,r,i){return t(n,e,r,i)}),n},np.unary=function(e){return oy(e,1)},np.union=i2,np.unionBy=i5,np.unionWith=i3,np.uniq=function(e){return e&&e.length?rE(e):[]},np.uniqBy=function(e,t){return e&&e.length?rE(e,ic(t,2)):[]},np.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?rE(e,i,t):[]},np.unset=function(e,t){return null==e||rk(e,t)},np.unzip=i4,np.unzipWith=i6,np.update=function(e,t,n){return null==e?e:rC(e,t,rT(n))},np.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:rC(e,t,rT(n),r)},np.values=aw,np.valuesIn=function(e){return null==e?[]:tP(e,ah(e))},np.without=i7,np.words=aR,np.wrap=function(e,t){return oI(rT(t),e)},np.xor=i8,np.xorBy=i9,np.xorWith=oe,np.zip=ot,np.zipObject=function(e,t){return rI(e||[],t||[],nO)},np.zipObjectDeep=function(e,t){return rI(e||[],t||[],rf)},np.zipWith=on,np.entries=ab,np.entriesIn=a_,np.extend=at,np.extendWith=an,aU(np,np),np.add=aX,np.attempt=aP,np.camelCase=aE,np.capitalize=ak,np.ceil=aQ,np.clamp=function(e,t,n){return i===n&&(n=t,t=i),i!==n&&(n=(n=o7(n))==n?n:0),i!==t&&(t=(t=o7(t))==t?t:0),nP(o7(e),t,n)},np.clone=function(e){return nj(e,4)},np.cloneDeep=function(e){return nj(e,5)},np.cloneDeepWith=function(e,t){return nj(e,5,t="function"==typeof t?t:i)},np.cloneWith=function(e,t){return nj(e,4,t="function"==typeof t?t:i)},np.conformsTo=function(e,t){return null==t||nD(e,t,af(t))},np.deburr=aC,np.defaultTo=function(e,t){return null==e||e!=e?t:e},np.divide=a0,np.endsWith=function(e,t,n){e=o9(e),t=rw(t);var r=e.length,o=n=i===n?r:nP(o4(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},np.eq=oL,np.escape=function(e){return(e=o9(e))&&Z.test(e)?e.replace(U,tB):e},np.escapeRegExp=function(e){return(e=o9(e))&&X.test(e)?e.replace(Y,"\\$&"):e},np.every=function(e,t,n){var r=oD(e)?tc:nz;return n&&iE(e,t,n)&&(t=i),r(e,ic(t,3))},np.find=os,np.findIndex=iZ,np.findKey=function(e,t){return t_(e,ic(t,3),nW)},np.findLast=ou,np.findLastIndex=i$,np.findLastKey=function(e,t){return t_(e,ic(t,3),nG)},np.floor=a1,np.forEach=ol,np.forEachRight=oc,np.forIn=function(e,t){return null==e?e:nZ(e,ic(t,3),ah)},np.forInRight=function(e,t){return null==e?e:n$(e,ic(t,3),ah)},np.forOwn=function(e,t){return e&&nW(e,ic(t,3))},np.forOwnRight=function(e,t){return e&&nG(e,ic(t,3))},np.get=as,np.gt=oR,np.gte=oP,np.has=function(e,t){return null!=e&&iy(e,t,nQ)},np.hasIn=au,np.head=iG,np.identity=aB,np.includes=function(e,t,n,r){e=oF(e)?e:aw(e),n=n&&!r?o4(n):0;var i=e.length;return n<0&&(n=t2(i+n,0)),oX(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&tE(e,t,n)>-1},np.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=null==n?0:o4(n);return i<0&&(i=t2(r+i,0)),tE(e,t,i)},np.inRange=function(e,t,n){var r,o,a;return t=o3(t),i===n?(n=t,t=0):n=o3(n),(r=e=o7(e))>=t5(o=t,a=n)&&r=-9007199254740991&&e<=9007199254740991},np.isSet=oY,np.isString=oX,np.isSymbol=oQ,np.isTypedArray=o0,np.isUndefined=function(e){return i===e},np.isWeakMap=function(e){return oW(e)&&im(e)==S},np.isWeakSet=function(e){return oW(e)&&"[object WeakSet]"==nY(e)},np.join=function(e,t){return null==e?"":t0.call(e,t)},np.kebabCase=ax,np.last=iY,np.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=r;return i!==n&&(o=(o=o4(n))<0?t2(r+o,0):t5(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--&&e[r]!==t;);return r}(e,t,o):tw(e,tC,o,!0)},np.lowerCase=aS,np.lowerFirst=aO,np.lt=o1,np.lte=o2,np.max=function(e){return e&&e.length?nV(e,aB,nX):i},np.maxBy=function(e,t){return e&&e.length?nV(e,ic(t,2),nX):i},np.mean=function(e){return tx(e,aB)},np.meanBy=function(e,t){return tx(e,ic(t,2))},np.min=function(e){return e&&e.length?nV(e,aB,n9):i},np.minBy=function(e,t){return e&&e.length?nV(e,ic(t,2),n9):i},np.stubArray=aJ,np.stubFalse=aY,np.stubObject=function(){return{}},np.stubString=function(){return""},np.stubTrue=function(){return!0},np.multiply=a2,np.nth=function(e,t){return e&&e.length?ri(e,o4(t)):i},np.noConflict=function(){return e4._===this&&(e4._=eF),this},np.noop=aH,np.now=om,np.pad=function(e,t,n){e=o9(e);var r=(t=o4(t))?t$(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return r1(tJ(i),n)+e+r1(tO(i),n)},np.padEnd=function(e,t,n){e=o9(e);var r=(t=o4(t))?t$(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=t6();return t5(e+o*(t-e+e1("1e-"+((o+"").length-1))),t)}return rl(e,t)},np.reduce=function(e,t,n){var r=oD(e)?tg:tI,i=arguments.length<3;return r(e,ic(t,4),n,i,nB)},np.reduceRight=function(e,t,n){var r=oD(e)?tm:tI,i=arguments.length<3;return r(e,ic(t,4),n,i,nN)},np.repeat=function(e,t,n){return t=(n?iE(e,t,n):i===t)?1:o4(t),rc(o9(e),t)},np.replace=function(){var e=arguments,t=o9(e[0]);return e.length<3?t:t.replace(e[1],e[2])},np.result=function(e,t,n){t=rL(t,e);var r=-1,o=t.length;for(o||(o=1,e=i);++r9007199254740991)return[];var n=4294967295,r=t5(e,4294967295);t=ic(t),e-=4294967295;for(var i=tT(r,t);++n=a)return e;var u=n-t$(r);if(u<1)return r;var l=s?rR(s,0,u).join(""):e.slice(0,u);if(i===o)return l+r;if(s&&(u+=l.length-u),oJ(o)){if(e.slice(u).search(o)){var c,d=l;for(o.global||(o=eC(o.source,o9(eu.exec(o))+"g")),o.lastIndex=0;c=o.exec(d);)var f=c.index;l=l.slice(0,i===f?u:f)}}else if(e.indexOf(rw(o),u)!=u){var h=l.lastIndexOf(o);h>-1&&(l=l.slice(0,h))}return l+r},np.unescape=function(e){return(e=o9(e))&&H.test(e)?e.replace(V,tK):e},np.uniqueId=function(e){var t=++eP;return o9(e)+t},np.upperCase=aT,np.upperFirst=aL,np.each=ol,np.eachRight=oc,np.first=iG,aU(np,(em={},nW(np,function(e,t){eR.call(np.prototype,t)||(em[t]=e)}),em),{chain:!1}),np.VERSION="4.17.21",tl(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){np[e].placeholder=np}),tl(["drop","take"],function(e,t){ny.prototype[e]=function(n){n=i===n?1:t2(o4(n),0);var r=this.__filtered__&&!t?new ny(this):this.clone();return r.__filtered__?r.__takeCount__=t5(n,r.__takeCount__):r.__views__.push({size:t5(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},ny.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tl(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;ny.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ic(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),tl(["head","last"],function(e,t){var n="take"+(t?"Right":"");ny.prototype[e]=function(){return this[n](1).value()[0]}}),tl(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");ny.prototype[e]=function(){return this.__filtered__?new ny(this):this[n](1)}}),ny.prototype.compact=function(){return this.filter(aB)},ny.prototype.find=function(e){return this.filter(e).head()},ny.prototype.findLast=function(e){return this.reverse().find(e)},ny.prototype.invokeMap=rd(function(e,t){return"function"==typeof e?new ny(this):this.map(function(n){return n2(n,e,t)})}),ny.prototype.reject=function(e){return this.filter(oS(ic(e)))},ny.prototype.slice=function(e,t){e=o4(e);var n=this;return n.__filtered__&&(e>0||t<0)?new ny(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),i!==t&&(n=(t=o4(t))<0?n.dropRight(-t):n.take(t-e)),n)},ny.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ny.prototype.toArray=function(){return this.take(4294967295)},nW(ny.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=np[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(np.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,u=t instanceof ny,l=s[0],c=u||oD(t),d=function(e){var t=o.apply(np,tv([e],s));return r&&f?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var f=this.__chain__,h=!!this.__actions__.length,p=a&&!f,v=u&&!h;if(!a&&c){t=v?t:new ny(this);var g=e.apply(t,s);return g.__actions__.push({func:oi,args:[d],thisArg:i}),new nm(g,f)}return p&&v?e.apply(this,s):(g=this.thru(d),p?r?g.value()[0]:g.value():g)})}),tl(["pop","push","shift","sort","splice","unshift"],function(e){var t=eO[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);np.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(oD(i)?i:[],e)}return this[n](function(n){return t.apply(oD(n)?n:[],e)})}}),nW(ny.prototype,function(e,t){var n=np[t];if(n){var r=n.name+"";eR.call(no,r)||(no[r]=[]),no[r].push({name:t,func:n})}}),no[rY(i,2).name]=[{name:"wrapper",func:i}],ny.prototype.clone=function(){var e=new ny(this.__wrapped__);return e.__actions__=rz(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rz(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rz(this.__views__),e},ny.prototype.reverse=function(){if(this.__filtered__){var e=new ny(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},ny.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=oD(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}},np.prototype.plant=function(e){for(var t,n=this;n instanceof ng;){var r=iz(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},np.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof ny){var t=e;return this.__actions__.length&&(t=new ny(this)),(t=t.reverse()).__actions__.push({func:oi,args:[i1],thisArg:i}),new nm(t,this.__chain__)}return this.thru(i1)},np.prototype.toJSON=np.prototype.valueOf=np.prototype.value=function(){return rS(this.__wrapped__,this.__actions__)},np.prototype.first=np.prototype.head,e3&&(np.prototype[e3]=function(){return this}),np}();e4._=tq,i!==(r=(function(){return tq}).call(t,n,t,e))&&(e.exports=r)}).call(this)},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),i=n(13218),o=n(33448),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},83454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(77663)},91118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(62123)}])},84573:function(e,t,n){"use strict";n.d(t,{xMy:function(){return ua},ggW:function(){return uS},qEK:function(){return sU},zxk:function(){return ue},W20:function(){return ul},yeS:function(){return uC},WiK:function(){return l$},JO$:function(){return sZ},hU:function(){return uP},aNw:function(){return sQ},TRl:function(){return cr},DRh:function(){return cu},Y8K:function(){return lP},PhF:function(){return la},LZC:function(){return un},xvT:function(){return a1},oil:function(){return um},ua7:function(){return l3},b0H:function(){return sD},tcx:function(){return sF},f1F:function(){return sj}});var r,i,o,a,s,u,l,c,d,f,h,p,v,g,m,y,b,_,w,E,k,C,x,S,O,I,A,T=n(48564),L=n(2267),R=n(75766),P=n(18007),j=n(24043),D=n(82729),M=n(248),F=n(53304);n(23279);var B=n(67294),N=n(4942),z=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},V=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,U=z(function(e){return V.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),H=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n,r=((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t);n=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,n),this.tags.push(r)}var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},q={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},J=/[A-Z]|^ms/g,Y=/_EMO_([^_]+?)_([^]*?)_EMO_/g,X=function(e){return 45===e.charCodeAt(1)},Q=function(e){return null!=e&&"boolean"!=typeof e},ee=z(function(e){return X(e)?e:e.replace(J,"-$&").toLowerCase()}),et=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Y,function(e,t,n){return x={name:t,styles:n,next:x},t})}return 1===q[e]||X(e)||"number"!=typeof t||0===t?t:t+"px"};function en(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return x={name:n.name,styles:n.styles,next:x},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)x={name:i.name,styles:i.styles,next:x},i=i.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;ir&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0h)&&(N=(U=U.replace(" ",":")).length),096?U:ef};function ep(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}var ev=function(){return null},eg=(function e(t,n){void 0!==n&&(r=n.label,o=n.target,i=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var r,i,o,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;"function"!=typeof i&&a&&(i=t.__emotion_forwardProp);var u=i||eh(s),l=!u("as");return function(){var c=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,h=1;h0};function eE(e,t){return(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!S)return[];if(null!==(t=S.vc)&&void 0!==t&&t.enabled){var t,n,r,i,o=(null!==(n=S.vc)&&void 0!==n?n:{}).enabledVCRevisions;if(ew(null==o||null===(r=o.byExperience)||void 0===r?void 0:r[e])&&(0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience"))return null===(i=o.byExperience)||void 0===i?void 0:i[e];if(ew(null==o?void 0:o.all))return o.all;return["fy25.02"]}return[]}catch(e){return[]}})(t).includes(e)}var ek={context:null},eC={current:null},ex=n(86854),eS=n(30907),eO=n(40181);function eI(e){return function(e){if(Array.isArray(e))return(0,eS.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,eO.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eA=n(64687),eT=n.n(eA),eL=n(15671),eR=n(43144),eP=n(15861),ej=n(45987),eD=n(5075),eM={wheel:"wheel",keydown:"keydown",resize:"resize"};function eF(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;try{e=t.documentElement.clientWidth||0}catch(t){e=0}return Math.max(e,window.innerWidth||0)}function eB(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;try{e=t.documentElement.clientHeight||0}catch(t){e=0}return Math.max(e,window.innerHeight||0)}var eN=[];function ez(e,t){if(0===eN.length)return"visible";for(var n=eN.length,r="mixed",i=0,o=0,a=0;a0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,s=n[1]/r+e,u=n[0];return s=(Math.round(n[1]/r*100)+Math.round(100*e))/100,t.forEach(function(e){if((null===o[e]||void 0===o[e])&&s>=e/100){var t;o[e]=u,a[e]=new Set,null===(t=i[u])||void 0===t||t.forEach(function(t){var n;return null===(n=a[e])||void 0===n?void 0:n.add(t.targetName)})}}),s},0),{VC:o,VCBox:a}}}])}(eZ),eK=new eG;function eq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eq=function(){return!!e})()}var eJ=new(function(e){function t(){var e,n,r;return(0,eL.Z)(this,t),n=t,n=(0,eU.Z)(n),e=(0,eV.Z)(this,eq()?Reflect.construct(n,[],(0,eU.Z)(this).constructor):n.apply(this,r)),(0,N.Z)(e,"revision","fy25.02"),(0,N.Z)(e,"types",["attr"]),(0,N.Z)(e,"filters",[{name:"not-visible",filter:function(e){e.type;var t=e.ignoreReason;return!(null!=t&&t.includes("not-visible"))&&"non-visual-style"!==t}}]),(0,N.Z)(e,"removedFilters",[]),e.mergeConfig(),e}return(0,eH.Z)(t,e),(0,eR.Z)(t,[{key:"filterComponentsLog",value:function(e){var t=e.componentsLog,n=e.ttai,r={};return Object.entries(t).forEach(function(e){var t=(0,ex.Z)(e,2),i=t[0],o=t[1],a=Number(i);Math.ceil(n)>=a&&(r[a]=o)}),r}}])}(eG));function eY(){return eE("fy25.01")?[{name:"fy25.01",classifier:eK},{name:"fy25.02",classifier:eJ}]:[{name:"fy25.02",classifier:eJ}]}function eX(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(eQ);try{for(a.s();!(n=a.n()).done;){var s=n.value;r[s]={t:i[s]||-1,e:o[s]||e0}}}catch(e){a.e(e)}finally{a.f()}return r}var e2=(0,eR.Z)(function e(t){var n=this,r=t.viewport,i=t.revisions,o=t.arraySize,a=t.devToolsEnabled;(0,eL.Z)(this,e),(0,N.Z)(this,"arraySize",{w:200,h:200}),(0,N.Z)(this,"mapPixelsToHeatmap",function(e,t,r,i){var o=n.viewport,a=o.w,s=o.h,u=Math.floor(e/a*n.arraySize.w),l=Math.floor(t/s*n.arraySize.h),c=Math.ceil((e+r)/a*n.arraySize.w),d=Math.ceil((t+i)/s*n.arraySize.h);return{l:Math.max(0,u),t:Math.max(0,l),r:Math.min(n.arraySize.w,c),b:Math.min(n.arraySize.h,d)}}),(0,N.Z)(this,"getElementRatio",function(e){return(e.r-e.l)*(e.b-e.t)/(n.arraySize.w*n.arraySize.h)}),this.viewport=r,this.revisions=i,o&&(this.arraySize=o),this.heatmaps=Array(i.length),this.componentsLogs=Array(i.length),this.vcRatios=Array(i.length),this.devToolsEnabled=a||!1,i.forEach(function(e,t){(function(e){if(null==e)throw TypeError("Cannot destructure "+e)})(e),n.heatmaps[t]=n.getCleanHeatmap(),n.componentsLogs[t]={},n.vcRatios[t]={}})},[{key:"handleUpdate",value:function(e){var t=this,n=e.time,r=(e.type,e.classification),i=e.intersectionRect,o=e.element,a=e.targetName,s=e.ignoreReason,u=e.onError,l=e.attributeName,c=e.oldValue,d=e.newValue,f=this.mapPixelsToHeatmap(i.left,i.top,i.width,i.height),h=this.applyChangesToHeatMap(f,n,r);!0!==h&&u(h);var p=this.getElementRatio(f);this.revisions.forEach(function(e,u){r[u]&&(t.vcRatios[u][a]=p),t.componentsLogs[u][n]||(t.componentsLogs[u][n]=[]),t.componentsLogs[u][n].push({__debug__element:t.devToolsEnabled?new WeakRef(o):null,intersectionRect:i,targetName:a,ignoreReason:s,attributeName:l,oldValue:c,newValue:d})})}},{key:"getData",value:function(){return{heatmaps:this.heatmaps}}},{key:"getPayloadShapedData",value:function(e){var t=ez(e.interactionStart,e.ttai),n=this.processData(e);return this.revisions.map(function(r,i){var o,a={};return e.VCParts.forEach(function(e){a[e]={t:n[i].VC[e]||0,e:Array.from(n[i].VCBox[e]||[])}}),{revision:r.name,clean:e.clean,"metric:vc90":e.clean&&!e.isEventAborted&&"visible"===t?null==a||null===(o=a["90"])||void 0===o?void 0:o.t:null,vcDetails:a}})}},{key:"processData",value:function(e){var t=this,n=e.VCParts,r=e.VCCalculationMethods,i=e.filterComponentsLog,o=e.ttai,a=e.ssr,s=void 0===a?0:a;return this.heatmaps.map(function(e,a){var u={},l=0,c=t.componentsLogs[a];if(0!==s){var d,f={__debug__element:new WeakRef(null===(d=window.document)||void 0===d?void 0:d.body),intersectionRect:{top:0,left:0,right:0,bottom:0,x:0,y:0,width:t.viewport.w,height:t.viewport.h,toJSON:function(){return{}}},targetName:"SSR"};c[s]||(c[s]=[]),c[s].push(f)}for(var h=0;ht[0]?1:-1});c=i[a]({componentsLog:c,ttai:o});var g=r[a]({VCParts:n,componentsLog:c,entries:v,totalPainted:l});return{VC:g.VC,VCBox:g.VCBox,VCEntries:v.reduce(function(e,t,n){var r,i,o=(0,ex.Z)(t,2),a=o[0],s=o[1]+((null===(r=e.abs[n-1])||void 0===r?void 0:r[1])||0),u=Math.round(s/l*1e3)/10,d=null===(i=c[a])||void 0===i?void 0:i.map(function(e){return e.targetName});return e.abs.push([a,s]),e.rel.push({time:a,vc:u,elements:d}),e},{abs:[],rel:[]}),totalPainted:l}})}},{key:"applyChangesToHeatMap",value:function(e,t,n){for(var r=e.l,i=e.t,o=e.r,a=e.b,s=n.length,u=i;u0}).forEach(t.intersectionObserverCallback)})),window.document)try{document.querySelectorAll("[data-ssr-placeholder]").forEach(function(e){var n;if(e instanceof HTMLElement&&null!=e&&null!==(n=e.dataset)&&void 0!==n&&n.ssrPlaceholder){var r,i,o=-1,a=-1,s=-1,u=-1,l=null===(r=window.__SSR_PLACEHOLDERS_DIMENSIONS__)||void 0===r?void 0:r[e.dataset.ssrPlaceholder];l&&(o=l.width,a=l.height,s=l.x,u=l.y),t.staticPlaceholders.set(e.dataset.ssrPlaceholder,{width:o,height:a,x:s,y:u}),null===(i=t.intersectionObserver)||void 0===i||i.observe(e)}})}catch(e){}finally{delete window.__SSR_PLACEHOLDERS_DIMENSIONS__}},[{key:"clear",value:function(){this.staticPlaceholders=new Map,this.callbacks=new Map,this.getSizeCallbacks=new Map,this.reactValidateCallbacks=new Map}},{key:"isPlaceholder",value:function(e){return!!e.dataset.ssrPlaceholder}},{key:"isPlaceholderReplacement",value:function(e){return!!e.dataset.ssrPlaceholderReplace}},{key:"isPlaceholderIgnored",value:function(e){return"ssrPlaceholderIgnored"in e.dataset}},{key:"findNearestPlaceholderContainerIfIgnored",value:function(e){if(!this.isPlaceholderIgnored(e))return e;for(var t=e.parentElement,n=0;t&&n<10;){if(this.isPlaceholder(t)||this.isPlaceholderReplacement(t))return t;t=t.parentElement,n++}return e}},{key:"checkIfExistedAndSizeMatching",value:function(e){var t=this,n=(e=this.findNearestPlaceholderContainerIfIgnored(e)).dataset.ssrPlaceholder||"";return new Promise(function(r){if(t.staticPlaceholders.has(n)){var i;t.callbacks.set(n,r),null===(i=t.intersectionObserver)||void 0===i||i.observe(e)}else{r(!1);return}})}},{key:"getSize",value:function(e){var t=this;return new Promise(function(n){var r;t.getSizeCallbacks.set(e.dataset.ssrPlaceholder||"",n),null===(r=t.intersectionObserver)||void 0===r||r.observe(e)})}},{key:"validateReactComponentMatchToPlaceholder",value:function(e){var t=this,n=(e=this.findNearestPlaceholderContainerIfIgnored(e)).dataset.ssrPlaceholderReplace||"";return new Promise(function(r){if(t.staticPlaceholders.has(n)){var i;t.reactValidateCallbacks.set(n,r),null===(i=t.intersectionObserver)||void 0===i||i.observe(e)}else{r(!1);return}})}},{key:"hasSameSizePosition",value:function(e,t){return e&&Math.abs(e.x-t.x)5&&void 0!==arguments[5]?arguments[5]:null,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;null===(a=n.intersectionObserver)||void 0===a||a.observe(e),n.observedMutations.set(e,{mutation:t,ignoreReason:i,type:r,attributeName:o,oldValue:s,newValue:u})}),this.selectorConfig=e8(e8({},this.selectorConfig),t.selectorConfig),this.intersectionObserver=this.getIntersectionObserver(),this.mutationObserver=this.getMutationObserver(),this.ssrPlaceholderHandler=new e6},[{key:"isBrowserSupported",value:function(){return"function"==typeof window.IntersectionObserver&&"function"==typeof window.MutationObserver}},{key:"observe",value:function(){var e;this.totalTime=0,this.ssr={state:e9.normal,reactRootElement:null,renderStart:-1,renderStop:-1},null===(e=this.mutationObserver)||void 0===e||e.observe(document.body,{attributeFilter:["hidden","style","src","class"],attributeOldValue:!0,attributes:!0,childList:!0,subtree:!0})}},{key:"disconnect",value:function(){var e,t;null===(e=this.mutationObserver)||void 0===e||e.disconnect(),null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),this.observedMutations=new WeakMap,this.elementsInView.clear(),this.callbacks.clear(),this.ssr.reactRootElement=null,this.ssrPlaceholderHandler.clear()}},{key:"getTotalTime",value:function(){return this.totalTime}},{key:"setReactRootElement",value:function(e){this.ssr.reactRootElement=e}},{key:"setReactRootRenderStart",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now();this.ssr.renderStart=e,this.ssr.state=e9.waitingForFirstRender}},{key:"setReactRootRenderStop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now();this.ssr.renderStop=e}},{key:"getMutationObserver",value:function(){var e=this;return this.isBrowserSupported()?new MutationObserver(function(t){e.measureStart(),t.forEach(function(t){t.timestamp=void 0===t.timestamp?performance.now():t.timestamp;var n="";if(e.ssr.state===e9.waitingForFirstRender&&t.timestamp>e.ssr.renderStart&&t.target===e.ssr.reactRootElement&&(e.ssr.state=e9.ignoring,-1===e.ssr.renderStop&&(e.ssr.renderStop=t.timestamp+500),n="ssr-hydration"),e.ssr.state===e9.ignoring&&t.timestamp>e.ssr.renderStart&&t.target===e.ssr.reactRootElement&&(t.timestamp<=e.ssr.renderStop?n="ssr-hydration":e.ssr.state=e9.normal),"childList"===t.type)t.addedNodes.forEach(function(r){if(e3(r)&&(n="image"),r instanceof HTMLElement){if(e.ssrPlaceholderHandler.isPlaceholder(r)||e.ssrPlaceholderHandler.isPlaceholderIgnored(r)){e.ssrPlaceholderHandler.checkIfExistedAndSizeMatching(r).then(function(i){!1===i&&e.observeElement(r,t,"html",n)});return}if(e.ssrPlaceholderHandler.isPlaceholderReplacement(r)||e.ssrPlaceholderHandler.isPlaceholderIgnored(r)){e.ssrPlaceholderHandler.validateReactComponentMatchToPlaceholder(r).then(function(i){!1===i&&e.observeElement(r,t,"html",n)});return}e.observeElement(r,t,"html",n)}r instanceof Text&&null!=r.parentElement&&e.observeElement(r.parentElement,t,"text",n)}),t.removedNodes.forEach(function(t){if(t instanceof Element){var n;e.elementsInView.delete(t),null===(n=e.intersectionObserver)||void 0===n||n.unobserve(t)}});else if("attributes"===t.type&&t.target instanceof HTMLElement){var r,i=t.attributeName,o=null!==(r=t.oldValue)&&void 0!==r?r:void 0,a=i?t.target.getAttribute(i):void 0;o!==a&&(e4(t)&&(n="non-visual-style"),e3(t.target)&&(n="image"),e.observeElement(t.target,t,"attr",n,i,o,a))}})}):null}},{key:"getElementName",value:function(e){try{var t=e.localName,n=e.getAttribute("data-vc"),r=this.selectorConfig.dataVC&&n?'[data-vc="'.concat(n,'"]'):"",i=this.selectorConfig.id&&e.id?"#".concat(e.id):"",o=this.selectorConfig.testId?e.getAttribute("data-testid")||e.getAttribute("data-test-id"):"";o=o?"[testid=".concat(o,"]"):"";var a=this.selectorConfig.role?e.getAttribute("role"):"";a=a?"[role=".concat(a,"]"):"";var s=this.selectorConfig.className?Array.from(e.classList).join("."):"";s=""===s?"":".".concat(s);var u=r||[i,o,a].join(""),l="";if(""===u&&""===s){var c=e.parentElement?this.getElementName(e.parentElement):"unknown";l="".concat(c," > ").concat(t)}else l=[t,u||s].join("");return l}catch(e){return"error"}}},{key:"getIntersectionObserver",value:function(){var e=this;return this.isBrowserSupported()?new IntersectionObserver(function(t){e.measureStart(),t.forEach(function(t){var n=t.isIntersecting,r=t.intersectionRect,i=t.target,o=e.observedMutations.get(i);if(e.observedMutations.delete(i),n&&r.width>0&&r.height>0){if(!(i instanceof HTMLElement)||!(null!=o&&o.mutation))return;!i||"function"!=typeof i.checkVisibility||i.checkVisibility({contentVisibilityAuto:!0,opacityProperty:!0,visibilityProperty:!0})||(o.ignoreReason="not-visible"),e.callbacks.forEach(function(t){var n;try{n=e.getElementName(i)}catch(e){n="error"}t(o.mutation.timestamp||performance.now(),r,n,i,o.type,o.ignoreReason,o.attributeName,o.oldValue,o.newValue)}),e.elementsInView.add(i)}else e.elementsInView.delete(i)}),e.measureStop()}):null}},{key:"measureStart",value:function(){this._startMeasureTimestamp=performance.now()}},{key:"measureStop",value:function(){-1!==this._startMeasureTimestamp&&(this.totalTime+=performance.now()-this._startMeasureTimestamp,this._startMeasureTimestamp=-1)}}]),tt=["__debug__element"];function tn(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 tr(e){for(var t=1;ti&&(P[i]=r)}),j=e.calculateVC({heatmap:y,ssr:u,componentsLog:P,viewport:E});try{r.isPostInteraction||e.VCParts.forEach(function(e){if(S){var t=j.VC[e];null!=t&&(performance.measure("VC".concat(e),{start:i,duration:t}),performance.measure("VC_Next".concat(e),{start:i,duration:t}))}else{var n=A[e];null!=n&&performance.measure("VC".concat(e),{start:i,duration:n});var r=j.VC[e];null!=r&&performance.measure("VC_Next".concat(e),{start:i,duration:r})}})}catch(e){}D=b?(0,N.Z)({},"".concat(h,"vc:oob"),b):{},M=performance.now();try{if(!r.isPostInteraction&&k){var Z;F=S?void 0:{entries:L.rel,log:w,metrics:{75:A["75"],80:A["80"],85:A["85"],90:A["90"],95:A["95"],98:A["98"],99:A["99"],tti:a,ttai:o-i},start:i,stop:o,heatmap:m,ratios:C},B={entries:j.VCEntries.rel,log:w,metrics:{75:j.VC["75"],80:j.VC["80"],85:j.VC["85"],90:j.VC["90"],95:j.VC["95"],98:j.VC["98"],99:j.VC["99"],tti:a,ttai:o-i},start:i,stop:o,heatmap:y,ratios:C},S?window.__vc=B:window.__vc=F,window.__vcNext=B,window.dispatchEvent(new CustomEvent("vcReady",{detail:{log:(Z=w,Object.fromEntries(Object.entries(Z).map(function(e){var t=(0,ex.Z)(e,2),n=t[0],r=t[1];return[Number(n),r.map(function(e){return e.__debug__element,(0,ej.Z)(e,tt)})]}))),entries:S?j.VCEntries.rel:L.rel}}))}}catch(e){}if(V=function(e){var t=e.fullPrefix,n=e.interaction,r=e.isVCClean,i=e.isEventAborted,o=e.multiHeatmap,a=e.ssr,s=e.calculatedVC,u=e.calculatedVCNext,l=e.experienceKey;if(!((0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")?eE("fy25.03",l):eE("fy25.03"))&&!(0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience"))return o?(0,N.Z)({},"".concat(t,"vc:rev"),null==o?void 0:o.getPayloadShapedData({VCParts:eQ.map(function(e){return parseInt(e)}),VCCalculationMethods:eY().map(function(e){return e.classifier.VCCalculationMethod}),filterComponentsLog:eY().map(function(e){return e.classifier.filterComponentsLog}),isEventAborted:i,interactionStart:n.start,ttai:n.end,ssr:a,clean:r})):null;var c=ez(n.start,n.end),d=r&&!i&&"visible"===c;if((0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")){var f=[];return eE("fy25.01",l)&&f.push({revision:"fy25.01",clean:r,"metric:vc90":d?s.VC["90"]:null,vcDetails:e1(s,d)}),eE("fy25.02",l)&&f.push({revision:"fy25.02",clean:r,"metric:vc90":d?u.VC["90"]:null,vcDetails:e1(u,d)}),(0,N.Z)({},"".concat(t,"vc:rev"),f)}var h={revision:"fy25.02",clean:r,"metric:vc90":d?u.VC["90"]:null,vcDetails:e1(u,d)};if(!eE("fy25.01"))return(0,N.Z)({},"".concat(t,"vc:rev"),[h]);var p={revision:"fy25.01",clean:r,"metric:vc90":d?s.VC["90"]:null,vcDetails:e1(s,d)};return(0,N.Z)({},"".concat(t,"vc:rev"),[p,h])}({fullPrefix:h,interaction:{start:i,end:o},isVCClean:z=!g,multiHeatmap:x,ssr:u,calculatedVC:{VC:A,VCBox:T},calculatedVCNext:{VC:j.VC,VCBox:j.VCBox},isEventAborted:c,experienceKey:d}),U=(0,N.Z)((0,N.Z)({},"ufo:speedIndex",S?j.VCEntries.speedIndex:L.speedIndex),"ufo:next:speedIndex",j.VCEntries.speedIndex),!S){t.next=32;break}return t.abrupt("return",tr(tr(tr((0,N.Z)((0,N.Z)((0,N.Z)({},"".concat(h,"vc:size"),E),"".concat(h,"vc:time"),Math.round(_+(M-f))),"".concat(h,"vc:ratios"),C),D),{},(0,N.Z)({},"".concat(h,"vc:ignored"),r.getIgnoredElements(w)),V),U));case 32:return H=(0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")?eE("fy25.03",d):eE("fy25.03"),t.abrupt("return",tr(tr(tr((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({"metrics:vc":A},"".concat(h,"vc:state"),!0),"".concat(h,"vc:clean"),z),"".concat(h,"vc:dom"),T),"".concat(h,"vc:updates"),H?void 0:L.rel.slice(0,50)),"".concat(h,"vc:size"),E),"".concat(h,"vc:time"),Math.round(_+(M-f))),"".concat(h,"vc:total"),R),"".concat(h,"vc:ratios"),C),D),{},(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({},"".concat(h,"vc:next"),j.VC),"".concat(h,"vc:next:updates"),H?void 0:j.VCEntries.rel.slice(0,50)),"".concat(h,"vc:next:dom"),j.VCBox),"".concat(h,"vc:ignored"),r.getIgnoredElements(w)),V),U));case 34:case"end":return t.stop()}},t)})),function(e){return n.apply(this,arguments)})),(0,N.Z)(this,"handleUpdate",function(e,t,n,i,o,a,s,u,l){r.measureStart(),r.legacyHandleUpdate(e,t,n,i,o,a,s,u,l);var c=!eE("fy25.03");if((0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")){var d=nc();c=!eE("fy25.03",null==d?void 0:d.ufoName)}c&&r.onViewportChangeDetected({timestamp:e,intersectionRect:t,targetName:n,element:i,type:o,ignoreReason:a,attributeName:s,oldValue:u,newValue:l}),r.measureStop()}),(0,N.Z)(this,"legacyHandleUpdate",function(e,t,n,i,o,a,s,u,l){if(null===r.abortReason.reason||!1===r.abortReason.blocking){var c=Math.round(e-r.startTime),d=r.mapPixelsToHeatmap(t.left,t.top,t.width,t.height);r.vcRatios[n]=r.getElementRatio(d),a||r.applyChangesToHeatMap(d,c,r.heatmapNext);var f=!eE("fy25.01");if((0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")){var h=nc();f=!eE("fy25.01",null==h?void 0:h.ufoName)}f||a&&"not-visible"!==a||"attr"===o||r.applyChangesToHeatMap(d,c,r.heatmap),r.componentsLog[c]||(r.componentsLog[c]=[]),r.componentsLog[c].push({__debug__element:r.devToolsEnabled?new WeakRef(i):null,type:o,intersectionRect:t,targetName:n,ignoreReason:a,attributeName:s,oldValue:u,newValue:l})}}),(0,N.Z)(this,"onViewportChangeDetected",function(e){var t=e.element,n=e.type,i=e.ignoreReason,o=e.timestamp,a=e.targetName,s=e.intersectionRect,u=e.attributeName,l=e.oldValue,c=e.newValue;if(null!==r.multiHeatmap){var d=Math.round(o-r.startTime),f=eY().map(function(e){return e.classifier.classifyUpdate({element:t,type:n,ignoreReason:i})},[]);r.multiHeatmap.handleUpdate({time:d,targetName:a,intersectionRect:s,type:n,element:t,classification:f,onError:function(e){r.setAbortReason(ti.error,e.time,e.error)},attributeName:u,oldValue:l,newValue:c})}}),(0,N.Z)(this,"mapPixelsToHeatmap",function(e,t,n,i){var o=r.viewport,a=o.w,s=o.h,u=Math.floor(e/a*r.arraySize),l=Math.floor(t/s*r.arraySize),c=Math.ceil((e+n)/a*r.arraySize),d=Math.ceil((t+i)/s*r.arraySize);if(""===r.outOfBoundaryInfo){var f="";c>r.arraySize&&(f+=" r ".concat(c," ! ").concat(e," ").concat(n)),d>r.arraySize&&(f+=" r ".concat(c," ! ").concat(t," ").concat(i)),r.outOfBoundaryInfo=f}return{l:Math.max(0,u),t:Math.max(0,l),r:Math.min(r.arraySize,c),b:Math.min(r.arraySize,d)}}),(0,N.Z)(this,"getElementRatio",function(e){return(e.r-e.l)*(e.b-e.t)/(r.arraySize*r.arraySize)}),(0,N.Z)(this,"abortReasonCallback",function(e,t){switch(e){case"wheel":r.setAbortReason(ti.scroll,t);break;case"keydown":r.setAbortReason(ti.keypress,t);break;case"resize":r.setAbortReason(ti.resize,t)}}),(0,N.Z)(this,"attachAbortListeners",function(){r.detachAbortListeners();var e,t,n,i,o,a,s=(e=window,t=r.viewport,n=r.abortReasonCallback,[(0,eD.ak)(e,{type:eM.wheel,listener:function(e){n(eM.wheel,e.timeStamp)},options:{passive:!0,once:!0}}),(0,eD.ak)(e,{type:eM.keydown,listener:function(e){n(eM.keydown,e.timeStamp)},options:{once:!0}}),i=(0,eD.ak)(e,{type:eM.resize,listener:function(e){(eF()!==t.w||eB()!==t.h)&&(n(eM.resize,e.timeStamp),i())}})]);null!==(o=window)&&void 0!==o&&o.__SSR_ABORT_LISTENERS__&&(Object.entries(window.__SSR_ABORT_LISTENERS__.aborts).forEach(function(e){var t=(0,ex.Z)(e,2),n=t[0],i=t[1];i&&r.abortReasonCallback(n,i)}),s=s.concat(window.__SSR_ABORT_LISTENERS__.unbinds),null===(a=window)||void 0===a||delete a.__SSR_ABORT_LISTENERS__),r.unbind=s}),this.arraySize=t.heatmapSize||200,this.devToolsEnabled=t.devToolsEnabled||!1,this.oldDomUpdatesEnabled=t.oldDomUpdates||!1,this.observers=new te({selectorConfig:t.selectorConfig||{id:!1,testId:!1,role:!1,className:!0,dataVC:!0}}),this.heatmap=eE("fy25.01")?this.getCleanHeatmap():[],this.heatmapNext=this.getCleanHeatmap(),this.multiHeatmap=new e2({viewport:this.viewport,revisions:eY(),devToolsEnabled:this.devToolsEnabled}),this.isPostInteraction=t.isPostInteraction||!1}return(0,eR.Z)(e,[{key:"start",value:function(e){var t=e.startTime;this.active=!0,this.observers.isBrowserSupported()?(this.setViewportSize(),this.resetState(),this.startTime=t,this.attachAbortListeners(),this.observers.subscribeResults(this.handleUpdate),this.observers.observe()):this.setAbortReason("not-supported",t)}},{key:"stop",value:function(){this.observers.disconnect(),this.detachAbortListeners()}},{key:"getIgnoredElements",value:function(e){return Object.values(e).flat().filter(function(e){return!!e.ignoreReason}).map(function(e){return{targetName:e.targetName,ignoreReason:e.ignoreReason}})}},{key:"setSSRElement",value:function(e){this.observers.setReactRootElement(e)}},{key:"setReactRootRenderStart",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now();this.observers.setReactRootRenderStart(e)}},{key:"setReactRootRenderStop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now();this.observers.setReactRootRenderStop(e)}},{key:"setAbortReason",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";(null===this.abortReason.reason||!1===this.abortReason.blocking)&&(this.abortReason.reason=e,this.abortReason.info=n,this.abortReason.timestamp=t,this.abortReason.blocking=e!==ti.scroll,this.abortReason.blocking&&this.detachAbortListeners())}},{key:"resetState",value:function(){this.abortReason={reason:null,info:"",timestamp:-1,blocking:!1},this.detachAbortListeners(),this.heatmap=eE("fy25.01")?this.getCleanHeatmap():[],this.heatmapNext=this.getCleanHeatmap(),this.multiHeatmap=new e2({viewport:this.viewport,revisions:eY(),devToolsEnabled:this.devToolsEnabled}),this.totalTime=0,this.componentsLog={},this.vcRatios={}}},{key:"getCleanHeatmap",value:function(){var e=this;return Array(this.arraySize).fill("").map(function(){return Array(e.arraySize).fill(0)})}},{key:"setViewportSize",value:function(){this.viewport.w=eF(),this.viewport.h=eB()}},{key:"applyChangesToHeatMap",value:function(e,t,n){for(var r=e.l,i=e.t,o=e.r,a=e.b,s=i;st[0]?1:-1}),f=e.makeVCReturnObj(),h=e.makeVCReturnObj();d.reduce(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,r=n[1]/u+t;r=(Math.round(n[1]/u*100)+Math.round(100*t))/100;var i=n[0];return e.VCParts.forEach(function(e){var t,n=parseInt(e,10);(null===f[e]||void 0===f[e])&&r>=n/100&&(f[e]=i,h[e]=eI(new Set(null===(t=o[i])||void 0===t?void 0:t.filter(function(e){return!e.ignoreReason}).map(function(e){return e.targetName}))))}),r},0);var p=d.reduce(function(e,t,n){var r,i,a,s,l=(0,ex.Z)(t,2),c=l[0],d=l[1]+((null===(r=e.abs[n-1])||void 0===r?void 0:r[1])||0),f=Math.round(d/u*1e3)/10,h=eI(new Set(null===(i=o[c])||void 0===i?void 0:i.filter(function(e){return!e.ignoreReason}).map(function(e){return e.targetName}))),p=(f-(null!==(a=null===(s=e.rel[n-1])||void 0===s?void 0:s.vc)&&void 0!==a?a:0))/100*c;return e.speedIndex+=p,e.abs.push([c,d]),e.rel.push({time:c,vc:f,elements:h}),e},{abs:[],rel:[],speedIndex:0});return p.speedIndex=Math.round(p.speedIndex),{VC:f,VCBox:h,VCEntries:p,totalPainted:u}}},{key:"makeVCReturnObj",value:function(){var t={};return e.VCParts.forEach(function(e){t[e]=null}),t}}])}();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 ts(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:performance.now();t.ufoName&&(t.end=n,tl(e,t),tu.length=0)}var td=new((0,eR.Z)(function e(){(0,eL.Z)(this,e),(0,N.Z)(this,"vcObserver",null)},[{key:"initialize",value:function(e){return null===this.vcObserver&&(this.vcObserver=new to(ts(ts({},e),{},{isPostInteraction:!0}))),this}},{key:"start",value:function(e){var t,n=e.startTime;null===(t=this.vcObserver)||void 0===t||t.start({startTime:n})}}])),tf=new Map,th=new Map,tp=(0,eR.Z)(function e(){(0,eL.Z)(this,e)},[{key:"start",value:function(e){}},{key:"stop",value:function(){}},{key:"getVCRawData",value:function(){return null}},{key:"getVCResult",value:function(e){return Promise.resolve({"ufo:vc:noop":!0})}},{key:"setSSRElement",value:function(e){}},{key:"setReactRootRenderStart",value:function(e){}},{key:"setReactRootRenderStop",value:function(e){}}]),tv=(0,eR.Z)(function e(){(0,eL.Z)(this,e),this.unorderedEntries=[],this.sortedEntriesCache=new Map},[{key:"push",value:function(e){this.unorderedEntries.push(e),this.sortedEntriesCache.clear()}},{key:"getCacheKey",value:function(e,t){return"".concat(null!=e?e:"null","_").concat(null!=t?t:"null")}},{key:"getOrderedEntries",value:function(e){var t,n=e.start,r=e.stop,i=this.getCacheKey(n,r),o=null===(t=this.sortedEntriesCache.get(i))||void 0===t?void 0:t.deref();if(o)return o;var a=this.unorderedEntries.filter(function(e){return e.time>=(null!=n?n:0)&&e.time<=(null!=r?r:performance.now())}).sort(function(e,t){return e.time-t.time});return this.sortedEntriesCache.set(i,new WeakRef(a)),a}},{key:"clear",value:function(){this.unorderedEntries=[],this.sortedEntriesCache.clear()}}]),tg=new WeakMap,tm=function e(t,n){if(!(n instanceof HTMLElement))return"error";var r=tg.get(n);if(r)return r;var i=n.localName,o=function(e){if("function"!=typeof encodeURIComponent)return"";try{return encodeURIComponent(e)}catch(e){return"malformed_value"}},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(n&&"function"!=typeof n.getAttribute)return"";var r=n.getAttribute(e);if(!r)return"";var i=o(r);return"".concat(t,"[").concat(e,'="').concat(i,'"]')},s=!1!==t.dataVC?a("data-vc"):"",u=t.id&&n.id?"#".concat(o(n.id)):"",l=t.testId?a("data-testid")||a("data-test-id"):"",c=t.role?a("role"):"",d=Array.from(n.classList).map(o).join("."),f=t.className&&d?".".concat(d):"",h=[u,l,c].filter(Boolean).join(""),p=s||h;if(!p&&!f){var v=n.parentElement?e(t,n.parentElement):"unknown";return"".concat(v," > ").concat(i)}var g="".concat(i).concat(p||f);return tg.set(n,g),g};function ty(){return(ty=(0,eP.Z)(eT().mark(function e(){var t,n;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!("scheduler"in globalThis&&"yield"in globalThis.scheduler)){e.next=4;break}return e.next=3,scheduler.yield();case 3:return e.abrupt("return");case 4:return t=function(){},n=new Promise(function(e){t=e}),setTimeout(t,0),e.next=9,n;case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}var tb=function(){return ty.apply(this,arguments)},t_=(0,eR.Z)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,eL.Z)(this,e),this.scaleFactor=n,this.colorCounter=1,this.colorTimeMap=new Map;var r=Math.max(t.width,1),i=Math.max(t.height,1);this.scaledWidth=Math.max(Math.ceil(r*n),1),this.scaledHeight=Math.max(Math.ceil(i*n),1),this.scaleX=this.scaledWidth/r,this.scaleY=this.scaledHeight/i,this.canvas=this.createCanvas(this.scaledWidth,this.scaledHeight);var o=this.canvas.getContext("2d",{alpha:!1,willReadFrequently:!0,colorSpace:"srgb"});if(!o)throw Error("Could not get canvas context");this.ctx=o,this.ctx.globalCompositeOperation="source-over",(0,e_.fg)("platform_ufo_use_offscreen_canvas")&&(this.ctx.imageSmoothingEnabled=!1),this.clear()},[{key:"createCanvas",value:function(e,t){if("undefined"!=typeof OffscreenCanvas&&(0,e_.fg)("platform_ufo_use_offscreen_canvas"))return new OffscreenCanvas(e,t);var n=document.createElement("canvas");return n.width=e,n.height=t,n}},{key:"getScaledDimensions",value:function(){return{width:this.scaledWidth,height:this.scaledHeight}}},{key:"clear",value:function(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}},{key:"generateColor",value:function(){return tw(this.colorCounter++%16777215)}},{key:"drawRect",value:function(e,t){var n=this.generateColor();if(this.colorTimeMap.set(n,t),this.ctx.fillStyle=n,1===this.scaleFactor)return this.ctx.fillRect(e.x,e.y,e.width,e.height);var r=e.x*this.scaleX,i=e.y*this.scaleY,o=e.width*this.scaleX,a=e.height*this.scaleY;this.ctx.fillRect(Math.floor(r),Math.ceil(i),Math.max(o,1),Math.max(a,1))}},{key:"getPixelCounts",value:(f=(0,eP.Z)(eT().mark(function e(){var t,n,r,i,o,a,s,u;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.ctx.getImageData(0,0,this.canvas.width,this.canvas.height),n=this.colorTimeMap.size,e.next=4,function(e,t,n){return tE.apply(this,arguments)}(t,this.scaleFactor,n);case 4:r=e.sent,i=new Map,o=0;case 7:if(!(o16777215)throw Error("Input number must be between 0 and 16777215 (inclusive).");return"rgb(".concat(e>>16&255,", ").concat(e>>8&255,", ").concat(255&e,")")}function tE(){return(tE=(0,eP.Z)(eT().mark(function e(t,n,r){var i,o,a,s;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=t.data,o=new Uint32Array(r),a=0;case 3:if(!(a=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function tC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=u[c];)a["".concat(u[c])]={t:Math.round(Number(p-i)),e:Array.from(d)},c++,m=!0;if(m&&d.clear(),c>=u.length)break}}catch(e){f.e(e)}finally{f.f()}for(var y={t:0,e:[]},b=0;b1?(this.width=i,this.height=Math.round(i/o)):(this.width=i,this.height=Math.round(i*o)),this.scaleX=this.width/n.width,this.scaleY=this.height/n.height,this.heatmapAreaSize=this.width*this.height,this.map=tT(this.width,this.height)},[{key:"getHeatmap",value:function(){return this.map}},{key:"getCell",value:function(e,t){var n;return null===(n=this.map[e])||void 0===n?void 0:n[t]}},{key:"mapDOMRectToHeatmap",value:function(e){var t=e.x*this.scaleX,n=e.y*this.scaleY;return{left:Math.floor(t),right:Math.ceil(t+e.width*this.scaleX),top:Math.floor(n),bottom:Math.ceil(n+e.height*this.scaleY)}}},{key:"getRatio",value:function(e){if(0===this.viewport.width||0===this.viewport.height)return 0;var t=(e.right-e.left)*(e.bottom-e.top)/this.heatmapAreaSize;return t>1?1:t}},{key:"applyEntriesToHeatmap",value:(h=(0,eP.Z)(eT().mark(function e(t){var n,r,i,o,a,s,u,l,c,d,f,h,p,v,g,m;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n=b.left&&y.right<=b.right&&y.top>=b.top&&y.bottom<=b.bottom))){e.next=23;break}return g.previousEntries.push(tI(tI({},l),{},{source:"mutation:parent-mounted"})),e.abrupt("continue",25);case 23:g.head=tI(tI({},l),{},{source:l.source||null}),null!==m&&g.previousEntries.push(m);case 25:v++,e.next=15;break;case 28:p++,e.next=13;break;case 31:if(n%100!=0){e.next=34;break}return e.next=34,tb();case 34:n++,e.next=1;break;case 37:case"end":return e.stop()}},e,this)})),function(e){return h.apply(this,arguments)})},{key:"getVCPercentMetrics",value:(p=(0,eP.Z)(eT().mark(function e(t,n){var r,i,o,a,s,u,l,c,d,f,h,p,v,g,m,y,b,_,w,E,k,C,x,S;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=eI(t).sort(function(e,t){return e-t}),o=(i=this.map.flat()).length,a=new Map,s=0;case 5:if(!(s1e4&&s%1e4==0)){e.next=17;break}return e.next=17,tb();case 17:s++,e.next=5;break;case 20:p=eI(a.keys()).sort(function(e,t){return e-t}),v=0,g={},m=new Set,y=0;case 25:if(!(y0&&k>=r[0])){e.next=45;break}if(x=r.shift(),S=eI(m),x){e.next=41;break}return e.abrupt("break",45);case 41:C=!0,g[x.toString()]={t:Math.round(b-n),e:S},e.next=36;break;case 45:if(C&&m.clear(),y%500!=0){e.next=49;break}return e.next=49,tb();case 49:y++,e.next=25;break;case 52:return e.abrupt("return",g);case 53:case"end":return e.stop()}},e,this)})),function(e,t){return p.apply(this,arguments)})}]);function tR(){return(tR=(0,eP.Z)(eT().mark(function e(t){var n,r,i,o,a,s;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.orderedEntries,r=t.viewport,i=t.percentiles,o=t.startTime,a=new tL({viewport:r,heatmapSize:200}),e.next=4,a.applyEntriesToHeatmap(n);case 4:return e.next=6,a.getVCPercentMetrics(i,o);case 6:return s=e.sent,e.abrupt("return",s);case 8:case"end":return e.stop()}},e)}))).apply(this,arguments)}function tP(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tj(e,void 0);var n=({}).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)?tj(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function tj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=h){p=!0;break}}}}catch(e){v.e(e)}finally{v.f()}p&&(l+=h-f)}return l}(n)*(a.x-i),i=a.x,function(e,t){var n="".concat(t.top,",").concat(t.bottom);if("start"===t.type)e.set(n,(e.get(n)||0)+1);else{var r=e.get(n)||0;r>1?e.set(n,r-1):e.delete(n)}}(n,a)}return r};function tM(){return(tM=(0,eP.Z)(eT().mark(function e(t){var n,r,i,o,a,s,u,l,c,d,f,h,p,v,g,m,y,b,_,w;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.orderedEntries,r=t.viewport,i=t.percentiles,o=t.startTime,a=eI(i).sort(function(e,t){return e-t}),s=r.width*r.height,u={},l=n.filter(function(e){return tS(e.data)}).map(function(e){return e.data.rect}),c=function(e){var t=l.indexOf(e);-1!==t&&l.splice(t,1)},d=new Set,f=0;case 8:if(!(f0&&y>=a[0])){e.next=29;break}if(_=a.shift(),w=eI(d),_){e.next=25;break}return e.abrupt("break",29);case 25:b=!0,u[_.toString()]={t:Math.round(h.time-o),e:w},e.next=20;break;case 29:if(b&&d.clear(),f%500!=0){e.next=33;break}return e.next=33,tb();case 33:f++,e.next=8;break;case 36:return e.abrupt("return",u);case 37:case"end":return e.stop()}},e)}))).apply(this,arguments)}function tF(){return(tF=(0,eP.Z)(eT().mark(function e(t){var n,r,i,o;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("canvas_heatmap"!=(n="canvas_heatmap")){e.next=6;break}return e.next=4,function(e){return tx.apply(this,arguments)}(t);case 4:return r=e.sent,e.abrupt("return",r);case 6:if("rect_sweeping"!==n){e.next=11;break}return e.next=9,function(e){return tM.apply(this,arguments)}(t);case 9:return i=e.sent,e.abrupt("return",i);case 11:if("old_heatmap"!==n){e.next=16;break}return e.next=14,function(e){return tR.apply(this,arguments)}(t);case 14:return o=e.sent,e.abrupt("return",o);case 16:throw Error("unexpected Error algo not chosen correctly");case 17:case"end":return e.stop()}},e)}))).apply(this,arguments)}var tB=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;try{e=t.documentElement.clientHeight||0}catch(t){e=0}return Math.max(e,window.innerHeight||0)},tN=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;try{e=t.documentElement.clientWidth||0}catch(t){e=0}return Math.max(e,window.innerWidth||0)},tz=(0,eR.Z)(function e(t){(0,eL.Z)(this,e),this.revisionNo=t},[{key:"calculate",value:(v=(0,eP.Z)(eT().mark(function e(t){var n,r,i,o,a,s,u,l,c,d=this;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.startTime,r=t.stopTime,i=t.orderedEntries.filter(function(e){return d.isEntryIncluded(e)}),!(0,e_.fg)("platform_ufo_add_vc_abort_reason_by_revisions")){e.next=8;break}if(a=(o=this.getVCCleanStatus(i)).isVCClean,s=o.dirtyReason,a){e.next=6;break}return e.abrupt("return",{revision:this.revisionNo,"metric:vc90":null,clean:!1,abortReason:s});case 6:e.next=11;break;case 8:if(this.isVCClean(i)){e.next=11;break}return e.abrupt("return",{revision:this.revisionNo,"metric:vc90":null,clean:!1});case 11:return e.next=13,function(e){return tF.apply(this,arguments)}({viewport:{width:tN(),height:tB()},startTime:n,stopTime:r,orderedEntries:i,percentiles:[25,50,75,80,85,90,95,98,99]});case 13:return u=e.sent,e.abrupt("return",{revision:this.revisionNo,clean:!0,"metric:vc90":null!==(l=null==u||null===(c=u["90"])||void 0===c?void 0:c.t)&&void 0!==l?l:null,vcDetails:null!=u?u:void 0});case 15:case"end":return e.stop()}},e,this)})),function(e){return v.apply(this,arguments)})}]);function tV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tV=function(){return!!e})()}var tU=["wheel","scroll","keydown","resize"],tH=["mutation:child-element","mutation:element","mutation:attribute","layout-shift","window:event"],tZ=["data-drop-target-for-element","draggable"],t$=function(e){function t(){var e,n;return(0,eL.Z)(this,t),e=t,n=["fy25.03"],e=(0,eU.Z)(e),(0,eV.Z)(this,tV()?Reflect.construct(e,n||[],(0,eU.Z)(this).constructor):e.apply(this,n))}return(0,eH.Z)(t,e),(0,eR.Z)(t,[{key:"isEntryIncluded",value:function(e){if(!tH.includes(e.type))return!1;if("mutation:attribute"===e.type){var t=e.data.attributeName;return!(!t||tZ.includes(t))}return!tS(e.data)||!!e.data.visible}},{key:"isVCClean",value:function(e){return!e.some(function(e){if("window:event"===e.type){var t=e.data;if(tU.includes(t.eventType))return!0}return!1})}},{key:"getVCCleanStatus",value:function(e){var t="";return e.some(function(e){if("window:event"===e.type){var n=e.data;if(tU.includes(n.eventType))return t="keydown"===n.eventType?"keypress":n.eventType,!0}return!1})&&t?{isVCClean:!1,dirtyReason:t}:{isVCClean:!0}}}])}(tz);function tW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(u.s();!(i=u.n()).done;){var l,c,d=i.value;if(d.target instanceof HTMLElement){if("attributes"===d.type){var f,h,p=null!==(f=d.oldValue)&&void 0!==f?f:void 0,v=d.attributeName?d.target.getAttribute(d.attributeName):void 0;p!==v&&t({target:d.target,attributeName:null!==(h=d.attributeName)&&void 0!==h?h:"unknown"});continue}"childList"===d.type&&((null!==(l=d.addedNodes)&&void 0!==l?l:[]).forEach(function(e){e instanceof HTMLElement&&o.push(new WeakRef(e))}),(null!==(c=d.removedNodes)&&void 0!==c?c:[]).forEach(function(e){e instanceof HTMLElement&&a.push(new WeakRef(e))})),s.push(d.target)}}}catch(e){u.e(e)}finally{u.f()}n({addedNodes:o,removedNodes:a}),null==r||r({targets:s})}):null};function tK(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e.getEntries());try{for(r.s();!(n=r.n()).done;){var i=n.value;if("layout-shift"===i.entryType){var o=i.sources.reduceRight(function(e,t){return e.push({rect:tq(t.currentRect),previousRect:tq(t.previousRect),node:t.node}),e},[]);t({time:i.startTime,changedRects:o})}}}catch(e){r.e(e)}finally{r.f()}}):null};function tY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e.changedRects);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=o.node;a&&n.onChange({time:r,elementRef:new WeakRef(a),visible:!0,rect:o.rect,previousRect:o.previousRect,type:"layout-shift"})}}catch(e){i.e(e)}finally{i.f()}}),this.mapVisibleNodeRects=new WeakMap,this.onChange=r,this.isStarted=!1,this.intersectionObserver=null,this.mutationObserver=null,this.performanceObserver=null},[{key:"initializeObservers",value:function(){this.isStarted||(this.intersectionObserver=function(e){var t=e.onEntry,n=e.onObserved;if(!window||"function"!=typeof window.IntersectionObserver)return null;var r=new WeakMap,i=new IntersectionObserver(function(e){var o=[],a=performance.now();e.forEach(function(e){if(e.target instanceof HTMLElement&&e.isIntersecting&&e.intersectionRect.width>0&&e.intersectionRect.height>0){var n=null,a=null,s=r.get(e.target);if("function"==typeof s){var u=s({target:e.target,rect:e.intersectionRect});u?"string"==typeof u?n=u:(n=u.type,a=u.mutationData):n="unknown"}else"string"==typeof s&&(n=s);t({target:e.target,rect:e.intersectionRect,time:e.time,type:null!=n?n:"unknown",mutationData:a}),o.push(new WeakRef(e.target)),r.delete(e.target),i.unobserve(e.target)}}),null==n||n({time:a,elements:o})});return{disconnect:function(){i.disconnect()},unobserve:function(e){i.unobserve(e)},watchAndTag:function(e,t){r.set(e,t),i.observe(e)}}}({onEntry:this.handleIntersectionEntry}),this.mutationObserver=tG({onChildListMutation:this.handleChildListMutation,onAttributeMutation:this.handleAttributeMutation}),this.performanceObserver=tJ({onLayoutShift:this.handleLayoutShift}))}},{key:"start",value:function(){var e,t;this.isStarted||(this.initializeObservers(),null===(e=this.mutationObserver)||void 0===e||e.observe(document.body,{attributeOldValue:!0,attributes:!0,childList:!0,subtree:!0}),null===(t=this.performanceObserver)||void 0===t||t.observe({type:"layout-shift",buffered:!0,durationThreshold:30}),this.isStarted=!0)}},{key:"stop",value:function(){var e,t,n;this.isStarted&&(null===(e=this.mutationObserver)||void 0===e||e.disconnect(),null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),null===(n=this.performanceObserver)||void 0===n||n.disconnect(),this.isStarted=!1)}}]),tQ=(0,eR.Z)(function e(t){(0,eL.Z)(this,e),(0,N.Z)(this,"unbindFns",[]),this.onEvent=t.onEvent},[{key:"bindEvent",value:function(e){var t=this,n=(0,eD.ak)(window,{type:e,listener:function(n){n.isTrusted&&t.onEvent({time:n.timeStamp,type:e,event:n})},options:{passive:!0,once:!0}});this.unbindFns.push(n)}},{key:"start",value:function(){this.bindEvent("wheel"),this.bindEvent("scroll"),this.bindEvent("keydown"),this.bindEvent("resize")}},{key:"stop",value:function(){this.unbindFns.forEach(function(e){e()}),this.unbindFns=[]}}]),t0={id:!1,testId:!0,role:!1,className:!1,dataVC:!0},t1=(0,eR.Z)(function e(t){var n,r=this;(0,eL.Z)(this,e),(0,N.Z)(this,"viewportObserver",null),(0,N.Z)(this,"windowEventObserver",null),this.entriesTimeline=new tv,this.selectorConfig=null!==(n=t.selectorConfig)&&void 0!==n?n:t0,this.viewportObserver=new tX({onChange:function(e){var t=e.time,n=e.type,i=e.elementRef,o=e.visible,a=e.rect,s=e.previousRect,u=e.mutationData,l="unknown",c=i.deref();c&&(l=r.getElementName(c)),r.entriesTimeline.push({time:t,type:n,data:{elementName:l,rect:a,previousRect:s,visible:o,attributeName:null==u?void 0:u.attributeName}})}}),this.windowEventObserver=new tQ({onEvent:function(e){var t=e.time,n=e.type;r.entriesTimeline.push({time:t,type:"window:event",data:{eventType:n}})}})},[{key:"start",value:function(e){var t,n;e.startTime,null===(t=this.viewportObserver)||void 0===t||t.start(),null===(n=this.windowEventObserver)||void 0===n||n.start(),this.entriesTimeline.clear()}},{key:"stop",value:function(){var e,t;null===(e=this.viewportObserver)||void 0===e||e.stop(),null===(t=this.windowEventObserver)||void 0===t||t.stop()}},{key:"getVCResult",value:(g=(0,eP.Z)(eT().mark(function e(t){var n,r,i,o,a,s;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.start,r=t.stop,i=[],o=new t$,a=this.entriesTimeline.getOrderedEntries({start:n,stop:r}),e.next=6,o.calculate({orderedEntries:a,startTime:n,stopTime:r});case 6:return(s=e.sent)&&i.push(s),e.abrupt("return",i);case 9:case"end":return e.stop()}},e,this)})),function(e){return g.apply(this,arguments)})},{key:"getElementName",value:function(e){return tm(this.selectorConfig,e)}}]),t2=n(83454);function t5(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 t3(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};(0,eL.Z)(this,e),this.newVCObserver=null,(0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")?(this.oldVCObserver=null,eE("fy25.03")&&(this.newVCObserver=new t1({selectorConfig:t.selectorConfig})),(eE("fy25.01")||eE("fy25.02"))&&(this.oldVCObserver=new to(t))):(eE("fy25.03")&&(this.newVCObserver=new t1({selectorConfig:t.selectorConfig})),this.oldVCObserver=new to(t))},[{key:"start",value:function(e){var t,n,r,i,o=e.startTime,a=e.experienceKey;(0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")?((eE("fy25.01",a)||eE("fy25.02",a))&&(null===(t=this.oldVCObserver)||void 0===t||t.start({startTime:o})),eE("fy25.03",a)&&(null===(n=this.newVCObserver)||void 0===n||n.start({startTime:o}))):(null===(r=this.oldVCObserver)||void 0===r||r.start({startTime:o}),null===(i=this.newVCObserver)||void 0===i||i.start({startTime:o}))}},{key:"stop",value:function(e){var t,n,r,i;(0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")?((eE("fy25.01",e)||eE("fy25.02",e))&&(null===(t=this.oldVCObserver)||void 0===t||t.stop()),eE("fy25.03",e)&&(null===(n=this.newVCObserver)||void 0===n||n.stop())):(null===(r=this.oldVCObserver)||void 0===r||r.stop(),null===(i=this.newVCObserver)||void 0===i||i.stop())}},{key:"getVCRawData",value:function(){var e,t;return null!==(e=null===(t=this.oldVCObserver)||void 0===t?void 0:t.getVCRawData())&&void 0!==e?e:null}},{key:"getVCResult",value:(m=(0,eP.Z)(eT().mark(function e(t){var n,r,i,o,a,s,u,l,c,d,f;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,e_.fg)("platform_ufo_vc_enable_revisions_by_experience")){e.next=23;break}if(!(eE("fy25.01",o=t.experienceKey)||eE("fy25.02",o))){e.next=8;break}return e.next=5,null===(n=this.oldVCObserver)||void 0===n?void 0:n.getVCResult(t);case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:if(a=e.t0,!eE("fy25.03",o)){e.next=16;break}return e.next=13,null===(r=this.newVCObserver)||void 0===r?void 0:r.getVCResult({start:t.start,stop:t.stop});case 13:e.t1=e.sent,e.next=17;break;case 16:e.t1=[];case 17:if(s=e.t1){e.next=20;break}return e.abrupt("return",null!=a?a:{});case 20:return e.abrupt("return",t3(t3({},a),{},{"ufo:vc:rev":[].concat(eI(null!==(i=null==a?void 0:a["ufo:vc:rev"])&&void 0!==i?i:[]),eI(null!=s?s:[]))}));case 23:return e.next=25,null===(u=this.oldVCObserver)||void 0===u?void 0:u.getVCResult(t);case 25:return d=e.sent,e.next=28,null===(l=this.newVCObserver)||void 0===l?void 0:l.getVCResult({start:t.start,stop:t.stop});case 28:if(f=e.sent,!(d&&!f)){e.next=31;break}return e.abrupt("return",d);case 31:return e.abrupt("return",t3(t3({},null!=d?d:{}),{},{"ufo:vc:rev":[].concat(eI(null!==(c=null==d?void 0:d["ufo:vc:rev"])&&void 0!==c?c:[]),eI(null!=f?f:[]))}));case 32:case"end":return e.stop()}},e,this)})),function(e){return m.apply(this,arguments)})},{key:"setSSRElement",value:function(e){var t;null===(t=this.oldVCObserver)||void 0===t||t.setSSRElement(e)}},{key:"setReactRootRenderStart",value:function(e){var t;null===(t=this.oldVCObserver)||void 0===t||t.setReactRootRenderStart(e||performance.now())}},{key:"setReactRootRenderStop",value:function(e){var t;null===(t=this.oldVCObserver)||void 0===t||t.setReactRootRenderStop(e||performance.now())}}]),t6=!!(null==globalThis?void 0:globalThis.__SERVER__),t7=void 0!==t2&&!!(null===(O=t2)||void 0===t2||null===(O=O.env)||void 0===O?void 0:O.REACT_SSR);function t8(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!globalThis.__vcObserver){var t=!(!t7&&!t6&&"function"==typeof(null==globalThis?void 0:globalThis.WeakRef)&&"function"==typeof(null==globalThis?void 0:globalThis.MutationObserver)&&"function"==typeof(null==globalThis?void 0:globalThis.IntersectionObserver)&&"function"==typeof(null==globalThis?void 0:globalThis.PerformanceObserver));globalThis.__vcObserver=t?new tp:new t4(e)}return globalThis.__vcObserver}var t9=new Map;function ne(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 nt(e){for(var t=1;t0}},{key:"sendPostInteractionLog",value:(y=(0,eP.Z)(eT().mark(function e(){var t,n,r,i,o,a;return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!this.hasData()||!this.lastInteractionFinish||!this.sinkHandlerFn)){e.next=4;break}return this.reset(),null!==(r=S)&&void 0!==r&&null!==(r=r.experimentalInteractionMetrics)&&void 0!==r&&r.enabled&&(null===(i=this.vcObserver)||void 0===i||i.stop()),e.abrupt("return");case 4:return e.next=6,null===(t=this.vcObserver)||void 0===t?void 0:t.getVCResult(nt(nt({start:this.lastInteractionFinish.start,stop:performance.now(),tti:-1,isEventAborted:!!this.lastInteractionFinish.abortReason,prefix:"ufo"},this.vcObserverSSRConfig),{},{experienceKey:this.lastInteractionFinish.ufoName}));case 6:o=e.sent,null!==(n=S)&&void 0!==n&&null!==(n=n.experimentalInteractionMetrics)&&void 0!==n&&n.enabled&&(null===(a=this.vcObserver)||void 0===a||a.stop()),this.sinkHandlerFn({lastInteractionFinish:this.lastInteractionFinish,reactProfilerTimings:this.reactProfilerTimings,postInteractionFinishVCResult:o,lastInteractionFinishVCResult:this.lastInteractionFinishVCResult}),this.reset();case 10:case"end":return e.stop()}},e,this)})),function(){return y.apply(this,arguments)})},{key:"onInteractionComplete",value:function(e){var t=this,n=e.ufoName,r=e.start,i=e.end,o=e.id,a=e.abortReason,s=e.abortedByInteractionName,u=e.routeName,l=e.type,c=e.experimentalTTAI,d=e.experimentalVC90,f=e.errors;this.lastInteractionFinish={ufoName:n,start:r,end:i,id:o,abortReason:a,abortedByInteractionName:s,routeName:u,type:l,experimentalTTAI:c,experimentalVC90:d,errors:f};var h=(null==S?void 0:S.timeWindowForLateMutationsInMilliseconds)||3e3;this.sinkTimeoutId=window.setTimeout((0,eP.Z)(eT().mark(function e(){return eT().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.sendPostInteractionLog();case 2:case"end":return e.stop()}},e)})),h)}},{key:"addProfilerTimings",value:function(e,t,n,r,i,o){null!=this.lastInteractionFinish&&this.reactProfilerTimings.push({type:t,actualDuration:n,baseDuration:r,startTime:i,commitTime:o,labelStack:e})}}]);function nr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ni(e,void 0);var n=({}).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)?ni(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:performance.now();t.end=n;try{performance.measure("\uD83D\uDEF8 [".concat(t.type,"] ").concat(t.ufoName," [ttai]"),{start:t.start,end:t.end})}catch(e){}if(t.featureFlags&&(t.featureFlags.during=Object.fromEntries(th)),ek.context=null,!function(e){e.cleanupCallbacks.reverse().forEach(function(e){e()})}(t),null!==(i=S)&&void 0!==i&&null!==(i=i.vc)&&void 0!==i&&i.stopVCAtInteractionFinish&&(t.vc=t8().getVCRawData()),null!==(o=S)&&void 0!==o&&null!==(o=o.experimentalInteractionMetrics)&&void 0!==o&&o.enabled||nf(e),no.name=t.ufoName||"unknown",no.isAborted=null!=t.abortReason,t.ufoName&&nh(e,t),(null==S?void 0:S.enableAdditionalPerformanceMarks)||window.__REACT_UFO_ENABLE_PERF_TRACING){var r=new Map;t.reactProfilerTimings.forEach(function(e){var t=null==(n=e.labelStack)||null===(i=n.map(function(e){return"segmentId"in e?"".concat(e.name,":").concat(e.segmentId):"".concat(e.name)}))||void 0===i?void 0:i.join("/");if(t){var n,i,o,a,s,u=null!==(o=r.get(t))&&void 0!==o?o:{labelStack:e.labelStack};u.start=e.startTime<(null!==(a=u.start)&&void 0!==a?a:Number.MAX_SAFE_INTEGER)?e.startTime:u.start,u.end=e.commitTime>(null!==(s=u.end)&&void 0!==s?s:Number.MIN_SAFE_INTEGER)?e.commitTime:u.end,r.set(t,u)}});try{var i,o,a,s=nr(r.entries());try{for(s.s();!(a=s.n()).done;){var u=(0,ex.Z)(a.value,2)[1],l=u.labelStack,c=u.start,d=u.end;performance.measure("\uD83D\uDEF8 ".concat(nd(l)," [segment_ttai]"),{start:c,end:d})}}catch(e){s.e(e)}finally{s.f()}}catch(e){}}try{window.dispatchEvent(new CustomEvent("UFO_FINISH_INTERACTION",{detail:t}))}catch(e){}}function nv(e){e.cancelCallbacks.reverse().forEach(function(e){e()})}function ng(e,t){var n,r=t9.get(e);null!=r&&(nv(r),r.abortReason=t,np(e,r),null!==(n=S)&&void 0!==n&&null!==(n=n.experimentalInteractionMetrics)&&void 0!==n&&n.enabled&&(tc(e,r),nf(e)))}var nm={current:null},ny=function(e,t){var n=function(e,t){try{if(!S)return 0;var n=S.killswitch,r=S.rates,i=S.rules,o=S.kind,a=S.autoGeneratedRate;if(null!=n&&n.includes(e))return 0;if(null!=r&&null!=r[e])return r[e];if(null!=i)for(var s=0;s7&&void 0!==arguments[7]?arguments[7]:null;null!==(s=S)&&void 0!==s&&null!==(s=s.postInteractionLog)&&void 0!==s&&s.enabled&&na.reset();var c=r,d=6e4,f=setTimeout(function(){ng(e,"timeout")},6e4),h=eb(function(e){try{if(!S)return 0;var t=S.capability;if(null!=t){var n=t[e];if(null!=n)return n}return 0}catch(e){return 0}}("feature_flag_access")),p={id:e,start:r,end:0,ufoName:t,type:n,previousInteractionName:no.name,isPreviousInteractionAborted:!0===no.isAborted,marks:[],customData:[],customTimings:[],spans:[],requestInfo:[],reactProfilerTimings:[],holdInfo:[],holdExpInfo:[],holdActive:new Map,holdExpActive:new Map,measureStart:performance.now(),rate:i,cancelCallbacks:[],metaData:{},errors:[],apdex:[],labelStack:o,routeName:null!=a?a:t,featureFlags:h?{prior:Object.fromEntries(tf),during:{}}:void 0,knownSegments:[],cleanupCallbacks:[],awaitReactProfilerCount:0,redirects:[],timerID:f,changeTimeout:function(t){var n=performance.now();if(!(d-(n-c)"object"==typeof e&&null!=e&&1===e.nodeType,nO=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,nI=(e,t)=>{if(e.clientHeight{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeightot||o>e&&a=t&&s>=n?o-e-r:a>t&&sn?a-t+i:0,nT=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var nL=(e,t)=>{var n,r,i,o,a,s;if("undefined"==typeof document)return[];let{scrollMode:u,block:l,inline:c,boundary:d,skipOverflowHiddenElements:f}=t,h="function"==typeof d?d:e=>e!==d;if(!nS(e))throw TypeError("Invalid target");let p=document.scrollingElement||document.documentElement,v=[],g=e;for(;nS(g)&&h(g);){if((g=nT(g))===p){v.push(g);break}null!=g&&g===document.body&&nI(g)&&!nI(document.documentElement)||null!=g&&nI(g,f)&&v.push(g)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,y=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,b=null!=(a=window.scrollX)?a:pageXOffset,_=null!=(s=window.scrollY)?s:pageYOffset,{height:w,width:E,top:k,right:C,bottom:x,left:S}=e.getBoundingClientRect(),O="start"===l||"nearest"===l?k:"end"===l?x:k+w/2,I="center"===c?S+E/2:"end"===c?C:S,A=[];for(let e=0;e=0&&S>=0&&x<=y&&C<=m&&k>=i&&x<=a&&S>=s&&C<=o)break;let d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),h=parseInt(d.borderTopWidth,10),g=parseInt(d.borderRightWidth,10),T=parseInt(d.borderBottomWidth,10),L=0,R=0,P="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-g:0,j="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-T:0,D="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,M="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)L="start"===l?O:"end"===l?O-y:"nearest"===l?nA(_,_+y,y,h,T,_+O,_+O+w,w):O-y/2,R="start"===c?I:"center"===c?I-m/2:"end"===c?I-m:nA(b,b+m,m,f,g,b+I,b+I+E,E),L=Math.max(0,L+_),R=Math.max(0,R+b);else{L="start"===l?O-i-h:"end"===l?O-a+T+j:"nearest"===l?nA(i,a,n,h,T+j,O,O+w,w):O-(i+n/2)+j/2,R="start"===c?I-s-f:"center"===c?I-(s+r/2)+P/2:"end"===c?I-o+g+P:nA(s,o,r,f,g+P,I,I+E,E);let{scrollLeft:e,scrollTop:u}=t;L=Math.max(0,Math.min(u+L/M,t.scrollHeight-n/M+j)),R=Math.max(0,Math.min(e+R/D,t.scrollWidth-r/D+P)),O+=u-L,I+=e-R}A.push({el:t,top:L,left:R})}return A},nR=function(){return(nR=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1?n-1:0),i=1;i=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function nq(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return -1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var a=t+e;a<0?a=i?o:0:a>o&&(a=i?0:o);var s=nJ(e,a,n,r,i);return -1===s?t>=n?-1:t:s}function nJ(e,t,n,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var a=t+1;a=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?nJ(1,0,n,r,!1):nJ(-1,n-1,n,r,!1):-1}function nY(e,t,n,r){return void 0===r&&(r=!0),t.some(function(t){return t&&(nF(t,e,n)||r&&nF(t,n.document.activeElement,n))})}var nX=nB(function(e){n0(e).textContent=""},500);function nQ(e,t){var n=n0(t);e&&(n.textContent=e,nX(t))}function n0(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}var n1=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16}),n2=["refKey","ref"],n5=["onClick","onPress","onKeyDown","onKeyUp","onBlur"],n3=["onKeyDown","onBlur","onChange","onInput","onChangeText"],n4=["refKey","ref"],n6=["onMouseMove","onMouseDown","onClick","onPress","index","item"],n7=((b=function(e){function t(t){(n=e.call(this,t)||this).id=n.props.id||"downshift-"+nV(),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(e){return n.id+"-item-"+e},n.input=null,n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(e,t){var r=setTimeout(function(){n.timeoutIds=n.timeoutIds.filter(function(e){return e!==r}),e()},t);n.timeoutIds.push(r)},n.setItemCount=function(e){n.itemCount=e},n.unsetItemCount=function(){n.itemCount=null},n.setHighlightedIndex=function(e,t){void 0===e&&(e=n.props.defaultHighlightedIndex),void 0===t&&(t={}),t=n$(t),n.internalSetState(nw({highlightedIndex:e},t))},n.clearSelection=function(e){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},e)},n.selectItem=function(e,t,r){t=n$(t),n.internalSetState(nw({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:e,inputValue:n.props.itemToString(e)},t),r)},n.selectItemAtIndex=function(e,t,r){var i=n.items[e];null!=i&&n.selectItem(i,t,r)},n.selectHighlightedItem=function(e,t){return n.selectItemAtIndex(n.getState().highlightedIndex,e,t)},n.internalSetState=function(e,t){var r,i,o={},a="function"==typeof e;return!a&&e.hasOwnProperty("inputValue")&&n.props.onInputValueChange(e.inputValue,nw({},n.getStateAndHelpers(),e)),n.setState(function(t){t=n.getState(t);var s=a?e(t):e;r=(s=n.props.stateReducer(t,s)).hasOwnProperty("selectedItem");var u={};return r&&s.selectedItem!==t.selectedItem&&(i=s.selectedItem),s.type=s.type||0,Object.keys(s).forEach(function(e){t[e]!==s[e]&&(o[e]=s[e]),"type"!==e&&(s[e],nG(n.props,e)||(u[e]=s[e]))}),a&&s.hasOwnProperty("inputValue")&&n.props.onInputValueChange(s.inputValue,nw({},n.getStateAndHelpers(),s)),u},function(){nj(t)(),Object.keys(o).length>1&&n.props.onStateChange(o,n.getStateAndHelpers()),r&&n.props.onSelect(e.selectedItem,n.getStateAndHelpers()),void 0!==i&&n.props.onChange(i,n.getStateAndHelpers()),n.props.onUserAction(o,n.getStateAndHelpers())})},n.rootRef=function(e){return n._rootNode=e},n.getRootProps=function(e,t){var r,i=void 0===e?{}:e,o=i.refKey,a=void 0===o?"ref":o,s=i.ref,u=n_(i,n2),l=(void 0===t?{}:t).suppressRefError;n.getRootProps.called=!0,n.getRootProps.refKey=a,n.getRootProps.suppressRefError=void 0!==l&&l;var c=n.getState().isOpen;return nw(((r={})[a]=nz(s,n.rootRef),r.role="combobox",r["aria-expanded"]=c,r["aria-haspopup"]="listbox",r["aria-owns"]=c?n.menuId:null,r["aria-labelledby"]=n.labelId,r),u)},n.keyDownHandlers={ArrowDown:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?5:1;this.moveHighlightedIndex(n,{type:4})}else this.internalSetState({isOpen:!0,type:4},function(){var e=t.getItemCount();if(e>0){var n=nq(1,t.getState().highlightedIndex,e,function(e){return t.getItemNodeFromIndex(e)});t.setHighlightedIndex(n,{type:4})}})},ArrowUp:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:3})}else this.internalSetState({isOpen:!0,type:3},function(){var e=t.getItemCount();if(e>0){var n=nq(-1,t.getState().highlightedIndex,e,function(e){return t.getItemNodeFromIndex(e)});t.setHighlightedIndex(n,{type:3})}})},Enter:function(e){if(229!==e.which){var t=this.getState(),n=t.isOpen,r=t.highlightedIndex;if(n&&null!=r){e.preventDefault();var i=this.items[r],o=this.getItemNodeFromIndex(r);if(null==i||o&&o.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}}},Escape:function(e){e.preventDefault(),this.reset(nw({type:5},!this.state.isOpen&&{selectedItem:null,inputValue:""}))}},n.buttonKeyDownHandlers=nw({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:12})}}),n.inputKeyDownHandlers=nw({},n.keyDownHandlers,{Home:function(e){var t=this,n=this.getState().isOpen;if(n){e.preventDefault();var r=this.getItemCount();if(!(r<=0)&&n){var i=nJ(1,0,r,function(e){return t.getItemNodeFromIndex(e)},!1);this.setHighlightedIndex(i,{type:7})}}},End:function(e){var t=this,n=this.getState().isOpen;if(n){e.preventDefault();var r=this.getItemCount();if(!(r<=0)&&n){var i=nJ(-1,r-1,r,function(e){return t.getItemNodeFromIndex(e)},!1);this.setHighlightedIndex(i,{type:8})}}}}),n.getToggleButtonProps=function(e){var t=void 0===e?{}:e,r=t.onClick;t.onPress;var i=t.onKeyDown,o=t.onKeyUp,a=t.onBlur,s=n_(t,n5),u=n.getState().isOpen,l={onClick:nN(r,n.buttonHandleClick),onKeyDown:nN(i,n.buttonHandleKeyDown),onKeyUp:nN(o,n.buttonHandleKeyUp),onBlur:nN(a,n.buttonHandleBlur)},c=s.disabled?{}:l;return nw({type:"button",role:"button","aria-label":u?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},c,s)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=nK(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call(nE(n),e)},n.buttonHandleClick=function(e){e.preventDefault(),n.props.environment.document.activeElement===n.props.environment.document.body&&e.target.focus(),n.internalSetTimeout(function(){return n.toggleMenu({type:13})})},n.buttonHandleBlur=function(e){var t=e.target;n.internalSetTimeout(function(){n.isMouseDown||null!=n.props.environment.document.activeElement&&n.props.environment.document.activeElement.id===n.inputId||n.props.environment.document.activeElement===t||n.reset({type:14})})},n.getLabelProps=function(e){return nw({htmlFor:n.inputId,id:n.labelId},e)},n.getInputProps=function(e){var t,r,i=void 0===e?{}:e,o=i.onKeyDown,a=i.onBlur,s=i.onChange,u=i.onInput;i.onChangeText;var l=n_(i,n3),c={};t="onChange";var d=n.getState(),f=d.inputValue,h=d.isOpen,p=d.highlightedIndex;return l.disabled||((r={})[t]=nN(s,u,n.inputHandleChange),r.onKeyDown=nN(o,n.inputHandleKeyDown),r.onBlur=nN(a,n.inputHandleBlur),c=r),nw({"aria-autocomplete":"list","aria-activedescendant":h&&"number"==typeof p&&p>=0?n.getItemId(p):null,"aria-controls":h?n.menuId:null,"aria-labelledby":l&&l["aria-label"]?void 0:n.labelId,autoComplete:"off",value:f,id:n.inputId},c,l)},n.inputHandleKeyDown=function(e){var t=nK(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call(nE(n),e)},n.inputHandleChange=function(e){n.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout(function(){var e=n.props.environment.document&&!!n.props.environment.document.activeElement&&!!n.props.environment.document.activeElement.dataset&&n.props.environment.document.activeElement.dataset.toggle&&n._rootNode&&n._rootNode.contains(n.props.environment.document.activeElement);n.isMouseDown||e||n.reset({type:10})})},n.menuRef=function(e){n._menuNode=e},n.getMenuProps=function(e,t){var r,i=void 0===e?{}:e,o=i.refKey,a=void 0===o?"ref":o,s=i.ref,u=n_(i,n4),l=(void 0===t?{}:t).suppressRefError;return n.getMenuProps.called=!0,n.getMenuProps.refKey=a,n.getMenuProps.suppressRefError=void 0!==l&&l,nw(((r={})[a]=nz(s,n.menuRef),r.role="listbox",r["aria-labelledby"]=u&&u["aria-label"]?null:n.labelId,r.id=n.menuId,r),u)},n.getItemProps=function(e){var t,r=void 0===e?{}:e,i=r.onMouseMove,o=r.onMouseDown,a=r.onClick;r.onPress;var s=r.index,u=r.item,l=void 0===u?void 0:u,c=n_(r,n6);void 0===s?(n.items.push(l),s=n.items.indexOf(l)):n.items[s]=l;var d=((t={onMouseMove:nN(i,function(){s!==n.getState().highlightedIndex&&(n.setHighlightedIndex(s,{type:2}),n.avoidScrolling=!0,n.internalSetTimeout(function(){return n.avoidScrolling=!1},250))}),onMouseDown:nN(o,function(e){e.preventDefault()})}).onClick=nN(a,function(){n.selectItemAtIndex(s,{type:9})}),t),f=c.disabled?{onMouseDown:d.onMouseDown}:d;return nw({id:n.getItemId(s),role:"option","aria-selected":n.getState().highlightedIndex===s},f,c)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=n$(e),n.internalSetState(function(t){var r=t.selectedItem;return nw({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(r)},e)},t)},n.toggleMenu=function(e,t){void 0===e&&(e={}),e=n$(e),n.internalSetState(function(t){var r=t.isOpen;return nw({isOpen:!r},r&&{highlightedIndex:n.props.defaultHighlightedIndex},e)},function(){var r=n.getState(),i=r.isOpen,o=r.highlightedIndex;i&&n.getItemCount()>0&&"number"==typeof o&&n.setHighlightedIndex(o,e),nj(t)()})},n.openMenu=function(e){n.internalSetState({isOpen:!0},e)},n.closeMenu=function(e){n.internalSetState({isOpen:!1},e)},n.updateStatus=nB(function(){var e=n.getState(),t=n.items[e.highlightedIndex],r=n.getItemCount(),i=n.props.getA11yStatusMessage(nw({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:r,highlightedItem:t},e));n.previousResultCount=r,nQ(i,n.props.environment.document)},200);var n,r=n.props,i=r.defaultHighlightedIndex,o=r.initialHighlightedIndex,a=r.defaultIsOpen,s=r.initialIsOpen,u=r.initialInputValue,l=r.initialSelectedItem,c=n.getState({highlightedIndex:void 0===o?i:o,isOpen:void 0===s?a:s,inputValue:void 0===u?"":u,selectedItem:void 0===l?null:l});return null!=c.selectedItem&&void 0===n.props.initialInputValue&&(c.inputValue=n.props.itemToString(c.selectedItem)),n.state=c,n}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,nk(t,e);var n=t.prototype;return n.internalClearTimeouts=function(){this.timeoutIds.forEach(function(e){clearTimeout(e)}),this.timeoutIds=[]},n.getState=function(e){return void 0===e&&(e=this.state),nW(e,this.props)},n.getItemCount=function(){var e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e},n.getItemNodeFromIndex=function(e){return this.props.environment.document.getElementById(this.getItemId(e))},n.scrollHighlightedItemIntoView=function(){var e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)},n.moveHighlightedIndex=function(e,t){var n=this,r=this.getItemCount(),i=this.getState().highlightedIndex;if(r>0){var o=nq(e,i,r,function(e){return n.getItemNodeFromIndex(e)});this.setHighlightedIndex(o,t)}},n.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,r=e.selectedItem,i=e.isOpen,o=this.props.itemToString,a=this.id,s=this.getRootProps,u=this.getToggleButtonProps,l=this.getLabelProps,c=this.getMenuProps,d=this.getInputProps,f=this.getItemProps,h=this.openMenu,p=this.closeMenu,v=this.toggleMenu,g=this.selectItem,m=this.selectItemAtIndex,y=this.selectHighlightedItem,b=this.setHighlightedIndex,_=this.clearSelection,w=this.clearItems;return{getRootProps:s,getToggleButtonProps:u,getLabelProps:l,getMenuProps:c,getInputProps:d,getItemProps:f,reset:this.reset,openMenu:h,closeMenu:p,toggleMenu:v,selectItem:g,selectItemAtIndex:m,selectHighlightedItem:y,setHighlightedIndex:b,clearSelection:_,clearItems:w,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:o,id:a,highlightedIndex:t,inputValue:n,isOpen:i,selectedItem:r}},n.componentDidMount=function(){var e=this,t=function(){e.isMouseDown=!0},n=function(t){e.isMouseDown=!1,!nY(t.target,[e._rootNode,e._menuNode],e.props.environment)&&e.getState().isOpen&&e.reset({type:1},function(){return e.props.onOuterClick(e.getStateAndHelpers())})},r=function(){e.isTouchMove=!1},i=function(){e.isTouchMove=!0},o=function(t){var n=nY(t.target,[e._rootNode,e._menuNode],e.props.environment,!1);e.isTouchMove||n||!e.getState().isOpen||e.reset({type:16},function(){return e.props.onOuterClick(e.getStateAndHelpers())})},a=this.props.environment;a.addEventListener("mousedown",t),a.addEventListener("mouseup",n),a.addEventListener("touchstart",r),a.addEventListener("touchmove",i),a.addEventListener("touchend",o),this.cleanup=function(){e.internalClearTimeouts(),e.updateStatus.cancel(),a.removeEventListener("mousedown",t),a.removeEventListener("mouseup",n),a.removeEventListener("touchstart",r),a.removeEventListener("touchmove",i),a.removeEventListener("touchend",o)}},n.shouldScroll=function(e,t){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,r=(void 0===t.highlightedIndex?e:t).highlightedIndex;return n&&this.getState().isOpen&&!e.isOpen||n!==r},n.componentDidUpdate=function(e,t){nG(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},n.componentWillUnmount=function(){this.cleanup()},n.render=function(){var e=nH(this.props.children,nD);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var t=nH(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:"string"==typeof t.type?(0,B.cloneElement)(t,this.getRootProps(t.props)):void 0:null},t}(B.Component)).defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:nU,itemToString:function(e){return null==e?"":String(e)},onStateChange:nD,onInputValueChange:nD,onUserAction:nD,onChange:nD,onSelect:nD,onOuterClick:nD,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?{}:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:nM},b.stateChangeTypes=n1,b),n8=["isInitialMount","highlightedIndex","items","environment"],n9={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},re=nB(function(e,t){nQ(e(),t)},200),rt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?B.useLayoutEffect:B.useEffect;function rn(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}var rr={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:nM,environment:"undefined"==typeof window?{}:window};function ri(e,t,n){void 0===n&&(n=n9);var r=e["default"+rn(t)];return void 0!==r?r:n[t]}function ro(e,t,n){void 0===n&&(n=n9);var r=e[t];if(void 0!==r)return r;var i=e["initial"+rn(t)];return void 0!==i?i:ri(e,t,n)}function ra(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=t.selectedItem,s=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&s===i?i:void 0!==o?o:a?r.indexOf(a):0===n?-1:n<0?r.length-1:0}function rs(e,t,n){void 0===n&&(n=!0);var r,i=(null==(r=e.items)?void 0:r.length)&&t>=0;return nw({isOpen:!1,highlightedIndex:-1},i&&nw({selectedItem:e.items[t],isOpen:ri(e,"isOpen"),highlightedIndex:ri(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function ru(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:ra(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:ra(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:ri(o,"highlightedIndex"),isOpen:ri(o,"isOpen"),selectedItem:ri(o,"selectedItem"),inputValue:ri(o,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return nw({},e,r)}nx().array.isRequired,nx().func,nx().func,nx().func,nx().number,nx().number,nx().number,nx().bool,nx().bool,nx().bool,nx().any,nx().any,nx().any,nx().string,nx().string,nx().string,nx().func,nx().string,nx().func,nx().func,nx().func,nx().func,nx().func,nx().shape({addEventListener:nx().func,removeEventListener:nx().func,document:nx().shape({getElementById:nx().func,activeElement:nx().any,body:nx().any})}),nR(nR({},rr),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});var rl=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21}),rc=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputFocus:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});nx().array.isRequired,nx().func,nx().func,nx().func,nx().func,nx().number,nx().number,nx().number,nx().bool,nx().bool,nx().bool,nx().any,nx().any,nx().any,nx().string,nx().string,nx().string,nx().string,nx().string,nx().string,nx().func,nx().string,nx().string,nx().func,nx().func,nx().func,nx().func,nx().func,nx().func,nx().shape({addEventListener:nx().func,removeEventListener:nx().func,document:nx().shape({getElementById:nx().func,activeElement:nx().any,body:nx().any})}),nw({},rr,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:nU});var rd={activeIndex:-1,selectedItems:[]};nx().array,nx().array,nx().array,nx().func,nx().func,nx().func,nx().number,nx().number,nx().number,nx().func,nx().func,nx().string,nx().string,nx().shape({addEventListener:nx().func,removeEventListener:nx().func,document:nx().shape({getElementById:nx().func,activeElement:nx().any,body:nx().any})}),rr.itemToString,rr.stateReducer,rr.environment;var rf=n(73935);function rh(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rb(e){var t=(0,B.useRef)(null);return function(n){n&&n!==t.current&&(t.current=n,e(n))}}var r_="undefined"!=typeof window?B.useLayoutEffect:B.useEffect;function rw(e){return parseFloat(e.replace("px",""))}function rE(e,t,n){return en?n:e}function rk(){for(var e=arguments.length,t=Array(e),n=0;n=0})}},{key:"negativeSides",get:function(){var e=this;return Object.fromEntries(rR.filter(function(t){return e[t]<0}).map(function(t){return[t,e[t]]}))}}]),e}();function rj(){for(var e=arguments.length,t=Array(e),n=0;nv?v-y:0;f[n.prop]=rE(y+e+b,p,v),f[n.opposite.prop]=f[n.prop]+n.factor(o[l])}f.width=f.right-f.left,f.height=f.bottom-f.top;var _=rF.create(f);return 0===e&&(this._cachedLayerBounds=_),_},t.getLayerCollisionBounds=function(){var e=this.offsets.container;return this.getLayerBounds().mapSides(function(t,n){return n-t.factor(e)}).merge(function(t){return{width:t.width+2*e,height:t.height+2*e}})},t.getContainerOffsets=function(e){if(this._cachedContainerOffsets&&!e)return this._cachedContainerOffsets;var t=this.subjectsBounds.merge({layer:e||this.getLayerCollisionBounds()}),n=rP.mergeSmallestSides(t.layerOffsetsToScrollContainers);return e||(this._cachedContainerOffsets=n),n},rp(e,[{key:"type",get:function(){return this.primary.prop+"-"+("center"===this.secondary.prop?"center":["bottom","right"].includes(this.secondary.prop)?"end":"start")}},{key:"triggerIsBigger",get:function(){var e=this.secondary.isHorizontal,t=this.subjectsBounds,n=t.triggerHasBiggerWidth,r=t.triggerHasBiggerHeight;return e&&n||!e&&r}},{key:"fitsContainer",get:function(){return this.getContainerOffsets().allSidesArePositive}},{key:"visibleSurface",get:function(){var e=this.getLayerBounds(),t=this.getContainerOffsets(e).negativeSides;for(var n in t)t[n]=-t[n];return e.substract(t).surface}},{key:"secondaryOffsetSide",get:function(){var e,t,n=this;return(null!=(e=null==(t=Object.entries(this.getContainerOffsets().negativeSides).map(function(e){var t=e[0],n=e[1];return[rT[t],n]}).filter(function(e){var t=e[0];return n.primary.isOppositeDirection(t)}).sort(function(e,t){var n=e[1];return t[1]-n}))?void 0:t[0])?e:[])[0]||null}}]),e}(),rN=function(e){function t(){return e.apply(this,arguments)||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,rg(t,e),t.prototype.getLayerBounds=function(){var e=this.subjectsBounds,t=e.trigger,n=e.layer,r=rF.empty();return r.top=t.top+t.height/2-n.height/2,r.bottom=r.top+n.height,r.left=t.left+t.width/2-n.width/2,r.right=r.left+n.width,r.width=r.right-r.left,r.height=r.bottom-r.top,r},t}(rB),rz={position:"absolute",willChange:"top, left",left:null,right:null,top:null,bottom:null},rV=function(){function e(e,t,n){this.placements=void 0,this.config=void 0,this.subjectsBounds=void 0,this.placements=e,this.config=t,this.subjectsBounds=n}e.getSidesFromPlacementType=function(e){var t,n=e.split("-"),r=n[0],i=n[1],o=rT[r];return t="center"===i?rL.center:o.isHorizontal?"start"===i?rL.top:rL.bottom:"start"===i?rL.left:rL.right,[o,t]},e.create=function(t,n){var r={arrow:n.arrowOffset,container:n.containerOffset,trigger:n.triggerOffset};function i(i){void 0===i&&(i=n.placement);var o=e.getSidesFromPlacementType(i),a=o[0],s=o[1],u=rT[a.isHorizontal?n.preferY:n.preferX],l=!a.isHorizontal&&t.triggerHasBiggerWidth||a.isHorizontal&&t.triggerHasBiggerHeight;function c(e,i){return new rB(e,i,t,n.layerDimensions,r)}var d=[];return d[0]=c(a,s),d[1]=c(a,s.isCenter?u:rL.center),d[2]=c(a,rL[(s.opposite.isCenter?u.opposite:s.opposite).prop]),d[3]=c(u,l?a:rL[a.opposite.prop]),d[4]=c(u,rL.center),d[5]=c(u,l?rL[a.opposite.prop]:a),d[6]=c(rT[u.opposite.prop],l?a:rL[a.opposite.prop]),d[7]=c(rT[u.opposite.prop],rL.center),d[8]=c(rT[u.opposite.prop],l?rL[a.opposite.prop]:a),d[9]=c(rT[a.opposite.prop],s),d[10]=c(rT[a.opposite.prop],s.isCenter?u:rL.center),d[11]=c(rT[a.opposite.prop],rL[(s.opposite.isCenter?u.opposite:s.opposite).prop]),d=d.filter(function(e){return e.type===n.placement||n.possiblePlacements.includes(e.type)})}return"center"===n.placement?new e([new rN(rL.center,rL.center,t,n.layerDimensions,r)].concat(i(n.preferY+"-"+n.preferX)),n,t):new e(i(),n,t)};var t=e.prototype;return t.filterPlacementsBySide=function(e){return this.placements.filter(function(t){return t.primary===e})},t.findFirstPlacementThatFits=function(){return this.placements.find(function(e){return e.fitsContainer})},t.placementWithBiggestVisibleSurface=function(){return this.placements.map(function(e){return{placement:e,surface:e.visibleSurface}}).sort(function(e,t){return t.surface-e.surface})[0].placement},t.findSuitablePlacement=function(){return this.config.auto?this.findFirstPlacementThatFits()||this.placementWithBiggestVisibleSurface():this.placements[0]},t.getSecondaryOffset=function(e){var t,n=this.config,r=n.auto,i=n.snap;if(!r||i||e instanceof rN)return 0;var o=this.filterPlacementsBySide(e.primary);if(0===o.indexOf(e)&&e.fitsContainer)return 0;var a=o.find(function(e){return!e.fitsContainer});if(!a)return 0;var s=a.secondaryOffsetSide;if(!s)return 0;var u=e.getContainerOffsets(),l=e.secondary;return t=e.triggerIsBigger||a===e?s.isPush?-1:1:l===rL.left||[rL.top,rL.center].includes(l)&&s.isPush?-1:1,u[s.prop]*t},t.getStyles=function(e,t,n,r){var i={willChange:"top, left, width, height"};return{arrow:function(e,t,n){if(t.primary.isCenter)return rz;var r,i,o,a,s,u,l,c,d,f,h=e.layer,p=e.trigger,v=e.arrow,g=t.primary.oppositeSizeProp,m=p[g]>h[g],y=n+v[g]/2,b=h[g]-v[g]/2-n,_=(r=e.layer,i=e.trigger,o=e.arrow,a=t.primary.oppositeSizeProp,u=(s=t.primary.isHorizontal?["top","bottom"]:["left","right"])[0],l=s[1],((c=r[u]+r[a]/2-i[u]-o[a]/2-n)<0?-c:0)+((d=r[l]-r[a]/2-i[l]+o[a]/2+n)>0?-d:0)),w=t.primary.prop,E=t.primary.oppositeCssProp,k=m?h[g]/2+_:p[E]+p[g]/2-h[E];return rv({},rz,((f={})[w]="100%",f[E]=rE(k,y,b),f))}(this.subjectsBounds.merge({layer:e}),t,this.config.arrowOffset),layer:this.config.overflowContainer?rv({},i,{position:"fixed",top:e.top,left:e.left}):rv({},i,{position:"absolute",top:e.top-this.subjectsBounds.parent.top+n.top-r.top,left:e.left-this.subjectsBounds.parent.left+n.left-r.left})}},t.getHasDisappeared=function(e){var t=this.config.overflowContainer?this.subjectsBounds.trigger:e,n=rP.mergeSmallestSides(this.subjectsBounds.offsetsToScrollContainers(t,!0));return Object.entries(n.negativeSides).some(function(e){var n=e[0];return e[1]<=-t[rT[n].sizeProp]})?"full":n.allSidesArePositive?null:"partial"},t.result=function(e,t){var n=this.findSuitablePlacement(),r=this.getSecondaryOffset(n),i=n.getLayerBounds(r);return{styles:this.getStyles(i,n,e,t),layerSide:n.primary.prop,placement:n,layerBounds:i,hasDisappeared:this.getHasDisappeared(i)}},e}(),rU=function(){function e(e,t){this.overflowContainer=void 0,this.trigger=void 0,this.layer=void 0,this.arrow=void 0,this.parent=void 0,this.window=void 0,this.scrollContainers=void 0,this.overflowContainer=t,Object.assign(this,e)}e.create=function(t,n,r,i,o,a,s,u){var l=rF.fromWindow(t);return new e({layer:rF.fromElement(n,{environment:t,withTransform:!1}),trigger:u?rF.create(rD(u())):rF.fromElement(r),arrow:o?rF.fromElement(o):rF.empty(),parent:i?rF.fromElement(i):l,window:l,scrollContainers:[l].concat(a.map(function(e){return rF.fromElement(e,{withScrollbars:!1})}))},s)};var t=e.prototype;return t.merge=function(t){return new e(rv({},this,t),this.overflowContainer)},t.offsetsToScrollContainers=function(e,t){return void 0===t&&(t=!1),(this.overflowContainer&&!t?[this.window]:this.scrollContainers).map(function(t){return t.offsetsTo(e)})},rp(e,[{key:"layerOffsetsToScrollContainers",get:function(){return this.offsetsToScrollContainers(this.layer)}},{key:"triggerHasBiggerWidth",get:function(){return this.trigger.width>this.layer.width}},{key:"triggerHasBiggerHeight",get:function(){return this.trigger.height>this.layer.height}}]),e}(),rH={auto:!1,arrowOffset:0,containerOffset:10,triggerOffset:0,overflowContainer:!0,placement:"top-center",possiblePlacements:["bottom-start","bottom-end","bottom-center","top-start","top-center","top-end","left-end","left-center","left-start","right-end","right-center","right-start","center"],preferX:"right",preferY:"bottom",snap:!1,container:void 0};function rZ(e){var t,n,r,i,o,a,s,u,l,c,d,f,h,p,v,g,m,y,b,_,w,E,k,C,x,S,O,I,A,T,L,R,P,j,D,M,F,N,z=e.isOpen,V=void 0!==z&&z,U=e.overflowContainer,H=void 0===U?rH.overflowContainer:U,Z=e.environment,$=void 0===Z?"undefined"!=typeof window?window:void 0:Z,W=e.ResizeObserver,G=e.placement,K=void 0===G?rH.placement:G,q=e.possiblePlacements,J=void 0===q?rH.possiblePlacements:q,Y=e.preferX,X=void 0===Y?rH.preferX:Y,Q=e.preferY,ee=void 0===Q?rH.preferY:Q,et=e.auto,en=void 0===et?rH.auto:et,er=e.snap,ei=void 0===er?rH.snap:er,eo=e.triggerOffset,ea=void 0===eo?rH.triggerOffset:eo,es=e.containerOffset,eu=void 0===es?rH.containerOffset:es,el=e.arrowOffset,ec=void 0===el?rH.arrowOffset:el,ed=e.container,ef=void 0===ed?rH.container:ed,eh=e.layerDimensions,ep=void 0===eh?null:eh,ev=e.onDisappear,eg=e.onOutsideClick,em=e.onParentClose,ey=e.trigger,eb=(0,B.useState)(function(){return{layerSide:"center"===K?"center":rV.getSidesFromPlacementType(K)[0].prop,styles:{layer:{position:H?"fixed":"absolute",top:0,left:0},arrow:{position:"absolute",top:0,left:0}}}}),e_=eb[0],ew=eb[1],eE=(0,B.useRef)(null),ek=(t=(0,B.useRef)(e_),V?t.current=e_:t.current=null,t),eC=(0,B.useRef)({cancelled:!1});(0,B.useEffect)(function(){return function(){eC.current.cancelled=!0}},[]);var ex=(0,B.useCallback)(function(e,t,n){var r=e.arrow,i=e.layer,o=e.scrollContainers,a=e.trigger,s=o[0],u=rU.create($,i,a,s,r,o,H,null==ey?void 0:ey.getBounds),l=rV.create(u,{placement:K,possiblePlacements:J,auto:en,layerDimensions:ep,arrowOffset:ec,containerOffset:eu,triggerOffset:ea,preferX:X,preferY:ee,snap:ei,overflowContainer:H}).result(t,n),c=l.hasDisappeared,d={layerSide:l.layerSide,styles:l.styles};if(!ek.current||function(e,t){if(e.layerSide!==t.layerSide)return!0;for(var n=0,r=["position","top","left","right","bottom"];n0},removeAllEventSubscriptions:function(){for(var e,t=ry(m.current);!(e=t()).done;)(0,e.value)();m.current=[]},addEventSubscription:function(e){m.current.push(e)}}},[])).hasEventSubscriptions,_=y.addEventSubscription,w=y.removeAllEventSubscriptions,E=(0,B.useCallback)(function(){var e=v(),t=e.layer,n=e.trigger,r=e.scrollContainers,a=r[0];if(!t)throw Error(rC("layer"));if(!n&&!d)throw Error(rC("trigger"));var s={top:0,left:0};if(a){var u=a.scrollLeft;s={top:a.scrollTop,left:u}}else{var l=o.scrollX;s={top:o.scrollY,left:l}}var f={left:0,top:0};if(a){var h=o.getComputedStyle(a),p=h.borderLeftWidth,g=h.borderTopWidth;f={left:rw(p)||0,top:rw(g)||0}}i({layer:t,trigger:n,scrollContainers:r,arrow:c.current},s,f)},[v,i,o,c,d]),k=(0,B.useCallback)(function(){var e=v(),t=e.trigger,n=e.layer,r=e.scrollContainers;if(!n)throw Error(rC("layer"));if(!t&&!d)throw Error(rC("trigger"));if(l){for(var i=!1,a=new l(function(){if(!i){i=!0;return}E()}),s=0,u=[t,n,document.body];s0},e.prototype.connect_=function(){rG&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),rY?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){rG&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;rJ.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),rQ=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),r9="undefined"!=typeof WeakMap?new WeakMap:new rW,ie=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new r8(t,rX.getInstance(),this);r9.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){ie.prototype[e]=function(){var t;return(t=r9.get(this))[e].apply(t,arguments)}});var it=void 0!==rK.ResizeObserver?rK.ResizeObserver:ie,ir=n(53627),ii=n(83706);n(85893),n(38785);var io=n(2769);function ia(){var e=(0,D._)(["\n display: ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ","\n"]);return ia=function(){return e},e}function is(){var e=(0,D._)(["\n display: block;\n color: ",";\n background-color: var(--lns-color-background);\n ",";\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n font-weight: var(--lns-fontWeight-bold);\n width: ",";\n height: ",";\n font-size: ",";\n position: relative;\n z-index: 0;\n\n &:after {\n content: '';\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n z-index: -1;\n background-color: ",";\n }\n"]);return is=function(){return e},e}function iu(){var e=(0,D._)(["\n max-width: 100%;\n width: ",";\n height: ",";\n font-size: ",";\n"]);return iu=function(){return e},e}function il(){var e=(0,D._)(["\n display: block;\n color: ",";\n\n & > svg,\n & > img {\n display: block;\n ",";\n ",";\n }\n\n // TODO: remove data-testid once all icons are using ADS\n [data-testid='ads-refreshed-icon'] {\n display: block;\n ",";\n ",";\n\n svg {\n padding: 8%;\n height: 100%;\n width: 100%;\n }\n }\n"]);return il=function(){return e},e}function ic(){var e=(0,D._)(["\n 50% {\n transform: scale(1);\n }\n"]);return ic=function(){return e},e}function id(){var e=(0,D._)(["\n display: inline-block;\n vertical-align: middle;\n height: ","px;\n width: ","px;\n"]);return id=function(){return e},e}function ih(){var e=(0,D._)(["\n display: grid;\n grid-template-areas: 'stack';\n height: 100%;\n width: 100%;\n"]);return ih=function(){return e},e}function ip(){var e=(0,D._)(["\n grid-area: stack;\n place-self: center;\n transform: rotate(","deg)\n translateY(","px);\n\n &:after {\n content: '';\n height: ","px;\n width: ","px;\n border-radius: ","px;\n background-color: ",";\n display: block;\n transform: scale(0.65);\n animation: "," ","s\n ","s ease-in-out infinite;\n }\n"]);return ip=function(){return e},e}function iv(){var e=(0,D._)(["\n ",";\n"]);return iv=function(){return e},e}function ig(){var e=(0,D._)(["\n cursor: pointer;\n "]);return ig=function(){return e},e}function im(){var e=(0,D._)(["\n ",";\n pointer-events: none;\n background-color: ",";\n color: ",";\n border: none;\n "]);return im=function(){return e},e}function iy(){var e=(0,D._)(["\n appearance: none;\n padding: 0\n ",";\n font: inherit;\n text-decoration: none;\n transition:\n 0.6s background,\n 0.6s border-color;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n white-space: nowrap;\n ",";\n border-radius: ",";\n ",";\n height: ",";\n height: ",";\n min-width: ",";\n ",";\n ",";\n ",";\n ",";\n\n &:hover {\n transition:\n 0.3s background,\n 0.3s border-color;\n background: ",";\n background-position: 75% center;\n }\n\n &:active {\n transition:\n 0s background,\n 0s border-color;\n background: ",";\n background-position: right;\n }\n\n &:focus-visible {\n ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n }\n"]);return iy=function(){return e},e}function ib(){var e=(0,D._)(["\n ",";\n ",";\n ",";\n"]);return ib=function(){return e},e}function i_(){var e=(0,D._)(["\n max-width: 1.45em;\n max-height: 1.45em;\n height: ",";\n width: ",";\n ",";\n ",";\n"]);return i_=function(){return e},e}function iw(){var e=(0,D._)(["\n position: relative;\n display: flex;\n align-items: center;\n"]);return iw=function(){return e},e}function iE(){var e=(0,D._)(["\n ",";\n"]);return iE=function(){return e},e}function ik(){var e=(0,D._)(["\n display: ",";\n vertical-align: middle;\n ",";\n ",";\n ",";\n ",";\n ",";\n"]);return ik=function(){return e},e}function iC(){var e=(0,D._)(["\n width: 100%;\n height: 100%;\n display: grid;\n ",";\n"]);return iC=function(){return e},e}function ix(){var e=(0,D._)(["\n ",";\n ",";\n ",";\n ","\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n"]);return ix=function(){return e},e}function iS(){var e=(0,D._)(["\n -webkit-appearance: none;\n font-family: inherit;\n width: 100%;\n height: ",";\n border: none;\n color: inherit;\n background-color: ",";\n transition: 0.3s box-shadow;\n padding-top: 0;\n padding-bottom: 0;\n padding-left: ",";\n padding-right: ",";\n border-radius: ",";\n box-shadow: inset 0 0 0\n ",";\n\n ",";\n\n &:hover {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)\n var(--lns-color-blurple);\n }\n\n &:focus {\n outline: 1px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n\n &:disabled {\n color: ",";\n background-color: ",";\n }\n\n &:disabled:hover {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidth)\n var(--lns-color-formFieldBorder);\n }\n\n &::placeholder {\n color: ",";\n }\n"]);return iS=function(){return e},e}function iO(){var e=(0,D._)(["\n position: relative;\n width: 100%;\n"]);return iO=function(){return e},e}function iI(){var e=(0,D._)(["\n position: absolute;\n pointer-events: none;\n width: ",";\n // Width isn't equal to iconPadding because we want more space on the left than the right\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]);return iI=function(){return e},e}function iA(){var e=(0,D._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return iA=function(){return e},e}function iT(){var e=(0,D._)(["\n position: absolute;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n right: 0;\n width: ",";\n top: 50%;\n transform: translateY(-50%);\n"]);return iT=function(){return e},e}function iL(){var e=(0,D._)(["\n display: flex;\n flex-wrap: wrap;\n ",";\n ",";\n ",";\n\n & > * {\n flex-shrink: 0;\n }\n"]);return iL=function(){return e},e}function iR(){var e=(0,D._)(["\n display: grid;\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n ",";\n ",";\n ",";\n"]);return iR=function(){return e},e}function iP(){var e=(0,D._)(["\n position: relative;\n ::before {\n content: '';\n width: calc(100% + var(--lns-space-medium));\n height: calc(100% + var(--lns-space-medium));\n position: absolute;\n top: calc(-1 * var(--lns-space-small));\n left: calc(-1 * var(--lns-space-small));\n outline: 1px solid var(--lns-color-danger);\n border-radius: var(--lns-radius-large);\n pointer-events: none;\n }\n"]);return iP=function(){return e},e}function ij(){var e=(0,D._)(["\n display: flex;\n ",";\n\n & > * + * {\n ",";\n }\n"]);return ij=function(){return e},e}function iD(){var e=(0,D._)(["\n min-width: 0px;\n flex-shrink: 0;\n ",";\n ",";\n ",";\n"]);return iD=function(){return e},e}function iM(){var e=(0,D._)(["\n background-color: ",";\n border: none;\n appearance: none;\n cursor: pointer;\n padding: 0;\n width: ",";\n height: ",";\n position: relative;\n outline: 1px solid transparent;\n transition: 0.6s background-color;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n vertical-align: middle;\n border-radius: ",";\n font: inherit;\n\n &:hover {\n transition: 0.3s background-color;\n background-color: ",";\n }\n\n &:active {\n transition: 0s background-color;\n background-color: ",";\n }\n\n &:disabled {\n color: ",";\n pointer-events: none;\n }\n\n &:before {\n content: '';\n width: 100%;\n height: 100%;\n display: block;\n position: absolute;\n top: 0;\n border-radius: ",";\n }\n\n &:focus-visible:before,\n &:focus:before {\n ",";\n }\n\n &:focus::-moz-focus-inner {\n border: 0;\n }\n"]);return iM=function(){return e},e}function iF(){var e=(0,D._)(["\n display: block;\n position: relative;\n"]);return iF=function(){return e},e}function iB(){var e=(0,D._)(["\n height: 100%;\n margin: 0;\n opacity: 0;\n position: absolute;\n width: 100%;\n\n &:not(:disabled) {\n cursor: pointer;\n\n & ~ .CheckboxBox {\n border: 2px solid ",";\n }\n\n &:checked ~ .CheckboxBox,\n &:indeterminate ~ .CheckboxBox {\n background-color: ",";\n }\n }\n\n &:disabled,\n &:disabled ~ .CheckboxBox {\n pointer-events: none;\n }\n\n &:disabled ~ .CheckboxBox {\n background-color: ",";\n\n .Icon {\n color: ",";\n }\n }\n\n &:focus-visible ~ .CheckboxBox {\n ",";\n }\n\n & ~ .CheckboxBox .Icon {\n display: none;\n color: ",";\n }\n\n &:checked ~ .CheckboxBox .IconCheck {\n display: block;\n }\n\n &:indeterminate ~ .CheckboxBox .IconMinus {\n display: block;\n }\n"]);return iB=function(){return e},e}function iN(){var e=(0,D._)(["\n cursor: pointer;\n width: ",";\n height: ",";\n border-radius: ",";\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n"]);return iN=function(){return e},e}function iz(){var e=(0,D._)(["\n background-color: ",";\n display: inline-flex;\n vertical-align: middle;\n align-items: center;\n font: inherit;\n text-decoration: none;\n border: none;\n appearance: none;\n height: ",";\n cursor: pointer;\n transition: 0.6s background-color;\n color: ",";\n ",";\n border-radius: ",";\n ",";\n padding: 0 ",";\n ",";\n\n &:focus,\n &:focus-visible {\n outline: 1px solid transparent;\n }\n\n &:focus-visible {\n ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n }\n\n &:hover {\n transition: 0.3s background-color;\n background-color: ",";\n }\n\n &:active {\n transition: 0s background-color;\n background-color: ",";\n }\n\n &:disabled {\n color: ",";\n pointer-events: none;\n }\n"]);return iz=function(){return e},e}function iV(){var e=(0,D._)(["\n background-color: ",";\n display: flex;\n flex-direction: column;\n margin: 0;\n ",";\n ",";\n ",";\n z-index: ",";\n border: 1px solid ",";\n ",";\n ",";\n"]);return iV=function(){return e},e}function iU(){var e=(0,D._)(["\n padding: ",";\n list-style: none;\n overflow: auto;\n margin: 0;\n"]);return iU=function(){return e},e}function iH(){var e=(0,D._)(["\n display: ",";\n grid-auto-flow: column;\n grid-template-columns: ",";\n ",";\n ",";\n align-items: center;\n min-height: ",";\n padding: 0 ",";\n cursor: ",";\n &:focus-visible {\n outline: 1px solid transparent;\n }\n &:focus-visible {\n ",";\n }\n ",";\n ",";\n"]);return iH=function(){return e},e}function iZ(){var e=(0,D._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return iZ=function(){return e},e}function i$(){var e=(0,D._)(["\n padding: "," "," 0;\n margin-bottom: ",";\n position: sticky;\n top: 0;\n"]);return i$=function(){return e},e}function iW(){var e=(0,D._)(["\n position: relative;\n"]);return iW=function(){return e},e}function iG(){var e=(0,D._)(["\n appearance: none;\n font: inherit;\n text-align: left;\n display: grid;\n grid-auto-flow: column;\n grid-template-columns: ",";\n ",";\n align-items: center;\n cursor: pointer;\n width: 100%;\n min-height: ",";\n padding: 0 "," 0 var(--lns-formFieldHorizontalPadding);\n color: ",";\n border: none;\n background-color: ",";\n transition: 0.3s box-shadow;\n border-radius: var(--lns-formFieldRadius);\n box-shadow: inset 0 0 0\n ",";\n\n &:hover:not(:disabled) {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)\n ",";\n }\n\n &:focus {\n outline: 1px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n\n &:focus:hover {\n outline: 1px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n\n &:disabled {\n color: ",";\n background-color: ",";\n cursor: default;\n }\n"]);return iG=function(){return e},e}function iK(){var e=(0,D._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return iK=function(){return e},e}function iq(){var e=(0,D._)(["\n list-style: none;\n margin: 0;\n padding: 0;\n"]);return iq=function(){return e},e}function iJ(){var e=(0,D._)(["\n color: var(--lns-color-red);\n margin-top: var(--lns-space-xsmall);\n display: block;\n width: 100%;\n grid-column-start: 1;\n grid-column-end: 3;\n"]);return iJ=function(){return e},e}function iY(){var e=(0,D._)(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: 100vh;\n background: ",";\n z-index: ",";\n overflow: hidden;\n"]);return iY=function(){return e},e}function iX(){var e=(0,D._)(["\n overflow: auto;\n height: 100%;\n"]);return iX=function(){return e},e}function iQ(){var e=(0,D._)(["\n display: grid;\n grid-template-rows: ",";\n position: relative;\n"]);return iQ=function(){return e},e}function i0(){var e=(0,D._)(["\n top: ",";\n background-color: ",";\n color: ",";\n bottom: ",";\n ",";\n ",";\n // Unsets bottom-radius for bottom-aligned modals\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n ",";\n ",";\n margin: 0 auto;\n position: ",";\n overflow: auto;\n width: 100%;\n // TODO: LNS-150: Bake dialog resets into native resets file\n border: 0;\n padding: 0;\n &::backdrop {\n background: var(--lns-color-overlay);\n }\n"]);return i0=function(){return e},e}function i1(){var e=(0,D._)(["\n position: absolute;\n top: ",";\n right: ",";\n z-index: 1;\n"]);return i1=function(){return e},e}function i2(){var e=(0,D._)(["\n margin-left: auto;\n\n * {\n vertical-align: middle;\n }\n"]);return i2=function(){return e},e}function i5(){var e=(0,D._)(["\n padding-left: var(--lns-space-xlarge);\n padding-right: var(--lns-space-xlarge);\n padding-top: var(--lns-space-xlarge);\n padding-bottom: ",";\n flex-shrink: 0;\n"]);return i5=function(){return e},e}function i3(){var e=(0,D._)(["\n padding-left: var(--lns-space-xlarge);\n padding-right: var(--lns-space-xlarge);\n padding-bottom: var(--lns-space-xlarge);\n padding-top: ",";\n flex-shrink: 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n"]);return i3=function(){return e},e}function i4(){var e=(0,D._)(["\n display: flex;\n flex-direction: column;\n overflow: auto;\n padding-top: ",";\n padding-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n border-style: solid;\n border-color: ",";\n border-width: ",";\n"]);return i4=function(){return e},e}function i6(){var e=(0,D._)(["\n overflow: auto;\n\n ",";\n\n & > * {\n ",";\n }\n"]);return i6=function(){return e},e}function i7(){var e=(0,D._)(["\n cursor: pointer;\n "]);return i7=function(){return e},e}function i8(){var e=(0,D._)(["\n pointer-events: none;\n color: ",";\n "]);return i8=function(){return e},e}function i9(){var e=(0,D._)(["\n background: none;\n border: none;\n font: inherit;\n "]);return i9=function(){return e},e}function oe(){var e=(0,D._)(["\n ",";\n ",";\n ",";\n ",";\n border-radius: 0.28em;\n box-shadow: 0 0 0 1px transparent;\n text-underline-offset: 0.35em;\n transition: 0.3s box-shadow;\n &:hover {\n ",";\n }\n &:focus,\n &:focus-visible {\n outline: 1px solid transparent;\n }\n &:focus-visible {\n ",";\n }\n &::-moz-focus-inner {\n border: 0;\n }\n"]);return oe=function(){return e},e}function ot(){var e=(0,D._)(["\n width: 100%;\n border: none;\n font-family: inherit;\n color: inherit;\n background-color: ",";\n transition: 0.3s box-shadow;\n padding: ",";\n ",";\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidth)\n ",";\n ",";\n resize: ",";\n\n &:hover {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)\n ",";\n }\n\n &:focus {\n outline: 1px solid\n ",";\n box-shadow: ",";\n }\n\n &:disabled {\n color: ",";\n background-color: ",";\n }\n\n &:disabled:hover {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidth)\n var(--lns-color-formFieldBorder);\n }\n\n &::placeholder {\n color: ",";\n }\n"]);return ot=function(){return e},e}function on(){var e=(0,D._)(["\n position: relative;\n"]);return on=function(){return e},e}function or(){var e=(0,D._)(["\n list-style: none;\n margin: 0;\n padding: 0;\n"]);return or=function(){return e},e}function oi(){var e=(0,D._)(["\n color: var(--lns-color-red);\n margin-top: var(--lns-space-xsmall);\n display: block;\n width: 100%;\n grid-column-start: 1;\n grid-column-end: 3;\n"]);return oi=function(){return e},e}function oo(){var e=(0,D._)(["\n position: relative;\n width: 100%;\n background: none;\n border: none;\n padding: 0;\n margin: 0;\n font: inherit;\n color: inherit;\n cursor: pointer;\n\n &:disabled {\n cursor: default;\n }\n"]);return oo=function(){return e},e}function oa(){var e=(0,D._)(["\n -webkit-appearance: none;\n font-family: inherit;\n width: 100%;\n height: var(--lns-formFieldHeight);\n border: none;\n color: inherit;\n background-color: ",";\n transition: 0.3s box-shadow;\n padding-top: 0;\n padding-bottom: 0;\n padding-left: ",";\n padding-right: ",";\n border-radius: var(--lns-formFieldRadius);\n box-shadow: inset 0 0 0\n ",";\n\n ",";\n\n &:hover:not(:disabled):not(:focus) {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)\n ",";\n }\n\n &:focus {\n outline: 1px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n\n &:disabled {\n color: ",";\n background-color: ",";\n }\n\n &:disabled:hover {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidth)\n var(--lns-color-formFieldBorder);\n }\n\n &::placeholder {\n color: ",";\n }\n"]);return oa=function(){return e},e}function os(){var e=(0,D._)(["\n position: absolute;\n pointer-events: none;\n width: ",";\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n left: 0;\n"]);return os=function(){return e},e}function ou(){var e=(0,D._)(["\n position: absolute;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n right: 0;\n width: ",";\n top: 50%;\n transform: translateY(-50%);\n"]);return ou=function(){return e},e}function ol(){var e=(0,D._)(["\n position: absolute;\n top: 0;\n left: ",";\n right: ",";\n bottom: 0;\n display: flex;\n align-items: center;\n pointer-events: none;\n color: inherit;\n"]);return ol=function(){return e},e}function oc(){var e=(0,D._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return oc=function(){return e},e}function od(){var e=(0,D._)(["\n display: inline-block;\n vertical-align: middle;\n"]);return od=function(){return e},e}function of(){var e=(0,D._)(["\n display: block;\n position: relative;\n\n .RadioBox:after {\n background-color: transparent;\n }\n"]);return of=function(){return e},e}function oh(){var e=(0,D._)(["\n position: absolute;\n opacity: 0;\n\n &:not(:disabled) {\n cursor: pointer;\n\n & ~ .RadioBox {\n border: 2px solid ",";\n }\n\n &:checked ~ .RadioBox {\n border: 2px solid ",";\n }\n }\n\n &:disabled,\n &:disabled ~ .RadioBox {\n pointer-events: none;\n }\n\n &:disabled ~ .RadioBox {\n background-color: ",";\n }\n\n &:checked {\n & ~ .RadioBox:after {\n background-color: ",";\n }\n\n &:disabled ~ .RadioBox:after {\n background-color: ",";\n }\n }\n\n &:focus-visible ~ .RadioBox {\n ",";\n }\n"]);return oh=function(){return e},e}function op(){var e=(0,D._)(["\n cursor: pointer;\n width: ",";\n height: ",";\n ",";\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n\n &:after {\n content: '';\n width: ",";\n height: ",";\n ",";\n background-color: ",";\n }\n"]);return op=function(){return e},e}function ov(){var e=(0,D._)(["\n display: block;\n position: relative;\n"]);return ov=function(){return e},e}function og(){var e=(0,D._)(["\n position: absolute;\n opacity: 0;\n cursor: pointer;\n\n // to overlap SwitchBox and occupy the same space\n z-index: 1;\n margin: 0;\n width: ","px;\n height: ","px;\n\n &:focus-visible ~ .SwitchBox {\n ",";\n }\n &:not(:checked) {\n & + .SwitchBox {\n background-color: ",";\n }\n &:disabled + .SwitchBox {\n background-color: ",";\n }\n }\n &:checked {\n & + .SwitchBox {\n background-color: ",";\n }\n &:disabled + .SwitchBox {\n background-color: ",";\n }\n & + .SwitchBox:after {\n transform: translateX(","px);\n }\n }\n &:disabled {\n pointer-events: none;\n }\n"]);return og=function(){return e},e}function om(){var e=(0,D._)(["\n width: ","px;\n height: ","px;\n position: relative;\n border-radius: var(--lns-radius-full);\n transition: 0.2s;\n cursor: ",";\n &:after {\n content: '';\n position: absolute;\n top: ","px;\n left: ","px;\n width: ","px;\n height: ","px;\n border-radius: var(--lns-radius-full);\n transition: 0.15s;\n background-color: ",";\n }\n"]);return om=function(){return e},e}function oy(){var e=(0,D._)(["\n ",";\n"]);return oy=function(){return e},e}function ob(){var e=(0,D._)(["\n display: block;\n ",";\n ",";\n"]);return ob=function(){return e},e}function o_(){var e=(0,D._)(["\n color: var(--lns-color-red);\n margin-top: var(--lns-space-xsmall);\n display: block;\n width: 100%;\n grid-column-start: 1;\n grid-column-end: 3;\n"]);return o_=function(){return e},e}function ow(){var e=(0,D._)(["\n --paddingXOffset: var(--lns-space-large);\n --alignItems: start;\n\n display: grid;\n align-items: var(--alignItems);\n justify-content: space-between;\n grid-template-columns: 1fr auto;\n ",";\n ",";\n\n ",";\n position: fixed;\n padding: var(--lns-space-medium) var(--paddingXOffset);\n top: 0;\n left: 0;\n transition:\n ","ms box-shadow,\n ","ms transform;\n width: 100%;\n box-sizing: border-box;\n z-index: 1100;\n opacity: ",";\n transform: ",";\n @media (min-width: 872px) {\n --alignItems: center;\n }\n"]);return ow=function(){return e},e}function oE(){var e=(0,D._)(["\n 0% {\n opacity: 0;\n transform: translate(-50%, ",");\n }\n // (300 / toastDuration) * 100 evaluates to 10% for short. Longer durations will have the same speed of animation\n ","% {\n opacity: 1;\n transform: translate(-50%, 0);\n }\n // 100 - (300 / toastDuration) * 100 evaluates to 90% for short. Longer durations will have the same speed of animation\n ","% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n"]);return oE=function(){return e},e}function ok(){var e=(0,D._)(["\n animation: ","\n ","ms forwards;\n background-color: ",";\n ",";\n top: ",";\n bottom: ",";\n ",";\n color: ",";\n display: grid;\n grid-auto-flow: column;\n gap: var(--lns-space-small);\n justify-content: space-between;\n left: 50%;\n max-width: ","; // Fallback when min() function is not supported\n max-width: min(90%, ",");\n padding: "," var(--lns-space-medium) "," var(--lns-space-large);\n position: fixed;\n transform: translateX(-50%);\n width: max-content;\n z-index: ",";\n"]);return ok=function(){return e},e}function oC(){var e=(0,D._)(["\n align-self: center;\n"]);return oC=function(){return e},e}function ox(){var e=(0,D._)(["\n background-color: ",";\n color: ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n z-index: 1100;\n padding: "," ",";\n z-index: ",";\n"]);return ox=function(){return e},e}function oS(){var e=(0,D._)(["\n background-color: ",";\n border-radius: 3px;\n color: ",";\n ",";\n ",";\n padding-left: ",";\n padding-right: ",";\n"]);return oS=function(){return e},e}function oO(){var e=(0,D._)(["\n display: ",";\n ",";\n &:focus-visible {\n // Note: 0px solid transparent prevents focus rings from disappearing for -ms-high-contrast.\n // TODO(LNS-183): Provide more robust polyfill/support for :focus for older versions of Safari, which don't support :focus-visible\n outline: 0px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n"]);return oO=function(){return e},e}function oI(){var e=(0,D._)(["\n @media (prefers-reduced-motion: no-preference) {\n animation: shimmer 2s infinite linear;\n background: linear-gradient(\n to right,\n var(--lns-color-disabledBackground) 4%,\n var(--lns-color-backgroundHover) 25%,\n var(--lns-color-disabledBackground) 36%\n );\n background-size: 1000px 100%;\n @keyframes shimmer {\n 0% {\n background-position: -1000px 0;\n }\n 100% {\n background-position: 1000px 0;\n }\n }\n }\n"]);return oI=function(){return e},e}function oA(){var e=(0,D._)(["\n ",";\n color: transparent;\n position: relative;\n &::after {\n content: '';\n position: absolute;\n background-color: var(--lns-color-disabledBackground);\n border-radius: var(--lns-radius-full);\n width: 100%;\n display: block;\n height: 71.45%;\n top: 0.2em;\n ","\n }\n\n ",";\n"]);return oA=function(){return e},e}function oT(){var e=(0,D._)(["\n background-color: var(--lns-color-disabledBackground);\n ",";\n height: ",";\n width: ",";\n ","\n"]);return oT=function(){return e},e}function oL(){var e=(0,D._)(["\n display: block;\n ",";\n\n & > svg.lns-logoSvg {\n display: block;\n width: 100%;\n height: 100%;\n ",";\n }\n"]);return oL=function(){return e},e}function oR(){var e=(0,D._)(["\n animation: ",";\n background-image: url(","/","-loader.svg);\n background-size: cover;\n background-position: left center;\n display: block;\n height: ",";\n width: ",";\n\n @keyframes spin {\n 100% {\n background-position: right center;\n }\n }\n"]);return oR=function(){return e},e}function oP(){var e=(0,D._)(["\n .ListRowWrapper:last-child {\n border-bottom: 1px solid ",";\n }\n\n .ListRowWrapper,\n .ListRowWrapper:first-child "," {\n border-top: 1px solid ",";\n }\n "]);return oP=function(){return e},e}function oj(){var e=(0,D._)(["\n .ListRowWrapper {\n &:nth-child(odd) "," {\n background-color: ",";\n }\n }\n\n .ListRowWrapper {\n ",";\n }\n "]);return oj=function(){return e},e}function oD(){var e=(0,D._)([""]);return oD=function(){return e},e}function oM(){var e=(0,D._)(["\n .ListRowWrapper {\n grid-template-columns: ",";\n ",";\n }\n\n ",";\n"]);return oM=function(){return e},e}function oF(){var e=(0,D._)(["\n display: grid;\n align-items: center;\n text-decoration: none;\n color: inherit;\n\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n ",";\n\n ",";\n\n ",";\n\n &.ListRowWrapper:nth-child(even),\n &.ListRowWrapper:nth-child(odd) "," {\n ",";\n\n &:hover {\n ",";\n }\n }\n"]);return oF=function(){return e},e}function oB(){var e=(0,D._)(["\n ",";\n"]);return oB=function(){return e},e}function oN(){var e=(0,D._)(["\n --activeIndicatorHeight: 3px;\n\n display: flex;\n overflow: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n\n ","\n\n ",";\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n > * {\n ",";\n &:not(:first-of-type) {\n margin-left: 1rem;\n }\n }\n\n ::after {\n content: '';\n flex-shrink: 0;\n ",";\n }\n"]);return oN=function(){return e},e}function oz(){var e=(0,D._)(["\n ",";\n background-color: var(--lns-color-backgroundSecondary);\n\n padding: var(--lns-space-xsmall);\n\n display: flex;\n overflow: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n ",";\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n * {\n flex: 1 0;\n }\n\n ::after {\n content: '';\n flex-shrink: 0;\n ",";\n }\n"]);return oz=function(){return e},e}function oV(){var e=(0,D._)(["\n appearance: none;\n font: inherit;\n background: transparent;\n border: 0;\n ",";\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n padding: 0 0 calc(var(--lns-space-small) + var(--activeIndicatorHeight)) 0;\n position: relative;\n color: inherit;\n text-decoration: none;\n flex-shrink: 0;\n ",";\n transition: 0.6s color;\n white-space: nowrap;\n color: ",";\n ",";\n\n &:focus,\n &:focus-visible {\n outline: 1px solid transparent;\n }\n\n &:focus-visible {\n ",";\n }\n\n &:hover:not(:disabled) {\n color: ",";\n transition: 0.3s color;\n }\n\n &::after {\n bottom: 0;\n ",";\n content: '';\n height: var(--activeIndicatorHeight);\n position: absolute;\n width: 100%;\n ",";\n }\n"]);return oV=function(){return e},e}function oU(){var e=(0,D._)(["\n padding: "," 0;\n\n appearance: none;\n font: inherit;\n background: transparent;\n border: none;\n ",";\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n position: relative;\n color: inherit;\n text-decoration: none;\n flex-shrink: 0;\n ",";\n\n transition: 0.6s color;\n white-space: nowrap;\n color: ",";\n ",";\n\n &:focus,\n &:focus-visible {\n outline: 1px solid transparent;\n }\n\n &:focus-visible {\n ",";\n }\n\n &:hover:not(:disabled) {\n color: ",";\n transition: 0.3s color;\n }\n"]);return oU=function(){return e},e}function oH(){var e=(0,D._)(["\n display: inline-grid;\n grid-auto-flow: column;\n align-items: center;\n vertical-align: middle;\n padding: 0 ",";\n min-height: ",";\n color: ",";\n background-color: ",";\n ",";\n ",";\n ",";\n ",";\n"]);return oH=function(){return e},e}function oZ(){var e=(0,D._)(["\n position: relative;\n width: fit-content;\n // transform forces the popover to calculate the position from the trigger instead of the viewport\n transform: translate(0);\n z-index: ",";\n"]);return oZ=function(){return e},e}function o$(){var e=(0,D._)(["\n ",";\n"]);return o$=function(){return e},e}function oW(){var e=(0,D._)(["\n display: block;\n color: ",";\n ",";\n ",";\n\n svg {\n display: block;\n width: 100%;\n height: 100%;\n }\n"]);return oW=function(){return e},e}function oG(){var e=(0,D._)(["\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n"]);return oG=function(){return e},e}function oK(){var e=(0,D._)(["\n display: flex;\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n"]);return oK=function(){return e},e}function oq(){var e=(0,D._)(["\n ",";\n ",";\n ",";\n ",";\n"]);return oq=function(){return e},e}function oJ(){var e=(0,D._)(["\n padding: var(--lns-space-medium);\n & .react-colorful {\n width: auto;\n height: auto;\n }\n & .react-colorful__saturation {\n height: ",";\n border-bottom: none;\n box-shadow: inset 0 0 0 1px var(--lns-color-border);\n ",";\n margin-bottom: var(--lns-space-small);\n }\n\n & .react-colorful__hue {\n height: ",";\n width: 100%;\n box-shadow: inset 0 0 0 1px var(--lns-color-border);\n ",";\n margin-bottom: var(--lns-space-medium);\n }\n\n & .react-colorful__saturation-pointer {\n width: ",";\n height: ",";\n cursor: pointer;\n border: 2px solid white;\n box-shadow: 0 0 0 3px var(--lns-color-border);\n border-radius: var(--lns-radius-medium);\n }\n & .react-colorful__hue-pointer {\n width: ",";\n height: ",";\n border-radius: 2px;\n box-shadow: 0 0 0 2px var(--lns-color-border);\n cursor: pointer;\n border: 2px solid white;\n }\n"]);return oJ=function(){return e},e}function oY(){var e=(0,D._)(["\n position: relative;\n width: ",";\n background-color: var(--lns-color-overlay);\n ",";\n box-shadow:\n 0 0 0 1px var(--lns-color-border),\n var(--lns-shadow-medium);\n"]);return oY=function(){return e},e}function oX(){var e=(0,D._)(["\n position: relative;\n width: 100%;\n\n input {\n padding: 0 0 0 ",";\n height: ",";\n width: 100%;\n font: inherit;\n font-size: var(--lns-fontSize-small);\n border: none;\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidth)\n var(--lns-color-formFieldBorder);\n ",";\n transition: 0.3s box-shadow;\n background-color: var(--lns-color-overlay);\n color: var(--lns-color-body);\n\n &:hover {\n box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)\n var(--lns-color-blurple);\n }\n\n &:focus {\n outline: 1px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n }\n"]);return oX=function(){return e},e}function oQ(){var e=(0,D._)(["\n position: absolute;\n width: ",";\n height: ",";\n left: var(--lns-space-xsmall);\n top: var(--lns-space-xsmall);\n border: 1px solid rgba(0, 0, 0, 0.1);\n ",";\n background-color: ",";\n"]);return oQ=function(){return e},e}function o0(){var e=(0,D._)(["\n position: relative;\n border-radius: var(--lns-radius-medium);\n padding: 0 var(--lns-space-medium) var(--lns-space-medium)\n var(--lns-space-medium);\n"]);return o0=function(){return e},e}function o1(){var e=(0,D._)(["\n display: grid;\n grid-template-columns: repeat(7, ",");\n gap: "," ",";\n border-bottom: 1px solid var(--lns-color-border);\n padding: var(--lns-space-medium);\n"]);return o1=function(){return e},e}function o2(){var e=(0,D._)(["\n cursor: pointer;\n width: ",";\n height: ",";\n ",";\n background-color: ",";\n border: ",";\n box-shadow: ",";\n"]);return o2=function(){return e},e}function o5(){var e=(0,D._)(["\n 0%, 40%, 100% {\n transform: translateY(50%);\n }\n 20% {\n transform: translateY(calc(50% - ","));\n }\n"]);return o5=function(){return e},e}function o3(){var e=(0,D._)(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: ",";\n width: ",";\n gap: ",";\n"]);return o3=function(){return e},e}function o4(){var e=(0,D._)(["\n width: ",";\n height: ",";\n border-radius: 50%;\n background-color: ",";\n transform: translateY(50%);\n animation: "," ","s\n ease-in-out infinite;\n animation-fill-mode: both;\n animation-delay: ","s;\n"]);return o4=function(){return e},e}function o6(){var e=(0,D._)(["\n 0%, 100% {\n transform: scaleY(0.3);\n }\n 50% {\n transform: scaleY(1);\n }\n"]);return o6=function(){return e},e}function o7(){var e=(0,D._)(["\n 0% {\n background-position: 0% center;\n }\n 100% {\n background-position: 100% center;\n }\n"]);return o7=function(){return e},e}function o8(){var e=(0,D._)(["\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"]);return o8=function(){return e},e}function o9(){var e=(0,D._)(["\n display: inline-flex;\n align-items: center;\n justify-content: space-evenly;\n height: ",";\n width: ",";\n position: relative;\n"]);return o9=function(){return e},e}function ae(){var e=(0,D._)(["\n width: ",";\n height: ",";\n background: ",";\n background-size: ","\n ",";\n background-position: ",";\n opacity: 0; /* Ensure it starts invisible */\n transform: scaleY(0.3);\n transform-origin: center;\n animation:\n "," 50ms ease-out forwards,\n "," ","s ease-in-out infinite,\n "," ","s linear infinite;\n\n animation-delay: ","s;\n position: relative;\n"]);return ae=function(){return e},e}var at=Object.defineProperty,an=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,ai=Object.getOwnPropertySymbols,ao=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable,as=function(e,t,n){return t in e?at(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},au=function(e,t){for(var n in t||(t={}))ao.call(t,n)&&as(e,n,t[n]);var r=!0,i=!1,o=void 0;if(ai)try{for(var a,s=ai(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var n=a.value;aa.call(t,n)&&as(e,n,t[n])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return e},al=function(e,t){return an(e,ar(t))},ac=function(e,t){var n={};for(var r in e)ao.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);var i=!0,o=!1,a=void 0;if(null!=e&&ai)try{for(var s,u=ai(e)[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var r=s.value;0>t.indexOf(r)&&aa.call(e,r)&&(n[r]=e[r])}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return n},ad=function(e,t){return al(au({},e),{l:e.l-Math.round(e.l*t/100)})},af=function(e,t){return al(au({},e),{a:t})},ah={red:{h:4,s:64,l:48,a:1},blurpleLight:{h:240,s:83.3,l:95.3,a:1},blurpleMedium:{h:242,s:81,l:87.6,a:1},blurple:{h:242,s:88.4,l:66.3,a:1},blurpleDark:{h:242,s:87.6,l:62,a:1},blurpleStrong:{h:242,s:55,l:36,a:1},offWhite:{h:0,s:0,l:97.25,a:1},blueLight:{h:216.5,s:92,l:90.2,a:1},blue:{h:215.4,s:80,l:47.65,a:1},blueDark:{h:216.3,s:69.2,l:23,a:1},magenta:{h:323,s:42,l:48,a:1},orangeLight:{h:4,s:100,l:91.2,a:1},orange:{h:11,s:100,l:62.2,a:1},orangeDark:{h:10.9,s:100,l:42.2,a:1},tealLight:{h:155,s:70,l:84,a:1},teal:{h:155,s:62,l:32,a:1},tealDark:{h:155,s:55,l:19,a:1},yellowLight:{h:43,s:93,l:82,a:1},yellow:{h:45.5,s:96,l:57,a:1},yellowDark:{h:39.8,s:100,l:49.4,a:1}},ap={grey8:{h:228,s:6,l:17,a:1},grey7:{h:223,s:6,l:24.5,a:1},grey6:{h:224,s:5,l:44,a:1},grey5:{h:224,s:5,l:57,a:1},grey4:{h:223,s:5,l:73,a:1},grey3:{h:225,s:6,l:87.5,a:1},grey2:{h:210,s:7,l:94.5,a:1},grey1:{h:0,s:0,l:97.25,a:1},white:{h:0,s:0,l:100,a:1}},av={record:ah.orange,recordHover:ad(ah.orange,15.8),recordActive:ad(ah.orange,31.6),focusRing:af(ah.blurple,.8),backdropDark:af(ap.grey8,.9),backdropTwilight:af(ah.blurpleStrong,.8),highlight:af(ah.blurple,.15),warning:{h:45.5,s:96,l:57,a:1,ads:"--ds-background-warning-bold"}},ag={light:al(au({primary:ah.blurple,primaryHover:ah.blurpleDark,primaryActive:ah.blurpleStrong,body:{h:228,s:6,l:17,a:1,ads:"--ds-text"},bodyDimmed:{h:224,s:5,l:44,a:1,ads:"--ds-text-subtlest"},bodyInverse:{h:0,s:0,l:100,a:1,ads:"--ds-text-inverse"},background:{h:0,s:0,l:100,a:1,ads:"--ds-surface"},backgroundHover:{h:209,s:75.6,l:8,a:.08,ads:"--ds-background-neutral-subtle-hovered"},backgroundActive:{h:225.5,s:56.9,l:10,a:.14,ads:"--ds-background-neutral-subtle-pressed"},backgroundSecondary:{h:0,s:0,l:97.25,a:1,ads:"--ds-surface-sunken"},backgroundSecondary2:{h:0,s:0,l:97.25,a:1,ads:"--ds-surface-sunken"},backgroundNeutral:{h:209,s:76,l:8,a:.08,ads:"--ds-background-neutral"},backgroundNeutralHover:{h:226,s:57,l:1,a:.14,ads:"--ds-background-neutral-hovered"},backgroundNeutralActive:{h:223,s:61,l:8,a:.28,ads:"--ds-background-neutral-pressed"},backgroundInverse:{h:228,s:6,l:17,a:1,ads:"--ds-background-neutral-bold"},overlay:{h:0,s:0,l:100,a:1,ads:"--ds-surface-overlay"},overlayHover:ap.grey2,overlayActive:ap.grey3,backdrop:{h:224,s:72,l:7,a:.46,ads:"--ds-blanket"},border:{h:225.5,s:57,l:10,a:.14,ads:"--ds-border"}},av),{info:{h:215,s:80.25,l:47.65,a:1,ads:"--ds-background-information-bold"},success:{h:155,s:62,l:32,a:1,ads:"--ds-background-accent-green-bolder"},danger:{h:4,s:64,l:48,a:1,ads:"--ds-background-danger-bold"},dangerHover:{h:4.3,s:65.7,l:41.2,a:1,ads:"--ds-background-danger-bold-hovered"},dangerActive:{h:4.5,s:56.3,l:23.3,a:1,ads:"--ds-background-danger-bold-pressed"},disabledContent:{h:223,s:5,l:73,a:1,ads:"--ds-text-disabled"},disabledBackground:{h:0,s:0,l:9,a:.03,ads:"--ds-background-disabled"},formFieldBorder:{h:223.6,s:5,l:57,a:1,ads:"--ds-border-input"},formFieldBackground:{h:0,s:0,l:100,a:1,ads:"--ds-background-input"},buttonBorder:{h:252,s:13,l:46,a:.25,ads:"--ds-border"},tabBackground:{h:209,s:75.6,l:8,a:.06,ads:"--ds-background-neutral"},upgrade:{h:277.5,s:89,l:96.5,a:1,ads:"--ds-background-discovery"},upgradeHover:{h:277,s:86,l:91.6,a:1,ads:"--ds-background-discovery-hovered"},upgradeActive:{h:278.6,s:84.5,l:79.8,a:1,ads:"--ds-background-discovery-pressed"},discoveryBackground:{h:278.6,s:48.4,l:52.2,a:1,ads:"--ds-background-discovery-bold"},discoveryLightBackground:{h:277.5,s:89,l:96.5,a:1,ads:"--ds-background-discovery"},discoveryTitle:{h:228,s:6,l:17,a:1,ads:"--ds-text"},discoveryHighlight:{h:277.5,s:89,l:96.5,a:1,ads:"--ds-background-discovery"}}),dark:al(au({primary:{h:242,s:87,l:73,a:1},primaryHover:ah.blurpleDark,primaryActive:ah.blurpleStrong,body:{h:225,s:4.3,l:81.6,a:1,ads:"--ds-text"},bodyDimmed:{h:217.5,s:4,l:60.4,a:1,ads:"--ds-text-subtlest"},bodyInverse:{h:240,s:3,l:12.5,a:1,ads:"--ds-text-inverse"},background:{h:240,s:3,l:12.5,a:1,ads:"--ds-surface"},backgroundHover:{h:240,s:12.6,l:83,a:.07,ads:"--ds-background-neutral-subtle-hovered"},backgroundActive:{h:236,s:36.6,l:92,a:.12,ads:"--ds-background-neutral-subtle-pressed"},backgroundSecondary:{h:210,s:4,l:9.8,a:1,ads:"--ds-surface-sunken"},backgroundSecondary2:{h:210,s:4,l:9.8,a:1,ads:"--ds-surface-sunken"},backgroundNeutral:{h:240,s:12.6,l:83,a:.07,ads:"--ds-background-neutral"},backgroundNeutralHover:{h:236,s:36.6,l:92,a:.12,ads:"--ds-background-neutral-hovered"},backgroundNeutralActive:{h:226,s:49,l:93,a:.25,ads:"--ds-background-neutral-pressed"},backgroundInverse:{h:225,s:4.3,l:81.6,a:1,ads:"--ds-background-neutral-bold"},overlay:{h:225,s:4,l:17.6,a:1,ads:"--ds-surface-overlay"},overlayHover:{h:225,s:4,l:19.61,a:1,ads:"--ds-surface-overlay-hovered"},overlayActive:{h:225,s:4.69,l:25.1,a:1,ads:"--ds-surface-overlay-pressed"},backdrop:{h:210,s:11,l:7,a:.6,ads:"--ds-blanket"},border:{h:236,s:36.6,l:92,a:.12,ads:"--ds-border"}},av),{info:{h:216.3,s:83,l:67.25,a:1,ads:"--ds-background-information-bold"},success:{h:155,s:57,l:55,a:1,ads:"--ds-background-accent-green-bolder"},danger:{h:3.75,s:91,l:69,a:1,ads:"--ds-background-danger-bold"},dangerHover:{h:4,s:96,l:78,a:1,ads:"--ds-background-danger-bold-hovered"},dangerActive:{h:4,s:100,l:91.2,a:1,ads:"--ds-background-danger-bold-pressed"},disabledContent:{h:225,s:5,l:33,a:1,ads:"--ds-text-disabled"},disabledBackground:{h:0,s:0,l:1,a:.46,ads:"--ds-background-disabled"},formFieldBorder:{h:222,s:4,l:51.4,a:1,ads:"--ds-border-input"},formFieldBackground:{h:225,s:5,l:15,a:1,ads:"--ds-background-input"},buttonBorder:{h:0,s:0,l:100,a:.25,ads:"--ds-border"},tabBackground:{h:240,s:12.6,l:83,a:.07,ads:"--ds-background-neutral"},upgrade:{h:277.8,s:27.3,l:19.4,a:1,ads:"--ds-background-discovery"},upgradeHover:{h:278,s:44.2,l:25.3,a:1,ads:"--ds-background-discovery-hovered"},upgradeActive:{h:278,s:45,l:44.7,a:1,ads:"--ds-background-discovery-pressed"},discoveryBackground:{h:278.5,s:84.5,l:72.2,a:1,ads:"--ds-background-discovery-bold"},discoveryLightBackground:{h:277.8,s:27.3,l:19.4,a:1,ads:"--ds-background-discovery"},discoveryTitle:{h:225,s:4.3,l:81.6,a:1,ads:"--ds-text"},discoveryHighlight:{h:277.8,s:27.3,l:19.4,a:1,ads:"--ds-background-discovery"}})},am=au(au({},ah),ap),ay=(0,M._)(Object.keys(am)).concat((0,M._)(Object.keys(ag.light))),ab=function(e){if(e)return e in am||e in ag.light?"var(--lns-color-".concat(e,")"):e in aG?"var(--lns-gradient-".concat(e,")"):e},a_=function(e){return e&&"calc(".concat(e," * var(--lns-unit, ").concat(az,"px))")},aw=function(e){return e in a$?"var(--lns-space-".concat(e,")"):e&&isNaN(e)?"".concat(e):0===e?"0":e?"".concat(a_(e)):void 0},aE=function(e,t){if(t||0===t){if(Array.isArray(t))return aC(t.map(function(t){return"".concat(e,": ").concat(aw(t))}));if("object"==typeof t){var n={};return Object.entries(t).forEach(function(e){var t=(0,j._)(e,2),r=t[0],i=t[1];return n[r]=aw(i)}),ax(e,n)}return"".concat(e,": ").concat(aw(t),";")}},ak=function(e,t,n){return"@media(".concat(e,": ").concat(t,"){").concat(n,"}")},aC=function(e){return ak("max-width",Object.values(aW)[0],e[0])+e.reduce(function(e,t,n){return e+ak("min-width","".concat(Object.values(aW)[n]),t)},"")},ax=function(e,t){var n=[];return t.default&&n.push("".concat(e,": ").concat(t.default,";")),delete t.default,Object.entries(t).forEach(function(t){var r=(0,j._)(t,2),i=r[0],o=r[1],a=i in aW?aW[i]:i;n.push("@media(min-width: ".concat(a,"){ ").concat(e,": ").concat(o," }"))}),n.join(" ")},aS=function(e,t){return Array.isArray(t)?aC(t.map(function(t){return"".concat(e,": ").concat(t,";")})):"object"==typeof t?ax(e,t):"".concat(e,": ").concat(t,";")},aO=function(e,t){if(e){if(Array.isArray(e)){var n=[];return e.map(function(e){n.push(t[e])}),aS("align-items",n)}return"align-items ".concat(t[e],";")}},aI=function(e,t){if(t||0===t)return Array.isArray(t)?aC(t.map(function(t){return"".concat(e,": ").concat(t)})):"object"!=typeof t||Array.isArray(t)?"".concat(e,": ").concat(t,";"):ax(e,t)},aA=function(e){return Array.isArray(e)?e.map(function(e){return aw(e)}).join(" "):e},aT=function(e,t){if(e){if("object"==typeof e&&!Array.isArray(e)){var n={};return Object.entries(e).forEach(function(e){var t=(0,j._)(e,2),r=t[0],i=t[1];return n[r]=aA(i)}),ax("grid-template-".concat(t),n)}return"grid-template-".concat(t,": ").concat(aA(e),";")}},aL=function(e){return e&&"\n font-size: var(--lns-fontSize-".concat(e,");\n line-height: var(--lns-lineHeight-").concat(e,");\n letter-spacing: var(--lns-letterSpacing-").concat(e,");\n")},aR=function(e){return e&&"font-weight: var(--lns-fontWeight-".concat(e,");")},aP=function(e){return e&&"border-radius: var(--lns-radius-".concat(e,");")},aj=function(e){return e&&"box-shadow: var(--lns-shadow-".concat(e,");")},aD=function(e,t){var n=e||ab("focusRing");return"box-shadow:".concat(t||""," 0 0 0 2px ").concat(n,";")},aM=function(e){var t=e||ab("focusRing");return"\n outline: 2px solid ".concat(t,";\n outline-offset: 1px;\n ")},aF=function(e){if("ol"===e||"ul"===e)return"\n list-style-type: none;\n margin: 0;\n padding: 0\n "},aB=function(e,t){return({center:{bottom:0,top:"calc((100vh - ".concat(e,") / 2)"),position:"relative"},bottom:{bottom:0,top:"unset",position:"absolute"},undefined:{bottom:void 0,top:"15vh",position:"relative"}})[t]},aN=function(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},az=8,aV={small:{fontSize:1.5,lineHeight:1.5,letterSpacing:"normal"},"body-sm":{fontSize:1.5,lineHeight:1.5,letterSpacing:"normal"},medium:{fontSize:1.75,lineHeight:1.57,letterSpacing:"normal"},"body-md":{fontSize:1.75,lineHeight:1.57,letterSpacing:"normal"},large:{fontSize:2.25,lineHeight:1.44,letterSpacing:"-0.2px"},"body-lg":{fontSize:2.25,lineHeight:1.44,letterSpacing:"-0.2px"},xlarge:{fontSize:3,lineHeight:1.16,letterSpacing:"-0.2px"},"heading-sm":{fontSize:3,lineHeight:1.16,letterSpacing:"-0.2px"},xxlarge:{fontSize:4,lineHeight:1.125,letterSpacing:"-0.5px"},"heading-md":{fontSize:4,lineHeight:1.125,letterSpacing:"-0.5px"},xxxlarge:{fontSize:6,lineHeight:1.16,letterSpacing:"-1.2px"},"heading-lg":{fontSize:6,lineHeight:1.16,letterSpacing:"-1.2px"}},aU={book:400,regular:400,medium:500,bold:653},aH={none:a_(0),50:a_(.5),100:a_(1),medium:a_(1),150:a_(1.5),175:a_(1.75),200:a_(2),large:a_(2),250:a_(2.5),300:a_(3),xlarge:a_(3),round:a_(999),full:a_(999)},aZ={small:"0 ".concat(a_(.5)," ").concat(a_(1.25)," hsla(0, 0%, 0%, 0.05)"),medium:"0 ".concat(a_(.5)," ").concat(a_(1.25)," hsla(0, 0%, 0%, 0.1)"),large:"0 ".concat(a_(.75)," ").concat(a_(3)," hsla(0, 0%, 0%, 0.1)")},a$={xsmall:.5,small:1,medium:2,large:3,xlarge:5,xxlarge:8},aW={xsmall:"31em",small:"48em",medium:"64em",large:"75em"},aG={"ai-primary":"radial-gradient(134.96% 884.49% at 119.29% 112.58%, #DC43BE 0%, #565ADD 70%)","ai-secondary":"radial-gradient(100% 138.41% at 100% 100%, #EFF0FF 0%, #FFFFFF 100%)"},aK="Lens: Layout component is deprecated. Use Arrange or Split.",aq={body:{size:"body-md",fontWeight:"regular"},title:{size:"body-lg",fontWeight:"bold"},mainTitle:{size:"heading-md",fontWeight:"bold"}},aJ=function(e){return aV[e].fontSize*az},aY=function(e){return a_(aV[e].fontSize)},aX=function(e){return aV[e].fontSize*aV[e].lineHeight*az},aQ=function(e,t,n,r){var i=(t-e)/(r-n);return"".concat(-n*i+e,"px + ").concat(100*i,"vw")},a0=eg.span(ia(),function(e){return e.isInline?"inline":"block"},function(e){return!e.sizeMinMax&&aL(e.size)},function(e){return aR(e.fontWeight)},function(e){return e.color&&"color: ".concat(ab(e.color))},function(e){var t;return e.fontSetting&&"font-feature-settings: ".concat((t=e.fontSetting)&&"var(--lns-fontSetting-".concat(t,");"))},function(e){return e.isDimmed&&"opacity: ".concat(.6)},function(e){return e.alignment&&"text-align: ".concat(e.alignment)},function(e){return e.hasEllipsis&&!e.ellipsisLines&&"\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n "},function(e){return e.hasEllipsis&&e.ellipsisLines&&"\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ".concat(e.ellipsisLines,";\n ")},function(e){return!e.hasEllipsis&&e.noWrap&&"white-space: nowrap; overflow: hidden;"},function(e){return e.sizeMinMax&&"\n min-height: 0vw;\n font-size: clamp(\n ".concat(aY(e.sizeMinMax[0]),",\n ").concat(aQ(aJ(e.sizeMinMax[0]),aJ(e.sizeMinMax[1]),496,1200),",\n ").concat(aY(e.sizeMinMax[1]),"\n );\n\n line-height: clamp(\n ").concat(aX(e.sizeMinMax[0]),"px,\n ").concat(aQ(aX(e.sizeMinMax[0]),aX(e.sizeMinMax[1]),496,1200),",\n ").concat(aX(e.sizeMinMax[1]),"px\n );\n ")}),a1=function(e){var t=e.children,n=e.size,r=void 0===n?"body-md":n,i=e.color,o=e.isInline,a=e.isDimmed,s=e.fontWeight,u=void 0===s?"regular":s,l=e.hasEllipsis,c=e.ellipsisLines,d=e.noWrap,f=e.variant,h=e.htmlTag,p=e.alignment,v=e.sizeMinMax,g=e.fontSetting,m=ac(e,["children","size","color","isInline","isDimmed","fontWeight","hasEllipsis","ellipsisLines","noWrap","variant","htmlTag","alignment","sizeMinMax","fontSetting"]);return a&&console.warn("Lens: Text prop 'isDimmed' is deprecated, use color=\"bodyDimmed\" instead."),r.includes("heading-")&&(u="bold"),B.createElement(a0,au({size:f?aq[f].size:r,color:i,isInline:o,isDimmed:a,fontWeight:f?aq[f].fontWeight:u,hasEllipsis:l,ellipsisLines:c,noWrap:d,variant:f,as:void 0===h?"span":h,alignment:p,sizeMinMax:v,fontSetting:void 0===g?"normal":g},m),t)},a2=["top","bottom","left","right"],a5=au({0:"0"},a$),a3=au({0:"0",auto:"auto"},a$),a4=ay.map(function(e){return{selector:"c",modifier:e,declarations:[{property:"color",value:"var(--lns-color-".concat(e,")")}]}}),a6=ay.map(function(e){return{selector:"bgc",modifier:e,declarations:[{property:"background-color",value:"var(--lns-color-".concat(e,")")}]}}),a7=Object.keys(aV).map(function(e){return{selector:"text",modifier:e,declarations:[{property:"font-size",value:"var(--lns-fontSize-".concat(e,")")},{property:"line-height",value:"var(--lns-lineHeight-".concat(e,")")},{property:"letter-spacing",value:"var(--lns-letterSpacing-".concat(e,")")},e.includes("heading-")||e.includes("xlarge")?{property:"font-weight",value:"var(--lns-fontWeight-bold)"}:{property:"font-weight",value:"var(--lns-fontWeight-regular)"}]}}),a8=Object.keys(aU).map(function(e){return{selector:"weight",modifier:e,declarations:[{property:"font-weight",value:"var(--lns-fontWeight-".concat(e,")")}]}}),a9=Object.entries(aq).map(function(e){var t=(0,j._)(e,2),n=t[0],r=t[1];return{selector:"text",modifier:n,declarations:[{property:"font-size",value:"var(--lns-fontSize-".concat(r.size,")")},{property:"line-height",value:"var(--lns-lineHeight-".concat(r.size,")")},{property:"font-weight",value:"var(--lns-fontWeight-".concat(r.fontWeight,")")}]}}),se=["left","right","center"].map(function(e){return{selector:"text",modifier:e,declarations:[{property:"text-align",value:e}]}}),st=Object.keys(aZ).map(function(e){return{selector:"shadow",modifier:e,declarations:[{property:"box-shadow",value:"var(--lns-shadow-".concat(e,")")}]}}),sn=Object.keys(aH).map(function(e){return{selector:"radius",modifier:e,declarations:[{property:"border-radius",value:"var(--lns-radius-".concat(e,")")}]}}),sr=function(e,t,n,r){var i=[];return t.map(function(t){var o=r?"".concat(e.charAt(0)).concat(t.charAt(0)):t;Object.keys(n).map(function(n){i.push({selector:o,property:"".concat(e).concat(t&&e?"-".concat(t):t||""),modifier:n,value:"auto"===n||"0"===n?n:"var(--lns-space-".concat(n,")")})})}),i},si=Object.values(sr("margin",[""].concat((0,M._)(a2)),a3,"shortSides")).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:e.property,value:e.value}]}}),so=Object.values(sr("margin",["x","y"],a3,"shortSides")).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:"margin-x"===e.property?"margin-left":"margin-top",value:e.value},{property:"margin-x"===e.property?"margin-right":"margin-bottom",value:e.value}]}}),sa=Object.values(sr("padding",[""].concat((0,M._)(a2)),a5,"shortSides")).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:e.property,value:e.value}]}}),ss=Object.values(sr("padding",["x","y"],a5,"shortSides")).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:"padding-x"===e.property?"padding-left":"padding-top",value:e.value},{property:"padding-x"===e.property?"padding-right":"padding-bottom",value:e.value}]}}),su=[""].concat((0,M._)(a2)).map(function(e){return{selector:"border"+e.replace(e.charAt(0),e.charAt(0).toUpperCase()),declarations:[{property:"border".concat(e&&"-".concat(e)),value:"1px solid var(--lns-color-border)"}]}}),sl=["inline","block","flex","inlineBlock","inlineFlex","none"].map(function(e){return{selector:e,declarations:[{property:"display",value:aN(e)}]}}),sc=["column","row"].map(function(e){return{selector:"flexDirection",modifier:e,declarations:[{property:"flex-direction",value:e}]}}),sd=["stretch","center","baseline","flexStart","flexEnd","selfStart","selfEnd"].map(function(e){return{selector:"items",modifier:e,declarations:[{property:"align-items",value:aN(e)}]}}),sf=["flexStart","flexEnd","center","spaceBetween","spaceAround","spaceEvenly"].map(function(e){return{selector:"justify",modifier:e,declarations:[{property:"justify-content",value:aN(e)}]}}),sh=["0","1"].map(function(e){return{selector:"grow",modifier:e,declarations:[{property:"flex-grow",value:e}]}}),sp=["0","1"].map(function(e){return{selector:"shrink",modifier:e,declarations:[{property:"flex-shrink",value:e}]}}),sv=["auto","flexStart","flexEnd","center","baseline","stretch"].map(function(e){return{selector:"self",modifier:e,declarations:[{property:"align-self",value:aN(e)}]}}),sg=["hidden","auto"].map(function(e){return{selector:"overflow",modifier:e,declarations:[{property:"overflow",value:e}]}}),sm=["relative","absolute","sticky","fixed"].map(function(e){return{selector:e,declarations:[{property:"position",value:e}]}}),sy=Object.values(sr("",a2,a3)).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:e.property,value:e.value}]}}),sb=["auto","full","0"].map(function(e){return{selector:"width",modifier:e,declarations:[{property:"width",value:"full"===e?"100%":e}]}}),s_=["auto","full","0"].map(function(e){return{selector:"height",modifier:e,declarations:[{property:"height",value:"full"===e?"100%":e}]}});(0,M._)(a4).concat((0,M._)(st),(0,M._)(sn),(0,M._)(a6),(0,M._)(si),(0,M._)(so),(0,M._)(sa),(0,M._)(ss),(0,M._)(a7),(0,M._)(a8),(0,M._)(a9),(0,M._)(se),(0,M._)(su),(0,M._)(sl),(0,M._)([{selector:"flexWrap",declarations:[{property:"flex-wrap",value:"wrap"}]}]),(0,M._)(sc),(0,M._)(sd),(0,M._)(sf),(0,M._)(sh),(0,M._)(sp),(0,M._)(sv),(0,M._)(sg),(0,M._)(sm),(0,M._)(sy),(0,M._)(sb),(0,M._)([{selector:"minWidth",modifier:"0",declarations:[{property:"min-width",value:"0"}]}]),(0,M._)(s_),(0,M._)([{selector:"ellipsis",declarations:[{property:"overflow",value:"hidden"},{property:"text-overflow",value:"ellipsis"},{property:"white-space",value:"nowrap"}]}]),(0,M._)([{selector:"srOnly",declarations:[{property:"position",value:"absolute"},{property:"width",value:"1px"},{property:"height",value:"1px"},{property:"padding",value:"0"},{property:"margin",value:"-1px"},{property:"overflow",value:"hidden"},{property:"clip",value:"rect(0, 0, 0, 0)"},{property:"white-space",value:"nowrap"},{property:"border-width",value:"0"}]}])),aW.xsmall,aW.small,aW.medium,aW.large;var sw=function(e,t){var n={};return Object.entries(t).forEach(function(t){var r=(0,j._)(t,2),i=r[0],o=r[1];n["--lns-".concat((e?"".concat(e,"-"):"")+i)]=o}),n},sE=sw(void 0,{unit:"".concat(az/16,"rem")}),sk=sw("fontWeight",aU),sC=sw("fontSetting",{normal:"'normal'",tnum:"'tnum'"}),sx=sw(void 0,(w={},Object.entries(aV).forEach(function(e){var t=(0,j._)(e,2),n=t[0],r=t[1],i={};i["fontSize-".concat(n)]=a_(r.fontSize),i["lineHeight-".concat(n)]=r.lineHeight,i["letterSpacing-".concat(n)]=r.letterSpacing,Object.assign(w,i,{},{})}),w)),sS=sw("radius",aH),sO=sw("shadow",aZ),sI=sw(void 0,(E={},Object.entries(a$).forEach(function(e){var t=(0,j._)(e,2),n=t[0],r=t[1];E["space-".concat(n)]=a_(r)}),E)),sA=sw(void 0,{formFieldBorderWidth:"1px",formFieldBorderWidthFocus:"2px",formFieldHeight:a_(4.5),formFieldRadius:"var(--lns-radius-175)",formFieldHorizontalPadding:a_(2),formFieldBorderShadow:"\n inset 0 0 0 var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)\n ",formFieldBorderShadowFocus:"\n inset 0 0 0 var(--lns-formFieldBorderWidthFocus) var(--lns-color-blurple),\n 0 0 0 var(--lns-formFieldBorderWidthFocus) var(--lns-color-focusRing)\n ",formFieldBorderShadowError:"\n inset 0 0 0 var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger),\n 0 0 0 var(--lns-formFieldBorderWidthFocus) var(--lns-color-orangeLight)\n "}),sT=sw("color",(k={},Object.keys(au(au({},ah),ap)).forEach(function(e){k[e]="hsla(".concat(am[e].h,",").concat(am[e].s,"%,").concat(am[e].l,"%,").concat(am[e].a,")")}),k)),sL=sw(void 0,au(au({},(C=function(e,t){return Object.keys(e).reduce(function(n,r){var i=e[r];return n["".concat(t,"-color-").concat(r)]=i.ads?"var(".concat(i.ads,", hsla(").concat(i.h,",").concat(i.s,"%,").concat(i.l,"%,").concat(i.a,"))"):"hsla(".concat(i.h,",").concat(i.s,"%,").concat(i.l,"%,").concat(i.a,")"),n},{})})(ag.light,"themeLight")),C(ag.dark,"themeDark"))),sR=sw("gradient",aG),sP=[sE,sx,sS,sO,sI,sA],sj=function(){var e;return(e=Object).assign.apply(e,[{},sk].concat((0,M._)(sP),[sC]))},sD=function(){return au(au(au({},sT),sL),sR)},sM=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":root";return"\n ".concat(e||":root",',\n .theme-light,\n [data-lens-theme="light"] {\n ').concat(Object.keys(ag.light).map(function(e){return"--lns-color-".concat(e,": var(--lns-themeLight-color-").concat(e,");")}).join(""),'\n }\n\n .theme-dark,\n [data-lens-theme="dark"] {\n ').concat(Object.keys(ag.dark).map(function(e){return"--lns-color-".concat(e,": var(--lns-themeDark-color-").concat(e,");")}).join(""),"\n }\n ")},sF=function(){var e=document.createElement("style");e.innerHTML=sM(),document.head.appendChild(e)},sB=function(e){switch(e){case"orange":default:return{background:"orangeLight",text:"dangerHover"};case"blue":return{background:"blueLight",text:"blueDark"};case"yellow":return{background:"yellowLight",text:"#9E4C00"};case"teal":return{background:"tealLight",text:"tealDark"}}},sN=function(e){if("medium"===e)n=a_(4),r=a_(4);else if("large"===e)n=a_(7),r=a_(7);else{var t,n,r,i=aw(e);n=i,r=i}var o=(t=n,"calc(".concat(t," / 2)"));return{width:n,height:r,fontSize:o}},sz=eg.span(is(),function(e){return e.color?e.color.startsWith("#")?e.color:"var(--lns-color-".concat(e.color,")"):"var(--lns-color-blueLight)"},aP("full"),function(e){return sN(e.size).width},function(e){return sN(e.size).height},function(e){return sN(e.size).fontSize},function(e){return e.hasBackgroundColor&&(e.backgroundColor?"var(--lns-color-".concat(e.backgroundColor,")"):"var(--lns-color-orange)")}),sV=eg.img(iu(),function(e){return sN(e.size).width},function(e){return sN(e.size).height},function(e){return sN(e.size).fontSize}),sU=function(e){var t=e.altText,n=void 0===t?"":t,r=e.size,i=void 0===r?4:r,o=e.letter,a=e.imageSrc,s=e.children,u=e.themeColor,l=ac(e,["altText","size","letter","imageSrc","children","themeColor"]),c=sB((void 0===u?"blue":u)||"blue");return B.createElement(sz,au({hasBackgroundColor:o&&!a&&!s,size:i,backgroundColor:c.background,color:c.text},l),function(){if(s)return s;if(a){var e=sN(i).height,t=sN(i).width;return B.createElement(sV,{size:i,alt:n,src:a,height:e,width:t})}if(o)return n?B.createElement("span",{"aria-label":n},o):o}())},sH=eg.span(il(),function(e){return ab(e.color)},function(e){return aE("width",e.size)},function(e){return aE("height",e.size)},function(e){return aE("width",e.size)},function(e){return aE("height",e.size)}),sZ=function(e){var t=e.altText,n=e.icon,r=e.color,i=e.size,o=ac(e,["altText","icon","color","size"]),a=B.useRef(null);return B.createElement(sH,au({ref:a,"aria-label":t,color:void 0===r?"body":r,size:void 0===i?3:i},o),n)},s$={small:{totalSize:18},medium:{totalSize:24},large:{totalSize:48}},sW=function(e){return s$[e.size].totalSize/6},sG=function(e){return s$[e.size].totalSize},sK=(0,em.F4)(ic()),sq=eg.span(id(),function(e){return sG(e)},function(e){return sG(e)}),sJ=eg.span(ih()),sY=eg.span(ip(),function(e){return 45*e.position},function(e){return sG(e)/2-sW(e)/2},function(e){return sW(e)},function(e){return sW(e)},function(e){return sW(e)},function(e){return ab(e.color)},sK,1,function(e){return 1*e.position/8}),sX=function(e){var t=e.position,n=e.color,r=e.size;return B.createElement(sY,{color:n,position:t,size:r})};Object.keys(s$);var sQ=function(e){var t,n=e.color,r=void 0===n?"body":n,i=e.size,o=void 0===i?"medium":i,a=ac(e,["color","size"]),s=[];for(t=0;t<8;t++)s.push(B.createElement(sX,{color:r,position:t,size:o,key:t}));return B.createElement(sq,au({size:o},a),B.createElement(sJ,null,s))},s0={small:{height:a_(4),textSize:"small",iconSize:2,xSpace:a_(1.5),radius:"var(--lns-radius-150)"},medium:{height:a_(4.5),textSize:"medium",iconSize:3,xSpace:a_(2),radius:"var(--lns-radius-175)"},large:{height:a_(7),textSize:"large",iconSize:4,xSpace:a_(2.5),radius:"var(--lns-radius-250)"}},s1=function(e){return(0,em.iv)(iv(),e.hasLoader&&"display: none")},s2={neutral:{color:ab("body"),background:"transparent",borderColor:ab("buttonBorder"),hover:ab("backgroundHover"),active:ab("backgroundActive"),floatingBackground:ab("overlay"),floatingHover:ab("overlayHover"),floatingActive:ab("overlayActive")},neutralSecondary:{color:ab("body"),background:ab("backgroundNeutral"),borderColor:null,hover:ab("backgroundNeutralHover"),active:ab("backgroundNeutralActive")},primary:{color:ab("white"),background:ab("blurple"),borderColor:null,hover:ab("primaryHover"),active:ab("primaryActive")},secondary:{color:ab("primary"),background:ab("highlight"),borderColor:null,hover:ab("blurpleMedium"),active:null},record:{color:ab("white"),background:ab("record"),borderColor:null,hover:ab("recordHover"),active:ab("recordActive")},upgrade:{color:ab("body"),background:ab("upgrade"),borderColor:null,hover:ab("upgradeHover"),active:ab("upgradeActive"),focusRing:aD()},danger:{color:ab("bodyInverse"),background:ab("danger"),borderColor:null,hover:ab("dangerHover"),active:ab("dangerActive")},ai:{color:ab("white"),background:ab("ai-primary"),borderColor:null,hover:null,active:null}},s5=function(e){return{enabled:(0,em.iv)(ig()),disabled:(0,em.iv)(im(),e.ariaDisabled&&"aria-disabled: true",ab("disabledBackground"),ab("disabledContent"))}},s3=a_(1),s4=eg.button(iy(),function(e){return e.hasChildren?s0[e.size].xSpace:0},aR("bold"),function(e){return s0[e.size].radius},function(e){return e.hasFullWidth?"display: flex; width: 100%":"display: inline-flex"},function(e){return s0[e.size].height},function(e){return s0[e.size].height},function(e){return s0[e.size].height},function(e){return aL(s0[e.size].textSize)},function(e){return e.isFloating&&"box-shadow: ".concat(aZ.medium)},function(e){return e.disabled?s5(e).disabled:s5(e).enabled},function(e){return!e.disabled&&"\n border: ".concat(s2[e.variant].borderColor?"1px solid ".concat(s2[e.variant].borderColor):"none",";\n background: ").concat(e.isFloating&&"neutral"===e.variant?s2[e.variant].floatingBackground:s2[e.variant].background,";\n background-position: left;\n background-size: 125%;\n color: ").concat(s2[e.variant].color,";\n ")},function(e){return e.isFloating&&"neutral"===e.variant?s2[e.variant].floatingHover:s2[e.variant].hover},function(e){return e.isFloating&&"neutral"===e.variant?s2[e.variant].floatingActive:s2[e.variant].active},aM()),s6=eg.span(ib(),function(e){return aE("padding-left",e.paddingLeft)},function(e){return aE("padding-right",e.paddingRight)},s1),s7=eg.img(i_(),function(e){return s0[e.size].height},function(e){return s0[e.size].height},function(e){return e.hasSpacing&&"margin-right: 0.57em"},s1),s8=eg.span(iw()),s9=eg.span(iE(),s1);Object.keys(s0),Object.keys(s2);var ue=function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,i=e.variant,o=e.hasFullWidth,a=e.icon,s=e.iconPosition,u=void 0===s?"left":s,l=e.iconBefore,c=e.iconAfter,d=e.logoSrc,f=e.hasLoader,h=e.isDisabled,p=e.ariaDisabled,v=e.htmlTag,g=e.interactionName,m=e.onClick,y=e.refHandler,b=ac(e,["size","children","variant","hasFullWidth","icon","iconPosition","iconBefore","iconAfter","logoSrc","hasLoader","isDisabled","ariaDisabled","htmlTag","interactionName","onClick","refHandler"]),_=a&&"left"===u?a:null,w=l||_?B.createElement(s6,{hasLoader:f,paddingLeft:"0",paddingRight:r?s3:"0"},B.createElement(sZ,{icon:l||_,color:"currentColor",size:s0[n].iconSize})):null,E=a&&"right"===u?a:null,k=c||E?B.createElement(s6,{hasLoader:f,paddingLeft:r?s3:"0",paddingRight:"unset"},B.createElement(sZ,{icon:E||c,color:"currentColor",size:s0[n].iconSize})):null,C=(0,B.useCallback)(function(e){g&&ny(g),null==m||m(e)},[m,g]);return B.createElement(s4,al(au({size:n,variant:void 0===i?"neutral":i,hasFullWidth:o,icon:a,iconPosition:u,logoSrc:d,disabled:h,ariaDisabled:p,as:void 0===v?"button":v,hasChildren:r,ref:function(e){return y&&y(e)}},b),{onClick:void 0===g?m:C}),f&&B.createElement(s8,null,B.createElement(sQ,{color:"currentColor"})),w,d&&B.createElement(s7,{alt:"",hasSpacing:!!r,src:d,size:n,height:s0[n].height,width:s0[n].height,hasLoader:f}),B.createElement(s9,{hasLoader:f},r),k)},ut=eg.div(ik(),function(e){return e.isInline?"inline-block":"block"},function(e){return aE("padding",e.all)},function(e){return aE("padding-top",e.top)},function(e){return aE("padding-right",e.right)},function(e){return aE("padding-bottom",e.bottom)},function(e){return aE("padding-left",e.left)}),un=function(e){var t=e.children,n=e.all,r=e.y,i=e.x,o=e.top,a=e.right,s=e.bottom,u=e.left,l=e.isInline,c=ac(e,["children","all","y","x","top","right","bottom","left","isInline"]);return B.createElement(ut,au({all:n,top:r||o,bottom:r||s,right:i||a,left:i||u,isInline:l},c),t)},ur={topLeft:"start",topCenter:"start center",topRight:"start end",centerLeft:"center start",center:"center",centerRight:"center end",bottomLeft:"end start",bottomCenter:"end center",bottomRight:"end"},ui=function(e){if(Array.isArray(e))return e.map(function(e){return ur[e]});if("object"==typeof e){var t={};return Object.entries(e).forEach(function(e){var n=(0,j._)(e,2),r=n[0],i=n[1];return t[r]=ur[i]}),t}return ur[e]},uo=eg.div(iC(),function(e){return aS("place-items",ui(e.alignment))});Object.keys(ur);var ua=function(e){var t=e.children,n=e.alignment,r=e.htmlTag,i=ac(e,["children","alignment","htmlTag"]);return B.createElement(uo,au({alignment:void 0===n?"center":n,as:void 0===r?"div":r},i),t)},us=function(e,t,n){var r=aw(n),i="".concat(r," solid ").concat(ab(t||"border"));if(e)return"all"===e?"border: ".concat(i,";"):"border-".concat(e,": ").concat(i,";")},uu=eg.div(ix(),function(e){return e.position&&"position: ".concat(e.position)},function(e){return e.overflow&&"overflow: ".concat(e.overflow)},function(e){return e.backgroundColor&&"background-color: ".concat(ab(e.backgroundColor))},function(e){return e.backgroundImage&&"background-image: ".concat(e.backgroundImage)},function(e){return e.contentColor&&"color: ".concat(ab(e.contentColor))},function(e){return us(e.borderSide,e.borderColor,e.borderWidth)},function(e){return aP(e.radius)},function(e){return aj(e.shadow)},function(e){return aE("width",e.width)},function(e){return aE("height",e.height)},function(e){return aE("min-width",e.minWidth)},function(e){return aE("min-height",e.minHeight)},function(e){return aE("max-width",e.maxWidth)},function(e){return aE("max-height",e.maxHeight)},function(e){return aE("padding",e.padding)},function(e){return aE("padding-top",e.paddingTop)},function(e){return aE("padding-right",e.paddingRight)},function(e){return aE("padding-bottom",e.paddingBottom)},function(e){return aE("padding-left",e.paddingLeft)},function(e){return aE("margin",e.margin)},function(e){return aE("margin-top",e.marginTop)},function(e){return aE("margin-right",e.marginRight)},function(e){return aE("margin-bottom",e.marginBottom)},function(e){return aE("margin-left",e.marginLeft)},function(e){return aE("top",e.top)},function(e){return aE("right",e.right)},function(e){return aE("bottom",e.bottom)},function(e){return aE("left",e.left)},function(e){return e.zIndex&&"z-index: ".concat(e.zIndex)}),ul=function(e){var t=e.children,n=e.backgroundColor,r=e.backgroundImage,i=e.contentColor,o=e.borderColor,a=e.radius,s=e.borderSide,u=e.borderWidth,l=e.shadow,c=e.padding,d=e.paddingX,f=e.paddingY,h=e.paddingLeft,p=e.paddingRight,v=e.paddingTop,g=e.paddingBottom,m=e.margin,y=e.marginX,b=e.marginY,_=e.marginLeft,w=e.marginRight,E=e.marginTop,k=e.marginBottom,C=e.width,x=e.height,S=e.minWidth,O=e.minHeight,I=e.maxWidth,A=e.maxHeight,T=e.htmlTag,L=e.position,R=e.overflow,P=e.zIndex,j=e.top,D=e.bottom,M=e.left,F=e.right,N=e.refHandler,z=ac(e,["children","backgroundColor","backgroundImage","contentColor","borderColor","radius","borderSide","borderWidth","shadow","padding","paddingX","paddingY","paddingLeft","paddingRight","paddingTop","paddingBottom","margin","marginX","marginY","marginLeft","marginRight","marginTop","marginBottom","width","height","minWidth","minHeight","maxWidth","maxHeight","htmlTag","position","overflow","zIndex","top","bottom","left","right","refHandler"]);return B.createElement(uu,au({backgroundColor:n,backgroundImage:r,contentColor:i,borderColor:o,radius:a,borderSide:s,shadow:l,padding:c,paddingLeft:d||h,paddingRight:d||p,paddingTop:f||v,paddingBottom:f||g,margin:m,marginLeft:y||_,marginRight:y||w,marginTop:b||E,marginBottom:b||k,width:C,height:x,minWidth:S,minHeight:O,maxWidth:I,maxHeight:A,as:void 0===T?"div":T,position:L,top:j,bottom:D,left:M,right:F,overflow:R,zIndex:P,borderWidth:void 0===u?"1px":u,ref:function(e){return N&&N(e)}},z),t)},uc={small:{height:a_(4),width:a_(5),iconSize:2,padding:a_(1.75),withIconPadding:a_(4.5),passwordAdditionalPadding:a_(.5),textSize:"small",radius:"var(--lns-radius-150)"},medium:{height:"var(--lns-formFieldHeight)",width:a_(6),iconSize:3,padding:"var(--lns-formFieldHorizontalPadding)",withIconPadding:a_(5.5),passwordAdditionalPadding:a_(.5),textSize:"medium",radius:"var(--lns-radius-175)"},large:{height:a_(7),width:a_(6),iconSize:3,padding:"var(--lns-formFieldHorizontalPadding)",withIconPadding:a_(5.5),passwordAdditionalPadding:a_(.5),textSize:"large",radius:"var(--lns-radius-250)"}},ud=function(e){var t=e.addOn?uc[e.inputSize].withIconPadding:uc[e.inputSize].padding;return"password"===e.type&&(t="calc(".concat(uc[e.inputSize].passwordAdditionalPadding," + ").concat(t,")")),t},uf=eg.input(iS(),function(e){return uc[e.inputSize].height},ab("formFieldBackground"),function(e){return e.icon?uc[e.inputSize].withIconPadding:uc[e.inputSize].padding},function(e){return ud(e)},function(e){return uc[e.inputSize].radius},function(e){return e.hasError?"var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger)":"var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)"},function(e){return aL(uc[e.inputSize].textSize)},ab("disabledContent"),ab("disabledBackground"),ab("bodyDimmed")),uh=eg.div(iO()),up=eg.div(iI(),function(e){return uc[e.size].width}),uv=eg.img(iA(),function(e){return e.isDisabled?.5:1}),ug=eg.div(iT(),function(e){return uc[e.size].width}),um=(0,B.forwardRef)(function(e,t){var n=e.placeholder,r=e.onFocus,i=e.onChange,o=e.onBlur,a=e.onKeyDown,s=e.isDisabled,u=e.icon,l=e.type,c=e.value,d=e.hasError,f=e.size,h=void 0===f?"medium":f,p=e.addOn,v=ac(e,["placeholder","onFocus","onChange","onBlur","onKeyDown","isDisabled","icon","type","value","hasError","size","addOn"]),g=B.createElement(uf,au({type:void 0===l?"text":l,placeholder:n,onFocus:r,onChange:i,onBlur:o,onKeyDown:a,disabled:s,icon:u,ref:t,value:c,hasError:d,inputSize:h,addOn:p},v));return u||p?B.createElement(uh,null,u&&B.createElement(up,{size:h},"string"==typeof u?B.createElement(ul,{radius:"50",width:uc[h].iconSize,height:uc[h].iconSize,overflow:"hidden"},B.createElement(ua,{alignment:"center"},B.createElement(uv,{src:u,alt:"",isDisabled:s}))):B.createElement(sZ,{icon:u,size:uc[h].iconSize,color:ab(s?"disabledContent":"body")})),g,p&&B.createElement(ug,{size:h},p)):g}),uy={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"},ub=!1,u_=function(e){return Array.isArray(e)?e:[e]},uw=function(e,t){if(e.length===t)return e;var n=e[e.length-1];return(0,M._)(Array(t)).map(function(t,r){return e[r]||n})},uE=function(e,t){var n=Math.max(u_(e).length,u_(t).length),r=uw(u_(t),n),i=uw(u_(e),n),o=r.map(function(e,t){var n="".concat(aw(e)," 0 0 0"),r="0 0 0 ".concat(aw(e)),o="column"===i[t]?n:r;return"".concat("& > * + *","{ margin: ").concat(o,"; }")}),a=i.map(function(e){return"flex-direction: ".concat(e)});return aC(o)+aC(a)},uk=eg.div(iL(),function(e){return uE(e.flexDirection,e.gap)},function(e){return aO(e.flexAlign,uy)},function(e){var t,n;return e.isSpread&&(t="justify-content",Array.isArray(n=e.isSpread)?aC(n.map(function(e){return"".concat(t,": ").concat(!0===e?"space-between":"initial",";")})):"".concat(t,": ").concat("space-between",";"))});Object.keys(uy);var uC=function(e){var t=e.children,n=e.gap,r=e.direction,i=e.alignment,o=e.isSpread,a=e.htmlTag,s=ac(e,["children","gap","direction","alignment","isSpread","htmlTag"]);return ub||(console.warn("Lens: Distribute component is deprecated. Use Arrange or Split."),ub=!0),B.createElement(uk,au({gap:n,flexDirection:void 0===r?"row":r,flexAlign:void 0===i?"start":i,isSpread:o,as:void 0===a?"div":a},s),t)},ux=eg.div(iR(),function(e){return aS("align-items",e.alignItems)},function(e){return aS("justify-content",e.justifyContent)},function(e){return e.justifyItems&&aS("justify-items",e.justifyItems)},function(e){return e.alignContent&&aS("align-content",e.alignContent)},function(e){return!e.columns&&!e.rows&&!e.autoFlow&&"grid-auto-flow: column"},function(e){return aT(e.columns,"columns")},function(e){return aT(e.rows,"rows")},function(e){return aE("gap",e.gap)},function(e){return aE("width",e.width)},function(e){return aE("height",e.height)},function(e){return aE("min-width",e.minWidth)},function(e){return aE("min-height",e.minHeight)},function(e){return aE("max-width",e.maxWidth)},function(e){return aE("max-height",e.maxHeight)},function(e){return e.autoFlow&&aS("grid-auto-flow",e.autoFlow)},function(e){return e.columns&&e.autoFlow&&aS("grid-auto-flow",e.autoFlow)},function(e){return aF(e.as)}),uS=function(e){var t=e.children,n=e.width,r=e.height,i=e.minWidth,o=e.minHeight,a=e.maxWidth,s=e.maxHeight,u=e.gap,l=e.columns,c=e.rows,d=e.alignItems,f=e.justifyContent,h=e.justifyItems,p=e.alignContent,v=e.autoFlow,g=e.htmlTag,m=e.className,y=e.style,b=ac(e,["children","width","height","minWidth","minHeight","maxWidth","maxHeight","gap","columns","rows","alignItems","justifyContent","justifyItems","alignContent","autoFlow","htmlTag","className","style"]);return(m||y)&&console.warn("Lens: don't apply custom styles to components, learn more: https://lens.loom.dev/guides/development-best-practices/the-risk-of-modifying-components-with-custom-styles."),B.createElement(ux,au({alignItems:void 0===d?"center":d,as:void 0===g?"div":g,justifyContent:void 0===f?"start":f,justifyItems:h,alignContent:p,gap:u,columns:l,rows:c,width:n,height:r,minWidth:i,minHeight:o,maxWidth:a,maxHeight:s,autoFlow:v},b),t)};eg.div(iP());var uO={start:"flex-start",center:"center",end:"flex-end"},uI=eg.div(ij(),function(e){return aO(e.alignment,uO)},function(e){return e.gap&&aE("margin-left",e.gap)}),uA=eg.div(iD(),function(e){return aE("width",e.width)},function(e){return aE("max-width",e.maxWidth)},function(e){return e.width?"flex-shrink: 0":"flex: 1 1 0%"});(function(e){(0,P._)(n,e);var t=(0,F._)(n);function n(){return(0,T._)(this,n),t.apply(this,arguments)}return(0,L._)(n,[{key:"render",value:function(){return console.warn(aK),B.createElement(uI,au({},this.props),this.props.children)}}]),n})(B.Component).Section=function(e){var t=e.width,n=e.maxWidth,r=e.children,i=ac(e,["width","maxWidth","children"]);return console.warn(aK),B.createElement(uA,au({width:t,maxWidth:n},i),r)};var uT={small:{size:a_(3),iconSize:2.25,radius:"var(--lns-radius-100)"},medium:{size:a_(4),iconSize:3,radius:"var(--lns-radius-150)"},large:{size:a_(5),iconSize:4,radius:"var(--lns-radius-175)"}},uL=eg.button(iM(),function(e){return ab(e.isActive?"backgroundActive":e.backgroundColor)||"transparent"},function(e){return uT[e.size].size},function(e){return uT[e.size].size},function(e){return uT[e.size].radius},function(e){return ab(e.isActive?"backgroundActive":"backgroundHover")},ab("backgroundActive"),ab("disabledContent"),function(e){return uT[e.size].radius},aD()),uR=B.forwardRef(function(e,t){var n=e.altText,r=e.icon,i=e.onClick,o=e.iconColor,a=e.backgroundColor,s=e.isActive,u=e.isDisabled,l=e.size,c=void 0===l?"medium":l,d=ac(e,["altText","icon","onClick","iconColor","backgroundColor","isActive","isDisabled","size"]);return B.createElement(uL,au({"aria-label":n,onClick:i,isActive:s,disabled:u,size:c,backgroundColor:a,ref:t},d),B.createElement(sZ,{icon:r,size:uT[c].iconSize,color:u?"disabledContent":void 0===o?"body":o}))});uR.displayName="IconButton";var uP=uR,uj=function(e){return B.createElement("svg",au({width:12,height:9,viewBox:"0 0 12 9",fill:"none"},e),B.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.707.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-3-3a1 1 0 011.414-1.414L4 6.586 10.293.293a1 1 0 011.414 0z",fill:"currentColor"}))},uD=function(e){return B.createElement("svg",au({width:12,height:2,viewBox:"0 0 12 2",fill:"none"},e),B.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1a1 1 0 011-1h10a1 1 0 110 2H1a1 1 0 01-1-1z",fill:"currentColor"}))},uM=eg.div(iF()),uF=eg.input(iB(),ab("body"),ab("body"),ab("disabledBackground"),ab("disabledContent"),aD(),ab("background")),uB=eg.span(iN(),a_(2.25),a_(2.25),a_(.5)),uN=(0,B.forwardRef)(function(e,t){var n=e.isDisabled,r=e.isChecked,i=e.isIndeterminate,o=e.onFocus,a=e.onChange,s=e.onBlur,u=ac(e,["isDisabled","isChecked","isIndeterminate","onFocus","onChange","onBlur"]),l=(0,B.useRef)(),c=t||l,d=ab(n?"disabledContent":"currentColor");return(0,B.useEffect)(function(){c.current.indeterminate=i}),B.createElement(uM,null,B.createElement(uF,au({type:"checkbox",disabled:n,checked:r,onFocus:o,onChange:a,onBlur:s,ref:c,"aria-checked":r},u)),B.createElement(uB,{className:"CheckboxBox"},B.createElement(uD,{className:"Icon IconMinus",color:d}),B.createElement(uj,{className:"Icon IconCheck",color:d})))}),uz={small:{textSize:"small",iconSize:2.25,height:a_(3),xSpace:a_(1),radius:"var(--lns-radius-100)"},medium:{textSize:"medium",iconSize:3,height:a_(4),xSpace:a_(1.5),radius:"var(--lns-radius-150)"},large:{textSize:"large",iconSize:4,height:a_(6),xSpace:a_(3),radius:"var(--lns-radius-200)"}},uV=eg.button(iz(),function(e){return e.isActive?ab("backgroundActive"):"transparent"},function(e){return uz[e.size].height},function(e){return ab(e.color||"body")},aR("bold"),function(e){return uz[e.size].radius},function(e){return aL(uz[e.size].textSize)},function(e){return uz[e.size].xSpace},function(e){return e.offsetSide&&"margin-".concat(e.offsetSide,": calc(-1 * ").concat(uz[e.size].xSpace,")")},aD(),function(e){return ab(e.isActive?"backgroundActive":"backgroundHover")},ab("backgroundActive"),ab("disabledContent"));B.forwardRef(function(e,t){var n=e.onClick,r=e.size,i=void 0===r?"medium":r,o=e.children,a=e.icon,s=e.iconPosition,u=void 0===s?"left":s,l=e.isActive,c=e.isDisabled,d=e.htmlTag,f=e.offsetSide,h=ac(e,["onClick","size","children","icon","iconPosition","isActive","isDisabled","htmlTag","offsetSide"]),p=B.createElement(ul,{paddingLeft:"right"===u&&"small",paddingRight:"left"===u&&"small",htmlTag:"span"},B.createElement(sZ,{icon:a,size:uz[i].iconSize,color:c?"disabledColor":void 0}));return B.createElement(uV,au({onClick:n,size:i,icon:a,iconPosition:u,disabled:c,isActive:l,as:d,offsetSide:f,ref:t},h),a&&"left"===u&&p,o,a&&"right"===u&&p)}).displayName="TextButton";var uU=function(e){var t=null==(r=null==(n=null==e?void 0:e())?void 0:n.getRootNode)?void 0:r.call(n);if("[object ShadowRoot]"===String(t)){t.createElement=function(){for(var e=arguments.length,n=Array(e),r=0;r0&&"group"in e[0]},u7=function(e){var t=e.options,n=e.selectedOptionValue;if(!t||!n)return{icon:null,title:null};if(!u6(t))return t.find(function(e){return e.value===n})||{icon:null,title:null};var r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value.items.find(function(e){return e.value===n});if(u)return u}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return{icon:null,title:null}},u8=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue;return n?n.icon:r?u7({options:t,selectedOptionValue:r}).icon:void 0},u9=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.selectPlaceholder;return n?n.title:r?u7({options:t,selectedOptionValue:r}).title:i},le=function(e){var t=e.selectedItem,n=e.getInputProps,r=e.getToggleButtonProps,i=e.ariaMenuName,o=t?"selected value is ".concat(t.title):"no value selected",a=null==r?void 0:r()["aria-label"];return{"aria-activedescendant":n()["aria-activedescendant"],"aria-label":[i,a,o].filter(Boolean).join(", ")}},lt=function(e){var t=e.getToggleButtonProps,n=e.inputValue,r=e.selectedItem,i=e.selectedOptionValue,o=e.selectPlaceholder,a=e.isDisabled,s=e.options,u=e.getInputProps,l=e.ariaMenuName,c=e.hasError,d=u8({options:s,selectedItem:r,selectedOptionValue:i}),f=!!d,h=!i&&!r,p=a?"disabledContent":void 0;return B.createElement(u2,al(au(au({},t()),le({selectedItem:r,getInputProps:u,getToggleButtonProps:t,ariaMenuName:l})),{hasValue:n||i,disabled:a,columns:"".concat(f?"auto":""," 1fr auto"),hasError:c}),f&&("string"==typeof d?B.createElement(ul,{radius:"50",width:3,height:3,overflow:"hidden"},B.createElement(ua,{alignment:"center"},B.createElement(u5,{src:d,alt:"",isDisabled:a}))):B.createElement(sZ,{icon:u8({options:s,selectedItem:r,selectedOptionValue:i}),color:p})),B.createElement(a1,{hasEllipsis:!0,color:h?"bodyDimmed":"inherit"},u9({options:s,selectedItem:r,selectedOptionValue:i,selectPlaceholder:o})),B.createElement(sZ,{icon:B.createElement(uH,null),color:p}))},ln=function(e){var t=e.selectedOptionValue,n=e.selectedItem,r=e.trigger,i=e.getToggleButtonProps,o=e.options,a=e.selectPlaceholder,s=e.isDisabled,u=e.getInputProps,l=e.ariaMenuName,c=e.hasError,d=e.errorMessage;return r(al(au({},n||(t?u7({options:o,selectedOptionValue:t}):void 0)),{placeholder:a,isDisabled:s,hasError:c,errorMessage:d}),au(au({},i()),le({selectedItem:n,getInputProps:u,getToggleButtonProps:i,ariaMenuName:l})))},lr=function(e,t){if(!u6(t))return t.find(function(t){return t.value===e});var n=!0,r=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value.items.find(function(t){return t.value===e});if(s)return s}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}},li=function(e,t,n,r,i,o){var a=!n&&e.value===r||n&&n.value===e.value;return B.createElement(uJ,al(au({key:t,getItemProps:o,icon:e.icon,hidden:e.hidden},o({key:"".concat(e.value,"-").concat(t),index:t,item:e,disabled:e.isDisabled,"aria-selected":a})),{isDisabled:e.isDisabled,hasDivider:e.hasDivider,isHighlighted:i===t,isSelected:a}),e.title)},lo=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.highlightedIndex,o=e.getItemProps,a=e.search,s=ac(e,["options","selectedItem","selectedOptionValue","highlightedIndex","getItemProps","search"]);if(!u6(t))return B.createElement(uY,au({search:a},s),t.map(function(e,t){return li(e,t,n,r,i,o)}));var u=0;return B.createElement(uY,au({search:a},s),t.map(function(e){var t="group-".concat(e.group.replace(/\s+/g,"-"));return B.createElement("li",{key:t},B.createElement(un,{left:"medium",top:"small",bottom:"xsmall"},B.createElement(a1,{id:t,size:"body-sm",fontWeight:"bold"},e.group)),B.createElement(u3,{role:"group","aria-labelledby":t},e.items.map(function(e){return li(e,u++,n,r,i,o)})))}))},la=function(e){var t=e.container,n=e.onChange,r=e.menuZIndex,i=void 0===r?1100:r,o=e.menuMaxWidth,a=e.menuMaxHeight,s=void 0===a?34:a,u=e.menuMinWidth,l=e.triggerOffset,c=e.ariaMenuName,d=e.selectedOptionValue,f=e.onOuterClick,h=e.options,p=e.placeholder,v=e.menuPosition,g=void 0===v?"left":v,m=e.isDisabled,y=e.onOpenChange,b=e.trigger,_=e.hasError,w=e.errorMessage,E=void 0===w?"Oops, that didn't work.":w,k=e.search,C=ac(e,["container","onChange","menuZIndex","menuMaxWidth","menuMaxHeight","menuMinWidth","triggerOffset","ariaMenuName","selectedOptionValue","onOuterClick","options","placeholder","menuPosition","isDisabled","onOpenChange","trigger","hasError","errorMessage","search"]),x=uU(t),S=(0,j._)((0,B.useState)(!1),2),O=S[0],I=S[1],A=(0,j._)((0,B.useState)(""),2),T=A[0],L=A[1],R=function(e){L(e.target.value)},P=(0,j._)((0,B.useState)(lr(d,h)),2),D=P[0],M=P[1],F=(0,j._)((0,B.useState)(D),2),N=F[0],z=F[1],V={itemToString:function(e){return e?e.value:""},onChange:function(e){z(e),n&&n(e||"")},onOuterClick:f,environment:x,selectedItem:N,isOpen:O};x&&(V.environment=x);var U=rZ({isOpen:O,container:t,ResizeObserver:it,placement:u$[g],auto:!0,snap:!0,triggerOffset:void 0===l?0:l}),H=U.layerProps,Z=U.triggerProps,$=U.renderLayer,W=U.triggerBounds;return(0,B.useEffect)(function(){if(D&&d!==D.value){var e=lr(d,h);M(e),z(e)}},[d,h,D]),(0,B.useEffect)(function(){y&&y(O)},[O,y]),h=(0,B.useMemo)(function(){if(k)return u6(h)?("startsWith"===k.searchType?h.map(function(e){return al(au({},e),{items:e.items.filter(function(e){return e.title.toString().toLowerCase().startsWith(T.toLowerCase())})})}):h.map(function(e){return al(au({},e),{items:e.items.filter(function(e){return e.title.toString().toLowerCase().includes(T.toLowerCase())})})})).reduce(function(e,t){return t.items.length>0&&e.push(t),e},[]):"startsWith"===k.searchType?h.filter(function(e){return e.title.toString().toLowerCase().startsWith(T.toLowerCase())}):h.filter(function(e){return e.title.toString().toLowerCase().includes(T.toLowerCase())});return h},[h,T,k]),B.createElement(u1,au({},C),B.createElement(n7,al(au({},V),{stateReducer:function(e,t){if(void 0!==t.isOpen){if(t.type===n7.stateChangeTypes.keyDownEscape)return I(!1),{isOpen:!1};I(t.isOpen)}return t}}),function(e){var t=e.getItemProps,n=e.getInputProps,r=e.getMenuProps,a=e.getToggleButtonProps,l=e.isOpen,f=e.inputValue,v=e.highlightedIndex,y=e.selectedItem;return B.createElement("div",{role:"presentation"},B.createElement("div",au({},Z),b?B.createElement(ln,{getToggleButtonProps:a,selectedItem:y,selectedOptionValue:d,selectPlaceholder:p,isDisabled:m,options:h,trigger:b,getInputProps:n,ariaMenuName:c,hasError:_,errorMessage:E}):B.createElement(lt,{getToggleButtonProps:a,selectedItem:y,selectedOptionValue:d,selectPlaceholder:p,options:h,inputValue:f,isDisabled:m,getInputProps:n,ariaMenuName:c,hasError:_})),O&&l&&$(B.createElement("div",al(au({},H),{style:al(au({},H.style),{zIndex:i,width:u?"auto":null==W?void 0:W.width})}),B.createElement(lo,{options:h,selectedItem:y,selectedOptionValue:d,highlightedIndex:v,getItemProps:t,position:g,downshiftMenuProps:r,maxWidth:o,maxHeight:s,minWidth:u,search:k&&B.createElement(u0,{ariaLabel:k.searchPlaceholder,placeholder:k.searchPlaceholder,value:T,onChange:R,getInputProps:n})}))),_&&!O&&B.createElement(u4,null,E))}))};eg.div(iY(),function(e){return ab(e.backgroundColor)},function(e){return e.zIndex}),eg.div(iX()),eg.div(iQ(),function(e){return e.rows}),eg.dialog(i0(),function(e){return aB(aw(e.maxHeight),e.placement).top},ab("overlay"),ab("body"),function(e){return aB(e.maxHeight,e.placement).bottom},aj("large"),aP("xlarge"),function(e){return"bottom"===e.placement?"initial":void 0},function(e){return"bottom"===e.placement?"initial":void 0},function(e){return aE("max-height",e.maxHeight)},function(e){return aE("max-width",e.maxWidth)},function(e){return aB(e.maxHeight,e.placement).position}),eg.div(i1(),a_(1.5),a_(1.5)),eg.div(i2()),eg.div(i5(),function(e){return e.bottom}),eg.div(i3(),function(e){return e.hasDividers?"var(--lns-space-medium)":e.top}),eg.div(i4(),function(e){return e.hasTitle&&!e.noPadding?0:e.hasTitle||e.noPadding?0:"var(--lns-space-xlarge)"},function(e){return e.hasButtons&&!e.noPadding?0:e.hasButtons||e.noPadding?0:"var(--lns-space-xlarge)"},function(e){return e.noPadding?0:"var(--lns-space-xlarge)"},function(e){return e.noPadding?0:"var(--lns-space-xlarge)"},ab("border"),function(e){return e.hasDividers?"1px 0":"0"}),eg.div(i6(),function(e){return ls(e.maxHeight)},function(e){return ls(e.maxHeight)});var ls=function(e){return"number"==typeof e?aE("max-height",e):"max-height: "+e},lu={neutral:{color:ab("inherit"),focusRing:aD(),underline:"inactive"},primary:{color:ab("primary"),focusRing:aD(),underline:"inactive"},subtle:{color:ab("body"),focusRing:aD(),underline:"hover"}},ll={enabled:(0,em.iv)(i7()),disabled:(0,em.iv)(i8(),ab("disabledContent"))},lc={isButton:(0,em.iv)(i9())};eg.a(oe(),function(e){return!e.disabled&&"color: ".concat(lu[e.variant].color)},function(e){return e.disabled?ll.disabled:ll.enabled},function(e){return"button"===e.as&&lc.isButton},function(e){return"text-decoration: ".concat("inactive"===lu[e.variant].underline?"underline":"none")},function(e){return"text-decoration: ".concat("hover"===lu[e.variant].underline?"underline":"none")},aD()),Object.keys(lu);var ld={small:{padding:"".concat(a_(1.5)," ").concat(a_(1.75)),textSize:"small"},medium:{padding:"".concat(a_(1.5)," var(--lns-formFieldHorizontalPadding)"),textSize:"medium"}};eg.textarea(ot(),ab("formFieldBackground"),function(e){return ld[e.size].padding},aP("large"),function(e){return e.error?"var(--lns-color-danger)":"var(--lns-color-formFieldBorder)"},function(e){return aL(ld[e.size].textSize)},function(e){return e.resize},function(e){return e.error?"var(--lns-color-danger)":"var(--lns-color-blurple)"},function(e){return e.error?"var(--lns-color-orangeLight)":"transparent"},function(e){return e.error?"var(--lns-formFieldBorderShadowError)":"var(--lns-formFieldBorderShadowFocus)"},ab("disabledContent"),ab("disabledBackground"),ab("bodyDimmed"));var lf=eg.div(on()),lh=eg.ul(or()),lp=eg.span(oi()),lv=function(e){return Array.isArray(e)&&e.length>0&&"group"in e[0]},lg=function(e){var t=e.options,n=e.selectedOptionValue;if(!t||!n)return{icon:null,title:null};if(!lv(t))return t.find(function(e){return e.value===n})||{icon:null,title:null};var r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value.items.find(function(e){return e.value===n});if(u)return u}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return{icon:null,title:null}},lm=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue;return n?n.icon:r?lg({options:t,selectedOptionValue:r}).icon:void 0},ly=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.placeholder;return n?n.title:r?lg({options:t,selectedOptionValue:r}).title:i},lb=function(e){var t=e.selectedItem,n=e.getInputProps,r=e.ariaMenuName,i=t?"selected value is ".concat(t.title):"no value selected";return{"aria-activedescendant":n()["aria-activedescendant"],"aria-label":[r,i].filter(Boolean).join(", ")}},l_=eg.button(oo()),lw=eg.input(oa(),ab("formFieldBackground"),function(e){return e.hasIcon?a_(5.5):"var(--lns-formFieldHorizontalPadding)"},function(e){return e.hasAddOn?a_(5.5):"var(--lns-formFieldHorizontalPadding)"},function(e){return e.hasError?"var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger)":"var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)"},aE("font-size","medium"),function(e){return e.hasError?"var(--lns-color-danger)":"var(--lns-color-blurple)"},ab("disabledContent"),ab("disabledBackground"),ab("bodyDimmed")),lE=eg.div(os(),a_(6)),lk=eg.div(ou(),a_(6)),lC=eg.div(ol(),function(e){return e.hasIcon?a_(5.5):"var(--lns-formFieldHorizontalPadding)"},a_(5.5)),lx=eg.img(oc(),function(e){return e.isDisabled?.5:1}),lS=function(e){var t=e.selectedItem,n=e.selectedOptionValue,r=e.placeholder,i=e.isDisabled,o=e.options,a=e.getInputProps,s=e.ariaMenuName,u=e.isOpen,l=e.onInputFocus,c=e.hasError,d=e.hasLoader,f=e.inputValue,h=e.handleInputValueChange,p=e.inputRef,v=lm({options:o,selectedItem:t,selectedOptionValue:n}),g=!!v,m=i?"disabledContent":void 0,y=function(){i||l()},b=au(au({role:"combobox","aria-autocomplete":"list","aria-haspopup":"listbox","aria-expanded":u},lb({selectedItem:t,getInputProps:a,ariaMenuName:s})),a({disabled:i,onFocus:y,onClick:y,value:f,onBlur:function(){h("")},onChange:function(e){return h(e.target.value)}})),_=!f&&!n;return B.createElement(l_,{onClick:y,disabled:i},g&&B.createElement(lE,null,"string"==typeof v?B.createElement(ul,{radius:"50",width:3,height:3,overflow:"hidden"},B.createElement(ua,{alignment:"center"},B.createElement(lx,{src:v,alt:"",isDisabled:i}))):B.createElement(sZ,{icon:v,color:m})),B.createElement(lw,al(au({ref:p},b),{hasIcon:g,hasAddOn:!0,hasError:c,isDisabled:i})),!f&&B.createElement(lC,{hasIcon:g},B.createElement(a1,{hasEllipsis:!0,color:_?"bodyDimmed":"inherit"},ly({options:o,selectedItem:t,selectedOptionValue:n,placeholder:r}))),B.createElement(lk,null,d?B.createElement(sQ,{size:"small"}):B.createElement(sZ,{icon:B.createElement(uH,null),color:m})))},lO=function(e,t){if(!lv(t))return null!=(o=t.find(function(t){return t.value===e}))?o:null;var n=!0,r=!1,i=void 0;try{for(var o,a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value.items.find(function(t){return t.value===e});if(u)return u}}catch(e){r=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return null},lI=function(e,t,n,r,i,o){var a=!n&&e.value===r||n&&n.value===e.value;return B.createElement(uJ,al(au({key:t,getItemProps:o,icon:e.icon,hidden:e.hidden},o({key:"".concat(e.value,"-").concat(t),index:t,item:e,disabled:e.isDisabled,"aria-selected":a})),{isDisabled:e.isDisabled,hasDivider:e.hasDivider,isHighlighted:i===t,isSelected:a}),e.title)},lA=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.highlightedIndex,o=e.getItemProps,a=e.isLoading,s=e.loadingMessage,u=e.emptyResultsMessage,l=e.hasAvailableOptions,c=ac(e,["options","selectedItem","selectedOptionValue","highlightedIndex","getItemProps","isLoading","loadingMessage","emptyResultsMessage","hasAvailableOptions"]),d=s||B.createElement(sQ,null);if(a)return B.createElement(uY,au({as:"div"},c),B.createElement(ul,{padding:"large"},B.createElement(ua,{alignment:"center"},d)));if(!l)return B.createElement(uY,au({as:"div"},c),B.createElement(ul,{padding:"large"},B.createElement(ua,{alignment:"center"},u||"No results")));if(!lv(t))return B.createElement(uY,au({},c),t.map(function(e,t){return lI(e,t,n,r,i,o)}));var f=0;return B.createElement(uY,au({},c),t.map(function(e){var t="group-".concat(e.group.replace(/\s+/g,"-"));return B.createElement("li",{key:t},B.createElement(un,{left:"medium",top:"small",bottom:"xsmall"},B.createElement(a1,{id:t,size:"body-sm",fontWeight:"bold"},e.group)),B.createElement(lh,{role:"group","aria-labelledby":t},e.items.map(function(e){return lI(e,f++,n,r,i,o)})))}))};(0,B.forwardRef)(function(e,t){var n=e.container,r=e.onOptionChange,i=e.onInputValueChange,o=e.menuZIndex,a=void 0===o?1100:o,s=e.menuMaxWidth,u=e.menuMaxHeight,l=void 0===u?34:u,c=e.menuMinWidth,d=e.ariaMenuName,f=e.selectedOptionValue,h=e.onOuterClick,p=e.options,v=e.placeholder,g=e.menuPosition,m=void 0===g?"left":g,y=e.isDisabled,b=e.onOpenChange,_=e.isLoading,w=e.loadingMessage,E=e.emptyResultsMessage,k=e.errorMessage,C=ac(e,["container","onOptionChange","onInputValueChange","menuZIndex","menuMaxWidth","menuMaxHeight","menuMinWidth","ariaMenuName","selectedOptionValue","onOuterClick","options","placeholder","menuPosition","isDisabled","onOpenChange","isLoading","loadingMessage","emptyResultsMessage","errorMessage"]),x=uU(n),S=(0,B.useRef)(null),O=(0,B.useCallback)(function(e){S.current=e,t&&("function"==typeof t?t(e):t.current=e)},[t]),I=(0,j._)((0,B.useState)(""),2),A=I[0],T=I[1],L=(0,j._)((0,B.useState)(!1),2),R=L[0],P=L[1],D=(0,j._)((0,B.useState)(lO(f,p)),2),M=D[0],F=D[1],N=(0,j._)((0,B.useState)(M),2),z=N[0],V=N[1],U=function(e){T(e),i&&i(e)},H={itemToString:function(e){return e?e.value:""},onChange:function(e){var t=e||null;V(t),r&&r(t)},onOuterClick:h,environment:x,selectedItem:z,isOpen:R};x&&(H.environment=x);var Z=rZ({isOpen:R,container:n,ResizeObserver:it,placement:u$[m],auto:!0,snap:!0}),$=Z.layerProps,W=Z.triggerProps,G=Z.renderLayer,K=Z.triggerBounds;(0,B.useEffect)(function(){if((f||null)!=(null==M?void 0:M.value)){var e=lO(f,p);F(e),V(e),T("")}},[f,p,M]),(0,B.useEffect)(function(){var e;b&&b(R),R||null==(e=S.current)||e.blur()},[R,b]);var q=(0,B.useMemo)(function(){return!!Array.isArray(p)&&(lv(p)?p.some(function(e){return e.items.length>0}):p.length>0)},[p]);return B.createElement(lf,au({},C),B.createElement(n7,al(au({},H),{stateReducer:function(e,t){if(void 0!==t.isOpen){if(t.type===n7.stateChangeTypes.keyDownEscape)return P(!1),{isOpen:!1};P(t.isOpen)}return t}}),function(e){var t=e.getItemProps,n=e.getInputProps,r=e.getMenuProps,i=e.isOpen,o=e.highlightedIndex,u=e.selectedItem;return B.createElement("div",{role:"presentation"},B.createElement("div",au({},W),B.createElement(lS,{inputRef:O,selectedItem:u,selectedOptionValue:f,placeholder:v,isDisabled:y,options:p,getInputProps:n,ariaMenuName:d,inputValue:A,handleInputValueChange:U,isOpen:R&&i,onInputFocus:function(){P(!0)},hasLoader:_,hasError:!!k})),R&&i&&G(B.createElement("div",al(au({},$),{style:al(au({},$.style),{zIndex:a,width:c?"auto":null==K?void 0:K.width})}),B.createElement(lA,{options:p,selectedItem:u,selectedOptionValue:f,hasAvailableOptions:q,highlightedIndex:o,getItemProps:t,isLoading:_,loadingMessage:w,emptyResultsMessage:E,position:m,downshiftMenuProps:r,maxWidth:s,maxHeight:l,minWidth:c}))),k&&!R?B.createElement(lp,null,k):null)}))}).displayName="Typeahead",eg.div(od());var lT=eg.label(of()),lL=eg.input(oh(),ab("body"),ab("body"),ab("disabledBackground"),ab("blurple"),ab("disabledContent"),aD()),lR=eg.span(op(),a_(2.25),a_(2.25),aP("full"),a_(1),a_(1),aP("full"),ab("white")),lP=(0,B.forwardRef)(function(e,t){var n=e.isDisabled,r=e.isChecked,i=e.onFocus,o=e.onChange,a=e.onBlur,s=ac(e,["isDisabled","isChecked","onFocus","onChange","onBlur"]);return B.createElement(lT,{htmlFor:s.id},B.createElement(lL,au({type:"radio",disabled:n,checked:r,onFocus:i,onChange:o,onBlur:a,ref:t},s)),B.createElement(lR,{className:"RadioBox"}))}),lj={medium:{switchHeight:16,switchWidth:32,knobOffset:2},large:{switchHeight:20,switchWidth:36,knobOffset:2}},lD={knob:{active:{enabled:ab("white"),disabled:ab("disabledContent")},inactive:{enabled:ab("white"),disabled:ab("disabledContent")}},track:{active:{enabled:ab("blurple"),disabled:ab("disabledBackground")},inactive:{enabled:ab("grey6"),disabled:ab("disabledBackground")}}},lM=function(e){return lj[e.switchSize].switchHeight-2*lj[e.switchSize].knobOffset},lF=eg.label(ov()),lB=eg.input(og(),function(e){return lj[e.switchSize].switchWidth},function(e){return lj[e.switchSize].switchHeight},aM(),lD.track.inactive.enabled,lD.track.inactive.disabled,lD.track.active.enabled,lD.track.active.disabled,function(e){return lj[e.switchSize].switchWidth-lj[e.switchSize].switchHeight}),lN=eg.div(om(),function(e){return lj[e.switchSize].switchWidth},function(e){return lj[e.switchSize].switchHeight},function(e){return e.isDisabled?"default":"pointer"},function(e){return lj[e.switchSize].knobOffset},function(e){return lj[e.switchSize].knobOffset},function(e){return lM(e)},function(e){return lM(e)},function(e){return e.isDisabled?lD.knob.active.disabled:lD.knob.active.enabled}),lz={row:{wrapper:{display:"grid",gridTemplateColumns:"auto 1fr",alignItems:"center"},label:{marginLeft:"var(--lns-space-small)"},errorMessage:{marginLeft:"var(--lns-space-small)"}},"row-reverse":{wrapper:{display:"grid",gridTemplateColumns:"1fr auto",alignItems:"center"},label:{}},column:{wrapper:{},label:{marginBottom:"var(--lns-space-xsmall)"}}},lV=eg.div(oy(),function(e){return e.direction&&lz[e.direction].wrapper}),lU=eg.label(ob(),function(e){var t;return e.direction&&(null==(t=lz[e.direction])?void 0:t.label)},function(e){return e.isLabelClickable&&"cursor: pointer"}),lH=eg.span(o_()),lZ=[lP,uN,function(e){var t=e.isActive,n=e.isDisabled,r=e.onChange,i=e.size,o=void 0===i?"medium":i,a=e.ariaLabelledby,s=e.ariaLabel,u=e.ariaDescribedby,l=ac(e,["isActive","isDisabled","onChange","size","ariaLabelledby","ariaLabel","ariaDescribedby"]);if(a&&s)throw Error("ariaLabelledby and ariaLabel serve the same purpose and therefore cannot be used at the same time. Choose the one that best suites your needs.");return B.createElement(lF,{htmlFor:l.id},B.createElement(lB,al(au({},l),{checked:t,disabled:n,onChange:r,type:"checkbox",switchSize:o,"aria-labelledby":a,"aria-label":s,"aria-describedby":u,"aria-checked":t})),B.createElement(lN,{className:"SwitchBox",isDisabled:n,isActive:t,switchSize:o}))}],l$=function(e){var t=e.label,n=e.children,r=e.errorMessage,i=e.labelFor,o=e.direction,a=void 0===o?"column":o,s=ac(e,["label","children","errorMessage","labelFor","direction"]),u=B.Children.toArray(n).some(function(e){var t;return(0,B.isValidElement)(e)&&"string"!=typeof e.type&&(t=e.type,lZ.includes(t))}),l=t&&B.createElement(lU,{direction:a,htmlFor:i,isLabelClickable:u},t);return B.createElement(lV,au({direction:a},s),"row"===a&&B.createElement(B.Fragment,null,n,l),"column"===a&&B.createElement(B.Fragment,null,l,n),"row-reverse"===a&&B.createElement(B.Fragment,null,l,n),r&&B.createElement(lH,null,r))},lW={info:{bgColor:"var(--lns-color-blurple)",icon:B.createElement(function(){return B.createElement(io.Z,{label:"",testId:"ads-refreshed-icon"})},null),color:"var(--lns-color-white)",fontFamily:"inherit"},warning:{bgColor:"var(--lns-color-warning)",icon:B.createElement(function(e){return B.createElement("svg",au({viewBox:"0 0 24 24",fill:"none"},e),B.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M7.42 2.293A1 1 0 0 1 8.127 2h7.245a1 1 0 0 1 .708.293l5.127 5.127a1 1 0 0 1 .293.707v7.245a1 1 0 0 1-.293.708l-5.127 5.127a1 1 0 0 1-.707.293H8.128a1 1 0 0 1-.708-.293L2.293 16.08A1 1 0 0 1 2 15.373V8.128a1 1 0 0 1 .293-.708L7.42 2.293ZM8.542 4 4 8.542v6.416L8.542 19.5h6.416l4.542-4.542V8.542L14.958 4H8.542Zm2.208 11.25a1 1 0 0 1 1-1h.009a1 1 0 1 1 0 2h-.009a1 1 0 0 1-1-1Zm2-7a1 1 0 1 0-2 0v3.5a1 1 0 1 0 2 0v-3.5Z"}))},null),color:"var(--lns-color-grey8)",fontFamily:"inherit"},error:{bgColor:"var(--lns-color-danger)",icon:B.createElement(function(){return B.createElement(nb.Z,{label:"",testId:"ads-refreshed-icon"})},null),color:"var(--lns-color-white)",fontFamily:"inherit"},internal:{icon:B.createElement("span",{role:"img"},"\uD83D\uDD14"),color:"var(--lns-color-tealLight)",bgColor:"var(--lns-color-grey8)",fontFamily:"var(--lns-fontFamily-code)"}};eg.aside(ow(),function(e){return"background-color: ".concat(lW[e.severity].bgColor)},function(e){return"font-family: ".concat(lW[e.severity].fontFamily)},function(e){return"color: ".concat(lW[e.severity].color)},350,350,function(e){return e.isOpen?"1":"0"},function(e){return e.isOpen?"translateY(0px)":"translateY(-100%)"});var lG="web-app",lK="chrome-extension",lq=function(e){switch(e){case lG:return"unset";case lK:return a_(4);default:return"unset"}},lJ=function(e){switch(e){case lG:return a_(4);case lK:return"unset";default:return a_(4)}};eg.div(ok(),function(e){var t,n;return t=e.toastDuration,n=e.platform,(0,em.F4)(oE(),a_(n===lK?-8:8),300/t*100,100-300/t*100)},function(e){return e.toastDuration},ab("backgroundInverse"),aP("250"),function(e){return lq(e.platform)},function(e){return lJ(e.platform)},aj("large"),ab("bodyInverse"),a_(50),a_(50),a_(1.5),a_(1.5),function(e){return e.zIndex}),eg.div(oC());var lY={topLeft:"top-start",topCenter:"top-center",topRight:"top-end",bottomLeft:"bottom-start",bottomCenter:"bottom-center",bottomRight:"bottom-end",leftTop:"left-start",leftCenter:"left-center",leftBottom:"left-end",rightTop:"right-start",rightCenter:"right-center",rightBottom:"right-end"},lX=aV.small.fontSize*aV.small.lineHeight,lQ=eg.div(ox(),ab("backgroundInverse"),ab("bodyInverse"),aP("150"),aR("bold"),aL("small"),aj("medium"),function(e){return aE("max-width",e.maxWidth)},a_((4-lX)/2),a_(1.5),function(e){return e.zIndex}),l0=eg.div(oS(),ab("grey7"),ab("grey3"),aR("bold"),aL("small"),a_(.5),a_(.5)),l1=function(e){var t=e.children;return B.createElement(l0,null,t)},l2=function(e){var t=e.children,n=e.maxWidth,r=e.onMouseEnter,i=e.onMouseLeave,o=e.layerProps,a=e.zIndex,s=ac(e,["children","maxWidth","onMouseEnter","onMouseLeave","layerProps","zIndex"]);return B.createElement(lQ,au(au({maxWidth:n,onMouseEnter:r,onMouseLeave:i,zIndex:a},o),s),t)},l5=eg.div(oO(),function(e){return e.isInline?"inline-block":"block"},function(e){return e.verticalAlign&&"vertical-align: ".concat(e.verticalAlign)});Object.keys(lY);var l3=function(e){var t=e.ariaLive,n=e.children,r=e.content,i=e.shortcut,o=e.placement,a=e.keepOpen,s=e.triggerOffset,u=e.maxWidth,l=e.isInline,c=e.isDisabled,d=e.container,f=e.tabIndex,h=e.zIndex,p=e.verticalAlign,v=e.delay,g=e.tooltipId,m=ac(e,["ariaLive","children","content","shortcut","placement","keepOpen","triggerOffset","maxWidth","isInline","isDisabled","container","tabIndex","zIndex","verticalAlign","delay","tooltipId"]),y=(0,j._)(function(e){var t=void 0===e?{}:e,n=t.delayEnter,r=void 0===n?0:n,i=t.delayLeave,o=void 0===i?0:i,a=t.hideOnScroll,s=void 0===a||a,u=(0,B.useState)(!1),l=u[0],c=u[1],d=(0,B.useRef)(null),f=(0,B.useRef)(I.IDLE),h=(0,B.useRef)(!1),p=(0,B.useCallback)(function(){clearTimeout(d.current),d.current=null,f.current=I.IDLE},[]);function v(e,t){if(f.current===I.ENTERING&&d.current&&p(),l){if(t){c(!1),d.current=null,f.current=I.IDLE;return}f.current=I.LEAVING,d.current=window.setTimeout(function(){c(!1),d.current=null,f.current=I.IDLE},o)}}return(0,B.useEffect)(function(){function e(){l&&s&&(p(),c(!1))}return window.addEventListener("scroll",e,!0),function(){window.removeEventListener("scroll",e,!0),d.current&&clearTimeout(d.current)}},[l,s,p]),[l,{onMouseEnter:function(){f.current===I.LEAVING&&d.current&&p(),l||(f.current=I.ENTERING,d.current=window.setTimeout(function(){c(!0),d.current=null,f.current=I.IDLE},r))},onMouseLeave:v,onTouchStart:function(){h.current=!1},onTouchMove:function(){h.current=!0},onTouchEnd:function(){h.current||l||c(!0),h.current=!1}},function(){return v(null,!0)}]}({delayEnter:function(e){switch(e){case"immediate":default:return 200;case"long":return 800}}(void 0===v?"immediate":v),delayLeave:200}),2),b=y[0],_=y[1],w=(0,j._)((0,B.useState)(!1),2),E=w[0],k=w[1],C=(0,j._)((0,B.useState)(!1),2),x=C[0],S=C[1],O=(0,j._)((0,B.useState)(!1),2),A=O[0],T=O[1],L=(0,B.useRef)(),R=!r||c;(0,B.useEffect)(function(){if(R){S(!1);return}var e=E&&a;(b||e)&&S(!0),b||e||A||S(!1)},[r,c,E,R,a,S,b,A]);var P=function(){S(!1),T(!1)};(0,B.useEffect)(function(){if(x){var e=function(e){"Escape"===e.key&&(e.preventDefault(),P())};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}},[x,S]);var D=rZ({isOpen:x,placement:lY[void 0===o?"topCenter":o],ResizeObserver:it,triggerOffset:void 0===s?4:s,container:d,auto:!0}),M=D.layerProps,F=D.triggerProps,N=D.renderLayer;return B.createElement(B.Fragment,null,B.createElement(l5,al(au(au({},F),_),{onClick:function(e){0===e.detail&&T(!0)},onFocus:function(){T(!1),R||S(!0)},onBlur:P,isInline:void 0===l||l,verticalAlign:void 0===p?"middle":p,tabIndex:R?-1:void 0===f?0:f,ref:rk(F.ref,L)}),n),void 0!==t&&t&&B.createElement("span",{className:"srOnly","aria-live":"polite"},x&&r),x&&N(B.createElement("div",al(au({},M),{style:al(au({},M.style),{zIndex:void 0===h?1100:h})}),B.createElement(l2,au({maxWidth:void 0===u?26:u,onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)},role:"tooltip",id:g},m),B.createElement(uS,{gap:"small"},B.createElement(a1,{size:"small",fontWeight:"bold"},r),i&&B.createElement(uS,{gap:"xsmall"},i.map(function(e,t){return B.createElement(l1,{key:t},e)})))))))},l4=(0,em.iv)(oI());eg.div(oA(),function(e){return aL(e.size)},function(e){return e.animated&&l4},function(e){return e.lines>1&&"\n &:nth-of-type(3n+1) {\n width: calc(100% - 2.25rem);\n }\n &:nth-of-type(3n) {\n width: calc(100% - 4.125rem);\n }\n }\n "}),eg.div(oT(),function(e){return aP(e.radius)},function(e){return e.height},function(e){return e.width},function(e){return e.animated&&l4});var l6=function(e){return B.createElement("defs",null,B.createElement("radialGradient",{id:"ai-logo-".concat(e,"-gradient-1"),cx:"50%",cy:"50%",r:"100%",fx:"0%",fy:"0%"},B.createElement("stop",{offset:"30%",stopColor:"#97ACFD"}),B.createElement("stop",{offset:"33%",stopColor:"#B3B2F4"}),B.createElement("stop",{offset:"43%",stopColor:"#DEB0E0"}),B.createElement("stop",{offset:"50%",stopColor:"#DFC6E5"}),B.createElement("stop",{offset:"72%",stopColor:"#6663F6"})),B.createElement("radialGradient",{id:"ai-logo-".concat(e,"-gradient-2"),r:"100%",fx:"40%",fy:"72%"},B.createElement("stop",{offset:"20%",stopColor:"#615CF500"}),B.createElement("stop",{offset:"32%",stopColor:"#615CF550"}),B.createElement("stop",{offset:"48%",stopColor:"#6663F6"})),B.createElement("radialGradient",{id:"ai-logo-".concat(e,"-gradient-3"),r:"100%",fx:"0%",fy:"100%"},B.createElement("stop",{offset:"25%",stopColor:"#6663F6"}),B.createElement("stop",{offset:"38%",stopColor:"#6E68F450"}),B.createElement("stop",{offset:"45%",stopColor:"#6E68F400"})))},l7="M30 15.4433C30 16.6091 29.0933 16.8581 27.9562 16.9301C22.5158 17.2323 16.7962 22.686 16.4795 28.112C16.422 29.2634 16.173 30.1702 15.0072 30.1702C13.8414 30.1702 13.578 29.2634 13.5205 28.0976C13.2038 22.686 7.48416 17.2323 2.05814 16.9301C0.906735 16.8581 0 16.6091 0 15.4433C0 14.2775 0.906735 14.043 2.05814 13.971C7.48416 13.6687 13.2038 7.65433 13.5205 2.22831C13.578 1.0769 13.827 0.170166 15.0072 0.170166C16.1874 0.170166 16.422 1.0769 16.4795 2.22831C16.7962 7.65433 22.5158 13.6687 27.9419 13.971C29.0933 14.043 30 14.2919 30 15.4433Z",l8=function(e){var t=e.brand,n=e.symbolColor,r=e.customId,i=ac(e,["brand","symbolColor","customId"]);switch(t){case"ai":return B.createElement("svg",au({"aria-label":"Loom AI",viewBox:"0 0 30 31",fill:"none"},i),B.createElement("title",null,"Loom AI"),n?B.createElement("path",{d:l7,fill:ab(n)}):B.createElement(B.Fragment,null,l6(r),(0,M._)([,,,]).map(function(e,t){return B.createElement("path",{key:t,d:l7,fill:"url(#ai-logo-".concat(r,"-gradient-").concat(t+1)})})));case"apptile":return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 40 40",fill:"none"},i),B.createElement("title",null,"Loom"),B.createElement("path",{d:"M0 12C0 5.37258 5.37258 0 12 0H28C34.6274 0 40 5.37258 40 12V28C40 34.6274 34.6274 40 28 40H12C5.37258 40 0 34.6274 0 28V12Z",fill:n?ab(n):ab("blurple")}),B.createElement("path",{d:"M32.3962 18.6213H25.1467L31.4251 14.9965L30.0463 12.6077L23.768 16.2325L27.392 9.95464L25.0032 8.57506L21.3792 14.8529V7.604H18.6215V14.8536L14.9961 8.57506L12.6081 9.95395L16.2327 16.2318L9.95437 12.6077L8.57552 14.9958L14.8539 18.6206H7.60449V21.3784H14.8532L8.57552 25.0032L9.95437 27.392L16.2321 23.7679L12.6074 30.0457L14.9961 31.4246L18.6208 25.1461V32.3957H21.3785V25.1468L25.0025 31.4246L27.3912 30.0457L23.7665 23.7672L30.0449 27.392L31.4238 25.0032L25.1461 21.3791H32.3947V18.6213H32.3962ZM20.0003 23.7505C17.921 23.7505 16.2355 22.0651 16.2355 19.9856C16.2355 17.9062 17.921 16.2207 20.0003 16.2207C22.0797 16.2207 23.7651 17.9062 23.7651 19.9856C23.7651 22.0651 22.0797 23.7505 20.0003 23.7505Z",fill:"white"}));case"product":return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 40 40",fill:"none"},i),B.createElement("path",{d:"M0 9.25C0 4.14137 4.14137 0 9.25 0H30.75C35.8586 0 40 4.14137 40 9.25V30.75C40 35.8586 35.8586 40 30.75 40H9.25C4.14137 40 0 35.8586 0 30.75V9.25Z",fill:n?ab(n):ab("primary")}),B.createElement("path",{d:"M32.3962 18.6756H25.1467L31.4251 15.0508L30.0463 12.662L23.768 16.2868L27.392 10.009L25.0032 8.62938L21.3792 14.9072V7.65833H18.6215V14.9079L14.9961 8.62938L12.6081 10.0083L16.2327 16.2861L9.95437 12.662L8.57552 15.0501L14.8539 18.6749H7.60449V21.4327H14.8532L8.57552 25.0575L9.95437 27.4463L16.2321 23.8222L12.6074 30.1L14.9961 31.4789L18.6208 25.2004V32.45H21.3785V25.2011L25.0025 31.4789L27.3912 30.1L23.7665 23.8215L30.0449 27.4463L31.4238 25.0575L25.1461 21.4334H32.3947V18.6756H32.3962ZM20.0003 23.8048C17.921 23.8048 16.2355 22.1194 16.2355 20.0399C16.2355 17.9605 17.921 16.275 20.0003 16.275C22.0797 16.275 23.7651 17.9605 23.7651 20.0399C23.7651 22.1194 22.0797 23.8048 20.0003 23.8048Z",fill:"white"}));default:return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 31 30",fill:"none"},i),B.createElement("title",null,"Loom"),B.createElement("path",{d:"M30.01 13.43h-9.142l7.917-4.57-1.57-2.72-7.918 4.57 4.57-7.915-2.72-1.57-4.571 7.913V0h-3.142v9.139L8.863 1.225l-2.721 1.57 4.57 7.913L2.796 6.14 1.225 8.86l7.917 4.57H0v3.141h9.141l-7.916 4.57 1.57 2.72 7.918-4.57-4.571 7.915 2.72 1.57 4.572-7.914V30h3.142v-9.334l4.655 8.06 2.551-1.472-4.656-8.062 8.087 4.668 1.571-2.72-7.916-4.57h9.141v-3.14h.001zm-15.005 5.84a4.271 4.271 0 11-.001-8.542 4.271 4.271 0 01.001 8.542z",fill:n?ab(n):ab("primary")}))}},l9=function(e){var t=e.brand,n=e.wordmarkColor,r=ac(e,["brand","wordmarkColor"]);switch(t){case"ai":return B.createElement("svg",au({"aria-label":"Loom AI",viewBox:"0 0 94 23",fill:n},r),B.createElement("title",null,"Loom AI"),B.createElement("path",{d:"M4.12637 22.4624H0V0H4.12637V22.4624Z"}),B.createElement("path",{d:"M13.3999 19.1737C15.4166 19.1737 17.2781 17.7155 17.2781 14.8301C17.2781 11.9448 15.4166 10.4866 13.3999 10.4866C11.3833 10.4866 9.52175 11.9448 9.52175 14.8301C9.52175 17.6845 11.3833 19.1737 13.3999 19.1737ZM13.3999 6.7325C17.9606 6.7325 21.4045 10.1143 21.4045 14.8301C21.4045 19.515 17.9606 22.9277 13.3999 22.9277C8.83919 22.9277 5.39538 19.515 5.39538 14.8301C5.39538 10.1143 8.83919 6.7325 13.3999 6.7325Z"}),B.createElement("path",{d:"M29.7548 19.1737C31.7714 19.1737 33.6329 17.7155 33.6329 14.8301C33.6329 11.9448 31.7714 10.4866 29.7548 10.4866C27.7381 10.4866 25.8766 11.9448 25.8766 14.8301C25.8766 17.6845 27.7381 19.1737 29.7548 19.1737ZM29.7548 6.7325C34.3155 6.7325 37.7593 10.1143 37.7593 14.8301C37.7593 19.515 34.3155 22.9277 29.7548 22.9277C25.194 22.9277 21.7502 19.515 21.7502 14.8301C21.7502 10.1143 25.194 6.7325 29.7548 6.7325Z"}),B.createElement("path",{d:"M43.1622 22.4624H39.0358V7.19788H42.976V9.05941C43.8137 7.57019 45.7683 6.76353 47.4437 6.76353C49.5224 6.76353 51.1978 7.66326 51.9734 9.30761C53.1834 7.44609 54.7967 6.76353 56.8134 6.76353C59.6367 6.76353 62.3359 8.46992 62.3359 12.5653V22.4624H58.3336V13.403C58.3336 11.7586 57.5269 10.5176 55.6344 10.5176C53.8659 10.5176 52.8111 11.8827 52.8111 13.5271V22.4624H48.7157V13.403C48.7157 11.7586 47.878 10.5176 46.0165 10.5176C44.2171 10.5176 43.1622 11.8517 43.1622 13.5271V22.4624Z"}),B.createElement("path",{d:"M84.1324 22.4624L82.3019 17.4363H73.3666L71.5361 22.4624H67.0064L75.4453 0.46538H80.4093L88.7862 22.4624H84.1324ZM77.8342 5.21226L74.7937 13.5271H80.8747L77.8342 5.21226Z"}),B.createElement("path",{d:"M94 22.4624H89.6565V0.46538H94V22.4624Z"}));case"product":return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 104 30",fill:"none"},r),B.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.4383 7.29662C34.6059 7.29671 36.4904 7.77257 38.0897 8.72422C39.6888 9.67592 40.9247 11.0053 41.797 12.7102C42.6692 14.402 43.1045 16.3852 43.1045 18.6585C43.1044 20.9186 42.6693 22.9018 41.797 24.6068C40.9247 26.2985 39.6888 27.6207 38.0897 28.5724C36.4904 29.524 34.6059 29.9999 32.4383 30C30.2704 30 28.379 29.5241 26.7664 28.5724C25.1672 27.6208 23.9315 26.2985 23.0591 24.6068C22.1868 22.9018 21.7517 20.9186 21.7516 18.6585C21.7516 16.3851 22.1869 14.402 23.0591 12.7102C23.9315 11.0051 25.1671 9.67594 26.7664 8.72422C28.379 7.77249 30.2704 7.29662 32.4383 7.29662ZM32.4383 11.7584C31.3279 11.7584 30.3954 12.0564 29.642 12.6513C28.902 13.2461 28.3393 14.0587 27.956 15.0895C27.5861 16.1204 27.4009 17.3105 27.4009 18.6585C27.4009 19.9801 27.586 21.163 27.956 22.2071C28.3393 23.238 28.9019 24.0506 29.642 24.6454C30.3954 25.2402 31.3279 25.5382 32.4383 25.5382C33.5351 25.5381 34.4608 25.2401 35.2141 24.6454C35.9673 24.0506 36.53 23.2307 36.9001 22.1867C37.2831 21.1428 37.4733 19.9666 37.4734 18.6585C37.4734 17.324 37.2831 16.1406 36.9001 15.1099C36.5301 14.0661 35.9671 13.246 35.2141 12.6513C34.4608 12.0565 33.5351 11.7585 32.4383 11.7584Z",fill:n}),B.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.9839 7.29662C59.1517 7.29662 61.036 7.77249 62.6354 8.72422C64.2348 9.67596 65.4702 11.005 66.3426 12.7102C67.215 14.4021 67.6524 16.385 67.6524 18.6585C67.6523 20.9186 67.215 22.9018 66.3426 24.6068C65.4702 26.2985 64.2346 27.6208 62.6354 28.5724C61.036 29.524 59.1516 30 56.9839 30C54.8166 29.9999 52.9267 29.5238 51.3143 28.5724C49.7151 27.6208 48.4795 26.2984 47.6071 24.6068C46.7347 22.9018 46.2974 20.9186 46.2973 18.6585C46.2973 16.3849 46.7346 14.4021 47.6071 12.7102C48.4795 11.005 49.7149 9.67596 51.3143 8.72422C52.9267 7.77274 54.8165 7.29671 56.9839 7.29662ZM56.9839 11.7584C55.8739 11.7585 54.9432 12.0566 54.1899 12.6513C53.4497 13.2461 52.8873 14.0585 52.504 15.0895C52.1339 16.1205 51.9488 17.3104 51.9488 18.6585C51.9488 19.9801 52.1339 21.163 52.504 22.2071C52.8873 23.2381 53.4497 24.0506 54.1899 24.6454C54.9431 25.2399 55.874 25.5381 56.9839 25.5382C58.081 25.5382 59.0064 25.2402 59.7598 24.6454C60.5133 24.0505 61.0756 23.231 61.4457 22.1867C61.8289 21.1427 62.0212 19.9667 62.0213 18.6585C62.0213 17.3239 61.8288 16.1407 61.4457 15.1099C61.0756 14.0657 60.5132 13.2461 59.7598 12.6513C59.0063 12.0564 58.081 11.7584 56.9839 11.7584Z",fill:n}),B.createElement("path",{d:"M5.69001 24.7655H18.7174V29.5445H0V0H5.69001V24.7655Z",fill:n}),B.createElement("path",{d:"M96.2633 7.2581C97.5984 7.2581 98.7952 7.54891 99.8527 8.13052C100.923 8.71205 101.762 9.56357 102.37 10.6866C102.991 11.8101 103.302 13.1852 103.302 14.8108V29.5445H97.7498V15.7625C97.7497 14.4545 97.3936 13.49 96.6803 12.8688C95.9667 12.2345 95.1007 11.9173 94.0834 11.9171C93.2908 11.9171 92.6027 12.0882 92.0213 12.4315C91.453 12.7751 91.0084 13.2511 90.6911 13.8591C90.3871 14.4671 90.2357 15.176 90.2357 15.9823V29.5445H84.8629V15.5654C84.8629 14.4552 84.5262 13.5682 83.8523 12.9073C83.1781 12.2464 82.3106 11.9171 81.2531 11.9171C80.5396 11.9172 79.8853 12.088 79.2907 12.4315C78.6959 12.7619 78.22 13.2521 77.8631 13.8998C77.5196 14.5343 77.3487 15.3205 77.3487 16.2588V29.5445H71.797V7.61387H77.0111L77.1652 11.7584C77.4644 10.9601 77.8429 10.2729 78.3005 9.69635C78.9746 8.86369 79.7606 8.24832 80.6594 7.8518C81.558 7.45546 82.496 7.25818 83.4738 7.2581C85.0733 7.2581 86.383 7.75323 87.4009 8.74462C88.2044 9.52754 88.8088 10.6088 89.225 11.985C89.5312 11.1783 89.9349 10.4756 90.4351 9.87537C91.1621 9.00295 92.0273 8.34693 93.032 7.91072C94.0364 7.47471 95.1136 7.2581 96.2633 7.2581Z",fill:n}));default:return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 62 23",fill:n},r),B.createElement("title",null,"Loom"),B.createElement("path",{d:"M.109 21.973V.027h4.028v21.946H.109zM38.742 7.059h3.846v1.82c.818-1.456 2.727-2.244 4.362-2.244 2.03 0 3.665.88 4.422 2.485 1.18-1.82 2.756-2.485 4.725-2.485 2.756 0 5.39 1.667 5.39 5.668v9.67h-3.906v-8.851c0-1.607-.788-2.82-2.636-2.82-1.727 0-2.757 1.335-2.757 2.942v8.73h-3.997v-8.852c0-1.607-.817-2.82-2.635-2.82-1.757 0-2.787 1.305-2.787 2.942v8.73h-4.027V7.059zM13.24 22.405c-4.537 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.288 7.889-7.824 7.889zm0-12.135a4.25 4.25 0 00-4.244 4.247 4.25 4.25 0 004.244 4.247 4.25 4.25 0 004.243-4.247 4.25 4.25 0 00-4.243-4.247zM29.667 22.405c-4.538 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.29 7.889-7.824 7.889zm0-12.186a4.3 4.3 0 00-4.293 4.296 4.3 4.3 0 004.293 4.296 4.3 4.3 0 004.293-4.296 4.3 4.3 0 00-4.293-4.296z"}))}},ce="M100 7.76427C100 8.35691 99.539 8.48348 98.961 8.52007C96.1953 8.67371 93.2877 11.4461 93.1267 14.2045C93.0975 14.7898 92.9709 15.2508 92.3783 15.2508C91.7856 15.2508 91.6517 14.7898 91.6225 14.1972C91.4615 11.4461 88.5539 8.67371 85.7955 8.52007C85.2102 8.48348 84.7492 8.35691 84.7492 7.76427C84.7492 7.17162 85.2102 7.05237 85.7955 7.01578C88.5539 6.86213 91.4615 3.80464 91.6225 1.04628C91.6517 0.460948 91.7783 0 92.3783 0C92.9782 0 93.0975 0.460948 93.1267 1.04628C93.2877 3.80464 96.1953 6.86213 98.9537 7.01578C99.539 7.05237 100 7.17894 100 7.76427Z",ct=function(e){var t=e.brand,n=e.wordmarkColor,r=e.symbolColor,i=e.customId,o=ac(e,["brand","wordmarkColor","symbolColor","customId"]);switch(t){case"ai":return B.createElement("svg",au({"aria-label":"Loom AI",viewBox:"0 0 100 30",fill:"none"},o),B.createElement("title",null,"Loom AI"),r?B.createElement("path",{d:ce,fill:ab(r)}):B.createElement(B.Fragment,null,l6(i),(0,M._)([,,,]).map(function(e,t){return B.createElement("path",{key:t,d:ce,fill:"url(#ai-logo-".concat(i,"-gradient-").concat(t+1)})})),B.createElement("g",{fill:n},B.createElement("path",{d:"M4.1997 29.5909H0.570312V9.83386H4.1997V29.5909Z"}),B.createElement("path",{d:"M12.3563 26.6983C14.1301 26.6983 15.7674 25.4157 15.7674 22.8778C15.7674 20.34 14.1301 19.0574 12.3563 19.0574C10.5826 19.0574 8.94526 20.34 8.94526 22.8778C8.94526 25.3884 10.5826 26.6983 12.3563 26.6983ZM12.3563 15.7555C16.3678 15.7555 19.3968 18.73 19.3968 22.8778C19.3968 26.9984 16.3678 30.0002 12.3563 30.0002C8.34491 30.0002 5.31587 26.9984 5.31587 22.8778C5.31587 18.73 8.34491 15.7555 12.3563 15.7555Z"}),B.createElement("path",{d:"M26.7414 26.6983C28.5152 26.6983 30.1525 25.4157 30.1525 22.8778C30.1525 20.34 28.5152 19.0574 26.7414 19.0574C24.9676 19.0574 23.3303 20.34 23.3303 22.8778C23.3303 25.3884 24.9676 26.6983 26.7414 26.6983ZM26.7414 15.7555C30.7528 15.7555 33.7819 18.73 33.7819 22.8778C33.7819 26.9984 30.7528 30.0002 26.7414 30.0002C22.73 30.0002 19.7009 26.9984 19.7009 22.8778C19.7009 18.73 22.73 15.7555 26.7414 15.7555Z"}),B.createElement("path",{d:"M38.534 29.5909H34.9047V16.1648H38.3703V17.8022C39.1071 16.4923 40.8263 15.7828 42.2999 15.7828C44.1282 15.7828 45.6018 16.5742 46.284 18.0205C47.3483 16.3831 48.7673 15.7828 50.5411 15.7828C53.0243 15.7828 55.3984 17.2837 55.3984 20.8858V29.5909H51.8782V21.6226C51.8782 20.1763 51.1687 19.0847 49.5041 19.0847C47.9486 19.0847 47.0208 20.2854 47.0208 21.7317V29.5909H43.4187V21.6226C43.4187 20.1763 42.6819 19.0847 41.0446 19.0847C39.4619 19.0847 38.534 20.2581 38.534 21.7317V29.5909Z"}),B.createElement("path",{d:"M74.5698 29.5909L72.9598 25.1701H65.1006L63.4906 29.5909H59.5064L66.929 10.2432H71.2951L78.6631 29.5909H74.5698ZM69.0302 14.4184L66.3559 21.7317H71.7045L69.0302 14.4184Z"}),B.createElement("path",{d:"M83.249 29.5909H79.4285V10.2432H83.249V29.5909Z"})));case"apptile":return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 103 40",fill:"none"},o),B.createElement("title",null,"Loom"),B.createElement("path",{d:"M0 12C0 5.37258 5.37258 0 12 0H28C34.6274 0 40 5.37258 40 12V28C40 34.6274 34.6274 40 28 40H12C5.37258 40 0 34.6274 0 28V12Z",fill:r?ab(r):ab("blurple")}),B.createElement("path",{d:"M32.3962 18.6213H25.1467L31.4251 14.9965L30.0463 12.6077L23.768 16.2325L27.392 9.95464L25.0032 8.57506L21.3792 14.8529V7.604H18.6215V14.8536L14.9961 8.57506L12.6081 9.95395L16.2327 16.2318L9.95437 12.6077L8.57552 14.9958L14.8539 18.6206H7.60449V21.3784H14.8532L8.57552 25.0032L9.95437 27.392L16.2321 23.7679L12.6074 30.0457L14.9961 31.4246L18.6208 25.1461V32.3957H21.3785V25.1468L25.0025 31.4246L27.3912 30.0457L23.7665 23.7672L30.0449 27.392L31.4238 25.0032L25.1461 21.3791H32.3947V18.6213H32.3962ZM20.0003 23.7505C17.921 23.7505 16.2355 22.0651 16.2355 19.9856C16.2355 17.9062 17.921 16.2207 20.0003 16.2207C22.0797 16.2207 23.7651 17.9062 23.7651 19.9856C23.7651 22.0651 22.0797 23.7505 20.0003 23.7505Z",fill:"white"}),B.createElement("g",{fill:n},B.createElement("path",{d:"M47.6001 29.5076V10H51.1816V29.5076H47.6001Z"}),B.createElement("path",{d:"M81.9516 16.2509H85.3718V17.8682C86.0987 16.575 87.7961 15.8739 89.2499 15.8739C91.0549 15.8739 92.5086 16.6556 93.1818 18.0832C94.2314 16.4659 95.633 15.8739 97.3834 15.8739C99.8338 15.8739 102.177 17.356 102.177 20.9122V29.5076H98.7027V21.6402C98.7027 20.2119 98.0019 19.1345 96.3591 19.1345C94.8238 19.1345 93.9079 20.3202 93.9079 21.7485V29.5084H90.3541V21.6402C90.3541 20.2119 89.6272 19.1345 88.0104 19.1345C86.4483 19.1345 85.5323 20.2933 85.5323 21.7485V29.5084H81.9516V16.2509Z"}),B.createElement("path",{d:"M59.2755 29.8916C55.2407 29.8916 52.3189 26.899 52.3189 22.8795C52.3189 18.9241 55.2312 15.8603 59.2755 15.8603C63.3394 15.8603 66.232 18.9526 66.232 22.8795C66.232 26.8697 63.3086 29.8916 59.2755 29.8916ZM59.2755 19.1051C57.1944 19.1051 55.5018 20.7983 55.5018 22.8803C55.5018 24.9624 57.1944 26.6555 59.2755 26.6555C61.3565 26.6555 63.0484 24.9624 63.0484 22.8803C63.0484 20.7983 61.3565 19.1051 59.2755 19.1051Z"}),B.createElement("path",{d:"M73.8823 29.8916C69.8476 29.8916 66.9258 26.899 66.9258 22.8795C66.9258 18.9241 69.8381 15.8603 73.8823 15.8603C77.9463 15.8603 80.8389 18.9526 80.8389 22.8795C80.8389 26.8697 77.9139 29.8916 73.8823 29.8916ZM73.8823 19.0601C71.7776 19.0601 70.0652 20.7738 70.0652 22.8788C70.0652 24.9837 71.7776 26.6974 73.8823 26.6974C75.9871 26.6974 77.6995 24.9837 77.6995 22.8788C77.6988 20.7738 75.9863 19.0601 73.8823 19.0601Z"})));case"product":return B.createElement("svg",au({viewBox:"0 0 112 40",fill:"none","aria-label":"Loom"},o),B.createElement("path",{d:"M0 9.25C0 4.14137 4.14137 0 9.25 0H30.75C35.8586 0 40 4.14137 40 9.25V30.75C40 35.8586 35.8586 40 30.75 40H9.25C4.14137 40 0 35.8586 0 30.75V9.25Z",fill:r?ab(r):ab("primary")}),B.createElement("path",{d:"M32.3962 18.6756H25.1467L31.4251 15.0508L30.0463 12.662L23.768 16.2868L27.392 10.009L25.0032 8.62938L21.3792 14.9072V7.65833H18.6215V14.9079L14.9961 8.62938L12.6081 10.0083L16.2327 16.2861L9.95437 12.662L8.57552 15.0501L14.8539 18.6749H7.60449V21.4327H14.8532L8.57552 25.0575L9.95437 27.4463L16.2321 23.8222L12.6074 30.1L14.9961 31.4789L18.6208 25.2004V32.45H21.3785V25.2011L25.0025 31.4789L27.3912 30.1L23.7665 23.8215L30.0449 27.4463L31.4238 25.0575L25.1461 21.4334H32.3947L32.3962 18.6756ZM20.0003 23.8048C17.921 23.8048 16.2355 22.1194 16.2355 20.0399C16.2355 17.9605 17.921 16.275 20.0003 16.275C22.0797 16.275 23.7651 17.9605 23.7651 20.0399C23.7651 22.1194 22.0797 23.8048 20.0003 23.8048Z",fill:"white"}),B.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M70.3743 15.1855C71.6352 15.1855 72.7252 15.459 73.6442 16.0059C74.5709 16.5527 75.2848 17.3237 75.7861 18.3187C76.2874 19.3061 76.5381 20.4568 76.5381 21.7708C76.5381 23.0773 76.2874 24.2242 75.7861 25.2116C75.2848 26.199 74.5709 26.9661 73.6442 27.513C72.7252 28.0599 71.6352 28.3333 70.3743 28.3333C69.1135 28.3333 68.0197 28.0599 67.0931 27.513C66.174 26.9661 65.4639 26.199 64.9626 25.2116C64.4613 24.2242 64.2106 23.0773 64.2106 21.7708C64.2106 20.4568 64.4613 19.3061 64.9626 18.3187C65.4639 17.3237 66.174 16.5527 67.0931 16.0059C68.0197 15.459 69.1135 15.1855 70.3743 15.1855ZM70.3743 17.7376C69.7287 17.7376 69.1895 17.9161 68.7565 18.2731C68.3312 18.6225 68.0084 19.101 67.7881 19.7087C67.5754 20.3087 67.4691 20.9923 67.4691 21.7594C67.4691 22.519 67.5754 23.2026 67.7881 23.8102C68.0084 24.4179 68.3312 24.9002 68.7565 25.2572C69.1895 25.6066 69.7287 25.7812 70.3743 25.7812C71.02 25.7812 71.5592 25.6066 71.9922 25.2572C72.4251 24.9002 72.7479 24.4179 72.9606 23.8102C73.1733 23.2026 73.2796 22.519 73.2796 21.7594C73.2796 20.9999 73.1733 20.3163 72.9606 19.7087C72.7479 19.101 72.4251 18.6225 71.9922 18.2731C71.5592 17.9161 71.02 17.7376 70.3743 17.7376Z",fill:n}),B.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M84.6387 15.1855C85.8995 15.1855 86.9895 15.459 87.9085 16.0059C88.8352 16.5527 89.5491 17.3237 90.0505 18.3187C90.5518 19.3061 90.8024 20.4568 90.8024 21.7708C90.8024 23.0773 90.5518 24.2242 90.0505 25.2116C89.5491 26.199 88.8352 26.9661 87.9085 27.513C86.9895 28.0599 85.8995 28.3333 84.6387 28.3333C83.3778 28.3333 82.2841 28.0599 81.3574 27.513C80.4384 26.9661 79.7282 26.199 79.2269 25.2116C78.7256 24.2242 78.4749 23.0773 78.4749 21.7708C78.4749 20.4568 78.7256 19.3061 79.2269 18.3187C79.7282 17.3237 80.4384 16.5527 81.3574 16.0059C82.2841 15.459 83.3778 15.1855 84.6387 15.1855ZM84.6387 17.7376C83.9931 17.7376 83.4538 17.9161 83.0208 18.2731C82.5955 18.6225 82.2727 19.101 82.0524 19.7087C81.8397 20.3087 81.7334 20.9923 81.7334 21.7594C81.7334 22.519 81.8397 23.2026 82.0524 23.8102C82.2727 24.4179 82.5955 24.9002 83.0208 25.2572C83.4538 25.6066 83.9931 25.7812 84.6387 25.7812C85.2843 25.7812 85.8236 25.6066 86.2565 25.2572C86.6895 24.9002 87.0123 24.4179 87.2249 23.8102C87.4376 23.2026 87.5439 22.519 87.5439 21.7594C87.5439 20.9999 87.4376 20.3163 87.2249 19.7087C87.0123 19.101 86.6895 18.6225 86.2565 18.2731C85.8236 17.9161 85.2843 17.7376 84.6387 17.7376Z",fill:n}),B.createElement("path",{d:"M54.9365 25.3483H62.3421V28.0827H51.6667V11.1068H54.9365V25.3483Z",fill:n}),B.createElement("path",{d:"M107.368 15.1514C108.135 15.1514 108.823 15.3185 109.43 15.6527C110.046 15.9869 110.528 16.4768 110.877 17.1224C111.234 17.768 111.413 18.5579 111.413 19.4922V28.0827H108.211V20.0505C108.211 19.2985 108.006 18.744 107.596 18.387C107.186 18.0301 106.688 17.8516 106.104 17.8516C105.655 17.8516 105.264 17.9503 104.93 18.1478C104.603 18.3377 104.349 18.6073 104.167 18.9567C103.992 19.3061 103.905 19.7125 103.905 20.1758V28.0827H100.794V19.9365C100.794 19.2985 100.601 18.7934 100.213 18.4212C99.8334 18.0414 99.3397 17.8516 98.7321 17.8516C98.3143 17.8516 97.9346 17.9465 97.5928 18.1364C97.251 18.3263 96.9813 18.6073 96.7839 18.9795C96.5864 19.3441 96.4876 19.796 96.4876 20.3353V28.0827H93.2747V15.3451H96.2712L96.3786 17.806C96.5512 17.3255 96.7692 16.9151 97.0345 16.5755C97.4219 16.0894 97.8738 15.7324 98.3903 15.5046C98.9068 15.2691 99.4461 15.1514 100.008 15.1514C100.927 15.1514 101.668 15.44 102.23 16.0173C102.677 16.4764 103.023 17.1235 103.273 17.9574C103.451 17.4646 103.688 17.038 103.984 16.6781C104.417 16.1616 104.922 15.778 105.5 15.5273C106.085 15.2767 106.707 15.1514 107.368 15.1514Z",fill:n}));case"marketing":return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 170 48",fill:"none"},o),B.createElement("path",{d:"M154.37 25.212V38H150.414V24.108C150.414 19.968 148.758 18.128 144.986 18.128C141.306 18.128 138.776 20.566 138.776 25.212V38H134.82V15H138.776V18.772C140.248 16.058 142.962 14.54 146.044 14.54C149.954 14.54 152.622 16.518 153.772 20.152C155.06 16.61 158.142 14.54 161.96 14.54C167.112 14.54 169.964 18.036 169.964 24.522V38H166.008V25.212C166.008 20.474 164.352 18.128 160.58 18.128C156.9 18.128 154.37 20.566 154.37 25.212Z",fill:n}),B.createElement("path",{d:"M119.367 38.46C112.467 38.46 108.419 33.354 108.419 26.454C108.419 19.554 112.467 14.54 119.367 14.54C126.221 14.54 130.223 19.554 130.223 26.454C130.223 33.354 126.221 38.46 119.367 38.46ZM119.367 18.22C114.445 18.22 112.283 22.084 112.283 26.454C112.283 30.824 114.445 34.78 119.367 34.78C124.243 34.78 126.359 30.824 126.359 26.454C126.359 22.084 124.243 18.22 119.367 18.22Z",fill:n}),B.createElement("path",{d:"M94.3452 38.46C87.4452 38.46 83.3972 33.354 83.3972 26.454C83.3972 19.554 87.4452 14.54 94.3452 14.54C101.199 14.54 105.201 19.554 105.201 26.454C105.201 33.354 101.199 38.46 94.3452 38.46ZM94.3452 18.22C89.4232 18.22 87.2612 22.084 87.2612 26.454C87.2612 30.824 89.4232 34.78 94.3452 34.78C99.2212 34.78 101.337 30.824 101.337 26.454C101.337 22.084 99.2212 18.22 94.3452 18.22Z",fill:n}),B.createElement("path",{d:"M64.094 7.77783H68.234V34.0438H81.942V37.9998H64.094V7.77783Z",fill:n}),B.createElement("path",{d:"M0 12C0 5.37258 5.37258 0 12 0H36C42.6274 0 48 5.37258 48 12V36C48 42.6274 42.6274 48 36 48H12C5.37258 48 0 42.6274 0 36V12Z",fill:r?ab(r):ab("primary")}),B.createElement("g",{clipPath:"url(#clip0_45829_3572)"},B.createElement("path",{d:"M38.0625 22.9644H29.9846L36.9804 18.9253L35.4441 16.2635L28.4482 20.3026L32.4864 13.3073L29.8246 11.77L25.7864 18.7653V10.688H22.7136V18.7661L18.6738 11.77L16.0129 13.3065L20.0518 20.3018L13.0559 16.2635L11.5195 18.9246L18.5154 22.9636H10.4375V26.0366H18.5146L11.5195 30.0757L13.0559 32.7375L20.0511 28.6991L16.0121 35.6945L18.6738 37.2309L22.7128 30.2349V38.313H25.7857V30.2356L29.8239 37.2309L32.4855 35.6945L28.4466 28.6984L35.4425 32.7375L36.979 30.0757L29.9838 26.0373H38.0609V22.9644H38.0625ZM24.25 28.6798C21.933 28.6798 20.0549 26.8018 20.0549 24.4847C20.0549 22.1676 21.933 20.2895 24.25 20.2895C26.567 20.2895 28.445 22.1676 28.445 24.4847C28.445 26.8018 26.567 28.6798 24.25 28.6798Z",fill:"white"})),B.createElement("defs",null,B.createElement("clipPath",{id:"clip0_45829_3572"},B.createElement("rect",{width:"39",height:"39",fill:"white",transform:"translate(4.75 5)"}))));case"attributed":return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 232 75",fill:"none"},o),B.createElement("path",{d:"M181.37 52.212V65H177.414V51.108C177.414 46.968 175.758 45.128 171.986 45.128C168.306 45.128 165.776 47.566 165.776 52.212V65H161.82V42H165.776V45.772C167.248 43.058 169.962 41.54 173.044 41.54C176.954 41.54 179.622 43.518 180.772 47.152C182.06 43.61 185.142 41.54 188.96 41.54C194.112 41.54 196.964 45.036 196.964 51.522V65H193.008V52.212C193.008 47.474 191.352 45.128 187.58 45.128C183.9 45.128 181.37 47.566 181.37 52.212Z",fill:n}),B.createElement("path",{d:"M146.367 65.46C139.467 65.46 135.419 60.354 135.419 53.454C135.419 46.554 139.467 41.54 146.367 41.54C153.221 41.54 157.223 46.554 157.223 53.454C157.223 60.354 153.221 65.46 146.367 65.46ZM146.367 45.22C141.445 45.22 139.283 49.084 139.283 53.454C139.283 57.824 141.445 61.78 146.367 61.78C151.243 61.78 153.359 57.824 153.359 53.454C153.359 49.084 151.243 45.22 146.367 45.22Z",fill:n}),B.createElement("path",{d:"M121.345 65.46C114.445 65.46 110.397 60.354 110.397 53.454C110.397 46.554 114.445 41.54 121.345 41.54C128.199 41.54 132.201 46.554 132.201 53.454C132.201 60.354 128.199 65.46 121.345 65.46ZM121.345 45.22C116.423 45.22 114.261 49.084 114.261 53.454C114.261 57.824 116.423 61.78 121.345 61.78C126.221 61.78 128.337 57.824 128.337 53.454C128.337 49.084 126.221 45.22 121.345 45.22Z",fill:n}),B.createElement("path",{d:"M91.094 34.7778H95.234V61.0438H108.942V64.9998H91.094V34.7778Z",fill:n}),B.createElement("path",{d:"M155.186 11.9857C155.186 14.5147 156.33 16.5017 160.967 17.4049C163.676 18.007 164.278 18.4285 164.278 19.3316C164.278 20.2348 163.676 20.7767 161.749 20.7767C159.521 20.7767 156.872 19.994 155.126 18.9704V23.0648C156.511 23.7271 158.317 24.5099 161.749 24.5099C166.566 24.5099 168.433 22.3423 168.433 19.2112M168.433 19.2714C168.433 16.2608 166.867 14.8759 162.351 13.9125C159.883 13.3706 159.281 12.8287 159.281 12.046C159.281 11.0826 160.184 10.6611 161.81 10.6611C163.797 10.6611 165.723 11.2632 167.59 12.1062V8.19237C166.265 7.53004 164.278 7.04834 161.93 7.04834C157.474 7.04834 155.186 8.97513 155.186 12.1062",fill:n}),B.createElement("path",{d:"M216.844 7.16846V24.329H220.517V11.2629L222.022 14.695L227.2 24.329H231.776V7.16846H228.164V18.2475L226.779 14.9961L222.624 7.16846H216.844Z",fill:n}),B.createElement("path",{d:"M193.602 7.16846H189.628V24.329H193.602V7.16846Z",fill:n}),B.createElement("path",{d:"M185.052 19.2109C185.052 16.2003 183.486 14.8154 178.97 13.852C176.501 13.3101 175.899 12.7682 175.899 11.9854C175.899 11.022 176.802 10.6005 178.428 10.6005C180.415 10.6005 182.342 11.2027 184.209 12.0456V8.13183C182.884 7.46949 180.897 6.98779 178.549 6.98779C174.093 6.98779 171.805 8.91459 171.805 12.0456C171.805 14.5745 172.949 16.5615 177.585 17.4647C180.295 18.0669 180.897 18.4883 180.897 19.3915C180.897 20.2947 180.295 20.8366 178.368 20.8366C176.14 20.8366 173.491 20.0539 171.745 19.0302V23.1247C173.13 23.787 174.936 24.5698 178.368 24.5698C183.125 24.5698 185.052 22.4021 185.052 19.2109Z",fill:n}),B.createElement("path",{d:"M124.237 7.16846V24.329H132.426L133.69 20.5958H128.211V7.16846H124.237Z",fill:n}),B.createElement("path",{d:"M108.04 7.16846V10.8414H112.436V24.329H116.47V10.8414H121.227V7.16846H108.04Z",fill:n}),B.createElement("path",{d:"M102.199 7.16846H96.961L91 24.329H95.5761L96.4191 21.4388C97.4427 21.7398 98.5265 21.9205 99.6104 21.9205C100.694 21.9205 101.778 21.7398 102.802 21.4388L103.645 24.329H108.221C108.16 24.329 102.199 7.16846 102.199 7.16846ZM99.5501 18.3077C98.7674 18.3077 98.0448 18.1873 97.3825 18.0067L99.5501 10.5403L101.718 18.0067C101.055 18.1873 100.333 18.3077 99.5501 18.3077Z",fill:n}),B.createElement("path",{d:"M146.576 7.16846H141.337L135.316 24.329H139.892L140.735 21.4388C141.759 21.7398 142.843 21.9205 143.927 21.9205C145.01 21.9205 146.094 21.7398 147.118 21.4388L147.961 24.329H152.537L146.576 7.16846ZM143.927 18.3077C143.144 18.3077 142.421 18.1873 141.759 18.0067L143.927 10.5403L146.094 18.0067C145.432 18.1873 144.709 18.3077 143.927 18.3077Z",fill:n}),B.createElement("path",{d:"M207.992 7.16846H202.754L196.793 24.329H201.369L202.212 21.4388C203.236 21.7398 204.319 21.9205 205.403 21.9205C206.487 21.9205 207.571 21.7398 208.595 21.4388L209.438 24.329H214.014L207.992 7.16846ZM205.403 18.3077C204.621 18.3077 203.898 18.1873 203.236 18.0067L205.403 10.5403L207.571 18.0067C206.909 18.1873 206.126 18.3077 205.403 18.3077Z",fill:n}),B.createElement("path",{d:"M0 18.75C0 8.39466 8.39466 0 18.75 0H56.25C66.6053 0 75 8.39466 75 18.75V56.25C75 66.6053 66.6053 75 56.25 75H18.75C8.39466 75 0 66.6053 0 56.25V18.75Z",fill:r?ab(r):ab("primary")}),B.createElement("g",{clipPath:"url(#clip0_45829_3571)"},B.createElement("path",{d:"M59.4729 35.8821H46.8511L57.7822 29.571L55.3817 25.412L44.4506 31.723L50.7602 20.7928L46.6012 18.3909L40.2915 29.3211V16.7002H35.4902V29.3223L29.1781 18.3909L25.0204 20.7916L31.3312 31.7218L20.4001 25.412L17.9995 29.5698L28.9306 35.8809H16.3088V40.6824H28.9294L17.9995 46.9934L20.4001 51.1525L31.33 44.8426L25.0192 55.7728L29.1781 58.1735L35.489 47.2422V59.8643H40.2904V47.2434L46.6 58.1735L50.7589 55.7728L44.4481 44.8415L55.3792 51.1525L57.7799 46.9934L46.85 40.6835H59.4704V35.8821H59.4729ZM37.8909 44.8124C34.2705 44.8124 31.3361 41.878 31.3361 38.2575C31.3361 34.637 34.2705 31.7025 37.8909 31.7025C41.5112 31.7025 44.4456 34.637 44.4456 38.2575C44.4456 41.878 41.5112 44.8124 37.8909 44.8124Z",fill:"white"})),B.createElement("defs",null,B.createElement("clipPath",{id:"clip0_45829_3571"},B.createElement("rect",{width:"60.9375",height:"60.9375",fill:"white",transform:"translate(7.42188 7.8125)"}))));default:return B.createElement("svg",au({"aria-label":"Loom",viewBox:"0 0 100 30",fill:"none"},o),B.createElement("title",null,"Loom"),B.createElement("path",{d:"M30.01 13.43h-9.142l7.917-4.57-1.57-2.72-7.918 4.57 4.57-7.915-2.72-1.57-4.571 7.913V0h-3.142v9.139L8.863 1.225l-2.721 1.57 4.57 7.913L2.796 6.14 1.225 8.86l7.917 4.57H0v3.141h9.141l-7.916 4.57 1.57 2.72 7.918-4.57-4.571 7.915 2.72 1.57 4.572-7.914V30h3.142v-9.334l4.655 8.06 2.551-1.472-4.656-8.062 8.087 4.668 1.571-2.72-7.916-4.57h9.141v-3.14h.001zm-15.005 5.84a4.271 4.271 0 11-.001-8.542 4.271 4.271 0 01.001 8.542z",fill:r?ab(r):ab("primary")}),B.createElement("path",{d:"M38.109 25.973V4.027h4.028v21.946h-4.028zM76.742 11.059h3.846v1.82c.818-1.455 2.727-2.244 4.362-2.244 2.03 0 3.665.88 4.422 2.485 1.18-1.82 2.756-2.485 4.725-2.485 2.756 0 5.39 1.667 5.39 5.668v9.67h-3.906v-8.851c0-1.607-.788-2.82-2.636-2.82-1.727 0-2.757 1.335-2.757 2.942v8.73h-3.996v-8.852c0-1.607-.818-2.82-2.636-2.82-1.757 0-2.787 1.305-2.787 2.942v8.73h-4.027V11.059zM51.24 26.405c-4.538 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.288 7.889-7.824 7.889zm0-12.135a4.25 4.25 0 00-4.244 4.247 4.25 4.25 0 004.244 4.247 4.25 4.25 0 004.243-4.247 4.25 4.25 0 00-4.243-4.247zM67.667 26.405c-4.538 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.29 7.889-7.824 7.889zm0-12.186a4.3 4.3 0 00-4.293 4.296 4.3 4.3 0 004.293 4.296 4.3 4.3 0 004.293-4.296 4.3 4.3 0 00-4.293-4.296z",fill:n}))}},cn=eg.span(oL(),function(e){return e.maxWidth&&aE("max-width",e.maxWidth)},function(e){return e.maxWidth&&aE("max-width",e.maxWidth)}),cr=function(e){var t=e.variant,n=void 0===t?"combined":t,r=e.maxWidth,i=e.symbolColor,o=e.wordmarkColor,a=void 0===o?"body":o,s=e.brand,u=void 0===s?"loom":s,l=e.customId,c=void 0===l?"":l,d=ac(e,["variant","maxWidth","symbolColor","wordmarkColor","brand","customId"]);return B.createElement(cn,au({variant:n,maxWidth:r},d),"combined"===n&&B.createElement(ct,{brand:u,symbolColor:i,wordmarkColor:ab(a),customId:c,className:"lns-logoSvg"}),"symbol"===n&&B.createElement(l8,{brand:u,symbolColor:i,customId:c,className:"lns-logoSvg"}),"wordmark"===n&&B.createElement(l9,{brand:u,wordmarkColor:ab(a),className:"lns-logoSvg"}))},ci={small:"40px",medium:"80px"};eg.span(oR(),function(e){return e.animation},"https://cdn.loom.com/assets/lens",function(e){return e.brand},function(e){return ci[e.size]},function(e){return ci[e.size]});var co="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",ca={border:(0,em.iv)(oP(),ab("border"),co,ab("border")),stripe:(0,em.iv)(oj(),co,ab("backgroundSecondary"),aP("medium")),clear:(0,em.iv)(oD())};eg.div(oM(),function(e){return e.columns&&e.columns},function(e){return aE("gap",e.gap)},function(e){return ca[e.variant]}),eg.div(oF(),function(e){return aE("height",e.height)},function(e){return aE("min-height",e.minHeight)},function(e){return aE("max-height",e.maxHeight)},function(e){return aE("padding",e.padding)},function(e){return aE("padding-top",e.paddingTop)},function(e){return aE("padding-bottom",e.paddingBottom)},function(e){return aE("padding-left",e.paddingLeft)},function(e){return aE("padding-right",e.paddingRight)},function(e){return e.paddingY&&"\n ".concat(aE("padding-top",e.paddingY),"\n ").concat(aE("padding-bottom",e.paddingY),"\n ")},function(e){return e.paddingX&&"\n ".concat(aE("padding-left",e.paddingX),"\n ").concat(aE("padding-right",e.paddingX),"\n ")},function(e){return(e.onClick||e.href)&&"cursor: pointer;"},co,function(e){return e.backgroundColor&&"background-color: ".concat(ab(e.backgroundColor))},function(e){return(e.onClick||e.href)&&"\n background-color: ".concat(ab("backgroundHover"),";\n border-color: transparent;\n ").concat(aP("medium"),";\n ")}),eg.div(oB(),function(e){var t;return e.scrollOffset&&"margin: 0 ".concat((t=e.scrollOffset,"calc(-1 * ".concat(aw(t),")")),";\n ")}),eg.div(oN(),function(e){return e.hasBottomBorder&&"border-bottom: 1px solid var(--lns-color-border)"},function(e){return e.scrollOffset&&aE("padding-left",e.scrollOffset)},function(e){return e.hasFullTabs&&"flex: 1 0"},function(e){return e.scrollOffset&&aE("width",e.scrollOffset)}),eg.div(oz(),aP("200"),function(e){return e.scrollOffset&&aE("padding-left",e.scrollOffset)},function(e){return e.scrollOffset&&aE("width",e.scrollOffset)}),eg.button(oV(),aP("medium"),aR("bold"),function(e){return ab(e.isActive?"body":e.disabled?"disabledContent":"bodyDimmed")},function(e){return e.isActive&&"border-color: ".concat(ab("primary"),";\n ")},aD(void 0,"inset"),ab("body"),aP("medium"),function(e){return e.isActive&&"background-color: ".concat(ab("primary"))}),eg.button(oU(),a_(1),aP("175"),aR("bold"),function(e){return ab(e.isActive?"body":e.disabled?"disabledContent":"bodyDimmed")},function(e){return e.isActive&&"background-color: ".concat(ab("background"),";\n color: ").concat(ab("primary"),";\n ")},aD(void 0,"inset"),ab("primary"));var cs=eg.div(oH(),a_(1.5),a_(3.25),function(e){return ab(e.color)},function(e){return ab(e.backgroundColor)},aP("100"),aL("small"),aR("bold"),aE("gap","xsmall")),cu=function(e){var t=e.color,n=e.backgroundColor,r=e.children,i=e.icon,o=e.iconPosition,a=void 0===o?"left":o,s=ac(e,["color","backgroundColor","children","icon","iconPosition"]),u=B.createElement(ul,{htmlTag:"span",paddingLeft:"right"===a&&"xsmall",paddingRight:"left"===a&&"xsmall"},B.createElement(sZ,{icon:i,color:"currentColor",size:2}));return B.createElement(cs,au({color:t,backgroundColor:n},s),i&&"left"===a&&u,r,i&&"right"===a&&u)};eg.div(oZ(),function(e){return e.childrenZIndex}),eg.div(o$(),function(e){return e.zIndex&&"z-index: ".concat(e.zIndex)}),eg.span(oW(),function(e){return e.color?ab(e.color):ab("grey8")},function(e){return e.size&&aE("width",e.size)},function(e){return e.size&&aE("height",e.size)});var cl=function(e){return(0,em.iv)(oG(),aE("width",e.width),aE("height",e.height),aE("min-width",e.minWidth),aE("min-height",e.minHeight),aE("max-width",e.maxWidth),aE("max-height",e.maxHeight))};eg.div(oK(),function(e){return aS("align-items",e.alignItems)},function(e){return e.justifyContent&&aS("justify-content",e.justifyContent)},function(e){return e.alignContent&&aS("align-content",e.alignContent)},function(e){return aS("flex-wrap",e.wrap)},function(e){return e.direction&&aS("flex-direction",e.direction)},function(e){return e.gap&&aE("gap",e.gap)},function(e){return e.rowGap&&aE("row-gap",e.rowGap)},function(e){return e.columnGap&&aE("column-gap",e.columnGap)},function(e){return cl(e)},function(e){return aF(e.as)}),eg.div(oq(),function(e){return aI("flex-grow",e.grow)},function(e){return aI("flex-shrink",e.shrink)},function(e){return e.basis&&aE("flex-basis",e.basis)},function(e){return cl(e)}),eg.div(oJ(),a_(14),aP(100),a_(2),aP("50"),a_(1),a_(1),a_(1),a_(2.5)),eg.div(oY(),a_(31),aP("250")),eg.div(oX(),a_(4),a_(4),aP("150")),eg.div(oQ(),a_(3),a_(3),aP("100"),function(e){return e.color}),eg.div(o0()),eg.div(o1(),a_(3),a_(1),a_(1)),eg.div(o2(),a_(3),a_(3),aP("100"),function(e){return e.color},function(e){return e.selected===e.color?"1px solid white":"1px solid var(--lns-color-border)"},function(e){return e.selected===e.color&&"0 0 0 2px var(--lns-color-focusRing)"});var cc={small:{totalSize:a_(2.25),height:a_(.5625),dotSize:a_(.375),gap:a_(.25)},medium:{totalSize:a_(3),height:a_(.75),dotSize:a_(.5),gap:a_(.375)},large:{totalSize:a_(6),height:a_(1.5),dotSize:a_(1),gap:a_(.75)}},cd=function(e){return cc[e.size].dotSize};eg.span(o3(),function(e){return cc[e.size].height},function(e){return cc[e.size].totalSize},function(e){return cc[e.size].gap}),eg.span(o4(),function(e){return cd(e)},function(e){return cd(e)},function(e){return ab(e.color)},function(e){var t;return t=cc[e.size].dotSize,(0,em.F4)(o5(),t)},2,function(e){return e.delay}),Object.keys(cc);var cf={medium:{totalSize:a_(3),barHeight:a_(2.25)}},ch={fast:1.2,slow:1.7},cp=a_(.25),cv=function(e){return cf[e.size||"medium"].totalSize},cg=function(e){return ch[e.speed||"fast"]},cm=(0,em.F4)(o6()),cy=(0,em.F4)(o7()),cb=(0,em.F4)(o8());eg.span(o9(),function(e){return cv(e)},function(e){return cv(e)}),eg.span(ae(),cp,function(e){return cf[e.size||"medium"].barHeight},function(e){return"ai-primary"===e.color?"linear-gradient(270deg, #565ADD 10.58%, #DC43BE 41.83%, #565ADD 69.23%, #565ADD 96.63%)":ab(e.color)},function(e){return cv(e)},function(e){return cv(e)},function(e){var t=(e.index+1)/6;return"calc(".concat(cv(e)," * ").concat(t-.5,") center")},cb,cm,function(e){return cg(e)},cy,2,function(e){return -1+e.index*(cg(e)/5)}),Object.keys(cf),Object.keys(ch)},38785:function(e,t,n){"use strict";function r(e){return(r="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})(e)}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=n(67294),u=n(45697),l=n(73928).createFocusTrap,c=n(88388).isFocusable,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(l,e);var t,n,u=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=a(l);return e=t?Reflect.construct(n,arguments,a(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return o(e)}(this,e)});function l(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l),t=o(i=u.call(this,e)),n="getNodeForOption",r=function(e){var t,n,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a element.");return s.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}],function(e,t){for(var n=0;n0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},u=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},l=function(e){return setTimeout(e,0)},c=function(e,t){var n=-1;return e.every(function(e,r){return!t(e)||(n=r,!1)}),n},d=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?n-1:0),o=1;o=0)e=i.activeElement;else{var t=v.tabbableGroups[0];e=t&&t.firstTabbableNode||y("fallbackFocus")}}if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},_=function(){if(v.containerGroups=v.containers.map(function(e){var t=(0,r.tabbable)(e,p.tabbableOptions),n=(0,r.focusable)(e,p.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=n.findIndex(function(t){return t===e});return i<0?void 0:t?n.slice(i+1).find(function(e){return(0,r.isTabbable)(e,p.tabbableOptions)}):n.slice(0,i).reverse().find(function(e){return(0,r.isTabbable)(e,p.tabbableOptions)})}}}),v.tabbableGroups=v.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),v.tabbableGroups.length<=0&&!y("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},w=function e(t){if(!1!==t&&t!==i.activeElement){if(!t||!t.focus){e(b());return}t.focus({preventScroll:!!p.preventScroll}),v.mostRecentlyFocusedNode=t,t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select&&t.select()}},E=function(e){var t=y("setReturnFocus",e);return t||!1!==t&&e},k=function(e){var t=f(e);if(!(m(t)>=0)){if(d(p.clickOutsideDeactivates,e)){n.deactivate({returnFocus:p.returnFocusOnDeactivate&&!(0,r.isFocusable)(t,p.tabbableOptions)});return}d(p.allowOutsideClick,e)||e.preventDefault()}},C=function(e){var t=f(e),n=m(t)>=0;n||t instanceof Document?n&&(v.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),w(v.mostRecentlyFocusedNode||b()))},x=function(e){var t=f(e);_();var n=null;if(v.tabbableGroups.length>0){var i=m(t),o=i>=0?v.containerGroups[i]:void 0;if(i<0)n=e.shiftKey?v.tabbableGroups[v.tabbableGroups.length-1].lastTabbableNode:v.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var a=c(v.tabbableGroups,function(e){return t===e.firstTabbableNode});if(a<0&&(o.container===t||(0,r.isFocusable)(t,p.tabbableOptions)&&!(0,r.isTabbable)(t,p.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(a=i),a>=0){var s=0===a?v.tabbableGroups.length-1:a-1;n=v.tabbableGroups[s].lastTabbableNode}}else{var u=c(v.tabbableGroups,function(e){return t===e.lastTabbableNode});if(u<0&&(o.container===t||(0,r.isFocusable)(t,p.tabbableOptions)&&!(0,r.isTabbable)(t,p.tabbableOptions)&&!o.nextTabbableNode(t))&&(u=i),u>=0){var l=u===v.tabbableGroups.length-1?0:u+1;n=v.tabbableGroups[l].firstTabbableNode}}}else n=y("fallbackFocus");n&&(e.preventDefault(),w(n))},S=function(e){if(("Escape"===e.key||"Esc"===e.key||27===e.keyCode)&&!1!==d(p.escapeDeactivates,e)){e.preventDefault(),n.deactivate();return}if("Tab"===e.key||9===e.keyCode){x(e);return}},O=function(e){m(f(e))>=0||d(p.clickOutsideDeactivates,e)||d(p.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},I=function(){if(v.active)return s(h,n),v.delayInitialFocusTimer=p.delayInitialFocus?l(function(){w(b())}):w(b()),i.addEventListener("focusin",C,!0),i.addEventListener("mousedown",k,{capture:!0,passive:!1}),i.addEventListener("touchstart",k,{capture:!0,passive:!1}),i.addEventListener("click",O,{capture:!0,passive:!1}),i.addEventListener("keydown",S,{capture:!0,passive:!1}),n},A=function(){if(v.active)return i.removeEventListener("focusin",C,!0),i.removeEventListener("mousedown",k,!0),i.removeEventListener("touchstart",k,!0),i.removeEventListener("click",O,!0),i.removeEventListener("keydown",S,!0),n};return(n={get active(){return v.active},get paused(){return v.paused},activate:function(e){if(v.active)return this;var t=g(e,"onActivate"),n=g(e,"onPostActivate"),r=g(e,"checkCanFocusTrap");r||_(),v.active=!0,v.paused=!1,v.nodeFocusedBeforeActivation=i.activeElement,t&&t();var o=function(){r&&_(),I(),n&&n()};return r?r(v.containers.concat()).then(o,o):o(),this},deactivate:function(e){if(!v.active)return this;var t=o({onDeactivate:p.onDeactivate,onPostDeactivate:p.onPostDeactivate,checkCanReturnFocus:p.checkCanReturnFocus},e);clearTimeout(v.delayInitialFocusTimer),v.delayInitialFocusTimer=void 0,A(),v.active=!1,v.paused=!1,u(h,n);var r=g(t,"onDeactivate"),i=g(t,"onPostDeactivate"),a=g(t,"checkCanReturnFocus"),s=g(t,"returnFocus","returnFocusOnDeactivate");r&&r();var c=function(){l(function(){s&&w(E(v.nodeFocusedBeforeActivation)),i&&i()})};return s&&a?a(E(v.nodeFocusedBeforeActivation)).then(c,c):c(),this},pause:function(){return v.paused||!v.active||(v.paused=!0,A()),this},unpause:function(){return v.paused&&v.active&&(v.paused=!1,_(),I()),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return v.containers=t.map(function(e){return"string"==typeof e?i.querySelector(e):e}),v.active&&_(),this}}).updateContainerElements(e),n}},69355:function(e,t,n){"use strict";n.d(t,{$6:function(){return S},$v:function(){return c},A0:function(){return o},BN:function(){return M},Dy:function(){return P},EK:function(){return p},Eq:function(){return E},Fv:function(){return a},Gp:function(){return A},HF:function(){return x},Hl:function(){return U},Hr:function(){return H},Ir:function(){return F},Jw:function(){return V},Ll:function(){return C},Mk:function(){return y},Mo:function(){return I},PQ:function(){return m},TX:function(){return N},VD:function(){return u},ZK:function(){return Z},Zd:function(){return v},bN:function(){return g},c0:function(){return b},e$:function(){return h},eB:function(){return O},g8:function(){return f},hB:function(){return _},kW:function(){return D},lJ:function(){return l},mK:function(){return T},mu:function(){return z},o$:function(){return B},oG:function(){return w},pO:function(){return R},r9:function(){return s},s2:function(){return k},sR:function(){return d},sZ:function(){return i},th:function(){return L},xe:function(){return r},zW:function(){return j}});var r="Sign Up CTA Click",i="App Store Click",o="Google Play Click",a="Contact Sales CTA Click",s="Learn to Loom Grid Card Click",u="Community Loom Video Page Visit",l="Community Loom Collection Page Visit",c="Contact Sales Page Visit",d="Experiment eligibility precheck failed",f="Header Menu Hover",h="Header Menu Focus",p="Header Menu Click",v="Banner Click",g="appInstallButton",m="appStore",y="banner",b="communityLoomCollectionPage",_="communityLoomVideoPage",w="contactSalesCta",E="contactSalesPage",k="downloadCta",C="experimentEligibilityPrecheck",x="exploreLoomForSales",S="freeTrialCta",O="getLoomAICta",I="getLoomCta",A="getLoomForFreeCta",T="getStartedCta",L="getStartedSdkCustomCta",R="getVerified",P="getVerifiedCta",j="googlePlay",D="headerMenu",M="learnToLoomGridCard",F="loomAIWorkflowsHomepage",B="loomSdkApiCta",N="pricingHeroCardEnterprise",z="registerSdkCta",V="sdkDeveloperPortalCta",U="sdkGetStarted",H="signUpCta",Z="translatorDetected"},60150:function(e,t,n){"use strict";n.d(t,{B3:function(){return l},M$:function(){return i},Ss:function(){return s},Uc:function(){return a},cZ:function(){return o},td:function(){return u}});var r,i="production";r=window.location.hostname;var o="production"===i,a="stage.loom.com"===r,s="preview"===i,u="development"===i,l=window.location.toString().includes("stage.loom.com")?"https://stage.loom.com/graphql":"https://patgrady.indiedemos.com/graphql"},9301:function(e,t,n){"use strict";n.d(t,{Sl:function(){return i},dn:function(){return a},gF:function(){return l},mX:function(){return u}});var r=n(60150),i='function loadExternalJS(url, location, callback) {\n var scriptTag = document.createElement("script");\n scriptTag.src = url;\n scriptTag.type = "text/javascript";\n scriptTag.onreadystatechange = callback;\n scriptTag.onload = callback;\n window.atlGlobalLoadStart = new Date();\n location.appendChild(scriptTag);\n}',o=r.cZ?"https://atl-global.atlassian.com/js/atl-global.min.js":"https://atl-global.stg.atlassian.com/js/atl-global.min.js",a='\n loadExternalJS("'.concat(o,'", document.body, initializeATLAnalytics);\n function initializeATLAnalytics() {\n\n if (!window.ace?.analytics?.Initializer || !document?.title || !window?.location?.pathname) {\n return;\n }\n try {\n window.ace.analytics.Initializer.initGAS({\n gasv3Product: \'loom\',\n });\n setTimeout(function() {\n window.ace.analytics.GASv3.sendTrackEvent("view", "page", "", {\n eventSource: document.title,\n pathname: window.location.pathname,\n eventContainer: "loom-content",\n });\n }, 1500);\n } catch (error) {\n console.warn(\'[Atlassian Analytics] Error calling sendTrackEvent:\', error);\n }\n }'),s="mllYsZ0rym6Ar4fuuJjAMsrZpK5LwmUR";'\n!function(){var i="segmentAnalytics",analytics=window[i]=window[i]||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","screen","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware","register"];analytics.factory=function(e){return function(){if(window[i].initialized)return window[i][e].apply(window[i],arguments);var n=Array.prototype.slice.call(arguments);if(["track","screen","alias","group","page","identify"].indexOf(e)>-1){var c=document.querySelector("link[rel=\'canonical\']");n.push({__t:"bpc",c:c&&c.getAttribute("href")||void 0,p:location.pathname,u:location.href,s:location.search,t:document.title,r:document.referrer})}n.unshift(e);analytics.push(n);return analytics}};for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!(null===(t=window)||void 0===t?void 0:t.segmentAnalytics)){l.u("Missing consent: Segment pageEvent",{name:e,props:n});return}window.dataLayer=window.dataLayer||[];var i=g().anonID;window.segmentAnalytics.page(e,(0,r._)({name:e,anon_swimlane:f(i)},n))}},89762:function(e,t,n){"use strict";n.d(t,{y:function(){return y},_:function(){return m}});var r,i=n(11010),o=n(72253),a=n(14932),s=n(70655),u=n(99979),l=n(60150),c=n(13414),d=l.cZ?"prod":"stg",f=null,h=n(28969),p=n(60740),v=n(26331),g=n(69355),m=(r=(0,i._)(function(e,t){var n,r,i,l,g,m,b;return(0,s.Jh)(this,function(s){if(!e||!t.action)return c.u("Analytics event: Invalid event or properties",{event:e,properties:t}),[2];if(!window.OptanonActiveGroups||!window.OptanonActiveGroups.includes(",2,"))return c.u("Analytics event: Missing consent",{event:e,properties:t}),[2];r={userId:(n=(0,h.NA)(p.b)).id?"".concat(n.id):void 0,userIdType:n.id?"loom":void 0,anonymousId:(0,v.tW)(),workspaceId:n.id?n.default_workspace_id:void 0},i=t.actionSubject?y(t.actionSubject):null,m={source:"loom-content",action:null!==(l=t.action)&&void 0!==l?l:null,actionSubject:i,actionSubjectId:null!==(g=null==t?void 0:t.actionSubjectId)&&void 0!==g?g:null,attributes:(0,a._)((0,o._)({},t.attributes),{anonSwimlane:(0,v.J5)(r.anonymousId),userId:r.userId})};try{switch(f||(f=(0,u.analyticsClient)({env:d,version:"1.0.0",product:"loom",errorHandler:function(e){console.log("[Atlassian Analytics] Error sending event via atlassian node client",e),c.v("Atlassian Analytics: Error",e)},sendEventHook:function(e){console.log("[Atlassian Analytics] Event sent via atlassian node client",e),c.u("Atlassian Analytics: Send success",e)}})),b=f,e){case"track":b.sendTrackEvent((0,a._)((0,o._)({},r),{trackEvent:m}));break;case"operational":b.sendOperationalEvent((0,a._)((0,o._)({},r),{operationalEvent:m}));break;case"ui":b.sendUIEvent((0,a._)((0,o._)({},r),{uiEvent:m}))}}catch(n){c.v("Error sending event via atlassian node client",(0,o._)({event:e,segmentEventName:t.actionSubject,error:n},r,m))}return[2]})}),function(e,t){return r.apply(this,arguments)});function y(e){var t;switch(e){case"App Install Button Click":t=g.bN;break;case g.sZ:t=g.PQ;break;case g.Zd:t=g.Mk;break;case g.lJ:t=g.c0;case g.VD:t=g.hB;break;case g.Fv:t=g.oG;break;case g.$v:t=g.Eq;break;case"Download CTA Click":t=g.s2;break;case g.sR:t=g.Ll;break;case"Explore Loom for Sales Click":t=g.HF;break;case"Free Trial CTA Click":t=g.$6;break;case"Get Loom AI CTA Click":t=g.eB;break;case"Get Loom CTA Click":t=g.Mo;break;case"Get Loom for Free CTA Click":t=g.Gp;break;case"Get Started CTA Click":t=g.mK;break;case"Get Started SDK Custom CTA":t=g.th;break;case"Get Verified":t=g.pO;break;case"Get Verified CTA Click":t=g.Dy;break;case g.A0:t=g.zW;break;case g.r9:t=g.BN;break;case"Loom AI workflows homepage click":t=g.Ir;break;case"Loom SDK API CTA Click":t=g.o$;break;case"Pricing Hero Card Enterprise":t=g.TX;break;case"Register SDK CTA Click":t=g.mu;break;case"SDK Developer Portal CTA Click":t=g.Jw;break;case"SDK Get Started Click":t=g.Hl;break;case g.xe:case"Sign Up CTA":t=g.Hr;break;default:t=e}return t}},13414:function(e,t,n){"use strict";let r,i,o,a,s,u,l,c,d;n.d(t,{v:function(){return t3},u:function(){return t5}});var f,h,p=n(72253),v=n(14932);let g={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},m=console,y={};Object.keys(g).forEach(e=>{y[e]=m[e]});let b="Datadog Browser SDK:",_={debug:y.debug.bind(m,b),log:y.log.bind(m,b),info:y.info.bind(m,b),warn:y.warn.bind(m,b),error:y.error.bind(m,b)},w="https://docs.datadoghq.com",E=`${w}/real_user_monitoring/browser/troubleshooting`,k="More details:";function C(e,t){return(...n)=>{try{return e(...n)}catch(e){_.error(t,e)}}}let x=!1;function S(e){x=e}function O(e){return function(){return I(e,this,arguments)}}function I(e,t,n){try{return e.apply(t,n)}catch(e){A(e)}}function A(e){if(T(e),r)try{r(e)}catch(e){T(e)}}function T(...e){x&&_.error("[MONITOR]",...e)}function L(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&("object"==typeof self?e=self:e="object"==typeof window?window:{}),e}function R(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function P(e,t,n=function(){if("undefined"!=typeof WeakSet){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let n=e.has(t);return n||e.add(t),n}}}let e=[];return{hasAlreadyBeenSeen(t){let n=e.indexOf(t)>=0;return n||e.push(t),n}}}()){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let r=Array.isArray(e)?e:[];for(let e=0;e"}finally{r(),i(),o(),a()}}function Z(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):U}function $(e,t=225280){let n=Z(Object.prototype),r=Z(Array.prototype),i=[],o=new WeakMap,a=W(e,"$",void 0,i,o),s=JSON.stringify(a),u=s?s.length:0;if(u>t){G(t,"discarded",e);return}for(;i.length>0&&ut){G(t,"truncated",e);break}n.target[a]=s}else for(let a in n.source)if(Object.prototype.hasOwnProperty.call(n.source,a)){let s=W(n.source[a],n.path,a,i,o);if(void 0!==s&&(u+=JSON.stringify(s).length+r+a.length+3,r=1),u>t){G(t,"truncated",e);break}n.target[a]=s}}return n(),r(),a}function W(e,t,n,r,i){let o=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!o||"object"!=typeof o)return"bigint"==typeof o?`[BigInt] ${o.toString()}`:"function"==typeof o?`[Function] ${o.name||"unknown"}`:"symbol"==typeof o?`[Symbol] ${o.description||o.toString()}`:o;let a=function e(t){try{if(t instanceof Event)return{type:t.type,isTrusted:t.isTrusted,currentTarget:t.currentTarget?e(t.currentTarget):null,target:t.target?e(t.target):null};if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;let n=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(e){}return"[Unserializable]"}(o);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(i.has(e))return`[Reference seen at ${i.get(e)}]`;let s=void 0!==n?`${t}.${n}`:t,u=Array.isArray(o)?[]:{};return i.set(e,s),r.push({source:o,target:u,path:s}),u}function G(e,t,n){_.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}class K{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:()=>{this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}}notify(e){this.observers.forEach(t=>t(e))}}function q(...e){return new K(t=>{let n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}function J(e,t,n){let r={...e};for(let[e,{required:i,type:o}]of Object.entries(t))"string"!==o||Y(r[e])||(r[e]=String(r[e])),i&&Y(r[e])&&_.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return r}function Y(e){return null==e||""===e}function X(e="",{propertiesConfig:t={}}={}){let n={},r=new K,i={getContext:()=>P(void 0,n),setContext:o=>{!function(e){let t="object"===R(e);return t||_.error("Unsupported context:",e),t}(o)?i.clearContext():n=$(J(o,t,e)),r.notify()},setContextProperty:(i,o)=>{n=$(J({...n,[i]:o},t,e)),r.notify()},removeContextProperty:i=>{delete n[i],J(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return i}let Q={GRANTED:"granted",NOT_GRANTED:"not-granted"};function ee(e,t,n,r,{once:i,capture:o,passive:a}={}){let s=O(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(i&&d(),r(t))}),u=a?{capture:o,passive:a}:o,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,c=F(l,"addEventListener");function d(){let e=F(l,"removeEventListener");n.forEach(n=>e.call(t,n,s,u))}return n.forEach(e=>c.call(t,e,s,u)),{stop:d}}function et(e,t){return Object.keys(e).some(n=>e[n]===t)}function en(e){return 0===Object.keys(e).length}let er=[];function ei(e,t,n,r){let i=`_dd_c_${n}_${r}`;er.push(ee(e,window,["storage"],({key:e})=>{i===e&&t.setContext(a())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(i,JSON.stringify(t.getContext()))});let o=j(a(),t.getContext());function a(){let e=localStorage.getItem(i);return e?JSON.parse(e):{}}en(o)||t.setContext(o)}function eo(e){let t=[],n=ep(e,"stack"),r=String(e);return n&&n.startsWith(r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(e=>{let n=function(e){let t=eu.exec(e);if(!t)return;let n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=el.exec(t[2]);return r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){let t=ec.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){let t=ed.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){let t=ef.exec(e);if(!t)return;let n=t[3]&&t[3].indexOf(" > eval")>-1,r=eh.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func="?"),t.push(n))}),{message:ep(e,"message"),name:ep(e,"name"),stack:t}}let ea="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet||\\w+\\.|\\/).*?)",es="(?::(\\d+))",eu=RegExp(`^\\s*at (.*?) ?\\(${ea}${es}?${es}?\\)?\\s*$`,"i"),el=RegExp(`\\((\\S*)${es}${es}\\)`),ec=RegExp(`^\\s*at ?${ea}${es}?${es}??\\s*$`,"i"),ed=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ef=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?\s*$/i,eh=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function ep(e,t){if("object"!=typeof e||!e||!(t in e))return;let n=e[t];return"string"==typeof n?n:void 0}let ev=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function eg(e){let t;let n=Error(e);return n.name="HandlingStack",I(()=>{let e=eo(n);e.stack=e.stack.slice(2),t=em(e)}),t}function em(e){let t=ey(e);return e.stack.forEach(e=>{let n="?"===e.func?"":e.func,r=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",i=e.line?`:${e.line}`:"",o=e.line&&e.column?`:${e.column}`:"";t+=` at ${n}${r} @ ${e.url}${i}${o}`}),t}function ey(e){return`${e.name||"Error"}: ${e.message}`}let eb="No stack, consider using an instance of Error";function e_({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:i,nonErrorPrefix:o,useFallbackStack:a=!0,source:s,handling:u}){var l;let c=ew(t);return!e&&c&&(e=eo(t)),{startClocks:i,source:s,handling:u,handlingStack:n,componentStack:r,originalError:t,type:e?e.name:void 0,message:(null==(l=e)?void 0:l.message)&&(null==l?void 0:l.name)?l.message:c?"Empty message":`${o} ${H($(t))}`,stack:e?em(e):a?eb:void 0,causes:c?function(e,t){let n=e,r=[];for(;ew(null==n?void 0:n.cause)&&r.length<10;){let e=eo(n.cause);r.push({message:n.cause.message,source:t,type:null==e?void 0:e.name,stack:e&&em(e)}),n=n.cause}return r.length?r:void 0}(t,s):void 0,fingerprint:ew(t)&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0,context:function(e){if(null!==e&&"object"==typeof e&&"dd_context"in e)return e.dd_context}(t)}}function ew(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}(f=h||(h={})).PROFILING="profiling",f.TRACK_INTAKE_REQUESTS="track_intake_requests",f.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",f.DOM_MUTATION_IGNORING="dom_mutation_ignoring";let eE=new Set,ek="datadoghq.com",eC=["ddsource","ddtags"];function ex(){return new Date().getTime()}function eS(){return performance.now()}function eO(){return{relative:eS(),timeStamp:ex()}}function eI(){return void 0===i&&(i=performance.timing.navigationStart),i}function eA(e,t){let n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function eT(e){return 0!==e&&100*Math.random()<=e}function eL(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}function eR(){let e=[];return{add:t=>{e.push(t)>500&&e.splice(0,1)},remove:t=>{eL(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}let eP="configuration",ej="usage",eD=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost",""],eM=["ddog-gov.com"],eF=eR(),eB=e=>{eF.add(()=>eB(e))};function eN(e,t){T(g.debug,e,t),eB({type:"log",message:e,status:"debug",...t})}function ez(e,t){eB({type:"log",status:"error",...function(e){if(ew(e)){let t=eo(e);return{error:{kind:t.name,stack:em((t.stack=t.stack.filter(e=>!e.url||eD.some(t=>e.url.startsWith(t))),t))},message:t.message}}return{error:{stack:eb},message:`Uncaught ${H(e)}`}}(e),...t})}function eV(e,t){t.silentMultipleInit||_.error(`${e} is already initialized.`)}let eU={AGENT:"agent",CONSOLE:"console",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function eH(e,t,n){let r=n.getHandler(),i=Array.isArray(r)?r:[r];return e$[e]>=e$[n.getLevel()]&&i.includes(t)}let eZ={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},e$={[eZ.ok]:0,[eZ.debug]:1,[eZ.info]:2,[eZ.notice]:4,[eZ.warn]:5,[eZ.error]:6,[eZ.critical]:7,[eZ.alert]:8,[eZ.emerg]:9};function eW(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}let eG="http",eK=Object.keys(eZ);class eq{constructor(e,t,n=eG,r=eZ.debug,i={}){this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=X("logger"),this.contextManager.setContext(i),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,n=eZ.info,r,i){let o;let a=$(t);o=null!=r?j({error:eW(e_({originalError:r,nonErrorPrefix:"Provided",source:eU.LOGGER,handling:"handled",startClocks:eO()}),{includeMessage:!0})},a):a,this.handleLogStrategy({message:$(e),context:o,status:n},this,i)}log(e,t,n=eZ.info,r){let i;eH(n,eG,this)&&(i=eg("log")),this.logImplementation(e,t,n,r,i)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function eJ(e){return function(t,n,r){let i;eH(e,eG,this)&&(i=eg("log")),this.logImplementation(t,n,e,r,i)}}function eY(){let e=L().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,r){e.send(JSON.stringify({eventType:t,event:n,view:r?{id:r}:void 0}))}}}function eX(e){var t;void 0===e&&(e=null===(t=L().location)||void 0===t?void 0:t.hostname);let n=eY();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function eQ(e,t,n,{computeHandlingStack:r}={}){let i=e[t];if("function"!=typeof i){if(!(t in e&&t.startsWith("on")))return{stop:U};i=U}let o=!1,a=function(){let e;if(o)return i.apply(this,arguments);let t=Array.from(arguments);I(n,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:r?eg("instrumented method"):void 0}]);let a=i.apply(this,t);return e&&I(e,null,[a]),a};return e[t]=a,{stop:()=>{o=!0,e[t]===a&&(e[t]=i)}}}function e0(e){return function(e,t){let n=function(){if(void 0===o)try{let e=new e1("http://test/path");o="http://test/path"===e.href}catch(e){o=!1}return o?e1:void 0}();if(n)try{return void 0!==t?new n(e,t):new n(e)}catch(n){throw Error(`Failed to construct URL: ${String(n)} ${H({url:e,base:t})}`)}if(void 0===t&&!/:/.test(e))throw Error(`Invalid URL: '${e}'`);let r=document,i=r.createElement("a");if(void 0!==t){let e=(r=document.implementation.createHTMLDocument("")).createElement("base");e.href=t,r.head.appendChild(e),r.body.appendChild(i)}return i.href=e,i}(e,location.href).href}!function(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);o>3&&a&&Object.defineProperty(t,n,a)}([function(e,t,n){let i=n.value;n.value=function(...e){return(r?O(i):i).apply(this,e)}}],eq.prototype,"logImplementation",null),eq.prototype.ok=eJ(eZ.ok),eq.prototype.debug=eJ(eZ.debug),eq.prototype.info=eJ(eZ.info),eq.prototype.notice=eJ(eZ.notice),eq.prototype.warn=eJ(eZ.warn),eq.prototype.error=eJ(eZ.error),eq.prototype.critical=eJ(eZ.critical),eq.prototype.alert=eJ(eZ.alert),eq.prototype.emerg=eJ(eZ.emerg);let e1=URL;function e2(){return a||(a=new K(e=>{if(!window.fetch)return;let{stop:t}=eQ(window,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:n},r){let[i,o]=e,a=o&&o.method;void 0===a&&i instanceof Request&&(a=i.method);let s=void 0!==a?String(a).toUpperCase():"GET",u=i instanceof Request?i.url:e0(String(i)),l={state:"start",init:o,input:i,method:s,startClocks:eO(),url:u,handlingStack:n};r.notify(l),e[0]=l.input,e[1]=l.init,t(e=>(function(e,t,n){function r(t){n.state="resolve",Object.assign(n,t),e.notify(n)}t.then(O(e=>{r({response:e,responseType:e.type,status:e.status,isAborted:!1})}),O(e=>{var t,i;r({status:0,isAborted:(null===(i=null===(t=n.init)||void 0===t?void 0:t.signal)||void 0===i?void 0:i.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,error:e})}))})(r,e,l))})(t,e),{computeHandlingStack:!0});return t})),a}function e5(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e5)}let e3=/([\w-]+)\s*=\s*([^;]+)/g;function e4(e,t,n=0,r){let i=new Date;i.setTime(i.getTime()+n);let o=`expires=${i.toUTCString()}`,a=r&&r.crossSite?"none":"strict",s=r&&r.domain?`;domain=${r.domain}`:"",u=r&&r.secure?";secure":"",l=r&&r.partitioned?";partitioned":"";document.cookie=`${e}=${t};${o};path=/;samesite=${a}${s}${u}${l}`}function e6(e){return function(e,t){for(e3.lastIndex=0;;){let n=e3.exec(e);if(n){if(n[1]===t)return n[2]}else break}}(document.cookie,e)}function e7(e){return u||(u=function(e){let t=new Map;for(e3.lastIndex=0;;){let n=e3.exec(e);if(n)t.set(n[1],n[2]);else break}return t}(document.cookie)),u.get(e)}let e8="_dd_s";function e9(e){return Object.values(e)}let te={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"},tt=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function tn(e,t){let n={isExpired:"1"};return t.trackAnonymousUser&&((null==e?void 0:e.anonymousId)?n.anonymousId=null==e?void 0:e.anonymousId:n.anonymousId=e5()),n}function tr(e){return void 0!==e.isExpired||!((void 0===e.created||ex()-Number(e.created)<144e5)&&(void 0===e.expire||ex()"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function ta(e){let t={};return e&&(-1!==e.indexOf("&")||tt.test(e))&&e.split("&").forEach(e=>{let n=tt.exec(e);if(null!==n){let[,e,r]=n;"aid"===e?t.anonymousId=r:t[e]=r}}),t}function ts(e){let t=function(e){let t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===l){let e=`dd_site_test_${e5()}`,t=window.location.hostname.split("."),n=t.pop();for(;t.length&&!e6(e);)e4(e,"test",1e3,{domain:n=`${t.pop()}.${n}`});e4(e,"",0,{domain:n}),l=n}return l}()),t}(e);return!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{let t=`dd_cookie_test_${e5()}`,n="test";e4(t,n,6e4,e);let r=e6(t)===n;return e4(t,"",0,e),r}catch(e){return _.error(e),!1}}(t)?void 0:{type:te.COOKIE,cookieOptions:t}}function tu(e,t,n,r){e4(e8,to(n),t.trackAnonymousUser?31536e6:r,e)}function tl(){return ta(e6(e8))}function tc(){try{let e=e5(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:te.LOCAL_STORAGE}:void 0}catch(e){return}}function td(e){localStorage.setItem(e8,to(e))}function tf(){return ta(localStorage.getItem(e8))}let th=[];function tp(e,t,n=0){var r;let i;let{isLockEnabled:o,persistSession:a,expireSession:s}=t,u=e=>a({...e,lock:i}),l=()=>{let e=t.retrieveSession(),n=e.lock;return e.lock&&delete e.lock,{session:e,lock:n}};if(c||(c=e),e!==c){th.push(e);return}if(o&&n>=100){tg(t);return}let d=l();if(o&&(d.lock||(i=e5(),u(d.session),(d=l()).lock!==i))){tv(e,t,n);return}let f=e.process(d.session);if(o&&(d=l()).lock!==i){tv(e,t,n);return}if(f&&(tr(f)?s(f):(ti(f),o?u(f):a(f))),o&&!(f&&tr(f))){if((d=l()).lock!==i){tv(e,t,n);return}a(d.session),f=d.session}null===(r=e.after)||void 0===r||r.call(e,f||d.session),tg(t)}function tv(e,t,n){B(()=>{tp(e,t,n+1)},10)}function tg(e){c=void 0;let t=th.shift();t&&tp(t,e)}function tm(e,t,n){let r=function(e,t){let n=`/api/v2/${t}`,r=e.proxy;if("string"==typeof r){let e=e0(r);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof r)return e=>r({path:n,parameters:e});let i=function(e,t){let{site:n=ek,internalAnalyticsSubdomain:r}=t;if("logs"===e&&t.usePciIntake&&n===ek)return"pci.browser-intake-datadoghq.com";if(r&&n===ek)return`${r}.${ek}`;if("dd0g-gov.com"===n)return`http-intake.logs.${n}`;let i=n.split("."),o=i.pop();return`browser-intake-${i.join("-")}.${o}`}(t,e);return e=>`https://${i}${n}?${e}`}(e,t);return{build:(i,o)=>r(function({clientToken:e,internalAnalyticsSubdomain:t},n,r,i,{retry:o,encoding:a}){let s=["sdk_version:6.8.0",`api:${i}`].concat(r);o&&s.push(`retry_count:${o.count}`,`retry_after:${o.lastFailureStatus}`);let u=["ddsource=browser",`ddtags=${encodeURIComponent(s.join(","))}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.8.0")}`,"dd-evp-origin=browser",`dd-request-id=${e5()}`];return a&&u.push(`dd-evp-encoding=${a}`),"rum"===n&&u.push(`batch_time=${ex()}`),t&&u.reverse(),u.join("&")}(e,t,n,i,o)),tags:n,urlPrefix:r(""),trackType:t}}function ty(e,t){let n=200-e.length-1;(t.length>n||function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(t))&&_.warn(`${e} value doesn't meet tag requirements and will be sanitized. ${k} ${w}/getting_started/tagging/#defining-tags`);let r=t.replace(/,/g,"_");return`${e}:${r}`}function tb(e,t){return null==e||"string"==typeof e||(_.error(`${t} must be defined as a string`),!1)}function t_(e,t){return!!(void 0===e||"number"==typeof e&&e>=0&&e<=100)||(_.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}let tw={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function tE(e){return{startClocks:eO(),source:eU.REPORT,handling:"unhandled",...e}}function tk(e,t,n,r,i){return n?em({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=i?i:void 0}]}):void 0}function tC(e,t,n){if(void 0===e)return[];if(!("all"===e||Array.isArray(e)&&e.every(e=>t.includes(e)))){_.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`);return}return"all"===e?t:function(e){let t=new Set;return e.forEach(e=>t.add(e)),Array.from(t)}(e)}let tx="logs",tS={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function tO(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||e7("datadog-synthetics-injects-rum"))}let tI=1/0,tA=null,tT=new Set,tL=[];function tR(e){return eT(e.sessionSampleRate)?"1":"0"}let tP={},tj={[g.log]:eZ.info,[g.debug]:eZ.debug,[g.info]:eZ.info,[g.warn]:eZ.warn,[g.error]:eZ.error},tD=new WeakMap;function tM({target:e,parameters:[t,n]}){tD.set(e,{state:"open",method:String(t).toUpperCase(),url:e0(String(n))})}function tF({target:e}){let t=tD.get(e);t&&(t.isAborted=!0)}function tB(e,t){return e.length>t.requestErrorResponseLengthLimit?`${e.substring(0,t.requestErrorResponseLengthLimit)}...`:e}class tN{constructor(){this.callbacks={}}notify(e,t){let n=this.callbacks[e];n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}}let tz={[eZ.ok]:g.debug,[eZ.debug]:g.debug,[eZ.info]:g.info,[eZ.notice]:g.info,[eZ.warn]:g.warn,[eZ.error]:g.error,[eZ.critical]:g.error,[eZ.alert]:g.error,[eZ.emerg]:g.error};function tV({encoder:e,request:t,flushController:n,messageBytesLimit:r}){let i={},o=n.flushObservable.subscribe(n=>(function(n){var r;let o=e9(i).join("\n");i={};let a=(r=n.reason,e9(tS).includes(r)),s=a?t.sendOnExit:t.send;if(a&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&s(tU(t));let n=[t.pendingData,o].filter(Boolean).join("\n");n&&s({data:n,bytesCount:M(n)})}else o&&e.write(e.isEmpty?o:` ${o}`),e.finish(e=>{s(tU(e))})})(n));function a(t,o){let a=H(t),s=e.estimateEncodedBytesCount(a);if(s>=r){_.warn(`Discarded a message whose size was bigger than the maximum allowed size ${r}KB. ${k} ${E}/#technical-limitations`);return}void 0!==o&&void 0!==i[o]&&function(t){let r=i[t];delete i[t];let o=e.estimateEncodedBytesCount(r);n.notifyAfterRemoveMessage(o)}(o),n.notifyBeforeAddMessage(s),void 0!==o?(i[o]=a,n.notifyAfterAddMessage()):e.write(e.isEmpty?a:` ${a}`,e=>{n.notifyAfterAddMessage(e-s)})}return{flushController:n,add:a,upsert:a,stop:o.unsubscribe}}function tU(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}function tH(e,t,n,r,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?tZ(e,t,n,{onSuccess:()=>t$(0,t,n,r,i),onFailure:()=>{t.queuedPayloads.enqueue(e),function e(t,n,r,i){2===t.transportStatus&&B(()=>{tZ(t.queuedPayloads.first(),t,n,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,t$(1,t,n,r,i)},onFailure:()=>{t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,n,r,i)}})},t.currentBackoffTime)}(t,n,r,i)}}):t.queuedPayloads.enqueue(e)}function tZ(e,t,n,{onSuccess:r,onFailure:i}){t.bandwidthMonitor.add(e),n(e,n=>{t.bandwidthMonitor.remove(e),"opaque"!==n.type&&(0===n.status&&!navigator.onLine||408===n.status||429===n.status||n.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},i()):(t.transportStatus=0,r())})}function t$(e,t,n,r,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:`Reached max ${r} events size queued for upload: ${3}MiB`,source:eU.AGENT,startClocks:eO()}),t.queueFullReported=!0);let o=t.queuedPayloads;for(t.queuedPayloads=tW();o.size()>0;)tH(o.dequeue(),t,n,r,i)}function tW(){let e=[];return{bytesCount:0,enqueue(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:()=>e[0],dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=3145728}}}let tG=!1;function tK(e,t,n){fetch(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then(O(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch(O(()=>null==n?void 0:n({status:0})))}function tq(e,t,n,r,i,o,a=tV){let s=l(e,t),u=n&&l(e,n);function l(e,{endpoint:t,encoder:n}){return a({encoder:n,request:function(e,t,n){let r={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:tW(),queueFullReported:!1},i=(n,r)=>{(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}})()&&n.bytesCountnull==r?void 0:r({status:e.status,type:e.type}))).catch(O(()=>tK(e,n,r))):tK(e,n,r)};return{send:t=>{tH(t,r,i,e.trackType,n)},sendOnExit:n=>{!function(e,t,n){if(navigator.sendBeacon&&n.bytesCountd(e.reason)),s=i.subscribe(()=>d("session_expire")),u=new K(()=>()=>{a.unsubscribe(),s.unsubscribe()}),l=0,c=0;function d(e){if(0===c)return;let t=c,n=l;c=0,l=0,f(),u.notify({reason:e,messagesCount:t,bytesCount:n})}function f(){N(o),o=void 0}return{flushObservable:u,get messagesCount(){return c},notifyBeforeAddMessage(e){l+e>=t&&d("bytes_limit"),c+=1,l+=e,void 0===o&&(o=B(()=>{d("duration_limit")},n))},notifyAfterAddMessage(n=0){l+=n,c>=e?d("messages_limit"):l>=t&&d("bytes_limit")},notifyAfterRemoveMessage(e){l-=e,0==(c-=1)&&f()}}}({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageMayExitObservable:i,sessionExpireObservable:o}),messageBytesLimit:e.messageBytesLimit})}return{flushObservable:s.flushController.flushObservable,add(e,t=!0){s.add(e),u&&t&&u.add(n.transformMessage?n.transformMessage(e):e)},upsert:(e,t)=>{s.upsert(e,t),u&&u.upsert(n.transformMessage?n.transformMessage(e):e,t)},stop:()=>{s.stop(),u&&u.stop()}}}function tJ(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){let i=M(n);t+=i,e+=n,r&&r(i)},finish(e){e(this.finishSync())},finishSync(){let n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}let tY="DISCARDED",tX="SKIPPED",tQ=function(){let e={};return{register:(t,n)=>(e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(e=>e!==n)}}),triggerHook(t,n){let r=e[t]||[],i=[];for(let e of r){let t=e(n);if(t===tY)return tY;t!==tX&&i.push(t)}return j(...i)}}},t0=function(e){let t=X("global context"),n=X("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}}),r=X("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}}),i=function(e){let t=new K;return{tryToInit(t){e||(e=t)},update(n){e=n,t.notify()},isGranted:()=>e===Q.GRANTED,observable:t}}();function o(){return{view:{referrer:document.referrer,url:window.location.href},context:t.getContext(),user:n.getContext(),account:r.getContext()}}let a=function(e,t,n){let r,i;let o=eR(),a=t.observable.subscribe(s);function s(){if(!i||!r||!t.isGranted())return;a.unsubscribe();let e=n(r,i);o.drain(e)}return{init(e){var n;if(!e){_.error("Missing configuration");return}if(Array.isArray(n=e.enableExperimentalFeatures)&&function(e){e.forEach(e=>{eE.add(e)})}(n.filter(e=>et(h,e))),eX()&&(e={...e,clientToken:"empty"}),r=e,i){eV("DD_LOGS",e);return}let o=function(e){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&_.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");let t=function(e){var t,n,r,i,o,a,s;if(!e||!e.clientToken){_.error("Client Token is not configured, we will not send any data.");return}if((!(s=e.site)||"string"!=typeof s||/(datadog|ddog|datad0g|dd0g)/.test(s)||(_.error(`Site should be a valid Datadog site. ${k} ${w}/getting_started/site/.`),0))&&t_(e.sessionSampleRate,"Session")&&t_(e.telemetrySampleRate,"Telemetry")&&t_(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&t_(e.telemetryUsageSampleRate,"Telemetry Usage")&&tb(e.version,"Version")&&tb(e.env,"Env")&&tb(e.service,"Service")){if(void 0!==e.trackingConsent&&!et(Q,e.trackingConsent)){_.error('Tracking Consent should be either "granted" or "not-granted"');return}return{beforeSend:e.beforeSend&&C(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:function(e){switch(e.sessionPersistence){case te.COOKIE:return ts(e);case te.LOCAL_STORAGE:return tc();case void 0:{let t=ts(e);return!t&&e.allowFallbackToLocalStorage&&(t=tc()),t}default:_.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}(e),sessionSampleRate:null!==(t=e.sessionSampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=e.telemetryConfigurationSampleRate)&&void 0!==r?r:5,telemetryUsageSampleRate:null!==(i=e.telemetryUsageSampleRate)&&void 0!==i?i:5,service:e.service||void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(o=e.trackingConsent)&&void 0!==o?o:Q.GRANTED,trackAnonymousUser:null===(a=e.trackAnonymousUser)||void 0===a||a,storeContextsAcrossPages:!!e.storeContextsAcrossPages,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144,...function(e){let t=e.site||ek,n=function(e){let{env:t,service:n,version:r,datacenter:i}=e,o=[];return t&&o.push(ty("env",t)),n&&o.push(ty("service",n)),r&&o.push(ty("version",r)),i&&o.push(ty("datacenter",i)),o}(e),r={logsEndpointBuilder:tm(e,"logs",n),rumEndpointBuilder:tm(e,"rum",n),profilingEndpointBuilder:tm(e,"profile",n),sessionReplayEndpointBuilder:tm(e,"replay",n)};return{replica:function(e,t){if(!e.replica)return;let n={...e,site:ek,clientToken:e.replica.clientToken},r={logsEndpointBuilder:tm(n,"logs",t),rumEndpointBuilder:tm(n,"rum",t)};return{applicationId:e.replica.applicationId,...r}}(e,n),site:t,...r}}(e)}}}(e),n=tC(e.forwardConsoleLogs,e9(g),"Forward Console Logs"),r=tC(e.forwardReports,e9(tw),"Forward Reports");if(t&&n&&r)return e.forwardErrorsToLogs&&!n.includes(g.error)&&n.push(g.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:32768,...t}}(e);o&&(i=o,e2().subscribe(U),t.tryToInit(o.trackingConsent),s())},get initConfiguration(){return r},getInternalContext:U,handleLog(t,n,r,i=e(),a=ex()){o.add(e=>e.handleLog(t,n,r,i,a))}}}(o,i,(s,u)=>{s.storeContextsAcrossPages&&(ei(u,t,tx,2),ei(u,n,tx,1),ei(u,r,tx,4));let l=e(s,u,o,i);return a={init:e=>{eV("DD_LOGS",e)},initConfiguration:s,...l},l}),s={};return function(e){let t={version:"6.8.0",onReady(e){e()},...e};return Object.defineProperty(t,"_setDebug",{get:()=>S,enumerable:!1}),t}({logger:new eq((...e)=>a.handleLog(...e)),init:O(e=>a.init(e)),setTrackingConsent:O(e=>{i.update(e),eB({type:ej,usage:{feature:"set-tracking-consent",tracking_consent:e}})}),getGlobalContext:O(()=>t.getContext()),setGlobalContext:O(e=>t.setContext(e)),setGlobalContextProperty:O((e,n)=>t.setContextProperty(e,n)),removeGlobalContextProperty:O(e=>t.removeContextProperty(e)),clearGlobalContext:O(()=>t.clearContext()),createLogger:O((e,t={})=>(s[e]=new eq((...e)=>a.handleLog(...e),$(e),t.handler,t.level,$(t.context)),s[e])),getLogger:O(e=>s[e]),getInitConfiguration:O(()=>P(void 0,a.initConfiguration)),getInternalContext:O(e=>a.getInternalContext(e)),setUser:O(n.setContext),getUser:O(n.getContext),setUserProperty:O(n.setContextProperty),removeUserProperty:O(n.removeContextProperty),clearUser:O(n.clearContext),setAccount:O(r.setContext),getAccount:O(r.getContext),setAccountProperty:O(r.setContextProperty),removeAccountProperty:O(r.removeContextProperty),clearAccount:O(r.clearContext)})}(function(e,t,n,i){let o=new tN,a=tQ(),u=[];o.subscribe(1,e=>eA("logs",e));let l=e=>{o.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:eU.AGENT,status:eZ.error}}),eN("Error reported to customer",{"error.message":e.message})},c=new K(e=>{let{stop:n}=ee(t,window,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:tS.HIDDEN}):"freeze"===t.type&&e.notify({reason:tS.FROZEN})},{capture:!0}),r=ee(t,window,["beforeunload"],()=>{e.notify({reason:tS.UNLOADING})},void 0).stop;return()=>{n(),r()}}),f=!t.sessionStoreStrategyType||eX()||tO()?function(e){let t="1"===tR(e)?{}:void 0;return{findTrackedSession:()=>t,expireObservable:new K}}(t):function(e,t){let n=function(e,t,n,r){let i=new K,o=new K,a=function(e,t,n,r){var i,o,a;let u,l,c,d;let f=new K,h=new K,p=new K,v=e.type===te.COOKIE?function(e,t){let n={isLockEnabled:0===(null!=s?s:s=function(e=window){var t;let n=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(n)?0:(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?1:2}()),persistSession:n=>tu(t,e,n,9e5),retrieveSession:tl,expireSession:n=>tu(t,e,tn(n,e),144e5)};return!function(e){if(!e7(e8)){let t=e7("_dd"),n=e7("_dd_r"),r=e7("_dd_l"),i={};t&&(i.id=t),r&&/^[01]$/.test(r)&&(i.logs=r),n&&/^[012]$/.test(n)&&(i.rum=n),en(i)||(ti(i),e.persistSession(i))}}(n),n}(t,e.cookieOptions):{isLockEnabled:!1,persistSession:td,retrieveSession:tf,expireSession:e=>{td(tn(e,t))}},{expireSession:g}=v,m=z(function(){tp({process:e=>tr(e)?tn(e,t):void 0,after:_},v)},1e3);w();let{throttled:y,cancel:b}=(i=()=>{tp({process:e=>{if(en(e))return;let t=_(e);return function(e){if(en(e))return 0;let{trackingType:t,isTracked:i}=r(e[n]);e[n]=t,delete e.isExpired,i&&!e.id&&(e.id=e5(),e.created=String(ex()))}(t),t},after:e=>{en(e)||E()||(u=e,f.notify()),u=e}},v)},o=0,d=!1,{throttled:(...e)=>{if(d){l=e;return}i(...e),d=!0,c=B(()=>{l&&i(...l),d=!1,l=void 0},1e3)},cancel:()=>{N(c),d=!1,l=void 0}});function _(e){var r;return tr(e)&&(e=tn(e,t)),E()&&((r=e,u.id!==r.id||u[n]!==r[n])?(u=tn(u,t),h.notify()):(p.notify({previousState:u,newState:e}),u=e)),e}function w(){tp({process:e=>{if(en(e))return tn(e,t)},after:e=>{u=e}},v)}function E(){return void 0!==u[n]}return{expandOrRenewSession:y,expandSession:function(){tp({process:e=>E()?_(e):void 0},v)},getSession:()=>u,renewObservable:f,expireObservable:h,sessionStateUpdateObservable:p,restartSession:w,expire:()=>{b(),g(u),_(tn(u,t))},stop:()=>{V(m)},updateSessionState:function(e){tp({process:t=>({...t,...e}),after:_},v)}}}(e.sessionStoreStrategyType,e,t,n);tL.push(()=>a.stop());let u=function({expireDelay:e,maxEntries:t}){let n=[];tA||(tA=z(()=>void tT.forEach(e=>e()),6e4));let r=()=>{let t=eS()-e;for(;n.length>0&&n[n.length-1].endTime{eL(n,i)},close:e=>{i.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(i),i},find:function(e=tI,t={returnInactive:!1}){for(let r of n)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}},closeActive:function(e){let t=n[0];t&&t.endTime===tI&&t.close(e)},findAll:function(e=tI,t=0){let r=e+t;return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},reset:function(){n=[]},stop:function(){tT.delete(r),0===tT.size&&tA&&(V(tA),tA=null)}}}({expireDelay:144e5});function l(){return{id:a.getSession().id,trackingType:a.getSession()[t],isReplayForced:!!a.getSession().forcedReplay,anonymousId:a.getSession().anonymousId}}return tL.push(()=>u.stop()),a.renewObservable.subscribe(()=>{u.add(l(),eS()),i.notify()}),a.expireObservable.subscribe(()=>{o.notify(),u.closeActive(eS())}),a.expandOrRenewSession(),u.add(l(),{relative:0,timeStamp:eI()}.relative),r.observable.subscribe(()=>{r.isGranted()?a.expandOrRenewSession():a.expire()}),function(e,t){let{stop:n}=ee(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});tL.push(n)}(e,()=>{r.isGranted()&&a.expandOrRenewSession()}),function(e,t){let n=()=>{"visible"===document.visibilityState&&t()},{stop:r}=ee(e,document,["visibilitychange"],n,void 0);tL.push(r);let i=z(n,6e4);tL.push(()=>{V(i)})}(e,()=>a.expandSession()),function(e,t){let{stop:n}=ee(e,window,["resume"],t,{capture:!0});tL.push(n)}(e,()=>a.restartSession()),{findSession:(e,t)=>u.find(e,t),renewObservable:i,expireObservable:o,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}(e,"logs",t=>(function(e,t){let n="0"===t||"1"===t?t:tR(e);return{trackingType:n,isTracked:"1"===n}})(e,t),t);return{findTrackedSession:(e,t={returnInactive:!1})=>{let r=n.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id,anonymousId:r.anonymousId}:void 0},expireObservable:n.expireObservable}}(t,i),{stop:h,getRUMInternalContext:p}=function(e){let t=window,n=!1;function r(e){let r=tO(),i=function(e,t){if(t&&t.getInternalContext)return t.getInternalContext(e)}(e,r?t.DD_RUM_SYNTHETICS:t.DD_RUM);if(i)return i;r&&!n&&(n=!0,eN("Logs sent before RUM is injected by the synthetics worker",{testId:function(){let e=window._DATADOG_SYNTHETICS_PUBLIC_ID||e7("datadog-synthetics-public-id");return"string"==typeof e?e:void 0}(),resultId:function(){let e=window._DATADOG_SYNTHETICS_RESULT_ID||e7("datadog-synthetics-result-id");return"string"==typeof e?e:void 0}()}))}return e.register(0,({startTime:e})=>r(e)||tX),{getRUMInternalContext:r,stop:()=>{n=!1}}}(a),{stop:v}=function(e,t,n,i,o,a){var s;let u=function(e,t){let n;let i=new K,o=new Set,a=!eM.includes(t.site)&&eT(t.telemetrySampleRate),s={log:a,[eP]:a&&eT(t.telemetryConfigurationSampleRate),[ej]:a&&eT(t.telemetryUsageSampleRate)},u={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return eB=r=>{let a=H(r);if(s[r.type]&&o.size{n=e},observable:i,enabled:a}}("browser-logs-sdk",t);u.setContextProvider(()=>{var e,t,n,r,i,s;return{application:{id:null===(e=a())||void 0===e?void 0:e.application_id},session:{id:null===(t=o.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(r=null===(n=a())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(s=null===(i=a())||void 0===i?void 0:i.user_action)||void 0===s?void 0:s.id}}});let l=[];if(eX()){let e=eY(),t=u.observable.subscribe(t=>e.send("internal_telemetry",t));l.push(()=>t.unsubscribe())}else{let e=tq(t,{endpoint:t.rumEndpointBuilder,encoder:tJ()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:tJ()},n,i,o.expireObservable);l.push(()=>e.stop());let r=u.observable.subscribe(n=>e.add(n,"datad0g.com"===t.site));l.push(()=>r.unsubscribe())}return eF.drain(),s=function(e){let t={session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_anonymous_user:e.trackAnonymousUser,session_persistence:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent};return{forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,...t}}(e),eB({type:eP,configuration:s}),{telemetry:u,stop:()=>{l.forEach(e=>e())}}}(e,t,l,c,f,p);u.push(()=>v()),function(e,t){function n(n,r){var i,o;function a(e){let i={isAborted:r.isAborted,handlingStack:r.handlingStack};t.notify(0,{rawLogsEvent:{message:`${"xhr"===n?"XHR":"Fetch"} error ${r.method} ${r.url}`,date:r.startClocks.timeStamp,error:{stack:e||"Failed to load",handling:void 0},http:{method:r.method,status_code:r.status,url:r.url},status:eZ.error,origin:eU.NETWORK},domainContext:i})}i=r.url,!eC.every(e=>i.includes(e))&&(0===r.status&&"opaque"!==r.responseType||r.status>=500)&&("xhr"in r?a("string"==typeof(o=r.xhr).response?tB(o.response,e):o.response):r.response?function(e,t,n){var r,i,o;let a=function(e){try{return e.clone()}catch(e){return}}(e);a&&a.body?window.TextDecoder?(r=a.body,i=t.requestErrorResponseLengthLimit,o=(e,t)=>{e?n(`Unable to retrieve response: ${e}`):n(t)},function(e,t,n){let r=e.getReader(),i=[],o=0;function a(){let e,a;if(r.cancel().catch(U),n.collectStreamBody){let t;if(1===i.length)t=i[0];else{t=new Uint8Array(o);let e=0;i.forEach(n=>{t.set(n,e),e+=n.length})}e=t.slice(0,n.bytesLimit),a=t.length>n.bytesLimit}t(void 0,e,a)}(function e(){r.read().then(O(t=>{if(t.done){a();return}n.collectStreamBody&&i.push(t.value),(o+=t.value.length)>n.bytesLimit?a():e()}),O(e=>t(e)))})()}(r,(e,t,n)=>{if(e)o(e);else{let e=new TextDecoder().decode(t);n&&(e+="..."),o(void 0,e)}},{bytesLimit:i,collectStreamBody:!0})):a.text().then(O(e=>n(tB(e,t))),O(e=>n(`Unable to retrieve response: ${e}`))):n()}(r.response,e,a):r.error&&a(tB(em(eo(r.error)),e)))}e.forwardErrorsToLogs&&((d||(d=new K(t=>{let{stop:n}=eQ(XMLHttpRequest.prototype,"open",tM),{stop:r}=eQ(XMLHttpRequest.prototype,"send",n=>{(function({target:e,handlingStack:t},n,r){let i=tD.get(e);if(!i)return;i.state="start",i.startClocks=eO(),i.isAborted=!1,i.xhr=e,i.handlingStack=t;let o=!1,{stop:a}=eQ(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&s()}),s=()=>{var t;u(),a(),o||(o=!0,i.state="complete",i.duration=(t=i.startClocks.timeStamp,ex()-t),i.status=e.status,r.notify({...i}))},{stop:u}=ee(n,e,["loadend"],s,void 0);r.notify(i)})(n,e,t)},{computeHandlingStack:!0}),{stop:i}=eQ(XMLHttpRequest.prototype,"abort",tF);return()=>{n(),r(),i()}})),d).subscribe(e=>{"complete"===e.state&&n("xhr",e)}),e2().subscribe(e=>{"resolve"===e.state&&n("fetch",e)}))}(t,o),function(e,t){if(!e.forwardErrorsToLogs)return;let n=new K,{stop:r}=function(e){let t=(t,n)=>{let r=e_({stackTrace:n,originalError:t,startClocks:eO(),nonErrorPrefix:"Uncaught",source:eU.SOURCE,handling:"unhandled"});e.notify(r)},{stop:n}=eQ(window,"onerror",({parameters:[e,n,r,i,o]})=>{let a;ew(o)||(a=function(e,t,n,r){let i,o;if(void 0===t)return;let{name:a,message:s}=("[object String]"===({}).toString.call(e)&&([,i,o]=ev.exec(e)),{name:i,message:o});return{name:a,message:s,stack:[{url:t,column:r,line:n}]}}(e,n,r,i)),t(null!=o?o:e,a)}),{stop:r}=eQ(window,"onunhandledrejection",({parameters:[e]})=>{t(e.reason||"Empty reason")});return{stop:()=>{n(),r()}}}(n);n.subscribe(e=>{t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:eW(e),origin:eU.SOURCE,status:eZ.error},messageContext:e.context})})}(t,o),function(e,t){q(...e.forwardConsoleLogs.map(e=>(tP[e]||(tP[e]=new K(t=>{let n=m[e];return m[e]=(...r)=>{n.apply(console,r);let i=eg("console error");I(()=>{t.notify(function(e,t,n){let r=e.map(e=>"string"==typeof e?$(e):ew(e)?ey(eo(e)):H($(e),void 0,2)).join(" ");if(t===g.error){let i=e_({originalError:e.find(ew),handlingStack:n,startClocks:eO(),source:eU.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return i.message=r,{api:t,message:r,handlingStack:n,error:i}}return{api:t,message:r,error:void 0,handlingStack:n}}(r,e,i))})},()=>{m[e]=n}})),tP[e]))).subscribe(e=>{var n;let r={rawLogsEvent:{date:ex(),message:e.message,origin:eU.CONSOLE,error:e.error&&eW(e.error),status:tj[e.api]},messageContext:null===(n=e.error)||void 0===n?void 0:n.context,domainContext:{handlingStack:e.handlingStack}};t.notify(0,r)})}(t,o),function(e,t){(function(e,t){let n=[];t.includes(tw.cspViolation)&&n.push(new K(t=>{let{stop:n}=ee(e,document,["securitypolicyviolation"],e=>{t.notify(function(e){let t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return tE({type:e.effectiveDirective,message:`${tw.cspViolation}: ${t}`,originalError:e,csp:{disposition:e.disposition},stack:tk(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${function(e,t,n=""){let r=e.charCodeAt(99),i=r>=55296&&r<=56319?101:100;return e.length<=i?e:`${e.slice(0,i)}${n}`}(e.originalPolicy,0,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(e))},void 0);return n}));let r=t.filter(e=>e!==tw.cspViolation);return r.length&&n.push(new K(e=>{if(!window.ReportingObserver)return;let t=O((t,n)=>t.forEach(t=>e.notify(function(e){let{type:t,body:n}=e;return tE({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:tk(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t)))),n=new window.ReportingObserver(t,{types:r,buffered:!0});return n.observe(),()=>{n.disconnect()}})),q(...n)})(e,e.forwardReports).subscribe(e=>{let n,r=e.message,i="deprecation"===e.originalError.type?eZ.warn:eZ.error;if(i===eZ.error)n=eW(e);else if(e.stack){var o,a;r+=` Found in ${o=e.stack,null===(a=/@ (.+)/.exec(o))||void 0===a?void 0:a[1]}`}t.notify(0,{rawLogsEvent:{date:ex(),message:r,origin:eU.REPORT,error:n,status:i}})})}(t,o);let{handleLog:b}={handleLog:function(e,t,n,r,i){let a=j(t.getContext(),e.context);if(eH(e.status,"console",t)&&function({status:e,message:t},n){y[tz[e]].call(m,t,n)}(e,a),eH(e.status,eG,t)){let t={rawLogsEvent:{date:i||ex(),message:e.message,status:e.status,origin:eU.LOGGER},messageContext:a,savedCommonContext:r};n&&(t.domainContext={handlingStack:n}),o.notify(0,t)}}};if(!function(e,t,n,r,i,o){let a=eK.concat(["custom"]),s={};a.forEach(e=>{var n;let r,i;s[e]=(n=t.eventRateLimiterThreshold,r=0,i=!1,{isLimitReached(){if(0===r&&B(()=>{r=0},6e4),(r+=1)<=n||i)return i=!1,!1;if(r===n+1){i=!0;try{o({message:`Reached max number of ${e}s by minute: ${n}`,source:eU.AGENT,startClocks:eO()})}finally{i=!1}}return!0}})}),n.subscribe(0,({rawLogsEvent:o,messageContext:a,savedCommonContext:u,domainContext:l})=>{var c,d;let f;let h=o.date-eI(),p=e.findTrackedSession(h);if(!e.findTrackedSession(h,{returnInactive:!0}))return;let v=u||i();!en(v.account)&&v.account.id&&(f=v.account),p&&p.anonymousId&&!v.user.anonymous_id&&(v.user.anonymous_id=p.anonymousId);let g=r.triggerHook(0,{startTime:h}),m=j({service:t.service,session_id:p?p.id:void 0,session:p?{id:p.id}:void 0,usr:en(v.user)?void 0:v.user,account:f,view:v.view},v.context,g,o,a);(null===(c=t.beforeSend)||void 0===c?void 0:c.call(t,m,l))===!1||m.origin!==eU.AGENT&&(null!==(d=s[m.status])&&void 0!==d?d:s.custom).isLimitReached()||n.notify(1,m)})}(f,t,o,a,n,l),eX())!function(e){let t=eY();e.subscribe(1,e=>{t.send("log",e)})}(o);else{let{stop:e}=function(e,t,n,r,i){let o=tq(e,{endpoint:e.logsEndpointBuilder,encoder:tJ()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:tJ()},n,r,i.expireObservable);return t.subscribe(1,e=>{o.add(e)}),o}(t,o,l,c,f);u.push(()=>e())}return{handleLog:b,getInternalContext:e=>{let t=f.findTrackedSession(e);if(t)return{session_id:t.id}},stop:()=>{u.forEach(e=>e()),h()}}});!function(e,t,n){let r=e[t];r&&!r.q&&r.version&&_.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(e=>C(e,"onReady callback threw an error:")())}(L(),"DD_LOGS",t0);var t1=n(89762),t2="loom-marketing";t0.init({clientToken:"pubb1955571dc736e541b72313c6942242f",site:"datadoghq.com",forwardErrorsToLogs:!1,sessionSampleRate:100,telemetrySampleRate:0,env:"production"});var t5=function(e,t){t0.logger.info(e,(0,v._)((0,p._)({},t),{client:t2,gasV3EventName:t.segmentEventName?(0,t1.y)(t.segmentEventName):void 0}))},t3=function(e,t){t0.logger.error(e,(0,v._)((0,p._)({},t),{client:t2,gasV3EventName:t.segmentEventName?(0,t1.y)(t.segmentEventName):void 0}))}},45122:function(e,t,n){"use strict";n.d(t,{cA:function(){return s},sW:function(){return u}});var r=n(24043),i=n(85893),o=n(67294),a=(0,o.createContext)({color:"bg-grey-7",setColor:function(){}});function s(e){var t=e.children,n=(0,r._)((0,o.useState)(""),2),s=n[0],u=n[1];return(0,o.useEffect)(function(){u(a)},[]),(0,i.jsx)(a.Provider,{value:{color:s,setColor:u},children:t})}a.displayName="PageBgColor";var u=function(){var e=(0,o.useContext)(a);return{color:e.color,setColor:e.setColor}}},28969:function(e,t,n){"use strict";n.d(t,{NA:function(){return i},fZ:function(){return o}});var r=function(){return function(){}};function i(e){var t;return e.subscribe(function(e){return t=e})(),t}function o(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,i=[],o=function(n){if(e="function"==typeof n?n(e):n,t)for(var r=0;r-1&&i.splice(e,1),0===i.length&&(t=void t())}}}}},60740:function(e,t,n){"use strict";n.d(t,{b:function(){return l}});var r=n(11010),i=n(72253),o=n(14932),a=n(70655),s=n(60150),u=(0,n(28969).fZ)({userFetched:!1}),l={subscribe:u.subscribe};function c(){return(c=(0,r._)(function(){var e,t,n,r,l,c;return(0,a.Jh)(this,function(a){switch(a.label){case 0:if(!window.location.search.includes("login=true"))return[3,1];return u.set({id:11,first_name:"Usagi",last_name:"Tsukino",email:"usagi.tsukino@fake.fake",avatars:[{thumb:"avatars/default-avatar.svg"}],default_workspace_id:123,persona:{persona_v1:{use_case_plan:"work"}},userFetched:!0}),[3,5];case 1:return[4,fetch(s.B3,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:"\n {\n me {\n id\n first_name\n last_name\n email\n avatars {\n thumb\n }\n default_workspace_id\n persona\n }\n }\n "})})];case 2:if(!(e=a.sent()).ok)return[3,4];return[4,e.json()];case 3:return(r=null==(n=a.sent())?void 0:null===(t=n.data)||void 0===t?void 0:t.me)?(u.set((0,o._)((0,i._)({},r),{userFetched:!0})),null===(c=window.segmentAnalytics)||void 0===c||null===(l=c.identify)||void 0===l||l.call(c,r.id,{email:r.email,firstName:r.first_name,lastName:r.last_name})):u.set({userFetched:!0}),[3,5];case 4:u.set({userFetched:!0}),a.label=5;case 5:return[2]}})})).apply(this,arguments)}(function(){return c.apply(this,arguments)})().catch(function(){})},62123:function(e,t,n){"use strict";n.r(t),n.d(t,{MyApp:function(){return eo},default:function(){return ea}});var r=n(72253),i=n(85893);n(25433),n(11083);var o=n(67294);let a=(0,o.lazy)(()=>n.e(4922).then(n.bind(n,34922)));function s(e){return(0,i.jsx)(o.Suspense,{fallback:null,children:(0,i.jsx)(a,{...e})})}var u=n(84573);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:t.mimeType||null,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},r=Array.isArray(e)?e:[e],i=Array.apply(null,Array(r.length)).map(function(e){return null});function o(e){var t="string"==typeof e,n=t&&"<"===e.trim().charAt(0);return t&&!n}function a(e,t){n.onError(e,r[t],t)}function s(e,t){var o=n.onSuccess(e,r[t],t);e=!1===o?"":o||e,i[t]=e,-1===i.indexOf(null)&&n.onComplete(i)}var u=document.createElement("a");r.forEach(function(e,t){if(u.setAttribute("href",e),u.href=String(u.href),document.all&&!window.atob&&u.host.split(":")[0]!==location.host.split(":")[0]){if(u.protocol===location.protocol){var r=new XDomainRequest;r.open("GET",e),r.timeout=0,r.onprogress=Function.prototype,r.ontimeout=Function.prototype,r.onload=function(){var e=r.responseText;o(e)?s(e,t):a(r,t)},r.onerror=function(e){a(r,t)},setTimeout(function(){r.send()},0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(e,")")),a(null,t)}else{var i=new XMLHttpRequest;i.open("GET",e),n.mimeType&&i.overrideMimeType&&i.overrideMimeType(n.mimeType),n.onBeforeSend(i,e,t),i.onreadystatechange=function(){if(4===i.readyState){var e=i.responseText;i.status<400&&o(e)?s(e,t):0===i.status&&o(e)?s(e,t):a(i,t)}},i.send()}})}function d(e){var t=/\/\*[\s\S]+?\*\//g,n=/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g,r={rootElement:e.rootElement||document,include:e.include||'style,link[rel="stylesheet"]',exclude:e.exclude||null,filter:e.filter||null,skipDisabled:!1!==e.skipDisabled,useCSSOM:e.useCSSOM||!1,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},i=Array.apply(null,r.rootElement.querySelectorAll(r.include)).filter(function(e){var t;return t=r.exclude,!(e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,t)}),o=Array.apply(null,Array(i.length)).map(function(e){return null});function a(){if(-1===o.indexOf(null)){o.reduce(function(e,t,n){return""===t&&e.push(n),e},[]).reverse().forEach(function(e){return[i,o].forEach(function(t){return t.splice(e,1)})});var e=o.join("");r.onComplete(e,o,i)}}function s(e,t,n,i){var s=r.onSuccess(e,n,i);!function e(t,n,i,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=u(t,i,s);l.rules.length?c(l.absoluteUrls,{onBeforeSend:function(e,t,i){r.onBeforeSend(e,n,t)},onSuccess:function(e,t,i){var o=r.onSuccess(e,n,t),a=u(e=!1===o?"":o||e,t,s);return a.rules.forEach(function(t,n){e=e.replace(t,a.absoluteRules[n])}),e},onError:function(r,u,c){a.push({xhr:r,url:u}),s.push(l.rules[c]),e(t,n,i,o,a,s)},onComplete:function(r){r.forEach(function(e,n){t=t.replace(l.rules[n],e)}),e(t,n,i,o,a,s)}}):o(t,a)}(e=void 0!==s&&!1==!!s?"":s||e,n,i,function(e,i){null===o[t]&&(i.forEach(function(e){return r.onError(e.xhr,n,e.url)}),!r.filter||r.filter.test(e)?o[t]=e:o[t]="",a())})}function u(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={};return o.rules=(e.replace(t,"").match(n)||[]).filter(function(e){return -1===i.indexOf(e)}),o.urls=o.rules.map(function(e){return e.replace(n,"$1")}),o.absoluteUrls=o.urls.map(function(e){return f(e,r)}),o.absoluteRules=o.rules.map(function(e,t){var n=o.urls[t],i=f(o.absoluteUrls[t],r);return e.replace(n,i)}),o}i.length?i.forEach(function(e,t){var n=e.getAttribute("href"),i=e.getAttribute("rel"),u="link"===e.nodeName.toLowerCase()&&n&&i&&-1!==i.toLowerCase().indexOf("stylesheet"),l=!1!==r.skipDisabled&&e.disabled,d="style"===e.nodeName.toLowerCase();if(u&&!l){if(-1!==n.indexOf("data:text/css")){var h=decodeURIComponent(n.substring(n.indexOf(",")+1));r.useCSSOM&&(h=Array.apply(null,e.sheet.cssRules).map(function(e){return e.cssText}).join("")),s(h,t,e,location.href)}else c(n,{mimeType:"text/css",onBeforeSend:function(t,n,i){r.onBeforeSend(t,e,n)},onSuccess:function(r,i,o){s(r,t,e,f(n))},onError:function(n,i,s){o[t]="",r.onError(n,e,i),a()}})}else if(d&&!l){var p=e.textContent;r.useCSSOM&&(p=Array.apply(null,e.sheet.cssRules).map(function(e){return e.cssText}).join("")),s(p,t,e,location.href)}else o[t]="",a()}):r.onComplete("",[])}function f(e,t){var n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),r.href=t||document.baseURI||(document.querySelector("base")||{}).href||location.href,i.href=e,i.href}var h=p;function p(e,t,n){e instanceof RegExp&&(e=v(e,n)),t instanceof RegExp&&(t=v(t,n));var r=g(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function v(e,t){var n=t.match(e);return n?n[0]:null}function g(e,t,n){var r,i,o,a,s,u=n.indexOf(e),l=n.indexOf(t,u+1),c=u;if(u>=0&&l>0){if(e===t)return[u,l];for(r=[],o=n.length;c>=0&&!s;)c==u?(r.push(c),u=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),l]:((i=r.pop())=0?u:l;r.length&&(s=[o,a])}return s}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=l({},{preserveStatic:!0,removeComments:!1},t);function r(e){throw Error("CSS parse error: ".concat(e))}function i(t){var n=t.exec(e);if(n)return e=e.slice(n[0].length),n}function o(){return i(/^{\s*/)}function a(){i(/^\s*/)}function s(){for(var t,i=[];t=function(){if(a(),"/"===e[0]&&"*"===e[1]){for(var t=2;e[t]&&("*"!==e[t]||"/"!==e[t+1]);)t++;if(!e[t])return r("end of comment is missing");var n=e.slice(2,t);return e=e.slice(t+2),{type:"comment",comment:n}}}();)i.push(t);return n.removeComments?[]:i}function u(){for(a();"}"===e[0];)r("extra closing bracket");var t=i(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(t){var n,o=t[0].trim();/\/\*/.test(o)&&(o=o.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,""));var s=/["']\w*,\w*["']/.test(o);return s&&(o=o.replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(e){return e.replace(/,/g,"‌")})),n=/,/.test(o)?o.split(/\s*(?![^(]*\)),\s*/):[o],s&&(n=n.map(function(e){return e.replace(/\u200C/g,",")})),n}}function c(){if(!o())return r("missing '{'");for(var t,n=s();t=function(){if("@"===e[0])return d();i(/^([;\s]*)+/);var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=i(/^(\*?[-#/*\\\w.]+(\[[0-9a-z_-]+\])?)\s*/);if(n){if(n=n[0].trim(),!i(/^:\s*/))return r("property missing ':'");var o=i(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),a={type:"declaration",property:n.replace(t,""),value:o?o[0].replace(t,"").trim():""};return i(/^[;\s]*/),a}}();)n.push(t),n=n.concat(s());return i(/^}/)?n:r("missing '}'")}function d(){if(a(),"@"===e[0]){var t=function(){var e=i(/^@(import|charset|namespace)\s*([^;]+);/);if(e)return{type:e[1],name:e[2].trim()}}()||function(){if(i(/^@font-face\s*/))return{type:"font-face",declarations:c()}}()||function(){var e=i(/^@media([^{]+)*/);if(e)return{type:"media",media:(e[1]||"").trim(),rules:f()}}()||function(){var e,t=i(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=i(/^([-\w]+)\s*/)))return r("@keyframes missing name");var u=t[1];if(!o())return r("@keyframes missing '{'");for(var l=s();e=function(){a();for(var e,t=[];e=i(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),i(/^,\s*/);if(t.length)return{type:"keyframe",values:t,declarations:c()}}();)l.push(e),l=l.concat(s());return i(/^}/)?{type:"keyframes",name:u,vendor:n,keyframes:l}:r("@keyframes missing '}'")}}()||function(){var e=i(/^@supports *([^{]+)/);if(e)return{type:"supports",supports:e[1].trim(),rules:f()}}()||function(){var e=i(/^@([-\w]+)?document *([^{]+)/);if(e)return{type:"document",document:e[2].trim(),vendor:e[1]?e[1].trim():null,rules:f()}}()||function(){var e=i(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return{type:"custom-media",name:e[1].trim(),media:e[2].trim()}}()||function(){if(i(/^@host\s*/))return{type:"host",rules:f()}}()||function(){if(i(/^@page */))return{type:"page",selectors:u()||[],declarations:c()}}()||function(){var e=i(/@(top|bottom|left|right)-(left|center|right|top|middle|bottom)-?(corner)?\s*/);if(e)return{type:"page-margin-box",name:"".concat(e[1],"-").concat(e[2])+(e[3]?"-".concat(e[3]):""),declarations:c()}}();return t&&!n.preserveStatic?(t.declarations?t.declarations.some(function(e){return/var\(/.test(e.value)}):(t.keyframes||t.rules||[]).some(function(e){return(e.declarations||[]).some(function(e){return/var\(/.test(e.value)})}))?t:{}:t}}function f(t){if(!t&&!o())return r("missing '{'");for(var a,l=s();e.length&&(t||"}"!==e[0])&&(a=d()||function(){if(!n.preserveStatic){var t=h("{","}",e);if(t){var i=/:(?:root|host)(?![.:#(])/.test(t.pre)&&/--\S*\s*:/.test(t.body),o=/var\(/.test(t.body);if(!i&&!o)return e=e.slice(t.end+1),{}}}var a=u()||[],s=n.preserveStatic?c():c().filter(function(e){var t=a.some(function(e){return/:(?:root|host)(?![.:#(])/.test(e)})&&/^--\S/.test(e.property),n=/var\(/.test(e.value);return t||n});return a.length||r("selector missing"),{type:"rule",selectors:a,declarations:s}}());)a.type&&l.push(a),l=l.concat(s());return t||i(/^}/)?l:r("missing '}'")}return{type:"stylesheet",stylesheet:{rules:f(!0),errors:[]}}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=l({},{parseHost:!1,store:{},onWarning:function(){}},t),r=new RegExp(":".concat(n.parseHost?"host":"root","$"));return"string"==typeof e&&(e=m(e,n)),e.stylesheet.rules.forEach(function(e){"rule"===e.type&&e.selectors.some(function(e){return r.test(e)})&&e.declarations.forEach(function(e,t){var r=e.property,i=e.value;r&&0===r.indexOf("--")&&(n.store[r]=i)})}),n.store}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r={charset:function(e){return"@charset "+e.name+";"},comment:function(e){return 0===e.comment.indexOf("__CSSVARSPONYFILL")?"/*"+e.comment+"*/":""},"custom-media":function(e){return"@custom-media "+e.name+" "+e.media+";"},declaration:function(e){return e.property+":"+e.value+";"},document:function(e){return"@"+(e.vendor||"")+"document "+e.document+"{"+i(e.rules)+"}"},"font-face":function(e){return"@font-face{"+i(e.declarations)+"}"},host:function(e){return"@host{"+i(e.rules)+"}"},import:function(e){return"@import "+e.name+";"},keyframe:function(e){return e.values.join(",")+"{"+i(e.declarations)+"}"},keyframes:function(e){return"@"+(e.vendor||"")+"keyframes "+e.name+"{"+i(e.keyframes)+"}"},media:function(e){return"@media "+e.media+"{"+i(e.rules)+"}"},namespace:function(e){return"@namespace "+e.name+";"},page:function(e){return"@page "+(e.selectors.length?e.selectors.join(", "):"")+"{"+i(e.declarations)+"}"},"page-margin-box":function(e){return"@"+e.name+"{"+i(e.declarations)+"}"},rule:function(e){var t=e.declarations;if(t.length)return e.selectors.join(",")+"{"+i(t)+"}"},supports:function(e){return"@supports "+e.supports+"{"+i(e.rules)+"}"}};function i(e){for(var i="",o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t="cssVars(): ",n=l({},k,e);function r(e,r,i,o){!n.silent&&window.console&&console.error("".concat(t).concat(e,"\n"),r),n.onError(e,r,i,o)}function i(e){!n.silent&&window.console&&console.warn("".concat(t).concat(e)),n.onWarning(e)}function o(e){n.onFinally(!!e,w,P()-n.__benchmark)}if(_){if(n.watch){n.watch=k.watch,function(e){function t(e){var t=n(e)&&e.hasAttribute("disabled"),r=(e.sheet||{}).disabled;return t||r}function n(e){return"link"===e.nodeName.toLowerCase()&&-1!==(e.getAttribute("rel")||"").indexOf("stylesheet")}function r(e){return"style"===e.nodeName.toLowerCase()}window.MutationObserver&&(O&&(O.disconnect(),O=null),(O=new MutationObserver(function(i){i.some(function(i){var o,a;return function(r){var i=!1;if("attributes"===r.type&&n(r.target)&&!t(r.target)){var o="disabled"===r.attributeName,a="href"===r.attributeName,s="skip"===r.target.getAttribute("data-cssvars"),u="src"===r.target.getAttribute("data-cssvars");o?i=!s&&!u:a&&(s?r.target.setAttribute("data-cssvars",""):u&&j(e.rootElement,!0),i=!0)}return i}(i)||function(e){var t=!1;if("childList"===e.type){var n=r(e.target),i="out"===e.target.getAttribute("data-cssvars");t=n&&!i}return t}(i)||(o=!1,"childList"===i.type&&(o=[].slice.call(i.addedNodes).some(function(e){var i=1===e.nodeType&&e.hasAttribute("data-cssvars"),o=r(e)&&C.cssVars.test(e.textContent);return!i&&(n(e)||o)&&!t(e)})),o)||(a=!1,"childList"===i.type&&(a=[].slice.call(i.removedNodes).some(function(t){var n=1===t.nodeType,r=n&&"out"===t.getAttribute("data-cssvars"),i=n&&"src"===t.getAttribute("data-cssvars");if(i||r){var o=t.getAttribute("data-cssvars-group"),a=e.rootElement.querySelector('[data-cssvars-group="'.concat(o,'"]'));i&&j(e.rootElement,!0),a&&a.parentNode.removeChild(a)}return i})),a)})&&L(e)})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0}))}(n),L(n);return}if(!1===n.watch&&O&&(O.disconnect(),O=null),!n.__benchmark){if(S===n.rootElement){!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(A),A=setTimeout(function(){e.__benchmark=null,L(e)},t)}(e);return}var a=[].slice.call(n.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])'));n.__benchmark=P(),n.exclude=[O?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',"link[disabled]:not([data-cssvars])",n.exclude].filter(function(e){return e}).join(","),n.variables=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=/^-{2}/;return Object.keys(e).reduce(function(n,r){return n[t.test(r)?r:"--".concat(r.replace(/^-+/,""))]=e[r],n},{})}(n.variables),a.forEach(function(e){var t="style"===e.nodeName.toLowerCase()&&e.__cssVars.text,n=t&&e.textContent!==e.__cssVars.text;t&&n&&(e.sheet&&(e.sheet.disabled=!1),e.setAttribute("data-cssvars",""))}),!O&&([].slice.call(n.rootElement.querySelectorAll('[data-cssvars="out"]')).forEach(function(e){var t=e.getAttribute("data-cssvars-group");(t?n.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(t,'"]')):null)||e.parentNode.removeChild(e)}),I&&a.length2&&void 0!==arguments[2]?arguments[2]:[],s=l({},x.dom,x.user);if(x.job={},a.forEach(function(e,o){var a=t[o];if(e.__cssVars=e.__cssVars||{},e.__cssVars.text=a,C.cssVars.test(a))try{var s=m(a,{preserveStatic:n.preserveStatic,removeComments:!0});y(s,{parseHost:!!n.rootElement.host,store:x.dom,onWarning:i}),e.__cssVars.tree=s}catch(t){r(t.message,e)}}),l(x.job,x.dom),n.updateDOM?(l(x.user,n.variables),l(x.job,x.user)):(l(x.job,x.user,n.variables),l(s,n.variables)),E.job>0&&(Object.keys(x.job).length>Object.keys(s).length||Object.keys(s).length&&Object.keys(x.job).some(function(e){return x.job[e]!==s[e]})))j(n.rootElement),L(n);else{var u=[],c=[],d=!1;if(n.updateDOM&&E.job++,a.forEach(function(e,o){var a=!e.__cssVars.tree;if(e.__cssVars.tree)try{!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=l({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},t);"string"==typeof e&&(e=m(e,n)),function e(t,n){t.rules.forEach(function(r){if(r.rules){e(r,n);return}if(r.keyframes){r.keyframes.forEach(function(e){"keyframe"===e.type&&n(e.declarations,r)});return}r.declarations&&n(r.declarations,t)})}(e.stylesheet,function(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;if(-1===t.indexOf("var("))return t;var c=h("(",")",t);return c?"var"!==c.pre.slice(-3)?c.pre+"(".concat(e(c.body,u),")")+e(c.post,u):0===c.body.trim().length?(u.onWarning("var() must contain a non-whitespace string"),t):c.pre.slice(0,-3)+(r=(n=c.body).split(",")[0].replace(/[\s\n\t]/g,""),i=(n.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],a=(o=Object.prototype.hasOwnProperty.call(u.variables,r)?String(u.variables[r]):void 0)||(i?String(i):void 0),s=l||n,(o||u.onWarning('variable "'.concat(r,'" is undefined')),a&&"undefined"!==a&&a.length>0)?e(a,u,s):"var(".concat(s,")"))+e(c.post,u):(-1!==t.indexOf("var(")&&u.onWarning('missing closing ")" in the value "'.concat(t,'"')),t)}(s,n);u!==i.value&&(u=function(e){return(e.match(/calc\(([^)]+)\)/g)||[]).forEach(function(t){var n="calc".concat(t.split("calc").join(""));e=e.replace(t,n)}),e}(u),n.preserveVars?(e.splice(r,0,{type:o,property:a,value:u}),r++):i.value=u)}}}}),b(e)}(e.__cssVars.tree,l({},n,{variables:x.job,onWarning:i}));var s=b(e.__cssVars.tree);if(n.updateDOM){var f=t[o],p=C.cssVarFunc.test(f);if(e.getAttribute("data-cssvars")||e.setAttribute("data-cssvars","src"),s.length&&p){var v=e.getAttribute("data-cssvars-group")||++E.group,g=s.replace(/\s/g,""),y=n.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(v,'"]'))||document.createElement("style");d=d||C.cssKeyframes.test(s),n.preserveStatic&&e.sheet&&(e.sheet.disabled=!0),y.hasAttribute("data-cssvars")||y.setAttribute("data-cssvars","out"),g===e.textContent.replace(/\s/g,"")?(a=!0,y&&y.parentNode&&(e.removeAttribute("data-cssvars-group"),y.parentNode.removeChild(y))):g===y.textContent.replace(/\s/g,"")||([e,y].forEach(function(e){e.setAttribute("data-cssvars-job",E.job),e.setAttribute("data-cssvars-group",v)}),y.textContent=s,u.push(s),c.push(y),y.parentNode||e.parentNode.insertBefore(y,e.nextSibling))}}else e.textContent.replace(/\s/g,"")!==s&&u.push(s)}catch(t){r(t.message,e)}a&&e.setAttribute("data-cssvars","skip"),e.hasAttribute("data-cssvars-job")||e.setAttribute("data-cssvars-job",E.job)}),I=n.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,n.shadowDOM)for(var f,p=[].concat(n.rootElement).concat([].slice.call(n.rootElement.querySelectorAll("*"))),v=0;f=p[v];++v)f.shadowRoot&&f.shadowRoot.querySelector("style")&&L(l({},n,{rootElement:f.shadowRoot}));n.updateDOM&&d&&function(e){var t=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(e){return getComputedStyle(document.body)[e]})[0];if(t){for(var n=[].slice.call(e.querySelectorAll("*")),r=[],i="__CSSVARSPONYFILL-KEYFRAMES__",o=0,a=n.length;o1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),r.href=t,i.href=e,i.href}function P(){return _&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];[].slice.call(e.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEach(function(e){return e.setAttribute("data-cssvars","")}),t&&(x.dom={})}L.reset=function(){for(var e in E.job=0,E.group=0,S=!1,O&&(O.disconnect(),O=null),I=0,A=null,T=!1,x)x[e]={}};var D=n(9008),M=n.n(D),F=n(60150),B=n(9301),N=n(45122),z=n(11010),V=n(24043),U=n(70655),H=(0,o.createContext)(null);function Z(e){var t=e.children,n=(0,V._)((0,o.useState)(null),2),r=n[0],a=n[1];return(0,o.useEffect)(function(){var e;(e=(0,z._)(function(){var e,t,n,r,i,o;return(0,U.Jh)(this,function(s){switch(s.label){case 0:if(!(window.location.search.includes("login=true")||F.td))return[3,1];return a({id:0,first_name:"Usagi",last_name:"Tsukino",email:"usagi.tsukino@fake.fake",avatars:[{thumb:"avatars/default-avatar.svg"}],default_workspace_id:0,persona:{persona_v1:{use_case_plan:"work"}},userFetched:!0}),[3,4];case 1:return[4,fetch(F.B3,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:"\n {\n me {\n id\n first_name\n last_name\n email\n avatars {\n thumb\n }\n default_workspace_id\n persona\n }\n }\n "})})];case 2:if(!(e=s.sent()).ok)return[3,4];return[4,e.json()];case 3:return(r=null==(n=s.sent())?void 0:null===(t=n.data)||void 0===t?void 0:t.me)&&(a(r),null===(o=window.segmentAnalytics)||void 0===o||null===(i=o.identify)||void 0===i||i.call(o,r.id,{email:r.email,firstName:r.first_name,lastName:r.last_name})),[3,4];case 4:return[2]}})}),function(){return e.apply(this,arguments)})()},[]),(0,i.jsx)(H.Provider,{value:r,children:t})}H.displayName="User";var $=n(48564),W=n(248),G=n(26331),K={GOOGLE_TRANSLATE:{selectors:['[id*="goog-gt"]','[class*="goog-te"]','[class*="google-translate"]','[id*="google_translate"]',".goog-te-banner",".goog-te-gadget",".goog-te-combo",".goog-te-menu-value",".goog-te-banner-frame",".goog-te-menu-frame",'[class*="skiptranslate"]','[class*="notranslate"]',"[translate]","[data-google-translate]",'iframe[src*="translate.google.com"]','iframe[src*="translate.googleapis.com"]'],attributes:["data-google-translate","translate","data-translate"]},MICROSOFT_TRANSLATOR:{selectors:['[class*="ms-translator"]','[id*="ms-translator"]','[class*="microsoft-translator"]',".ms-translator-widget",".ms-translator-button"],attributes:["data-ms-translator"]},DEEPL_TRANSLATOR:{selectors:['[class*="deepl"]','[id*="deepl"]','[class*="deepl-translator"]',".deepl-translator-widget",".deepl-button"],attributes:["data-deepl"]},GENERIC_TRANSLATION:{selectors:['[class*="translate"]','[id*="translate"]','[class*="translation"]','[class*="translator"]',".translation-widget",".translate-button",".language-switcher",".locale-switcher"],attributes:["data-translate","data-translation"]}},q=["lang","data-lang","data-language","data-translate","data-translation"],J=function(){if("undefined"!=typeof navigator){var e;return navigator.language||(null===(e=navigator.languages)||void 0===e?void 0:e[0])||"en"}return"en"},Y=function(){if("undefined"!=typeof navigator){var e;return(null===(e=navigator.languages)||void 0===e?void 0:e.slice().sort().join(","))||"en"}return"en"},X=function(){function e(t){(0,$._)(this,e),this.observer=null,this.detectedTranslators=new Set,this.languageChanges=[],this.lastLangAttribute=null,this.browserLanguage="en",this.acceptLanguage="en",this.onDetectionCallback=t,this.initializeDetection()}var t=e.prototype;return t.initializeDetection=function(){this.browserLanguage=J(),this.acceptLanguage=Y(),this.scanForTranslators(),this.setupMutationObserver(),this.monitorLanguageChanges()},t.scanForTranslators=function(){var e=this;Object.entries(K).forEach(function(t){var n=(0,V._)(t,2),r=n[0],i=n[1];i.selectors.forEach(function(t){if(document.querySelectorAll(t).length>0){e.detectedTranslators.add(r);return}}),i.attributes.filter(function(e){return!i.selectors.some(function(t){return t.includes("[".concat(e,"]"))||t.includes("[".concat(e,"="))})}).forEach(function(t){document.querySelectorAll("[".concat(t,"]")).length>0&&e.detectedTranslators.add(r)})})},t.setupMutationObserver=function(){var e=this;this.observer=new MutationObserver(function(t){var n=!1;t.forEach(function(t){if(t.addedNodes.forEach(function(t){t.nodeType===Node.ELEMENT_NODE&&Object.entries(K).forEach(function(r){var i=(0,V._)(r,2),o=i[0],a=i[1],s=!0,u=!1,l=void 0;try{for(var c,d=a.selectors[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){var f=c.value;if(t.matches(f)||t.querySelector(f)){e.detectedTranslators.add(o),n=!0;break}}}catch(e){u=!0,l=e}finally{try{s||null==d.return||d.return()}finally{if(u)throw l}}})}),"attributes"===t.type){var r=t.target;if(t.attributeName&&q.includes(t.attributeName)){var i=e.lastLangAttribute,o=r.getAttribute(t.attributeName);i!==o&&(e.languageChanges.push({from:i,to:o,timestamp:Date.now()}),e.lastLangAttribute=o)}Object.entries(K).forEach(function(r){var i=(0,V._)(r,2),o=i[0],a=i[1],s=a.attributes.filter(function(e){return!a.selectors.some(function(t){return t.includes("[".concat(e,"]"))||t.includes("[".concat(e,"="))})}),u=!0,l=!1,c=void 0;try{for(var d,f=s[Symbol.iterator]();!(u=(d=f.next()).done);u=!0){var h=d.value;if(t.attributeName===h){e.detectedTranslators.add(o),n=!0;break}}}catch(e){l=!0,c=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}})}}),n&&e.onTranslatorDetected()}),this.observer.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:(0,W._)(q).concat(["class","id"])})},t.monitorLanguageChanges=function(){var e=this,t=document.documentElement;this.lastLangAttribute=t.getAttribute("lang"),setInterval(function(){var n=t.getAttribute("lang");if(n!==e.lastLangAttribute){var r=e.lastLangAttribute;e.languageChanges.push({from:r,to:n,timestamp:Date.now()}),e.lastLangAttribute=n,0===e.detectedTranslators.size&&e.detectedTranslators.add("GENERIC_TRANSLATION")}},1e3)},t.onTranslatorDetected=function(){var e=this.detectTextBasedTranslation();if(this.onDetectionCallback){var t=this.getDetectionResult();this.onDetectionCallback(t)}var n=this.languageChanges.length>0?this.languageChanges[this.languageChanges.length-1]:null;(0,G.L9)("Translator Detected",{translators:Array.from(this.detectedTranslators),languageChanges:this.languageChanges.length,currentLang:this.lastLangAttribute,lastLanguageChange:n?"".concat(n.from," → ").concat(n.to):null,textBasedDetection:e,detectedTargetLanguage:e.detectedTargetLanguage})},t.detectTextBasedTranslation=function(){var e={hasTranslationText:!1,hasLanguageIndicators:!1,hasTranslationUI:!1,detectedTargetLanguage:null},t=document.body.textContent||"";return e.hasTranslationText=["Google Translate","Translate this page","Original text","Show original","Translate","Translated"].some(function(e){return t.includes(e)}),e.hasLanguageIndicators=[/translated from [a-z]{2}/i,/original language/i,/translation/i].some(function(e){return e.test(t)}),e.hasTranslationUI=['[class*="translate"]:not([class*="goog-te"]):not([class*="google-translate"])','[class*="language"]:not([class*="goog-te"])','[class*="translation"]:not([class*="google-translate"])'].some(function(e){return document.querySelectorAll(e).length>0}),e.detectedTargetLanguage=this.detectTargetLanguage(),e},t.detectTargetLanguage=function(){var e=document.documentElement.getAttribute("lang");if(e&&"en"!==e)return e;var t=document.querySelectorAll('[class*="goog"], [id*="goog"], [class*="google"]'),n=!0,r=!1,i=void 0;try{for(var o,a=Array.from(t)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value,u=String(s.className||""),l=s.id||"",c=(u+" "+l).match(/([a-z]{2}(-[A-Z]{2})?)/g);if(c){var d=!0,f=!1,h=void 0;try{for(var p,v=c[Symbol.iterator]();!(d=(p=v.next()).done);d=!0){var g=p.value;if("en"!==g&&"en-US"!==g&&g.length>=2)return g}}catch(e){f=!0,h=e}finally{try{d||null==v.return||v.return()}finally{if(f)throw h}}}}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var m=document.querySelectorAll("[translate]"),y=!0,b=!1,_=void 0;try{for(var w,E=Array.from(m)[Symbol.iterator]();!(y=(w=E.next()).done);y=!0){var k=w.value,C=k.getAttribute("translate");if(C&&"no"!==C){var x=k.getAttribute("lang");if(x&&"en"!==x)return x}}}catch(e){b=!0,_=e}finally{try{y||null==E.return||E.return()}finally{if(b)throw _}}var S=document.querySelectorAll("*"),O=!0,I=!1,A=void 0;try{for(var T,L=Array.from(S)[Symbol.iterator]();!(O=(T=L.next()).done);O=!0){var R=T.value;if(R.hasAttributes())for(var P=R.attributes,j=0;j=2)return U}}catch(e){B=!0,N=e}finally{try{F||null==V.return||V.return()}finally{if(B)throw N}}}}}}}catch(e){I=!0,A=e}finally{try{O||null==L.return||L.return()}finally{if(I)throw A}}var H=document.body.textContent||"",Z=!0,$=!1,W=void 0;try{for(var G,K=[/translated from ([a-z]{2})/i,/language: ([a-z]{2})/i,/([a-z]{2}) translation/i][Symbol.iterator]();!(Z=(G=K.next()).done);Z=!0){var q=G.value,J=H.match(q);if(J&&J[1]&&"en"!==J[1])return J[1]}}catch(e){$=!0,W=e}finally{try{Z||null==K.return||K.return()}finally{if($)throw W}}return null},t.getDetectionResult=function(){var e,t=this.detectedTranslators.size>0||this.languageChanges.length>0,n=0,r=[];this.detectedTranslators.size>0&&(e=Array.from(this.detectedTranslators)[0],n=.9,r.push("Detected ".concat(e," elements in DOM"))),this.languageChanges.length>0&&(n=Math.max(n,.7),r.push("".concat(this.languageChanges.length," language attribute changes detected")),this.languageChanges.forEach(function(e,t){r.push("Language change ".concat(t+1,": ").concat(e.from," → ").concat(e.to))})),this.lastLangAttribute&&"en"!==this.lastLangAttribute&&(n=Math.max(n,.6),r.push("Non-English language detected: ".concat(this.lastLangAttribute))),"en"!==this.browserLanguage&&"en-US"!==this.browserLanguage&&(n=Math.max(n,.5),r.push("Browser language: ".concat(this.browserLanguage))),this.acceptLanguage.startsWith("en")||(n=Math.max(n,.4),r.push("Accept-Language: ".concat(this.acceptLanguage)));var i=this.detectTextBasedTranslation(),o=this.languageChanges.length>0?this.languageChanges[this.languageChanges.length-1]:null;return{detected:t,translatorType:e,confidence:n,evidence:r,currentLang:this.lastLangAttribute,lastLanguageChange:o?"".concat(o.from," → ").concat(o.to):null,detectedTargetLanguage:i.detectedTargetLanguage,textBasedDetection:i}},t.destroy=function(){this.observer&&(this.observer.disconnect(),this.observer=null)},e}(),Q=null,ee=function(e){Q||(Q=new X(e))},et=n(89762),en=n(69355),er=function(){var e=(0,V._)((0,o.useState)({detected:!1,confidence:0,evidence:[]}),2),t=e[0],n=e[1],r=(0,V._)((0,o.useState)(!1),2),i=r[0],a=r[1];return(0,o.useEffect)(function(){ee(function(e){if(e.detected&&!i){var t,r;(0,G.L9)(en.ZK,{translatorType:e.translatorType,confidence:e.confidence,evidence:e.evidence,currentLang:e.currentLang,lastLanguageChange:e.lastLanguageChange,detectedTargetLanguage:e.detectedTargetLanguage,textBasedDetection:e.textBasedDetection,browserLanguage:navigator.language,acceptLanguage:null===(t=navigator.languages)||void 0===t?void 0:t.slice().sort().join(",")}),(0,et._)("track",{action:"detect",actionSubject:en.ZK,attributes:{translatorType:e.translatorType,confidence:e.confidence,evidence:e.evidence.join(", "),currentLang:e.currentLang,lastLanguageChange:e.lastLanguageChange,detectedTargetLanguage:e.detectedTargetLanguage,textBasedDetection:e.textBasedDetection,browserLanguage:navigator.language,acceptLanguage:null===(r=navigator.languages)||void 0===r?void 0:r.slice().sort().join(",")}}),a(!0)}n(e)})},[i]),{detectionResult:t,hasReported:i}};"undefined"!=typeof document&&L({variables:(0,r._)({},(0,u.b0H)(),(0,u.f1F)(),(0,u.tcx)())});var ei=(0,o.lazy)(function(){return Promise.all([n.e(7436),n.e(5567)]).then(n.bind(n,35567))});function eo(e){var t=e.Component,n=e.pageProps,o=n.draftMode,a=n.token;return o?(0,i.jsx)(ei,{token:a,children:(0,i.jsx)(es,{draftMode:o,children:(0,i.jsx)(t,(0,r._)({},n))})}):(0,i.jsx)(es,{draftMode:o,children:(0,i.jsx)(t,(0,r._)({},n))})}var ea=eo;function es(e){var t=e.children,n=e.draftMode;return er(),(0,i.jsx)(Z,{children:(0,i.jsxs)(N.cA,{children:[!n&&(0,i.jsxs)(M(),{children:[(0,i.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"}),(0,i.jsx)("meta",{content:F.M$,name:"loom-environment"}),(0,i.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:B.Sl}}),(0,i.jsx)("script",{type:"text/plain",className:"optanon-category-2",dangerouslySetInnerHTML:{__html:B.dn}}),(0,i.jsx)("script",{type:"text/plain",className:"optanon-category-2",dangerouslySetInnerHTML:{__html:B.gF}})]}),t,n&&(0,i.jsx)(o.Suspense,{children:(0,i.jsx)(s,{})})]})})}},11083:function(){},25433:function(){},77663:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],l=!1,c=-1;function d(){l&&r&&(l=!1,r.length?u=r.concat(u):c=-1,u.length&&f())}function f(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(r=u,u=[];++c1)for(var n=1;nsummary:first-of-type","details"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},u=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r=r.filter(n)},l=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var u=s.shift();if("SLOT"===u.tagName){var l=u.assignedElements(),c=e(l.length?l:u.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:u,candidates:c})}else{a.call(u,i)&&r.filter(u)&&(n||!t.includes(u))&&o.push(u);var d=u.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(u),f=!r.shadowRootFilter||r.shadowRootFilter(u);if(d&&f){var h=e(!0===d?u.children:d.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:u,candidates:h})}else s.unshift.apply(s,u.children)}}return o},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},h=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return g(e)}else{if("function"==typeof r){for(var o=e;e;){var u=e.parentElement,l=s(e);if(u&&!u.shadowRoot&&!0===r(u))return g(e);e=e.assignedSlot?e.assignedSlot:u||l===e.ownerDocument?u:l.host}e=o}if(v(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},y=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;nc(t))&&!!b(e,t)},w=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},E=function e(t){var n=[],r=[];return t.forEach(function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=c(a,o),u=o?e(t.candidates):a;0===s?o?n.push.apply(n,u):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:u})}),r.sort(d).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},k=function(e,t){return E((t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:_.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):u(e,t.includeContainer,_.bind(null,t)))},C=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:b.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,b.bind(null,t))},x=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,i)&&_(t,e)},S=r.concat("iframe").join(","),O=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,S)&&b(t,e)}},25934:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});for(var r,i=new Uint8Array(16),o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,a=[],s=0;s<256;++s)a.push((s+256).toString(16).substr(1));var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase();if(!("string"==typeof n&&o.test(n)))throw TypeError("Stringified UUID is invalid");return n},l=function(e,t,n){var o=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=o[a];return t}return u(o)}},17061:function(e,t,n){var r=n(18698).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i,o,s=Object.create((t&&t.prototype instanceof v?t:v).prototype);return a(s,"_invoke",{value:(i=new S(r||[]),o="suspendedStart",function(t,r){if("executing"===o)throw Error("Generator is already running");if("completed"===o){if("throw"===t)throw r;return I()}for(i.method=t,i.arg=r;;){var a=i.delegate;if(a){var s=function e(t,n){var r=n.method,i=t.iterator[r];if(void 0===i)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+r+"' method")),p;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,p):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,p)}(a,i);if(s){if(s===p)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===o)throw o="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o="executing";var u=h(e,n,i);if("normal"===u.type){if(o=i.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(o="completed",i.method="throw",i.arg=u.arg)}})}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p={};function v(){}function g(){}function m(){}var y={};d(y,u,function(){return this});var b=Object.getPrototypeOf,_=b&&b(b(O([])));_&&_!==n&&o.call(_,u)&&(y=_);var w=m.prototype=v.prototype=Object.create(y);function E(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){var n;a(this,"_invoke",{value:function(i,a){function s(){return new t(function(n,s){!function n(i,a,s,u){var l=h(e[i],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&o.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,s,u)},function(e){n("throw",e,s,u)}):t.resolve(d).then(function(e){c.value=e,s(c)},function(e){return n("throw",e,s,u)})}u(l.arg)}(i,a,n,s)})}return n=n?n.then(s,s):s()}})}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function O(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},64687:function(e,t,n){var r=n(17061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},375:function(e,t,n){"use strict";var r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;let a=n(99025);t._getStatsigGlobal=()=>{try{return"undefined"!=typeof __STATSIG__?__STATSIG__:d}catch(e){return d}},t._getStatsigGlobalFlag=e=>(0,t._getStatsigGlobal)()[e],t._getInstance=e=>{let n=(0,t._getStatsigGlobal)();return e?n.instances&&n.instances[e]:(n.instances&&Object.keys(n.instances).length>1&&a.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),n.firstInstance)};let s="__STATSIG__",u="undefined"!=typeof window?window:{},l=void 0!==n.g?n.g:{},c="undefined"!=typeof globalThis?globalThis:{},d=null!==(o=null!==(i=null!==(r=u[s])&&void 0!==r?r:l[s])&&void 0!==i?i:c[s])&&void 0!==o?o:{instance:t._getInstance};u[s]=d,l[s]=d,c[s]=d},61867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;let r=n(56152);function i(e,t,n){var i;if(n)return n(e,t);let o=t&&t.customIDs?t.customIDs:{},a=[`uid:${null!==(i=null==t?void 0:t.userID)&&void 0!==i?i:""}`,`cids:${Object.keys(o).sort((e,t)=>e.localeCompare(t)).map(e=>`${e}-${o[e]}`).join(",")}`,`k:${e}`];return(0,r._DJB2)(a.join("|"))}t._getUserStorageKey=i,t._getStorageKey=function(e,t,n){return t?i(e,t,n):(0,r._DJB2)(`k:${e}`)}},394:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},53183:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._makeDataAdapterResult=t.DataAdapterCore=void 0;let i=n(99025),o=n(33463),a=n(89063),s=n(38614),u=n(53111);class l{constructor(e,t){this._adapterName=e,this._cacheSuffix=t,this._options=null,this._sdkKey=null,this._cacheLimit=10,this._lastModifiedStoreKey=`statsig.last_modified_time.${t}`,this._inMemoryCache=new d}attach(e,t,n){this._sdkKey=e,this._options=t}getDataSync(e){let t=e&&(0,a._normalizeUser)(e,this._options),n=this._getCacheKey(t),r=this._inMemoryCache.get(n,t);if(r&&this._getIsCacheValueValid(r))return r;let i=this._loadFromCache(n);return i&&this._getIsCacheValueValid(i)?(this._inMemoryCache.add(n,i,this._cacheLimit),this._inMemoryCache.get(n,t)):null}setData(e,t){let n=t&&(0,a._normalizeUser)(t,this._options),r=this._getCacheKey(n);this._inMemoryCache.add(r,c("Bootstrap",e,null,n),this._cacheLimit)}_getIsCacheValueValid(e){return null==e.stableID||e.stableID===o.StableID.get(this._getSdkKey())}_getDataAsyncImpl(e,t,n){return r(this,void 0,void 0,function*(){s.Storage.isReady()||(yield s.Storage.isReadyResolver());let r=null!=e?e:this.getDataSync(t),o=[this._fetchAndPrepFromNetwork(r,t,n)];return(null==n?void 0:n.timeoutMs)&&o.push(new Promise(e=>setTimeout(e,n.timeoutMs)).then(()=>(i.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(o)})}_prefetchDataImpl(e,t){return r(this,void 0,void 0,function*(){let n=e&&(0,a._normalizeUser)(e,this._options),r=this._getCacheKey(n),i=yield this._getDataAsyncImpl(null,n,t);i&&this._inMemoryCache.add(r,Object.assign(Object.assign({},i),{source:"Prefetch"}),this._cacheLimit)})}_fetchAndPrepFromNetwork(e,t,n){return r(this,void 0,void 0,function*(){var r;let a=null!==(r=null==e?void 0:e.data)&&void 0!==r?r:null,s=null!=e&&this._isCachedResultValidFor204(e,t),l=yield this._fetchFromNetwork(a,t,n,s);if(!l)return i.Log.debug("No response returned for latest value"),null;let d=(0,u._typedJsonParse)(l,"has_updates","Response"),f=this._getSdkKey(),h=o.StableID.get(f),p=null;if((null==d?void 0:d.has_updates)===!0)p=c("Network",l,h,t);else{if(!a||(null==d?void 0:d.has_updates)!==!1)return null;p=c("NetworkNotModified",a,h,t)}let v=this._getCacheKey(t);return this._inMemoryCache.add(v,p,this._cacheLimit),this._writeToCache(v,p),p})}_getSdkKey(){return null!=this._sdkKey?this._sdkKey:(i.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(e){var t;let n=null===(t=s.Storage.getItem)||void 0===t?void 0:t.call(s.Storage,e);if(null==n)return null;let r=(0,u._typedJsonParse)(n,"source","Cached Result");return r?Object.assign(Object.assign({},r),{source:"Cache"}):null}_writeToCache(e,t){let n=JSON.stringify(t);for(let t=0;t<8;t++)try{s.Storage.setItem(e,n);break}catch(t){if(!(t instanceof Error)||"QuotaExceededError"!==t.name||this._cacheLimit<=1)throw t;this._cacheLimit=Math.ceil(this._cacheLimit/2),this._runLocalStorageCacheEviction(e,this._cacheLimit-1)}this._runLocalStorageCacheEviction(e)}_runLocalStorageCacheEviction(e,t=this._cacheLimit){var n;let r=null!==(n=(0,s._getObjectFromStorage)(this._lastModifiedStoreKey))&&void 0!==n?n:{};for(let n of(r[e]=Date.now(),f(r,t)))delete r[n],s.Storage.removeItem(n);(0,s._setObjectInStorage)(this._lastModifiedStoreKey,r)}}function c(e,t,n,r){return{source:e,data:t,receivedAt:Date.now(),stableID:n,fullUserHash:(0,a._getFullUserHash)(r)}}t.DataAdapterCore=l,t._makeDataAdapterResult=c;class d{constructor(){this._data={}}get(e,t){var n;let r=this._data[e],o=null==r?void 0:r.stableID,a=null===(n=null==t?void 0:t.customIDs)||void 0===n?void 0:n.stableID;return a&&o&&a!==o?(i.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):r}add(e,t,n){for(let e of f(this._data,n-1))delete this._data[e];this._data[e]=t}merge(e){this._data=Object.assign(Object.assign({},this._data),e)}}function f(e,t){let n=Object.keys(e);return n.length<=t?[]:0===t?n:n.sort((t,n)=>{let r=e[t],i=e[n];return"object"==typeof r&&"object"==typeof i?r.receivedAt-i.receivedAt:r-i}).slice(0,n.length-t)}},60642:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Diagnostics=void 0;let n=new Map,r="start";function i(e,t,n,r){return Object.assign({key:n,action:t,step:r,timestamp:Date.now()},e)}function o(e,t){var r;let i=null!==(r=n.get(e))&&void 0!==r?r:[];i.push(t),n.set(e,i)}function a(e,t){if(t in e)return e[t]}t.Diagnostics={_getMarkers:e=>n.get(e),_markInitOverallStart:e=>{o(e,i({},r,"overall"))},_markInitOverallEnd:(e,t,n)=>{o(e,i({success:t,error:t?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:n},"end","overall"))},_markInitNetworkReqStart:(e,t)=>{o(e,i(t,r,"initialize","network_request"))},_markInitNetworkReqEnd:(e,t)=>{o(e,i(t,"end","initialize","network_request"))},_markInitProcessStart:e=>{o(e,i({},r,"initialize","process"))},_markInitProcessEnd:(e,t)=>{o(e,i(t,"end","initialize","process"))},_clearMarkers:e=>{n.delete(e)},_formatError(e){if(e&&"object"==typeof e)return{code:a(e,"code"),name:a(e,"name"),message:a(e,"message")}},_getDiagnosticsData(e,n,r,i){var o;return{success:(null==e?void 0:e.ok)===!0,statusCode:null==e?void 0:e.status,sdkRegion:null===(o=null==e?void 0:e.headers)||void 0===o?void 0:o.get("x-statsig-region"),isDelta:!0===r.includes('"is_delta":true')||void 0,attempt:n,error:t.Diagnostics._formatError(i)}},_enqueueDiagnosticsEvent(e,n,r,i){let o=t.Diagnostics._getMarkers(r);if(null==o||o.length<=0)return -1;let a=o[o.length-1].timestamp-o[0].timestamp;t.Diagnostics._clearMarkers(r);let s={eventName:"statsig::diagnostics",user:e,value:null,metadata:{context:"initialize",markers:o.slice(),statsigOptions:i},time:Date.now()};return n.enqueue(s),a}}},9549:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._fetchTxtRecords=void 0;let r=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),i=["i","e","d"];t._fetchTxtRecords=function(e){return n(this,void 0,void 0,function*(){let t=yield e("https://cloudflare-dns.com/dns-query",{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:r});if(!t.ok){let e=Error("Failed to fetch TXT records from DNS");throw e.name="DnsTxtFetchError",e}return function(e){let t=e.findIndex((t,n)=>n<200&&"="===String.fromCharCode(t)&&i.includes(String.fromCharCode(e[n-1])));if(-1===t){let e=Error("Failed to parse TXT records from DNS");throw e.name="DnsTxtParseError",e}let n="";for(let r=t-1;r"function"==typeof(null==n?void 0:n[e])).forEach(e=>t.add(e)),n=Object.getPrototypeOf(n);return Array.from(t)})(e).forEach(n=>{let r=e[n];"$EB"in r||(e[n]=(...i)=>this._capture(t?`${t}:${n}`:n,()=>r.apply(e,i)),e[n].$EB=!0)})}catch(e){this._onError("eb:wrap",e)}}logError(e,t){this._onError(e,t)}getLastSeenErrorAndReset(){let e=this._lastSeenError;return this._lastSeenError=void 0,null!=e?e:null}attachErrorIfNoneExists(e){this._lastSeenError||(this._lastSeenError=l(e))}_capture(e,t){try{let n=t();if(n&&n instanceof Promise)return n.catch(t=>this._onError(e,t));return n}catch(t){return this._onError(e,t),null}}_onError(e,n){try{i.Log.warn(`Caught error in ${e}`,{error:n}),r(this,void 0,void 0,function*(){var r,i,u,c,d,f,h;let p=n||Error(s),v=p instanceof Error,g=v?p.name:"No Name",m=l(p);if(this._lastSeenError=m,this._seen.has(g))return;if(this._seen.add(g),null===(i=null===(r=this._options)||void 0===r?void 0:r.networkConfig)||void 0===i?void 0:i.preventAllNetworkTraffic){null===(u=this._emitter)||void 0===u||u.call(this,{name:"error",error:n,tag:e});return}let y=o.SDKType._get(this._sdkKey),b=a.StatsigMetadataProvider.get(),_=v?p.stack:function(e){try{return JSON.stringify(e)}catch(e){return s}}(p),w=Object.assign({tag:e,exception:g,info:_,statsigOptions:function(e){if(!e)return{};let t={};return Object.keys(e).forEach(n=>{let r=e[n];switch(typeof r){case"number":case"bigint":case"boolean":t[String(n)]=r;break;case"string":r.length<50?t[String(n)]=r:t[String(n)]="set";break;case"object":"environment"===n?t.environment=r:"networkConfig"===n?t.networkConfig=r:t[String(n)]=null!=r?"set":"unset"}}),t}(this._options)},Object.assign(Object.assign({},b),{sdkType:y})),E=null!==(f=null===(d=null===(c=this._options)||void 0===c?void 0:c.networkConfig)||void 0===d?void 0:d.networkOverrideFunc)&&void 0!==f?f:fetch;yield E(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(y),"STATSIG-SDK-VERSION":String(b.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(w)}),null===(h=this._emitter)||void 0===h||h.call(this,{name:"error",error:n,tag:e})}).then(()=>{}).catch(()=>{})}catch(e){}}}function l(e){return e instanceof Error?e:"string"==typeof e?Error(e):Error("An unknown error occurred.")}t.ErrorBoundary=u},80624:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},21335:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},16156:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;let i=n(61867),o=n(56152),a=n(99025),s=n(33975),u=n(37631),l=n(19817),c=n(16790),d=n(38614),f=n(40801),h=n(65260),p={},v={Startup:"startup",GainedFocus:"gained_focus"};class g{static _safeFlushAndForget(e){var t;null===(t=p[e])||void 0===t||t.flush().catch(()=>{})}static _safeRetryFailedLogs(e){var t;null===(t=p[e])||void 0===t||t._retryFailedLogs(v.GainedFocus)}constructor(e,t,n,r){var i,o;this._sdkKey=e,this._emitter=t,this._network=n,this._options=r,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._loggingEnabled=null!==(i=null==r?void 0:r.loggingEnabled)&&void 0!==i?i:(null==r?void 0:r.disableLogging)===!0?c.LoggingEnabledOption.disabled:c.LoggingEnabledOption.browserOnly,(null==r?void 0:r.loggingEnabled)&&void 0!==r.disableLogging&&a.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging."),this._maxQueueSize=null!==(o=null==r?void 0:r.loggingBufferMaxSize)&&void 0!==o?o:100;let u=null==r?void 0:r.networkConfig;this._logEventUrlConfig=new f.UrlConfiguration(s.Endpoint._rgstr,null==u?void 0:u.logEventUrl,null==u?void 0:u.api,null==u?void 0:u.logEventFallbackUrls)}setLogEventCompressionMode(e){this._network.setLogEventCompressionMode(e)}setLoggingEnabled(e){if("disabled"===this._loggingEnabled&&"disabled"!==e){let e=this._getStorageKey(),t=(0,d._getObjectFromStorage)(e);t&&this._queue.push(...t),d.Storage.removeItem(e)}this._loggingEnabled=e}enqueue(e){this._shouldLogEvent(e)&&(this._normalizeAndAppendEvent(e),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&g._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(e){var t;let n=null!==(t=this._nonExposedChecks[e])&&void 0!==t?t:0;this._nonExposedChecks[e]=n+1}reset(){this.flush().catch(()=>{}),this._lastExposureTimeMap={}}start(){var e;let t=(0,u._isServerEnv)();t&&(null===(e=this._options)||void 0===e?void 0:e.loggingEnabled)!=="always"||(p[this._sdkKey]=this,t||(0,h._subscribeToVisiblityChanged)(e=>{"background"===e?g._safeFlushAndForget(this._sdkKey):"foreground"===e&&g._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(v.Startup),this._startBackgroundFlushInterval())}stop(){return r(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete p[this._sdkKey],yield this.flush()})}flush(){return r(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),0===this._queue.length)return;let e=this._queue;this._queue=[],yield this._sendEvents(e)})}_quickFlushIfNeeded(){!this._hasRunQuickFlush&&(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout(()=>g._safeFlushAndForget(this._sdkKey),200))}_shouldLogEvent(e){var t;if((null===(t=this._options)||void 0===t?void 0:t.loggingEnabled)!=="always"&&(0,u._isServerEnv)())return!1;if(!(0,l._isExposureEvent)(e))return!0;let n=e.user?e.user:{statsigEnvironment:void 0},r=(0,i._getUserStorageKey)(this._sdkKey,n),o=e.metadata?e.metadata:{},a=[e.eventName,r,o.gate,o.config,o.ruleID,o.allocatedExperiment,o.parameterName,String(o.isExplicitParameter),o.reason].join("|"),s=this._lastExposureTimeMap[a],c=Date.now();return(!s||!(c-s<6e5))&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[a]=c,!0)}_sendEvents(e){return r(this,void 0,void 0,function*(){var t,n;if("disabled"===this._loggingEnabled)return this._saveFailedLogsToStorage(e),!1;try{let r=(0,h._isUnloading)()&&this._network.isBeaconSupported()&&(null===(n=null===(t=this._options)||void 0===t?void 0:t.networkConfig)||void 0===n?void 0:n.networkOverrideFunc)==null;if(this._emitter({name:"pre_logs_flushed",events:e}),(r?this._sendEventsViaBeacon(e):yield this._sendEventsViaPost(e)).success)return this._emitter({name:"logs_flushed",events:e}),!0;return a.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(e),!1}catch(e){return a.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(e){return r(this,void 0,void 0,function*(){var t;let n=yield this._network.post(this._getRequestData(e)),r=null!==(t=null==n?void 0:n.code)&&void 0!==t?t:-1;return{success:r>=200&&r<300}})}_sendEventsViaBeacon(e){return{success:this._network.beacon(this._getRequestData(e))}}_getRequestData(e){return{sdkKey:this._sdkKey,data:{events:e},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[s.NetworkParam.EventCount]:String(e.length)},credentials:"same-origin"}}_saveFailedLogsToStorage(e){for(;e.length>500;)e.shift();let t=this._getStorageKey();try{let n=this._getFailedLogsFromStorage(t);(0,d._setObjectInStorage)(t,[...n,...e])}catch(e){a.Log.warn("Unable to save failed logs to storage")}}_getFailedLogsFromStorage(e){let t=[];try{let n=(0,d._getObjectFromStorage)(e);return Array.isArray(n)&&(t=n),t}catch(e){return[]}}_retryFailedLogs(e){let t=this._getStorageKey();r(this,void 0,void 0,function*(){d.Storage.isReady()||(yield d.Storage.isReadyResolver());let n=(0,d._getObjectFromStorage)(t);n&&(e===v.Startup&&d.Storage.removeItem(t),(yield this._sendEvents(n))&&e===v.GainedFocus&&d.Storage.removeItem(t))}).catch(()=>{a.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,o._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(e){e.user&&(e.user=Object.assign({},e.user),delete e.user.privateAttributes);let t={},n=this._getCurrentPageUrl();n&&(t.statsigMetadata={currentPage:n});let r=Object.assign(Object.assign({},e),t);a.Log.debug("Enqueued Event:",r),this._queue.push(r)}_appendAndResetNonExposedChecks(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var e;if((null===(e=this._options)||void 0===e?void 0:e.includeCurrentPageUrlWithEvents)!==!1)return(0,u._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var e,t;let n=setInterval(()=>{let e=p[this._sdkKey];e&&e._flushIntervalId===n?g._safeFlushAndForget(this._sdkKey):clearInterval(n)},null!==(t=null===(e=this._options)||void 0===e?void 0:e.loggingIntervalMs)&&void 0!==t?t:1e4);this._flushIntervalId=n}}t.EventLogger=g},56152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getSortedObject=t._DJB2Object=t._DJB2=void 0;let r=n(38687);t._DJB2=e=>{let t=0;for(let n=0;n>>0)},t._DJB2Object=(e,n)=>(0,t._DJB2)(JSON.stringify((0,t._getSortedObject)(e,n))),t._getSortedObject=(e,n)=>{if(null==e)return null;let i=Object.keys(e).sort(),o={};return i.forEach(i=>{let a=e[i];if(0===n||"object"!==(0,r._typeOf)(a)){o[i]=a;return}o[i]=(0,t._getSortedObject)(a,null!=n?n-1:n)}),o}},76724:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},99025:function(e,t){"use strict";function n(e){return e.unshift("[Statsig]"),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0,t.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class r{static info(...e){r.level>=t.LogLevel.Info&&console.info(" INFO ",...n(e))}static debug(...e){r.level>=t.LogLevel.Debug&&console.debug(" DEBUG ",...n(e))}static warn(...e){r.level>=t.LogLevel.Warn&&console.warn(" WARN ",...n(e))}static error(...e){r.level>=t.LogLevel.Error&&console.error(" ERROR ",...n(e))}}t.Log=r,r.level=t.LogLevel.Warn},41231:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMemoKey=t.MemoPrefix=void 0,t.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_configList:"cl",_layer:"l",_paramStore:"p"};let n=new Set([]),r=new Set(["userPersistedValues"]);t.createMemoKey=function(e,t,i){let o=`${e}|${t}`;if(!i)return o;for(let e of Object.keys(i)){if(r.has(e))return;n.has(e)?o+=`|${e}=true`:o+=`|${e}=${i[e]}`}return o}},33975:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=t.Endpoint=void 0,t.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},t.NetworkDefault={[t.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[t.Endpoint._initialize]:"https://featureassets.org/v1",[t.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},t.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},3284:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=void 0,n(375);let i=n(375),o=n(60642),a=n(99025),s=n(33975),u=n(74930),l=n(11753),c=n(95881),d=n(37631),f=n(27995),h=n(33463),p=n(86478),v=n(56801),g=n(16790),m=n(65260),y=new Set([408,500,502,503,504,522,524,599]);class b{constructor(e,t){this._emitter=t,this._errorBoundary=null,this._timeout=1e4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,e&&(this._options=e),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new u.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(e))}setLogEventCompressionMode(e){this._options.logEventCompressionMode=e}setErrorBoundary(e){this._errorBoundary=e,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(e)}isBeaconSupported(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}getLastUsedInitUrlAndReset(){let e=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,e}beacon(e){if(!_(e))return!1;let t=this._getInternalRequestArgs("POST",e),n=this._getPopulatedURL(t),r=navigator;return r.sendBeacon.bind(r)(n,t.body)}post(e){return r(this,void 0,void 0,function*(){let t=this._getInternalRequestArgs("POST",e);return this._tryEncodeBody(t),yield this._tryToCompressBody(t),this._sendRequest(t)})}get(e){let t=this._getInternalRequestArgs("GET",e);return this._sendRequest(t)}_sendRequest(e){return r(this,void 0,void 0,function*(){var t,n,i,u;if(!_(e)||this._netConfig.preventAllNetworkTraffic)return null;let{method:l,body:c,retries:d,attempt:f}=e,h=e.urlConfig.endpoint;if(this._isRateLimited(h))return a.Log.warn(`Request to ${h} was blocked because you are making requests too frequently.`),null;let v=null!=f?f:1,g="undefined"!=typeof AbortController?new AbortController:null,b=setTimeout(()=>{null==g||g.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),w=this._getPopulatedURL(e),k=null,C=(0,m._isUnloading)();try{let n={method:l,body:c,headers:Object.assign({},e.headers),signal:null==g?void 0:g.signal,priority:e.priority,keepalive:C};e.urlConfig.endpoint===s.Endpoint._initialize&&o.Diagnostics._markInitNetworkReqStart(e.sdkKey,{attempt:v});let r=this._leakyBucket[h];r&&(r.lastRequestTime=Date.now(),this._leakyBucket[h]=r);let i=null!==(t=this._netConfig.networkOverrideFunc)&&void 0!==t?t:fetch;if(k=yield i(w,n),clearTimeout(b),!k.ok){let e=yield k.text().catch(()=>"No Text"),t=Error(`NetworkError: ${w} ${e}`);throw t.name="NetworkError",t}let a=yield k.text();return E(e,k,v,a),this._fallbackResolver.tryBumpExpiryTime(e.sdkKey,e.urlConfig),{body:a,code:k.status}}catch(s){let t=(null==g?void 0:g.signal.aborted)&&"string"==typeof g.signal.reason?g.signal.reason:"string"==typeof s?s:s instanceof Error?`${s.name}: ${s.message}`:"Unknown Error",o=(null==g?void 0:g.signal.aborted)&&"string"==typeof g.signal.reason&&g.signal.reason.includes("Timeout")||!1;if(E(e,k,v,"",s),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(e.sdkKey,e.urlConfig,t,o))&&(e.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(e.sdkKey,e.urlConfig)),!d||v>d||!y.has(null!==(n=null==k?void 0:k.status)&&void 0!==n?n:500)){null===(i=this._emitter)||void 0===i||i.call(this,{name:"error",error:s,tag:p.ErrorTag.NetworkError,requestArgs:e});let n=`A networking error occurred during ${l} request to ${w}.`;return a.Log.error(n,t,s),null===(u=this._errorBoundary)||void 0===u||u.attachErrorIfNoneExists(n),null}return yield function(e){return r(this,void 0,void 0,function*(){yield new Promise(t=>setTimeout(t,Math.min(e*e*500,3e4)))})}(v),this._sendRequest(Object.assign(Object.assign({},e),{retries:d,attempt:v+1}))}})}_getLogEventCompressionMode(e){let t=null==e?void 0:e.logEventCompressionMode;return t||(null==e?void 0:e.disableCompression)!==!0||(t=g.LogEventCompressionMode.Disabled),t||(t=g.LogEventCompressionMode.Enabled),t}_isRateLimited(e){var t;let n=Date.now(),r=null!==(t=this._leakyBucket[e])&&void 0!==t?t:{count:0,lastRequestTime:n},i=n-r.lastRequestTime;return r.count=Math.max(0,r.count-Math.floor(.05*i)),r.count>=50||(r.count+=1,r.lastRequestTime=n,this._leakyBucket[e]=r,!1)}_getPopulatedURL(e){var t;let n=null!==(t=e.fallbackUrl)&&void 0!==t?t:e.urlConfig.getUrl();(e.urlConfig.endpoint===s.Endpoint._initialize||e.urlConfig.endpoint===s.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=n);let r=Object.assign({[s.NetworkParam.SdkKey]:e.sdkKey,[s.NetworkParam.SdkType]:c.SDKType._get(e.sdkKey),[s.NetworkParam.SdkVersion]:v.SDK_VERSION,[s.NetworkParam.Time]:String(Date.now()),[s.NetworkParam.SessionID]:f.SessionID.get(e.sdkKey)},e.params),i=Object.keys(r).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(r[e])}`).join("&");return`${n}${i?`?${i}`:""}`}_tryEncodeBody(e){var t;let n=(0,d._getWindowSafe)(),r=e.body;if(e.isStatsigEncodable&&!this._options.disableStatsigEncoding&&"string"==typeof r&&null==(0,i._getStatsigGlobalFlag)("no-encode")&&(null==n?void 0:n.btoa))try{e.body=n.btoa(r).split("").reverse().join(""),e.params=Object.assign(Object.assign({},null!==(t=e.params)&&void 0!==t?t:{}),{[s.NetworkParam.StatsigEncoded]:"1"})}catch(t){a.Log.warn(`Request encoding failed for ${e.urlConfig.getUrl()}`,t)}}_tryToCompressBody(e){return r(this,void 0,void 0,function*(){var t;let n=e.body;if("string"==typeof n&&function(e,t){if(!e.isCompressable||null!=(0,i._getStatsigGlobalFlag)("no-compress")||"undefined"==typeof CompressionStream||"undefined"==typeof TextEncoder)return!1;let n=null!=e.urlConfig.customUrl||null!=e.urlConfig.fallbackUrls,r=!0===l.SDKFlags.get(e.sdkKey,"enable_log_event_compression");switch(t.logEventCompressionMode){case g.LogEventCompressionMode.Disabled:return!1;case g.LogEventCompressionMode.Enabled:if(n&&!r)return!1;return!0;case g.LogEventCompressionMode.Forced:return!0;default:return!1}}(e,this._options))try{let r;let i=new TextEncoder().encode(n),o=new CompressionStream("gzip"),u=o.writable.getWriter();u.write(i).catch(a.Log.error),u.close().catch(a.Log.error);let l=o.readable.getReader(),c=[];for(;!(r=yield l.read()).done;)c.push(r.value);let d=c.reduce((e,t)=>e+t.length,0),f=new Uint8Array(d),h=0;for(let e of c)f.set(e,h),h+=e.length;e.body=f,e.params=Object.assign(Object.assign({},null!==(t=e.params)&&void 0!==t?t:{}),{[s.NetworkParam.IsGzipped]:"1"})}catch(t){a.Log.warn(`Request compression failed for ${e.urlConfig.getUrl()}`,t)}})}_getInternalRequestArgs(e,t){let n=this._fallbackResolver.getActiveFallbackUrl(t.sdkKey,t.urlConfig),r=Object.assign(Object.assign({},t),{method:e,fallbackUrl:n});return"data"in t&&w(r,t.data),r}}t.NetworkCore=b;let _=e=>!!e.sdkKey||(a.Log.warn("Unable to make request without an SDK key"),!1),w=(e,t)=>{let{sdkKey:n,fallbackUrl:r}=e,i=h.StableID.get(n),o=f.SessionID.get(n),a=c.SDKType._get(n);e.body=JSON.stringify(Object.assign(Object.assign({},t),{statsigMetadata:Object.assign(Object.assign({},v.StatsigMetadataProvider.get()),{stableID:i,sessionID:o,sdkType:a,fallbackUrl:r})}))};function E(e,t,n,r,i){e.urlConfig.endpoint===s.Endpoint._initialize&&o.Diagnostics._markInitNetworkReqEnd(e.sdkKey,o.Diagnostics._getDiagnosticsData(t,n,r,i))}},74930:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._isDomainFailure=t.NetworkFallbackResolver=void 0;let i=n(9549),o=n(56152),a=n(99025),s=n(38614);class u{constructor(e){var t;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=null===(t=e.networkConfig)||void 0===t?void 0:t.networkOverrideFunc}setErrorBoundary(e){this._errorBoundary=e}tryBumpExpiryTime(e,t){var n;let r=null===(n=this._fallbackInfo)||void 0===n?void 0:n[t.endpoint];r&&(r.expiryTime=Date.now()+6048e5,d(e,Object.assign(Object.assign({},this._fallbackInfo),{[t.endpoint]:r})))}getActiveFallbackUrl(e,t){var n,r;if(null!=t.customUrl&&null!=t.fallbackUrls)return null;let i=this._fallbackInfo;null==i&&(i=null!==(n=function(e){let t=c(e),n=s.Storage.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch(e){return a.Log.error("Failed to parse FallbackInfo"),null}}(e))&&void 0!==n?n:{},this._fallbackInfo=i);let o=i[t.endpoint];return!o||Date.now()>(null!==(r=o.expiryTime)&&void 0!==r?r:0)||t.getChecksum()!==o.urlConfigChecksum?(delete i[t.endpoint],this._fallbackInfo=i,d(e,this._fallbackInfo),null):o.url?o.url:null}tryFetchUpdatedFallbackInfo(e,t,n,i){return r(this,void 0,void 0,function*(){var r,o;try{if(!l(n,i))return!1;let o=null==t.customUrl&&null==t.fallbackUrls?yield this._tryFetchFallbackUrlsFromNetwork(t):t.fallbackUrls,a=this._pickNewFallbackUrl(null===(r=this._fallbackInfo)||void 0===r?void 0:r[t.endpoint],o);if(!a)return!1;return this._updateFallbackInfoWithNewUrl(e,t,a),!0}catch(e){return null===(o=this._errorBoundary)||void 0===o||o.logError("tryFetchUpdatedFallbackInfo",e),!1}})}_updateFallbackInfoWithNewUrl(e,t,n){var r,i,o;let a={urlConfigChecksum:t.getChecksum(),url:n,expiryTime:Date.now()+6048e5,previous:[]},s=t.endpoint,u=null===(r=this._fallbackInfo)||void 0===r?void 0:r[s];u&&a.previous.push(...u.previous),a.previous.length>10&&(a.previous=[]);let l=null===(o=null===(i=this._fallbackInfo)||void 0===i?void 0:i[s])||void 0===o?void 0:o.url;null!=l&&a.previous.push(l),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[s]:a}),d(e,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(e){return r(this,void 0,void 0,function*(){var t;let n=this._dnsQueryCooldowns[e.endpoint];if(n&&Date.now()1){let e=n[1];e.endsWith("/")&&(e=e.slice(0,-1)),r.push(`https://${e}${a}`)}}return r})}_pickNewFallbackUrl(e,t){var n;if(null==t)return null;let r=new Set(null!==(n=null==e?void 0:e.previous)&&void 0!==n?n:[]),i=null==e?void 0:e.url,o=null;for(let e of t){let t=e.endsWith("/")?e.slice(0,-1):e;if(!r.has(e)&&t!==i){o=t;break}}return o}}function l(e,t){var n;let r=null!==(n=null==e?void 0:e.toLowerCase())&&void 0!==n?n:"";return t||r.includes("uncaught exception")||r.includes("failed to fetch")||r.includes("networkerror when attempting to fetch resource")}function c(e){return`statsig.network_fallback.${(0,o._DJB2)(e)}`}function d(e,t){let n=c(e);if(!t||0===Object.keys(t).length){s.Storage.removeItem(n);return}s.Storage.setItem(n,JSON.stringify(t))}t.NetworkFallbackResolver=u,t._isDomainFailure=l},30034:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4632:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},11753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKFlags=void 0;let n={};t.SDKFlags={setFlags:(e,t)=>{n[e]=t},get:(e,t)=>{var r,i;return null!==(i=null===(r=n[e])||void 0===r?void 0:r[t])&&void 0!==i&&i}}},95881:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;let r={};t.SDKType={_get:e=>{var t;return(null!==(t=r[e])&&void 0!==t?t:"js-mono")+(null!=n?n:"")},_setClientType(e,t){r[e]=t},_setBindingType(e){n&&"-react"!==n||(n="-"+e)}}},37631:function(e,t,n){"use strict";var r=n(83454);Object.defineProperty(t,"__esModule",{value:!0}),t._getUnloadEvent=t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isServerEnv=t._getDocumentSafe=t._getWindowSafe=void 0,t._getWindowSafe=()=>"undefined"!=typeof window?window:null,t._getDocumentSafe=()=>{var e;let n=(0,t._getWindowSafe)();return null!==(e=null==n?void 0:n.document)&&void 0!==e?e:null},t._isServerEnv=()=>{if(null!==(0,t._getDocumentSafe)())return!1;let e=void 0!==r&&null!=r.versions&&null!=r.versions.node;return"string"==typeof EdgeRuntime||e},t._addWindowEventListenerSafe=(e,n)=>{let r=(0,t._getWindowSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)},t._addDocumentEventListenerSafe=(e,n)=>{let r=(0,t._getDocumentSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)},t._getCurrentPageUrlSafe=()=>{var e;try{return null===(e=(0,t._getWindowSafe)())||void 0===e?void 0:e.location.href.split(/[?#]/)[0]}catch(e){return}},t._getUnloadEvent=()=>{let e=(0,t._getWindowSafe)();return e&&"onpagehide"in e?"pagehide":"beforeunload"}},27995:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;let r=n(375),i=n(61867),o=n(99025),a=n(38614),s=n(99382),u={};function l(e,t){return setTimeout(()=>{var t;let n=null===(t=(0,r._getStatsigGlobal)())||void 0===t?void 0:t.instance(e);n&&n.$emt({name:"session_expired"})},t)}function c(e){return`statsig.session_id.${(0,i._getStorageKey)(e)}`}t.SessionID={get:e=>t.StatsigSession.get(e).data.sessionID},t.StatsigSession={get:e=>(null==u[e]&&(u[e]=function(e){let t=function(e){let t=c(e);return(0,a._getObjectFromStorage)(t)}(e),n=Date.now();return t||(t={sessionID:(0,s.getUUID)(),startTime:n,lastUpdate:n}),{data:t,sdkKey:e}}(e)),function(e){let t=Date.now(),n=e.data,r=e.sdkKey;if(function({lastUpdate:e}){return Date.now()-e>18e5}(n)||function({startTime:e}){return Date.now()-e>144e5}(n)){n.sessionID=(0,s.getUUID)(),n.startTime=t;let e=null==__STATSIG__?void 0:__STATSIG__.instance(r);e&&e.$emt({name:"session_expired"})}n.lastUpdate=t,function(e,t){let n=c(t);try{(0,a._setObjectInStorage)(n,e)}catch(e){o.Log.warn("Failed to save SessionID")}}(n,e.sdkKey),clearTimeout(e.idleTimeoutID),clearTimeout(e.ageTimeoutID);let i=t-n.startTime;return e.idleTimeoutID=l(r,18e5),e.ageTimeoutID=l(r,144e5-i),e}(u[e])),overrideInitialSessionID:(e,t)=>{u[t]=function(e,t){let n=Date.now();return{data:{sessionID:e,startTime:n,lastUpdate:n},sdkKey:t}}(e,t)}}},61486:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._fastApproxSizeOf=void 0,t._fastApproxSizeOf=(e,n)=>{let r=0,i=Object.keys(e);for(let o=0;o=n)break}return r}},33463:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookieName=t.StableID=void 0;let r=n(61867),i=n(99025),o=n(37631),a=n(38614),s=n(99382),u={},l={},c={};function d(e){return`statsig.stable_id.${(0,r._getStorageKey)(e)}`}function f(e,t){let n=d(t);try{(0,a._setObjectInStorage)(n,e)}catch(e){i.Log.warn("Failed to save StableID to storage")}}function h(e,t){if(!l[t]||null==(0,o._getDocumentSafe)())return;let n=new Date;n.setFullYear(n.getFullYear()+1),document.cookie=`${p(t)}=${encodeURIComponent(e)}; expires=${n.toUTCString()}; path=/`}function p(e){return`statsig.stable_id.${(0,r._getStorageKey)(e)}`}t.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:e=>{if(c[e])return null;if(null!=u[e])return u[e];let t=null;return null!=(t=function(e){if(!l[e]||null==(0,o._getDocumentSafe)())return null;for(let t of document.cookie.split(";")){let[n,r]=t.trim().split("=");if(n===p(e))return decodeURIComponent(r)}return null}(e))?(u[e]=t,f(t,e)):(null==(t=function(e){let t=d(e);return(0,a._getObjectFromStorage)(t)}(e))&&(t=(0,s.getUUID)()),f(t,e),h(t,e),u[e]=t),t},setOverride:(e,t)=>{u[t]=e,f(e,t),h(e,t)},_setCookiesEnabled:(e,t)=>{l[e]=t},_setDisabled:(e,t)=>{c[e]=t}},t.getCookieName=p},44850:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,n(375);let i=n(375),o=n(68896),a=n(16156),s=n(99025),u=n(41231),l=n(37631),c=n(27995),d=n(33463),f=n(16790),h=n(38614);class p{constructor(e,t,n,r){var u,f,p,v;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};let g=this.$emt.bind(this);(null==r?void 0:r.logLevel)!=null&&(s.Log.level=r.logLevel),(null==r?void 0:r.disableStorage)&&h.Storage._setDisabled(!0),(null==r?void 0:r.initialSessionID)&&c.StatsigSession.overrideInitialSessionID(r.initialSessionID,e),(null==r?void 0:r.storageProvider)&&h.Storage._setProvider(r.storageProvider),(null==r?void 0:r.enableCookies)&&d.StableID._setCookiesEnabled(e,r.enableCookies),(null==r?void 0:r.disableStableID)&&d.StableID._setDisabled(e,!0),this._sdkKey=e,this._options=null!=r?r:{},this._memoCache={},this.overrideAdapter=null!==(u=null==r?void 0:r.overrideAdapter)&&void 0!==u?u:null,this._logger=new a.EventLogger(e,g,n,r),this._errorBoundary=new o.ErrorBoundary(e,r,g),this._errorBoundary.wrap(this),this._errorBoundary.wrap(t),this._errorBoundary.wrap(this._logger),n.setErrorBoundary(this._errorBoundary),this.dataAdapter=t,this.dataAdapter.attach(e,r,n),this.storageProvider=h.Storage,null===(v=null===(p=null===(f=this.overrideAdapter)||void 0===f?void 0:f.loadFromStorage)||void 0===p?void 0:p.call(f))||void 0===v||v.catch(e=>this._errorBoundary.logError("OA::loadFromStorage",e)),this._primeReadyRipcord(),function(e,t){var n;if((0,l._isServerEnv)())return;let r=(0,i._getStatsigGlobal)(),o=null!==(n=r.instances)&&void 0!==n?n:{};null!=o[e]&&s.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),o[e]=t,r.firstInstance||(r.firstInstance=t),r.instances=o,__STATSIG__=r}(e,this)}updateRuntimeOptions(e){e.loggingEnabled?(this._options.loggingEnabled=e.loggingEnabled,this._logger.setLoggingEnabled(e.loggingEnabled)):null!=e.disableLogging&&(this._options.disableLogging=e.disableLogging,this._logger.setLoggingEnabled(e.disableLogging?"disabled":"browser-only")),null!=e.disableStorage&&(this._options.disableStorage=e.disableStorage,h.Storage._setDisabled(e.disableStorage)),null!=e.enableCookies&&(this._options.enableCookies=e.enableCookies,d.StableID._setCookiesEnabled(this._sdkKey,e.enableCookies)),e.logEventCompressionMode?this._logger.setLogEventCompressionMode(e.logEventCompressionMode):e.disableCompression&&this._logger.setLogEventCompressionMode(f.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return r(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}off(e,t){if(this._listeners[e]){let n=this._listeners[e].indexOf(t);-1!==n&&this._listeners[e].splice(n,1)}}$on(e,t){t.__isInternal=!0,this.on(e,t)}$emt(e){var t;let n=t=>{try{t(e)}catch(n){if(!0===t.__isInternal){this._errorBoundary.logError(`__emit:${e.name}`,n);return}s.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",e)}};this._listeners[e.name]&&this._listeners[e.name].forEach(e=>n(e)),null===(t=this._listeners["*"])||void 0===t||t.forEach(n)}_setStatus(e,t){this.loadingStatus=e,this._memoCache={},this.$emt({name:"values_updated",status:e,values:t})}_enqueueExposure(e,t,n){if((null==n?void 0:n.disableExposureLog)===!0){this._logger.incrementNonExposureCount(e);return}this._logger.enqueue(t)}_memoize(e,t){return(n,r)=>{if(this._options.disableEvaluationMemoization)return t(n,r);let i=(0,u.createMemoKey)(e,n,r);return i?(i in this._memoCache||(Object.keys(this._memoCache).length>=3e3&&(this._memoCache={}),this._memoCache[i]=t(n,r)),this._memoCache[i]):t(n,r)}}}t.StatsigClientBase=p},86478:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTag=void 0,t.ErrorTag={NetworkError:"NetworkError"}},80712:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},19817:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._mapExposures=t._createGateExposure=t._isExposureEvent=void 0;let n="statsig::config_exposure",r="statsig::gate_exposure",i="statsig::layer_exposure",o=(e,t,n,r,i)=>(n.bootstrapMetadata&&(r.bootstrapMetadata=n.bootstrapMetadata),{eventName:e,user:t,value:null,metadata:s(n,r),secondaryExposures:i,time:Date.now()});function a(e,t){return e.map(e=>"string"==typeof e?(null!=t?t:{})[e]:e).filter(e=>null!=e)}t._isExposureEvent=({eventName:e})=>e===r||e===n||e===i,t._createGateExposure=(e,t,n)=>{var i,s,u;let l={gate:t.name,gateValue:String(t.value),ruleID:t.ruleID};return(null===(i=t.__evaluation)||void 0===i?void 0:i.version)!=null&&(l.configVersion=t.__evaluation.version),o(r,e,t.details,l,a(null!==(u=null===(s=t.__evaluation)||void 0===s?void 0:s.secondary_exposures)&&void 0!==u?u:[],n))},t._mapExposures=a,t._createConfigExposure=(e,t,r)=>{var i,s,u,l;let c={config:t.name,ruleID:t.ruleID};return(null===(i=t.__evaluation)||void 0===i?void 0:i.version)!=null&&(c.configVersion=t.__evaluation.version),(null===(s=t.__evaluation)||void 0===s?void 0:s.passed)!=null&&(c.rulePassed=String(t.__evaluation.passed)),o(n,e,t.details,c,a(null!==(l=null===(u=t.__evaluation)||void 0===u?void 0:u.secondary_exposures)&&void 0!==l?l:[],r))},t._createLayerParameterExposure=(e,t,n,r)=>{var s,u,l,c,d,f,h;let p=t.__evaluation,v=(null===(s=null==p?void 0:p.explicit_parameters)||void 0===s?void 0:s.includes(n))===!0,g="",m=null!==(u=null==p?void 0:p.undelegated_secondary_exposures)&&void 0!==u?u:[];v&&(g=null!==(l=p.allocated_experiment_name)&&void 0!==l?l:"",m=null!==(c=p.secondary_exposures)&&void 0!==c?c:[]);let y=null===(d=t.__evaluation)||void 0===d?void 0:d.parameter_rule_ids,b={config:t.name,parameterName:n,ruleID:null!==(f=null==y?void 0:y[n])&&void 0!==f?f:t.ruleID,allocatedExperiment:g,isExplicitParameter:String(v)};return(null===(h=t.__evaluation)||void 0===h?void 0:h.version)!=null&&(b.configVersion=t.__evaluation.version),o(i,e,t.details,b,a(m,r))};let s=(e,t)=>(t.reason=e.reason,e.lcut&&(t.lcut=String(e.lcut)),e.receivedAt&&(t.receivedAt=String(e.receivedAt)),t)},56801:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="3.25.5";let n={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:()=>n,add:e=>{n=Object.assign(Object.assign({},n),e)}}},16790:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingEnabledOption=t.LogEventCompressionMode=void 0,t.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},t.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"}},11497:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},78431:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeTypedGet=t._mergeOverride=t._makeLayer=t._makeExperiment=t._makeDynamicConfig=t._makeFeatureGate=void 0;let r=n(99025),i=n(38687);function o(e,t,n,r){var i;return{name:e,details:t,ruleID:null!==(i=null==n?void 0:n.rule_id)&&void 0!==i?i:"",__evaluation:n,value:r}}function a(e,t,n){var r;let i=null!==(r=null==n?void 0:n.value)&&void 0!==r?r:{};return Object.assign(Object.assign({},o(e,t,n,i)),{get:s(e,null==n?void 0:n.value)})}function s(e,t,n){return(o,a)=>{var s;let u=null!==(s=null==t?void 0:t[o])&&void 0!==s?s:null;return null==u?null!=a?a:null:null==a||(0,i._isTypeMatch)(u,a)?(null==n||n(o),u):(r.Log.warn(`Parameter type mismatch. '${e}.${o}' was found to be type '${typeof u}' but fallback/return type is '${typeof a}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),null!=a?a:null)}}t._makeFeatureGate=function(e,t,n){var r;return Object.assign(Object.assign({},o(e,t,n,(null==n?void 0:n.value)===!0)),{idType:null!==(r=null==n?void 0:n.id_type)&&void 0!==r?r:null})},t._makeDynamicConfig=a,t._makeExperiment=function(e,t,n){var r;return Object.assign(Object.assign({},a(e,t,n)),{groupName:null!==(r=null==n?void 0:n.group_name)&&void 0!==r?r:null})},t._makeLayer=function(e,t,n,r){var i,a;return Object.assign(Object.assign({},o(e,t,n,void 0)),{get:s(e,null==n?void 0:n.value,r),groupName:null!==(i=null==n?void 0:n.group_name)&&void 0!==i?i:null,__value:null!==(a=null==n?void 0:n.value)&&void 0!==a?a:{}})},t._mergeOverride=function(e,t,n,r){return Object.assign(Object.assign(Object.assign({},e),t),{get:s(e.name,n,r)})},t._makeTypedGet=s},87963:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},45051:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_DETAIL_ERROR_MESSAGES=t.createUpdateDetails=void 0,t.createUpdateDetails=(e,t,n,r,i,o)=>({duration:n,source:t,success:e,error:r,sourceUrl:i,warnings:o}),t.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},89063:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getFullUserHash=t._normalizeUser=void 0;let r=n(56152),i=n(99025);t._normalizeUser=function(e,t,n){try{let r=JSON.parse(JSON.stringify(e));return null!=t&&null!=t.environment?r.statsigEnvironment=t.environment:null!=n&&(r.statsigEnvironment={tier:n}),r}catch(e){return i.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}},t._getFullUserHash=function(e){return e?(0,r._DJB2Object)(e):null}},38614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;let r=n(99025),i=n(37631),o={},a={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:e=>o[e]?o[e]:null,setItem:(e,t)=>{o[e]=t},removeItem:e=>{delete o[e]},getAllKeys:()=>Object.keys(o)},s=null;try{let e=(0,i._getWindowSafe)();e&&e.localStorage&&"function"==typeof e.localStorage.getItem&&(s={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:t=>e.localStorage.getItem(t),setItem:(t,n)=>e.localStorage.setItem(t,n),removeItem:t=>e.localStorage.removeItem(t),getAllKeys:()=>Object.keys(e.localStorage)})}catch(e){r.Log.warn("Failed to setup localStorageProvider.")}let u=null!=s?s:a,l=u;function c(e){try{return e()}catch(e){if(e instanceof Error&&"SecurityError"===e.name)return t.Storage._setProvider(a),null;if(e instanceof Error&&"QuotaExceededError"===e.name){let n=t.Storage.getAllKeys().filter(e=>e.startsWith("statsig."));e.message=`${e.message}. Statsig Keys: ${n.length}`}throw e}}t.Storage={isReady:()=>l.isReady(),isReadyResolver:()=>l.isReadyResolver(),getProviderName:()=>l.getProviderName(),getItem:e=>c(()=>l.getItem(e)),setItem:(e,t)=>c(()=>l.setItem(e,t)),removeItem:e=>l.removeItem(e),getAllKeys:()=>l.getAllKeys(),_setProvider:e=>{u=e,l=e},_setDisabled:e=>{l=e?a:u}},t._getObjectFromStorage=function(e){let n=t.Storage.getItem(e);return JSON.parse(null!=n?n:"null")},t._setObjectInStorage=function(e,n){t.Storage.setItem(e,JSON.stringify(n))}},53111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;let r=n(99025);t._typedJsonParse=function(e,t,n){try{let n=JSON.parse(e);if(n&&"object"==typeof n&&t in n)return n}catch(e){}return r.Log.error(`Failed to parse ${n}`),null}},38687:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isTypeMatch=t._typeOf=void 0,t._typeOf=function(e){return Array.isArray(e)?"array":typeof e},t._isTypeMatch=function(e,t){let n=e=>Array.isArray(e)?"array":null===e?"null":typeof e;return n(e)===n(t)}},99382:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0,t.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let e=new Date().getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0,n="89ab"[Math.floor(4*Math.random())];return`xxxxxxxx-xxxx-4xxx-${n}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,n=>{let r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)})}},40801:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlConfiguration=void 0;let r=n(56152),i=n(33975),o={[i.Endpoint._initialize]:"i",[i.Endpoint._rgstr]:"e",[i.Endpoint._download_config_specs]:"d"};class a{constructor(e,t,n,r){this.customUrl=null,this.fallbackUrls=null,this.endpoint=e,this.endpointDnsKey=o[e],t&&(this.customUrl=t),!t&&n&&(this.customUrl=n.endsWith("/")?`${n}${e}`:`${n}/${e}`),r&&(this.fallbackUrls=r);let a=i.NetworkDefault[e];this.defaultUrl=`${a}/${e}`}getUrl(){var e;return null!==(e=this.customUrl)&&void 0!==e?e:this.defaultUrl}getChecksum(){var e;let t=(null!==(e=this.fallbackUrls)&&void 0!==e?e:[]).sort().join(",");return(0,r._DJB2)(this.customUrl+t)}}t.UrlConfiguration=a},65260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;let r=n(37631),i="foreground",o="background",a=[],s=i,u=!1;t._isCurrentlyVisible=()=>s===i,t._isUnloading=()=>u,t._subscribeToVisiblityChanged=e=>{a.unshift(e)},t._notifyVisibilityChanged=e=>{e!==s&&(s=e,a.forEach(t=>t(e)))},(0,r._addWindowEventListenerSafe)("focus",()=>{u=!1,(0,t._notifyVisibilityChanged)(i)}),(0,r._addWindowEventListenerSafe)("blur",()=>(0,t._notifyVisibilityChanged)(o)),(0,r._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,t._notifyVisibilityChanged)("visible"===document.visibilityState?i:o)}),(0,r._addWindowEventListenerSafe)((0,r._getUnloadEvent)(),()=>{u=!0,(0,t._notifyVisibilityChanged)(o)})},13328: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);(!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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.Log=t.EventLogger=t.Diagnostics=void 0,n(375);let o=n(375),a=n(60642);Object.defineProperty(t,"Diagnostics",{enumerable:!0,get:function(){return a.Diagnostics}});let s=n(16156);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return s.EventLogger}});let u=n(99025);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return u.Log}});let l=n(56801),c=n(38614);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return c.Storage}}),i(n(375),t),i(n(61867),t),i(n(394),t),i(n(53183),t),i(n(60642),t),i(n(36831),t),i(n(68896),t),i(n(80624),t),i(n(21335),t),i(n(56152),t),i(n(76724),t),i(n(99025),t),i(n(41231),t),i(n(33975),t),i(n(3284),t),i(n(30034),t),i(n(4632),t),i(n(37631),t),i(n(95881),t),i(n(27995),t),i(n(61486),t),i(n(33463),t),i(n(44850),t),i(n(86478),t),i(n(80712),t),i(n(19817),t),i(n(56801),t),i(n(16790),t),i(n(11497),t),i(n(78431),t),i(n(87963),t),i(n(89063),t),i(n(38614),t),i(n(53111),t),i(n(38687),t),i(n(40801),t),i(n(99382),t),i(n(65260),t),i(n(45051),t),i(n(11753),t),Object.assign((0,o._getStatsigGlobal)(),{Log:u.Log,SDK_VERSION:l.SDK_VERSION})},33815:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._resolveDeltasResponse=void 0;let r=n(13328);function i(e,t){null==e||e.forEach(e=>{delete t[e]})}t._resolveDeltasResponse=function(e,t){var n;let o=(0,r._typedJsonParse)(t,"checksum","DeltasEvaluationResponse");if(!o)return{hadBadDeltaChecksum:!0};let a=(i((n=Object.assign(Object.assign(Object.assign({},e),o),{feature_gates:Object.assign(Object.assign({},e.feature_gates),o.feature_gates),layer_configs:Object.assign(Object.assign({},e.layer_configs),o.layer_configs),dynamic_configs:Object.assign(Object.assign({},e.dynamic_configs),o.dynamic_configs)})).deleted_gates,n.feature_gates),delete n.deleted_gates,i(n.deleted_configs,n.dynamic_configs),delete n.deleted_configs,i(n.deleted_layers,n.layer_configs),delete n.deleted_layers,n),s=(0,r._DJB2Object)({feature_gates:a.feature_gates,dynamic_configs:a.dynamic_configs,layer_configs:a.layer_configs},2);return s!==o.checksumV2?{hadBadDeltaChecksum:!0,badChecksum:s,badMergedConfigs:a,badFullResponse:o.deltas_full_response}:JSON.stringify(a)}},44228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(13328);class i{constructor(e){this._sdkKey=e,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings.clear()}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,r._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(e,t){var n;if(!e)return!1;let i=(0,r._typedJsonParse)(e.data,"has_updates","EvaluationResponse");return null!=i&&(this._source=e.source,(null==i?void 0:i.has_updates)!==!0||(this._rawValues=e.data,this._lcut=i.time,this._receivedAt=e.receivedAt,this._values=i,this._bootstrapMetadata=this._extractBootstrapMetadata(e.source,i),e.source&&i.user&&this._setWarningState(t,i),r.SDKFlags.setFlags(this._sdkKey,null!==(n=i.sdk_flags)&&void 0!==n?n:{}),!0))}getWarnings(){if(0!==this._warnings.size)return Array.from(this._warnings)}getGate(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.feature_gates,e)}getConfig(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.dynamic_configs,e)}getConfigList(){var e;return(null===(e=this._values)||void 0===e?void 0:e.dynamic_configs)?Object.values(this._values.dynamic_configs).map(e=>e.name):[]}getLayer(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.layer_configs,e)}getParamStore(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.param_stores,e)}getSource(){return this._source}getExposureMapping(){var e;return null===(e=this._values)||void 0===e?void 0:e.exposures}_extractBootstrapMetadata(e,t){if("Bootstrap"!==e)return null;let n={};return t.user&&(n.user=t.user),t.sdkInfo&&(n.generatorSDKInfo=t.sdkInfo),n.lcut=t.time,n}_getDetailedStoreResult(e,t){let n=null;return e&&(n=e[t]?e[t]:e[(0,r._DJB2)(t)]),{result:n,details:this._getDetails(null==n)}}_setWarningState(e,t){var n,i;let o=r.StableID.get(this._sdkKey);if((null===(n=e.customIDs)||void 0===n?void 0:n.stableID)!==o&&((null===(i=e.customIDs)||void 0===i?void 0:i.stableID)||o)){this._warnings.add("StableIDMismatch");return}if("user"in t){let n=t.user,i=Object.assign(Object.assign({},e),{analyticsOnlyMetadata:void 0,privateAttributes:void 0});(0,r._getFullUserHash)(i)!==(0,r._getFullUserHash)(n)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if("Uninitialized"===this._source||"NoValues"===this._source)return{reason:this._source};let e={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(e.warnings=Array.from(this._warnings)),e}_getDetails(e){var t,n;let r=this.getCurrentSourceDetails(),i=r.reason,o=null!==(t=r.warnings)&&void 0!==t?t:[];"Bootstrap"===this._source&&o.length>0&&(i+=o[0]),"Uninitialized"!==i&&"NoValues"!==i&&(i=`${i}:${e?"Unrecognized":"Recognized"}`);let a="Bootstrap"===this._source&&null!==(n=this._bootstrapMetadata)&&void 0!==n?n:void 0;return a&&(r.bootstrapMetadata=a),Object.assign(Object.assign({},r),{reason:i})}}t.default=i},70226:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let i=n(13328),o=n(33815);class a extends i.NetworkCore{constructor(e,t){super(e,t);let n=null==e?void 0:e.networkConfig;this._option=e,this._initializeUrlConfig=new i.UrlConfiguration(i.Endpoint._initialize,null==n?void 0:n.initializeUrl,null==n?void 0:n.api,null==n?void 0:n.initializeFallbackUrls)}fetchEvaluations(e,t,n,o,a){return r(this,void 0,void 0,function*(){var r,s,u,l,c,d;let f=t?(0,i._typedJsonParse)(t,"has_updates","InitializeResponse"):null,h={user:o,hash:null!==(u=null===(s=null===(r=this._option)||void 0===r?void 0:r.networkConfig)||void 0===s?void 0:s.initializeHashAlgorithm)&&void 0!==u?u:"djb2",deltasResponseRequested:!1,full_checksum:null};if(null==f?void 0:f.has_updates){let e=(null==f?void 0:f.hash_used)!==(null!==(d=null===(c=null===(l=this._option)||void 0===l?void 0:l.networkConfig)||void 0===c?void 0:c.initializeHashAlgorithm)&&void 0!==d?d:"djb2");h=Object.assign(Object.assign({},h),{sinceTime:a&&!e?f.time:0,previousDerivedFields:"derived_fields"in f&&a?f.derived_fields:{},deltasResponseRequested:!0,full_checksum:f.full_checksum,partialUserMatchSinceTime:e?0:f.time})}return this._fetchEvaluations(e,f,h,n)})}_fetchEvaluations(e,t,n,i){return r(this,void 0,void 0,function*(){var r,a;let s=yield this.post({sdkKey:e,urlConfig:this._initializeUrlConfig,data:n,retries:2,isStatsigEncodable:!0,priority:i});if((null==s?void 0:s.code)===204)return'{"has_updates": false}';if((null==s?void 0:s.code)!==200)return null!==(r=null==s?void 0:s.body)&&void 0!==r?r:null;if((null==t?void 0:t.has_updates)!==!0||(null===(a=s.body)||void 0===a?void 0:a.includes('"is_delta":true'))!==!0||!0!==n.deltasResponseRequested)return s.body;let u=(0,o._resolveDeltasResponse)(t,s.body);return"string"==typeof u?u:this._fetchEvaluations(e,t,Object.assign(Object.assign(Object.assign({},n),u),{deltasResponseRequested:!1}),i)})}}t.default=a},50866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeParamStoreGetter=void 0;let r=n(13328),i={disableExposureLog:!0};function o(e){return null==e||!1===e.disableExposureLog}function a(e,t){return null!=t&&!(0,r._isTypeMatch)(e,t)}t._makeParamStoreGetter=function(e,t,n){return(s,u)=>{if(null==t)return u;let l=t[s];if(null==l||null!=u&&(0,r._typeOf)(u)!==l.param_type)return u;switch(l.ref_type){case"static":return l.value;case"gate":return e.getFeatureGate(l.gate_name,o(n)?void 0:i).value?l.pass_value:l.fail_value;case"dynamic_config":return function(e,t,n,r){let s=e.getDynamicConfig(t.config_name,o(r)?void 0:i).get(t.param_name);return a(s,n)?n:s}(e,l,u,n);case"experiment":return function(e,t,n,r){let s=e.getExperiment(t.experiment_name,o(r)?void 0:i).get(t.param_name);return a(s,n)?n:s}(e,l,u,n);case"layer":return function(e,t,n,r){let s=e.getLayer(t.layer_name,o(r)?void 0:i).get(t.param_name);return a(s,n)?n:s}(e,l,u,n);default:return u}}}},74620:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let i=n(13328),o=n(44228),a=n(70226),s=n(50866),u=n(95231);class l extends i.StatsigClientBase{static instance(e){let t=(0,i._getStatsigGlobal)().instance(e);return t instanceof l?t:(i.Log.warn((0,i._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new l(null!=e?e:"",{}))}constructor(e,t,n=null){var r,s;i.SDKType._setClientType(e,"javascript-client");let l=new a.default(n,e=>{this.$emt(e)});for(let a of(super(e,null!==(r=null==n?void 0:n.dataAdapter)&&void 0!==r?r:new u.StatsigEvaluationsDataAdapter,l,n),this._possibleFirstTouchMetadata={},this.getFeatureGate=this._memoize(i.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(i.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(i.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getConfigList=this._memoize(i.MemoPrefix._configList,this._getConfigListImpl.bind(this)),this.getLayer=this._memoize(i.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(i.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new o.default(e),this._network=l,this._user=this._configureUser(t,n),this._sdkInstanceID=(0,i.getUUID)(),null!==(s=null==n?void 0:n.plugins)&&void 0!==s?s:[]))a.bind(this)}initializeSync(e){var t;return"Uninitialized"!==this.loadingStatus?(0,i.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...null!==(t=this._store.getWarnings())&&void 0!==t?t:[]]):(this._logger.start(),this.updateUserSync(this._user,e))}initializeAsync(e){return r(this,void 0,void 0,function*(){return this._initializePromise||(this._initializePromise=this._initializeAsyncImpl(e)),this._initializePromise})}updateUserSync(e,t){let n=performance.now();try{return this._updateUserSyncImpl(e,t,n)}catch(t){let e=t instanceof Error?t:Error(String(t));return this._createErrorUpdateDetails(e,n)}}_updateUserSyncImpl(e,t,n){var r;let o=[...null!==(r=this._store.getWarnings())&&void 0!==r?r:[]];this._resetForUser(e);let a=this.dataAdapter.getDataSync(this._user);null==a&&o.push("NoCachedValues"),this._store.setValues(a,this._user),this._finalizeUpdate(a);let s=null==t?void 0:t.disableBackgroundCacheRefresh;return!0===s||null==s&&(null==a?void 0:a.source)==="Bootstrap"||this._runPostUpdate(null!=a?a:null,this._user),(0,i.createUpdateDetails)(!0,this._store.getSource(),performance.now()-n,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),o)}updateUserAsync(e,t){return r(this,void 0,void 0,function*(){let n=performance.now();try{return yield this._updateUserAsyncImpl(e,t)}catch(t){let e=t instanceof Error?t:Error(String(t));return this._createErrorUpdateDetails(e,n)}})}_updateUserAsyncImpl(e,t){return r(this,void 0,void 0,function*(){this._resetForUser(e);let n=this._user;i.Diagnostics._markInitOverallStart(this._sdkKey);let r=this.dataAdapter.getDataSync(n);if(this._store.setValues(r,this._user),this._setStatus("Loading",r),r=yield this.dataAdapter.getDataAsync(r,n,t),n!==this._user)return(0,i.createUpdateDetails)(!1,this._store.getSource(),-1,Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let o=!1;null!=r&&(i.Diagnostics._markInitProcessStart(this._sdkKey),o=this._store.setValues(r,this._user),i.Diagnostics._markInitProcessEnd(this._sdkKey,{success:o})),this._finalizeUpdate(r),o||(this._errorBoundary.attachErrorIfNoneExists(i.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),i.Diagnostics._markInitOverallEnd(this._sdkKey,o,this._store.getCurrentSourceDetails());let a=i.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,i.createUpdateDetails)(o,this._store.getSource(),a,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:i.StatsigSession.get(this._sdkKey),stableID:i.StableID.get(this._sdkKey),sdkInstanceID:this._sdkInstanceID}}checkGate(e,t){return this.getFeatureGate(e,t).value}logEvent(e,t,n){let r="string"==typeof e?{eventName:e,value:t,metadata:n}:e;this.$emt({name:"log_event_called",event:r}),this._logger.enqueue(Object.assign(Object.assign({},r),{user:this._user,time:Date.now()}))}updateUserWithAnalyticsOnlyMetadata(e){this._user=this._configureUser(Object.assign(Object.assign({},this._user),{analyticsOnlyMetadata:e}),this._options)}_primeReadyRipcord(){this.$on("error",()=>{"Loading"===this.loadingStatus&&this._finalizeUpdate(null)})}_initializeAsyncImpl(e){return r(this,void 0,void 0,function*(){return i.Storage.isReady()||(yield i.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,e)})}_createErrorUpdateDetails(e,t){var n;return(0,i.createUpdateDetails)(!1,this._store.getSource(),performance.now()-t,e,null,[...null!==(n=this._store.getWarnings())&&void 0!==n?n:[]])}_finalizeUpdate(e){this._store.finalize(),this._setStatus("Ready",e)}_runPostUpdate(e,t){this.dataAdapter.getDataAsync(e,t,{priority:"low"}).catch(e=>{i.Log.error("An error occurred after update.",e)})}_resetForUser(e){this._logger.reset(),this._store.reset(),this._user=this._configureUser(e,this._options)}_configureUser(e,t){var n,r,o;let a=(0,i._normalizeUser)(e,t),s=null===(n=a.customIDs)||void 0===n?void 0:n.stableID;if(s){let e=null===(o=(r=this.storageProvider).isReadyResolver)||void 0===o?void 0:o.call(r);e?e.then(()=>i.StableID.setOverride(s,this._sdkKey),()=>i.StableID.setOverride(s,this._sdkKey)):i.StableID.setOverride(s,this._sdkKey)}return Object.keys(this._possibleFirstTouchMetadata).length>0&&(a.analyticsOnlyMetadata=Object.assign(Object.assign({},a.analyticsOnlyMetadata),this._possibleFirstTouchMetadata)),a}_getFeatureGateImpl(e,t){var n,r;let{result:o,details:a}=this._store.getGate(e),s=(0,i._makeFeatureGate)(e,a,o),u=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getGateOverride)||void 0===r?void 0:r.call(n,s,this._user,t),l=null!=u?u:s;return this._enqueueExposure(e,(0,i._createGateExposure)(this._user,l,this._store.getExposureMapping()),t),this.$emt({name:"gate_evaluation",gate:l}),l}_getDynamicConfigImpl(e,t){var n,r;let{result:o,details:a}=this._store.getConfig(e),s=(0,i._makeDynamicConfig)(e,a,o),u=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getDynamicConfigOverride)||void 0===r?void 0:r.call(n,s,this._user,t),l=null!=u?u:s;return this._enqueueExposure(e,(0,i._createConfigExposure)(this._user,l,this._store.getExposureMapping()),t),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:l}),l}_getExperimentImpl(e,t){var n,r,o,a;let{result:s,details:u}=this._store.getConfig(e),l=(0,i._makeExperiment)(e,u,s);null!=l.__evaluation&&(l.__evaluation.secondary_exposures=(0,i._mapExposures)(null!==(r=null===(n=l.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==r?r:[],this._store.getExposureMapping()));let c=null===(a=null===(o=this.overrideAdapter)||void 0===o?void 0:o.getExperimentOverride)||void 0===a?void 0:a.call(o,l,this._user,t),d=null!=c?c:l;return this._enqueueExposure(e,(0,i._createConfigExposure)(this._user,d,this._store.getExposureMapping()),t),this.$emt({name:"experiment_evaluation",experiment:d}),d}_getConfigListImpl(){return this._store.getConfigList()}_getLayerImpl(e,t){var n,r,o;let{result:a,details:s}=this._store.getLayer(e),u=(0,i._makeLayer)(e,s,a),l=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getLayerOverride)||void 0===r?void 0:r.call(n,u,this._user,t);(null==t?void 0:t.disableExposureLog)&&this._logger.incrementNonExposureCount(e);let c=(0,i._mergeOverride)(u,l,null!==(o=null==l?void 0:l.__value)&&void 0!==o?o:u.__value,n=>{null!=t&&t.disableExposureLog||this._enqueueExposure(e,(0,i._createLayerParameterExposure)(this._user,c,n,this._store.getExposureMapping()),t)});return this.$emt({name:"layer_evaluation",layer:c}),c}_getParameterStoreImpl(e,t){var n,r;let{result:i,details:o}=this._store.getParamStore(e);this._logger.incrementNonExposureCount(e);let a={name:e,details:o,__configuration:i,get:(0,s._makeParamStoreGetter)(this,i,t)},u=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getParamStoreOverride)||void 0===r?void 0:r.call(n,a,t);return null!=u&&(a.__configuration=u.config,a.details=u.details,a.get=(0,s._makeParamStoreGetter)(this,u.config,t)),a}}t.default=l},95231:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigEvaluationsDataAdapter=void 0;let i=n(13328),o=n(70226);class a extends i.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(e,t,n){super.attach(e,t,n),null!==n&&n instanceof o.default?this._network=n:this._network=new o.default(null!=t?t:{})}getDataAsync(e,t,n){return this._getDataAsyncImpl(e,(0,i._normalizeUser)(t,this._options),n)}prefetchData(e,t){return this._prefetchDataImpl(e,t)}setData(e){let t=(0,i._typedJsonParse)(e,"has_updates","data");t&&"user"in t?super.setData(e,t.user):i.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(e,t){super.setData(e,t)}_fetchFromNetwork(e,t,n,i){return r(this,void 0,void 0,function*(){var r;let o=yield null===(r=this._network)||void 0===r?void 0:r.fetchEvaluations(this._getSdkKey(),e,null==n?void 0:n.priority,t,i);return null!=o?o:null})}_getCacheKey(e){var t;let n=(0,i._getStorageKey)(this._getSdkKey(),e,null===(t=this._options)||void 0===t?void 0:t.customUserCacheKeyFunc);return`${i.DataAdapterCachePrefix}.${this._cacheSuffix}.${n}`}_isCachedResultValidFor204(e,t){return null!=e.fullUserHash&&e.fullUserHash===(0,i._getFullUserHash)(t)}}t.StatsigEvaluationsDataAdapter=a},90250: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);(!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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClient=void 0;let o=n(13328),a=n(74620);t.StatsigClient=a.default,i(n(13328),t);let s=Object.assign((0,o._getStatsigGlobal)(),{StatsigClient:a.default});t.default=s},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},58018:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},89611:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},86854:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},83997:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.Z)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:function(e,t,n){"use strict";function r(e){return(r="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})(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r.Z)(e,t)}}},82729:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{_:function(){return r}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(91118),t(37253)}),_N_E=e.O()}]);