(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{40909:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,o||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);ir.default.createElement(i.default,Object.assign({dangerouslySetGlyph:''},e));a.displayName="CheckMarkIcon",t.Z=a},46880: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="CloseIcon",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"}),l=(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)"}),c=(0,i.iv)({lineHeight:"var(--ds-space-150, 12px)"}),u=(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,b,y=e.color,w=void 0===y?"currentColor":y,_=e.testId,k=e.label,x=e.LEGACY_primaryColor,C=e.LEGACY_secondaryColor,E=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!=x?x:w,secondaryColor:C,size:E,label:k,testId:_,UNSAFE_margin:A});var P=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!==(b=e.spacing)&&void 0!==b?b:"none"]);return(0,i.tZ)("span",{"data-testid":_,role:k?"img":void 0,"aria-label":k||void 0,"aria-hidden":!k||void 0,style:{color:w},css:[l,d,I&&u,"utility"===e.type&&c]},(0,i.tZ)("svg",{fill:"none",viewBox:"".concat(0-g," ").concat(0-g," ").concat(P," ").concat(P),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 eH}});var r,i,o=n(15671),a=n(43144),s=n(4942),l=n(45987),c=n(86854),u=n(15861),d=n(64687),f=n.n(d),h=n(90250),p=n(40909),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}()?x.COMMERCIAL:x.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,c.Z)(e,1)[0],r=(0,c.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]:"",l=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=l}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,w.Z)(t),s=Array.isArray(o)?"array":(0,w.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,D(t.details),M(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}}])}(),T=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]:[],l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",u=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=l,this._allocatedExperimentName=c,this._explicitParameters=u}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,w.Z)(i)===(0,w.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,D(t.details),function(e,n){return t.get(n)},M(null!==(n=null===(r=t.__evaluation)||void 0===r?void 0:r.secondary_exposures)&&void 0!==n?n:[]),M(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)}}])}(),j="0.0.0-development",F=n(58018),V=n(61120),z=n(60136),N=n(89611);function H(e,t,n){return(H=!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,N.Z)(i,n.prototype),i}:Reflect.construct.bind()).apply(null,arguments)}function B(e){var t="function"==typeof Map?new Map:void 0;return(B=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 H(e,arguments,(0,V.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,N.Z)(n,e)})(e)}function Z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Z=function(){return!!e})()}var U=function(e){function t(e){var n,r;return(0,o.Z)(this,t),n=t,r=[e],n=(0,V.Z)(n),(0,F.Z)(this,Z()?Reflect.construct(n,r||[],(0,V.Z)(this).constructor):n.apply(this,r))}return(0,z.Z)(t,e),(0,a.Z)(t)}(B(Error));function W(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 K=function(){var e,t,n,r,i;function l(){(0,o.Z)(this,l)}return(0,a.Z)(l,null,[{key:"fetchClientSdk",value:(e=(0,u.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,u.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,u.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 U("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 U("Unexpected 204 response");case 7:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})},{key:"extractResponseBody",value:(r=(0,u.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===x.FEDRAMP_MODERATE)switch(e){case k.Production:return"https://api.atlassian-us-gov-mod.com/flags";case k.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===x.COMMERCIAL)switch(e){case k.Development:return"https://api.dev.atlassian.com/flags";case k.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,u.Z)(f().mark(function e(t,n,r,i){var o,a,c,u,d;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=l.getBaseUrl(r.environment,r.useGatewayURL,r.perimeter,r.isolationContextId),a=r.fetchTimeoutMs||5e3,AbortSignal.timeout?c=AbortSignal.timeout(a):AbortController&&(c=(u=new AbortController).signal,setTimeout(function(){return u.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,l=(0,X._DJB2)(s);o.has(l)&&delete i[l]}}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 y),(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,u.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:(eb=(0,u.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(j),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 eb.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=ec({targetApp:o.initOptions.targetApp,clientVersion:j,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!==k.Production&&console.error("Analytics web client promise did not resolve",e)})}},{key:"initializeFromValues",value:(ey=(0,u.Z)(f().mark(function e(t,n,r){var i,o,a,s=this,l=arguments;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=l.length>3&&void 0!==l[3]?l[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 ey.apply(this,arguments)})},{key:"assertInitialized",value:function(e){if(!e)throw Error("Client must be initialized before using this method")}},{key:"updateUser",value:(ew=(0,u.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 K.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 ew.apply(this,arguments)})},{key:"updateUserWithProvider",value:(e_=(0,u.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 e_.apply(this,arguments)})},{key:"updateUserWithValues",value:(ek=(0,u.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 ek.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 R.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 R(e,{},"",{time:Date.now(),reason:_.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:(ex=(0,u.Z)(f().mark(function e(t,n,r){var i,o,a,s,l,u,d;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=ec({},t),e.prev=1,s=K.fetchClientSdk(t).then(function(e){return i.sdkKey=e.clientSdkKey}),l=K.fetchExperimentValues(t,n,r),e.next=6,Promise.all([s,l]);case 6:u=e.sent,o=(d=(0,c.Z)(u,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 ex.apply(this,arguments)})},{key:"initWithProvider",value:(eC=(0,u.Z)(f().mark(function e(t,n,r,i){var o,a,s,l,u,d,h;return f().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=ec(ec({},t),{},{disableCurrentPageLogging:!0}),e.prev=1,e.next=4,n.setProfile(t,r,i);case 4:return l=n.getClientSdkKey().then(function(e){return o.sdkKey=e}),u=n.getExperimentValues(),e.next=8,Promise.all([l,u]);case 8:d=e.sent,a=(h=(0,c.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:(eE=(0,u.Z)(f().mark(function e(t,n,r){var i,o,a,s,c,u,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=P(t)).sdkKey||(a.sdkKey=eu),null!==(i=a.networkConfig)&&void 0!==i&&i.logEventUrl||(a.networkConfig=ec(ec({},a.networkConfig),{},{logEventUrl:"https://xp.atlassian.com/v1/rgstr"})),a.perimeter===x.FEDRAMP_MODERATE&&(a.disableLogging=!0),s=a.sdkKey,c=a.environment,a.updateUserCompletionCallback,a.perimeter,u=(0,l.Z)(a,es),this.user=A(n,r),d=ec(ec({},u),{},{environment:{tier:c},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(eu,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 eE.apply(this,arguments)})},{key:"updateUserUsingInitializeValuesProducer",value:(eS=(0,u.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,u.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,u.Z)(f().mark(function e(t,n,r){var i,o,a,s,l,c,u,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),u=e.t0 instanceof Error?e.t0.message:JSON.stringify(e.t0),null===(l=(c=this.initOptions).updateUserCompletionCallback)||void 0===l||l.call(c,!1,u),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 j}},{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 T.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),T.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,eb,ey,ew,e_,ek,ex,eC,eE,eS,eO,eI,eA,eP=(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";eP!==j&&console.warn("Multiple versions of FeatureGateClients found on the current page.\n The currently bound version is ".concat(eP," when module version ").concat(j," was loading."))}}var eL=eh,eD=!((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",eM=function(){var e;eD&&(e=console).debug.apply(e,arguments)},eR=n(83454),eT="__PLATFORM_FEATURE_FLAGS__",ej=void 0!==eR&&void 0!==eR.env,eF=!!ej&&"true"===eR.env.ENABLE_PLATFORM_FF,eV=!!ej&&"true"===eR.env.STORYBOOK_ENABLE_PLATFORM_FF,ez=eF||eV,eN="undefined"!=typeof window?window:globalThis;function eH(e){return function(e){if(ez)return eM('[%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=eN[eT])||void 0===t?void 0:t.booleanResolver)===void 0||(null===(n=eN[eT])||void 0===n?void 0:n.booleanResolver)===null)return eL.checkGate(e);var t,n,r,i=null===(r=eN[eT])||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)}eN[eT]=eN[eT]||{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,l=0;e.exports=function(e,t,n){var c=t&&n||0,u=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:l+1,g=p-s+(v-l)/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,l=v,i=f;var m=((268435455&(p+=122192928e5))*1e4+v)%4294967296;u[c++]=m>>>24&255,u[c++]=m>>>16&255,u[c++]=m>>>8&255,u[c++]=255&m;var b=p/4294967296*1e4&268435455;u[c++]=b>>>8&255,u[c++]=255&b,u[c++]=b>>>24&15|16,u[c++]=b>>>16&255,u[c++]=f>>>8|128,u[c++]=255&f;for(var y=0;y<6;++y)u[c+y]=d[y];return t||a(u)}},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)}},77967:function(e,t,n){"use strict";n.d(t,{iv:function(){return ew},tZ:function(){return ey},F4:function(){return e_}});var r,i,o,a,s,l,c=n(67294),u=n.t(c,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(_,/&\f/g,h[w])).trim())&&(l[y++]=k);return O(e,t,n,0===i?V:s,l,c,u)}function U(e,t,n,r){return O(e,t,n,z,b(e,0,r),b(e,r+1,-1),r)}var W=function(e,t,n){for(var r=0,i=0;r=i,i=P(),38===r&&12===i&&(t[n]=1),!L(i);)A();return b(S,e,C)},K=function(e,t){var n=-1,r=44;do switch(L(r)){case 0:38===r&&12===P()&&(t[n]=1),e[n]+=W(C-1,t,n);break;case 2:e[n]+=M(r);break;case 4:if(44===r){e[++n]=58===P()?"&\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=K(D(e),t),S="",n},$=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)||$.get(n))&&!r){$.set(e,!0);for(var i=[],o=G(t,i),a=n.props,s=0,l=0;s-1&&!e.return)switch(e.type){case z: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 j+"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 j+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return j+t+T+t+R+t+t;case 6828:case 4268:return j+t+R+t+t;case 6165:return j+t+R+"flex-"+t+t;case 5187:return j+t+v(t,/(\w+).+(:[^]+)/,j+"box-$1$2"+R+"flex-$1$2")+t;case 5443:return j+t+R+"flex-item-"+v(t,/flex-|-self/,"")+t;case 4675:return j+t+R+"flex-line-pack"+v(t,/align-content|flex-|-self/,"")+t;case 5548:return j+t+R+v(t,"shrink","negative")+t;case 5292:return j+t+R+v(t,"basis","preferred-size")+t;case 6060:return j+"box-"+v(t,"-grow","")+j+t+R+v(t,"grow","positive")+t;case 4554:return j+v(t,/([^-])(transform)/g,"$1"+j+"$2")+t;case 6187:return v(v(v(t,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),t,"")+t;case 5495:case 3959:return v(t,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return v(v(t,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+R+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+t+t;case 4095:case 3583:case 4068:case 2532:return v(t,/(.+)-inline(.+)/,j+"$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(y(t)-1-n>6)switch(m(t,n+1)){case 109:if(45!==m(t,n+4))break;case 102:return v(t,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+T+(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,y(t)-3-(~g(t,"!important")&&10))){case 107:return v(t,":",":"+j)+t;case 101:return v(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(45===m(t,14)?"inline-":"")+"box$3$1"+j+"$2$3$1"+R+"$2box$3")+t}break;case 5936:switch(m(t,n+11)){case 114:return j+t+R+v(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return j+t+R+v(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return j+t+R+v(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return j+t+R+t+t}return t}(e.value,e.length);break;case N:return H([I(e,{value:v(e.value,"@","@"+j)})],r);case V: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 H([I(e,{props:[v(t,/:(read-\w+)/,":"+T+"$1")]})],r);case"::placeholder":return H([I(e,{props:[v(t,/:(plac\w+)/,":"+j+"input-$1")]}),I(e,{props:[v(t,/:(plac\w+)/,":"+T+"$1")]}),I(e,{props:[v(t,/:(plac\w+)/,R+"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 l={name:t,styles:n,next:l},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 l={name:n.name,styles:n.styles,next:l},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)l={name:r.name,styles:r.styles,next:l},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)+c,styles:o,next:l}}var eu=!!u.useInsertionEffect&&u.useInsertionEffect,ed=eu||function(e){return e()};eu||c.useLayoutEffect;var ef=c.createContext("undefined"!=typeof HTMLElement?function(e){var t,n,r,i,o,a,s=e.key;if("css"===s){var l=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(l,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var c=e.stylisPlugins||Y,u={},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(E)>3?"":" "}(D);break;case 92:W+=function(e,t){for(var n;--t&&A()&&!(E<48)&&!(E>102)&&(!(E>57)||!(E<65))&&(!(E>70)||!(E<97)););return n=C+(t<6&&32==P()&&32==A()),b(S,e,n)}(C-1,7);continue;case 47:switch(P()){case 42:case 47:w(O(u=function(e,t){for(;A();)if(e+E===57)break;else if(e+E===84&&47===P())break;return"/*"+b(S,t,C-1)+"*"+h(47===e?e:A())}(A(),C),n,r,F,h(E),b(u,2,-2),0),c);break;default:W+="/"}break;case 123*R:l[d++]=y(W)*j;case 125*R:case 59:case 0:switch(V){case 0:case 125:T=0;case 59+f:-1==j&&(W=v(W,/\f/g,"")),I>0&&y(W)-p&&w(I>32?U(W+";",i,r,p-1):U(v(W," ","")+";",i,r,p-2),c);break;case 59:W+=";";default:if(w(B=Z(W,n,r,d,f,o,l,z,N=[],H=[],p),a),123===V){if(0===f)e(W,n,B,B,N,a,p,l,H);else switch(99===x&&110===m(W,3)?100:x){case 100:case 108:case 109:case 115:e(t,B,B,i&&w(Z(t,B,B,0,0,o,l,z,o,N=[],p),H),o,H,p,l,i?N:H);break;default:e(W,B,B,B,[""],H,0,l,H)}}}d=f=I=0,R=j=1,z=W="",p=s;break;case 58:p=1+y(W),I=D;default:if(R<1){if(123==V)--R;else if(125==V&&0==R++&&125==(E=C>0?m(S,--C):0,k--,10===E&&(k=1,_--),E))continue}switch(W+=h(V),V*R){case 38:j=f>0?1:(W+="\f",-1);break;case 44:l[d++]=(y(W)-1)*j,j=1;break;case 64:45===P()&&(W+=M(A())),x=P(),f=p=y(z=W+=function(e){for(;!L(P());)A();return b(S,e,C)}(C)),V++;break;case 45:45===D&&2==y(W)&&(R=0)}}return a}("",null,null,null,[""],t=D(t=e),0,[0],t),S="",n),p)};o=function(e,t,n,r){a=n,x(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:u,registered:{},insert:o};return I.sheet.hydrate(f),I}({key:"css"}):null);ef.Provider;var eh=c.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},eb=(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],l=[a],u="";"string"==typeof e.className?(r=t.registered,i=e.className,o="",i.split(" ").forEach(function(e){void 0!==r[e]?l.push(r[e]+";"):e&&(o+=e+" ")}),u=o):null!=e.className&&(u=e.className+" ");var d=ec(l,void 0,c.useContext(eh));u+=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=u,n&&(f.ref=n),c.createElement(c.Fragment,null,c.createElement(em,{cache:t,serialized:d,isStringTag:"string"==typeof s}),c.createElement(s,f))},(0,c.forwardRef)(function(e,t){return o(e,(0,c.useContext)(ef),t)}));n(8679);var ey=function(e,t){var n=arguments;if(null==t||!ep.call(t,"css"))return c.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=eb,i[1]=eg(e,t);for(var o=2;o=t||n<0||g&&r>=u}function w(){var e,n,r,o=i();if(y(o))return _(o);f=setTimeout(w,(e=o-h,n=o-p,r=t-e,g?s(r,u-n):r))}function _(e){return(f=void 0,m&&l)?b(e):(l=c=void 0,d)}function k(){var e,n=i(),r=y(n);if(l=arguments,c=this,h=n,r){if(void 0===f)return p=e=h,f=setTimeout(w,t),v?b(e):d;if(g)return clearTimeout(f),f=setTimeout(w,t),b(h)}return void 0===f&&(f=setTimeout(w,t)),d}return t=o(t)||0,r(n)&&(v=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,m="trailing"in n?!!n.trailing:m),k.cancel=function(){void 0!==f&&clearTimeout(f),p=0,l=h=c=f=void 0},k.flush=function(){return void 0===f?d:_(i())},k}},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)}},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,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=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=l.test(e);return n||c.test(e)?u(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(19948)}])},70806:function(e,t,n){"use strict";n.d(t,{xMy:function(){return ct},ggW:function(){return c_},qEK:function(){return lF},zxk:function(){return l4},W20:function(){return ci},yeS:function(){return cy},WiK:function(){return u3},JO$:function(){return lz},hU:function(){return cI},aNw:function(){return l$},TRl:function(){return dm},u_l:function(){return uw},DRh:function(){return dS},J2e:function(){return dP},Y8K:function(){return uK},PhF:function(){return uo},LZC:function(){return l6},xvT:function(){return sJ},oil:function(){return cf},ua7:function(){return dl},b0H:function(){return lP},tcx:function(){return lD},f1F:function(){return lA}});var r,i,o,a,s,l,c,u,d,f,h,p,v,g,m,b,y,w,_,k,x,C,E,S,O,I,A,P,L=n(48564),D=n(2267),M=n(75766),R=n(18007),T=n(24043),j=n(82729),F=n(248),V=n(88421),z=n(53304);n(23279);var N=n(67294),H=n(4942),B=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},Z=/^((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=B(function(e){return Z.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),W=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)},Y={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},X=/[A-Z]|^ms/g,Q=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ee=function(e){return 45===e.charCodeAt(1)},et=function(e){return null!=e&&"boolean"!=typeof e},en=B(function(e){return ee(e)?e:e.replace(X,"-$&").toLowerCase()}),er=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Q,function(e,t,n){return S={name:t,styles:n,next:S},t})}return 1===Y[e]||ee(e)||"number"!=typeof t||0===t?t:t+"px"};function ei(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 S={name:n.name,styles:n.styles,next:S},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)S={name:i.name,styles:i.styles,next:S},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&&0l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0h)&&(z=(B=B.replace(" ",":")).length),096?U:ep};function eg(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 em=function(){return null},eb=(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 l=i||ev(s),c=!l("as");return function(){var u=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,h=1;h0};function eC(e,t){return(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!O)return[];if(null!==(t=O.vc)&&void 0!==t&&t.enabled){var t,n,r,i,o=(null!==(n=O.vc)&&void 0!==n?n:{}).enabledVCRevisions;if(ex(null==o||null===(r=o.byExperience)||void 0===r?void 0:r[e])&&(0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience"))return null===(i=o.byExperience)||void 0===i?void 0:i[e];if(ex(null==o?void 0:o.all))return o.all;return["fy25.02"]}return[]}catch(e){return[]}})(t).includes(e)}var eE={context:null},eS={current:null},eO=n(86854),eI=n(30907),eA=n(40181);function eP(e){return function(e){if(Array.isArray(e))return(0,eI.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,eA.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 eL=n(64687),eD=n.n(eL),eM=n(15671),eR=n(43144),eT=n(15861),ej=n(45987),eF=n(5075),eV={wheel:"wheel",keydown:"keydown",resize:"resize"};function ez(){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 eN(){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 eH=[];function eB(e,t){if(0===eH.length)return"visible";for(var n=eH.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,l=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]=l,a[e]=new Set,null===(t=i[l])||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}}}])}(eK),eJ=new eq;function eY(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eY=function(){return!!e})()}var eX=new(function(e){function t(){var e,n,r;return(0,eM.Z)(this,t),n=t,n=(0,eU.Z)(n),e=(0,eZ.Z)(this,eY()?Reflect.construct(n,[],(0,eU.Z)(this).constructor):n.apply(this,r)),(0,H.Z)(e,"revision","fy25.02"),(0,H.Z)(e,"types",["attr"]),(0,H.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,H.Z)(e,"removedFilters",[]),e.mergeConfig(),e}return(0,eW.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,eO.Z)(e,2),i=t[0],o=t[1],a=Number(i);Math.ceil(n)>=a&&(r[a]=o)}),r}}])}(eq));function eQ(){return eC("fy25.01")?[{name:"fy25.01",classifier:eJ},{name:"fy25.02",classifier:eX}]:[{name:"fy25.02",classifier:eX}]}function e0(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}}}}(e1);try{for(a.s();!(n=a.n()).done;){var s=n.value;r[s]={t:i[s]||-1,e:o[s]||e2}}}catch(e){a.e(e)}finally{a.f()}return r}var e3=(0,eR.Z)(function e(t){var n=this,r=t.viewport,i=t.revisions,o=t.arraySize,a=t.devToolsEnabled;(0,eM.Z)(this,e),(0,H.Z)(this,"arraySize",{w:200,h:200}),(0,H.Z)(this,"mapPixelsToHeatmap",function(e,t,r,i){var o=n.viewport,a=o.w,s=o.h,l=Math.floor(e/a*n.arraySize.w),c=Math.floor(t/s*n.arraySize.h),u=Math.ceil((e+r)/a*n.arraySize.w),d=Math.ceil((t+i)/s*n.arraySize.h);return{l:Math.max(0,l),t:Math.max(0,c),r:Math.min(n.arraySize.w,u),b:Math.min(n.arraySize.h,d)}}),(0,H.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,l=e.onError,c=e.attributeName,u=e.oldValue,d=e.newValue,f=this.mapPixelsToHeatmap(i.left,i.top,i.width,i.height),h=this.applyChangesToHeatMap(f,n,r);!0!==h&&l(h);var p=this.getElementRatio(f);this.revisions.forEach(function(e,l){r[l]&&(t.vcRatios[l][a]=p),t.componentsLogs[l][n]||(t.componentsLogs[l][n]=[]),t.componentsLogs[l][n].push({__debug__element:t.devToolsEnabled?new WeakRef(o):null,intersectionRect:i,targetName:a,ignoreReason:s,attributeName:c,oldValue:u,newValue:d})})}},{key:"getData",value:function(){return{heatmaps:this.heatmaps}}},{key:"getPayloadShapedData",value:function(e){var t=eB(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 l={},c=0,u=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"};u[s]||(u[s]=[]),u[s].push(f)}for(var h=0;ht[0]?1:-1});u=i[a]({componentsLog:u,ttai:o});var g=r[a]({VCParts:n,componentsLog:u,entries:v,totalPainted:c});return{VC:g.VC,VCBox:g.VCBox,VCEntries:v.reduce(function(e,t,n){var r,i,o=(0,eO.Z)(t,2),a=o[0],s=o[1]+((null===(r=e.abs[n-1])||void 0===r?void 0:r[1])||0),l=Math.round(s/c*1e3)/10,d=null===(i=u[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:l,elements:d}),e},{abs:[],rel:[]}),totalPainted:c}})}},{key:"applyChangesToHeatMap",value:function(e,t,n){for(var r=e.l,i=e.t,o=e.r,a=e.b,s=n.length,l=i;l0}).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,l=-1,c=null===(r=window.__SSR_PLACEHOLDERS_DIMENSIONS__)||void 0===r?void 0:r[e.dataset.ssrPlaceholder];c&&(o=c.width,a=c.height,s=c.x,l=c.y),t.staticPlaceholders.set(e.dataset.ssrPlaceholder,{width:o,height:a,x:s,y:l}),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,l=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:l})}),this.selectorConfig=te(te({},this.selectorConfig),t.selectorConfig),this.intersectionObserver=this.getIntersectionObserver(),this.mutationObserver=this.getMutationObserver(),this.ssrPlaceholderHandler=new e8},[{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:tt.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=tt.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===tt.waitingForFirstRender&&t.timestamp>e.ssr.renderStart&&t.target===e.ssr.reactRootElement&&(e.ssr.state=tt.ignoring,-1===e.ssr.renderStop&&(e.ssr.renderStop=t.timestamp+500),n="ssr-hydration"),e.ssr.state===tt.ignoring&&t.timestamp>e.ssr.renderStart&&t.target===e.ssr.reactRootElement&&(t.timestamp<=e.ssr.renderStop?n="ssr-hydration":e.ssr.state=tt.normal),"childList"===t.type)t.addedNodes.forEach(function(r){if(e7(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&&(e6(t)&&(n="non-visual-style"),e7(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 l=r||[i,o,a].join(""),c="";if(""===l&&""===s){var u=e.parentElement?this.getElementName(e.parentElement):"unknown";c="".concat(u," > ").concat(t)}else c=[t,l||s].join("");return c}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)}}]),tr=["__debug__element"];function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function to(e){for(var t=1;ti&&(M[i]=r)}),R=e.calculateVC({heatmap:b,ssr:l,componentsLog:M,viewport:k});try{r.isPostInteraction||e.VCParts.forEach(function(e){if(S){var t=R.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=R.VC[e];null!=r&&performance.measure("VC_Next".concat(e),{start:i,duration:r})}})}catch(e){}T=y?(0,H.Z)({},"".concat(h,"vc:oob"),y):{},j=performance.now();try{if(!r.isPostInteraction&&x){var U;F=S?void 0:{entries:L.rel,log:_,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},V={entries:R.VCEntries.rel,log:_,metrics:{75:R.VC["75"],80:R.VC["80"],85:R.VC["85"],90:R.VC["90"],95:R.VC["95"],98:R.VC["98"],99:R.VC["99"],tti:a,ttai:o-i},start:i,stop:o,heatmap:b,ratios:C},S?window.__vc=V:window.__vc=F,window.__vcNext=V,window.dispatchEvent(new CustomEvent("vcReady",{detail:{log:(U=_,Object.fromEntries(Object.entries(U).map(function(e){var t=(0,eO.Z)(e,2),n=t[0],r=t[1];return[Number(n),r.map(function(e){return e.__debug__element,(0,ej.Z)(e,tr)})]}))),entries:S?R.VCEntries.rel:L.rel}}))}}catch(e){}if(N=function(e){var t=e.fullPrefix,n=e.interaction,r=e.isVCClean,i=e.isEventAborted,o=e.multiHeatmap,a=e.ssr,s=e.calculatedVC,l=e.calculatedVCNext,c=e.experienceKey;if(!((0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")?eC("fy25.03",c):eC("fy25.03"))&&!(0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience"))return o?(0,H.Z)({},"".concat(t,"vc:rev"),null==o?void 0:o.getPayloadShapedData({VCParts:e1.map(function(e){return parseInt(e)}),VCCalculationMethods:eQ().map(function(e){return e.classifier.VCCalculationMethod}),filterComponentsLog:eQ().map(function(e){return e.classifier.filterComponentsLog}),isEventAborted:i,interactionStart:n.start,ttai:n.end,ssr:a,clean:r})):null;var u=eB(n.start,n.end),d=r&&!i&&"visible"===u;if((0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")){var f=[];return eC("fy25.01",c)&&f.push({revision:"fy25.01",clean:r,"metric:vc90":d?s.VC["90"]:null,vcDetails:e5(s,d)}),eC("fy25.02",c)&&f.push({revision:"fy25.02",clean:r,"metric:vc90":d?l.VC["90"]:null,vcDetails:e5(l,d)}),(0,H.Z)({},"".concat(t,"vc:rev"),f)}var h={revision:"fy25.02",clean:r,"metric:vc90":d?l.VC["90"]:null,vcDetails:e5(l,d)};if(!eC("fy25.01"))return(0,H.Z)({},"".concat(t,"vc:rev"),[h]);var p={revision:"fy25.01",clean:r,"metric:vc90":d?s.VC["90"]:null,vcDetails:e5(s,d)};return(0,H.Z)({},"".concat(t,"vc:rev"),[p,h])}({fullPrefix:h,interaction:{start:i,end:o},isVCClean:z=!g,multiHeatmap:E,ssr:l,calculatedVC:{VC:A,VCBox:P},calculatedVCNext:{VC:R.VC,VCBox:R.VCBox},isEventAborted:u,experienceKey:d}),B=(0,H.Z)((0,H.Z)({},"ufo:speedIndex",S?R.VCEntries.speedIndex:L.speedIndex),"ufo:next:speedIndex",R.VCEntries.speedIndex),!S){t.next=32;break}return t.abrupt("return",to(to(to((0,H.Z)((0,H.Z)((0,H.Z)({},"".concat(h,"vc:size"),k),"".concat(h,"vc:time"),Math.round(w+(j-f))),"".concat(h,"vc:ratios"),C),T),{},(0,H.Z)({},"".concat(h,"vc:ignored"),r.getIgnoredElements(_)),N),B));case 32:return Z=(0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")?eC("fy25.03",d):eC("fy25.03"),t.abrupt("return",to(to(to((0,H.Z)((0,H.Z)((0,H.Z)((0,H.Z)((0,H.Z)((0,H.Z)((0,H.Z)((0,H.Z)({"metrics:vc":A},"".concat(h,"vc:state"),!0),"".concat(h,"vc:clean"),z),"".concat(h,"vc:dom"),P),"".concat(h,"vc:updates"),Z?void 0:L.rel.slice(0,50)),"".concat(h,"vc:size"),k),"".concat(h,"vc:time"),Math.round(w+(j-f))),"".concat(h,"vc:total"),D),"".concat(h,"vc:ratios"),C),T),{},(0,H.Z)((0,H.Z)((0,H.Z)((0,H.Z)({},"".concat(h,"vc:next"),R.VC),"".concat(h,"vc:next:updates"),Z?void 0:R.VCEntries.rel.slice(0,50)),"".concat(h,"vc:next:dom"),R.VCBox),"".concat(h,"vc:ignored"),r.getIgnoredElements(_)),N),B));case 34:case"end":return t.stop()}},t)})),function(e){return n.apply(this,arguments)})),(0,H.Z)(this,"handleUpdate",function(e,t,n,i,o,a,s,l,c){r.measureStart(),r.legacyHandleUpdate(e,t,n,i,o,a,s,l,c);var u=!eC("fy25.03");if((0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")){var d=nf();u=!eC("fy25.03",null==d?void 0:d.ufoName)}u&&r.onViewportChangeDetected({timestamp:e,intersectionRect:t,targetName:n,element:i,type:o,ignoreReason:a,attributeName:s,oldValue:l,newValue:c}),r.measureStop()}),(0,H.Z)(this,"legacyHandleUpdate",function(e,t,n,i,o,a,s,l,c){if(null===r.abortReason.reason||!1===r.abortReason.blocking){var u=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,u,r.heatmapNext);var f=!eC("fy25.01");if((0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")){var h=nf();f=!eC("fy25.01",null==h?void 0:h.ufoName)}f||a&&"not-visible"!==a||"attr"===o||r.applyChangesToHeatMap(d,u,r.heatmap),r.componentsLog[u]||(r.componentsLog[u]=[]),r.componentsLog[u].push({__debug__element:r.devToolsEnabled?new WeakRef(i):null,type:o,intersectionRect:t,targetName:n,ignoreReason:a,attributeName:s,oldValue:l,newValue:c})}}),(0,H.Z)(this,"onViewportChangeDetected",function(e){var t=e.element,n=e.type,i=e.ignoreReason,o=e.timestamp,a=e.targetName,s=e.intersectionRect,l=e.attributeName,c=e.oldValue,u=e.newValue;if(null!==r.multiHeatmap){var d=Math.round(o-r.startTime),f=eQ().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(ta.error,e.time,e.error)},attributeName:l,oldValue:c,newValue:u})}}),(0,H.Z)(this,"mapPixelsToHeatmap",function(e,t,n,i){var o=r.viewport,a=o.w,s=o.h,l=Math.floor(e/a*r.arraySize),c=Math.floor(t/s*r.arraySize),u=Math.ceil((e+n)/a*r.arraySize),d=Math.ceil((t+i)/s*r.arraySize);if(""===r.outOfBoundaryInfo){var f="";u>r.arraySize&&(f+=" r ".concat(u," ! ").concat(e," ").concat(n)),d>r.arraySize&&(f+=" r ".concat(u," ! ").concat(t," ").concat(i)),r.outOfBoundaryInfo=f}return{l:Math.max(0,l),t:Math.max(0,c),r:Math.min(r.arraySize,u),b:Math.min(r.arraySize,d)}}),(0,H.Z)(this,"getElementRatio",function(e){return(e.r-e.l)*(e.b-e.t)/(r.arraySize*r.arraySize)}),(0,H.Z)(this,"abortReasonCallback",function(e,t){switch(e){case"wheel":r.setAbortReason(ta.scroll,t);break;case"keydown":r.setAbortReason(ta.keypress,t);break;case"resize":r.setAbortReason(ta.resize,t)}}),(0,H.Z)(this,"attachAbortListeners",function(){r.detachAbortListeners();var e,t,n,i,o,a,s=(e=window,t=r.viewport,n=r.abortReasonCallback,[(0,eF.ak)(e,{type:eV.wheel,listener:function(e){n(eV.wheel,e.timeStamp)},options:{passive:!0,once:!0}}),(0,eF.ak)(e,{type:eV.keydown,listener:function(e){n(eV.keydown,e.timeStamp)},options:{once:!0}}),i=(0,eF.ak)(e,{type:eV.resize,listener:function(e){(ez()!==t.w||eN()!==t.h)&&(n(eV.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,eO.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 tn({selectorConfig:t.selectorConfig||{id:!1,testId:!1,role:!1,className:!0,dataVC:!0}}),this.heatmap=eC("fy25.01")?this.getCleanHeatmap():[],this.heatmapNext=this.getCleanHeatmap(),this.multiHeatmap=new e3({viewport:this.viewport,revisions:eQ(),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!==ta.scroll,this.abortReason.blocking&&this.detachAbortListeners())}},{key:"resetState",value:function(){this.abortReason={reason:null,info:"",timestamp:-1,blocking:!1},this.detachAbortListeners(),this.heatmap=eC("fy25.01")?this.getCleanHeatmap():[],this.heatmapNext=this.getCleanHeatmap(),this.multiHeatmap=new e3({viewport:this.viewport,revisions:eQ(),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=ez(),this.viewport.h=eN()}},{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]/l+t;r=(Math.round(n[1]/l*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]=eP(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,c=(0,eO.Z)(t,2),u=c[0],d=c[1]+((null===(r=e.abs[n-1])||void 0===r?void 0:r[1])||0),f=Math.round(d/l*1e3)/10,h=eP(new Set(null===(i=o[u])||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*u;return e.speedIndex+=p,e.abs.push([u,d]),e.rel.push({time:u,vc:f,elements:h}),e},{abs:[],rel:[],speedIndex:0});return p.speedIndex=Math.round(p.speedIndex),{VC:f,VCBox:h,VCEntries:p,totalPainted:l}}},{key:"makeVCReturnObj",value:function(){var t={};return e.VCParts.forEach(function(e){t[e]=null}),t}}])}();function tl(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 tc(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:performance.now();t.ufoName&&(t.end=n,td(e,t),tu.length=0)}var th=new((0,eR.Z)(function e(){(0,eM.Z)(this,e),(0,H.Z)(this,"vcObserver",null)},[{key:"initialize",value:function(e){return null===this.vcObserver&&(this.vcObserver=new ts(tc(tc({},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})}}])),tp=new Map,tv=new Map,tg=(0,eR.Z)(function e(){(0,eM.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){}}]),tm=(0,eR.Z)(function e(){(0,eM.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()}}]),tb=new WeakMap,ty=function e(t,n){if(!(n instanceof HTMLElement))return"error";var r=tb.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"):"",l=t.id&&n.id?"#".concat(o(n.id)):"",c=t.testId?a("data-testid")||a("data-test-id"):"",u=t.role?a("role"):"",d=Array.from(n.classList).map(o).join("."),f=t.className&&d?".".concat(d):"",h=[l,c,u].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 tb.set(n,g),g};function tw(){return(tw=(0,eT.Z)(eD().mark(function e(){var t,n;return eD().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 t_=function(){return tw.apply(this,arguments)},tk=(0,eR.Z)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,eM.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,ek.fg)("platform_ufo_use_offscreen_canvas")&&(this.ctx.imageSmoothingEnabled=!1),this.clear()},[{key:"createCanvas",value:function(e,t){if("undefined"!=typeof OffscreenCanvas&&(0,ek.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 tx(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,eT.Z)(eD().mark(function e(){var t,n,r,i,o,a,s,l;return eD().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 tC.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 tC(){return(tC=(0,eT.Z)(eD().mark(function e(t,n,r){var i,o,a,s;return eD().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 tS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=l[u];)a["".concat(l[u])]={t:Math.round(Number(p-i)),e:Array.from(d)},u++,m=!0;if(m&&d.clear(),u>=l.length)break}}catch(e){f.e(e)}finally{f.f()}for(var b={t:0,e:[]},y=0;y1?(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=tD(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,eT.Z)(eD().mark(function e(t){var n,r,i,o,a,s,l,c,u,d,f,h,p,v,g,m;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n=y.left&&b.right<=y.right&&b.top>=y.top&&b.bottom<=y.bottom))){e.next=23;break}return g.previousEntries.push(tP(tP({},c),{},{source:"mutation:parent-mounted"})),e.abrupt("continue",25);case 23:g.head=tP(tP({},c),{},{source:c.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,t_();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,eT.Z)(eD().mark(function e(t,n){var r,i,o,a,s,l,c,u,d,f,h,p,v,g,m,b,y,w,_,k,x,C,E,S;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=eP(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,t_();case 17:s++,e.next=5;break;case 20:p=eP(a.keys()).sort(function(e,t){return e-t}),v=0,g={},m=new Set,b=0;case 25:if(!(b0&&x>=r[0])){e.next=45;break}if(E=r.shift(),S=eP(m),E){e.next=41;break}return e.abrupt("break",45);case 41:C=!0,g[E.toString()]={t:Math.round(y-n),e:S},e.next=36;break;case 45:if(C&&m.clear(),b%500!=0){e.next=49;break}return e.next=49,t_();case 49:b++,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,eT.Z)(eD().mark(function e(t){var n,r,i,o,a,s;return eD().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 tM({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 tT(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&&(c+=h-f)}return c}(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 tV(){return(tV=(0,eT.Z)(eD().mark(function e(t){var n,r,i,o,a,s,l,c,u,d,f,h,p,v,g,m,b,y,w,_;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.orderedEntries,r=t.viewport,i=t.percentiles,o=t.startTime,a=eP(i).sort(function(e,t){return e-t}),s=r.width*r.height,l={},c=n.filter(function(e){return tI(e.data)}).map(function(e){return e.data.rect}),u=function(e){var t=c.indexOf(e);-1!==t&&c.splice(t,1)},d=new Set,f=0;case 8:if(!(f0&&b>=a[0])){e.next=29;break}if(w=a.shift(),_=eP(d),w){e.next=25;break}return e.abrupt("break",29);case 25:y=!0,l[w.toString()]={t:Math.round(h.time-o),e:_},e.next=20;break;case 29:if(y&&d.clear(),f%500!=0){e.next=33;break}return e.next=33,t_();case 33:f++,e.next=8;break;case 36:return e.abrupt("return",l);case 37:case"end":return e.stop()}},e)}))).apply(this,arguments)}function tz(){return(tz=(0,eT.Z)(eD().mark(function e(t){var n,r,i,o;return eD().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 tO.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 tV.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 tN=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)},tH=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)},tB=(0,eR.Z)(function e(t){(0,eM.Z)(this,e),this.revisionNo=t},[{key:"calculate",value:(v=(0,eT.Z)(eD().mark(function e(t){var n,r,i,o,a,s,l,c,u,d=this;return eD().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,ek.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 tz.apply(this,arguments)}({viewport:{width:tH(),height:tN()},startTime:n,stopTime:r,orderedEntries:i,percentiles:[25,50,75,80,85,90,95,98,99]});case 13:return l=e.sent,e.abrupt("return",{revision:this.revisionNo,clean:!0,"metric:vc90":null!==(c=null==l||null===(u=l["90"])||void 0===u?void 0:u.t)&&void 0!==c?c:null,vcDetails:null!=l?l:void 0});case 15:case"end":return e.stop()}},e,this)})),function(e){return v.apply(this,arguments)})}]);function tZ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tZ=function(){return!!e})()}var tU=["wheel","scroll","keydown","resize"],tW=["mutation:child-element","mutation:element","mutation:attribute","layout-shift","window:event"],tK=["data-drop-target-for-element","draggable"],tG=function(e){function t(){var e,n;return(0,eM.Z)(this,t),e=t,n=["fy25.03"],e=(0,eU.Z)(e),(0,eZ.Z)(this,tZ()?Reflect.construct(e,n||[],(0,eU.Z)(this).constructor):e.apply(this,n))}return(0,eW.Z)(t,e),(0,eR.Z)(t,[{key:"isEntryIncluded",value:function(e){if(!tW.includes(e.type))return!1;if("mutation:attribute"===e.type){var t=e.data.attributeName;return!(!t||tK.includes(t))}return!tI(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}}}])}(tB);function t$(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(l.s();!(i=l.n()).done;){var c,u,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!==(c=d.addedNodes)&&void 0!==c?c:[]).forEach(function(e){e instanceof HTMLElement&&o.push(new WeakRef(e))}),(null!==(u=d.removedNodes)&&void 0!==u?u:[]).forEach(function(e){e instanceof HTMLElement&&a.push(new WeakRef(e))})),s.push(d.target)}}}catch(e){l.e(e)}finally{l.f()}n({addedNodes:o,removedNodes:a}),null==r||r({targets:s})}):null};function tJ(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:tY(t.currentRect),previousRect:tY(t.previousRect),node:t.node}),e},[]);t({time:i.startTime,changedRects:o})}}}catch(e){r.e(e)}finally{r.f()}}):null};function tQ(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 l=s({target:e.target,rect:e.intersectionRect});l?"string"==typeof l?n=l:(n=l.type,a=l.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=tq({onChildListMutation:this.handleChildListMutation,onAttributeMutation:this.handleAttributeMutation}),this.performanceObserver=tX({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)}}]),t1=(0,eR.Z)(function e(t){(0,eM.Z)(this,e),(0,H.Z)(this,"unbindFns",[]),this.onEvent=t.onEvent},[{key:"bindEvent",value:function(e){var t=this,n=(0,eF.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=[]}}]),t2={id:!1,testId:!0,role:!1,className:!1,dataVC:!0},t5=(0,eR.Z)(function e(t){var n,r=this;(0,eM.Z)(this,e),(0,H.Z)(this,"viewportObserver",null),(0,H.Z)(this,"windowEventObserver",null),this.entriesTimeline=new tm,this.selectorConfig=null!==(n=t.selectorConfig)&&void 0!==n?n:t2,this.viewportObserver=new t0({onChange:function(e){var t=e.time,n=e.type,i=e.elementRef,o=e.visible,a=e.rect,s=e.previousRect,l=e.mutationData,c="unknown",u=i.deref();u&&(c=r.getElementName(u)),r.entriesTimeline.push({time:t,type:n,data:{elementName:c,rect:a,previousRect:s,visible:o,attributeName:null==l?void 0:l.attributeName}})}}),this.windowEventObserver=new t1({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,eT.Z)(eD().mark(function e(t){var n,r,i,o,a,s;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.start,r=t.stop,i=[],o=new tG,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 ty(this.selectorConfig,e)}}]),t3=n(83454);function t4(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 t7(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};(0,eM.Z)(this,e),this.newVCObserver=null,(0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")?(this.oldVCObserver=null,eC("fy25.03")&&(this.newVCObserver=new t5({selectorConfig:t.selectorConfig})),(eC("fy25.01")||eC("fy25.02"))&&(this.oldVCObserver=new ts(t))):(eC("fy25.03")&&(this.newVCObserver=new t5({selectorConfig:t.selectorConfig})),this.oldVCObserver=new ts(t))},[{key:"start",value:function(e){var t,n,r,i,o=e.startTime,a=e.experienceKey;(0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")?((eC("fy25.01",a)||eC("fy25.02",a))&&(null===(t=this.oldVCObserver)||void 0===t||t.start({startTime:o})),eC("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,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")?((eC("fy25.01",e)||eC("fy25.02",e))&&(null===(t=this.oldVCObserver)||void 0===t||t.stop()),eC("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,eT.Z)(eD().mark(function e(t){var n,r,i,o,a,s,l,c,u,d,f;return eD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,ek.fg)("platform_ufo_vc_enable_revisions_by_experience")){e.next=23;break}if(!(eC("fy25.01",o=t.experienceKey)||eC("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,!eC("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",t7(t7({},a),{},{"ufo:vc:rev":[].concat(eP(null!==(i=null==a?void 0:a["ufo:vc:rev"])&&void 0!==i?i:[]),eP(null!=s?s:[]))}));case 23:return e.next=25,null===(l=this.oldVCObserver)||void 0===l?void 0:l.getVCResult(t);case 25:return d=e.sent,e.next=28,null===(c=this.newVCObserver)||void 0===c?void 0:c.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",t7(t7({},null!=d?d:{}),{},{"ufo:vc:rev":[].concat(eP(null!==(u=null==d?void 0:d["ufo:vc:rev"])&&void 0!==u?u:[]),eP(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())}}]),t8=!!(null==globalThis?void 0:globalThis.__SERVER__),t9=void 0!==t3&&!!(null===(I=t3)||void 0===t3||null===(I=I.env)||void 0===I?void 0:I.REACT_SSR);function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!globalThis.__vcObserver){var t=!(!t9&&!t8&&"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 tg:new t6(e)}return globalThis.__vcObserver}var nt=new Map;function nn(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 nr(e){for(var t=1;t0}},{key:"sendPostInteractionLog",value:(b=(0,eT.Z)(eD().mark(function e(){var t,n,r,i,o,a;return eD().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=O)&&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(nr(nr({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=O)&&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 b.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,l=e.routeName,c=e.type,u=e.experimentalTTAI,d=e.experimentalVC90,f=e.errors;this.lastInteractionFinish={ufoName:n,start:r,end:i,id:o,abortReason:a,abortedByInteractionName:s,routeName:l,type:c,experimentalTTAI:u,experimentalVC90:d,errors:f};var h=(null==O?void 0:O.timeWindowForLateMutationsInMilliseconds)||3e3;this.sinkTimeoutId=window.setTimeout((0,eT.Z)(eD().mark(function e(){return eD().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 no(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 na(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)?na(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 na(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(tv)),eE.context=null,!function(e){e.cleanupCallbacks.reverse().forEach(function(e){e()})}(t),null!==(i=O)&&void 0!==i&&null!==(i=i.vc)&&void 0!==i&&i.stopVCAtInteractionFinish&&(t.vc=ne().getVCRawData()),null!==(o=O)&&void 0!==o&&null!==(o=o.experimentalInteractionMetrics)&&void 0!==o&&o.enabled||np(e),ns.name=t.ufoName||"unknown",ns.isAborted=null!=t.abortReason,t.ufoName&&nv(e,t),(null==O?void 0:O.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,l=null!==(o=r.get(t))&&void 0!==o?o:{labelStack:e.labelStack};l.start=e.startTime<(null!==(a=l.start)&&void 0!==a?a:Number.MAX_SAFE_INTEGER)?e.startTime:l.start,l.end=e.commitTime>(null!==(s=l.end)&&void 0!==s?s:Number.MIN_SAFE_INTEGER)?e.commitTime:l.end,r.set(t,l)}});try{var i,o,a,s=no(r.entries());try{for(s.s();!(a=s.n()).done;){var l=(0,eO.Z)(a.value,2)[1],c=l.labelStack,u=l.start,d=l.end;performance.measure("\uD83D\uDEF8 ".concat(nh(c)," [segment_ttai]"),{start:u,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 nm(e){e.cancelCallbacks.reverse().forEach(function(e){e()})}function nb(e,t){var n,r=nt.get(e);null!=r&&(nm(r),r.abortReason=t,ng(e,r),null!==(n=O)&&void 0!==n&&null!==(n=n.experimentalInteractionMetrics)&&void 0!==n&&n.enabled&&(tf(e,r),np(e)))}var ny={current:null},nw=function(e,t){var n=function(e,t){try{if(!O)return 0;var n=O.killswitch,r=O.rates,i=O.rules,o=O.kind,a=O.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=O)&&void 0!==s&&null!==(s=s.postInteractionLog)&&void 0!==s&&s.enabled&&nl.reset();var u=r,d=6e4,f=setTimeout(function(){nb(e,"timeout")},6e4),h=e_(function(e){try{if(!O)return 0;var t=O.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:ns.name,isPreviousInteractionAborted:!0===ns.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(tp),during:{}}:void 0,knownSegments:[],cleanupCallbacks:[],awaitReactProfilerCount:0,redirects:[],timerID:f,changeTimeout:function(t){var n=performance.now();if(!(d-(n-u)"object"==typeof e&&null!=e&&1===e.nodeType,nA=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,nP=(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,nD=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var nM=(e,t)=>{var n,r,i,o,a,s;if("undefined"==typeof document)return[];let{scrollMode:l,block:c,inline:u,boundary:d,skipOverflowHiddenElements:f}=t,h="function"==typeof d?d:e=>e!==d;if(!nI(e))throw TypeError("Invalid target");let p=document.scrollingElement||document.documentElement,v=[],g=e;for(;nI(g)&&h(g);){if((g=nD(g))===p){v.push(g);break}null!=g&&g===document.body&&nP(g)&&!nP(document.documentElement)||null!=g&&nP(g,f)&&v.push(g)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,b=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,y=null!=(a=window.scrollX)?a:pageXOffset,w=null!=(s=window.scrollY)?s:pageYOffset,{height:_,width:k,top:x,right:C,bottom:E,left:S}=e.getBoundingClientRect(),O="start"===c||"nearest"===c?x:"end"===c?E:x+_/2,I="center"===u?S+k/2:"end"===u?C:S,A=[];for(let e=0;e=0&&S>=0&&E<=b&&C<=m&&x>=i&&E<=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),P=parseInt(d.borderBottomWidth,10),L=0,D=0,M="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-g:0,R="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-P:0,T="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,j="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)L="start"===c?O:"end"===c?O-b:"nearest"===c?nL(w,w+b,b,h,P,w+O,w+O+_,_):O-b/2,D="start"===u?I:"center"===u?I-m/2:"end"===u?I-m:nL(y,y+m,m,f,g,y+I,y+I+k,k),L=Math.max(0,L+w),D=Math.max(0,D+y);else{L="start"===c?O-i-h:"end"===c?O-a+P+R:"nearest"===c?nL(i,a,n,h,P+R,O,O+_,_):O-(i+n/2)+R/2,D="start"===u?I-s-f:"center"===u?I-(s+r/2)+M/2:"end"===u?I-o+g+M:nL(s,o,r,f,g+M,I,I+k,k);let{scrollLeft:e,scrollTop:l}=t;L=Math.max(0,Math.min(l+L/j,t.scrollHeight-n/j+R)),D=Math.max(0,Math.min(e+D/T,t.scrollWidth-r/T+M)),O+=l-L,I+=e-D}A.push({el:t,top:L,left:D})}return A},nR=n(97582),nT=0;function nj(e){return"function"==typeof e?e:nF}function nF(){}function nV(e,t){e&&nM(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})}function nz(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function nN(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=Array(i),a=0;a1?n-1:0),i=1;i=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function nY(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=nX(e,a,n,r,i);return -1===s?t>=n?-1:t:s}function nX(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?nX(1,0,n,r,!1):nX(-1,n-1,n,r,!1):-1}function nQ(e,t,n,r){return void 0===r&&(r=!0),t.some(function(t){return t&&(nz(t,e,n)||r&&nz(t,n.document.activeElement,n))})}var n0=nN(function(e){n2(e).textContent=""},500);function n1(e,t){var n=n2(t);e&&(n.textContent=e,n0(t))}function n2(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 n5=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}),n3=["refKey","ref"],n4=["onClick","onPress","onKeyDown","onKeyUp","onBlur"],n7=["onKeyDown","onBlur","onChange","onInput","onChangeText"],n6=["refKey","ref"],n8=["onMouseMove","onMouseDown","onClick","onPress","index","item"],n9=((y=function(e){function t(t){(n=e.call(this,t)||this).id=n.props.id||"downshift-"+nZ(),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=nG(t),n.internalSetState(nx({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=nG(t),n.internalSetState(nx({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,nx({},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 l={};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],nq(n.props,e)||(l[e]=s[e]))}),a&&s.hasOwnProperty("inputValue")&&n.props.onInputValueChange(s.inputValue,nx({},n.getStateAndHelpers(),s)),l},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,l=nk(i,n3),c=(void 0===t?{}:t).suppressRefError;n.getRootProps.called=!0,n.getRootProps.refKey=a,n.getRootProps.suppressRefError=void 0!==c&&c;var u=n.getState().isOpen;return nx(((r={})[a]=nB(s,n.rootRef),r.role="combobox",r["aria-expanded"]=u,r["aria-haspopup"]="listbox",r["aria-owns"]=u?n.menuId:null,r["aria-labelledby"]=n.labelId,r),l)},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=nY(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=nY(-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(nx({type:5},!this.state.isOpen&&{selectedItem:null,inputValue:""}))}},n.buttonKeyDownHandlers=nx({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:12})}}),n.inputKeyDownHandlers=nx({},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=nX(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=nX(-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=nk(t,n4),l=n.getState().isOpen,c={onClick:nH(r,n.buttonHandleClick),onKeyDown:nH(i,n.buttonHandleKeyDown),onKeyUp:nH(o,n.buttonHandleKeyUp),onBlur:nH(a,n.buttonHandleBlur)},u=s.disabled?{}:c;return nx({type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},u,s)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=nJ(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call(nC(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 nx({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,l=i.onInput;i.onChangeText;var c=nk(i,n7),u={};t="onChange";var d=n.getState(),f=d.inputValue,h=d.isOpen,p=d.highlightedIndex;return c.disabled||((r={})[t]=nH(s,l,n.inputHandleChange),r.onKeyDown=nH(o,n.inputHandleKeyDown),r.onBlur=nH(a,n.inputHandleBlur),u=r),nx({"aria-autocomplete":"list","aria-activedescendant":h&&"number"==typeof p&&p>=0?n.getItemId(p):null,"aria-controls":h?n.menuId:null,"aria-labelledby":c&&c["aria-label"]?void 0:n.labelId,autoComplete:"off",value:f,id:n.inputId},u,c)},n.inputHandleKeyDown=function(e){var t=nJ(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call(nC(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,l=nk(i,n6),c=(void 0===t?{}:t).suppressRefError;return n.getMenuProps.called=!0,n.getMenuProps.refKey=a,n.getMenuProps.suppressRefError=void 0!==c&&c,nx(((r={})[a]=nB(s,n.menuRef),r.role="listbox",r["aria-labelledby"]=l&&l["aria-label"]?null:n.labelId,r.id=n.menuId,r),l)},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,l=r.item,c=void 0===l?void 0:l,u=nk(r,n8);void 0===s?(n.items.push(c),s=n.items.indexOf(c)):n.items[s]=c;var d=((t={onMouseMove:nH(i,function(){s!==n.getState().highlightedIndex&&(n.setHighlightedIndex(s,{type:2}),n.avoidScrolling=!0,n.internalSetTimeout(function(){return n.avoidScrolling=!1},250))}),onMouseDown:nH(o,function(e){e.preventDefault()})}).onClick=nH(a,function(){n.selectItemAtIndex(s,{type:9})}),t),f=u.disabled?{onMouseDown:d.onMouseDown}:d;return nx({id:n.getItemId(s),role:"option","aria-selected":n.getState().highlightedIndex===s},f,u)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=nG(e),n.internalSetState(function(t){var r=t.selectedItem;return nx({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=nG(e),n.internalSetState(function(t){var r=t.isOpen;return nx({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=nN(function(){var e=n.getState(),t=n.items[e.highlightedIndex],r=n.getItemCount(),i=n.props.getA11yStatusMessage(nx({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:r,highlightedItem:t},e));n.previousResultCount=r,n1(i,n.props.environment.document)},200);var n,r=n.props,i=r.defaultHighlightedIndex,o=r.initialHighlightedIndex,a=r.defaultIsOpen,s=r.initialIsOpen,l=r.initialInputValue,c=r.initialSelectedItem,u=n.getState({highlightedIndex:void 0===o?i:o,isOpen:void 0===s?a:s,inputValue:void 0===l?"":l,selectedItem:void 0===c?null:c});return null!=u.selectedItem&&void 0===n.props.initialInputValue&&(u.inputValue=n.props.itemToString(u.selectedItem)),n.state=u,n}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,nE(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),n$(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=nY(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,l=this.getToggleButtonProps,c=this.getLabelProps,u=this.getMenuProps,d=this.getInputProps,f=this.getItemProps,h=this.openMenu,p=this.closeMenu,v=this.toggleMenu,g=this.selectItem,m=this.selectItemAtIndex,b=this.selectHighlightedItem,y=this.setHighlightedIndex,w=this.clearSelection,_=this.clearItems;return{getRootProps:s,getToggleButtonProps:l,getLabelProps:c,getMenuProps:u,getInputProps:d,getItemProps:f,reset:this.reset,openMenu:h,closeMenu:p,toggleMenu:v,selectItem:g,selectItemAtIndex:m,selectHighlightedItem:b,setHighlightedIndex:y,clearSelection:w,clearItems:_,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,!nQ(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=nQ(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){nq(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=nW(this.props.children,nF);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=nW(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:"string"==typeof t.type?(0,N.cloneElement)(t,this.getRootProps(t.props)):void 0:null},t}(N.Component)).defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:nU,itemToString:function(e){return null==e?"":String(e)},onStateChange:nF,onInputValueChange:nF,onUserAction:nF,onChange:nF,onSelect:nF,onOuterClick:nF,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?{}:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:nV},y.stateChangeTypes=n5,y),re=["isInitialMount","highlightedIndex","items","environment"],rt={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},rn=nN(function(e,t){n1(e(),t)},200),rr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?N.useLayoutEffect:N.useEffect;function ri(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}var ro={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:nV,environment:"undefined"==typeof window?{}:window};function ra(e,t,n){void 0===n&&(n=rt);var r=e["default"+ri(t)];return void 0!==r?r:n[t]}function rs(e,t,n){void 0===n&&(n=rt);var r=e[t];if(void 0!==r)return r;var i=e["initial"+ri(t)];return void 0!==i?i:ra(e,t,n)}function rl(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 rc(e,t,n){void 0===n&&(n=!0);var r,i=(null==(r=e.items)?void 0:r.length)&&t>=0;return nx({isOpen:!1,highlightedIndex:-1},i&&nx({selectedItem:e.items[t],isOpen:ra(e,"isOpen"),highlightedIndex:ra(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:rl(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:rl(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:ra(o,"highlightedIndex"),isOpen:ra(o,"isOpen"),selectedItem:ra(o,"selectedItem"),inputValue:ra(o,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return nx({},e,r)}nO().array.isRequired,nO().func,nO().func,nO().func,nO().number,nO().number,nO().number,nO().bool,nO().bool,nO().bool,nO().any,nO().any,nO().any,nO().string,nO().string,nO().string,nO().func,nO().string,nO().func,nO().func,nO().func,nO().func,nO().func,nO().shape({addEventListener:nO().func,removeEventListener:nO().func,document:nO().shape({getElementById:nO().func,activeElement:nO().any,body:nO().any})}),(0,nR.pi)((0,nR.pi)({},ro),{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 rd=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}),rf=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});nO().array.isRequired,nO().func,nO().func,nO().func,nO().func,nO().number,nO().number,nO().number,nO().bool,nO().bool,nO().bool,nO().any,nO().any,nO().any,nO().string,nO().string,nO().string,nO().string,nO().string,nO().string,nO().func,nO().string,nO().string,nO().func,nO().func,nO().func,nO().func,nO().func,nO().func,nO().shape({addEventListener:nO().func,removeEventListener:nO().func,document:nO().shape({getElementById:nO().func,activeElement:nO().any,body:nO().any})}),nx({},ro,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:nU});var rh={activeIndex:-1,selectedItems:[]};nO().array,nO().array,nO().array,nO().func,nO().func,nO().func,nO().number,nO().number,nO().number,nO().func,nO().func,nO().string,nO().string,nO().shape({addEventListener:nO().func,removeEventListener:nO().func,document:nO().shape({getElementById:nO().func,activeElement:nO().any,body:nO().any})}),ro.itemToString,ro.stateReducer,ro.environment;var rp=n(73935);function rv(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 r_(e){var t=(0,N.useRef)(null);return function(n){n&&n!==t.current&&(t.current=n,e(n))}}var rk="undefined"!=typeof window?N.useLayoutEffect:N.useEffect;function rx(e){return parseFloat(e.replace("px",""))}function rC(e,t,n){return en?n:e}function rE(){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-b:0;f[n.prop]=rC(b+e+y,p,v),f[n.opposite.prop]=f[n.prop]+n.factor(o[c])}f.width=f.right-f.left,f.height=f.bottom-f.top;var w=rz.create(f);return 0===e&&(this._cachedLayerBounds=w),w},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=rT.mergeSmallestSides(t.layerOffsetsToScrollContainers);return e||(this._cachedContainerOffsets=n),n},rg(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[rD[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}(),rH=function(e){function t(){return e.apply(this,arguments)||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,rb(t,e),t.prototype.getLayerBounds=function(){var e=this.subjectsBounds,t=e.trigger,n=e.layer,r=rz.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}(rN),rB={position:"absolute",willChange:"top, left",left:null,right:null,top:null,bottom:null},rZ=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=rD[r];return t="center"===i?rM.center:o.isHorizontal?"start"===i?rM.top:rM.bottom:"start"===i?rM.left:rM.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],l=rD[a.isHorizontal?n.preferY:n.preferX],c=!a.isHorizontal&&t.triggerHasBiggerWidth||a.isHorizontal&&t.triggerHasBiggerHeight;function u(e,i){return new rN(e,i,t,n.layerDimensions,r)}var d=[];return d[0]=u(a,s),d[1]=u(a,s.isCenter?l:rM.center),d[2]=u(a,rM[(s.opposite.isCenter?l.opposite:s.opposite).prop]),d[3]=u(l,c?a:rM[a.opposite.prop]),d[4]=u(l,rM.center),d[5]=u(l,c?rM[a.opposite.prop]:a),d[6]=u(rD[l.opposite.prop],c?a:rM[a.opposite.prop]),d[7]=u(rD[l.opposite.prop],rM.center),d[8]=u(rD[l.opposite.prop],c?rM[a.opposite.prop]:a),d[9]=u(rD[a.opposite.prop],s),d[10]=u(rD[a.opposite.prop],s.isCenter?l:rM.center),d[11]=u(rD[a.opposite.prop],rM[(s.opposite.isCenter?l.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 rH(rM.center,rM.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 rH)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 l=e.getContainerOffsets(),c=e.secondary;return t=e.triggerIsBigger||a===e?s.isPush?-1:1:c===rM.left||[rM.top,rM.center].includes(c)&&s.isPush?-1:1,l[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 rB;var r,i,o,a,s,l,c,u,d,f,h=e.layer,p=e.trigger,v=e.arrow,g=t.primary.oppositeSizeProp,m=p[g]>h[g],b=n+v[g]/2,y=h[g]-v[g]/2-n,w=(r=e.layer,i=e.trigger,o=e.arrow,a=t.primary.oppositeSizeProp,l=(s=t.primary.isHorizontal?["top","bottom"]:["left","right"])[0],c=s[1],((u=r[l]+r[a]/2-i[l]-o[a]/2-n)<0?-u:0)+((d=r[c]-r[a]/2-i[c]+o[a]/2+n)>0?-d:0)),_=t.primary.prop,k=t.primary.oppositeCssProp,x=m?h[g]/2+w:p[k]+p[g]/2-h[k];return rm({},rB,((f={})[_]="100%",f[k]=rC(x,b,y),f))}(this.subjectsBounds.merge({layer:e}),t,this.config.arrowOffset),layer:this.config.overflowContainer?rm({},i,{position:"fixed",top:e.top,left:e.left}):rm({},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=rT.mergeSmallestSides(this.subjectsBounds.offsetsToScrollContainers(t,!0));return Object.entries(n.negativeSides).some(function(e){var n=e[0];return e[1]<=-t[rD[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,l){var c=rz.fromWindow(t);return new e({layer:rz.fromElement(n,{environment:t,withTransform:!1}),trigger:l?rz.create(rF(l())):rz.fromElement(r),arrow:o?rz.fromElement(o):rz.empty(),parent:i?rz.fromElement(i):c,window:c,scrollContainers:[c].concat(a.map(function(e){return rz.fromElement(e,{withScrollbars:!1})}))},s)};var t=e.prototype;return t.merge=function(t){return new e(rm({},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)})},rg(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}(),rW={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 rK(e){var t,n,r,i,o,a,s,l,c,u,d,f,h,p,v,g,m,b,y,w,_,k,x,C,E,S,O,I,A,P,L,D,M,R,T,j,F,V,z=e.isOpen,H=void 0!==z&&z,B=e.overflowContainer,Z=void 0===B?rW.overflowContainer:B,U=e.environment,W=void 0===U?"undefined"!=typeof window?window:void 0:U,K=e.ResizeObserver,G=e.placement,$=void 0===G?rW.placement:G,q=e.possiblePlacements,J=void 0===q?rW.possiblePlacements:q,Y=e.preferX,X=void 0===Y?rW.preferX:Y,Q=e.preferY,ee=void 0===Q?rW.preferY:Q,et=e.auto,en=void 0===et?rW.auto:et,er=e.snap,ei=void 0===er?rW.snap:er,eo=e.triggerOffset,ea=void 0===eo?rW.triggerOffset:eo,es=e.containerOffset,el=void 0===es?rW.containerOffset:es,ec=e.arrowOffset,eu=void 0===ec?rW.arrowOffset:ec,ed=e.container,ef=void 0===ed?rW.container:ed,eh=e.layerDimensions,ep=void 0===eh?null:eh,ev=e.onDisappear,eg=e.onOutsideClick,em=e.onParentClose,eb=e.trigger,ey=(0,N.useState)(function(){return{layerSide:"center"===$?"center":rZ.getSidesFromPlacementType($)[0].prop,styles:{layer:{position:Z?"fixed":"absolute",top:0,left:0},arrow:{position:"absolute",top:0,left:0}}}}),ew=ey[0],e_=ey[1],ek=(0,N.useRef)(null),ex=(t=(0,N.useRef)(ew),H?t.current=ew:t.current=null,t),eC=(0,N.useRef)({cancelled:!1});(0,N.useEffect)(function(){return function(){eC.current.cancelled=!0}},[]);var eE=(0,N.useCallback)(function(e,t,n){var r=e.arrow,i=e.layer,o=e.scrollContainers,a=e.trigger,s=o[0],l=rU.create(W,i,a,s,r,o,Z,null==eb?void 0:eb.getBounds),c=rZ.create(l,{placement:$,possiblePlacements:J,auto:en,layerDimensions:ep,arrowOffset:eu,containerOffset:el,triggerOffset:ea,preferX:X,preferY:ee,snap:ei,overflowContainer:Z}).result(t,n),u=c.hasDisappeared,d={layerSide:c.layerSide,styles:c.styles};if(!ex.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=rw(m.current);!(e=t()).done;)(0,e.value)();m.current=[]},addEventSubscription:function(e){m.current.push(e)}}},[])).hasEventSubscriptions,w=b.addEventSubscription,_=b.removeAllEventSubscriptions,k=(0,N.useCallback)(function(){var e=v(),t=e.layer,n=e.trigger,r=e.scrollContainers,a=r[0];if(!t)throw Error(rS("layer"));if(!n&&!d)throw Error(rS("trigger"));var s={top:0,left:0};if(a){var l=a.scrollLeft;s={top:a.scrollTop,left:l}}else{var c=o.scrollX;s={top:o.scrollY,left:c}}var f={left:0,top:0};if(a){var h=o.getComputedStyle(a),p=h.borderLeftWidth,g=h.borderTopWidth;f={left:rx(p)||0,top:rx(g)||0}}i({layer:t,trigger:n,scrollContainers:r,arrow:u.current},s,f)},[v,i,o,u,d]),x=(0,N.useCallback)(function(){var e=v(),t=e.trigger,n=e.layer,r=e.scrollContainers;if(!n)throw Error(rS("layer"));if(!t&&!d)throw Error(rS("trigger"));if(c){for(var i=!1,a=new c(function(){if(!i){i=!0;return}k()}),s=0,l=[t,n,document.body];s0},e.prototype.connect_=function(){rq&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),rQ?(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(){rq&&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;rX.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}(),r1=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),it="undefined"!=typeof WeakMap?new WeakMap:new r$,ir=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 ie(t,r0.getInstance(),this);it.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){ir.prototype[e]=function(){var t;return(t=it.get(this))[e].apply(t,arguments)}});var ii=void 0!==rJ.ResizeObserver?rJ.ResizeObserver:ir,io=n(53627),ia=n(46880),is=n(83706);function il(e,t=0){let n=performance.now(),r={};return!function i(){r.id=requestAnimationFrame(r=>{r-n>t?e():i()})}(),r}function ic(e){e.id&&cancelAnimationFrame(e.id)}function iu(e,t){let[n,r]=(0,N.useState)(e?"enter":"from"),i=(0,N.useRef)({}),[o,a]=(0,N.useState)(e);return(0,N.useEffect)(function(){return ic(i.current),e?(r("from"),a(!0),il(()=>{r("enter")})):(r("leave"),i.current=il(()=>{a(!1)},t)),()=>{ic(i.current)}},[e,t]),{stage:n,shouldMount:o}}n(85893);var id=n(38785),ih=n.n(id),ip=n(2769);function iv(e){return e.split("-")[0]}function ig(e){return e.split("-")[1]}function im(e){return["top","bottom"].includes(iv(e))?"x":"y"}function ib(e){return"y"===e?"height":"width"}function iy(e,t,n){let r,{reference:i,floating:o}=e,a=i.x+i.width/2-o.width/2,s=i.y+i.height/2-o.height/2,l=im(t),c=ib(l),u=i[c]/2-o[c]/2,d="x"===l;switch(iv(t)){case"top":r={x:a,y:i.y-o.height};break;case"bottom":r={x:a,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:s};break;case"left":r={x:i.x-o.width,y:s};break;default:r={x:i.x,y:i.y}}switch(ig(t)){case"start":r[l]-=u*(n&&d?-1:1);break;case"end":r[l]+=u*(n&&d?-1:1)}return r}let iw=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await (null==a.isRTL?void 0:a.isRTL(t)),l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=iy(l,r,s),d=r,f={};for(let n=0;niE[e])}let iO={start:"end",end:"start"};function iI(e){return e.replace(/start|end/g,e=>iO[e])}function iA(e){return"x"===e?"y":"x"}function iP(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function iL(e){if(null==e)return window;if(!iP(e)){let t=e.ownerDocument;return t&&t.defaultView||window}return e}function iD(e){return iL(e).getComputedStyle(e)}function iM(e){return iP(e)?"":e?(e.nodeName||"").toLowerCase():""}function iR(e){return e instanceof iL(e).HTMLElement}function iT(e){return e instanceof iL(e).Element}function ij(e){return"undefined"!=typeof ShadowRoot&&(e instanceof iL(e).ShadowRoot||e instanceof ShadowRoot)}function iF(e){let{overflow:t,overflowX:n,overflowY:r}=iD(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function iV(e){let t=navigator.userAgent.toLowerCase().includes("firefox"),n=iD(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function iz(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}["top","right","bottom","left"].reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);let iN=Math.min,iH=Math.max,iB=Math.round;function iZ(e,t,n){var r,i,o,a;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),l=1,c=1;t&&iR(e)&&(l=e.offsetWidth>0&&iB(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&iB(s.height)/e.offsetHeight||1);let u=iT(e)?iL(e):window,d=!iz()&&n,f=(s.left+(d&&null!=(r=null==(i=u.visualViewport)?void 0:i.offsetLeft)?r:0))/l,h=(s.top+(d&&null!=(o=null==(a=u.visualViewport)?void 0:a.offsetTop)?o:0))/c,p=s.width/l,v=s.height/c;return{width:p,height:v,top:h,right:f+p,bottom:h+v,left:f,x:f,y:h}}function iU(e){return((e instanceof iL(e).Node?e.ownerDocument:e.document)||window.document).documentElement}function iW(e){return iT(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function iK(e){return iZ(iU(e)).left+iW(e).scrollLeft}function iG(e){return"html"===iM(e)?e:e.assignedSlot||e.parentNode||(ij(e)?e.host:null)||iU(e)}function i$(e){return iR(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function iq(e){let t=iL(e),n=i$(e);for(;n&&["table","td","th"].includes(iM(n))&&"static"===getComputedStyle(n).position;)n=i$(n);return n&&("html"===iM(n)||"body"===iM(n)&&"static"===getComputedStyle(n).position&&!iV(n))?t:n||function(e){let t=iG(e);for(ij(t)&&(t=t.host);iR(t)&&!["html","body"].includes(iM(t));){if(iV(t))return t;t=t.parentNode}return null}(e)||t}function iJ(e){if(iR(e))return{width:e.offsetWidth,height:e.offsetHeight};let t=iZ(e);return{width:t.width,height:t.height}}function iY(e,t){var n;void 0===t&&(t=[]);let r=function e(t){let n=iG(t);return["html","body","#document"].includes(iM(n))?t.ownerDocument.body:iR(n)&&iF(n)?n:e(n)}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=iL(r),a=i?[o].concat(o.visualViewport||[],iF(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(iY(a))}function iX(e,t,n){return"viewport"===t?i_(function(e,t){let n=iL(e),r=iU(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=iz();(e||!e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n)):iT(t)?function(e,t){let n=iZ(e,!1,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft;return{top:r,left:i,x:i,y:r,right:i+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):i_(function(e){var t;let n=iU(e),r=iW(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=iH(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=iH(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+iK(e),l=-r.scrollTop;return"rtl"===iD(i||n).direction&&(s+=iH(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(iU(e)))}let iQ={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?function(e){let t=iY(e),n=["absolute","fixed"].includes(iD(e).position)&&iR(e)?iq(e):e;return iT(n)?t.filter(e=>iT(e)&&function(e,t){let n=null==t||null==t.getRootNode?void 0:t.getRootNode();if(null!=e&&e.contains(t))return!0;if(n&&ij(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==iM(e)):[]}(t):[].concat(n),r],a=o[0],s=o.reduce((e,n)=>{let r=iX(t,n,i);return e.top=iH(r.top,e.top),e.right=iN(r.right,e.right),e.bottom=iN(r.bottom,e.bottom),e.left=iH(r.left,e.left),e},iX(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=iR(n),o=iU(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},s={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==iM(n)||iF(o))&&(a=iW(n)),iR(n))){let e=iZ(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:iT,getDimensions:iJ,getOffsetParent:iq,getDocumentElement:iU,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:function(e,t,n){let r=iR(t),i=iU(t),o=iZ(e,r&&function(e){let t=iZ(e);return iB(t.width)!==e.offsetWidth||iB(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&"fixed"!==n){if(("body"!==iM(t)||iF(i))&&(a=iW(t)),iR(t)){let e=iZ(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=iK(i))}return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}(t,iq(n),r),floating:{...iJ(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===iD(e).direction},i0=(e,t,n)=>iw(e,t,{platform:iQ,...n});var i1="undefined"!=typeof document?N.useLayoutEffect:N.useEffect;function i2(){var e=(0,j._)(["\n display: ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ","\n"]);return i2=function(){return e},e}function i5(){var e=(0,j._)(["\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 i5=function(){return e},e}function i3(){var e=(0,j._)(["\n max-width: 100%;\n width: ",";\n height: ",";\n font-size: ",";\n"]);return i3=function(){return e},e}function i4(){var e=(0,j._)(["\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 i4=function(){return e},e}function i7(){var e=(0,j._)(["\n 50% {\n transform: scale(1);\n }\n"]);return i7=function(){return e},e}function i6(){var e=(0,j._)(["\n display: inline-block;\n vertical-align: middle;\n height: ","px;\n width: ","px;\n"]);return i6=function(){return e},e}function i8(){var e=(0,j._)(["\n display: grid;\n grid-template-areas: 'stack';\n height: 100%;\n width: 100%;\n"]);return i8=function(){return e},e}function i9(){var e=(0,j._)(["\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 i9=function(){return e},e}function oe(){var e=(0,j._)(["\n ",";\n"]);return oe=function(){return e},e}function ot(){var e=(0,j._)(["\n cursor: pointer;\n "]);return ot=function(){return e},e}function on(){var e=(0,j._)(["\n ",";\n pointer-events: none;\n background-color: ",";\n color: ",";\n border: none;\n "]);return on=function(){return e},e}function or(){var e=(0,j._)(["\n display: inline-flex;\n min-width: ",";\n "]);return or=function(){return e},e}function oi(){var e=(0,j._)(["\n display: flex;\n width: 100%;\n "]);return oi=function(){return e},e}function oo(){var e=(0,j._)(["\n display: inline-flex;\n width: max-content;\n min-width: max-content;\n "]);return oo=function(){return e},e}function oa(){var e=(0,j._)(["\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 // TODO: remove hasFullWidth after deprecation period\n ",";\n ",";\n height: ",";\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 oa=function(){return e},e}function os(){var e=(0,j._)(["\n ",";\n ",";\n ",";\n"]);return os=function(){return e},e}function ol(){var e=(0,j._)(["\n max-width: 1.45em;\n max-height: 1.45em;\n height: ",";\n width: ",";\n ",";\n ",";\n"]);return ol=function(){return e},e}function oc(){var e=(0,j._)(["\n position: relative;\n display: flex;\n align-items: center;\n"]);return oc=function(){return e},e}function ou(){var e=(0,j._)(["\n ",";\n"]);return ou=function(){return e},e}function od(){var e=(0,j._)(["\n display: ",";\n vertical-align: middle;\n ",";\n ",";\n ",";\n ",";\n ",";\n"]);return od=function(){return e},e}function of(){var e=(0,j._)(["\n width: 100%;\n height: 100%;\n display: grid;\n ",";\n"]);return of=function(){return e},e}function oh(){var e=(0,j._)(["\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 oh=function(){return e},e}function op(){var e=(0,j._)(["\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 op=function(){return e},e}function ov(){var e=(0,j._)(["\n position: relative;\n width: 100%;\n"]);return ov=function(){return e},e}function og(){var e=(0,j._)(["\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 og=function(){return e},e}function om(){var e=(0,j._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return om=function(){return e},e}function ob(){var e=(0,j._)(["\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 ob=function(){return e},e}function oy(){var e=(0,j._)(["\n display: flex;\n flex-wrap: wrap;\n ",";\n ",";\n ",";\n\n & > * {\n flex-shrink: 0;\n }\n"]);return oy=function(){return e},e}function ow(){var e=(0,j._)(["\n display: grid;\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n ",";\n ",";\n ",";\n"]);return ow=function(){return e},e}function o_(){var e=(0,j._)(["\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 o_=function(){return e},e}function ok(){var e=(0,j._)(["\n display: flex;\n ",";\n\n & > * + * {\n ",";\n }\n"]);return ok=function(){return e},e}function ox(){var e=(0,j._)(["\n min-width: 0px;\n flex-shrink: 0;\n ",";\n ",";\n ",";\n"]);return ox=function(){return e},e}function oC(){var e=(0,j._)(["\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 ",";\n }\n\n &:focus::-moz-focus-inner {\n border: 0;\n }\n"]);return oC=function(){return e},e}function oE(){var e=(0,j._)(["\n display: block;\n position: relative;\n"]);return oE=function(){return e},e}function oS(){var e=(0,j._)(["\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 oS=function(){return e},e}function oO(){var e=(0,j._)(["\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 oO=function(){return e},e}function oI(){var e=(0,j._)(["\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 oI=function(){return e},e}function oA(){var e=(0,j._)(["\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 overflow: hidden;\n"]);return oA=function(){return e},e}function oP(){var e=(0,j._)(["\n flex-shrink: 0;\n"]);return oP=function(){return e},e}function oL(){var e=(0,j._)(["\n padding: ",";\n list-style: none;\n overflow: auto;\n margin: 0;\n flex: 1 1 auto;\n min-height: 0;\n"]);return oL=function(){return e},e}function oD(){var e=(0,j._)(["\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 }\n ",";\n ",";\n ",";\n\n /* Default state: show checkmark for selected items */\n .check-icon {\n display: block;\n }\n\n .deselect-icon {\n display: none;\n }\n\n /* When highlighted (mouse hover OR keyboard navigation) and allowsDeselect: swap to X */\n ","\n"]);return oD=function(){return e},e}function oM(){var e=(0,j._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return oM=function(){return e},e}function oR(){var e=(0,j._)(["\n padding: "," "," 0;\n margin-bottom: ",";\n position: sticky;\n top: 0;\n"]);return oR=function(){return e},e}function oT(){var e=(0,j._)(["\n position: relative;\n"]);return oT=function(){return e},e}function oj(){var e=(0,j._)(["\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 oj=function(){return e},e}function oF(){var e=(0,j._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return oF=function(){return e},e}function oV(){var e=(0,j._)(["\n list-style: none;\n margin: 0;\n padding: 0;\n"]);return oV=function(){return e},e}function oz(){var e=(0,j._)(["\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 oz=function(){return e},e}function oN(){var e=(0,j._)(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: calc(100vh - calc(100vh - 100%));\n height: 100dvh;\n height: -webkit-fill-available;\n background: ",";\n z-index: ",";\n overflow: hidden;\n"]);return oN=function(){return e},e}function oH(){var e=(0,j._)(["\n overflow: auto;\n height: 100%;\n"]);return oH=function(){return e},e}function oB(){var e=(0,j._)(["\n display: grid;\n grid-template-rows: ",";\n position: relative;\n"]);return oB=function(){return e},e}function oZ(){var e=(0,j._)(["\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 oZ=function(){return e},e}function oU(){var e=(0,j._)(["\n position: absolute;\n top: ",";\n right: ",";\n z-index: 1;\n"]);return oU=function(){return e},e}function oW(){var e=(0,j._)(["\n margin-left: auto;\n\n * {\n vertical-align: middle;\n }\n"]);return oW=function(){return e},e}function oK(){var e=(0,j._)(["\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 oK=function(){return e},e}function oG(){var e=(0,j._)(["\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 oG=function(){return e},e}function o$(){var e=(0,j._)(["\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 o$=function(){return e},e}function oq(){var e=(0,j._)(["\n overflow: auto;\n\n ",";\n\n & > * {\n ",";\n }\n"]);return oq=function(){return e},e}function oJ(){var e=(0,j._)(["\n cursor: pointer;\n "]);return oJ=function(){return e},e}function oY(){var e=(0,j._)(["\n pointer-events: none;\n color: ",";\n "]);return oY=function(){return e},e}function oX(){var e=(0,j._)(["\n background: none;\n border: none;\n font: inherit;\n "]);return oX=function(){return e},e}function oQ(){var e=(0,j._)(["\n white-space: nowrap;\n "]);return oQ=function(){return e},e}function o0(){var e=(0,j._)(["\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 ","\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 o0=function(){return e},e}function o1(){var e=(0,j._)(["\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 o1=function(){return e},e}function o2(){var e=(0,j._)(["\n position: relative;\n"]);return o2=function(){return e},e}function o5(){var e=(0,j._)(["\n list-style: none;\n margin: 0;\n padding: 0;\n"]);return o5=function(){return e},e}function o3(){var e=(0,j._)(["\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 o3=function(){return e},e}function o4(){var e=(0,j._)(["\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 o4=function(){return e},e}function o7(){var e=(0,j._)(["\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 id: ",";\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 o7=function(){return e},e}function o6(){var e=(0,j._)(["\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 o6=function(){return e},e}function o8(){var e=(0,j._)(["\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 o8=function(){return e},e}function o9(){var e=(0,j._)(["\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 o9=function(){return e},e}function ae(){var e=(0,j._)(["\n height: 100%;\n width: auto;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n opacity: ",";\n"]);return ae=function(){return e},e}function at(){var e=(0,j._)(["\n display: inline-block;\n vertical-align: middle;\n"]);return at=function(){return e},e}function an(){var e=(0,j._)(["\n display: block;\n position: relative;\n\n .RadioBox:after {\n background-color: transparent;\n }\n"]);return an=function(){return e},e}function ar(){var e=(0,j._)(["\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 ar=function(){return e},e}function ai(){var e=(0,j._)(["\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 ai=function(){return e},e}function ao(){var e=(0,j._)(["\n display: block;\n position: relative;\n"]);return ao=function(){return e},e}function aa(){var e=(0,j._)(["\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 aa=function(){return e},e}function as(){var e=(0,j._)(["\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 as=function(){return e},e}function al(){var e=(0,j._)(["\n ",";\n"]);return al=function(){return e},e}function ac(){var e=(0,j._)(["\n display: block;\n ",";\n ",";\n"]);return ac=function(){return e},e}function au(){var e=(0,j._)(["\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 au=function(){return e},e}function ad(){var e=(0,j._)(["\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 ad=function(){return e},e}function af(){var e=(0,j._)(["\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 af=function(){return e},e}function ah(){var e=(0,j._)(["\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 ah=function(){return e},e}function ap(){var e=(0,j._)(["\n align-self: center;\n"]);return ap=function(){return e},e}function av(){var e=(0,j._)(["\n background-color: ",";\n color: ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n z-index: 1100;\n padding: "," ",";\n z-index: ",";\n"]);return av=function(){return e},e}function ag(){var e=(0,j._)(["\n background-color: ",";\n border-radius: 3px;\n color: ",";\n ",";\n ",";\n padding-left: ",";\n padding-right: ",";\n"]);return ag=function(){return e},e}function am(){var e=(0,j._)(["\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 am=function(){return e},e}function ab(){var e=(0,j._)(["\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 ab=function(){return e},e}function ay(){var e=(0,j._)(["\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 ay=function(){return e},e}function aw(){var e=(0,j._)(["\n background-color: var(--lns-color-disabledBackground);\n ",";\n height: ",";\n width: ",";\n ","\n"]);return aw=function(){return e},e}function a_(){var e=(0,j._)(["\n display: block;\n ",";\n\n & > svg.lns-logoSvg {\n display: block;\n width: 100%;\n height: 100%;\n ",";\n }\n"]);return a_=function(){return e},e}function ak(){var e=(0,j._)(["\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 ak=function(){return e},e}function ax(){var e=(0,j._)(["\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 ax=function(){return e},e}function aC(){var e=(0,j._)(["\n .ListRowWrapper {\n &:nth-child(odd) "," {\n background-color: ",";\n }\n }\n\n .ListRowWrapper {\n ",";\n }\n "]);return aC=function(){return e},e}function aE(){var e=(0,j._)([""]);return aE=function(){return e},e}function aS(){var e=(0,j._)(["\n .ListRowWrapper {\n grid-template-columns: ",";\n ",";\n }\n\n ",";\n"]);return aS=function(){return e},e}function aO(){var e=(0,j._)(["\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 aO=function(){return e},e}function aI(){var e=(0,j._)(["\n ",";\n"]);return aI=function(){return e},e}function aA(){var e=(0,j._)(["\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 button {\n ",";\n }\n\n ::after {\n content: '';\n flex-shrink: 0;\n ",";\n }\n"]);return aA=function(){return e},e}function aP(){var e=(0,j._)(["\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 button {\n width: 100%;\n }\n\n ::after {\n content: '';\n flex-shrink: 0;\n ",";\n }\n"]);return aP=function(){return e},e}function aL(){var e=(0,j._)(["\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 aL=function(){return e},e}function aD(){var e=(0,j._)(["\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 aD=function(){return e},e}function aM(){var e=(0,j._)(["\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 aM=function(){return e},e}function aR(){var e=(0,j._)(["\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 aR=function(){return e},e}function aT(){var e=(0,j._)(["\n ",";\n"]);return aT=function(){return e},e}function aj(){var e=(0,j._)(["\n display: block;\n color: ",";\n ",";\n ",";\n\n svg {\n display: block;\n width: 100%;\n height: 100%;\n }\n"]);return aj=function(){return e},e}function aF(){var e=(0,j._)(["\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n"]);return aF=function(){return e},e}function aV(){var e=(0,j._)(["\n display: flex;\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n"]);return aV=function(){return e},e}function az(){var e=(0,j._)(["\n ",";\n ",";\n ",";\n ",";\n"]);return az=function(){return e},e}function aN(){var e=(0,j._)(["\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 aN=function(){return e},e}function aH(){var e=(0,j._)(["\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 aH=function(){return e},e}function aB(){var e=(0,j._)(["\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 aB=function(){return e},e}function aZ(){var e=(0,j._)(["\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 aZ=function(){return e},e}function aU(){var e=(0,j._)(["\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 aU=function(){return e},e}function aW(){var e=(0,j._)(["\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 aW=function(){return e},e}function aK(){var e=(0,j._)(["\n cursor: pointer;\n width: ",";\n height: ",";\n ",";\n background-color: ",";\n border: ",";\n box-shadow: ",";\n"]);return aK=function(){return e},e}function aG(){var e=(0,j._)(["\n 0%, 40%, 100% {\n transform: translateY(50%);\n }\n 20% {\n transform: translateY(calc(50% - ","));\n }\n"]);return aG=function(){return e},e}function a$(){var e=(0,j._)(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: ",";\n width: ",";\n gap: ",";\n"]);return a$=function(){return e},e}function aq(){var e=(0,j._)(["\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 aq=function(){return e},e}function aJ(){var e=(0,j._)(["\n 0%, 100% {\n transform: scaleY(0.3);\n }\n 50% {\n transform: scaleY(1);\n }\n"]);return aJ=function(){return e},e}function aY(){var e=(0,j._)(["\n 0% {\n background-position: 0% center;\n }\n 100% {\n background-position: 100% center;\n }\n"]);return aY=function(){return e},e}function aX(){var e=(0,j._)(["\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"]);return aX=function(){return e},e}function aQ(){var e=(0,j._)(["\n display: inline-flex;\n align-items: center;\n justify-content: space-evenly;\n height: ",";\n width: ",";\n position: relative;\n"]);return aQ=function(){return e},e}function a0(){var e=(0,j._)(["\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 a0=function(){return e},e}function a1(){var e=(0,j._)(["\n 0% {\n transform: scale(1);\n opacity: 0;\n }\n 50% {\n transform: scale(1.6);\n opacity: 0.4;\n }\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n"]);return a1=function(){return e},e}function a2(){var e=(0,j._)(["\n position: relative;\n display: inline-block;\n"]);return a2=function(){return e},e}function a5(){var e=(0,j._)(["\n position: absolute;\n height: ",";\n width: ",";\n top: ",";\n right: ",";\n"]);return a5=function(){return e},e}function a3(){var e=(0,j._)(["\n position: absolute;\n height: 100%;\n width: 100%;\n border-radius: var(--lns-radius-full);\n background-color: ",";\n border: "," solid\n ",";\n\n &::after {\n content: '';\n position: absolute;\n height: 100%;\n width: 100%;\n border-radius: var(--lns-radius-full);\n background-color: ",";\n opacity: 0;\n animation: ","\n "," ","\n ",";\n display: ",";\n }\n"]);return a3=function(){return e},e}var a4=Object.defineProperty,a7=Object.defineProperties,a6=Object.getOwnPropertyDescriptors,a8=Object.getOwnPropertySymbols,a9=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,st=function(e,t,n){return t in e?a4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},sn=function(e,t){for(var n in t||(t={}))a9.call(t,n)&&st(e,n,t[n]);var r=!0,i=!1,o=void 0;if(a8)try{for(var a,s=a8(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var n=a.value;se.call(t,n)&&st(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},sr=function(e,t){return a7(e,a6(t))},si=function(e,t){var n={};for(var r in e)a9.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);var i=!0,o=!1,a=void 0;if(null!=e&&a8)try{for(var s,l=a8(e)[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var r=s.value;0>t.indexOf(r)&&se.call(e,r)&&(n[r]=e[r])}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return n},so=function(e,t){return sr(sn({},e),{l:e.l-Math.round(e.l*t/100)})},sa=function(e,t){return sr(sn({},e),{a:t})},ss={red:{h:4,s:64,l:48,a:1},redDark:{h:4,s:56,l:23,a:1},blurpleLight:{h:214.3,s:91.3,l:95.5,a:1},blurpleMedium:{h:216.5,s:92,l:90.2,a:1},blurple:{h:215.4,s:80,l:47.65,a:1},blurpleDark:{h:215.9,s:79.9,l:41,a:1},blurpleStrong:{h:216.3,s:69.2,l:22.9,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},magentaLight:{h:323,s:92,l:90,a:1},magenta:{h:323,s:42,l:48,a:1},magentaDark:{h:324,s:37,l:23,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}},sl={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}},sc={record:ss.orange,recordHover:so(ss.orange,15.8),recordActive:so(ss.orange,31.6),backdropDark:sa(sl.grey8,.9),backdropTwilight:sa(ss.blurpleStrong,.8),highlight:sa(ss.blurple,.15),highlightHover:sa(ss.blurple,.3),highlightActive:sa(ss.blurple,.45),warning:{h:45.5,s:96,l:57,a:1,ads:"--ds-background-warning-bold"}},su={light:sr(sn({primary:ss.blurple,primaryHover:ss.blurpleDark,primaryActive:ss.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"},focusRing:{h:216.1,s:81.4,l:60,a:1,ads:"--ds-border-focused"},overlay:{h:0,s:0,l:100,a:1,ads:"--ds-surface-overlay"},overlayHover:sl.grey2,overlayActive:sl.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"}},sc),{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:sr(sn({primary:{h:216.3,s:83.2,l:67.3,a:1},primaryHover:{h:216.1,s:85.1,l:76.3,a:1},primaryActive:{h:216.5,s:92,l:90.2,a:1},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"},focusRing:{h:216.1,s:85.1,l:76.3,a:1,ads:"--ds-background-accent-blue-subtle-hovered"},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"}},sc),{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"}})},sd=sn(sn({},ss),sl),sf=(0,F._)(Object.keys(sd)).concat((0,F._)(Object.keys(su.light))),sh=function(e){if(e)return e in sd||e in su.light?"var(--lns-color-".concat(e,")"):e in sH?"var(--lns-gradient-".concat(e,")"):e},sp=function(e){return e&&"calc(".concat(e," * var(--lns-unit, ").concat(sR,"px))")},sv=function(e){return e in sz?"var(--lns-space-".concat(e,")"):e&&isNaN(e)?"".concat(e):0===e?"0":e?"".concat(sp(e)):void 0},sg=function(e,t){if(t||0===t){if(Array.isArray(t))return sb(t.map(function(t){return"".concat(e,": ").concat(sv(t))}));if("object"==typeof t){var n={};return Object.entries(t).forEach(function(e){var t=(0,T._)(e,2),r=t[0],i=t[1];return n[r]=sv(i)}),sy(e,n)}return"".concat(e,": ").concat(sv(t),";")}},sm=function(e,t,n){return"@media(".concat(e,": ").concat(t,"){").concat(n,"}")},sb=function(e){return sm("max-width",Object.values(sN)[0],e[0])+e.reduce(function(e,t,n){return e+sm("min-width","".concat(Object.values(sN)[n]),t)},"")},sy=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,T._)(t,2),i=r[0],o=r[1],a=i in sN?sN[i]:i;n.push("@media(min-width: ".concat(a,"){ ").concat(e,": ").concat(o," }"))}),n.join(" ")},sw=function(e,t){return Array.isArray(t)?sb(t.map(function(t){return"".concat(e,": ").concat(t,";")})):"object"==typeof t?sy(e,t):"".concat(e,": ").concat(t,";")},s_=function(e,t){if(e){if(Array.isArray(e)){var n=[];return e.map(function(e){n.push(t[e])}),sw("align-items",n)}return"align-items ".concat(t[e],";")}},sk=function(e,t){if(t||0===t)return Array.isArray(t)?sb(t.map(function(t){return"".concat(e,": ").concat(t)})):"object"!=typeof t||Array.isArray(t)?"".concat(e,": ").concat(t,";"):sy(e,t)},sx=function(e){return Array.isArray(e)?e.map(function(e){return sv(e)}).join(" "):e},sC=function(e,t){if(e){if("object"==typeof e&&!Array.isArray(e)){var n={};return Object.entries(e).forEach(function(e){var t=(0,T._)(e,2),r=t[0],i=t[1];return n[r]=sx(i)}),sy("grid-template-".concat(t),n)}return"grid-template-".concat(t,": ").concat(sx(e),";")}},sE=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")},sS=function(e){return e&&"font-weight: var(--lns-fontWeight-".concat(e,");")},sO=function(e){return e&&"border-radius: var(--lns-radius-".concat(e,");")},sI=function(e){return e&&"box-shadow: var(--lns-shadow-".concat(e,");")},sA=function(e,t){var n=e||sh("focusRing");return"box-shadow:".concat(t||""," 0 0 0 2px ").concat(n,";")},sP=function(e){var t=e||sh("focusRing");return"\n outline: 2px solid ".concat(t,";\n outline-offset: 1px;\n ")},sL=function(e){if("ol"===e||"ul"===e)return"\n list-style-type: none;\n margin: 0;\n padding: 0\n "},sD=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]},sM=function(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},sR=8,sT={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"}},sj={book:400,regular:400,medium:500,bold:653},sF={none:sp(0),50:sp(.5),100:sp(1),medium:sp(1),150:sp(1.5),175:sp(1.75),200:sp(2),large:sp(2),250:sp(2.5),300:sp(3),xlarge:sp(3),round:sp(999),full:sp(999)},sV={small:"0 ".concat(sp(.5)," ").concat(sp(1.25)," hsla(0, 0%, 0%, 0.05)"),medium:"0 ".concat(sp(.5)," ").concat(sp(1.25)," hsla(0, 0%, 0%, 0.1)"),large:"0 ".concat(sp(.75)," ").concat(sp(3)," hsla(0, 0%, 0%, 0.1)")},sz={xsmall:.5,small:1,medium:2,large:3,xlarge:5,xxlarge:8},sN={xsmall:"31em",small:"48em",medium:"64em",large:"75em"},sH={"ai-primary":"conic-gradient(from 270deg, #0469FF 90deg, #BF63F3 180deg, #FFA900 270deg, #0065FF 360deg)","ai-secondary":"radial-gradient(138.41% 100% at 100% 100%, #E9F2FE 0%, #FFF 100%)"},sB="Lens: Layout component is deprecated. Use Arrange or Split.",sZ=((_=sZ||{})["sans-serif"]="inherit",_.mono="Atlassian Mono",_),sU={body:{size:"body-md",fontWeight:"regular"},title:{size:"body-lg",fontWeight:"bold"},mainTitle:{size:"heading-md",fontWeight:"bold"}},sW=function(e){return sT[e].fontSize*sR},sK=function(e){return sp(sT[e].fontSize)},sG=function(e){return sT[e].fontSize*sT[e].lineHeight*sR},s$=function(e,t,n,r){var i=(t-e)/(r-n);return"".concat(-n*i+e,"px + ").concat(100*i,"vw")},sq=eb.span(i2(),function(e){return e.isInline?"inline":"block"},function(e){return!e.sizeMinMax&&sE(e.size)},function(e){return sS(e.fontWeight)},function(e){return e.color&&"color: ".concat(sh(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.overflowWrap&&"overflow-wrap: ".concat(e.overflowWrap,";")},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.fontFamily&&"font-family: ".concat(sZ[e.fontFamily],";")},function(e){return e.sizeMinMax&&"\n min-height: 0vw;\n font-size: clamp(\n ".concat(sK(e.sizeMinMax[0]),",\n ").concat(s$(sW(e.sizeMinMax[0]),sW(e.sizeMinMax[1]),496,1200),",\n ").concat(sK(e.sizeMinMax[1]),"\n );\n\n line-height: clamp(\n ").concat(sG(e.sizeMinMax[0]),"px,\n ").concat(s$(sG(e.sizeMinMax[0]),sG(e.sizeMinMax[1]),496,1200),",\n ").concat(sG(e.sizeMinMax[1]),"px\n );\n ")}),sJ=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.fontFamily,l=e.fontWeight,c=void 0===l?"regular":l,u=e.hasEllipsis,d=e.ellipsisLines,f=e.noWrap,h=e.variant,p=e.htmlTag,v=e.alignment,g=e.sizeMinMax,m=e.fontSetting,b=e.overflowWrap,y=si(e,["children","size","color","isInline","isDimmed","fontFamily","fontWeight","hasEllipsis","ellipsisLines","noWrap","variant","htmlTag","alignment","sizeMinMax","fontSetting","overflowWrap"]);return a&&console.warn("Lens: Text prop 'isDimmed' is deprecated, use color=\"bodyDimmed\" instead."),r.includes("heading-")&&(c="bold"),N.createElement(sq,sn({size:h?sU[h].size:r,color:i,isInline:o,isDimmed:a,fontWeight:h?sU[h].fontWeight:c,fontFamily:void 0===s?"sans-serif":s,hasEllipsis:u,ellipsisLines:d,noWrap:f,variant:h,as:void 0===p?"span":p,alignment:v,sizeMinMax:g,fontSetting:void 0===m?"normal":m,overflowWrap:b},y),t)},sY=["top","bottom","left","right"],sX=sn({0:"0"},sz),sQ=sn({0:"0",auto:"auto"},sz),s0=sf.map(function(e){return{selector:"c",modifier:e,declarations:[{property:"color",value:"var(--lns-color-".concat(e,")")}]}}),s1=sf.map(function(e){return{selector:"bgc",modifier:e,declarations:[{property:"background-color",value:"var(--lns-color-".concat(e,")")}]}}),s2=Object.keys(sT).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)"}]}}),s5=Object.keys(sj).map(function(e){return{selector:"weight",modifier:e,declarations:[{property:"font-weight",value:"var(--lns-fontWeight-".concat(e,")")}]}}),s3=Object.entries(sU).map(function(e){var t=(0,T._)(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,")")}]}}),s4=["left","right","center"].map(function(e){return{selector:"text",modifier:e,declarations:[{property:"text-align",value:e}]}}),s7=Object.keys(sV).map(function(e){return{selector:"shadow",modifier:e,declarations:[{property:"box-shadow",value:"var(--lns-shadow-".concat(e,")")}]}}),s6=Object.keys(sF).map(function(e){return{selector:"radius",modifier:e,declarations:[{property:"border-radius",value:"var(--lns-radius-".concat(e,")")}]}}),s8=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},s9=Object.values(s8("margin",[""].concat((0,F._)(sY)),sQ,"shortSides")).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:e.property,value:e.value}]}}),le=Object.values(s8("margin",["x","y"],sQ,"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}]}}),lt=Object.values(s8("padding",[""].concat((0,F._)(sY)),sX,"shortSides")).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:e.property,value:e.value}]}}),ln=Object.values(s8("padding",["x","y"],sX,"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}]}}),lr=[""].concat((0,F._)(sY)).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)"}]}}),li=["inline","block","flex","inlineBlock","inlineFlex","none"].map(function(e){return{selector:e,declarations:[{property:"display",value:sM(e)}]}}),lo=["column","row"].map(function(e){return{selector:"flexDirection",modifier:e,declarations:[{property:"flex-direction",value:e}]}}),la=["stretch","center","baseline","flexStart","flexEnd","selfStart","selfEnd"].map(function(e){return{selector:"items",modifier:e,declarations:[{property:"align-items",value:sM(e)}]}}),ls=["flexStart","flexEnd","center","spaceBetween","spaceAround","spaceEvenly"].map(function(e){return{selector:"justify",modifier:e,declarations:[{property:"justify-content",value:sM(e)}]}}),ll=["0","1"].map(function(e){return{selector:"grow",modifier:e,declarations:[{property:"flex-grow",value:e}]}}),lc=["0","1"].map(function(e){return{selector:"shrink",modifier:e,declarations:[{property:"flex-shrink",value:e}]}}),lu=["auto","flexStart","flexEnd","center","baseline","stretch"].map(function(e){return{selector:"self",modifier:e,declarations:[{property:"align-self",value:sM(e)}]}}),ld=["hidden","auto"].map(function(e){return{selector:"overflow",modifier:e,declarations:[{property:"overflow",value:e}]}}),lf=["relative","absolute","sticky","fixed"].map(function(e){return{selector:e,declarations:[{property:"position",value:e}]}}),lh=Object.values(s8("",sY,sQ)).map(function(e){return{selector:e.selector,modifier:e.modifier,declarations:[{property:e.property,value:e.value}]}}),lp=["auto","full","0"].map(function(e){return{selector:"width",modifier:e,declarations:[{property:"width",value:"full"===e?"100%":e}]}}),lv=["auto","full","0"].map(function(e){return{selector:"height",modifier:e,declarations:[{property:"height",value:"full"===e?"100%":e}]}});(0,F._)(s0).concat((0,F._)(s7),(0,F._)(s6),(0,F._)(s1),(0,F._)(s9),(0,F._)(le),(0,F._)(lt),(0,F._)(ln),(0,F._)(s2),(0,F._)(s5),(0,F._)(s3),(0,F._)(s4),(0,F._)(lr),(0,F._)(li),(0,F._)([{selector:"flexWrap",declarations:[{property:"flex-wrap",value:"wrap"}]}]),(0,F._)(lo),(0,F._)(la),(0,F._)(ls),(0,F._)(ll),(0,F._)(lc),(0,F._)(lu),(0,F._)(ld),(0,F._)(lf),(0,F._)(lh),(0,F._)(lp),(0,F._)([{selector:"minWidth",modifier:"0",declarations:[{property:"min-width",value:"0"}]}]),(0,F._)(lv),(0,F._)([{selector:"ellipsis",declarations:[{property:"overflow",value:"hidden"},{property:"text-overflow",value:"ellipsis"},{property:"white-space",value:"nowrap"}]}]),(0,F._)([{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"}]}])),sN.xsmall,sN.small,sN.medium,sN.large;var lg=function(e,t){var n={};return Object.entries(t).forEach(function(t){var r=(0,T._)(t,2),i=r[0],o=r[1];n["--lns-".concat((e?"".concat(e,"-"):"")+i)]=o}),n},lm=lg(void 0,{unit:"".concat(sR/16,"rem")}),lb=lg("fontWeight",sj),ly=lg("fontSetting",{normal:"'normal'",tnum:"'tnum'"}),lw=lg(void 0,(k={},Object.entries(sT).forEach(function(e){var t=(0,T._)(e,2),n=t[0],r=t[1],i={};i["fontSize-".concat(n)]=sp(r.fontSize),i["lineHeight-".concat(n)]=r.lineHeight,i["letterSpacing-".concat(n)]=r.letterSpacing,Object.assign(k,i,{},{})}),k)),l_=lg("radius",sF),lk=lg("shadow",sV),lx=lg(void 0,(x={},Object.entries(sz).forEach(function(e){var t=(0,T._)(e,2),n=t[0],r=t[1];x["space-".concat(n)]=sp(r)}),x)),lC=lg(void 0,{formFieldBorderWidth:"1px",formFieldBorderWidthFocus:"2px",formFieldHeight:sp(4.5),formFieldRadius:"var(--lns-radius-175)",formFieldHorizontalPadding:sp(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 "}),lE=lg("color",(C={},Object.keys(sn(sn({},ss),sl)).forEach(function(e){C[e]="hsla(".concat(sd[e].h,",").concat(sd[e].s,"%,").concat(sd[e].l,"%,").concat(sd[e].a,")")}),C)),lS=lg(void 0,sn(sn({},(E=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},{})})(su.light,"themeLight")),E(su.dark,"themeDark"))),lO=lg("gradient",sH),lI=[lm,lw,l_,lk,lx,lC],lA=function(){var e;return(e=Object).assign.apply(e,[{},lb].concat((0,F._)(lI),[ly]))},lP=function(){return sn(sn(sn({},lE),lS),lO)},lL=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(su.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(su.dark).map(function(e){return"--lns-color-".concat(e,": var(--lns-themeDark-color-").concat(e,");")}).join(""),"\n }\n ")},lD=function(){var e=document.createElement("style");e.innerHTML=lL(),document.head.appendChild(e)},lM=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"}}},lR=function(e){if("medium"===e)n=sp(4),r=sp(4);else if("large"===e)n=sp(7),r=sp(7);else{var t,n,r,i=sv(e);n=i,r=i}var o=(t=n,"calc(".concat(t," / 2)"));return{width:n,height:r,fontSize:o}},lT=eb.span(i5(),function(e){return e.color?e.color.startsWith("#")?e.color:"var(--lns-color-".concat(e.color,")"):"var(--lns-color-blueLight)"},sO("full"),function(e){return lR(e.size).width},function(e){return lR(e.size).height},function(e){return lR(e.size).fontSize},function(e){return e.hasBackgroundColor&&(e.backgroundColor?"var(--lns-color-".concat(e.backgroundColor,")"):"var(--lns-color-orange)")}),lj=eb.img(i3(),function(e){return lR(e.size).width},function(e){return lR(e.size).height},function(e){return lR(e.size).fontSize}),lF=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,l=e.themeColor,c=si(e,["altText","size","letter","imageSrc","children","themeColor"]),u=lM((void 0===l?"blue":l)||"blue");return N.createElement(lT,sn({hasBackgroundColor:o&&!a&&!s,size:i,backgroundColor:u.background,color:u.text},c),function(){if(s)return s;if(a){var e=lR(i).height,t=lR(i).width;return N.createElement(lj,{size:i,alt:n,src:a,height:e,width:t})}if(o)return n?N.createElement("span",{"aria-label":n},o):o}())},lV=eb.span(i4(),function(e){return sh(e.color)},function(e){return sg("width",e.size)},function(e){return sg("height",e.size)},function(e){return sg("width",e.size)},function(e){return sg("height",e.size)}),lz=function(e){var t=e.altText,n=e.icon,r=e.color,i=e.size,o=si(e,["altText","icon","color","size"]),a=N.useRef(null);return N.createElement(lV,sn({ref:a,"aria-label":t,color:void 0===r?"body":r,size:void 0===i?3:i},o),n)},lN={small:{totalSize:18},medium:{totalSize:24},large:{totalSize:48}},lH=function(e){return lN[e.size].totalSize/6},lB=function(e){return lN[e.size].totalSize},lZ=(0,ey.F4)(i7()),lU=eb.span(i6(),function(e){return lB(e)},function(e){return lB(e)}),lW=eb.span(i8()),lK=eb.span(i9(),function(e){return 45*e.position},function(e){return lB(e)/2-lH(e)/2},function(e){return lH(e)},function(e){return lH(e)},function(e){return lH(e)},function(e){return sh(e.color)},lZ,1,function(e){return 1*e.position/8}),lG=function(e){var t=e.position,n=e.color,r=e.size;return N.createElement(lK,{color:n,position:t,size:r})};Object.keys(lN);var l$=function(e){var t,n=e.color,r=void 0===n?"body":n,i=e.size,o=void 0===i?"medium":i,a=si(e,["color","size"]),s=[];for(t=0;t<8;t++)s.push(N.createElement(lG,{color:r,position:t,size:o,key:t}));return N.createElement(lU,sn({size:o},a),N.createElement(lW,null,s))},lq={small:{height:sp(4),textSize:"small",iconSize:2,xSpace:sp(1.5),radius:"var(--lns-radius-150)"},medium:{height:sp(4.5),textSize:"medium",iconSize:3,xSpace:sp(2),radius:"var(--lns-radius-175)"},large:{height:sp(7),textSize:"large",iconSize:4,xSpace:sp(2.5),radius:"var(--lns-radius-250)"}},lJ=function(e){return(0,ey.iv)(oe(),e.hasLoader&&"display: none")},lY={neutral:{color:sh("body"),background:"transparent",borderColor:sh("buttonBorder"),hover:sh("backgroundHover"),active:sh("backgroundActive"),floatingBackground:sh("overlay"),floatingHover:sh("overlayHover"),floatingActive:sh("overlayActive")},neutralSecondary:{color:sh("body"),background:sh("backgroundNeutral"),borderColor:null,hover:sh("backgroundNeutralHover"),active:sh("backgroundNeutralActive")},primary:{color:sh("white"),background:sh("blurple"),borderColor:null,hover:sh("primaryHover"),active:sh("primaryActive")},secondary:{color:sh("primary"),background:sh("highlight"),borderColor:null,hover:sh("highlightHover"),active:null},record:{color:sh("white"),background:sh("record"),borderColor:null,hover:sh("recordHover"),active:sh("recordActive")},upgrade:{color:sh("body"),background:sh("upgrade"),borderColor:null,hover:sh("upgradeHover"),active:sh("upgradeActive"),focusRing:sA()},danger:{color:sh("bodyInverse"),background:sh("danger"),borderColor:null,hover:sh("dangerHover"),active:sh("dangerActive")},ai:{color:sh("white"),background:sh("ai-primary"),borderColor:null,hover:null,active:null}},lX=function(e){return{enabled:(0,ey.iv)(ot()),disabled:(0,ey.iv)(on(),e.ariaDisabled&&"aria-disabled: true",sh("disabledBackground"),sh("disabledContent"))}},lQ=sp(1),l0=eb.button(oa(),function(e){return e.hasChildren?lq[e.size].xSpace:0},sS("bold"),function(e){return lq[e.size].radius},function(e){return e.hasFullWidth?"display: flex; width: 100%":"display: inline-flex"},function(e){return({auto:(0,ey.iv)(or(),lq[e.size].height),full:(0,ey.iv)(oi()),maxContent:(0,ey.iv)(oo())})[e.width]},function(e){return lq[e.size].height},function(e){return sE(lq[e.size].textSize)},function(e){return e.isFloating&&"box-shadow: ".concat(sV.medium)},function(e){return e.disabled?lX(e).disabled:lX(e).enabled},function(e){return!e.disabled&&"\n border: ".concat(lY[e.variant].borderColor?"1px solid ".concat(lY[e.variant].borderColor):"none",";\n background: ").concat(e.isFloating&&"neutral"===e.variant?lY[e.variant].floatingBackground:lY[e.variant].background,";\n background-position: left;\n background-size: 125%;\n color: ").concat(lY[e.variant].color,";\n ")},function(e){return e.isFloating&&"neutral"===e.variant?lY[e.variant].floatingHover:lY[e.variant].hover},function(e){return e.isFloating&&"neutral"===e.variant?lY[e.variant].floatingActive:lY[e.variant].active},function(e){return e["aria-expanded"]?"outline: none;":sP()}),l1=eb.span(os(),function(e){return sg("padding-left",e.paddingLeft)},function(e){return sg("padding-right",e.paddingRight)},lJ),l2=eb.img(ol(),function(e){return lq[e.size].height},function(e){return lq[e.size].height},function(e){return e.hasSpacing&&"margin-right: 0.57em"},lJ),l5=eb.span(oc()),l3=eb.span(ou(),lJ);Object.keys(lq),Object.keys(lY);var l4=function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,i=e.variant,o=e.hasFullWidth,a=e.width,s=e.icon,l=e.iconPosition,c=void 0===l?"left":l,u=e.iconBefore,d=e.iconAfter,f=e.logoSrc,h=e.hasLoader,p=e.isDisabled,v=e.ariaDisabled,g=e.htmlTag,m=e.interactionName,b=e.onClick,y=e.refHandler,w=si(e,["size","children","variant","hasFullWidth","width","icon","iconPosition","iconBefore","iconAfter","logoSrc","hasLoader","isDisabled","ariaDisabled","htmlTag","interactionName","onClick","refHandler"]),_=s&&"left"===c?s:null,k=u||_?N.createElement(l1,{hasLoader:h,paddingLeft:"0",paddingRight:r?lQ:"0"},N.createElement(lz,{icon:u||_,color:"currentColor",size:lq[n].iconSize})):null,x=s&&"right"===c?s:null,C=d||x?N.createElement(l1,{hasLoader:h,paddingLeft:r?lQ:"0",paddingRight:"unset"},N.createElement(lz,{icon:x||d,color:"currentColor",size:lq[n].iconSize})):null,E=(0,N.useCallback)(function(e){m&&nw(m),null==b||b(e)},[b,m]);return N.createElement(l0,sr(sn({size:n,variant:void 0===i?"neutral":i,hasFullWidth:o,width:void 0===a?"auto":a,icon:s,iconPosition:c,logoSrc:f,disabled:p,ariaDisabled:v,as:void 0===g?"button":g,hasChildren:r,ref:function(e){return y&&y(e)}},w),{onClick:void 0===m?b:E}),h&&N.createElement(l5,null,N.createElement(l$,{color:"currentColor"})),k,f&&N.createElement(l2,{alt:"",hasSpacing:!!r,src:f,size:n,height:lq[n].height,width:lq[n].height,hasLoader:h}),N.createElement(l3,{hasLoader:h},r),C)},l7=eb.div(od(),function(e){return e.isInline?"inline-block":"block"},function(e){return sg("padding",e.all)},function(e){return sg("padding-top",e.top)},function(e){return sg("padding-right",e.right)},function(e){return sg("padding-bottom",e.bottom)},function(e){return sg("padding-left",e.left)}),l6=function(e){var t=e.children,n=e.all,r=e.y,i=e.x,o=e.top,a=e.right,s=e.bottom,l=e.left,c=e.isInline,u=si(e,["children","all","y","x","top","right","bottom","left","isInline"]);return N.createElement(l7,sn({all:n,top:r||o,bottom:r||s,right:i||a,left:i||l,isInline:c},u),t)},l8={topLeft:"start",topCenter:"start center",topRight:"start end",centerLeft:"center start",center:"center",centerRight:"center end",bottomLeft:"end start",bottomCenter:"end center",bottomRight:"end"},l9=function(e){if(Array.isArray(e))return e.map(function(e){return l8[e]});if("object"==typeof e){var t={};return Object.entries(e).forEach(function(e){var n=(0,T._)(e,2),r=n[0],i=n[1];return t[r]=l8[i]}),t}return l8[e]},ce=eb.div(of(),function(e){return sw("place-items",l9(e.alignment))});Object.keys(l8);var ct=function(e){var t=e.children,n=e.alignment,r=e.htmlTag,i=si(e,["children","alignment","htmlTag"]);return N.createElement(ce,sn({alignment:void 0===n?"center":n,as:void 0===r?"div":r},i),t)},cn=function(e,t,n){var r=sv(n),i="".concat(r," solid ").concat(sh(t||"border"));if(e)return"all"===e?"border: ".concat(i,";"):"border-".concat(e,": ").concat(i,";")},cr=eb.div(oh(),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(sh(e.backgroundColor))},function(e){return e.backgroundImage&&"background-image: ".concat(e.backgroundImage)},function(e){return e.contentColor&&"color: ".concat(sh(e.contentColor))},function(e){return cn(e.borderSide,e.borderColor,e.borderWidth)},function(e){return sO(e.radius)},function(e){return sI(e.shadow)},function(e){return sg("width",e.width)},function(e){return sg("height",e.height)},function(e){return sg("min-width",e.minWidth)},function(e){return sg("min-height",e.minHeight)},function(e){return sg("max-width",e.maxWidth)},function(e){return sg("max-height",e.maxHeight)},function(e){return sg("padding",e.padding)},function(e){return sg("padding-top",e.paddingTop)},function(e){return sg("padding-right",e.paddingRight)},function(e){return sg("padding-bottom",e.paddingBottom)},function(e){return sg("padding-left",e.paddingLeft)},function(e){return sg("margin",e.margin)},function(e){return sg("margin-top",e.marginTop)},function(e){return sg("margin-right",e.marginRight)},function(e){return sg("margin-bottom",e.marginBottom)},function(e){return sg("margin-left",e.marginLeft)},function(e){return sg("top",e.top)},function(e){return sg("right",e.right)},function(e){return sg("bottom",e.bottom)},function(e){return sg("left",e.left)},function(e){return e.zIndex&&"z-index: ".concat(e.zIndex)}),ci=function(e){var t=e.children,n=e.backgroundColor,r=e.backgroundImage,i=e.contentColor,o=e.borderColor,a=e.radius,s=e.borderSide,l=e.borderWidth,c=e.shadow,u=e.padding,d=e.paddingX,f=e.paddingY,h=e.paddingLeft,p=e.paddingRight,v=e.paddingTop,g=e.paddingBottom,m=e.margin,b=e.marginX,y=e.marginY,w=e.marginLeft,_=e.marginRight,k=e.marginTop,x=e.marginBottom,C=e.width,E=e.height,S=e.minWidth,O=e.minHeight,I=e.maxWidth,A=e.maxHeight,P=e.htmlTag,L=e.position,D=e.overflow,M=e.zIndex,R=e.top,T=e.bottom,j=e.left,F=e.right,V=e.refHandler,z=si(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 N.createElement(cr,sn({backgroundColor:n,backgroundImage:r,contentColor:i,borderColor:o,radius:a,borderSide:s,shadow:c,padding:u,paddingLeft:d||h,paddingRight:d||p,paddingTop:f||v,paddingBottom:f||g,margin:m,marginLeft:b||w,marginRight:b||_,marginTop:y||k,marginBottom:y||x,width:C,height:E,minWidth:S,minHeight:O,maxWidth:I,maxHeight:A,as:void 0===P?"div":P,position:L,top:R,bottom:T,left:j,right:F,overflow:D,zIndex:M,borderWidth:void 0===l?"1px":l,ref:function(e){return V&&V(e)}},z),t)},co={small:{height:sp(4),width:sp(5),iconSize:2,padding:sp(1.75),withIconPadding:sp(4.5),passwordAdditionalPadding:sp(.5),textSize:"small",radius:"var(--lns-radius-150)"},medium:{height:"var(--lns-formFieldHeight)",width:sp(6),iconSize:3,padding:"var(--lns-formFieldHorizontalPadding)",withIconPadding:sp(5.5),passwordAdditionalPadding:sp(.5),textSize:"medium",radius:"var(--lns-radius-175)"},large:{height:sp(7),width:sp(6),iconSize:3,padding:"var(--lns-formFieldHorizontalPadding)",withIconPadding:sp(5.5),passwordAdditionalPadding:sp(.5),textSize:"large",radius:"var(--lns-radius-250)"}},ca=function(e){var t=e.addOn?co[e.inputSize].withIconPadding:co[e.inputSize].padding;return"password"===e.type&&(t="calc(".concat(co[e.inputSize].passwordAdditionalPadding," + ").concat(t,")")),t},cs=eb.input(op(),function(e){return co[e.inputSize].height},sh("formFieldBackground"),function(e){return e.icon?co[e.inputSize].withIconPadding:co[e.inputSize].padding},function(e){return ca(e)},function(e){return co[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 sE(co[e.inputSize].textSize)},sh("disabledContent"),sh("disabledBackground"),sh("bodyDimmed")),cl=eb.div(ov()),cc=eb.div(og(),function(e){return co[e.size].width}),cu=eb.img(om(),function(e){return e.isDisabled?.5:1}),cd=eb.div(ob(),function(e){return co[e.size].width}),cf=(0,N.forwardRef)(function(e,t){var n=e.placeholder,r=e.onFocus,i=e.onChange,o=e.onBlur,a=e.onKeyDown,s=e.isDisabled,l=e.icon,c=e.type,u=e.value,d=e.hasError,f=e.size,h=void 0===f?"medium":f,p=e.addOn,v=si(e,["placeholder","onFocus","onChange","onBlur","onKeyDown","isDisabled","icon","type","value","hasError","size","addOn"]),g=N.createElement(cs,sn({type:void 0===c?"text":c,placeholder:n,onFocus:r,onChange:i,onBlur:o,onKeyDown:a,disabled:s,icon:l,ref:t,value:u,hasError:d,inputSize:h,addOn:p},v));return l||p?N.createElement(cl,null,l&&N.createElement(cc,{size:h},"string"==typeof l?N.createElement(ci,{radius:"50",width:co[h].iconSize,height:co[h].iconSize,overflow:"hidden"},N.createElement(ct,{alignment:"center"},N.createElement(cu,{src:l,alt:"",isDisabled:s}))):N.createElement(lz,{icon:l,size:co[h].iconSize,color:sh(s?"disabledContent":"body")})),g,p&&N.createElement(cd,{size:h},p)):g}),ch={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"},cp=!1,cv=function(e){return Array.isArray(e)?e:[e]},cg=function(e,t){if(e.length===t)return e;var n=e[e.length-1];return(0,F._)(Array(t)).map(function(t,r){return e[r]||n})},cm=function(e,t){var n=Math.max(cv(e).length,cv(t).length),r=cg(cv(t),n),i=cg(cv(e),n),o=r.map(function(e,t){var n="".concat(sv(e)," 0 0 0"),r="0 0 0 ".concat(sv(e)),o="column"===i[t]?n:r;return"".concat("& > * + *","{ margin: ").concat(o,"; }")}),a=i.map(function(e){return"flex-direction: ".concat(e)});return sb(o)+sb(a)},cb=eb.div(oy(),function(e){return cm(e.flexDirection,e.gap)},function(e){return s_(e.flexAlign,ch)},function(e){var t,n;return e.isSpread&&(t="justify-content",Array.isArray(n=e.isSpread)?sb(n.map(function(e){return"".concat(t,": ").concat(!0===e?"space-between":"initial",";")})):"".concat(t,": ").concat("space-between",";"))});Object.keys(ch);var cy=function(e){var t=e.children,n=e.gap,r=e.direction,i=e.alignment,o=e.isSpread,a=e.htmlTag,s=si(e,["children","gap","direction","alignment","isSpread","htmlTag"]);return cp||(console.warn("Lens: Distribute component is deprecated. Use Arrange or Split."),cp=!0),N.createElement(cb,sn({gap:n,flexDirection:void 0===r?"row":r,flexAlign:void 0===i?"start":i,isSpread:o,as:void 0===a?"div":a},s),t)},cw=eb.div(ow(),function(e){return sw("align-items",e.alignItems)},function(e){return sw("justify-content",e.justifyContent)},function(e){return e.justifyItems&&sw("justify-items",e.justifyItems)},function(e){return e.alignContent&&sw("align-content",e.alignContent)},function(e){return!e.columns&&!e.rows&&!e.autoFlow&&"grid-auto-flow: column"},function(e){return sC(e.columns,"columns")},function(e){return sC(e.rows,"rows")},function(e){return sg("gap",e.gap)},function(e){return sg("width",e.width)},function(e){return sg("height",e.height)},function(e){return sg("min-width",e.minWidth)},function(e){return sg("min-height",e.minHeight)},function(e){return sg("max-width",e.maxWidth)},function(e){return sg("max-height",e.maxHeight)},function(e){return e.autoFlow&&sw("grid-auto-flow",e.autoFlow)},function(e){return e.columns&&e.autoFlow&&sw("grid-auto-flow",e.autoFlow)},function(e){return sL(e.as)}),c_=function(e){var t=e.children,n=e.width,r=e.height,i=e.minWidth,o=e.minHeight,a=e.maxWidth,s=e.maxHeight,l=e.gap,c=e.columns,u=e.rows,d=e.alignItems,f=e.justifyContent,h=e.justifyItems,p=e.alignContent,v=e.autoFlow,g=e.htmlTag,m=e.className,b=e.style,y=si(e,["children","width","height","minWidth","minHeight","maxWidth","maxHeight","gap","columns","rows","alignItems","justifyContent","justifyItems","alignContent","autoFlow","htmlTag","className","style"]);return(m||b)&&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."),N.createElement(cw,sn({alignItems:void 0===d?"center":d,as:void 0===g?"div":g,justifyContent:void 0===f?"start":f,justifyItems:h,alignContent:p,gap:l,columns:c,rows:u,width:n,height:r,minWidth:i,minHeight:o,maxWidth:a,maxHeight:s,autoFlow:v},y),t)};eb.div(o_());var ck={start:"flex-start",center:"center",end:"flex-end"},cx=eb.div(ok(),function(e){return s_(e.alignment,ck)},function(e){return e.gap&&sg("margin-left",e.gap)}),cC=eb.div(ox(),function(e){return sg("width",e.width)},function(e){return sg("max-width",e.maxWidth)},function(e){return e.width?"flex-shrink: 0":"flex: 1 1 0%"});(function(e){(0,R._)(n,e);var t=(0,z._)(n);function n(){return(0,L._)(this,n),t.apply(this,arguments)}return(0,D._)(n,[{key:"render",value:function(){return console.warn(sB),N.createElement(cx,sn({},this.props),this.props.children)}}]),n})(N.Component).Section=function(e){var t=e.width,n=e.maxWidth,r=e.children,i=si(e,["width","maxWidth","children"]);return console.warn(sB),N.createElement(cC,sn({width:t,maxWidth:n},i),r)};var cE={small:{size:sp(3),iconSize:2.25,radius:"var(--lns-radius-100)"},medium:{size:sp(4),iconSize:3,radius:"var(--lns-radius-150)"},large:{size:sp(5),iconSize:4,radius:"var(--lns-radius-175)"}},cS=eb.button(oC(),function(e){return sh(e.isActive?"backgroundActive":e.backgroundColor)||"transparent"},function(e){return cE[e.size].size},function(e){return cE[e.size].size},function(e){return cE[e.size].radius},function(e){return sh(e.isActive?"backgroundActive":"backgroundHover")},sh("backgroundActive"),sh("disabledContent"),function(e){return cE[e.size].radius},sA()),cO=N.forwardRef(function(e,t){var n=e.altText,r=e.icon,i=e.onClick,o=e.iconColor,a=e.backgroundColor,s=e.isActive,l=e.isDisabled,c=e.size,u=void 0===c?"medium":c,d=e.htmlTag,f=void 0===d?"button":d,h=si(e,["altText","icon","onClick","iconColor","backgroundColor","isActive","isDisabled","size","htmlTag"]);return N.createElement(cS,sn({"aria-label":n,onClick:"button"===f?i:void 0,isActive:s,disabled:l,size:u,backgroundColor:a,as:f,ref:t},h),N.createElement(lz,{icon:r,size:cE[u].iconSize,color:l?"disabledContent":void 0===o?"body":o}))});cO.displayName="IconButton";var cI=cO,cA=function(e){return N.createElement("svg",sn({width:12,height:9,viewBox:"0 0 12 9",fill:"none"},e),N.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"}))},cP=function(e){return N.createElement("svg",sn({width:12,height:2,viewBox:"0 0 12 2",fill:"none"},e),N.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1a1 1 0 011-1h10a1 1 0 110 2H1a1 1 0 01-1-1z",fill:"currentColor"}))},cL=eb.div(oE()),cD=eb.input(oS(),sh("body"),sh("body"),sh("disabledBackground"),sh("disabledContent"),sA(),sh("background")),cM=eb.span(oO(),sp(2.25),sp(2.25),sp(.5)),cR=(0,N.forwardRef)(function(e,t){var n=e.isDisabled,r=e.isChecked,i=e.isIndeterminate,o=e.onFocus,a=e.onChange,s=e.onBlur,l=si(e,["isDisabled","isChecked","isIndeterminate","onFocus","onChange","onBlur"]),c=(0,N.useRef)(),u=t||c,d=sh(n?"disabledContent":"currentColor");return(0,N.useEffect)(function(){u.current.indeterminate=i}),N.createElement(cL,null,N.createElement(cD,sn({type:"checkbox",disabled:n,checked:r,onFocus:o,onChange:a,onBlur:s,ref:u,"aria-checked":r},l)),N.createElement(cM,{className:"CheckboxBox"},N.createElement(cP,{className:"Icon IconMinus",color:d}),N.createElement(cA,{className:"Icon IconCheck",color:d})))}),cT={small:{textSize:"small",iconSize:2.25,height:sp(3),xSpace:sp(1),radius:"var(--lns-radius-100)"},medium:{textSize:"medium",iconSize:3,height:sp(4),xSpace:sp(1.5),radius:"var(--lns-radius-150)"},large:{textSize:"large",iconSize:4,height:sp(6),xSpace:sp(3),radius:"var(--lns-radius-200)"}},cj=eb.button(oI(),function(e){return e.isActive?sh("backgroundActive"):"transparent"},function(e){return cT[e.size].height},function(e){return sh(e.color||"body")},sS("bold"),function(e){return cT[e.size].radius},function(e){return sE(cT[e.size].textSize)},function(e){return cT[e.size].xSpace},function(e){return e.offsetSide&&"margin-".concat(e.offsetSide,": calc(-1 * ").concat(cT[e.size].xSpace,")")},sA(),function(e){return sh(e.isActive?"backgroundActive":"backgroundHover")},sh("backgroundActive"),sh("disabledContent"));N.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,l=void 0===s?"left":s,c=e.isActive,u=e.isDisabled,d=e.htmlTag,f=e.offsetSide,h=si(e,["onClick","size","children","icon","iconPosition","isActive","isDisabled","htmlTag","offsetSide"]),p=N.createElement(ci,{paddingLeft:"right"===l&&"small",paddingRight:"left"===l&&"small",htmlTag:"span"},N.createElement(lz,{icon:a,size:cT[i].iconSize,color:u?"disabledColor":void 0}));return N.createElement(cj,sn({onClick:n,size:i,icon:a,iconPosition:l,disabled:u,isActive:c,as:d,offsetSide:f,ref:t},h),a&&"left"===l&&p,o,a&&"right"===l&&p)}).displayName="TextButton";var cF=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]},c7=function(e){var t=e.options,n=e.selectedOptionValue;if(!t||!n)return{icon:null,title:null};if(!c4(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 l=a.value.items.find(function(e){return e.value===n});if(l)return l}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return{icon:null,title:null}},c6=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue;return n?n.icon:r?c7({options:t,selectedOptionValue:r}).icon:void 0},c8=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.selectPlaceholder;return n?n.title:r?c7({options:t,selectedOptionValue:r}).title:i},c9=function(e){var t=e.selectedItem,n=e.getInputProps,r=e.getToggleButtonProps,i=e.ariaMenuName,o=e.isOpen,a=t?"selected value is ".concat(t.title):"no value selected",s=null==r?void 0:r()["aria-label"];return{"aria-expanded":o,"aria-activedescendant":n()["aria-activedescendant"],"aria-label":[i,s,a].filter(Boolean).join(", ")}},ue=function(e){var t=e.getToggleButtonProps,n=e.inputValue,r=e.selectedItem,i=e.selectedOptionValue,o=e.selectPlaceholder,a=e.isDisabled,s=e.options,l=e.getInputProps,c=e.ariaMenuName,u=e.hasError,d=e.isOpen,f=c6({options:s,selectedItem:r,selectedOptionValue:i}),h=!!f,p=!i&&!r,v=a?"disabledContent":void 0;return N.createElement(c1,sr(sn(sn({},t()),c9({selectedItem:r,getInputProps:l,getToggleButtonProps:t,ariaMenuName:c,isOpen:d})),{hasValue:n||i,disabled:a,columns:"".concat(h?"auto":""," 1fr auto"),hasError:u}),h&&("string"==typeof f?N.createElement(ci,{radius:"50",width:3,height:3,overflow:"hidden"},N.createElement(ct,{alignment:"center"},N.createElement(c2,{src:f,alt:"",isDisabled:a}))):N.createElement(lz,{icon:c6({options:s,selectedItem:r,selectedOptionValue:i}),color:v})),N.createElement(sJ,{hasEllipsis:!0,color:p?"bodyDimmed":"inherit"},c8({options:s,selectedItem:r,selectedOptionValue:i,selectPlaceholder:o})),N.createElement(lz,{icon:N.createElement(cN,null),color:v}))},ut=function(e){var t=e.selectedOptionValue,n=e.selectedItem,r=e.trigger,i=e.getToggleButtonProps,o=e.options,a=e.selectPlaceholder,s=e.isDisabled,l=e.getInputProps,c=e.ariaMenuName,u=e.hasError,d=e.errorMessage,f=e.isOpen;return r(sr(sn({},n||(t?c7({options:o,selectedOptionValue:t}):void 0)),{placeholder:a,isDisabled:s,hasError:u,errorMessage:d}),sn(sn({},i()),c9({selectedItem:n,getInputProps:l,getToggleButtonProps:i,ariaMenuName:c,isOpen:f})))},un=function(e,t){if(!c4(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}}},ur=function(e,t,n,r,i,o,a,s){var l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],c=!n&&e.value===r||n&&n.value===e.value;return N.createElement(cq,sr(sn({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":c,onMouseMove:function(){a&&s(!1)}})),{isDisabled:e.isDisabled,hasDivider:e.hasDivider,isHighlighted:i===t,keyboardMove:a&&i===t,isSelected:c,showDeselectIcon:l&&c}),e.title)},ui=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.highlightedIndex,o=e.getItemProps,a=e.search,s=e.keyboardMove,l=e.setKeyboardMove,c=e.allowsDeselect,u=si(e,["options","selectedItem","selectedOptionValue","highlightedIndex","getItemProps","search","keyboardMove","setKeyboardMove","allowsDeselect"]);if(!c4(t))return N.createElement(cJ,sn({search:a},u),t.map(function(e,t){return ur(e,t,n,r,i,o,s,l,c)}));var d=0;return N.createElement(cJ,sn({search:a},u),t.map(function(e){var t="group-".concat(e.group.replace(/\s+/g,"-"));return N.createElement("li",{key:t},N.createElement(l6,{left:"medium",top:"small",bottom:"xsmall"},N.createElement(sJ,{id:t,size:"body-sm",fontWeight:"bold"},e.group)),N.createElement(c5,{role:"group","aria-labelledby":t},e.items.map(function(e){return ur(e,d++,n,r,i,o,s,l,c)})))}))},uo=function(e){var t,n=e.container,r=e.onChange,i=e.menuZIndex,o=void 0===i?1100:i,a=e.menuMaxWidth,s=e.menuMaxHeight,l=void 0===s?34:s,c=e.menuMinWidth,u=e.triggerOffset,d=e.ariaMenuName,f=e.selectedOptionValue,h=e.onOuterClick,p=e.options,v=e.placeholder,g=e.menuPosition,m=void 0===g?"left":g,b=e.isDisabled,y=e.onOpenChange,w=e.trigger,_=e.hasError,k=e.errorMessage,x=void 0===k?"Oops, that didn't work.":k,C=e.search,E=e.allowsDeselect,S=void 0!==E&&E,O=si(e,["container","onChange","menuZIndex","menuMaxWidth","menuMaxHeight","menuMinWidth","triggerOffset","ariaMenuName","selectedOptionValue","onOuterClick","options","placeholder","menuPosition","isDisabled","onOpenChange","trigger","hasError","errorMessage","search","allowsDeselect"]),I=cF(n),A=(0,T._)((0,N.useState)(!1),2),P=A[0],L=A[1],D=(0,T._)((0,N.useState)(!1),2),M=D[0],R=D[1],j=(0,T._)((0,N.useState)(""),2),F=j[0],V=j[1],z=function(e){var t,n=e.target.value;V(n),null==(t=null==C?void 0:C.onSearch)||t.call(C,n)},H=(0,T._)((0,N.useState)(null!=(t=un(f,p))?t:null),2),B=H[0],Z=H[1],U={itemToString:function(e){return e?e.value:""},onChange:function(e){var t=B&&e&&e.value===B.value||!B&&e&&e.value===f;S&&t?(Z(null),L(!1),r&&r(null)):(Z(null!=e?e:null),e?r&&r(e):S&&r&&r(null))},onStateChange:function(e){void 0!==e.isOpen&&L(e.isOpen)},onOuterClick:h,environment:I,selectedItem:B,isOpen:P};I&&(U.environment=I);var W="leftTop"===m||"rightTop"===m,K=rK({isOpen:P,container:n,ResizeObserver:ii,placement:cZ[m],auto:!W,snap:!W,triggerOffset:void 0===u?0:u}),G=K.layerProps,$=K.triggerProps,q=K.renderLayer,J=K.triggerBounds,Y=(0,N.useMemo)(function(){if(W&&J){var e=Math.floor(Math.max(0,window.innerHeight-J.top-2*sR)/sR);return l?Math.min(l,e):e}return l},[W,l,J]);(0,N.useEffect)(function(){var e,t=null!=(e=un(f,p))?e:null;(null==t?void 0:t.value)!==(null==B?void 0:B.value)&&Z(t)},[f,p,B]),(0,N.useEffect)(function(){var e;y&&y(P),P||(V(""),null==(e=null==C?void 0:C.onSearch)||e.call(C,""))},[P,y,null==C?void 0:C.onSearch]);var X=function(e){switch(e.key){case"ArrowDown":case"ArrowUp":case"ArrowLeft":case"ArrowRight":case"Enter":case" ":case"Tab":case"Escape":R(!0)}};return p=(0,N.useMemo)(function(){if(C)return C.onSearch?p:c4(p)?("startsWith"===C.searchType?p.map(function(e){return sr(sn({},e),{items:e.items.filter(function(e){return cV(e.title).toLowerCase().startsWith(F.toLowerCase())})})}):p.map(function(e){return sr(sn({},e),{items:e.items.filter(function(e){return cV(e.title).toLowerCase().includes(F.toLowerCase())})})})).reduce(function(e,t){return t.items.length>0&&e.push(t),e},[]):"startsWith"===C.searchType?p.filter(function(e){return cV(e.title).toLowerCase().startsWith(F.toLowerCase())}):p.filter(function(e){return cV(e.title).toLowerCase().includes(F.toLowerCase())});return p},[p,F,null==C?void 0:C.onSearch,null==C?void 0:C.searchType]),N.createElement(c0,sn({},O),N.createElement(n9,sr(sn({},U),{stateReducer:function(e,t){return S&&t.type===n9.stateChangeTypes.clickItem&&t.selectedItem&&(e.selectedItem&&t.selectedItem.value===e.selectedItem.value||!e.selectedItem&&t.selectedItem.value===f)?sr(sn({},t),{selectedItem:null,isOpen:!1}):t.type===n9.stateChangeTypes.keyDownEscape?{isOpen:!1}:t}}),function(e){var t=e.getItemProps,n=e.getInputProps,r=e.getMenuProps,i=e.getToggleButtonProps,s=e.isOpen,l=e.inputValue,u=e.highlightedIndex,h=e.selectedItem;return N.createElement("div",{role:"presentation","aria-expanded":void 0},N.createElement("div",sn({},$),w?N.createElement(ut,{getToggleButtonProps:function(){return sn({},i({onKeyDown:X}))},selectedItem:h,selectedOptionValue:f,selectPlaceholder:v,isDisabled:b,options:p,trigger:w,getInputProps:n,ariaMenuName:d,hasError:_,errorMessage:x,isOpen:s}):N.createElement(ue,{getToggleButtonProps:function(){return sn({},i({onKeyDown:X}))},selectedItem:h,selectedOptionValue:f,selectPlaceholder:v,options:p,inputValue:l,isDisabled:b,getInputProps:n,ariaMenuName:d,hasError:_,isOpen:s})),P&&s&&q(N.createElement("div",sr(sn({},G),{style:sr(sn({},G.style),{zIndex:o,width:c?"auto":null==J?void 0:J.width})}),N.createElement(ui,{options:p,selectedItem:h,selectedOptionValue:f,highlightedIndex:u,getItemProps:t,position:m,downshiftMenuProps:function(){return r({onKeyDown:X})},maxWidth:a,maxHeight:Y,minWidth:c,search:C&&N.createElement(cQ,{ariaLabel:C.searchPlaceholder,placeholder:C.searchPlaceholder,value:F,onChange:z,getInputProps:n}),keyboardMove:M,setKeyboardMove:R,allowsDeselect:S}))),_&&!P&&N.createElement(c3,null,x))}))},ua=function(e,t){var n=document;(0,N.useLayoutEffect)(function(){var r=null==n?void 0:n.documentElement,i=null==n?void 0:n.body;if(void 0!=n&&r&&i){if(t){var o=window.innerWidth-r.clientWidth,a=parseInt(window.getComputedStyle(i).getPropertyValue("padding-right"),10)||0;switch(e){case"html":r.style.position="relative",r.style.overflow="hidden",i.style.paddingRight="".concat(a+o,"px");break;case"body":i.style.setProperty("position","relative"),i.style.setProperty("overflow","hidden"),i.style.setProperty("padding-right","".concat(a+o,"px"));break;default:return}}return function(){switch(e){case"html":r.style.position="",r.style.overflow="",i.style.paddingRight="";break;case"body":i.style.removeProperty("position"),i.style.removeProperty("overflow"),i.style.removeProperty("padding-right");break;default:return}}}},[n,t,e])},us=eb.div(oN(),function(e){return sh(e.backgroundColor)},function(e){return e.zIndex}),ul=eb.div(oH()),uc=N.forwardRef(function(e,t){var n=e.children,r=e.isOpen,i=e.zIndex,o=e.backgroundColor,a=si(e,["children","isOpen","zIndex","backgroundColor"]),s=iu(r,300),l=s.stage,c=s.shouldMount;return ua("html",r),N.createElement(N.Fragment,null,c&&N.createElement(us,sn({ref:t,backgroundColor:void 0===o?"backdropDark":o,zIndex:void 0===i?1e3:i,style:{transition:"opacity ".concat(300,"ms"),opacity:"enter"===l?1:0}},a),N.createElement(ul,null,n)))});uc.displayName="Backdrop";var uu=eb.div(oB(),function(e){return e.rows}),ud=eb.dialog(oZ(),function(e){return sD(sv(e.maxHeight),e.placement).top},sh("overlay"),sh("body"),function(e){return sD(e.maxHeight,e.placement).bottom},sI("large"),sO("xlarge"),function(e){return"bottom"===e.placement?"initial":void 0},function(e){return"bottom"===e.placement?"initial":void 0},function(e){return sg("max-height",e.maxHeight)},function(e){return sg("max-width",e.maxWidth)},function(e){return sD(e.maxHeight,e.placement).position}),uf=eb.div(oU(),sp(1.5),sp(1.5)),uh=eb.div(oW()),up=eb.div(oK(),function(e){return e.bottom}),uv=eb.div(oG(),function(e){return e.hasDividers?"var(--lns-space-medium)":e.top}),ug=eb.div(o$(),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)"},sh("border"),function(e){return e.hasDividers?"1px 0":"0"}),um=eb.div(oq(),function(e){return ub(e.maxHeight)},function(e){return ub(e.maxHeight)}),ub=function(e){return"number"==typeof e?sg("max-height",e):"max-height: "+e},uy=function(e){var t=e.children,n=e.onCloseClick,r=e.isOpen,i=e.maxWidth,o=e.maxHeight,a=void 0===o?"70vh":o,s=e.placement,l=e.ariaLabel,c=e.ariaModal,u=e.ariaLabelledBy,d=e.ref,f=e.removeClose,h=e.initialFocus,p=e.closeOnEscape,v=void 0===p||p,g=si(e,["children","onCloseClick","isOpen","maxWidth","maxHeight","placement","ariaLabel","ariaModal","ariaLabelledBy","ref","removeClose","initialFocus","closeOnEscape"]),m=function(e){"Escape"===e.key&&v&&(e.preventDefault(),f||n(e))};return(0,N.useEffect)(function(){return window.addEventListener("keydown",m),function(){window.removeEventListener("keydown",m)}},[r,n]),ua("html",r),N.createElement(ih(),{active:r,focusTrapOptions:sn({clickOutsideDeactivates:!1,allowOutsideClick:!0},void 0!==h?{initialFocus:h}:{})},N.createElement(ud,sn({open:r,maxWidth:void 0===i?60:i,maxHeight:a,placement:void 0===s?"center":s,onClick:function(e){return e.stopPropagation()},ref:d,"aria-label":l,"aria-modal":c,"aria-labelledby":u},g),!f&&n&&N.createElement(uf,null,N.createElement(cI,{altText:"Close",icon:N.createElement(cB,null),size:"small",onClick:n})),N.createElement(um,sr(sn({},f?{tabIndex:0}:{tabIndex:-1}),{maxHeight:a}),t)))},uw=N.forwardRef(function(e,t){var n,r=e.children,i=e.id,o=e.isOpen,a=e.mainButton,s=e.secondaryButton,l=e.alternativeButton,c=e.title,u=e.noPadding,d=e.onCloseClick,f=e.onBackgroundClick,h=e.onKeyDown,p=e.hasDividers,v=e.maxHeight,g=e.maxWidth,m=e.placement,b=e.zIndex,y=e.ariaLabel,w=e.ariaModal,_=e.ariaLabelledBy,k=e.initialFocus,x=si(e,["children","id","isOpen","mainButton","secondaryButton","alternativeButton","title","noPadding","onCloseClick","onBackgroundClick","onKeyDown","hasDividers","maxHeight","maxWidth","placement","zIndex","ariaLabel","ariaModal","ariaLabelledBy","initialFocus"]),C=(0,N.useRef)(null),E=i?"".concat(i,"-modal-title"):"modal-title",S=!!a||!!s||!!l;return(0,N.useEffect)(function(){if(o&&C.current){var e=C.current.parentElement;if(e)return Array.from(e.children).filter(function(e){return e!==C.current&&e instanceof HTMLElement}).forEach(function(e){e.hasAttribute("aria-hidden")||(e.setAttribute("aria-hidden","true"),e.setAttribute("data-lens-modal-hidden","true"))}),function(){document.querySelectorAll("[data-lens-modal-hidden]").forEach(function(e){e.removeAttribute("aria-hidden"),e.removeAttribute("data-lens-modal-hidden")})}}},[o]),N.createElement(uc,sn({ref:C,isOpen:o,zIndex:void 0===b?1e3:b},x),N.createElement(ci,{height:"100%",onClick:function(e){if(f){e.stopPropagation(),f(e);return}d(e)},onKeyDown:h},N.createElement(uy,{ref:t,id:i,isOpen:o,maxHeight:void 0===v?"70vh":v,maxWidth:void 0===g?60:g,placement:void 0===m?"center":m,onCloseClick:d,ariaLabel:y,ariaModal:void 0===w||w,ariaLabelledBy:null!=(n=null!=_?_:E)?n:void 0,initialFocus:k},N.createElement(uu,{rows:"".concat(c?"auto ":""," ").concat(r?"1fr ":""," ").concat(S?"auto":"")},c&&N.createElement(up,{bottom:r?"var(--lns-space-medium)":"var(--lns-space-xlarge)"},N.createElement(sJ,{htmlTag:"h1",variant:"title",id:E},c)),N.createElement(ug,{noPadding:u,hasDividers:p,hasTitle:!!c,hasButtons:S},r&&r),S&&N.createElement(uv,{top:r?"var(--lns-space-xlarge)":0,hasDividers:p},l,N.createElement(uh,null,s&&N.createElement(l6,{right:"small",isInline:!0},s),a))))))}),u_={neutral:{color:sh("inherit"),focusRing:sA(),underline:"inactive"},primary:{color:sh("primary"),focusRing:sA(),underline:"inactive"},subtle:{color:sh("body"),focusRing:sA(),underline:"hover"}},uk={enabled:(0,ey.iv)(oJ()),disabled:(0,ey.iv)(oY(),sh("disabledContent"))},ux={isButton:(0,ey.iv)(oX())};eb.a(o0(),function(e){return!e.disabled&&"color: ".concat(u_[e.variant].color)},function(e){return e.disabled?uk.disabled:uk.enabled},function(e){return"button"===e.as&&ux.isButton},function(e){return"text-decoration: ".concat("inactive"===u_[e.variant].underline?"underline":"none")},function(e){return e.noWrap&&(0,ey.iv)(oQ())},function(e){return"text-decoration: ".concat("hover"===u_[e.variant].underline?"underline":"none")},sA()),Object.keys(u_);var uC={small:{padding:"".concat(sp(1.5)," ").concat(sp(1.75)),textSize:"small"},medium:{padding:"".concat(sp(1.5)," var(--lns-formFieldHorizontalPadding)"),textSize:"medium"}};eb.textarea(o1(),sh("formFieldBackground"),function(e){return uC[e.size].padding},sO("250"),function(e){return e.error?"var(--lns-color-danger)":"var(--lns-color-formFieldBorder)"},function(e){return sE(uC[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)"},sh("disabledContent"),sh("disabledBackground"),sh("bodyDimmed"));var uE=eb.div(o2()),uS=eb.ul(o5()),uO=eb.span(o3()),uI=function(e){return Array.isArray(e)&&e.length>0&&"group"in e[0]},uA=function(e){var t=e.options,n=e.selectedOptionValue;if(!t||!n)return{icon:null,title:null};if(!uI(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 l=a.value.items.find(function(e){return e.value===n});if(l)return l}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return{icon:null,title:null}},uP=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue;return n?n.icon:r?uA({options:t,selectedOptionValue:r}).icon:void 0},uL=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.placeholder;return n?n.title:r?uA({options:t,selectedOptionValue:r}).title:i},uD=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(", ")}},uM=eb.button(o4()),uR=eb.input(o7(),sh("formFieldBackground"),function(e){return e.id},function(e){return e.hasIcon?sp(5.5):"var(--lns-formFieldHorizontalPadding)"},function(e){return e.hasAddOn?sp(5.5):"var(--lns-formFieldHorizontalPadding)"},function(e){return e.hasError?"var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger)":"var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)"},sg("font-size","medium"),function(e){return e.hasError?"var(--lns-color-danger)":"var(--lns-color-blurple)"},sh("disabledContent"),sh("disabledBackground"),sh("bodyDimmed")),uT=eb.div(o6(),sp(6)),uj=eb.div(o8(),sp(6)),uF=eb.div(o9(),function(e){return e.hasIcon?sp(5.5):"var(--lns-formFieldHorizontalPadding)"},sp(5.5)),uV=eb.img(ae(),function(e){return e.isDisabled?.5:1}),uz=function(e){var t=e.selectedItem,n=e.selectedOptionValue,r=e.placeholder,i=e.isDisabled,o=e.options,a=e.getInputProps,s=e.ariaMenuName,l=e.isOpen,c=e.onInputFocus,u=e.hasError,d=e.hasLoader,f=e.inputValue,h=e.handleInputValueChange,p=e.inputRef,v=e.id,g=e.onKeyDown,m=uP({options:o,selectedItem:t,selectedOptionValue:n}),b=!!m,y=i?"disabledContent":void 0,w=function(){i||c()},_=a({id:v,"aria-labelledby":void 0,disabled:i,onFocus:w,onClick:w,value:f,onBlur:function(){h("")},onChange:function(e){return h(e.target.value)}}),k=sr(sn(sn({role:"combobox","aria-autocomplete":"list","aria-haspopup":"listbox","aria-expanded":l},uD({selectedItem:t,getInputProps:a,ariaMenuName:s})),_),{onKeyDown:function(e){var t;null==g||g(e),null==(t=_.onKeyDown)||t.call(_,e)}}),x=!f&&!n;return N.createElement(uM,{onClick:w,disabled:i},b&&N.createElement(uT,null,"string"==typeof m?N.createElement(ci,{radius:"50",width:3,height:3,overflow:"hidden"},N.createElement(ct,{alignment:"center"},N.createElement(uV,{src:m,alt:"",isDisabled:i}))):N.createElement(lz,{icon:m,color:y})),N.createElement(uR,sr(sn({ref:p},k),{hasIcon:b,hasAddOn:!0,hasError:u,isDisabled:i})),!f&&N.createElement(uF,{hasIcon:b},N.createElement(sJ,{hasEllipsis:!0,color:x?"bodyDimmed":"inherit"},uL({options:o,selectedItem:t,selectedOptionValue:n,placeholder:r}))),N.createElement(uj,null,d?N.createElement(l$,{size:"small"}):N.createElement(lz,{icon:N.createElement(cN,null),color:y})))},uN=function(e,t){if(!uI(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 l=a.value.items.find(function(t){return t.value===e});if(l)return l}}catch(e){r=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return null},uH=function(e,t,n,r,i,o,a,s){var l=!n&&e.value===r||n&&n.value===e.value;return N.createElement(cq,sr(sn({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":l,onMouseMove:function(){a&&s(!1)}})),{isDisabled:e.isDisabled,hasDivider:e.hasDivider,isHighlighted:i===t,keyboardMove:a&&i===t,isSelected:l}),e.title)},uB=function(e){var t=e.options,n=e.selectedItem,r=e.selectedOptionValue,i=e.highlightedIndex,o=e.getItemProps,a=e.keyboardMove,s=e.setKeyboardMove,l=e.isLoading,c=e.loadingMessage,u=e.emptyResultsMessage,d=e.hasAvailableOptions,f=si(e,["options","selectedItem","selectedOptionValue","highlightedIndex","getItemProps","keyboardMove","setKeyboardMove","isLoading","loadingMessage","emptyResultsMessage","hasAvailableOptions"]),h=c||N.createElement(l$,null);if(l)return N.createElement(cJ,sn({as:"div"},f),N.createElement(ci,{padding:"large"},N.createElement(ct,{alignment:"center"},h)));if(!d)return N.createElement(cJ,sn({as:"div"},f),N.createElement(ci,{padding:"large"},N.createElement(ct,{alignment:"center"},u||"No results")));if(!uI(t))return N.createElement(cJ,sn({},f),t.map(function(e,t){return uH(e,t,n,r,i,o,a,s)}));var p=0;return N.createElement(cJ,sn({},f),t.map(function(e){var t="group-".concat(e.group.replace(/\s+/g,"-"));return N.createElement("li",{key:t},N.createElement(l6,{left:"medium",top:"small",bottom:"xsmall"},N.createElement(sJ,{id:t,size:"body-sm",fontWeight:"bold",htmlTag:e.headingTag||"h2"},e.group)),N.createElement(uS,{role:"group","aria-labelledby":t},e.items.map(function(e){return uH(e,p++,n,r,i,o,a,s)})))}))};(0,N.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,l=e.menuMaxHeight,c=void 0===l?34:l,u=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,b=e.isDisabled,y=e.onOpenChange,w=e.isLoading,_=e.loadingMessage,k=e.emptyResultsMessage,x=e.errorMessage,C=e.id,E=si(e,["container","onOptionChange","onInputValueChange","menuZIndex","menuMaxWidth","menuMaxHeight","menuMinWidth","ariaMenuName","selectedOptionValue","onOuterClick","options","placeholder","menuPosition","isDisabled","onOpenChange","isLoading","loadingMessage","emptyResultsMessage","errorMessage","id"]),S=cF(n),O=(0,N.useRef)(null),I=(0,N.useCallback)(function(e){O.current=e,t&&("function"==typeof t?t(e):t.current=e)},[t]),A=(0,T._)((0,N.useState)(""),2),P=A[0],L=A[1],D=(0,T._)((0,N.useState)(!1),2),M=D[0],R=D[1],j=(0,T._)((0,N.useState)(!1),2),F=j[0],V=j[1],z=(0,T._)((0,N.useState)(uN(f,p)),2),H=z[0],B=z[1],Z=(0,T._)((0,N.useState)(H),2),U=Z[0],W=Z[1],K=function(e){L(e),i&&i(e)},G={itemToString:function(e){return e?e.value:""},onChange:function(e){var t=e||null;W(t),r&&r(t)},onOuterClick:h,environment:S,selectedItem:U,isOpen:M};S&&(G.environment=S);var $=rK({isOpen:M,container:n,ResizeObserver:ii,placement:cZ[m],auto:!0,snap:!0}),q=$.layerProps,J=$.triggerProps,Y=$.renderLayer,X=$.triggerBounds;(0,N.useEffect)(function(){if((f||null)!=(null==H?void 0:H.value)){var e=uN(f,p);B(e),W(e),L("")}},[f,p,H]),(0,N.useEffect)(function(){var e;y&&y(M),M||null==(e=O.current)||e.blur()},[M,y]);var Q=(0,N.useMemo)(function(){return!!Array.isArray(p)&&(uI(p)?p.some(function(e){return e.items.length>0}):p.length>0)},[p]),ee=function(e){switch(e.key){case"ArrowDown":case"ArrowUp":case"ArrowLeft":case"ArrowRight":case"Enter":case" ":case"Tab":case"Escape":V(!0)}};return N.createElement(uE,sn({},E),N.createElement(n9,sr(sn({},G),{stateReducer:function(e,t){if(void 0!==t.isOpen){if(t.type===n9.stateChangeTypes.keyDownEscape)return R(!1),{isOpen:!1};R(t.isOpen)}return t}}),function(e){var t=e.getItemProps,n=e.getInputProps,r=e.getMenuProps,i=e.isOpen,o=e.highlightedIndex,l=e.selectedItem;return N.createElement("div",{role:"presentation"},N.createElement("div",sn({},J),N.createElement(uz,{inputRef:I,selectedItem:l,selectedOptionValue:f,placeholder:v,isDisabled:b,options:p,getInputProps:n,ariaMenuName:d,inputValue:P,handleInputValueChange:K,isOpen:M&&i,onInputFocus:function(){R(!0)},hasLoader:w,hasError:!!x,id:C,onKeyDown:ee})),M&&i&&Y(N.createElement("div",sr(sn({},q),{style:sr(sn({},q.style),{zIndex:a,width:u?"auto":null==X?void 0:X.width})}),N.createElement(uB,{options:p,selectedItem:l,selectedOptionValue:f,hasAvailableOptions:Q,highlightedIndex:o,getItemProps:t,keyboardMove:F,setKeyboardMove:V,isLoading:w,loadingMessage:_,emptyResultsMessage:k,position:m,downshiftMenuProps:function(){return r({onKeyDown:ee})},maxWidth:s,maxHeight:c,minWidth:u}))),x&&!M?N.createElement(uO,null,x):null)}))}).displayName="Typeahead",eb.div(at());var uZ=eb.label(an()),uU=eb.input(ar(),sh("body"),sh("body"),sh("disabledBackground"),sh("blurple"),sh("disabledContent"),sA()),uW=eb.span(ai(),sp(2.25),sp(2.25),sO("full"),sp(1),sp(1),sO("full"),sh("white")),uK=(0,N.forwardRef)(function(e,t){var n=e.isDisabled,r=e.isChecked,i=e.onFocus,o=e.onChange,a=e.onBlur,s=si(e,["isDisabled","isChecked","onFocus","onChange","onBlur"]);return N.createElement(uZ,{htmlFor:s.id},N.createElement(uU,sn({type:"radio",disabled:n,checked:r,onFocus:i,onChange:o,onBlur:a,ref:t},s)),N.createElement(uW,{className:"RadioBox"}))}),uG={medium:{switchHeight:16,switchWidth:32,knobOffset:2},large:{switchHeight:20,switchWidth:36,knobOffset:2}},u$={knob:{active:{enabled:sh("white"),disabled:sh("disabledContent")},inactive:{enabled:sh("white"),disabled:sh("disabledContent")}},track:{active:{enabled:sh("blurple"),disabled:sh("disabledBackground")},inactive:{enabled:sh("grey6"),disabled:sh("disabledBackground")}}},uq=function(e){return uG[e.switchSize].switchHeight-2*uG[e.switchSize].knobOffset},uJ=eb.label(ao()),uY=eb.input(aa(),function(e){return uG[e.switchSize].switchWidth},function(e){return uG[e.switchSize].switchHeight},sP(),u$.track.inactive.enabled,u$.track.inactive.disabled,u$.track.active.enabled,u$.track.active.disabled,function(e){return uG[e.switchSize].switchWidth-uG[e.switchSize].switchHeight}),uX=eb.div(as(),function(e){return uG[e.switchSize].switchWidth},function(e){return uG[e.switchSize].switchHeight},function(e){return e.isDisabled?"default":"pointer"},function(e){return uG[e.switchSize].knobOffset},function(e){return uG[e.switchSize].knobOffset},function(e){return uq(e)},function(e){return uq(e)},function(e){return e.isDisabled?u$.knob.active.disabled:u$.knob.active.enabled}),uQ={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)"}}},u0=eb.div(al(),function(e){return e.direction&&uQ[e.direction].wrapper}),u1=eb.label(ac(),function(e){var t;return e.direction&&(null==(t=uQ[e.direction])?void 0:t.label)},function(e){return e.isLabelClickable&&"cursor: pointer"}),u2=eb.span(au()),u5=[uK,cR,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,l=e.ariaDescribedby,c=si(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 N.createElement(uJ,{htmlFor:c.id},N.createElement(uY,sr(sn({},c),{checked:t,disabled:n,onChange:r,type:"checkbox",switchSize:o,"aria-labelledby":a,"aria-label":s,"aria-describedby":l,"aria-checked":t})),N.createElement(uX,{className:"SwitchBox",isDisabled:n,isActive:t,switchSize:o}))}],u3=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=si(e,["label","children","errorMessage","labelFor","direction"]),l=N.Children.toArray(n).some(function(e){var t;return(0,N.isValidElement)(e)&&"string"!=typeof e.type&&(t=e.type,u5.includes(t))}),c=t&&N.createElement(u1,{direction:a,htmlFor:i,isLabelClickable:l},t);return N.createElement(u0,sn({direction:a},s),"row"===a&&N.createElement(N.Fragment,null,n,c),"column"===a&&N.createElement(N.Fragment,null,c,n),"row-reverse"===a&&N.createElement(N.Fragment,null,c,n),r&&N.createElement(u2,null,r))},u4={info:{bgColor:"var(--lns-color-blurple)",icon:N.createElement(function(){return N.createElement(ip.Z,{label:"",testId:"ads-refreshed-icon"})},null),color:"var(--lns-color-white)",fontFamily:"inherit"},warning:{bgColor:"var(--lns-color-warning)",icon:N.createElement(function(e){return N.createElement("svg",sn({viewBox:"0 0 24 24",fill:"none"},e),N.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:N.createElement(function(){return N.createElement(n_.Z,{label:"",testId:"ads-refreshed-icon"})},null),color:"var(--lns-color-white)",fontFamily:"inherit"},internal:{icon:N.createElement("span",{role:"img"},"\uD83D\uDD14"),color:"var(--lns-color-tealLight)",bgColor:"var(--lns-color-grey8)",fontFamily:"var(--lns-fontFamily-code)"}};eb.aside(ad(),function(e){return"background-color: ".concat(u4[e.severity].bgColor)},function(e){return"font-family: ".concat(u4[e.severity].fontFamily)},function(e){return"color: ".concat(u4[e.severity].color)},350,350,function(e){return e.isOpen?"1":"0"},function(e){return e.isOpen?"translateY(0px)":"translateY(-100%)"});var u7="web-app",u6="chrome-extension",u8=function(e){switch(e){case u7:return"unset";case u6:return sp(4);default:return"unset"}},u9=function(e){switch(e){case u7:return sp(4);case u6:return"unset";default:return sp(4)}};eb.div(ah(),function(e){var t,n;return t=e.toastDuration,n=e.platform,(0,ey.F4)(af(),sp(n===u6?-8:8),300/t*100,100-300/t*100)},function(e){return e.toastDuration},sh("backgroundInverse"),sO("250"),function(e){return u8(e.platform)},function(e){return u9(e.platform)},sI("large"),sh("bodyInverse"),sp(50),sp(50),sp(1.5),sp(1.5),function(e){return e.zIndex}),eb.div(ap());var de={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"},dt=sT.small.fontSize*sT.small.lineHeight,dn=eb.div(av(),sh("backgroundInverse"),sh("bodyInverse"),sO("150"),sS("bold"),sE("small"),sI("medium"),function(e){return sg("max-width",e.maxWidth)},sp((4-dt)/2),sp(1.5),function(e){return e.zIndex}),dr=eb.div(ag(),sh("grey7"),sh("grey3"),sS("bold"),sE("small"),sp(.5),sp(.5)),di=function(e){var t=e.children;return N.createElement(dr,null,t)},da=function(e){var t=e.children,n=e.maxWidth,r=e.onMouseEnter,i=e.onMouseLeave,o=e.layerProps,a=e.zIndex,s=si(e,["children","maxWidth","onMouseEnter","onMouseLeave","layerProps","zIndex"]);return N.createElement(dn,sn(sn({maxWidth:n,onMouseEnter:r,onMouseLeave:i,zIndex:a},o),s),t)},ds=eb.div(am(),function(e){return e.isInline?"inline-block":"block"},function(e){return e.verticalAlign&&"vertical-align: ".concat(e.verticalAlign)});Object.keys(de);var dl=function(e){var t=e.ariaLive,n=e.children,r=e.content,i=e.shortcut,o=e.placement,a=e.keepOpen,s=void 0===a||a,l=e.triggerOffset,c=e.maxWidth,u=e.isInline,d=e.isDisabled,f=e.container,h=e.tabIndex,p=e.zIndex,v=e.verticalAlign,g=e.delay,m=e.tooltipId,b=si(e,["ariaLive","children","content","shortcut","placement","keepOpen","triggerOffset","maxWidth","isInline","isDisabled","container","tabIndex","zIndex","verticalAlign","delay","tooltipId"]),y=(0,T._)(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,l=(0,N.useState)(!1),c=l[0],u=l[1],d=(0,N.useRef)(null),f=(0,N.useRef)(A.IDLE),h=(0,N.useRef)(!1),p=(0,N.useCallback)(function(){clearTimeout(d.current),d.current=null,f.current=A.IDLE},[]);function v(e,t){if(f.current===A.ENTERING&&d.current&&p(),c){if(t){u(!1),d.current=null,f.current=A.IDLE;return}f.current=A.LEAVING,d.current=window.setTimeout(function(){u(!1),d.current=null,f.current=A.IDLE},o)}}return(0,N.useEffect)(function(){function e(){c&&s&&(p(),u(!1))}return window.addEventListener("scroll",e,!0),function(){window.removeEventListener("scroll",e,!0),d.current&&clearTimeout(d.current)}},[c,s,p]),[c,{onMouseEnter:function(){f.current===A.LEAVING&&d.current&&p(),c||(f.current=A.ENTERING,d.current=window.setTimeout(function(){u(!0),d.current=null,f.current=A.IDLE},r))},onMouseLeave:v,onTouchStart:function(){h.current=!1},onTouchMove:function(){h.current=!0},onTouchEnd:function(){h.current||c||u(!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===g?"immediate":g),delayLeave:200}),2),w=y[0],_=y[1],k=(0,T._)((0,N.useState)(!1),2),x=k[0],C=k[1],E=(0,T._)((0,N.useState)(!1),2),S=E[0],O=E[1],I=(0,T._)((0,N.useState)(!1),2),P=I[0],L=I[1],D=(0,N.useRef)(),M=!r||d;(0,N.useEffect)(function(){if(M){O(!1);return}var e=x&&s;(w||e)&&O(!0),w||e||P||O(!1)},[r,d,x,M,s,O,w,P]);var R=function(){O(!1),L(!1)};(0,N.useEffect)(function(){if(S){var e=function(e){"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),R())};return window.addEventListener("keydown",e,!0),function(){window.removeEventListener("keydown",e,!0)}}},[S,O]);var j=rK({isOpen:S,placement:de[void 0===o?"topCenter":o],ResizeObserver:ii,triggerOffset:void 0===l?4:l,container:f,auto:!0}),F=j.layerProps,V=j.triggerProps,z=j.renderLayer;return N.createElement(N.Fragment,null,N.createElement(ds,sr(sn(sn({},V),_),{onClick:function(e){0===e.detail&&L(!0)},onFocus:function(){L(!1),M||O(!0)},onBlur:R,isInline:void 0===u||u,verticalAlign:void 0===v?"middle":v,tabIndex:M?-1:void 0===h?0:h,ref:rE(V.ref,D)}),n),void 0!==t&&t&&N.createElement("span",{className:"srOnly","aria-live":"polite"},S&&r),S&&z(N.createElement("div",sr(sn({},F),{style:sr(sn({},F.style),{zIndex:void 0===p?1100:p})}),N.createElement(da,sn({maxWidth:void 0===c?26:c,onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)},role:"tooltip",id:m},b),N.createElement(c_,{gap:"small"},N.createElement(sJ,{size:"small",fontWeight:"bold"},r),i&&N.createElement(c_,{gap:"xsmall"},i.map(function(e,t){return N.createElement(di,{key:t},e)})))))))},dc=(0,ey.iv)(ab());eb.div(ay(),function(e){return sE(e.size)},function(e){return e.animated&&dc},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 "}),eb.div(aw(),function(e){return sO(e.radius)},function(e){return e.height},function(e){return e.width},function(e){return e.animated&&dc});var du=function(e){return N.createElement("defs",null,N.createElement("radialGradient",{id:"ai-logo-".concat(e,"-gradient-1"),cx:"50%",cy:"50%",r:"100%",fx:"0%",fy:"0%"},N.createElement("stop",{offset:"30%",stopColor:"#97ACFD"}),N.createElement("stop",{offset:"33%",stopColor:"#B3B2F4"}),N.createElement("stop",{offset:"43%",stopColor:"#DEB0E0"}),N.createElement("stop",{offset:"50%",stopColor:"#DFC6E5"}),N.createElement("stop",{offset:"72%",stopColor:"#6663F6"})),N.createElement("radialGradient",{id:"ai-logo-".concat(e,"-gradient-2"),r:"100%",fx:"40%",fy:"72%"},N.createElement("stop",{offset:"20%",stopColor:"#615CF500"}),N.createElement("stop",{offset:"32%",stopColor:"#615CF550"}),N.createElement("stop",{offset:"48%",stopColor:"#6663F6"})),N.createElement("radialGradient",{id:"ai-logo-".concat(e,"-gradient-3"),r:"100%",fx:"0%",fy:"100%"},N.createElement("stop",{offset:"25%",stopColor:"#6663F6"}),N.createElement("stop",{offset:"38%",stopColor:"#6E68F450"}),N.createElement("stop",{offset:"45%",stopColor:"#6E68F400"})))},dd="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",df=function(e){var t=e.brand,n=e.symbolColor,r=e.customId,i=si(e,["brand","symbolColor","customId"]);switch(t){case"ai":return N.createElement("svg",sn({"aria-label":"Loom AI",viewBox:"0 0 30 31",fill:"none"},i),N.createElement("title",null,"Loom AI"),n?N.createElement("path",{d:dd,fill:sh(n)}):N.createElement(N.Fragment,null,du(r),(0,F._)([,,,]).map(function(e,t){return N.createElement("path",{key:t,d:dd,fill:"url(#ai-logo-".concat(r,"-gradient-").concat(t+1)})})));case"apptile":return N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 40 40",fill:"none"},i),N.createElement("title",null,"Loom"),N.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?sh(n):sh("blurple")}),N.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 N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 40 40",fill:"none"},i),N.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?sh(n):sh("primary")}),N.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 N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 31 30",fill:"none"},i),N.createElement("title",null,"Loom"),N.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?sh(n):sh("primary")}))}},dh=function(e){var t=e.brand,n=e.wordmarkColor,r=si(e,["brand","wordmarkColor"]);switch(t){case"ai":return N.createElement("svg",sn({"aria-label":"Loom AI",viewBox:"0 0 94 23",fill:n},r),N.createElement("title",null,"Loom AI"),N.createElement("path",{d:"M4.12637 22.4624H0V0H4.12637V22.4624Z"}),N.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"}),N.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"}),N.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"}),N.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"}),N.createElement("path",{d:"M94 22.4624H89.6565V0.46538H94V22.4624Z"}));case"product":return N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 104 30",fill:"none"},r),N.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}),N.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}),N.createElement("path",{d:"M5.69001 24.7655H18.7174V29.5445H0V0H5.69001V24.7655Z",fill:n}),N.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 N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 62 23",fill:n},r),N.createElement("title",null,"Loom"),N.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"}))}},dp="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",dv=function(e){var t=e.brand,n=e.wordmarkColor,r=e.symbolColor,i=e.customId,o=si(e,["brand","wordmarkColor","symbolColor","customId"]);switch(t){case"ai":return N.createElement("svg",sn({"aria-label":"Loom AI",viewBox:"0 0 100 30",fill:"none"},o),N.createElement("title",null,"Loom AI"),r?N.createElement("path",{d:dp,fill:sh(r)}):N.createElement(N.Fragment,null,du(i),(0,F._)([,,,]).map(function(e,t){return N.createElement("path",{key:t,d:dp,fill:"url(#ai-logo-".concat(i,"-gradient-").concat(t+1)})})),N.createElement("g",{fill:n},N.createElement("path",{d:"M4.1997 29.5909H0.570312V9.83386H4.1997V29.5909Z"}),N.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"}),N.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"}),N.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"}),N.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"}),N.createElement("path",{d:"M83.249 29.5909H79.4285V10.2432H83.249V29.5909Z"})));case"apptile":return N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 103 40",fill:"none"},o),N.createElement("title",null,"Loom"),N.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?sh(r):sh("blurple")}),N.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"}),N.createElement("g",{fill:n},N.createElement("path",{d:"M47.6001 29.5076V10H51.1816V29.5076H47.6001Z"}),N.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"}),N.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"}),N.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 N.createElement("svg",sn({viewBox:"0 0 112 40",fill:"none","aria-label":"Loom"},o),N.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?sh(r):sh("primary")}),N.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"}),N.createElement("path",{fillRule:"evenodd",clipRule:"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}),N.createElement("path",{fillRule:"evenodd",clipRule:"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}),N.createElement("path",{d:"M54.9365 25.3483H62.3421V28.0827H51.6667V11.1068H54.9365V25.3483Z",fill:n}),N.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 N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 170 48",fill:"none"},o),N.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}),N.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}),N.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}),N.createElement("path",{d:"M64.094 7.77783H68.234V34.0438H81.942V37.9998H64.094V7.77783Z",fill:n}),N.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?sh(r):sh("primary")}),N.createElement("g",{clipPath:"url(#clip0_45829_3572)"},N.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"})),N.createElement("defs",null,N.createElement("clipPath",{id:"clip0_45829_3572"},N.createElement("rect",{width:"39",height:"39",fill:"white",transform:"translate(4.75 5)"}))));case"attributed":return N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 232 75",fill:"none"},o),N.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}),N.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}),N.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}),N.createElement("path",{d:"M91.094 34.7778H95.234V61.0438H108.942V64.9998H91.094V34.7778Z",fill:n}),N.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}),N.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}),N.createElement("path",{d:"M193.602 7.16846H189.628V24.329H193.602V7.16846Z",fill:n}),N.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}),N.createElement("path",{d:"M124.237 7.16846V24.329H132.426L133.69 20.5958H128.211V7.16846H124.237Z",fill:n}),N.createElement("path",{d:"M108.04 7.16846V10.8414H112.436V24.329H116.47V10.8414H121.227V7.16846H108.04Z",fill:n}),N.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}),N.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}),N.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}),N.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?sh(r):sh("primary")}),N.createElement("g",{clipPath:"url(#clip0_45829_3571)"},N.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"})),N.createElement("defs",null,N.createElement("clipPath",{id:"clip0_45829_3571"},N.createElement("rect",{width:"60.9375",height:"60.9375",fill:"white",transform:"translate(7.42188 7.8125)"}))));default:return N.createElement("svg",sn({"aria-label":"Loom",viewBox:"0 0 100 30",fill:"none"},o),N.createElement("title",null,"Loom"),N.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?sh(r):sh("primary")}),N.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}))}},dg=eb.span(a_(),function(e){return e.maxWidth&&sg("max-width",e.maxWidth)},function(e){return e.maxWidth&&sg("max-width",e.maxWidth)}),dm=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,l=void 0===s?"product":s,c=e.customId,u=void 0===c?"":c,d=si(e,["variant","maxWidth","symbolColor","wordmarkColor","brand","customId"]);return N.createElement(dg,sn({variant:n,maxWidth:r},d),"combined"===n&&N.createElement(dv,{brand:l,symbolColor:i,wordmarkColor:sh(a),customId:u,className:"lns-logoSvg"}),"symbol"===n&&N.createElement(df,{brand:l,symbolColor:i,customId:u,className:"lns-logoSvg"}),"wordmark"===n&&N.createElement(dh,{brand:l,wordmarkColor:sh(a),className:"lns-logoSvg"}))},db={small:"40px",medium:"80px"};eb.span(ak(),function(e){return e.animation},"https://cdn.loom.com/assets/lens",function(e){return e.brand},function(e){return db[e.size]},function(e){return db[e.size]});var dy="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",dw={border:(0,ey.iv)(ax(),sh("border"),dy,sh("border")),stripe:(0,ey.iv)(aC(),dy,sh("backgroundSecondary"),sO("medium")),clear:(0,ey.iv)(aE())};eb.div(aS(),function(e){return e.columns&&e.columns},function(e){return sg("gap",e.gap)},function(e){return dw[e.variant]}),eb.div(aO(),function(e){return sg("height",e.height)},function(e){return sg("min-height",e.minHeight)},function(e){return sg("max-height",e.maxHeight)},function(e){return sg("padding",e.padding)},function(e){return sg("padding-top",e.paddingTop)},function(e){return sg("padding-bottom",e.paddingBottom)},function(e){return sg("padding-left",e.paddingLeft)},function(e){return sg("padding-right",e.paddingRight)},function(e){return e.paddingY&&"\n ".concat(sg("padding-top",e.paddingY),"\n ").concat(sg("padding-bottom",e.paddingY),"\n ")},function(e){return e.paddingX&&"\n ".concat(sg("padding-left",e.paddingX),"\n ").concat(sg("padding-right",e.paddingX),"\n ")},function(e){return(e.onClick||e.href)&&"cursor: pointer;"},dy,function(e){return e.backgroundColor&&"background-color: ".concat(sh(e.backgroundColor))},function(e){return(e.onClick||e.href)&&"\n background-color: ".concat(sh("backgroundHover"),";\n border-color: transparent;\n ").concat(sO("medium"),";\n ")});var d_=N.createContext({});eb.div(aI(),function(e){var t;return e.scrollOffset&&"margin: 0 ".concat((t=e.scrollOffset,"calc(-1 * ".concat(sv(t),")")),";\n ")}),eb.div(aA(),function(e){return e.hasBottomBorder&&"border-bottom: 1px solid var(--lns-color-border)"},function(e){return e.scrollOffset&&sg("padding-left",e.scrollOffset)},function(e){return e.hasFullTabs&&"flex: 1 0"},function(e){return e.hasFullTabs&&"width: 100%;"},function(e){return e.scrollOffset&&sg("width",e.scrollOffset)}),eb.div(aP(),sO("200"),function(e){return e.scrollOffset&&sg("padding-left",e.scrollOffset)},function(e){return e.scrollOffset&&sg("width",e.scrollOffset)});var dk=eb.button(aL(),sO("medium"),sS("bold"),function(e){return sh(e.isActive?"body":e.disabled?"disabledContent":"bodyDimmed")},function(e){return e.isActive&&"border-color: ".concat(sh("primary"),";\n ")},sA(void 0,"inset"),sh("body"),sO("medium"),function(e){return e.isActive&&"background-color: ".concat(sh("primary"))}),dx=eb.button(aD(),sp(1),sO("175"),sS("bold"),function(e){return sh(e.isActive?"body":e.disabled?"disabledContent":"bodyDimmed")},function(e){return e.isActive&&"background-color: ".concat(sh("background"),";\n color: ").concat(sh("primary"),";\n ")},sA(void 0,"inset"),sh("primary")),dC=function(e){var t=e.tooltipProps,n=e.children,r=e.tooltipId;return t?N.createElement(dl,sr(sn({},t),{tooltipId:r,tabIndex:-1}),n):n};N.forwardRef(function(e,t){var n=e.tabContent,r=e.tooltipProps,i=e.isActive,o=e.htmlTag,a=e.icon,s=e.isDisabled,l=e.onKeyDown,c=e.onClick,u=si(e,["tabContent","tooltipProps","isActive","htmlTag","icon","isDisabled","onKeyDown","onClick"]),d=N.useContext(d_).isPilledDesign,f=(0,N.useId)(),h=sn({as:void 0===o?"button":o,isActive:i,icon:a,role:"tab","aria-selected":i,disabled:void 0!==s&&s,tabIndex:i?0:-1,"aria-describedby":r?f:void 0,onKeyDown:l,onClick:c,ref:t},u);return N.createElement(dC,{tooltipProps:r,tooltipId:f},d?N.createElement(dx,sn({},h),a?N.createElement(ci,{htmlTag:"span",paddingRight:n&&"small"},N.createElement(lz,{icon:a,color:"currentColor"})):null,n):N.createElement(dk,sn({},h),a?N.createElement(ci,{htmlTag:"span",paddingRight:n&&"small"},N.createElement(lz,{icon:a,color:"currentColor"})):null,n))}).displayName="TabNew";var dE=eb.div(aM(),sp(1.5),sp(3.25),function(e){return sh(e.color)},function(e){return sh(e.backgroundColor)},sO("100"),sE("small"),sS("bold"),sg("gap","xsmall")),dS=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=si(e,["color","backgroundColor","children","icon","iconPosition"]),l=N.createElement(ci,{htmlTag:"span",paddingLeft:"right"===a&&"xsmall",paddingRight:"left"===a&&"xsmall"},N.createElement(lz,{icon:i,color:"currentColor",size:2}));return N.createElement(dE,sn({color:t,backgroundColor:n},s),i&&"left"===a&&l,r,i&&"right"===a&&l)},dO={topLeft:"top-start",topCenter:"top",topRight:"top-end",bottomLeft:"bottom-start",bottomCenter:"bottom",bottomRight:"bottom-end",leftTop:"left-start",leftCenter:"left",leftBottom:"left-end",rightTop:"right-start",rightCenter:"right",rightBottom:"right-end"},dI=eb.div(aR(),function(e){return e.childrenZIndex}),dA=eb.div(aT(),function(e){return e.zIndex&&"z-index: ".concat(e.zIndex)}),dP=function(e){var t,n,r,i,o=e.children,a=e.content,s=e.offset,l=e.boundaryOffset,c=e.isOpen,u=e.zIndex,d=e.childrenZIndex,f=e.placement,h=e.rootId,p=e.boundaryElement,v=void 0===p?"body":p,g=e.transitionDuration,m=void 0===g?0:g,b=e.transitionDelay,y=void 0===b?0:b,w=si(e,["children","content","offset","boundaryOffset","isOpen","zIndex","childrenZIndex","placement","rootId","boundaryElement","transitionDuration","transitionDelay"]),_=h?document.getElementById(h):void 0,k=iu(c,m+y),x=k.stage,C=k.shouldMount,E=function(e){let{middleware:t,placement:n="bottom",strategy:r="absolute"}=void 0===e?{}:e,i=(0,N.useRef)(null),o=(0,N.useRef)(null),[a,s]=(0,N.useState)({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[l,c]=(0,N.useState)(t);!function e(t,n){let r,i,o;if(t===n)return!0;if(typeof t!=typeof n)return!1;if("function"==typeof t&&t.toString()===n.toString())return!0;if(t&&n&&"object"==typeof t){if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){let r=o[i];if(("_owner"!==r||!t.$$typeof)&&!e(t[r],n[r]))return!1}return!0}return t!=t&&n!=n}(null==l?void 0:l.map(e=>{let{options:t}=e;return t}),null==t?void 0:t.map(e=>{let{options:t}=e;return t}))&&c(t);let u=(0,N.useRef)(!0);i1(()=>(u.current=!0,()=>{u.current=!1}),[]);let d=(0,N.useCallback)(()=>{i.current&&o.current&&i0(i.current,o.current,{middleware:l,placement:n,strategy:r}).then(e=>{u.current&&(0,rp.flushSync)(()=>{s(e)})})},[l,n,r]);i1(d,[d]);let f=(0,N.useCallback)(e=>{i.current=e,d()},[d]),h=(0,N.useCallback)(e=>{o.current=e,d()},[d]),p=(0,N.useMemo)(()=>({reference:i,floating:o}),[]);return(0,N.useMemo)(()=>({...a,update:d,refs:p,reference:f,floating:h}),[a,d,p,f,h])}({placement:dO[void 0===f?"topCenter":f],middleware:[{name:"shift",options:n={padding:(void 0===l?.5:l)*sR,boundary:v?"body"===v?document.body:v:void 0,limiter:(void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=t,u={x:n,y:r},d=im(i),f=iA(d),h=u[d],p=u[f],v="function"==typeof s?s({...o,placement:i}):s,g="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+g.mainAxis,n=o.reference[d]+o.reference[e]-g.mainAxis;hn&&(h=n)}if(c){var m,b,y,w;let e="y"===d?"width":"height",t=["top","left"].includes(iv(i)),n=o.reference[f]-o.floating[e]+(t&&null!=(m=null==(b=a.offset)?void 0:b[f])?m:0)+(t?0:g.crossAxis),r=o.reference[f]+o.reference[e]+(t?0:null!=(y=null==(w=a.offset)?void 0:w[f])?y:0)-(t?g.crossAxis:0);pr&&(p=r)}return{[d]:h,[f]:p}}})},async fn(e){let{x:t,y:r,placement:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=n,c={x:t,y:r},u=await ik(e,l),d=im(iv(i)),f=iA(d),h=c[d],p=c[f];if(o){let e="y"===d?"bottom":"right";h=iC(h+u["y"===d?"top":"left"],ix(h,h-u[e]))}if(a){let e="y"===f?"bottom":"right";p=iC(p+u["y"===f?"top":"left"],ix(p,p-u[e]))}let v=s.fn({...e,[d]:h,[f]:p});return{...v,data:{x:v.x-t,y:v.y-r}}}},{name:"flip",options:r={fallbackPlacements:["top","bottom"],fallbackStrategy:"initialPlacement"},async fn(e){var t,n,i,o;let{placement:a,middlewareData:s,rects:l,initialPlacement:c,platform:u,elements:d}=e,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",flipAlignment:g=!0,...m}=r,b=iv(a),y=p||(b!==c&&g?function(e){let t=iS(e);return[iI(e),t,iI(t)]}(c):[iS(c)]),w=[c,...y],_=await ik(e,m),k=[],x=(null==(t=s.flip)?void 0:t.overflows)||[];if(f&&k.push(_[b]),h){let{main:e,cross:t}=function(e,t,n){void 0===n&&(n=!1);let r=ig(e),i=im(e),o=ib(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=iS(a)),{main:a,cross:iS(a)}}(a,l,await (null==u.isRTL?void 0:u.isRTL(d.floating)));k.push(_[e],_[t])}if(x=[...x,{placement:a,overflows:k}],!k.every(e=>e<=0)){let e=(null!=(n=null==(i=s.flip)?void 0:i.index)?n:0)+1,t=w[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let r="bottom";switch(v){case"bestFit":{let e=null==(o=x.map(e=>[e,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0].placement;e&&(r=e);break}case"initialPlacement":r=c}if(a!==r)return{reset:{placement:r}}}return{}}},{name:"offset",options:i=(void 0===s?.5:s)*sR,async fn(e){let{x:t,y:n,placement:r,rects:o,platform:a,elements:s}=e,l=function(e,t,n,r){void 0===r&&(r=!1);let i=iv(e),o=ig(e),a="x"===im(e),s=["left","top"].includes(i)?-1:1,l=r&&a?-1:1,c="function"==typeof n?n({...t,placement:e}):n,{mainAxis:u,crossAxis:d,alignmentAxis:f}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return o&&"number"==typeof f&&(d="end"===o?-1*f:f),a?{x:d*l,y:u*s}:{x:u*s,y:d*l}}(r,o,i,await (null==a.isRTL?void 0:a.isRTL(s.floating)));return{x:t+l.x,y:n+l.y,data:l}}}],strategy:"fixed"}),S=E.x,O=E.y,I=E.reference,A=E.floating,P=E.strategy,L=E.update,D=E.refs;(0,N.useEffect)(function(){if(D.reference.current&&D.floating.current)return function(e,t,n,r){void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=!1,c=i&&!s,u=o&&!s,d=c||u?[...iT(e)?iY(e):[],...iY(t)]:[];d.forEach(e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let f,h=null;a&&!s&&(h=new ResizeObserver(n),iT(e)&&h.observe(e),h.observe(t));let p=s?iZ(e):null;return s&&function t(){if(l)return;let r=iZ(e);p&&(r.x!==p.x||r.y!==p.y||r.width!==p.width||r.height!==p.height)&&n(),p=r,f=requestAnimationFrame(t)}(),()=>{var e;l=!0,d.forEach(e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}(D.reference.current,D.floating.current,L)},[D.reference,D.floating,L,C]);var M={zIndex:void 0===u?500:u,ref:A,style:{position:P,top:null!=O?O:"",left:null!=S?S:"",transition:"opacity ".concat(m,"ms ").concat(y,"ms"),opacity:"enter"===x?1:0}};return N.createElement(dI,sr(sn({ref:I},w),{childrenZIndex:void 0===d?1:d}),o,C&&N.createElement(N.Fragment,null,!_&&N.createElement(dA,sn({},M),a),_&&rp.createPortal(N.createElement(dA,sn({},M),a),_)))};eb.span(aj(),function(e){return e.color?sh(e.color):sh("grey8")},function(e){return e.size&&sg("width",e.size)},function(e){return e.size&&sg("height",e.size)});var dL=function(e){return(0,ey.iv)(aF(),sg("width",e.width),sg("height",e.height),sg("min-width",e.minWidth),sg("min-height",e.minHeight),sg("max-width",e.maxWidth),sg("max-height",e.maxHeight))};eb.div(aV(),function(e){return sw("align-items",e.alignItems)},function(e){return e.justifyContent&&sw("justify-content",e.justifyContent)},function(e){return e.alignContent&&sw("align-content",e.alignContent)},function(e){return sw("flex-wrap",e.wrap)},function(e){return e.direction&&sw("flex-direction",e.direction)},function(e){return e.gap&&sg("gap",e.gap)},function(e){return e.rowGap&&sg("row-gap",e.rowGap)},function(e){return e.columnGap&&sg("column-gap",e.columnGap)},function(e){return dL(e)},function(e){return sL(e.as)}),eb.div(az(),function(e){return sk("flex-grow",e.grow)},function(e){return sk("flex-shrink",e.shrink)},function(e){return e.basis&&sg("flex-basis",e.basis)},function(e){return dL(e)}),eb.div(aN(),sp(14),sO(100),sp(2),sO("50"),sp(1),sp(1),sp(1),sp(2.5)),eb.div(aH(),sp(31),sO("250")),eb.div(aB(),sp(4),sp(4),sO("150")),eb.div(aZ(),sp(3),sp(3),sO("100"),function(e){return e.color}),eb.div(aU()),eb.div(aW(),sp(3),sp(1),sp(1)),eb.div(aK(),sp(3),sp(3),sO("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 dD={small:{totalSize:sp(2.25),height:sp(.5625),dotSize:sp(.375),gap:sp(.25)},medium:{totalSize:sp(3),height:sp(.75),dotSize:sp(.5),gap:sp(.375)},large:{totalSize:sp(6),height:sp(1.5),dotSize:sp(1),gap:sp(.75)}},dM=function(e){return dD[e.size].dotSize};eb.span(a$(),function(e){return dD[e.size].height},function(e){return dD[e.size].totalSize},function(e){return dD[e.size].gap}),eb.span(aq(),function(e){return dM(e)},function(e){return dM(e)},function(e){return sh(e.color)},function(e){var t;return t=dD[e.size].dotSize,(0,ey.F4)(aG(),t)},2,function(e){return e.delay}),Object.keys(dD);var dR={medium:{totalSize:sp(3),barHeight:sp(2.25)}},dT={fast:1.2,slow:1.7},dj=sp(.25),dF=function(e){return dR[e.size||"medium"].totalSize},dV=function(e){return dT[e.speed||"fast"]},dz=(0,ey.F4)(aJ()),dN=(0,ey.F4)(aY()),dH=(0,ey.F4)(aX());eb.span(aQ(),function(e){return dF(e)},function(e){return dF(e)}),eb.span(a0(),dj,function(e){return dR[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%)":sh(e.color)},function(e){return dF(e)},function(e){return dF(e)},function(e){var t=(e.index+1)/6;return"calc(".concat(dF(e)," * ").concat(t-.5,") center")},dH,dz,function(e){return dV(e)},dN,2,function(e){return -1+e.index*(dV(e)/5)}),Object.keys(dR),Object.keys(dT);var dB=(0,ey.F4)(a1()),dZ={dot:{size:"8px",borderWidth:"1px",borderColor:sh("background")},positioning:{top:"-2px",right:"-2px"},animation:{duration:"2s",timing:"ease-out",iteration:"infinite"}},dU={blue:sh("blue"),orange:sh("orange")};eb.span(a2()),eb.span(a5(),dZ.dot.size,dZ.dot.size,dZ.positioning.top,dZ.positioning.right),eb.span(a3(),function(e){return dU[e.color||"blue"]},dZ.dot.borderWidth,dZ.dot.borderColor,function(e){return dU[e.color||"blue"]},function(e){return e.withPulse?dB:"none"},dZ.animation.duration,dZ.animation.timing,dZ.animation.iteration,function(e){return e.withPulse?"block":"none"})},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(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}var l=n(67294),c=n(45697),u=n(73928).createFocusTrap,d=n(88388).isFocusable,f=function(e){var t;function n(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),t=n,a=[e],t=o(t),l=d=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 function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(t,a||[],o(this).constructor):t.apply(this,a)),c="getNodeForOption",u=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 l.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;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},c=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},u=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},d=function(e){return u(e)&&!e.shiftKey},f=function(e){return u(e)&&e.shiftKey},h=function(e){return setTimeout(e,0)},p=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},i=n.hasFallback,a=n.params,s=m[e];if("function"==typeof s&&(s=s.apply(void 0,function(e){if(Array.isArray(e))return o(e)}(t=void 0===a?[]:a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return o(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)?o(e,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=s;if("string"==typeof s){try{l=r.querySelector(s)}catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!(void 0!==i&&i))throw Error("`".concat(e,"` as selector refers to no known node"))}return l},k=function(){var e=_("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,i.isFocusable)(e,m.tabbableOptions)){if(w(r.activeElement)>=0)e=r.activeElement;else{var t=b.tabbableGroups[0];e=t&&t.firstTabbableNode||_("fallbackFocus")}}else null===e&&(e=_("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},x=function(){if(b.containerGroups=b.containers.map(function(e){var t=(0,i.tabbable)(e,m.tabbableOptions),n=(0,i.focusable)(e,m.tabbableOptions),r=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,a=n.find(function(e){return(0,i.isTabbable)(e)}),s=n.slice().reverse().find(function(e){return(0,i.isTabbable)(e)}),l=!!t.find(function(e){return(0,i.getTabIndex)(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=t.indexOf(e);return o<0?r?n.slice(n.indexOf(e)+1).find(function(e){return(0,i.isTabbable)(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return(0,i.isTabbable)(e)}):t[o+(r?1:-1)]}}}),b.tabbableGroups=b.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),b.tabbableGroups.length<=0&&!_("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(b.containerGroups.find(function(e){return e.posTabIndexesFound})&&b.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},C=function(e){var t=e.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?C(t.shadowRoot):t:void 0},E=function(e){if(!1!==e&&e!==C(document)){if(!e||!e.focus){E(k());return}e.focus({preventScroll:!!m.preventScroll}),b.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},S=function(e){var t=_("setReturnFocus",{params:[e]});return t||!1!==t&&e},O=function(e){var t=e.target,n=e.event,r=e.isBackward,o=void 0!==r&&r;t=t||v(n),x();var a=null;if(b.tabbableGroups.length>0){var s=w(t,n),l=s>=0?b.containerGroups[s]:void 0;if(s<0)a=o?b.tabbableGroups[b.tabbableGroups.length-1].lastTabbableNode:b.tabbableGroups[0].firstTabbableNode;else if(o){var c=b.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(c<0&&(l.container===t||(0,i.isFocusable)(t,m.tabbableOptions)&&!(0,i.isTabbable)(t,m.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(c=s),c>=0){var d=0===c?b.tabbableGroups.length-1:c-1,f=b.tabbableGroups[d];a=(0,i.getTabIndex)(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else u(n)||(a=l.nextTabbableNode(t,!1))}else{var h=b.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(h<0&&(l.container===t||(0,i.isFocusable)(t,m.tabbableOptions)&&!(0,i.isTabbable)(t,m.tabbableOptions)&&!l.nextTabbableNode(t))&&(h=s),h>=0){var p=h===b.tabbableGroups.length-1?0:h+1,g=b.tabbableGroups[p];a=(0,i.getTabIndex)(t)>=0?g.firstTabbableNode:g.firstDomTabbableNode}else u(n)||(a=l.nextTabbableNode(t))}}else a=_("fallbackFocus");return a},I=function(e){if(!(w(v(e),e)>=0)){if(p(m.clickOutsideDeactivates,e)){n.deactivate({returnFocus:m.returnFocusOnDeactivate});return}p(m.allowOutsideClick,e)||e.preventDefault()}},A=function(e){var t=v(e),n=w(t,e)>=0;if(n||t instanceof Document)n&&(b.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(b.mostRecentlyFocusedNode){if((0,i.getTabIndex)(b.mostRecentlyFocusedNode)>0){var a=w(b.mostRecentlyFocusedNode),s=b.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===b.mostRecentlyFocusedNode});l>=0&&(m.isKeyForward(b.recentNavEvent)?l+1=0&&(r=s[l-1],o=!1))}}else b.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,i.getTabIndex)(e)>0})})||(o=!1)}else o=!1;o&&(r=O({target:b.mostRecentlyFocusedNode,isBackward:m.isKeyBackward(b.recentNavEvent)})),r?E(r):E(b.mostRecentlyFocusedNode||k())}b.recentNavEvent=void 0},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];b.recentNavEvent=e;var n=O({event:e,isBackward:t});n&&(u(e)&&e.preventDefault(),E(n))},L=function(e){(m.isKeyForward(e)||m.isKeyBackward(e))&&P(e,m.isKeyBackward(e))},D=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==p(m.escapeDeactivates,e)&&(e.preventDefault(),n.deactivate())},M=function(e){w(v(e),e)>=0||p(m.clickOutsideDeactivates,e)||p(m.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},R=function(){if(b.active)return l(a,n),b.delayInitialFocusTimer=m.delayInitialFocus?h(function(){E(k())}):E(k()),r.addEventListener("focusin",A,!0),r.addEventListener("mousedown",I,{capture:!0,passive:!1}),r.addEventListener("touchstart",I,{capture:!0,passive:!1}),r.addEventListener("click",M,{capture:!0,passive:!1}),r.addEventListener("keydown",L,{capture:!0,passive:!1}),r.addEventListener("keydown",D),n},T=function(){if(b.active)return r.removeEventListener("focusin",A,!0),r.removeEventListener("mousedown",I,!0),r.removeEventListener("touchstart",I,!0),r.removeEventListener("click",M,!0),r.removeEventListener("keydown",L,!0),r.removeEventListener("keydown",D),n},j="MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===b.mostRecentlyFocusedNode})})&&E(k())}):void 0,F=function(){j&&(j.disconnect(),b.active&&!b.paused&&b.containers.map(function(e){j.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(n={get active(){return b.active},get paused(){return b.paused},activate:function(e){if(b.active)return this;var t=y(e,"onActivate"),n=y(e,"onPostActivate"),i=y(e,"checkCanFocusTrap");i||x(),b.active=!0,b.paused=!1,b.nodeFocusedBeforeActivation=C(r),null==t||t();var o=function(){i&&x(),R(),F(),null==n||n()};return i?i(b.containers.concat()).then(o,o):o(),this},deactivate:function(e){if(!b.active)return this;var t=s({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},e);clearTimeout(b.delayInitialFocusTimer),b.delayInitialFocusTimer=void 0,T(),b.active=!1,b.paused=!1,F(),c(a,n);var r=y(t,"onDeactivate"),i=y(t,"onPostDeactivate"),o=y(t,"checkCanReturnFocus"),l=y(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var u=function(){h(function(){l&&E(S(b.nodeFocusedBeforeActivation)),null==i||i()})};return l&&o?o(S(b.nodeFocusedBeforeActivation)).then(u,u):u(),this},pause:function(e){return b.active?(b.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return b.active?(b.manuallyPaused=!1,a[a.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return b.containers=t.map(function(e){return"string"==typeof e?r.querySelector(e):e}),b.active&&x(),F(),this}},{_isManuallyPaused:{value:function(){return b.manuallyPaused}},_setPausedState:{value:function(e,t){if(b.paused===e)return this;if(b.paused=e,e){var n=y(t,"onPause"),r=y(t,"onPostPause");null==n||n(),T(),F(),null==r||r()}else{var i=y(t,"onUnpause"),o=y(t,"onPostUnpause");null==i||i(),x(),R(),F(),null==o||o()}return this}}}),n.updateContainerElements(e),n}},37081:function(e,t,n){"use strict";n.d(t,{B3:function(){return c},M$:function(){return r},Ss:function(){return s},Uc:function(){return a},cZ:function(){return o},td:function(){return l}});var r="production",i=window.location.hostname,o="production"===r,a="stage.loom.com"===i,s="preview"===r,l="development"===r,c=window.location.toString().includes("stage.loom.com")?"https://stage.loom.com/graphql":"https://patgrady.indiedemos.com/graphql"},65483:function(e,t,n){"use strict";n.d(t,{AF:function(){return a},Sl:function(){return i},gF:function(){return c},mX:function(){return l}});var r=n(37081),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, initializeAnalyticsWrapper);\n function initializeAnalyticsWrapper() {\n if (!window.ace?.analytics?.Initializer ) {\n return;\n }\n try {\n window.ace.analytics.Initializer.initWithPageAnalytics("loom");\n } catch (error) {\n console.warn(\'[Atlassian Analytics] Error initializing Analytics Wrapper:\', 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;nn.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 l=n(70806);function c(){return(c=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 l=document.createElement("a");r.forEach(function(e,t){if(l.setAttribute("href",e),l.href=String(l.href),document.all&&!window.atob&&l.host.split(":")[0]!==location.host.split(":")[0]){if(l.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]:[],c=l(t,i,s);c.rules.length?u(c.absoluteUrls,{onBeforeSend:function(e,t,i){r.onBeforeSend(e,n,t)},onSuccess:function(e,t,i){var o=r.onSuccess(e,n,t),a=l(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,l,u){a.push({xhr:r,url:l}),s.push(c.rules[u]),e(t,n,i,o,a,s)},onComplete:function(r){r.forEach(function(e,n){t=t.replace(c.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 l(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"),l="link"===e.nodeName.toLowerCase()&&n&&i&&-1!==i.toLowerCase().indexOf("stylesheet"),c=!1!==r.skipDisabled&&e.disabled,d="style"===e.nodeName.toLowerCase();if(l&&!c){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 u(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&&!c){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,l=n.indexOf(e),c=n.indexOf(t,l+1),u=l;if(l>=0&&c>0){if(e===t)return[l,c];for(r=[],o=n.length;u>=0&&!s;)u==l?(r.push(u),l=n.indexOf(e,u+1)):1==r.length?s=[r.pop(),c]:((i=r.pop())=0?l:c;r.length&&(s=[o,a])}return s}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c({},{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 l(){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 u(){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:u()}}()||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 l=t[1];if(!o())return r("@keyframes missing '{'");for(var c=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:u()}}();)c.push(e),c=c.concat(s());return i(/^}/)?{type:"keyframes",name:l,vendor:n,keyframes:c}: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:l()||[],declarations:u()}}()||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:u()}}();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,c=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=l()||[],s=n.preserveStatic?u():u().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&&c.push(a),c=c.concat(s());return t||i(/^}/)?c:r("missing '}'")}return{type:"stylesheet",stylesheet:{rules:f(!0),errors:[]}}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c({},{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 y(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=c({},x,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,_,M()-n.__benchmark)}if(w){if(n.watch){n.watch=x.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"),l="src"===r.target.getAttribute("data-cssvars");o?i=!s&&!l:a&&(s?r.target.setAttribute("data-cssvars",""):l&&R(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&&R(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=M(),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=c({},E.dom,E.user);if(E.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});b(s,{parseHost:!!n.rootElement.host,store:E.dom,onWarning:i}),e.__cssVars.tree=s}catch(t){r(t.message,e)}}),c(E.job,E.dom),n.updateDOM?(c(E.user,n.variables),c(E.job,E.user)):(c(E.job,E.user,n.variables),c(s,n.variables)),k.job>0&&(Object.keys(E.job).length>Object.keys(s).length||Object.keys(s).length&&Object.keys(E.job).some(function(e){return E.job[e]!==s[e]})))R(n.rootElement),L(n);else{var l=[],u=[],d=!1;if(n.updateDOM&&k.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=c({},{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]:{},c=arguments.length>2?arguments[2]:void 0;if(-1===t.indexOf("var("))return t;var u=h("(",")",t);return u?"var"!==u.pre.slice(-3)?u.pre+"(".concat(e(u.body,l),")")+e(u.post,l):0===u.body.trim().length?(l.onWarning("var() must contain a non-whitespace string"),t):u.pre.slice(0,-3)+(r=(n=u.body).split(",")[0].replace(/[\s\n\t]/g,""),i=(n.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],a=(o=Object.prototype.hasOwnProperty.call(l.variables,r)?String(l.variables[r]):void 0)||(i?String(i):void 0),s=c||n,(o||l.onWarning('variable "'.concat(r,'" is undefined')),a&&"undefined"!==a&&a.length>0)?e(a,l,s):"var(".concat(s,")"))+e(u.post,l):(-1!==t.indexOf("var(")&&l.onWarning('missing closing ")" in the value "'.concat(t,'"')),t)}(s,n);l!==i.value&&(l=function(e){return(e.match(/calc\(([^)]+)\)/g)||[]).forEach(function(t){var n="calc".concat(t.split("calc").join(""));e=e.replace(t,n)}),e}(l),n.preserveVars?(e.splice(r,0,{type:o,property:a,value:l}),r++):i.value=l)}}}}),y(e)}(e.__cssVars.tree,c({},n,{variables:E.job,onWarning:i}));var s=y(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")||++k.group,g=s.replace(/\s/g,""),b=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),b.hasAttribute("data-cssvars")||b.setAttribute("data-cssvars","out"),g===e.textContent.replace(/\s/g,"")?(a=!0,b&&b.parentNode&&(e.removeAttribute("data-cssvars-group"),b.parentNode.removeChild(b))):g===b.textContent.replace(/\s/g,"")||([e,b].forEach(function(e){e.setAttribute("data-cssvars-job",k.job),e.setAttribute("data-cssvars-group",v)}),b.textContent=s,l.push(s),u.push(b),b.parentNode||e.parentNode.insertBefore(b,e.nextSibling))}}else e.textContent.replace(/\s/g,"")!==s&&l.push(s)}catch(t){r(t.message,e)}a&&e.setAttribute("data-cssvars","skip"),e.hasAttribute("data-cssvars-job")||e.setAttribute("data-cssvars-job",k.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(c({},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 M(){return w&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function R(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&&(E.dom={})}L.reset=function(){for(var e in k.job=0,k.group=0,S=!1,O&&(O.disconnect(),O=null),I=0,A=null,P=!1,E)E[e]={}};var T=n(9008),j=n.n(T),F=n(37081),V=n(65483),z=n(58430),N=n(11010),H=n(24043),B=n(97582),Z=(0,o.createContext)(null);function U(e){var t=e.children,n=(0,H._)((0,o.useState)(null),2),r=n[0],i=n[1];return(0,o.useEffect)(function(){var e;(e=(0,N._)(function(){var e,t,n,r,o,a;return(0,B.Jh)(this,function(s){switch(s.label){case 0:if(window.location.search.includes("login=true")||F.td)return i({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}),[2];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 1:if(!(e=s.sent()).ok)return[3,3];return[4,e.json()];case 2:(r=null==(n=s.sent())?void 0:null===(t=n.data)||void 0===t?void 0:t.me)&&(i(r),null==(a=window.segmentAnalytics)||null===(o=a.identify)||void 0===o||o.call(a,r.id,{email:r.email,firstName:r.first_name,lastName:r.last_name})),s.label=3;case 3:return[2]}})}),function(){return e.apply(this,arguments)})().catch(function(){})},[]),(0,o.createElement)(Z.Provider,{value:r},t)}Z.displayName="User","undefined"!=typeof document&&L({variables:(0,r._)({},(0,l.b0H)(),(0,l.f1F)(),(0,l.tcx)())});var W=(0,o.lazy)(function(){return Promise.all([n.e(4582),n.e(105)]).then(n.bind(n,35567)).then(function(e){return{default:e.PreviewProvider}})});function K(e){var t=e.Component,n=e.pageProps,o=n.draftMode,a=n.token;return o?(0,i.jsx)(W,{token:a,children:(0,i.jsx)($,{draftMode:o,children:(0,i.jsx)(t,(0,r._)({},n))})}):(0,i.jsx)($,{draftMode:o,children:(0,i.jsx)(t,(0,r._)({},n))})}var G=K;function $(e){var t=e.children,n=e.draftMode;return(0,i.jsx)(U,{children:(0,i.jsxs)(z.c,{children:[!n&&(0,i.jsxs)(j(),{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:V.Sl}}),(0,i.jsx)("script",{type:"text/plain",className:"optanon-category-1",dangerouslySetInnerHTML:{__html:V.AF}}),(0,i.jsx)("script",{type:"text/plain",className:"optanon-category-2",dangerouslySetInnerHTML:{__html:V.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 l=[],c=!1,u=-1;function d(){c&&r&&(c=!1,r.length?l=r.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(r=l,l=[];++u1)for(var n=1;nsummary:first-of-type:not([inert])","details:not([inert])"],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){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function(e,t){void 0===t&&(t=!0);var n,r=null==e?void 0:null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&l(e.parentNode)},c=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},u=function(e,t,n){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r=r.filter(n)},d=function(e,t,n){for(var r=[],o=Array.from(e);o.length;){var s=o.shift();if(!l(s,!1)){if("SLOT"===s.tagName){var c=s.assignedElements(),u=d(c.length?c:s.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:s,candidates:u})}else{a.call(s,i)&&n.filter(s)&&(t||!e.includes(s))&&r.push(s);var f=s.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(s),h=!l(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(f&&h){var p=d(!0===f?s.children:f.children,!0,n);n.flatten?r.push.apply(r,p):r.push({scopeParent:s,candidates:p})}else o.unshift.apply(o,s.children)}}}return r},f=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},h=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||c(e))&&!f(e)?0:e.tabIndex},p=function(e,t){var n=h(e);return n<0&&t&&!f(e)?0:n},v=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},g=function(e){return"INPUT"===e.tagName},m=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&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return w(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===r(l))return w(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=o}if(y(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},k=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;nh(t))&&!!x(e,t)},E=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},S=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,o=i?e.scopeParent:e,a=p(o,i),s=i?S(e.candidates):o;0===a?i?t.push.apply(t,s):t.push(o):n.push({documentOrder:r,tabIndex:a,item:e,isScope:i,content:s})}),n.sort(v).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},O=function(e,t){return S((t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:C.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:E}):u(e,t.includeContainer,C.bind(null,t)))},I=function(e,t){return(t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:x.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,x.bind(null,t))},A=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,i)&&C(t,e)},P=r.concat("iframe").join(","),L=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,P)&&x(t,e)}},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:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=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 l=h(e,n,i);if("normal"===l.type){if(o=i.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(o="completed",i.method="throw",i.arg=l.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 b={};d(b,l,function(){return this});var y=Object.getPrototypeOf,w=y&&y(y(O([])));w&&w!==n&&o.call(w,l)&&(b=w);var _=m.prototype=v.prototype=Object.create(b);function k(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function x(e,t){var n;a(this,"_invoke",{value:function(i,a){function s(){return new t(function(n,s){!function n(i,a,s,l){var c=h(e[i],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&o.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,s,l)},function(e){n("throw",e,s,l)}):t.resolve(d).then(function(e){u.value=e,s(u)},function(e){return n("throw",e,s,l)})}l(c.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 E(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[l];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"),l=o.call(i,"finallyLoc");if(s&&l){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),E(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;E(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__",l="undefined"!=typeof window?window:{},c=void 0!==n.g?n.g:{},u="undefined"!=typeof globalThis?globalThis:{},d=null!==(o=null!==(i=null!==(r=l[s])&&void 0!==r?r:c[s])&&void 0!==i?i:u[s])&&void 0!==o?o:{instance:t._getInstance};l[s]=d,c[s]=d,u[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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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),l=n(53111);class c{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,u("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),c=yield this._fetchFromNetwork(a,t,n,s);if(!c)return i.Log.debug("No response returned for latest value"),null;let d=(0,l._typedJsonParse)(c,"has_updates","Response"),f=this._getSdkKey(),h=o.StableID.get(f),p=null;if((null==d?void 0:d.has_updates)===!0)p=u("Network",c,h,t);else{if(!a||(null==d?void 0:d.has_updates)!==!1)return null;p=u("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,l._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 u(e,t,n,r){return{source:e,data:t,receivedAt:Date.now(),stableID:n,fullUserHash:(0,a._getFullUserHash)(r)}}t.DataAdapterCore=c,t._makeDataAdapterResult=u;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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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=c(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,l,u,d,f,h;let p=n||Error(s),v=p instanceof Error,g=v?p.name:"No Name",m=c(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===(l=this._emitter)||void 0===l||l.call(this,{name:"error",error:n,tag:e});return}let b=o.SDKType._get(this._sdkKey),y=a.StatsigMetadataProvider.get(),w=v?p.stack:function(e){try{return JSON.stringify(e)}catch(e){return s}}(p),_=Object.assign({tag:e,exception:g,info:w,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({},y),{sdkType:b})),k=null!==(f=null===(d=null===(u=this._options)||void 0===u?void 0:u.networkConfig)||void 0===d?void 0:d.networkOverrideFunc)&&void 0!==f?f:fetch;yield k(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(b),"STATSIG-SDK-VERSION":String(y.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(_)}),null===(h=this._emitter)||void 0===h||h.call(this,{name:"error",error:n,tag:e})}).then(()=>{}).catch(()=>{})}catch(e){}}}function c(e){return e instanceof Error?e:"string"==typeof e?Error(e):Error("An unknown error occurred.")}t.ErrorBoundary=l},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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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),l=n(37631),c=n(19817),u=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?u.LoggingEnabledOption.disabled:u.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 l=null==r?void 0:r.networkConfig;this._logEventUrlConfig=new f.UrlConfiguration(s.Endpoint._rgstr,null==l?void 0:l.logEventUrl,null==l?void 0:l.api,null==l?void 0:l.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,l._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,l._isServerEnv)())return!1;if(!(0,c._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],u=Date.now();return(!s||!(u-s<6e5))&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[a]=u,!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,l._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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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),l=n(74930),c=n(11753),u=n(95881),d=n(37631),f=n(27995),h=n(33463),p=n(86478),v=n(56801),g=n(16790),m=n(65260),b=new Set([408,500,502,503,504,522,524,599]);class y{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 l.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(!w(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,l;if(!w(e)||this._netConfig.preventAllNetworkTraffic)return null;let{method:c,body:u,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,y=setTimeout(()=>{null==g||g.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),_=this._getPopulatedURL(e),x=null,C=(0,m._isUnloading)();try{let n={method:c,body:u,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(x=yield i(_,n),clearTimeout(y),!x.ok){let e=yield x.text().catch(()=>"No Text"),t=Error(`NetworkError: ${_} ${e}`);throw t.name="NetworkError",t}let a=yield x.text();return k(e,x,v,a),this._fallbackResolver.tryBumpExpiryTime(e.sdkKey,e.urlConfig),{body:a,code:x.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(k(e,x,v,"",s),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(e.sdkKey,e.urlConfig,t,o))&&(e.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(e.sdkKey,e.urlConfig)),!d||v>d||!b.has(null!==(n=null==x?void 0:x.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 ${c} request to ${_}.`;return a.Log.error(n,t,s),null===(l=this._errorBoundary)||void 0===l||l.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]:u.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===c.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"),l=o.writable.getWriter();l.write(i).catch(a.Log.error),l.close().catch(a.Log.error);let c=o.readable.getReader(),u=[];for(;!(r=yield c.read()).done;)u.push(r.value);let d=u.reduce((e,t)=>e+t.length,0),f=new Uint8Array(d),h=0;for(let e of u)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&&_(r,t.data),r}}t.NetworkCore=y;let w=e=>!!e.sdkKey||(a.Log.warn("Unable to make request without an SDK key"),!1),_=(e,t)=>{let{sdkKey:n,fallbackUrl:r}=e,i=h.StableID.get(n),o=f.SessionID.get(n),a=u.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 k(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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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 l{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=u(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(!c(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,l=null===(r=this._fallbackInfo)||void 0===r?void 0:r[s];l&&a.previous.push(...l.previous),a.previous.length>10&&(a.previous=[]);let c=null===(o=null===(i=this._fallbackInfo)||void 0===i?void 0:i[s])||void 0===o?void 0:o.url;null!=c&&a.previous.push(c),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 c(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 u(e){return`statsig.network_fallback.${(0,o._DJB2)(e)}`}function d(e,t){let n=u(e);if(!t||0===Object.keys(t).length){s.Storage.removeItem(n);return}s.Storage.setItem(n,JSON.stringify(t))}t.NetworkFallbackResolver=l,t._isDomainFailure=c},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),l={};function c(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 u(e){return`statsig.session_id.${(0,i._getStorageKey)(e)}`}t.SessionID={get:e=>t.StatsigSession.get(e).data.sessionID},t.StatsigSession={get:e=>(null==l[e]&&(l[e]=function(e){let t=function(e){let t=u(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=u(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=c(r,18e5),e.ageTimeoutID=c(r,144e5-i),e}(l[e])),overrideInitialSessionID:(e,t)=>{l[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),l={},c={},u={};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(!c[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(u[e])return null;if(null!=l[e])return l[e];let t=null;return null!=(t=function(e){if(!c[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))?(l[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),l[e]=t),t},setOverride:(e,t)=>{l[t]=e,f(e,t),h(e,t)},_setCookiesEnabled:(e,t)=>{c[e]=t},_setDisabled:(e,t)=>{u[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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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),l=n(41231),c=n(37631),u=n(27995),d=n(33463),f=n(16790),h=n(38614);class p{constructor(e,t,n,r){var l,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)&&u.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!==(l=null==r?void 0:r.overrideAdapter)&&void 0!==l?l: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,c._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,l.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,l;let c={gate:t.name,gateValue:String(t.value),ruleID:t.ruleID};return(null===(i=t.__evaluation)||void 0===i?void 0:i.version)!=null&&(c.configVersion=t.__evaluation.version),o(r,e,t.details,c,a(null!==(l=null===(s=t.__evaluation)||void 0===s?void 0:s.secondary_exposures)&&void 0!==l?l:[],n))},t._mapExposures=a,t._createConfigExposure=(e,t,r)=>{var i,s,l,c;let u={config:t.name,ruleID:t.ruleID};return(null===(i=t.__evaluation)||void 0===i?void 0:i.version)!=null&&(u.configVersion=t.__evaluation.version),(null===(s=t.__evaluation)||void 0===s?void 0:s.passed)!=null&&(u.rulePassed=String(t.__evaluation.passed)),o(n,e,t.details,u,a(null!==(c=null===(l=t.__evaluation)||void 0===l?void 0:l.secondary_exposures)&&void 0!==c?c:[],r))},t._createLayerParameterExposure=(e,t,n,r)=>{var s,l,c,u,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!==(l=null==p?void 0:p.undelegated_secondary_exposures)&&void 0!==l?l:[];v&&(g=null!==(c=p.allocated_experiment_name)&&void 0!==c?c:"",m=null!==(u=p.secondary_exposures)&&void 0!==u?u:[]);let b=null===(d=t.__evaluation)||void 0===d?void 0:d.parameter_rule_ids,y={config:t.name,parameterName:n,ruleID:null!==(f=null==b?void 0:b[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&&(y.configVersion=t.__evaluation.version),o(i,e,t.details,y,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 l=null!==(s=null==t?void 0:t[o])&&void 0!==s?s:null;return null==l?null!=a?a:null:null==a||(0,i._isTypeMatch)(l,a)?(null==n||n(o),l):(r.Log.warn(`Parameter type mismatch. '${e}.${o}' was found to be type '${typeof l}' 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 l=null!=s?s:a,c=l;function u(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:()=>c.isReady(),isReadyResolver:()=>c.isReadyResolver(),getProviderName:()=>c.getProviderName(),getItem:e=>u(()=>c.getItem(e)),setItem:(e,t)=>u(()=>c.setItem(e,t)),removeItem:e=>c.removeItem(e),getAllKeys:()=>c.getAllKeys(),_setProvider:e=>{l=e,c=e},_setDisabled:e=>{c=e?a:l}},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,l=!1;t._isCurrentlyVisible=()=>s===i,t._isUnloading=()=>l,t._subscribeToVisiblityChanged=e=>{a.unshift(e)},t._notifyVisibilityChanged=e=>{e!==s&&(s=e,a.forEach(t=>t(e)))},(0,r._addWindowEventListenerSafe)("focus",()=>{l=!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)(),()=>{l=!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 l=n(99025);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return l.Log}});let c=n(56801),u=n(38614);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return u.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:l.Log,SDK_VERSION:c.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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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,l,c,u,d;let f=t?(0,i._typedJsonParse)(t,"has_updates","InitializeResponse"):null,h={user:o,hash:null!==(l=null===(s=null===(r=this._option)||void 0===r?void 0:r.networkConfig)||void 0===s?void 0:s.initializeHashAlgorithm)&&void 0!==l?l:"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===(u=null===(c=this._option)||void 0===c?void 0:c.networkConfig)||void 0===u?void 0:u.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 l=(0,o._resolveDeltasResponse)(t,s.body);return"string"==typeof l?l:this._fetchEvaluations(e,t,Object.assign(Object.assign(Object.assign({},n),l),{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,l)=>{if(null==t)return l;let c=t[s];if(null==c||null!=l&&(0,r._typeOf)(l)!==c.param_type)return l;switch(c.ref_type){case"static":return c.value;case"gate":return e.getFeatureGate(c.gate_name,o(n)?void 0:i).value?c.pass_value:c.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,c,l,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,c,l,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,c,l,n);default:return l}}}},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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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),l=n(95231);class c extends i.StatsigClientBase{static instance(e){let t=(0,i._getStatsigGlobal)().instance(e);return t instanceof c?t:(i.Log.warn((0,i._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new c(null!=e?e:"",{}))}constructor(e,t,n=null){var r,s;i.SDKType._setClientType(e,"javascript-client");let c=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 l.StatsigEvaluationsDataAdapter,c,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=c,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),l=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),c=null!=l?l:s;return this._enqueueExposure(e,(0,i._createGateExposure)(this._user,c,this._store.getExposureMapping()),t),this.$emt({name:"gate_evaluation",gate:c}),c}_getDynamicConfigImpl(e,t){var n,r;let{result:o,details:a}=this._store.getConfig(e),s=(0,i._makeDynamicConfig)(e,a,o),l=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),c=null!=l?l:s;return this._enqueueExposure(e,(0,i._createConfigExposure)(this._user,c,this._store.getExposureMapping()),t),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:c}),c}_getExperimentImpl(e,t){var n,r,o,a;let{result:s,details:l}=this._store.getConfig(e),c=(0,i._makeExperiment)(e,l,s);null!=c.__evaluation&&(c.__evaluation.secondary_exposures=(0,i._mapExposures)(null!==(r=null===(n=c.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==r?r:[],this._store.getExposureMapping()));let u=null===(a=null===(o=this.overrideAdapter)||void 0===o?void 0:o.getExperimentOverride)||void 0===a?void 0:a.call(o,c,this._user,t),d=null!=u?u:c;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),l=(0,i._makeLayer)(e,s,a),c=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getLayerOverride)||void 0===r?void 0:r.call(n,l,this._user,t);(null==t?void 0:t.disableExposureLog)&&this._logger.incrementNonExposureCount(e);let u=(0,i._mergeOverride)(l,c,null!==(o=null==c?void 0:c.__value)&&void 0!==o?o:l.__value,n=>{null!=t&&t.disableExposureLog||this._enqueueExposure(e,(0,i._createLayerParameterExposure)(this._user,u,n,this._store.getExposureMapping()),t)});return this.$emt({name:"layer_evaluation",layer:u}),u}_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)},l=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!=l&&(a.__configuration=l.config,a.details=l.details,a.get=(0,s._makeParamStoreGetter)(this,l.config,t)),a}}t.default=c},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{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((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=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)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()}]);