;/*FB_PKG_DELIM*/

__d("WebBloksClearCachedAsyncComponents",[],(function(t,n,r,o,a,i){function e(e){e.objectSet.componentQueryStore.clear()}i.default=e}),66);
__d("WebBloksDummy",[],(function(t,n,r,o,a,i){function e(){}i.default=e}),66);
__d("WebBloksFetchAsyncComponent",[],(function(t,n,r,o,a,i){function e(e,t,n,r,o){e.objectSet.componentQueryStore.fetch(t,n,r,"FETCH")}i.default=e}),66);
__d("WebBloksInvalidateCachedAsyncComponents",[],(function(t,n,r,o,a,i){function e(e,t,n){e.bloksContext.objectSet.componentQueryStore.invalidate(t,n)}i.default=e}),66);
__d("AcqWebBloksActions",["WebBloksClearCachedAsyncComponents","WebBloksDummy","WebBloksFetchAsyncComponent","WebBloksInvalidateCachedAsyncComponents"],(function(t,n,r,o,a,i,l){var e,s={"bk.action.bloks.ClearCachedAsyncComponents":r("WebBloksClearCachedAsyncComponents"),"bk.action.bloks.FetchAsyncComponents":r("WebBloksFetchAsyncComponent"),"bk.action.bloks.InvalidateCachedAsyncComponents":r("WebBloksInvalidateCachedAsyncComponents"),"bk.versioning.bloks.AsyncComponentAppIdExpression":e=r("WebBloksDummy"),"bk.versioning.bloks.AsyncComponentCacheTtlExpression":e,"bk.versioning.bloks.AsyncComponentClientParams":e,"bk.versioning.bloks.AsyncComponentDependencies":e,"bk.versioning.bloks.AsyncComponentReleaseV1":e,"bk.versioning.bloks.AsyncComponentScoping":e,"bk.versioning.bloks.ScreenQuerySSRPayload":e};l.ACTIONS=s}),98);
__d("acqTraversalKeys",[],(function(t,n,r,o,a,i){var e={},l=e;i.default=l}),66);
__d("ACQWebBloksEnvironmentConfigDynamic",["AcqWebBloksActions","acqTraversalKeys"],(function(t,n,r,o,a,i,l){var e={actions:o("AcqWebBloksActions").ACTIONS,traversalKeys:r("acqTraversalKeys")};l.ACQ_ENVIRONMENT_CONFIG=e}),98);
__d("ClientAjaxIdsUpdater",["CurrentUserInitialData","MRequestConfig","cr:8959","cr:8960"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t){if(t.ajaxUpdateAfterLogin){var o=t.ajaxUpdateAfterLogin;(e||(e=r("CurrentUserInitialData"))).USER_ID=o.currentUser,n("cr:8959").setToken(o.dtsgToken),n("cr:8960").setToken(o.dtsgAsyncGetToken),r("MRequestConfig").ajaxResponseToken=o.ajaxResponseToken}}l.default=s}),98);
__d("WebBloksIsUnitTest",[],(function(t,n,r,o,a,i){"use strict";function e(){var e;return typeof process!="undefined"&&((e=process)==null||(e=e.env)==null?void 0:e.NODE_ENV)==="test"}i.default=e}),66);
__d("WebBloksAppLoaderConsoleDebugger",["WebBloksIsUnitTest"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){}function s(e,t){}function u(e,t){}var c={onStart:e,onSuccess:s,onError:u};l.default=c}),98);
__d("WebBloksErrors",[],(function(t,n,r,o,a,i){var e=(function(e){function t(t,n,r){var o;if(o=e.call(this)||this,o.message=(r===!0?"[DEV Only]":"")+"[WebBloks] "+t+(n?": "+n.toString():""),o.name=o.constructor.name,n&&(o.cause=n,n.stack&&(o.stack=n.stack)),!o.stack&&(typeof process=="undefined"||process.env.JEST_WORKER_ID===void 0)){var a=new Error(o.message);a.stack,o.stack=a.stack}return o}return babelHelpers.inheritsLoose(t,e),t})(babelHelpers.wrapNativeSuper(Error)),l=(function(e){function t(t,n){return e.call(this,"Unable to find component with id="+t,null,n)||this}return babelHelpers.inheritsLoose(t,e),t})(e),s=(function(e){function t(t,n,r){return e.call(this,"Error while fetching data: "+t,n,r)||this}return babelHelpers.inheritsLoose(t,e),t})(e),u=(function(e){function t(t,n,r){var o,a;return a=e.call(this,"Script error: "+t,null,r)||this,a.stackFrame=n==null||(o=n.getSourceMapNode())==null?void 0:o.getBloksStackFrame(),a.stackFrame=c(a.stackFrame),a}return babelHelpers.inheritsLoose(t,e),t})(e);function c(e){for(var t=e;t!=null;){var n;if(t.offset===((n=t.nextFrame)==null?void 0:n.offset)){var r;t.nextFrame=(r=t.nextFrame)==null?void 0:r.nextFrame}else t=t.nextFrame}return e}var d=(function(e){function t(t,n,r){return e.call(this,"Script parse error at position "+t+": "+n,null,r)||this}return babelHelpers.inheritsLoose(t,e),t})(e),m=(function(e){function t(t,n){return e.call(this,'Action for "'+t+'" was not registered.',null,n)||this}return babelHelpers.inheritsLoose(t,e),t})(e),p=(function(e){function t(t,n){return e.call(this,'Component for "'+t+'" was not registered.',null,n)||this}return babelHelpers.inheritsLoose(t,e),t})(e),_=(function(e){function t(t,n){return e.call(this,"Unsupported feature: "+t,null,n)||this}return babelHelpers.inheritsLoose(t,e),t})(e),f=(function(e){function t(t,n){return e.call(this,'Container config for "'+t+'" was not registered.',null,n)||this}return babelHelpers.inheritsLoose(t,e),t})(e);i.WebBloksError=e,i.WebBloksComponentIdNotFoundError=l,i.WebBloksNetworkError=s,i.WebBloksScriptError=u,i.WebBloksScriptParseError=d,i.WebBloksUnknownActionError=m,i.WebBloksUnknownComponentError=p,i.WebBloksUnsupportedFeatureError=_,i.WebBloksUnknownContainerConfigError=f}),66);
__d("WebBloksFalcoPolicyData",[],(function(t,n,r,o,a,i){"use strict";var e={};function l(t){Object.keys(t).forEach(function(n){e[n]==null&&(e[n]=t[n])})}function s(t){var n=e[t];return n==null?{r:1}:n}var u={add:l,get:s};i.default=u}),66);
__d("WebBloksServerData",["WebBloksFalcoPolicyData"],(function(t,n,r,o,a,i,l){"use strict";function e(e){(e==null?void 0:e.falco_log_policy_map)!=null&&r("WebBloksFalcoPolicyData").add(e.falco_log_policy_map)}l.handleWebBloksServerData=e}),98);
__d("WebBloksAsyncActions",["WebBloksScriptDebuggingUtils","WebBloksUtils"],(function(t,n,r,o,a,i,l){async function e(e,t,n,r){var a=o("WebBloksUtils").nullthrows(e.bloksContext.objectSet.environment.appLoader),i=null;return i=await a.fetchAction(t,n),e.executeActionPayload(i,r)}async function s(t,n,r){try{return await e(t,n,r)}catch(e){o("WebBloksScriptDebuggingUtils").logScriptError(t.objectSet,e,null,t)}}l.executeAsyncAction=e,l.executeAsyncActionCatch=s}),98);
__d("WebBloksScript",[],(function(t,n,r,o,a,i){var e=(function(){function e(e,t){this.$1=e,this.$2=t}var t=e.prototype;return t.getValue=function(){return this.$1},t.getSourceMapNode=function(){return this.$2},e})();i.WebBloksScript=e}),66);
__d("WebBloksComponentContext",["Promise","WebBloksInterpreterEnvironment","WebBloksScript","WebBloksScriptDebuggingUtils","WebBloksScriptExecutor","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s,u=s||(s=o("react")),c=s,d=c.createContext,m=c.useContext,p=function(a,i,l){var t=this;i===void 0&&(i=null),l===void 0&&(l=!1),this.execute=function(e,n,a){var i,l=new(r("WebBloksInterpreterEnvironment"))(t.bloksContext);l.scope=(i=e.keyPath)!=null?i:o("WebBloksUtils").EMPTY_KEY_PATH;try{if(t.bloksContext.treeManager.beginUpdates(),n instanceof o("WebBloksScript").WebBloksScript){var s=n==null?void 0:n.getSourceMapNode();return s!=null&&l.setBaseSourceMapNode(s),o("WebBloksScriptExecutor").execute(l,n.getValue(),a)}else return o("WebBloksScriptExecutor").execute(l,n,a)}finally{l.setBaseSourceMapNode(null),t.bloksContext.treeManager.endUpdates()}},this.executeCatch=function(e,n,a){try{return t.execute(e,n,a)}catch(a){var i,l=new(r("WebBloksInterpreterEnvironment"))(t.bloksContext);l.scope=(i=e.keyPath)!=null?i:o("WebBloksUtils").EMPTY_KEY_PATH,o("WebBloksScriptDebuggingUtils").logScriptError(t.objectSet,a,n.getValue(),l)}},this.executeOnNextTickCatch=function(a,i,l){(e||(e=n("Promise"))).resolve().then(function(){t.execute(a,i,l)}).catch(function(e){var n,l=new(r("WebBloksInterpreterEnvironment"))(t.bloksContext);l.scope=(n=a.keyPath)!=null?n:o("WebBloksUtils").EMPTY_KEY_PATH,o("WebBloksScriptDebuggingUtils").logScriptError(t.objectSet,e,i==null?void 0:i.getValue(),l)})},this.renderNode=function(e,n){if(!e)return null;var r=t.objectSet.getComponentForName(e.styleId),o=e.get("visibility");return o==="gone"?null:u.jsx(r,{node:e,externalStyle:n},e.clientId)},this.renderChildren=function(e){return e?e.map(function(e){return t.renderNode(e)}):null},this.bloksContext=a,this.ownerContext=i,this.isLoadingNode=l};Object.defineProperties(p.prototype,{objectSet:{get:function(){return this.bloksContext.objectSet},enumerable:!1},treeManager:{get:function(){return this.bloksContext.treeManager},enumerable:!1}});var _=d(null);function f(){return o("WebBloksUtils").nullthrows(m(_))}l.WebBloksComponentContext=p,l.WebBloksComponentContextContext=_,l.useWebBloksContext=f}),98);
__d("WebBloksEnvironmentContext",["WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useContext,c=s.createContext(null);function d(e){var t=e.children,n=e.environment;return s.jsx(c.Provider,{value:n,children:t})}d.displayName=d.name+" [from "+i.id+"]";function m(){var e=u(c);return o("WebBloksUtils").nullthrows(e)}l.WebBloksEnvironmentContext=c,l.WebBloksEnvironmentProvider=d,l.useWebBloksEnvironment=m}),98);
__d("WebBloksSourceMapNodeTypes",[],(function(t,n,r,o,a,i){var e=(function(){function e(e,t,n){this.offset="",this.offset=e,this.nextFrame=t,this.loggingID=n}var t=e.prototype;return t.toArray=function(){for(var e=[],t=this;t!=null;){var n;e.push(t.offset),t=(n=t)==null?void 0:n.nextFrame}return e},e})();function l(e){for(var t=null,n=e;n!=null;){var r;t==null&&(t=[]),(r=t)==null||r.push(n.offset),n=n.nextFrame}return t}i.WebBloksStackFrame=e,i.getBloksStackTrace=l}),66);
__d("WebBloksSourceMapNode",["WebBloksSourceMapNodeTypes"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){t===void 0&&(t=[]),this.$1=e,this.$2=t}var t=e.prototype;return t.getLoggingID=function(){var e;return(e=this.$1)==null?void 0:e.getLoggingID()},t.getSourceMapID=function(){var e;return(e=this.$1)==null?void 0:e.getSourceMapID()},t.getParent=function(){return this.$1},t.getTreePath=function(){return this.$2},t.makeCopyWithNewParent=function(n){return new e(n,this.$2)},t.getBloksStackFrame=function(){var e,t=(e=this.getParent())==null?void 0:e.getBloksStackFrame();if(t==null)return null;var n=this.getTreePath(),r;return n!=null&&(n==null?void 0:n.length)>0?r=[t.offset].concat(n).join(":"):r=t.offset,new(o("WebBloksSourceMapNodeTypes")).WebBloksStackFrame(r,t.nextFrame)},t.getBloksStackTrace=function(){return o("WebBloksSourceMapNodeTypes").getBloksStackTrace(this.getBloksStackFrame())},t.addToTreePath=function(t){var e;return this.$2=(e=this.$2)==null?void 0:e.concat([t]),this},e})();l.default=e}),98);
__d("WebBloksSourceMapPayloadMetadata",[],(function(t,n,r,o,a,i){var e=function(t,n,r){this.payloadPath=t!=null?t:[],this.sourceMapID=n,this.loggingID=r};i.default=e}),66);
__d("WebBloksSourceMapRootNode",["WebBloksSourceMapNodeTypes"],(function(t,n,r,o,a,i,l){var e="null",s=(function(){function t(e,t){this.$1=e,this.$2=t}var n=t.prototype;return n.getLoggingID=function(){var e,t,n;return(e=(t=this.$2)==null?void 0:t.loggingID)!=null?e:(n=this.getParent())==null?void 0:n.getLoggingID()},n.getSourceMapID=function(){var e,t,n;return(e=(t=this.$2)==null?void 0:t.sourceMapID)!=null?e:(n=this.getParent())==null?void 0:n.getSourceMapID()},n.getParent=function(){var e,t;return(e=(t=this.$1).getParent)==null?void 0:e.call(t)},n.getTreePath=function(){var e;return(e=this.$1)==null?void 0:e.getTreePath()},n.getPayloadPath=function(){var e;return(e=this.$2)==null?void 0:e.payloadPath},n.makeCopyWithNewParent=function(n){return new t(this.$1.makeCopyWithNewParent(n),this.$2)},n.getBloksStackFrame=function(){var t,n,r,a=[],i=this.getTreePath(),l=(t=this.$2)==null?void 0:t.payloadPath;l!=null&&a.push.apply(a,l),i!=null&&i.length&&a.push.apply(a,i);var s=((n=(r=this.$2)==null?void 0:r.sourceMapID)!=null?n:e)+"|"+a.join(":"),u=this.getParent();return new(o("WebBloksSourceMapNodeTypes")).WebBloksStackFrame(s,u!=null?u.getBloksStackFrame():null)},n.getBloksStackTrace=function(){return o("WebBloksSourceMapNodeTypes").getBloksStackTrace(this.getBloksStackFrame())},n.addToTreePath=function(t){return this.$1=this.$1.addToTreePath(t),this},t})();l.default=s}),98);
__d("WebBloksFunctionTableManager",["WebBloksScriptParser","WebBloksSourceMapNode","WebBloksSourceMapPayloadMetadata","WebBloksSourceMapRootNode","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){e===void 0&&(e=o("WebBloksUtils").EMPTY_OBJECT),this.$1=new Map;for(var t in e)this.$1.set(t,e[t])}e.getKnownFt=function(t){var e=this.$2.get(t);return e!=null&&this.$3.has(e)?e:null},e.cacheFunctionTable=function(t,n){var e=t.split(":"),r=e[0],o=e[1];o!=null&&(this.$2.set(r,t),this.$3.set(t,n))},e.getFunctionTableFromCache=function(t){return this.$3.get(t)};var t=e.prototype;return t.get=function(t){var e=this.$1.get(t);if(typeof e=="string"){var n=o("WebBloksScriptParser").parse(e),r=function(r){var e=s(r,t);e!=null&&r.setBaseSourceMapNode(e);for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];var l=r.execute(n,a);return e!=null&&r.setBaseSourceMapNode(null),l};return this.$1.set(t,r),r}return o("WebBloksUtils").nullthrows(e,"Script not found in FunctionTable: "+t)},t.entries=function(){return this.$1.entries()},t.isEmpty=function(){return this.$1.size===0},t.combine=function(n){return new e().loadEntries(n.$1).loadEntries(this.$1)},t.loadEntries=function(t){var e=this;return t.forEach(function(t,n){e.$1.set(n,t)}),this},t.equalsTo=function(t){return o("WebBloksUtils").deepEquals(Array.from(this.$1.keys()),Array.from(t.$1.keys()))},e})();e.$2=new Map,e.$3=new Map;function s(e,t){var n=e.getSourceMapNode();return null}l.WebBloksFunctionTableManager=e}),98);
__d("BindTreeResources",[],(function(t,n,r,o,a,i){var e=(function(){function e(e,t){this.$1=e,this.$2=t}var t=e.prototype;return t.getVariable=function(t){return this.$1.variables.get(t)},t.containsVariable=function(t){return this.$1.variables.has(t)},t.getVariablesUnsafe=function(){return this.$1.variables},t.getExpandedVariable=function(t){return this.$2.get(t)},t.getExpandedVariablesUnsafe=function(){return this.$2},t.getManifestEntry=function(t){return this.$1.variableDefinitions.get(t)},t.getParameter=function(t){return this.$1.parameters[t]},t.getValue=function(t){return this.$1.values.get(t)},t.getPayload=function(t){return this.$1.payloads.get(t)},t.getTemplate=function(t){return this.$1.templates.get(t)},t.getFunction=function(t){return this.$1.functionTable.get(t)},t.getTreeResourcesState=function(){return this.$1},e})();i.BindTreeResources=e}),66);
__d("TreeManagerResourcesDelegate",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){this.$1=e}var t=e.prototype;return t.getVariable=function(t){return this.$1.getCommittedTreeResources().variables.get(t)},t.containsVariable=function(t){return this.$1.getCommittedTreeResources().variables.has(t)},t.getVariablesUnsafe=function(){return this.$1.getCommittedTreeResources().variables},t.getExpandedVariable=function(t){return this.$1.getExpandedVariables().get(t)},t.getExpandedVariablesUnsafe=function(){return this.$1.getExpandedVariables()},t.getManifestEntry=function(t){return this.$1.getCommittedTreeResources().variableDefinitions.get(t)},t.getParameter=function(t){return this.$1.getCommittedTreeResources().parameters[t]},t.getValue=function(t){return this.$1.getCommittedTreeResources().values.get(t)},t.getPayload=function(t){return this.$1.getCommittedTreeResources().payloads.get(t)},t.getTemplate=function(t){return this.$1.getCommittedTreeResources().templates.get(t)},t.getFunction=function(t){return this.$1.getCommittedTreeResources().functionTable.get(t)},t.getTreeResourcesState=function(){return this.$1.getCommittedTreeResources()},e})();i.TreeManagerResourcesDelegate=e}),66);
__d("WebBloksConstants",[],(function(t,n,r,o,a,i){var e="bk.components.internal.Merge",l="bk.components.internal.MergeWithBind",s="bk.components.internal.Shadow",u="bk.components.internal.Action",c="bk.components.Flexbox",d="flex",m="bk.components.Image",p="bk.components.Collection",_="bk.components.Slider",f="bk.components.screen.Wrapper",g="bk.components.screen.ScreenWrapper",h="_style",y="child_templates",C="$DESCENDANT_HAS_BIND",b="on_bind",v="on_reflow",S=13,R=32,L=37,E=39,k="bkContextKeyControllerAssociatedObject",I="textInputAssociatedObject",T="tooltipVisibilityAssociatedObject",D='system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif';i.BK_INTERNAL_MERGE=e,i.BK_INTERNAL_MERGE_WITH_BIND=l,i.BK_INTERNAL_SHADOW=s,i.BK_INTERNAL_ACTION=u,i.BK_FLEXBOX=c,i.BK_FLEX=d,i.BK_IMAGE=m,i.BK_COLLECTION=p,i.BK_SLIDER=_,i.BK_SCREEN_WRAPPER_LEGACY=f,i.BK_SCREEN_WRAPPER=g,i.BK_STYLE_ATTR=h,i.CHILD_TEMPLATES=y,i.DESCENDANT_HAS_BIND=C,i.ON_BIND=b,i.ON_REFLOW=v,i.KEY_RETURN=S,i.KEY_SPACE=R,i.KEY_LEFT=L,i.KEY_RIGHT=E,i.CONTROLLER_ASSOCIATED_OBJECT=k,i.TEXT_INPUT_ASSOCIATED_OBJECT=I,i.TOOLTIP_VISIBILITY_ASSOCIATED_OBJECT=T,i.WEBBLOKS_DEFAULT_FONT_FAMILY=D}),66);
__d("WebBloksExternalVariables",[],(function(t,n,r,o,a,i){function e(e){var t=e.dataPropsEntries,n=new Map;for(var r of t){var o=r.id,a=r.name;n.set(a,o)}return n}function l(e,t){var n=new Map;if(!e)return n;for(var r of e.entries()){var o=r[0],a=r[1],i=t.get(o);i!=null&&n.set(i,a)}return n}i.getProcessedDataPropEntries=e,i.getProcessedExternalVariables=l}),66);
__d("WebBloksInterpreterEnvironment",["BindTreeResources","Promise","TreeManagerResourcesDelegate","WebBloksConstants","WebBloksErrors","WebBloksExternalVariables","WebBloksPayloadParser","WebBloksScopedIds","WebBloksScriptDebuggingUtils","WebBloksScriptExecutor","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e,s=(function(){function t(t,r,a,i){var l=this;i===void 0&&(i=null),this.callArgsStack=[],this.splicesStack=[],this.scope=o("WebBloksUtils").EMPTY_KEY_PATH,this.execute=function(e,t){try{return l.bloksContext.treeManager.beginUpdates(),o("WebBloksScriptExecutor").execute(l,e,t)}finally{l.bloksContext.treeManager.endUpdates()}},this.executeCatch=function(e,t){try{return l.execute(e,t)}catch(t){o("WebBloksScriptDebuggingUtils").logScriptError(l.objectSet,t,e,l)}},this.executeOnNextTick=function(t,r){(e||(e=n("Promise"))).resolve().then(function(){l.execute(t,r)}).catch(function(e){return o("WebBloksScriptDebuggingUtils").logScriptError(l.objectSet,e,t,l)})},this.bloksContext=t,this.$2=r,this.$4=a,this.$1=i}t.forBind=function(n,r,a,i){var e=new(o("BindTreeResources")).BindTreeResources(a,i),l=new t(n,r,"BIND",e);return l.resources=a,l.expandedVariablesOverride=i,l},t.forAction=function(n,r){var e=new(o("TreeManagerResourcesDelegate")).TreeManagerResourcesDelegate(n.treeManager);return new t(n,r,null,e)},t.fromBloksContext=function(n){var e=new(o("TreeManagerResourcesDelegate")).TreeManagerResourcesDelegate(n.treeManager);return new t(n,null,null,e)};var r=t.prototype;return r.getResources=function(){var e;return this.$1?this.$1.getTreeResourcesState():(e=this.resources)!=null?e:this.bloksContext.treeManager.getCommittedTreeResources()},r.getScriptMode=function(){return this.$4},r.requireResources=function(){return o("WebBloksUtils").nullthrows(this.getResources())},r.readVariable=function(t){var e,n=this.requireResources().variables.get(t);return(e=this.variableAccessLog)==null||e.add(t),n},r.readExpandedVariable=function(t){var e,n=this.getExpandedVariablesFromEnvOrTree(),r=n.get(t);return(e=this.variableAccessLog)==null||e.add(t),r},r.readParameter=function(t){return this.requireResources().parameters[t]},r.readValue=function(t){var e=this.requireResources().values.get(t);if(!e)throw new(o("WebBloksErrors")).WebBloksError("Value for referenced id "+t+" not found!");return this.execute(e.expression,o("WebBloksUtils").EMPTY_ARRAY)},r.getExpandedVariablesFromEnvOrTree=function(){var e;return this.$1?this.$1.getExpandedVariablesUnsafe():(e=this.expandedVariablesOverride)!=null?e:this.bloksContext.treeManager.getExpandedVariables()},r.readManifestEntry=function(t){var e=this.requireResources().variableDefinitions.get(t);if(e==null)throw new(o("WebBloksErrors")).WebBloksError("Data manifest for referenced internal variable id "+t+" not found!");return e},r.readPayload=function(t){var e=this.requireResources().payloads.get(t);if(e==null)throw new(o("WebBloksErrors")).WebBloksError("Payload for referenced embedded payload id "+t+" not found!");return e},r.executeActionPayload=function(t,n){var e=this.bloksContext,r=e.objectSet,a=e.treeManager,i=t.action,l=t.tree,s={layout:{bloks_payload:t}};a.beginUpdates();try{var u,c;if(i!=null){u=i;var d=null;c=o("WebBloksPayloadParser").parseAction(s,r.environment.traversalKeys,d)}else if(l!=null){var m=l[o("WebBloksConstants").BK_INTERNAL_ACTION];u=m.handler,c=o("WebBloksPayloadParser").parseTree(s,r.environment.traversalKeys)}else throw new(o("WebBloksErrors")).WebBloksError("No bloks action found in response");var p=o("WebBloksExternalVariables").getProcessedDataPropEntries(c.resources),_=o("WebBloksExternalVariables").getProcessedExternalVariables(n,p);a.synchronouslyAddTreeResources(c,_);var f=this.createBloksModelScopedContext(o("WebBloksUtils").EMPTY_KEY_PATH);return f.execute(u,[this.bloksContext])}finally{a.endUpdates()}},r.$5=function(){var e=null,n=new t(this.bloksContext,e,this.$4,this.$1);return n.callArgsStack=this.callArgsStack,n.resources=this.resources,n.expandedVariablesOverride=this.expandedVariablesOverride,n.variableAccessLog=this.variableAccessLog,n},r.createBloksModelScopedContext=function(t){if(t===this.scope)return this;var e=this.$5();return e.scope=t!=null?t:o("WebBloksUtils").EMPTY_KEY_PATH,e},r.createScopedContext=function(){var e=this.$5();return e.scope=o("WebBloksScopedIds").extendKeyPath(this.scope),e},r.createScopedContextWithDepth=function(t){if(t==null)return this.createScopedContext();var e=this.$5();return e.scope=o("WebBloksScopedIds").truncateKeyPath(this.scope,t),e},r.getBaseSourceMapNode=function(){var e,t;return(e=this.$2)==null?void 0:e.makeCopyWithNewParent((t=this.$2)==null?void 0:t.getParent())},r.setBaseSourceMapNode=function(t){this.$2=t},r.getSourceMapNode=function(){return this.$3},r.setSourceMapNode=function(t){this.$3=t},t})();Object.defineProperties(s.prototype,{actions:{get:function(){return this.bloksContext.objectSet.environment.actions},enumerable:!1},objectSet:{get:function(){return this.bloksContext.objectSet},enumerable:!1},treeManager:{get:function(){return this.bloksContext.treeManager},enumerable:!1}}),l.default=s}),98);
__d("WebBloksLegacyTraverser",["WebBloksConstants","WebBloksErrors","WebBloksMutations","WebBloksUpdateTraversal","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){return s(e.snapshotPendingComponent(),new(o("WebBloksMutations")).ServerIdTarget(t),n)}function s(e,t,n){var r;return e.traverse(function(e){return t.targets(e)?(r=e,!0):!1},n),r}function u(e,t,n,r){var a=e.snapshotPendingComponent(),i=null,l=o("WebBloksUpdateTraversal").runUpdateTraversal(a,{apply:function(r){if(r.getId()===t&&(i=r),d(r,t)&&(i=r),i){var e=r.get(o("WebBloksConstants").ON_REFLOW);e!=null&&n(e,[r])}return r},onUpdatesApplied:function(t){i===t&&(i=null)}},r);if(l!==a)throw new(o("WebBloksErrors")).WebBloksError("Reflow traversal produced an updated componnent")}function c(e,t,n,r){var a=e.snapshotPendingComponent(),i=null,l=o("WebBloksUpdateTraversal").runUpdateTraversal(a,{apply:function(r){if(r.getId()===t&&(i=r),r.shadowParents)for(var e of r.shadowParents)e.id===t&&(i=r),i&&e.reduce&&n(e.reduce,o("WebBloksUtils").EMPTY_ARRAY);return r},onUpdatesApplied:function(t){i===t&&(i=null)}},r);if(l!==a)throw new(o("WebBloksErrors")).WebBloksError("Reduce traversal produced an updated componnent")}function d(e,t){var n,r;return(n=(r=e.shadowParents)==null?void 0:r.find(function(e){return e.id===t}))!=null?n:null}function m(e,t,n){var r;return t.snapshotPendingComponent().traverse(function(e){var t=d(e,n);return t?(r=t.init_state,!0):!1},e),r}l.findComponentByServerId=e,l.findComponent=s,l.reflow=u,l.reduce=c,l.getStateInitializer=m}),98);
__d("WebBloksExpressionParser",["WebBloksScript","WebBloksSourceMapNode","WebBloksSourceMapPayloadMetadata","WebBloksSourceMapRootNode"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=null;return new(o("WebBloksScript")).WebBloksScript(e,r)}function s(e){for(var t=e==null?void 0:e.getSourceMapID(),n=e==null?void 0:e.getLoggingID(),o=e,a=null,i=[];o!=null;){if(i.push(o.getTreePath()),o instanceof r("WebBloksSourceMapRootNode")){a=o.getPayloadPath();break}o=o.getParent()}var l=i.toReversed().flat(1);return null}l.makeWebBloksExpression=e}),98);
__d("WebBloksScriptString",[],(function(t,n,r,o,a,i){function e(e){return e}function l(e){return e}function s(e){return typeof e=="string"}i.castWebBloksScriptStringFromString=e,i.castWebBloksScriptStringToString=l,i.isWebBloksScriptString=s}),66);
__d("WebBloksModel",["WebBloksConstants","WebBloksErrors","WebBloksExpressionParser","WebBloksScript","WebBloksScriptParser","WebBloksScriptString","WebBloksUpdateTraversal","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t,n){n===void 0&&(n=o("WebBloksUtils").getNextGlobalBloksClientId()),this.$isBloksModel=!0,this.clientId=n,this.styleId=e,this.$1=t,this.uiMutableContainer={}}var t=e.prototype;return t.getId=function(){var e=this.$1.id;return e==null?null:String(e)},t.get=function(t){return this.$1[t]},t.set=function(t,n){this.$1[t]=n},t.getSubNode=function(t){var e=this.get(t);return e},t.getExpression=function(t){var e=this.get(t),n=e;if(e==null||e instanceof o("WebBloksScript").WebBloksScript)return e;if(o("WebBloksScriptString").isWebBloksScriptString(e)&&(e=o("WebBloksScriptParser").parse(e)),Array.isArray(e)||typeof e=="function"){if(e=o("WebBloksExpressionParser").makeWebBloksExpression(e,this,[this.styleId,t]),this.set(t,e),this.sourceModel&&n===this.sourceModel.get(t)){var r;(r=this.sourceModel)==null||r.set(t,e)}return e}return null},t.getSubNodes=function(t){var e;return(e=this.get(t))!=null?e:o("WebBloksUtils").EMPTY_ARRAY},t.getChildren_DEPRECATED=function(t){t===void 0&&(t="children");var e=this.getSubNodes(t);return e},t.getStyle=function(t){var e=this.getSubNode(o("WebBloksConstants").BK_STYLE_ATTR);return s(e)&&(e==null?void 0:e.styleId)===t?e:null},t.getValues=function(){return this.$1},t.cloneValues=function(){var e=babelHelpers.extends({},this.$1),t=this.getSubNodes("children");return Array.isArray(t)&&t.length!==0&&(e.children=t.slice()),e},t.makeCopy=function(n){var t=new e(this.styleId,this.cloneValues(),this.clientId);return n&&Object.assign(t.$1,n),t.uiMutableContainer=this.uiMutableContainer,t.shadowParents=this.shadowParents,t.keyPath=this.keyPath,t.sourceModel=this.sourceModel,t.sourceMapNode=this.sourceMapNode,t},t.makeBoundCopy=function(){var e=this.makeCopy();return e.sourceModel=this,e},t.makeCopyWithKeypath=function(t,n){var e=this.makeCopy();return e.clientId!==t&&(e.uiMutableContainer={}),e.clientId=t,e.keyPath=n,e},t.makeDeepCopyWithNewClientIds=function(n,r){return o("WebBloksUpdateTraversal").runUpdateTraversal(this,{apply:function(r){return e.makeCopyWithNewClientId(r,n)},onUpdatesApplied:function(t){}},r)},e.makeCopyWithNewClientId=function(n,r){var t=new e(n.styleId,n.cloneValues());return t.shadowParents=n.shadowParents,t.keyPath=r,t.sourceMapNode=n.sourceMapNode,t},t.traverse=function(t,n){if(t(this))return!0;var e=n[this.styleId];if(e==null)return!1;var r=e.plural_subnodes,o=e.subnodes;if(o)for(var a of o){var i=this.getSubNode(a);if(s(i)&&i.traverse(t,n))return!0}if(r)for(var l of r){var u=this.getSubNodes(l);if(Array.isArray(u)){for(var c of u)if(s(c)&&c.traverse(t,n))return!0}}return!1},t.toJSON=function(){var e,t=Object.entries(this.$1).filter(function(e){var t=e[0];return t[0]!=="$"}).map(function(e){var t=e[0],n=e[1];return s(n)?[t,n.toJSON()]:Array.isArray(n)&&n[0]&&s(n[0])?[t,n.map(function(e){return e.toJSON()})]:[t,n]});return e={},e[this.styleId]=Object.fromEntries(t),e},e})();function s(e){return e!=null&&(e==null?void 0:e.$isBloksModel)===!0}l.WebBloksModel=e,l.isWebBloksModel=s}),98);
__d("WebBloksParseResult",[],(function(t,n,r,o,a,i){var e=function(t,n,r){this.unboundModel=t,this.resources=n,this.loggingID=r};i.default=e}),66);
__d("WebBloksPayloadParser",["WebBloksErrors","WebBloksModel","WebBloksModelParser","WebBloksParseResult","WebBloksSourceMapNode","WebBloksSourceMapPayloadMetadata","WebBloksSourceMapRootNode","WebBloksUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){var a,i,l,s=e==null||(a=e.layout)==null?void 0:a.bloks_payload,u=(i=s.error_attribution)==null?void 0:i.logging_id,c=(l=s.error_attribution)==null?void 0:l.source_map_id;if(s.action==null)throw new(o("WebBloksErrors")).WebBloksError("Invalid Bloks payload received from server. Action is expected but is missing:\n\n"+JSON.stringify(s));var d=new(o("WebBloksModel")).WebBloksModel("-1",{}),m=o("WebBloksModelParser").parseBloksTreeResources(s,d,t);return new(r("WebBloksParseResult"))(d,m,u)}function s(e,t,n){var a,i,l,s=e==null||(a=e.layout)==null?void 0:a.bloks_payload,u=o("WebBloksUtils").cast(s.tree),c=(i=s.error_attribution)==null?void 0:i.logging_id,d=(l=s.error_attribution)==null?void 0:l.source_map_id;if(u==null)throw new(o("WebBloksErrors")).WebBloksError("Invalid Bloks payload received from server. Tree is expected but is missing:\n\n"+JSON.stringify(s));var m=null,p=o("WebBloksModelParser").parseBloksModelFromJSON(u,t,m),_=o("WebBloksModelParser").parseBloksTreeResources(s,p,t);return new(r("WebBloksParseResult"))(p,_,c)}l.parseAction=e,l.parseTree=s}),98);
__d("WebBloksScopedIds",["WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=(function(){function e(){this.scopedClientIdToClientIdMap=new Map}var t=e.prototype;return t.createScopedClientId=function(t,n){return t+"/"+n},t.registerOrGetClientIdForScopedId=function(t,n){var e=this.createScopedClientId(t,n),r=this.scopedClientIdToClientIdMap.get(e);if(r!==void 0)return r;var a=o("WebBloksUtils").getNextGlobalBloksClientId();return this.scopedClientIdToClientIdMap.set(e,a),a},t.getScopedClientId=function(t,n){return this.registerOrGetClientIdForScopedId(t.clientId,n)},t.copyModelWithKeyPath=function(t,n,r){return t.makeCopyWithKeypath(this.getScopedClientId(t,r),n)},e})();function s(e,t,n){return c(t,u(e.slice(0,n)))}function u(e){var t=[];for(var n of e)t.push("/"),t.push(n);return t.join("")}function c(e,t){return e+"#"+t}function d(e,t){t===void 0&&(t=null);var n=e!=null?e.slice():[];return n.push(t!=null?t:o("WebBloksUtils").getNextGlobalBloksClientId()),n}function m(e,t){return t==null?e:t===0?p:t>=e.length?e:e.slice(0,t)}var p=[];l.ClientIdToScopedIdMapper=e,l.getScopedVariableIdAtDepth=s,l.buildKeypathBase=u,l.buildScopedVariableIdentifier=c,l.extendKeyPath=d,l.truncateKeyPath=m}),98);
__d("WebBloksTreeResources",["WebBloksFunctionTableManager","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t,n,r,o,a,i,l,s,u){this.$1=!0,this.variableDefinitions=e!=null?e:[],this.payloads=t!=null?t:new Map,this.dataPropsEntries=n!=null?n:[],this.componentQueries=r!=null?r:[],this.functionTable=o,this.ftDeclare=a,this.ftInclude=i,this.values=s!=null?s:[],this.templates=l!=null?l:new Map,this.depth=u}var t=e.prototype;return t.setShouldCommitPublishStateUpdates=function(t){t===void 0&&(t=!0),this.$1=t},t.shouldCommitPublishStateUpdates=function(){return this.$1},t.clone=function(){return new e(this.variableDefinitions,this.payloads,this.dataPropsEntries,this.componentQueries,this.functionTable,this.ftDeclare,this.ftInclude,this.templates,this.values,this.depth)},e.empty=function(){return new e},e})(),s=(function(){function e(e,t,n,r,a,i,l){e===void 0&&(e=new Map),t===void 0&&(t=new Map),n===void 0&&(n=new Map),r===void 0&&(r=o("WebBloksUtils").EMPTY_OBJECT),a===void 0&&(a=new(o("WebBloksFunctionTableManager")).WebBloksFunctionTableManager),i===void 0&&(i=new Map),l===void 0&&(l=new Map),this.variableDefinitions=e,this.payloads=t,this.variables=n,this.parameters=r,this.functionTable=a,this.values=i,this.templates=l}var t=e.prototype;return t.withUpdatedEntries=function(n,r){return!n&&!r?this:new e(n!=null?n:this.variableDefinitions,this.payloads,r!=null?r:this.variables,this.parameters,this.functionTable,this.values,this.templates)},t.withUpdatedParameters=function(n){return!n||o("WebBloksUtils").isEmptyObject(n)&&o("WebBloksUtils").isEmptyObject(this.parameters)?this:new e(this.variableDefinitions,this.payloads,this.variables,n,this.functionTable,this.values,this.templates)},t.withVariableUpdates=function(n){var t=new Map(this.variables);return o("WebBloksUtils").putAll(t,n),new e(this.variableDefinitions,this.payloads,t,this.parameters,this.functionTable,this.values,this.templates)},t.withPayloadUpdates=function(n){if(n.size===0)return this;var t=new Map(this.payloads);return o("WebBloksUtils").putAll(t,n),new e(this.variableDefinitions,t,this.variables,this.parameters,this.functionTable,this.values,this.templates)},t.withFunctionTableUpdates=function(n,r,a){var t=new(o("WebBloksFunctionTableManager")).WebBloksFunctionTableManager(n!=null?n:o("WebBloksUtils").EMPTY_OBJECT);return r!=null&&o("WebBloksFunctionTableManager").WebBloksFunctionTableManager.cacheFunctionTable(r,t),a!=null&&(t=t.combine(o("WebBloksUtils").nullthrows(o("WebBloksFunctionTableManager").WebBloksFunctionTableManager.getFunctionTableFromCache(a),"Shared bundle not found: "+a))),t=t.combine(this.functionTable),new e(this.variableDefinitions,this.payloads,this.variables,this.parameters,t,this.values,this.templates)},t.withValueUpdates=function(n){if(n.length===0)return this;var t=new Map;return n.forEach(function(e){t.set(e.id,e)}),new e(this.variableDefinitions,this.payloads,this.variables,this.parameters,this.functionTable,t,this.templates)},t.withTemplateUpdates=function(n){if(n.size===0)return this;var t=new Map(this.templates);return o("WebBloksUtils").putAll(t,n),new e(this.variableDefinitions,this.payloads,this.variables,this.parameters,this.functionTable,this.values,t)},t.equalsTo=function(t){return this.payloads===t.payloads&&this.parameters===t.parameters&&this.variableDefinitions===t.variableDefinitions&&o("WebBloksUtils").shallowMapEqual(this.variables,t.variables)&&this.functionTable.equalsTo(t.functionTable)&&o("WebBloksUtils").shallowMapEqual(this.values,t.values)&&o("WebBloksUtils").shallowMapEqual(this.templates,t.templates)},e})();l.WebBloksTreeResources=e,l.WebBloksTreeResourcesState=s}),98);
__d("WebBloksScopedComponentQueryDefinition",["WebBloksErrors","WebBloksLegacyTraverser","WebBloksMutations","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){return t.map(function(t){return s(e,t,n)})}function s(e,t,n){var r=new Map;for(var a of Object.entries(t.targets)){var i=a[0],l=a[1],s=o("WebBloksLegacyTraverser").findComponent(e,new(o("WebBloksMutations")).ServerIdTarget(l),n);if(s!=null){var u,c={serverId:o("WebBloksUtils").nullthrows(s.getId()),clientId:s.clientId,keyPath:(u=s.keyPath)!=null?u:[]};r.set(i,c)}else throw new(o("WebBloksErrors")).WebBloksError("Failed to find async component container for "+t.id)}return{id:t.id,appIdExpression:t.app_id_expr,paramsExpression:t.params,clientParamsExpression:t.client_params,dependencies:t.deps,targets:r,cacheTTLExpression:t.cache_ttl_expr,isScoped:t.is_scoped}}function u(e,t,n){var r=new Map;for(var a of(i=(l=t.targets)==null?void 0:l.entries())!=null?i:[]){var i,l,s=a[0],u=a[1],c=o("WebBloksLegacyTraverser").findComponent(e,new(o("WebBloksMutations")).ServerIdTarget(u.serverId),n);if(c!=null){var d={serverId:o("WebBloksUtils").nullthrows(c.getId()),clientId:c.clientId,keyPath:c.keyPath};r.set(s,d)}else throw new(o("WebBloksErrors")).WebBloksError("Failed to find async component container for "+t.id)}return babelHelpers.extends({},t,{targets:r})}l.generateTreeScopedComponentQueryDefs=e,l.generateTreeScopedComponentQueryDefFromScopedDef=u}),98);
__d("WebBloksMutations",["WebBloksConstants","WebBloksModel"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this.id=e}var t=e.prototype;return t.targets=function(t){return t.clientId===this.id},e})(),s=(function(){function e(e){this.id=e}var t=e.prototype;return t.targets=function(t){return t.getId()===this.id},e})(),u=(function(){function e(e,t){this.id=e,this.traversalKeys=t}var t=e.prototype;return t.targets=function(t){var e=t.getChildren_DEPRECATED();for(var n of e)if(n.getId()===this.id)return!0;var r=this.traversalKeys[t.styleId];if(!r)return!1;var a=r.plural_subnodes,i=r.subnodes;if(a){for(var l of a)for(var s of t.getChildren_DEPRECATED(l))if((s==null?void 0:s.getId())===this.id)return!0;if(i)for(var u of i){var c=t.getSubNode(u);if(c instanceof o("WebBloksModel").WebBloksModel&&(c==null?void 0:c.getId())===this.id)return!0}}return!1},e})();function c(t,n,r,o){t.enqueueUpdateOperation(new e(n.clientId),{update:function(t){t.set(r,o)},shouldUpdate:function(t){return t.get(r)!==o}})}function d(e,t,n,r){typeof r!="number"&&p(e,"addChildToContainer expected number, got %s: %s",typeof r,r);var a=n.styleId===o("WebBloksConstants").BK_INTERNAL_MERGE?n.getChildren_DEPRECATED():[n];a.forEach(function(n,o){m(e,t,n,r>=0?r+o:r)})}function m(t,n,r,o){t.enqueueUpdateOperation(new e(n.clientId),{update:function(t){var e=o===-1?t.getChildren_DEPRECATED().length:o;t.getChildren_DEPRECATED().splice(e,0,r)}})}function p(e,t){for(var n,r=arguments.length,o=new Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];(n=e.bloksContext.objectSet.environment.logger).warn.apply(n,[t].concat(o))}l.ClientIdTarget=e,l.ServerIdTarget=s,l.ChildServerIdTarget=u,l.updateProperty=c,l.addChildToContainer=d,l.warn=p}),98);
__d("WebBloksUpdateTraversal",["WebBloksConstants","WebBloksModel"],(function(t,n,r,o,a,i,l){"use strict";function e(t,n,r){var a=n.apply(t),i=!!a.get(o("WebBloksConstants").ON_BIND),l=r[a.styleId];if(l){if(l.subnodes)for(var s of l.subnodes){var u=a.getSubNode(s);if(u instanceof o("WebBloksModel").WebBloksModel){var c=e(u,n,r);c!==u&&(a===t&&(a=t.makeCopy()),a.set(s,c)),i=i||c.get(o("WebBloksConstants").DESCENDANT_HAS_BIND)!==!1}}if(l.plural_subnodes)for(var d of l.plural_subnodes){for(var m=a.getChildren_DEPRECATED(d),p=m,_=0;_<m.length;_++){var f=m[_];if(f){var g=e(f,n,r);g!==f&&(p===m&&(p=m.slice()),p[_]=g),i=i||g.get(o("WebBloksConstants").DESCENDANT_HAS_BIND)!==!1}}p!==m&&(a===t&&(a=t.makeCopy()),a.set(d,p))}}return a!==t&&a.set(o("WebBloksConstants").DESCENDANT_HAS_BIND,i),n.onUpdatesApplied(a),a}l.runUpdateTraversal=e}),98);
__d("WebBloksModelParser",["WebBloksConstants","WebBloksModel","WebBloksScopedComponentQueryDefinition","WebBloksScriptParser","WebBloksSourceMapNode","WebBloksSourceMapPayloadMetadata","WebBloksSourceMapRootNode","WebBloksTreeResources","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=["child"];function s(t,n,r){var a=o("WebBloksUtils").nullthrows(o("WebBloksUtils").getFirstKey(t),"not a valid bloksmodel"),i=babelHelpers.extends({},t[a]),l=new(o("WebBloksModel")).WebBloksModel(a,i),u=l.getExpression(o("WebBloksConstants").ON_BIND)!=null;if(a===o("WebBloksConstants").BK_INTERNAL_SHADOW){var c=i.child,d=babelHelpers.objectWithoutPropertiesLoose(i,e);d.id=String(d.id);var m=null,p=s(o("WebBloksUtils").cast(c),n,m);return p.shadowParents?p.shadowParents.unshift(d):p.shadowParents=[d],u=u||p.get(o("WebBloksConstants").DESCENDANT_HAS_BIND),p}var _=n[a];if(_!=null){var f=_.plural_subnodes,g=_.subnodes;if(g){for(var h of g)if(i[h]!=null){var y=null,C=s(i[h],n,y);i[h]=C,u=u||C.get(o("WebBloksConstants").DESCENDANT_HAS_BIND)}}if(f){var b=function(t){i[t]!=null&&(i[t]=i[t].map(function(e,t){var r=null,a=s(e,n,r);return u=u||a.get(o("WebBloksConstants").DESCENDANT_HAS_BIND),a}))};for(var v of f)b(v)}}return i[o("WebBloksConstants").DESCENDANT_HAS_BIND]=u,l}function u(e,t,n){var r=e.component_queries,a=r===void 0?[]:r,i=e.embedded_payloads,l=i===void 0?[]:i,u=e.data,c=u===void 0?[]:u,d=e.props,m=d===void 0?[]:d,p=e.ft,_=p===void 0?{}:p,f=e.values,g=f===void 0?[]:f,h=e.templates,y=h===void 0?{}:h,C=e.ft_declare,b=e.ft_include,v=e.depth;return new(o("WebBloksTreeResources")).WebBloksTreeResources(c,new Map(l.map(function(e){return[e.id,e]})),m,o("WebBloksScopedComponentQueryDefinition").generateTreeScopedComponentQueryDefs(t,a,n),_,C,b,new Map(Object.entries(y).map(function(e){var r=e[0],a=e[1];return[r,s(o("WebBloksUtils").cast(a),n,t.sourceMapNode)]})),g.map(function(e){return babelHelpers.extends({},e,{expression:o("WebBloksScriptParser").parse(e.expression)})}),v)}l.parseBloksModelFromJSON=s,l.parseBloksTreeResources=u}),98);
__d("WebBloksScriptDebuggingUtils",["WebBloksAsyncActions","WebBloksScriptPrinter","WebDriverConfig"],(function(t,n,r,o,a,i,l){function e(e,t,n,o){var a=t==null?void 0:t.stackFrame;r("WebDriverConfig").isJestE2ETestRun&&e.toastManager.enqueueSimpleToast(t.toString()),e.environment.logger.scriptError(t)}var s="com.bloks.www.bloks.error.report_to_sandbox";function u(e,t,n){e&&o("WebBloksAsyncActions").executeAsyncAction(e,s,{message:t,bloks_raw_stack_trace:n}).catch(function(){return null})}function c(e){var t=e.slice();function n(e,t){t===void 0&&(t=-1);var r=t+1;for(var o of e)Array.isArray(o)?r=n(o,r):o.lispyOffset=r;return r}return n(t),t}l.logScriptError=e,l.sendErrorToSandboxLogs=u,l.attachLispyOffsetsForWebBloksScriptNode=c}),98);
__d("WebBloksScriptTokens",[],(function(t,n,r,o,a,i){var e=function(t){this.lispyOffset=t!=null?t:0},l=(function(e){function t(t,n){var r;return r=e.call(this,n)||this,r.type="number",r.value=t,r}return babelHelpers.inheritsLoose(t,e),t})(e),s=(function(e){function t(t,n){var r;return r=e.call(this,n)||this,r.type="string",r.value=t,r}return babelHelpers.inheritsLoose(t,e),t})(e),u=(function(e){function t(t,n){var r;return r=e.call(this,n)||this,r.type="boolean",r.value=t,r}return babelHelpers.inheritsLoose(t,e),t})(e),c=(function(e){function t(t,n){var r;return r=e.call(this,n)||this,r.type="identifier",r.value=t,r}return babelHelpers.inheritsLoose(t,e),t})(e);i.WebBloksNumberToken=l,i.WebBloksStringToken=s,i.WebBloksBooleanToken=u,i.WebBloksIdentifierToken=c}),66);
__d("WebBloksBooleanUtils",[],(function(t,n,r,o,a,i){function e(e){return e===!0||e===1}function l(e){return e===!1||e===0}i.isTrue=e,i.isFalse=l}),66);
__d("WebBloksWhile",["WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){for(;o("WebBloksBooleanUtils").isTrue(t());)n()}l.default=e}),98);
__d("WebBloksScriptExecutor",["Promise","WebBloksErrors","WebBloksScriptParser","WebBloksScriptTokens","WebBloksUtils","WebBloksWhile"],(function(t,n,r,o,a,i,l){var e;function s(e,t){var n=e.actions.get(t);if(n==null)throw new(o("WebBloksErrors")).WebBloksUnknownActionError(t);return n}var u={"bk.action.core.FuncConst":function(t,n){var e;if(n.length!==1)throw new(o("WebBloksErrors")).WebBloksScriptError("FuncConst supports only single args",t);var r=(e=t.splicesStack.at(-1))!=null?e:[];return function(e){try{for(var t=arguments.length,o=new Array(t>1?t-1:0),a=1;a<t;a++)o[a-1]=arguments[a];return e.callArgsStack.push(o),e.splicesStack.push(r),m(e,n[0])}finally{e.callArgsStack.pop(),e.splicesStack.pop()}}},"bk.action.core.Coalesce":function(t,n){for(var e of n){var r=m(t,e);if(r!=null)return r}return null},"bk.action.core.If":function(t,n){if(n.length!==2&&n.length!==3)throw new(o("WebBloksErrors")).WebBloksScriptError("If supports 2 or 3 args",t);var e=m(t,n[0]);return e?m(t,n[1]):n.length===3?m(t,n[2]):null},"bk.action.core.Pattern":function(t,n){if(n.length!==2)throw new(o("WebBloksErrors")).WebBloksScriptError("Pattern supports only two args",t);var e=m(t,n[0]),r=function(t){return m(t,p(t,n[1]))};return{case:e,expression:r}},"bk.action.core.Default":function(t,n){if(n.length!==1)throw new(o("WebBloksErrors")).WebBloksScriptError("Default supports only one arg",t);return function(e){return m(e,p(e,n[0]))}},"bk.action.core.While":function(t,n){if(n.length!==2)throw new(o("WebBloksErrors")).WebBloksScriptError("While supports only two arg",t);var e=function(){return m(t,p(t,n[0]))},a=function(){return m(t,p(t,n[1]))};return r("WebBloksWhile")(t,e,a)},"bk.action.core.GetArg":function(t,n){var e=t.callArgsStack;if(n.length!==1)throw new(o("WebBloksErrors")).WebBloksScriptError("GetArg supports only single args",t);if(e.length===0)throw new(o("WebBloksErrors")).WebBloksScriptError("GetArg received no callArgs",t);var r=o("WebBloksUtils").peek(e),a=Number(n[0].value);return a>=r.length?null:r[a]},"bk.action.core.SetArg":function(t,n){var e=t.callArgsStack;if(n.length!==2)throw new(o("WebBloksErrors")).WebBloksScriptError("SetArg supports only two args",t);if(e.length===0)throw new(o("WebBloksErrors")).WebBloksScriptError("SetArg received no callArgs",t);var r=o("WebBloksUtils").peek(e),a=Number(n[0].value),i=m(t,n[1]);return r[a]=i,null},"bk.action.splice.Apply":function(t,n){t.splicesStack.push(n.slice(1));try{return _(t,m(t,n[0]),[])}finally{t.splicesStack.pop()}},"bk.action.splice.Get":function(t,n){var e=n[0].value,r=o("WebBloksUtils").nullthrows(t.splicesStack.at(-1))[e];return m(t,r)}};function c(e,t){var n=t[0],r=babelHelpers.arrayLikeToArray(t).slice(1);if(Array.isArray(n)||!(n instanceof o("WebBloksScriptTokens").WebBloksIdentifierToken))throw new(o("WebBloksErrors")).WebBloksScriptError("First arg of calls must be a token",e);var a=n.value,i=u[a];if(i)return i(e,r);if(a[0]==="@")return u["bk.action.splice.Apply"](e,[[new(o("WebBloksScriptTokens")).WebBloksIdentifierToken("bk.action.bloks.GetScript"),new(o("WebBloksScriptTokens")).WebBloksStringToken(a.slice(1))]].concat(r));var l=s(e,a),c=d(e,r),m=l.apply(void 0,[e].concat(c));return m}function d(e,t){return t.map(function(t){return m(e,t)})}function m(e,t){if(Array.isArray(t))return c(e,t);if(t instanceof o("WebBloksScriptTokens").WebBloksIdentifierToken){var n=t.value;if(n==="null")return null;if(n[0]==="&")return u["bk.action.splice.Get"](e,[new(o("WebBloksScriptTokens")).WebBloksNumberToken(parseInt(n.slice(1),10))]);throw new(o("WebBloksErrors")).WebBloksScriptError('Unexpected identifier "'+n+'" in argument list')}return t.value}function p(e,t){var n=t[0],r=t[1];if(n.value!=="bk.action.core.FuncConst")throw new(o("WebBloksErrors")).WebBloksScriptError("Expected FuncConst",e);return r}function _(e,t,n){if(typeof t=="function")return t.apply(void 0,[e].concat(n));var r=typeof t=="string"?o("WebBloksScriptParser").parse(t):o("WebBloksUtils").cast(t);try{return e.callArgsStack.push(n),c(e,r)}finally{e.callArgsStack.pop()}}function f(e,t,n){var r=n.slice();return _(e,t,r)}l.execute=f}),98);
__d("WebBloksScriptParser",["WebBloksErrors","WebBloksScriptDebuggingUtils","WebBloksScriptString","WebBloksScriptTokens"],(function(t,n,r,o,a,i,l){var e=new(o("WebBloksScriptTokens")).WebBloksBooleanToken(!0),s=new(o("WebBloksScriptTokens")).WebBloksBooleanToken(!1),u=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/;function c(e){switch(e){case" ":case"\n":case"\r":case"	":case",":return!0;default:return!1}}function d(e){var t=o("WebBloksScriptString").castWebBloksScriptStringToString(e),n=[],r=[n],a=0;function i(){for(;c(t[a]);)a++}for(;a<t.length;){i();var l=t[a];switch(l){case"(":n=[],r.push(n),a++;break;case")":{var s=r.pop();if(n=r[r.length-1],!n)throw new(o("WebBloksErrors")).WebBloksScriptParseError(a,"Unexpected ')'");n.push(s),a++;break}case'"':{for(var u=++a,d=!1;;){var _=t.indexOf('"',a);if(_===-1)throw new(o("WebBloksErrors")).WebBloksScriptParseError(u,"Unterminated string");var f=t.indexOf("\\",a);if(_<f||f===-1){a=_;break}a=f+2,d=!0}var g=t.substring(u,a);n.push(new(o("WebBloksScriptTokens")).WebBloksStringToken(d?m(u,g):g)),a++;break}default:for(var h=a;;){var y=t[++a];if(c(y)||y===")"||y==="("||y===void 0){n.push(p(t.substring(h,a)));break}}}if(r.length===1)break}var C=n[0];return C=o("WebBloksScriptDebuggingUtils").attachLispyOffsetsForWebBloksScriptNode(C),C}function m(e,t){return JSON.parse('"'+t+'"')}function p(t){if(t==="true")return e;if(t==="false")return s;if(u.test(t)){var n=parseFloat(t);return t.indexOf(".")===-1&&(n>=Number.MAX_SAFE_INTEGER||n<=Number.MIN_SAFE_INTEGER)?new(o("WebBloksScriptTokens")).WebBloksStringToken(t):new(o("WebBloksScriptTokens")).WebBloksNumberToken(n)}return new(o("WebBloksScriptTokens")).WebBloksIdentifierToken(t)}l.parse=d}),98);
__d("WebBloksScriptPrinter",["WebBloksScriptParser"],(function(t,n,r,o,a,i,l){"use strict";function e(e){return typeof e=="string"&&(e.startsWith("(")||e.startsWith(" (")||e.startsWith("	("))&&e.endsWith(")")}function s(e){if(typeof e=="function")return"<function>";var t=Array.isArray(e)?e:o("WebBloksScriptParser").parse(e);return u(0,t)}function u(e,t){if(Array.isArray(t)){var n=t.every(function(e){return!Array.isArray(e)});if(n)return"("+t.map(function(e){return u(0,e)}).join(", ")+")";var r="("+String(t[0].value);return t.slice(1).forEach(function(t){r+="\n"+"".padEnd(e+2)+u(e+2,t)}),r+="\n"+"".padEnd(e)+")",r}return typeof t=="object"&&t!=null?t.type==="string"?JSON.stringify(t.value):String(t.value):String(t)}l.looksLikeAScript=e,l.prettyPrint=s}),98);
__d("WebBloksLayout",["WebBloksCSSUtils","WebBloksEnvironmentContext","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useMemo;function u(e){var t=o("WebBloksEnvironmentContext").useWebBloksEnvironment().isRtl;return s(function(){var n=o("WebBloksUtils").isStyle(e._style,"flex"),r={};if(e.alpha!=null&&(r.opacity=e.alpha),n){var a=o("WebBloksUtils").nullthrows(e._style).getValues();c(a,r);for(var i of Object.entries(a)){var l=i[0],s=i[1];if(!d(l)){var u=o("WebBloksCSSUtils").getRtlAwareCssAttr(o("WebBloksUtils").toCamel(l),t);switch(u){case"grow":r.flexGrow=String(s);break;case"shrink":r.flexShrink=String(s);break;case"alignSelf":r.alignSelf=o("WebBloksUtils").toHyphen(String(s));break;case"flexBasis":r.flexBasis=o("WebBloksUtils").toPx(String(s));break;case"justifyContent":r.justifyContent=o("WebBloksUtils").toHyphen(String(s));break;case"position_type":case"positionType":r.position=String(s);break;case"bottom":case"left":case"right":case"top":r[u]=o("WebBloksUtils").toPx(String(s)),r.position="absolute";break;case"aspectRatio":break;case"ntDebugMetadataV2":break;case"width":case"height":case"minHeight":case"maxHeight":case"minWidth":case"maxWidth":case"marginTop":case"marginRight":case"marginBottom":case"marginLeft":case"paddingTop":case"paddingRight":case"paddingBottom":case"paddingLeft":r[u]=o("WebBloksUtils").toPx(o("WebBloksUtils").toHyphen(String(s)));break;case"margin":case"marginHorizontal":case"marginVertical":break;case"transform":r[u]=String(s);break;default:r[u]=o("WebBloksUtils").toPx(o("WebBloksUtils").toHyphen(String(s)));break}}}}var m=o("WebBloksUtils").isStyle(e._style,"collection");if(m){var p=o("WebBloksUtils").nullthrows(e._style).getValues();for(var _ of Object.entries(p)){var f=_[0],g=_[1];{if(d(f))continue;var h=o("WebBloksUtils").toCamel(f);switch(h){case"isSticky":g===!0&&(r.position="sticky");break;case"onAppear":case"onDisappear":break;case"height":r.height=o("WebBloksUtils").toPx(String(g));break;case"width":r.width=o("WebBloksUtils").toPx(String(g));break;case"ntDebugMetadataV2":break;default:r[h]=o("WebBloksUtils").toPx(o("WebBloksUtils").toHyphen(String(g)));break}}}}var y=o("WebBloksUtils").isStyle(e._style,"bk.style.Base");if(y){var C=o("WebBloksUtils").nullthrows(e._style).getValues();c(C,r);for(var b of Object.entries(C)){var v=b[0],S=b[1];{if(d(v))continue;var R=o("WebBloksCSSUtils").getRtlAwareCssAttr(o("WebBloksUtils").toCamel(v),t);switch(R){case"flexGrow":r.flexGrow=String(S);break;case"flexShrink":r.flexShrink=String(S);break;case"flexBasis":r.flexBasis=o("WebBloksUtils").toPx(String(S));break;case"alignSelf":r.alignSelf=o("WebBloksUtils").toHyphen(String(S));break;case"positionType":r.position=String(S);break;case"bottom":case"left":case"right":case"top":r[R]=o("WebBloksUtils").toPx(String(S)),r.position="absolute";break;case"aspectRatio":break;case"zIndex":r.zIndex=Number(S);break;case"collectionStickyItemConfig":case"gridSpanCount":case"gridIsFullSpan":case"staggeredGridCellAspectRatio":break;case"ntDebugMetadataV2":break;case"width":case"height":case"minHeight":case"maxHeight":case"minWidth":case"maxWidth":case"marginTop":case"marginRight":case"marginBottom":case"marginLeft":r[R]=o("WebBloksUtils").toPx(o("WebBloksUtils").toHyphen(String(S)));break;case"margin":case"marginHorizontal":case"marginVertical":break;default:r[R]=o("WebBloksUtils").toPx(o("WebBloksUtils").toHyphen(String(S)));break}}}}return o("WebBloksUtils").isStyle(e._style,"ig.style.SearchStyle")&&(r.width="100%"),r},[e._style,e.alpha,t])}function c(e,t){if(e.margin!=null){var n;t.marginLeft=(n=o("WebBloksUtils")).toPx(n.toHyphen(String(e.margin))),t.marginRight=n.toPx(n.toHyphen(String(e.margin))),t.marginTop=n.toPx(n.toHyphen(String(e.margin))),t.marginBottom=n.toPx(n.toHyphen(String(e.margin)))}if(e.margin_horizontal!=null){var n;t.marginLeft=(n=o("WebBloksUtils")).toPx(n.toHyphen(String(e.margin_horizontal))),t.marginRight=n.toPx(n.toHyphen(String(e.margin_horizontal)))}if(e.margin_vertical!=null){var n;t.marginTop=(n=o("WebBloksUtils")).toPx(n.toHyphen(String(e.margin_vertical))),t.marginBottom=n.toPx(n.toHyphen(String(e.margin_vertical)))}}function d(e){return e[0]==="$"||e==="id"||e==="on_bind"}l.default=u}),98);
__d("WebBloksStyle",["WebBloksCSSUtils","WebBloksLayout","WebBloksWrapper","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useRef;function c(e,t,n){n===void 0&&(n=!1);var o=e.getValues(),a=u(null);e.uiMutableContainer.domNode=a;var i=n===!0?{pointerEvents:"auto",cursor:"pointer",WebkitTapHighlightColor:"transparent"}:void 0,l=babelHelpers.extends({},r("WebBloksLayout")(o),i,t),s=r("WebBloksWrapper")(e,l,a),c=s.hasWrapper,m=s.stylesFromExtensions,p=s.wrapper,_=s.wrapperProps;return m&&Object.assign(l,m),{ref:a,style:c?d:l,wrapper:p,wrapperProps:_}}var d={height:"100%",width:"100%",pointerEvents:"inherit"};function m(e){return{className:v.container,style:e}}var p;typeof p!="number"&&(p=0);function _(){return typeof p!="number"&&(p=0),++p}function f(e,t){return typeof t=="object"?[["."+e,o("WebBloksCSSUtils").styleObjectToCSS(t)]]:Object.entries(t("."+e)).map(function(e){var t=e[0],n=e[1];return[t,o("WebBloksCSSUtils").styleObjectToCSS(n)]})}function g(e){return Object.fromEntries(Object.entries(e).map(function(e){var t=e[0],n=e[1],r="wbloks_"+_();return f(r,n).forEach(function(e){var t=e[0],n=e[1];return o("WebBloksCSSUtils").insertCssRule(t+" {\n"+n+"\n}")}),[t,r]}))}function h(e){var t="wbloks_"+_()+" ";return o("WebBloksCSSUtils").insertCssRule("@keyframes "+t+" {\n"+Object.entries(e).map(function(e){var t=e[0],n=e[1];return t+" {\n"+o("WebBloksCSSUtils").styleObjectToCSS(n)+"\n }"}).join("\n")+"\n}"),t}function y(e,t){var n={};return o("WebBloksCSSUtils").insertCssRule("@supports "+C(e)+" {\n"+Object.entries(t).map(function(e){var t=e[0],r=e[1],o="wbloks_"+_();return n[t]=o,f(o,r).map(function(e){var t=e[0],n=e[1];return t+" {\n"+n+"\n}"}).join("\n")}).join("\n")+"}"),n}function C(e){var t=e.negate===!0?"not ":"";return e.type==="selector"?t+("selector("+e.selector+")"):t+("("+e.key+": "+e.value+")")}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var v=g({container:{boxSizing:"border-box",display:"flex",flex:"0 1 auto",flexDirection:"row",pointerEvents:"auto",position:"relative",minHeight:0,minWidth:0}});l.useStyle=c,l.getStyleProps=m,l.createStyles=g,l.keyframes=h,l.createStylesIfSupported=y,l.classNames=b,l.WebBloksStyles=v}),98);
__d("WebBloksTheme",["WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useContext,d=u.useEffect,m=u.useLayoutEffect,p=u.useMemo,_={light:"light",dark:"dark"},f=0;function g(e){if(!(f>0)){var t=document.documentElement;if(t!=null)switch(t.classList.remove(L,E),e){case"dark":t.classList.add(E);break;case"light":t.classList.add(L);break}}}var h={getTheme:function(){return _.light}},y=s.createContext(h);function C(e){var t=e.children,n=e.initialTheme,r=n!=null?n:_.light;d(function(){g(r)},[r]);var o=p(function(){return{getTheme:function(){return r}}},[r]);return s.jsx(y.Provider,{value:o,children:t})}C.displayName=C.name+" [from "+i.id+"]";function b(){return c(y)}function v(e){var t=e!=null?S(e):null;m(function(){if(t!=null){f++;var e=document.documentElement;e.classList.add(t);var n=e.style.backgroundColor;return e.style.backgroundColor=I["screen-wrapper-bg"],function(){e.classList.remove(t),e.style.backgroundColor=n,f--}}},[t])}function S(e){return e===_.dark?E:L}function R(e){var t=e.children,n=e.theme,r=p(function(){return{getTheme:function(){return n}}},[n]);return s.jsx(y.Provider,{value:r,children:t})}R.displayName=R.name+" [from "+i.id+"]";var L,E,k={"error-or-destructive":["rgb(237, 73, 86)","rgb(237, 73, 86)"],"navbar-bg":["#ffffff","#000000"],"screen-wrapper-bg":["#ffffff","#000000"],separator:["rgb(219, 219, 219)","rgb(54, 54, 54)"],"primary-bg":["#ffffff","#000000"],"primary-text":["rgb(38, 38, 38)","rgb(250, 250, 250)"],"fds-gray-65":"#A4A7AB","fds-white":"#FFFFFF","bottom-sheet-bg-deemphasized":["#F0F2F5","#242526"],"fig-blue-tint-90":"#ecf0f7","fig-blue-tint-10":"#3776ff","switch-active":["hsl(214, 89%, 52%)","hsl(214, 100%, 59%)"],"media-inner-border":["rgba(0, 0, 0, 0.1)","rgba(255, 255, 255, 0.05)"],divider:["#CED0D4","#3E4042"],"always-white":"#ffffff","shadow-5":"rgba(0, 0, 0, 0.5)","fds-animation-move-in":"cubic-bezier(0.17, 0.17, 0, 1)","fds-animation-move-out":"cubic-bezier(0.17, 0.17, 0, 1)","fds-duration-extra-short-in":"200ms","fds-duration-extra-short-out":"150ms","cds-close-handle":["#748695","#647685"],"cds-overlay-alpha-80":"rgba(28, 43, 51, 0.80)","cds-surface-background":["rgba(255, 255, 255)","rgb(28, 43, 51)"]},I=T(k);function T(e){var t={},n={},r={};Object.entries(e).forEach(function(e){var o=e[0],a=e[1],i="--wbloks-"+o;r[o]="var("+i+")",t[i]=Array.isArray(a)?a[0]:a,n[i]=Array.isArray(a)?a[1]:a});var a=o("WebBloksStyle").createStyles({lightTheme:t,darkTheme:n});return L=a.lightTheme,E=a.darkTheme,r}l.THEME=_,l.WebBloksThemeProvider=C,l.useTheme=b,l.useDocumentThemeOverride=v,l.getThemeCssClass=S,l.WebBloksScopedThemeProvider=R,l.WebBloksThemeVars=I}),98);
__d("WebBloksExtensions",[],(function(t,n,r,o,a,i){function e(e,t){if(e==null)return null;var n=[],r={};for(var o of e){var a=o.styleId,i=t.get(a);if(i&&i.reduce){var l=r[a],s=i.reduce(l,o);r[a]=s}else n.push(o)}return n.push.apply(n,Object.values(r)),n}i.processExtensions=e}),66);
__d("WebBloksSSRUtils",[],(function(t,n,r,o,a,i){var e=!!(typeof window!="undefined"&&window.document&&window.document.createElement);i.canUseDOM=e}),66);
__d("WebBloksWrapper",["WebBloksComponentContext","WebBloksEnvironmentContext","WebBloksExtensions","WebBloksSSRUtils","WebBloksStyle","WebBloksTheme","WebBloksViewpoint","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useLayoutEffect,m=u.useMemo,p=u.useRef,_=function(t){return t};function f(e,t,n){var r,a=o("WebBloksEnvironmentContext").useWebBloksEnvironment().extensionHandlers,i=o("WebBloksComponentContext").useWebBloksContext(),l=o("WebBloksTheme").useTheme().getTheme(),u=e.getValues(),d=e.getStyle("flex"),f=e.getStyle("bk.style.Base"),g=(r=d==null?void 0:d.get("aspect_ratio"))!=null?r:f==null?void 0:f.get("aspect_ratio"),C=null,b=e.getStyle("collection"),v=(b==null?void 0:b.get("on_appear"))!=null||(b==null?void 0:b.get("on_disappear"))!=null,S=e.get("extensions"),R=m(function(){return o("WebBloksExtensions").processExtensions(S,a)},[a,S]),L=p(e);L.current=e,c(function(){if(!(!R||R.length===0)){var e=[],t=function(n){var t=a.get(n.styleId),r=t==null?void 0:t.onMount;if(r!=null){var o=function(){return r(n,L,i)};e.push(o)}};for(var n of R)t(n);if(e.length!==0)return i.bloksContext.objectSet.mountEffectsQueue.enqueue(L.current.clientId,e),function(){i.bloksContext.objectSet.mountEffectsQueue.dispose(L.current.clientId)}}},[]);var E=g!=null||v||!!(R&&R.length>0),k={"data-bloks-name":e.styleId,ref:n,id:e.get("html_id")};if(!E)return{hasWrapper:!1,wrapper:_,wrapperProps:k,stylesFromExtensions:C};var I=g!=null;if(R)for(var T of R){var D=a.get(T.styleId);D&&(D.hasLayoutWrapper!=null&&D.hasLayoutWrapper(T)&&(I=!0),D.getStyles&&(C=babelHelpers.extends({},C,D.getStyles(T,l))),k=babelHelpers.extends({},k,D.getProps==null?void 0:D.getProps(T,e,i)))}var x=function(i){var r=i;if(g!=null&&(r=s.jsx(h,{aspectRatio:g,children:r})),v&&u._style!=null&&(r=s.jsx(y,{style:u._style,contextNode:e,elementRef:n,children:r})),R)for(var l of R){var c=a.get(l.styleId);if(c){var d=c.wrap;d&&(r=d(l,r,e,n))}}return I?s.jsx("div",{className:o("WebBloksStyle").WebBloksStyles.container,style:babelHelpers.extends({},t,{aspectRatio:g}),children:r}):r};return{hasWrapper:I,wrapper:x,wrapperProps:k,stylesFromExtensions:C}}var g=o("WebBloksStyle").createStyles({aspectRatioContainer:{width:"100%",pointerEvents:"none",overflow:"hidden"},aspectRatioContent:{bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,padding:"inherit"},aspectRatioSVG:{height:"100%",width:"100%",display:"flex"}});function h(e){var t=e.aspectRatio,n=e.children;return s.jsxs(s.Fragment,{children:[s.jsx("div",{"data-bloks-name":"bk.components.AspectRatio",className:g.aspectRatioContainer,style:{aspectRatio:t},children:s.jsx("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",height:1,width:t,className:g.aspectRatioSVG})}),s.jsx("div",{"data-bloks-name":"bk.components.AspectRatio",className:g.aspectRatioContent,children:n})]})}h.displayName=h.name+" [from "+i.id+"]";function y(e){var t=e.children,n=e.contextNode,r=e.elementRef,a=e.style;return o("WebBloksSSRUtils").canUseDOM?s.jsx(C,{contextNode:n,style:a,elementRef:r,children:t}):t}y.displayName=y.name+" [from "+i.id+"]";function C(e){var t=e.children,n=e.contextNode,r=e.elementRef,a=e.style,i=o("WebBloksComponentContext").useWebBloksContext(),l=i.bloksContext,s=i.executeCatch;function u(e){var t=a==null?void 0:a.getExpression("on_appear"),r=a==null?void 0:a.getExpression("on_disappear");switch(e.state){case"entered":t!=null&&s(n,t,[l]);break;case"exited":r!=null&&s(n,r,[l]);break}}var c=o("WebBloksViewpoint").useViewpoint({id:a.clientId.toString(),action:u});return d(function(){c.current=r.current},[r,c]),t}C.displayName=C.name+" [from "+i.id+"]",l.default=f}),98);
__d("WebBloksCSSUtils",["WebBloksIsUnitTest","WebBloksSSRUtils","WebBloksUtils"],(function(t,n,r,o,a,i,l){"use strict";var e,s="";function u(e,t){switch(e){case"start":return t?"right":"left";case"end":return t?"left":"right";case"marginStart":return t?"marginRight":"marginLeft";case"marginEnd":return t?"marginLeft":"marginRight";case"paddingStart":return t?"paddingRight":"paddingLeft";case"paddingEnd":return t?"paddingLeft":"paddingRight"}return e}function c(){return s}function d(t){var n;if(!(r("WebBloksIsUnitTest")()||t==null)){if(!o("WebBloksSSRUtils").canUseDOM){s+=t;return}e||(e=m());var a=o("WebBloksUtils").nullthrows((n=e)==null?void 0:n.sheet);try{a.insertRule(o("WebBloksUtils").nullthrows(t),a.cssRules.length)}catch(e){}}}function m(){var e=document.createElement("style");e.setAttribute("type","text/css"),e.setAttribute("data-styled","true");var t=document.head||document.getElementsByTagName("head")[0];return o("WebBloksUtils").nullthrows(t,"Unexpected null: head"),t.appendChild(e),e}function p(e){return Object.entries(e).map(function(e){var t=e[0],n=e[1],r=n==null||typeof n=="boolean"||n==="";return r?"":(typeof n=="number"&&n!==0&&!_[t]&&(n+="px"),C(t)+": "+String(n).trim()+";")}).join("\n	")}var _={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function f(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var g=["Webkit","ms","Moz","O"];Object.keys(_).forEach(function(e){g.forEach(function(t){_[f(t,e)]=_[e]})});var h=/([A-Z])/g,y=/^ms-/;function C(e){return e.replace(h,"-$1").toLowerCase().replace(y,"-ms-")}l.getRtlAwareCssAttr=u,l.getSSRStyles=c,l.insertCssRule=d,l.styleObjectToCSS=p}),98);
__d("WebBloksDimensionUtils",[],(function(t,n,r,o,a,i){"use strict";function e(e){return e.endsWith("%")?"%":e.endsWith("dp")||e.endsWith("sp")?"dp":e.endsWith("px")?"px":null}function l(t){if(t==null)return null;var n=e(t);return n?{value:parseFloat(t),type:n}:null}i.parseDimension=l}),66);
__d("WebBloksURLSearchParams",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){var t=this;this.params=new Map,e!=null&&e.slice(1).split("&").forEach(function(e){var n=e.split("="),r=n[0],o=n[1],a=decodeURIComponent(r);t.params.set(a,decodeURIComponent(o))})}var t=e.prototype;return t.append=function(t,n){this.params.set(t,n)},t.delete=function(t){this.params.delete(t)},t.get=function(t){return this.params.get(t)||null},t.set=function(t,n){this.params.set(t,n)},e})();i.default=e}),66);
__d("WebBloksUtils",["Promise","WebBloksBooleanUtils","WebBloksConstants","WebBloksDimensionUtils","WebBloksErrors","WebBloksSSRUtils","WebBloksTheme","WebBloksURLSearchParams","react"],(function(t,n,r,o,a,i,l){var e=["data","layout","status"],s,u,c=u||(u=o("react")),d=c.useEffect,m=c.useLayoutEffect,p=[];Object.freeze(p);var _=p,f=Object.create(null);Object.freeze(f);var g=new Map;g.set=function(){throw new(o("WebBloksErrors")).WebBloksError("Map is immutable")};var h=0;function y(){h=0}function C(){return++h}function b(e){return typeof e=="string"?e.replace("_","-"):e}function v(e){if(typeof e=="string"){for(var t=e.replace(/-/g,"_").split(/_/),n=t[0],r=1;r<t.length;r++){var o=t[r];n+=o[0].toUpperCase()+o.slice(1)}return n}return e}function S(e){return e==null?{}:{paddingTop:R(e==null?void 0:e.get("top")),paddingRight:R(e==null?void 0:e.get("end")),paddingBottom:R(e==null?void 0:e.get("bottom")),paddingLeft:R(e==null?void 0:e.get("start"))}}function R(e){if(typeof e=="string"){var t=o("WebBloksDimensionUtils").parseDimension(e);return t==null?e:t.type==="%"?t.value+"%":t.value+"px"}return e}function L(e){var t;return((t=o("WebBloksDimensionUtils").parseDimension(e))==null?void 0:t.type)==="%"}function E(e){return L(e)?parseFloat(e)/100:null}function k(e){if(e.startsWith("rgba(")){var t=e.slice(5,e.indexOf(")")),n=t.split(",").map(function(e){return Number(e)}),r=n[0],o=n[1],a=n[2],i=n[3];return[r,o,a,i]}else if(e.startsWith("rgb(")){var l=e.slice(4,e.indexOf(")")),s=l.split(",").map(function(e){return Number(e)}),u=s[0],c=s[1],d=s[2];return[u,c,d,1]}else if(e.length===9){var m=parseInt(e.slice(1,3),16)/255,p=parseInt(e.slice(3,5),16),_=parseInt(e.slice(5,7),16),f=parseInt(e.slice(7,9),16);return[p,_,f,m]}else{var g=parseInt(e.slice(1,3),16),h=parseInt(e.slice(3,5),16),y=parseInt(e.slice(5,7),16);return[g,h,y,1]}}function I(e){var t=e[0],n=e[1],r=e[2],o=e[3],a=o===void 0?1:o;return"rgba("+t+","+n+","+r+","+a.toFixed(4)+")"}function T(e,t){var n=t===o("WebBloksTheme").THEME.dark?e.get("dark_color"):e.get("light_color");return k(n)}function D(e,t){return I(T(e,t))}function x(e){var t,n={translate_x:"translateX",translate_y:"translateY",scale_x:"scaleX",scale_y:"scaleY",alpha:"",rotation:"rotate"};return(t=n[e])!=null?t:""}function $(e,t){return e!=null&&e.styleId===t}function P(e,t){return e==null?null:e.find(function(e){return e.styleId===t})}function N(e){return e}function M(e){if(!e.length)throw new(o("WebBloksErrors")).WebBloksError("Empty collection");return e[e.length-1]}function w(e,t){if(t!=null)for(var n of t){var r=n[0],o=n[1];e.set(r,o)}}function A(e){for(var t in e)return t}var F=(function(){function e(){this.listeners=new Set}var t=e.prototype;return t.on=function(t){this.listeners.add(t)},t.off=function(t){this.listeners.delete(t)},t.emit=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.listeners.forEach(function(e){return e.apply(void 0,t)})},t.clear=function(){this.listeners.clear()},e})();function O(e){return new(s||(s=n("Promise")))(function(t){window.setTimeout(t,e)})}var B={passive:!0},W=10;function q(e,t,n,r){if(!r)return!0;var o=e.getBoundingClientRect();if(Math.abs(o.left-t)>W||Math.abs(o.top-n)>W)return!0;var a=document.elementFromPoint(r.clientX,r.clientY);return a?!e.contains(a):!0}function U(e){return/^[0-9]*(\.[0-9]+)?\%$/.test(e)}function V(e){return/^[0-9]*(\.[0-9]+)?(dp|px)$/.test(e)}function H(e){var t,n=e;return function(){return n&&(t=n.apply(this,arguments),n=null),t}}function G(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1)}function z(e,t){if(t===void 0&&(t="Got unexpected null or undefined"),e!=null)return e;var n=new(o("WebBloksErrors")).WebBloksError(t);throw n.framesToPop=1,n}function j(e){for(var t in e)return!1;return!0}function K(e,t){if(e===t)return!0;if(e==null||t==null||e.size!==t.size)return!1;for(var n of e){var r=n[0],o=n[1],a=t.get(r);if(o!==a)return!1}return!0}function Q(e,t){var n=!1;return function(){if(!n){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];e.apply(this,o),n=!0,window.setTimeout(function(){n=!1},t)}}}function X(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];var i=this;window.clearTimeout(n),n=window.setTimeout(function(){e.apply(i,o)},t)}}var Y=o("WebBloksSSRUtils").canUseDOM?m:d,J=Object.prototype.toString;function Z(e){switch(J.call(e)){case"[object String]":case"[object Number]":case"[object Boolean]":case"[object Null]":case"[object Undefined]":return!0}return!1}function ee(e,t){var n=function(t){return function(e,n){return ee(e,t[n])}},r=function(t,n){return(function(e){return e in t&&e in n&&ee(t[e],n[e])})};if(J.call(e)!==J.call(t))return!1;if(Z(e))return e===t;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(n(t));if(typeof e=="object"&&typeof t=="object"&&!Array.isArray(e)&&e!==null&&t!==null){var o=Object.keys(e),a=Object.keys(t);return o.length!==a.length?!1:o.every(r(e,t))}return!1}function te(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function ne(e){return!o("WebBloksBooleanUtils").isFalse(e.get("enabled"))}function re(){return new(r("WebBloksURLSearchParams"))(window.location.search)}function oe(e){var t;if(e==null)return o("WebBloksConstants").WEBBLOKS_DEFAULT_FONT_FAMILY;var n=(t=e.__default)==null?void 0:t.webFontName;return n===null?"inherit":n!=null?n:o("WebBloksConstants").WEBBLOKS_DEFAULT_FONT_FAMILY}function ae(t){var n,r=t==null?void 0:t.server_data;if(((n=t.layout)==null?void 0:n.bloks_payload)!=null)return babelHelpers.extends({},t.layout.bloks_payload,{server_data:r});var o=t.data,a=t.layout,i=t.status,l=babelHelpers.objectWithoutPropertiesLoose(t,e);return babelHelpers.extends({data:o||[],server_data:r,tree:t.layout},l)}l.EMPTY_ARRAY=p,l.EMPTY_KEY_PATH=_,l.EMPTY_OBJECT=f,l.EMPTY_MAP=g,l.resetGlobalBloksClientIdForTest=y,l.getNextGlobalBloksClientId=C,l.toHyphen=b,l.toCamel=v,l.insetToPadding=S,l.toPx=R,l.isPercentage=L,l.toPercentageValue=E,l.convertRGBOrHexStringToArr=k,l.convertRGBArrToString=I,l.convertThemedColorToArr=T,l.getRGBColorWithTheme=D,l.viewTransformKeyToTransformFunction=x,l.isStyle=$,l.findExtension=P,l.cast=N,l.peek=M,l.putAll=w,l.getFirstKey=A,l.EventEmitter=F,l.sleep=O,l.passiveTouchEventOptions=B,l.shouldCancelTouchEvent=q,l.isBloksDimensionPercentage=U,l.isBloksDimensionPixel=V,l.once=H,l.removeFromArray=G,l.nullthrows=z,l.isEmptyObject=j,l.shallowMapEqual=K,l.throttle=Q,l.debounce=X,l.useLayoutEffect_SAFE_FOR_SSR=Y,l.deepEquals=ee,l.isObject=te,l.isBloksModelEnabled=ne,l.getQueryParams=re,l.getWrapperFontFamily=oe,l.normaliseBloksPayload=ae}),98);
__d("WebBloksViewpointContext",["react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).createContext,u=s(null),c=u;l.default=c}),98);
__d("WebBloksViewpoint",["WebBloksComponentContext","WebBloksInterpreterEnvironment","WebBloksViewpointContext","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.useCallback,c=s.useContext,d=s.useEffect,m=s.useRef,p=function(t){this.element=null,this.percentVisible=null,this.state=null,Object.assign(this,t)};function _(e){var t=e.action,n=e.id,r=e.suppressWarnings,o=f(n),a=f(n);d(function(){var e=o!==n},void 0)}function f(e){var t=m(null);return d(function(){t.current=e},void 0),t.current}function g(e){var t=c(r("WebBloksViewpointContext")),n=o("WebBloksComponentContext").useWebBloksContext(),a=n.bloksContext,i=e.action,l=e.id,s=e.untrackAfterFirstAppear,p=m(null);_(e);var f=u(function(e){i(e);var n=p.current;n&&e.state==="entered"&&s===!0&&(t==null||t.untrackElement(n))},[i,s,t]);return d(function(){var e=new(r("WebBloksInterpreterEnvironment"))(a);e.executeOnNextTick(function(){var e=p.current;e&&t&&t.track(e,f,l)},[])},[f,a,l,t]),p}l.ViewpointSnapshot=p,l.useViewpoint=g}),98);
__d("AbstractWebBloksAppLoader",["ClientAjaxIdsUpdater","WebBloksAppLoaderConsoleDebugger","WebBloksErrors","WebBloksServerData","WebBloksUtils","getErrorSafe"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(){}var t=e.prototype;return t.fetchAppByUrl=async function(t){return r("WebBloksAppLoaderConsoleDebugger").onStart(t),o("WebBloksUtils").normaliseBloksPayload(await this.$1(t,this.makePostRequest(t,{type:"app"})))},t.fetchApp=async function(t,n){return o("WebBloksUtils").normaliseBloksPayload(await this.$2(t,n,"app"))},t.fetchAction=async function(t,n){return o("WebBloksUtils").normaliseBloksPayload(await this.$2(t,n,"action"))},t.fetchComponentQuery=async function(t,n){var e=await this.$2(t,n,"app");return{components:e.components}},t.$2=function(t,n,o){r("WebBloksAppLoaderConsoleDebugger").onStart(t,n);var e=this.getAsyncFetchData(t,n,o);return this.$1(t,this.makePostRequest(this.getAsyncFetchURI(t,n,o),e))},t.$1=async function(t,n){try{var e,a=await n;r("WebBloksAppLoaderConsoleDebugger").onSuccess(t,a),r("ClientAjaxIdsUpdater")(a);var i=(e=a.payload)!=null?e:a;return o("WebBloksServerData").handleWebBloksServerData(i.server_data),i}catch(e){var l=r("getErrorSafe")(e);throw r("WebBloksAppLoaderConsoleDebugger").onError(t,l),l instanceof o("WebBloksErrors").WebBloksError?l:new(o("WebBloksErrors")).WebBloksError("Fetch failed: "+l.message,l)}},t.makePostRequest=function(t,n){throw new(o("WebBloksErrors")).WebBloksError("Abstract")},t.getAsyncFetchURI=function(t,n,r){throw new(o("WebBloksErrors")).WebBloksError("Abstract")},t.getAsyncFetchData=function(t,n,r){throw new(o("WebBloksErrors")).WebBloksError("Abstract")},e})();l.AbstractWebBloksAppLoader=e}),98);
__d("AcqWebBloksComponents",[],(function(t,n,r,o,a,i){var e={};i.COMPONENTS=e}),66);
__d("WebBloksCAACreatePasskey",["CAAWebBloksPasskeyUtils","nullthrows"],(function(t,n,r,o,a,i,l){function e(e,t){var n,r=o("CAAWebBloksPasskeyUtils").getValidatedPasskeyRegistrationParams(e,t);if(r!=null){var a=r.callbacks,i=a.onError;if(((n=window.navigator)==null?void 0:n.credentials)==null){o("CAAWebBloksPasskeyUtils").onError(e,i,o("CAAWebBloksPasskeyUtils").PasskeyErrorCodes.NOT_SUPPORTED_ERROR,"Browser does not support passkeys, window.navigator.credentials is null.");return}var l=window.PublicKeyCredential;if(!l){o("CAAWebBloksPasskeyUtils").onError(e,i,o("CAAWebBloksPasskeyUtils").PasskeyErrorCodes.NOT_SUPPORTED_ERROR,"Window object does not contain PublicKeyCredential.");return}s(e,r)}}function s(e,t){var n=t.callbacks,a=n.onSuccess,i=n.onError,l=t.json,s=r("nullthrows")(navigator.credentials);s.create(l).then(function(t){var n=o("CAAWebBloksPasskeyUtils").buildBloksRegistrationArguments(t);e.executeCatch(a.getValue(),[n.passkey_id,n.payload,n.payload_version,n.extension_results])}).catch(function(t){o("CAAWebBloksPasskeyUtils").onError(e,i,t.code,"Passkey creation exception: "+t.message)})}l.default=e}),98);
__d("WebBloksCAAUsePasskey",["CAAWebBloksPasskeyUtils","nullthrows","promiseDone"],(function(t,n,r,o,a,i,l){var e=null;function s(t,n){var a,i,l=o("CAAWebBloksPasskeyUtils").getValidatedPasskeyAssertionParams(t,n);if(l!=null){var s=l.callbacks,u=s.onSuccess,c=s.onError;if(((a=window.navigator)==null?void 0:a.credentials)==null){o("CAAWebBloksPasskeyUtils").onError(t,c,o("CAAWebBloksPasskeyUtils").PasskeyErrorCodes.NOT_SUPPORTED_ERROR,"Browser does not support passkeys, window.navigator.credentials is null.");return}var d=l.json;(i=e)==null||i.abort();var m=new AbortController;e=m,d.signal=m.signal;var p=function(){var n=r("nullthrows")(navigator.credentials);n.get(d).then(function(e){var n=o("CAAWebBloksPasskeyUtils").buildBloksAssertionArguments(e);t.executeCatch(u.getValue(),[n.passkey_id,n.payload,n.payload_version,n.extension_results])}).catch(function(e){o("CAAWebBloksPasskeyUtils").onError(t,c,e.code,"Passkey assertion exception: "+e.message)}).finally(function(){e===m&&(e=null)})};if(d.mediation!=="conditional"){p();return}var _=window.PublicKeyCredential,f=_==null||_.isConditionalMediationAvailable==null?void 0:_.isConditionalMediationAvailable();f!=null&&r("promiseDone")(f.then(function(e){e&&p()}))}}l.default=s}),98);
__d("CaaPasskeyWebBloksActions",["WebBloksCAACreatePasskey","WebBloksCAAUsePasskey"],(function(t,n,r,o,a,i,l){var e={"bk.action.caa.passkey.CreatePasskey":r("WebBloksCAACreatePasskey"),"bk.action.caa.passkey.UsePasskey":r("WebBloksCAAUsePasskey")};l.ACTIONS=e}),98);
__d("caaPasskeyTraversalKeys",[],(function(t,n,r,o,a,i){var e={},l=e;i.default=l}),66);
__d("CAAPasskeyWebBloksEnvironmentConfigDynamic",["CaaPasskeyWebBloksActions","caaPasskeyTraversalKeys"],(function(t,n,r,o,a,i,l){var e={actions:o("CaaPasskeyWebBloksActions").ACTIONS,traversalKeys:r("caaPasskeyTraversalKeys")};l.CAA_PASSKEY_ENVIRONMENT_CONFIG=e}),98);
__d("WebBloksCAAGetKeyboardDetailsExtension",["UserAgent","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=60,c=230,d=12,m=r("UserAgent").isDevice("iPhone"),p=r("UserAgent").isPlatform("Android"),_={hasLayoutWrapper:function(){return!1},wrap:function(t,n){return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:"\n          @keyframes blink_input_opacity_to_prevent_scrolling_when_focus {\n            0% { opacity: 0; }\n            100% { opacity: 1; }\n          }\n          input:focus {\n              animation: blink_input_opacity_to_prevent_scrolling_when_focus 0.01s;\n          }\n        "}),n]})},onMount:function(t,n,r){var e=window.visualViewport;if(e){var o=c,a,i=y(n);if(i){var l=i.cleanup,s=i.domNode,d=i.onKeyboardChange,m=i.topOffset,p=C(t,n,r),_=function(t){t.target instanceof HTMLInputElement&&(window.clearTimeout(a),p(o-m,d))},f=function(t){t.target instanceof HTMLInputElement&&(t.relatedTarget instanceof HTMLInputElement||(a=window.setTimeout(function(){p(0,d)},100)))},g=function(t){var e,n,r,a,i=(e=(n=document.body)==null?void 0:n.clientHeight)!=null?e:0,l=(r=(a=document.body)==null?void 0:a.clientWidth)!=null?r:0;if(i<l){p(0,d);return}var s=i-t.target.height*t.target.scale;s>u&&(o=s)};return s.addEventListener("focusin",_),s.addEventListener("focusout",f),e.addEventListener("resize",g),function(){s.removeEventListener("focusin",_),s.removeEventListener("focusout",f),e.removeEventListener("resize",g),l()}}}}},f={hasLayoutWrapper:function(){return!1},onMount:function(t,n,r){var e=window.visualViewport;if(e){var o=y(n);if(o){var a=o.cleanup,i=C(t,n,r),l=!1,s=function(t){var e,n,r,o,a=(e=(n=document.body)==null?void 0:n.clientHeight)!=null?e:0,s=(r=(o=document.body)==null?void 0:o.clientWidth)!=null?r:0;if(a<s){i(0);return}var c=a-t.target.height*t.target.scale;c=c<u?0:c;var d=!1;!l&&c>u?(l=!0,d=!0):l&&c<=u&&(l=!1,d=!0),d&&i(c)};return e.addEventListener("resize",s),function(){e.removeEventListener("resize",s),a()}}}}},g=p?f:m?_:{},h=g,y=function(t){var e,n,r=(e=t.current.uiMutableContainer.domNode)==null?void 0:e.current;if(!r)return null;var o=Math.max(0,r.getBoundingClientRect().top-d),a=(n=document.body)!=null?n:r,i={transition:a.style.transition,transform:a.style.transform};m&&(a.style.transition="all 180ms ease-in-out");function l(e){if(a){var t=e?"-"+o+"px":0;a.style.transform="translateY("+t+")"}}function s(){a.style.transform=i.transform,a.style.transition=i.transition}return{domNode:r,topOffset:o,onKeyboardChange:l,cleanup:s}},C=function(t,n,r){var e=r.executeCatch,o=t.getExpression("on_keyboard_size_change");return function(t,a){o!=null&&(e(n.current,o,[t,n.current,r]),a&&a(t>0))}};l.default=h}),98);
__d("CAAWebBloksExtensionHandlers",["WebBloksCAAGetKeyboardDetailsExtension"],(function(t,n,r,o,a,i,l){var e={"bk.component.caa.WebGetKeyboardDetailsExtension":r("WebBloksCAAGetKeyboardDetailsExtension")};l.EXTENSION_HANDLERS=e}),98);
__d("CAAWebBloksStringStorage",["WebStorage"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(function(){function e(e){this.$1=e}var t=e.prototype;return t.getString=function(t){var e=this.$1.getItem(t);return e==null?"":e},t.setString=function(t,n){this.$1.setItem(t,n)},e})(),u=(function(){var t=(e||(e=r("WebStorage"))).getLocalStorage();return t?new s(t):{setString:function(){},getString:function(){return""}}})();l.CAAWebBloksStringStorage=u}),98);
__d("WebBloksCAAFetchCachedString",["CAAWebBloksStringStorage"],(function(t,n,r,o,a,i,l){function e(e,t){return o("CAAWebBloksStringStorage").CAAWebBloksStringStorage.getString(t)}l.default=e}),98);
__d("MWebOTP",["Promise","Run","promiseDone"],(function(t,n,r,o,a,i,l){"use strict";var e,s=null,u=null,c=null,d=0,m=null,p={fetch:function(t){return navigator.credentials.get(t)}};function _(){return"OTPCredential"in window&&!!navigator.credentials&&typeof navigator.credentials.get=="function"&&"AbortController"in window}function f(){s&&(d++,s.abort(),s=null)}function g(){c&&(c.remove(),c=null),c=o("Run").onUnload(f)}g();function h(){return u}function y(){return!!s}function C(e){if(u=null,!_())return!1;if(m=e,y())return!0;var t=!1;d++;var n=d,o=function(r,o){if(!(t||n!==d||!s)){t=!0,s=null;var e=m;if(e){if(o||!r)return e(!1,null),!1;var a=r.code;if(a==null||!a.length){e(!1,null);return}return u=String(a),e(!0,u),!0}}};s=new AbortController;var a=p.fetch({otp:{transport:["sms"]},signal:s.signal});return r("promiseDone")(a,function(e){return o(e,null)},function(e){return o(null,e)}),!0}l.isSupported=_,l.abort=f,l.getLastFetchedCode=h,l.fetchCode=C}),98);
__d("WebBloksCAAFetchSMSCode",["MWebOTP"],(function(t,n,r,o,a,i,l){var e="failure",s="success";function u(t,n,r){o("MWebOTP").isSupported()&&o("MWebOTP").fetchCode(function(o,a){o&&a!=null&&a.length?c(t,n,a,r):t.executeCatch(r,["",e,n])})}function c(e,t,n,r){window.setTimeout(function(){e.executeCatch(r,[n,s,t])})}l.default=u}),98);
__d("WebBloksCAAGenerateUUID",["uuidv4"],(function(t,n,r,o,a,i,l){function e(e){return r("uuidv4")()}l.default=e}),98);
__d("CAAWebBloksYoungAgeStorage",["WebStorage"],(function(t,n,r,o,a,i,l){"use strict";var e,s=2,u=12;function c(e){return"caa.yuca."+e}var d=c("byc"),m=c("bc"),p=c("hbt"),_=(function(){function e(e){this.$1=e}var t=e.prototype;return t.$2=function(t,n){var e=this.$1.getItem(t);return e===null?n:parseInt(e,10)},t.$3=function(t){var e;return(e=this.$1.getItem(t))!=null?e:"{}"},t.$4=function(t,n){this.$1.setItem(t,JSON.stringify(n))},t.$5=function(t,n){this.$1.setItem(t,n.toString())},t.$6=function(){return Math.round(Date.now()/1e3)},t.saveAgeWrongAttemptSignal=function(t){var e,n=JSON.parse(this.getBirthdayYearCount()),r=(e=n[t])!=null?e:"0";n[t]=(parseInt(r,10)+1).toString(),this.$4(d,n)},t.getBirthdayYearCount=function(){return this.$3(d)},t.incrementBlockCountAndHardblock=function(){var e=this.$2(m,0)+1;this.$5(m,e),e>=s&&this.$5(p,this.$6())},t.shouldHardBlockOrClearBlock=function(){var e=this.$2(p,0);if(e===0)return!1;var t=this.$6()-e,n=t<u*60*60;return n||(this.$5(p,0),this.$5(m,0)),n},e})(),f=(function(){var t=(e||(e=r("WebStorage"))).getLocalStorage();return t?new _(t):{saveAgeWrongAttemptSignal:function(){},incrementBlockCountAndHardblock:function(){},shouldHardBlockOrClearBlock:function(){return!1},getBirthdayYearCount:function(){return""}}})();l.CAAWebBloksYoungAgeStorage=f}),98);
__d("WebBloksCAAGetAgeFailureBirthdayYearCount",["CAAWebBloksYoungAgeStorage"],(function(t,n,r,o,a,i,l){function e(e,t){return o("CAAWebBloksYoungAgeStorage").CAAWebBloksYoungAgeStorage.getBirthdayYearCount()}l.default=e}),98);
__d("WebBloksCAAGetAgeFromBirthdayTimestamp",[],(function(t,n,r,o,a,i){function e(e,t){var n=Number.isNaN(t)?Date.now():t,r=new Date(n*1e3),o=new Date,a=o.getUTCFullYear()-r.getUTCFullYear();return(r.getUTCMonth()>o.getUTCMonth()||r.getUTCMonth()===o.getUTCMonth()&&r.getUTCDate()>o.getUTCDate())&&--a,Math.max(a,0)}i.default=e}),66);
__d("MAPWebWaterfallIdManager",["ExecutionEnvironment","WebStorage","uuidv4"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u="map_waterfall_state",c="|";function d(){var t,n;if(!(e||(e=r("ExecutionEnvironment"))).canUseDOM)return{lastSwitcherSession:"",waterfallId:""};var o=(t=(n=(s||(s=r("WebStorage"))).getLocalStorage())==null?void 0:n.getItem(u))!=null?t:"";if(o==="")return{lastSwitcherSession:"",waterfallId:""};var a=o.indexOf(c);return a===-1?{lastSwitcherSession:"",waterfallId:o}:{lastSwitcherSession:o.substring(a+1),waterfallId:o.substring(0,a)}}var m=new Set;function p(t,n){(e||(e=r("ExecutionEnvironment"))).canUseDOM&&((s||(s=r("WebStorage"))).setItemGuarded(s.getLocalStorage(),u,""+t+c+n),m.forEach(function(e){return e()}))}var _={getOrRegenerateWaterfallId:function(n,o,a){if(!(e||(e=r("ExecutionEnvironment"))).canUseDOM)return"";var t=d(),i=t.lastSwitcherSession,l=t.waterfallId,s=!1;switch(n){case"startup":s=l===""||a!=="";break;case"switcher":s=l===""||(o!=null?o:"")!==i;break}if(s){var u=r("uuidv4")(),c=n==="startup"?"":o!=null?o:"";return p(u,c),u}return l},getWaterfallId:function(){var e=d(),t=e.waterfallId;return t!==""?t:null},subscribe:function(t){return m.add(t),function(){m.delete(t)}}},f=_;l.default=f}),98);
__d("WebBloksCAAGetWaterfallId",["MAPWebWaterfallIdManager"],(function(t,n,r,o,a,i,l){function e(e){var t;return(t=r("MAPWebWaterfallIdManager").getWaterfallId())!=null?t:""}l.default=e}),98);
__d("WebBloksCAAMobileWebEncryptPassword",["FBBrowserPasswordEncryption","WebBloksScriptDebuggingUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,r,a){var i=Math.floor(Date.now()/1e3).toString();o("FBBrowserPasswordEncryption").encryptPassword(n,r,t,i).then(function(t){e.execute(a,[t])}).catch(function(t){return o("WebBloksScriptDebuggingUtils").logScriptError(e.bloksContext.objectSet,t,a,e)})}l.default=e}),98);
__d("CAAWebBloksQPLUtils",["QuickPerformanceLogger","qpl"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t,n){var o=r("qpl")._(2295576,"932");(e||(e=r("QuickPerformanceLogger"))).markerAnnotate(o,{string:{login_type:t,login_source:n}},{instanceKey:0})}function u(t,n){var o=r("qpl")._(2295576,"932");s(t,n),(e||(e=r("QuickPerformanceLogger"))).markerAnnotate(o,{string:{error_info:"no_error"}},{instanceKey:0}),e.markerEnd(o,2)}function c(t,n,o){var a=r("qpl")._(2295576,"932");s(t,n),(e||(e=r("QuickPerformanceLogger"))).markerAnnotate(a,{string:{error_info:o}},{instanceKey:0}),e.markerEnd(a,87)}function d(t,n,o){var a=r("qpl")._(2295576,"932");s(t,n),(e||(e=r("QuickPerformanceLogger"))).markerAnnotate(a,{string:{error_info:o}},{instanceKey:0}),e.markerEnd(a,3)}l.getQPLMarkerEndLoginTTISuccess=u,l.getQPLMarkerEndLoginTTIError=c,l.getQPLMarkerEndLoginTTIFail=d}),98);
__d("WebBloksCAAPerformIGDeviceBasedLogin",["CAAWebBloksQPLUtils","PolarisOneTapLoginStorage","WebBloksErrors","WebBloksScriptDebuggingUtils","getErrorSafe","nullthrows"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,a){try{var i=r("nullthrows")(o("PolarisOneTapLoginStorage")==null?void 0:o("PolarisOneTapLoginStorage").getLoginNonces),l=i(),s=l[t],u;s==null||s.mid!==n?u="":u=s.nonce,e.execute(a,[u])}catch(t){o("WebBloksScriptDebuggingUtils").logScriptError(e.bloksContext.objectSet,new(o("WebBloksErrors")).WebBloksScriptError(r("getErrorSafe")(t).message,e),a,e),o("CAAWebBloksQPLUtils").getQPLMarkerEndLoginTTIFail("Nonce","AccountsYouMayHave","generic_error_dialog"),e.executeCatch(a,[""])}}l.default=e}),98);
__d("WebBloksCAARegExistingLoginSuccess",["WebBloksURLUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){o("WebBloksURLUtils").openURL("/")}l.default=e}),98);
__d("WebBloksCAARegLogoutCurrentUser",["WebBloksURLUtils","XLogoutControllerRouteBuilder"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){var n=r("XLogoutControllerRouteBuilder").buildURL({source:"caa_fb_mobile_web_reg_conf_screen"});o("WebBloksURLUtils").openURL(n)}l.default=e}),98);
__d("WebBloksClipboardSetString",[],(function(t,n,r,o,a,i){function e(e,t){var n=window.navigator;n&&n.clipboard&&"writeText"in n.clipboard?n.clipboard.writeText(t):l(t)||e.bloksContext.objectSet.environment.logger.warn("clipboard.SetString not supported on this browser")}function l(e){var t=document.body;if(!t)return!1;var n=document.activeElement,r=!0,o=document.createElement("textarea");if(t.appendChild(o),o.value=e,navigator.userAgent.match(/ipad|ipod|iphone/i)){var a=document.createRange();a.selectNodeContents(o);var i=window.getSelection();i!=null&&(i.removeAllRanges(),i.addRange(a)),o.setSelectionRange(0,999999)}else o.select();try{r=document.execCommand("copy")}catch(e){r=!1}return t.removeChild(o),n!=null&&n.focus(),r}i.default=e}),66);
__d("WebBloksCAARegOpenShareSheet",["WebBloksClipboardSetString","WebBloksScriptDebuggingUtils","WebBloksScriptString"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){s(e,t).catch(function(n){o("WebBloksScriptDebuggingUtils").logScriptError(e.objectSet,n,o("WebBloksScriptString").castWebBloksScriptStringFromString(t),e)})}async function s(e,t){var n={text:t};typeof navigator.canShare=="function"&&typeof navigator.share=="function"&&navigator.canShare(n)?await(navigator.share==null?void 0:navigator.share(n)):(r("WebBloksClipboardSetString")(e,t),e.objectSet.toastManager.enqueueSimpleToast("Link copied"))}l.default=e}),98);
__d("WebBloksCAASaveCachedString",["CAAWebBloksStringStorage"],(function(t,n,r,o,a,i,l){function e(e,t,n){return o("CAAWebBloksStringStorage").CAAWebBloksStringStorage.setString(t,n)}l.default=e}),98);
__d("WebBloksChangeCanonicalURL",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){var n=t.get("canonical-url");if(n){var r=history.state;window.history.replaceState(r,null,n)}}i.default=e}),66);
__d("XWebLiteInstalledAppsLoggingControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/ajax/weblite_app_logging/",Object.freeze({}),void 0),s=e;l.default=s}),98);
__d("WebBloksCheckInstalledAppsOnDevice",["XWebLiteInstalledAppsLoggingControllerRouteBuilder","promiseDone"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){if(typeof navigator.getInstalledRelatedApps=="function"){var n=Date.now(),o=navigator.getInstalledRelatedApps();r("promiseDone")(o,function(e){var o=Date.now(),a=window.btoa(JSON.stringify(e)),i=Math.floor(o-n),l=t.get("impression_id");navigator.sendBeacon&&navigator.sendBeacon(r("XWebLiteInstalledAppsLoggingControllerRouteBuilder").buildUri({r:a,wb:"1",t:i.toString(),imp:l}).toString())},function(e){throw e})}}l.default=e}),98);
__d("WebBloksFetchAllAvailableNativeAuthData",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){}i.default=e}),66);
__d("CAAWebBloksUrlUtils",["WebBloksURLUtils"],(function(t,n,r,o,a,i,l){"use strict";var e="deoia",s="almsg",u="ias";function c(t){var n;return o("WebBloksURLUtils").addQueryParamsToUrl(t,(n={},n[e]="1",n))}function d(t){var n;return o("WebBloksURLUtils").addQueryParamsToUrl(t,(n={},n[e]="1",n[s]=u,n))}l.addAppDeeplinkBlockingQueryParam=c,l.addAutoLoginQueryParam=d}),98);
__d("WebBloksHandleLoginResponse",["CAAWebBloksQPLUtils","CAAWebBloksUrlUtils","CAAWebLoggingUtils","InstagramUserAgent","WebBloksScriptDebuggingUtils","WebBloksURLUtils","gkx","justknobx"],(function(t,n,r,o,a,i,l){"use strict";var e=o("CAAWebBloksUrlUtils").addAppDeeplinkBlockingQueryParam("/"),s=o("CAAWebBloksUrlUtils").addAutoLoginQueryParam("/");function u(t,n,a){if(a===void 0&&(a=!1),t==null||t==="")return n?s:e;try{var i=new URL(t,window.location.href);return a&&r("justknobx")._("2026")&&i.hostname==="i.instagram.com"&&(i=new URL(i.pathname+i.search,"https://www.instagram.com")),i.hash="",n?o("CAAWebBloksUrlUtils").addAutoLoginQueryParam(i.toString()):o("CAAWebBloksUrlUtils").addAppDeeplinkBlockingQueryParam(i.toString())}catch(t){return n?s:e}}function c(e,t,n){var a=JSON.parse(t.get("success_response")),i=t.get("login_type"),l=t.get("login_source");if(n!=null)try{e.execute(n,[]),o("CAAWebBloksQPLUtils").getQPLMarkerEndLoginTTISuccess(i!=null?i:"Unknown",l!=null?l:"Unknown")}catch(t){o("WebBloksScriptDebuggingUtils").logScriptError(e.bloksContext.objectSet,t,n,e),o("CAAWebBloksQPLUtils").getQPLMarkerEndLoginTTIFail(i!=null?i:"Unknown",l!=null?l:"Unknown","generic_error_dialog")}var s=r("InstagramUserAgent").is_mobile;if(s&&a.error_message==="checkpoint_required"&&o("CAAWebLoggingUtils").logmWebCheckpointedEvent(l!=null?l:""),l!=="Registration"){var c=l==="AutoLogin";s&&r("gkx")("8251")?window.setTimeout(function(){return o("WebBloksURLUtils").openURL(u(a.redirect_uri,c,s))},500):o("WebBloksURLUtils").openURL(u(a.redirect_uri,c,s))}}l.default=c}),98);
__d("WebBloksIsUserBirthdayHardBlocked",["CAAWebBloksYoungAgeStorage"],(function(t,n,r,o,a,i,l){function e(e){return o("CAAWebBloksYoungAgeStorage").CAAWebBloksYoungAgeStorage.shouldHardBlockOrClearBlock()}l.default=e}),98);
__d("WebBloksLaunchSecurityKeys",["Promise","WebAuthN","promiseDone"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(e,t,n,o,a,i,l,s){var c=navigator.credentials;if(c==null){e.executeCatch(s,[1,"Method not supported, try another method."]);return}var d=i.map(function(e){return{id:e,type:"public-key"}}),m={publicKey:{allowCredentials:d,challenge:o,rpId:a,userVerification:"preferred",timeout:6e4}};r("promiseDone")(u(c,m),function(t){var n=JSON.stringify(t);e.executeCatch(l,[n])},function(t){e.executeCatch(s,[t.code,t])})}var u=function(r,a){var t=a.publicKey,i={challenge:Uint8Array.from(t.challenge.split("").map(function(e){return e.charCodeAt(0)})),rpId:t.rpId,allowCredentials:o("WebAuthN").encodeCredentials(t.allowCredentials),userVerification:"preferred",timeout:6e4};return t.extensions&&t.extensions.appid&&(i.extensions={appid:t.extensions.appid}),r.get({publicKey:i}).then(function(t){return(e||(e=n("Promise"))).resolve({credential_id:t.id,raw_id:o("WebAuthN").bufferEncode(t.rawId),type:t.type,response:{authenticator_data:o("WebAuthN").encodeByteArray(t.response.authenticatorData),client_data_json:o("WebAuthN").encodeByteArray(t.response.clientDataJSON),signature:o("WebAuthN").encodeByteArray(t.response.signature),user_handle:o("WebAuthN").encodeByteArray(t.response.userHandle)}})}).then(function(t){return(e||(e=n("Promise"))).resolve(t)}).catch(function(t){return(e||(e=n("Promise"))).reject(t)})};l.default=s}),98);
__d("MAPWebLogoutSourceManager",["ExecutionEnvironment","WebStorage"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u="map_logout_source",c={clearLogoutSource:function(){(e||(e=r("ExecutionEnvironment"))).canUseDOM&&(s||(s=r("WebStorage"))).setItemGuarded(s.getLocalStorage(),u,"")},getLogoutSource:function(){var t,n;return(e||(e=r("ExecutionEnvironment"))).canUseDOM&&(t=(n=(s||(s=r("WebStorage"))).getLocalStorage())==null?void 0:n.getItem(u))!=null?t:""},setLogoutSource:function(n){(e||(e=r("ExecutionEnvironment"))).canUseDOM&&(s||(s=r("WebStorage"))).setItemGuarded(s.getLocalStorage(),u,n)}},d=c;l.default=d}),98);
__d("WebBloksMAPSetLogoutSource",["MAPWebLogoutSourceManager"],(function(t,n,r,o,a,i,l){function e(e,t){r("MAPWebLogoutSourceManager").setLogoutSource(t)}l.default=e}),98);
__d("WebBloksMarkYoungUserCreationAttempt",["CAAWebBloksYoungAgeStorage"],(function(t,n,r,o,a,i,l){function e(e,t){o("CAAWebBloksYoungAgeStorage").CAAWebBloksYoungAgeStorage.incrementBlockCountAndHardblock()}l.default=e}),98);
__d("WebBloksUserTooYoungRegistration",["CAAWebBloksYoungAgeStorage"],(function(t,n,r,o,a,i,l){function e(e,t){try{var n=t.split("-");n.length===3&&o("CAAWebBloksYoungAgeStorage").CAAWebBloksYoungAgeStorage.saveAgeWrongAttemptSignal(parseInt(n[2],10))}catch(e){return}}l.default=e}),98);
__d("CaaWebBloksActions",["WebBloksCAAFetchCachedString","WebBloksCAAFetchSMSCode","WebBloksCAAGenerateUUID","WebBloksCAAGetAgeFailureBirthdayYearCount","WebBloksCAAGetAgeFromBirthdayTimestamp","WebBloksCAAGetWaterfallId","WebBloksCAAMobileWebEncryptPassword","WebBloksCAAPerformIGDeviceBasedLogin","WebBloksCAARegExistingLoginSuccess","WebBloksCAARegLogoutCurrentUser","WebBloksCAARegOpenShareSheet","WebBloksCAASaveCachedString","WebBloksChangeCanonicalURL","WebBloksCheckInstalledAppsOnDevice","WebBloksFetchAllAvailableNativeAuthData","WebBloksHandleLoginResponse","WebBloksIsUserBirthdayHardBlocked","WebBloksLaunchSecurityKeys","WebBloksMAPSetLogoutSource","WebBloksMarkYoungUserCreationAttempt","WebBloksUserTooYoungRegistration"],(function(t,n,r,o,a,i,l){var e={"bk.action.acp.LaunchSecurityKeys":r("WebBloksLaunchSecurityKeys"),"bk.action.caa.FetchCachedString":r("WebBloksCAAFetchCachedString"),"bk.action.caa.FetchSMSCode":r("WebBloksCAAFetchSMSCode"),"bk.action.caa.GenerateUUID":r("WebBloksCAAGenerateUUID"),"bk.action.caa.GetWaterfallId":r("WebBloksCAAGetWaterfallId"),"bk.action.caa.HandleLoginResponse":r("WebBloksHandleLoginResponse"),"bk.action.caa.SaveCachedString":r("WebBloksCAASaveCachedString"),"bk.action.caa.login.RegExistingLoginSuccess":r("WebBloksCAARegExistingLoginSuccess"),"bk.action.caa.mobileweb.EncryptPassword":r("WebBloksCAAMobileWebEncryptPassword"),"bk.action.caa.mobileweb.ig.PerformDeviceBasedLogin":r("WebBloksCAAPerformIGDeviceBasedLogin"),"bk.action.caa.reg.GetAgeFailureBirthdayYearCount":r("WebBloksCAAGetAgeFailureBirthdayYearCount"),"bk.action.caa.reg.GetAgeFromBirthdayTimestamp":r("WebBloksCAAGetAgeFromBirthdayTimestamp"),"bk.action.caa.reg.IsUserBirthdayHardBlocked":r("WebBloksIsUserBirthdayHardBlocked"),"bk.action.caa.reg.LogoutCurrentUser":r("WebBloksCAARegLogoutCurrentUser"),"bk.action.caa.reg.MarkYoungUserCreationAttempt":r("WebBloksMarkYoungUserCreationAttempt"),"bk.action.caa.reg.OpenShareSheet":r("WebBloksCAARegOpenShareSheet"),"bk.action.map.SetLogoutSource":r("WebBloksMAPSetLogoutSource"),"bk.action.pdp.UserTooYoungRegistration":r("WebBloksUserTooYoungRegistration"),"bk.action.urs.ChangeCanonicalURL":r("WebBloksChangeCanonicalURL"),"bk.action.urs.GetInstalledAppsFromBrowser":r("WebBloksCheckInstalledAppsOnDevice"),"bk.fx.action.FetchAllAvailableNativeAuthData":r("WebBloksFetchAllAvailableNativeAuthData")};l.ACTIONS=e}),98);
__d("CaaWebBloksComponents",[],(function(t,n,r,o,a,i){var e={};i.COMPONENTS=e}),66);
__d("caaTraversalKeys",[],(function(t,n,r,o,a,i){var e={},l=e;i.default=l}),66);
__d("CAAWebBloksEnvironmentConfigDynamic",["CAAWebBloksExtensionHandlers","CaaWebBloksActions","CaaWebBloksComponents","caaTraversalKeys"],(function(t,n,r,o,a,i,l){var e={actions:o("CaaWebBloksActions").ACTIONS,components:o("CaaWebBloksComponents").COMPONENTS,extensionHandlers:o("CAAWebBloksExtensionHandlers").EXTENSION_HANDLERS,traversalKeys:r("caaTraversalKeys")};l.CAA_ENVIRONMENT_CONFIG=e}),98);
__d("WebBloksCDSScreenModeContext.react",["react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).createContext,u=s(null),c=u;l.default=c}),98);
__d("WebBloksCDSBottomSheetContainer.react",["WebBloksCDSScreenModeContext.react","WebBloksStyle","WebBloksTheme","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useContext,m=u.useEffect,p=u.useRef;function _(e){var t=e.children,n=e.context,a=c(function(){n.objectSet.navigationManager.pop()},[n]),i=h(a),l=i.draggableRef,u=i.touchEvents,m=d(r("WebBloksCDSScreenModeContext.react")),p=m==="flexible_sheet",_=m==="half_sheet"||m==="auto_sheet"||m==="flexible_sheet",g=m==="full_sheet";return s.jsx("div",{className:C.root,onClick:a,role:"presentation",children:s.jsxs("div",babelHelpers.extends({className:o("WebBloksStyle").classNames(C.container,!p&&C.containerGrowHeight,_&&C.containerMaxHeight75,g&&C.containerMaxHeight100),onClick:f,ref:l},u,{role:"presentation",children:[s.jsx("div",{className:C.top,children:s.jsx("div",{className:C.swipe})}),t]}))})}_.displayName=_.name+" [from "+i.id+"]";function f(e){e.preventDefault(),e.stopPropagation()}function g(e){return e.touches!=null?e.touches[0].pageY:e.clientY}function h(e){var t=p(null),n=p(null),r=c(function(e){e.stopPropagation(),n.current={startY:g(e),endY:g(e)}},[]),o=c(function(e){e.stopPropagation();var r=n.current;if(r){r.endY=g(e);var o=r.endY-r.startY;o>20&&t.current&&(t.current.style.transform="translateY("+o+"px)")}},[]),a=c(function(r){r.stopPropagation(),t.current&&(t.current.style.transform=""),n.current&&t.current&&n.current.endY-n.current.startY>t.current.clientHeight/2&&e(),n.current=null},[e]),i=c(function(e){e.stopPropagation(),n.current=null,t.current&&(t.current.style.transform="")},[]);return m(function(){if(document.body){var e=document.body.style.overscrollBehaviorY,t=document.body.style.touchAction;return document.body.style.overscrollBehaviorY="none",document.body.style.touchAction="none",function(){document.body.style.overscrollBehaviorY=e,document.body.style.touchAction=t}}},[]),{draggableRef:t,touchEvents:{onTouchStart:r,onMouseDown:r,onTouchMove:o,onMouseMove:o,onTouchEnd:a,onMouseUp:a,onTouchCancel:i}}}var y=44,C=o("WebBloksStyle").createStyles({root:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["cds-overlay-alpha-80"],position:"absolute",top:0,left:0,right:0,bottom:0},container:{borderRadius:"16px 16px 0px 0px",bottom:0,display:"flex",flexDirection:"column",left:0,overflow:"hidden",position:"absolute",right:0,minHeight:"calc("+y+"px * 3)"},containerGrowHeight:{height:"100%"},containerMaxHeight75:{maxHeight:"75%"},containerMaxHeight100:{maxHeight:"calc(100% - 16px)"},top:{alignItems:"center",display:"flex",justifyContent:"center",zIndex:1},swipe:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["cds-close-handle"],border:"none",borderRadius:2.5,height:4,width:36,marginTop:12}});l.default=_}),98);
__d("WebBloksCDSWrapperImpl.react",["WebBloksCDSScreenModeContext.react","WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useContext;function c(e){var t=e.backgroundOverlayColor,n=e.content,a=e.header,i=e.shouldRenderGradient,l=e.topBanner,c=o("WebBloksTheme").useTheme().getTheme(),m;if(t!=null){var p=o("WebBloksUtils").getRGBColorWithTheme(t,c);m=s.jsx("div",{className:C.backgroundOverlayColor,style:{backgroundColor:p}})}var _=u(r("WebBloksCDSScreenModeContext.react")),f=s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:C.gradientContainer,children:[i?s.jsx(d,{}):null,m]}),l,a,n]}),g=_==="full_screen"||_==null?s.jsx("div",{className:C.minHeight,children:f}):f;return s.jsx("div",{className:C.root,children:g})}c.displayName=c.name+" [from "+i.id+"]";function d(){return s.jsx("div",{className:C.gradient,children:s.jsx("div",{className:C.canvas})})}d.displayName=d.name+" [from "+i.id+"]";var m="hsla(44, 100%, 66%, 1)",p="hsla(338, 68%, 65%, 1)",_="hsla(338, 68%, 65%, 0.4)",f="hsla(272, 100%, 60%, 1)",g="hsla(142, 70%, 49%, 1)",h="hsla(209, 100%, 53%, 1)",y="hsla(213, 100%, 44%, 1)",C=o("WebBloksStyle").createStyles({root:{boxSizing:"border-box",display:"flex",flexDirection:"column",height:"100%",overflow:"scroll",paddingLeft:"env(safe-area-inset-left)",paddingRight:"env(safe-area-inset-right)",width:"100%"},minHeight:{height:"100%",minHeight:"600px",display:"flex",flexDirection:"column"},gradientContainer:{bottom:0,clipPath:"inset(0 0 0 0)",right:0,pointerEvents:"none",position:"absolute",backgroundColor:o("WebBloksTheme").WebBloksThemeVars["cds-surface-background"],left:0,top:0},gradient:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["cds-surface-background"],borderRadius:"inherit",clipPath:"inset(0 0 0 0)",height:"100%",position:"relative",width:"100%",zIndex:0},canvas:{backgroundImage:"radial-gradient(rgba(255,255,255,.25), rgba(255,255,255,0) 40%), radial-gradient("+m+" 30%, "+p+", "+_+" 41%, transparent 52%), radial-gradient("+f+" 37%, transparent 46%), linear-gradient(155deg, transparent 65%, "+g+" 95%), linear-gradient(45deg, "+y+", "+h+")",backgroundPosition:"bottom left, 109% 68%, 109% 68%, center, center",backgroundRepeat:"no-repeat",backgroundSize:"200% 200%, 285% 500%, 285% 500%, cover, cover",bottom:0,right:0,opacity:.08,pointerEvents:"none",position:"absolute",left:0,top:0},backgroundOverlayColor:{height:"100%",width:"100%",position:"absolute",top:0}});l.default=c}),98);
__d("WebBloksCDSModalContainer",["WebBloksCDSBottomSheetContainer.react","WebBloksCDSScreenModeContext.react","WebBloksCDSWrapperImpl.react","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t,n=e.children,a=e.containerConfig,i=o("WebBloksComponentContext").useWebBloksContext(),l=i.bloksContext,u=i.renderNode,c=a.backgroundOverlayColor,d=a.navbar,m=(t=a.mode)!=null?t:"full_sheet",p=d!=null?u(d):null,_=["half_sheet","flexible_sheet","auto_sheet","full_sheet"].includes(m),f=s.jsx(r("WebBloksCDSWrapperImpl.react"),{backgroundOverlayColor:c,header:p,content:n,shouldRenderGradient:!1});return _&&(f=s.jsx(r("WebBloksCDSScreenModeContext.react").Provider,{value:m,children:s.jsx(r("WebBloksCDSBottomSheetContainer.react"),{context:l,children:f})})),f}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksContainerConfig",["WebBloksErrors"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(){}var t=e.prototype;return t.mergeWith=function(t){return t},e.fromBloksModel=function(t){throw new(o("WebBloksErrors")).WebBloksError("Abstract")},t.getIsOverlay=function(){return!1},t.getWrapperContribs=function(){return null},e})();function s(e,t){var n=t.styleId,r=e.objectSet.getContainerConfigModuleForName(n);return r.ContainerConfig.fromBloksModel(t)}l.WebBloksContainerConfig=e,l.getContainerConfig=s}),98);
__d("WebBloksCDSModalContainerConfig",["WebBloksContainerConfig","WebBloksUtils"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t,n,r){var o;return o=e.call(this)||this,o.backgroundOverlayColor=t,o.mode=n,o.navbar=r,o}babelHelpers.inheritsLoose(t,e),t.fromBloksModel=function(n){var e=n.get("background_overlay_color"),r=n.get("mode"),o=n.get("navbar");return new t(e,r,o)};var n=t.prototype;return n.mergeWith=function(n){var e,r,a,i=o("WebBloksUtils").cast(n);return new t((e=i.backgroundOverlayColor)!=null?e:this.backgroundOverlayColor,(r=i.mode)!=null?r:this.mode,(a=i.navbar)!=null?a:this.navbar)},n.getIsOverlay=function(){return this.mode==null?!0:["auto_sheet","flexible_sheet","full_sheet","half_sheet"].includes(this.mode)},t})(o("WebBloksContainerConfig").WebBloksContainerConfig);l.default=e}),98);
__d("CDSWebBloksContainerConfigs",["WebBloksCDSModalContainer","WebBloksCDSModalContainerConfig"],(function(t,n,r,o,a,i,l){var e={"bk.data.cds.ModalContainerConfig":{ContainerComponent:r("WebBloksCDSModalContainer"),ContainerConfig:r("WebBloksCDSModalContainerConfig")}};l.CONTAINER_CONFIGS=e}),98);
__d("WebBloksCDSCloseScreen",[],(function(t,n,r,o,a,i){function e(e,t,n){var r;e.objectSet.navigationManager.close("close");var o=(r=t==null?void 0:t.getValues())!=null?r:{},a=o.callback;a!=null&&e.executeCatch(a,[e.bloksContext])}i.default=e}),66);
__d("WebBloksCDSDismissCdsBottomSheet",[],(function(t,n,r,o,a,i){function e(e,t){e.objectSet.navigationManager.close("close")}i.default=e}),66);
__d("WebBloksDataModule",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t){if(t==="ls")return e.localStateDataModule;if(t==="gs")return e.objectSet.globalStateDataModule;var n=e.objectSet.environment.dataModulesStore.get(t);if(n!=null)return n;throw new(o("WebBloksErrors")).WebBloksError("Unsupported data source type found: "+t)}function s(e,t){var n=e.data,r=n.initial_lispy;return r!=null?t(r):n.initial}function u(e,t){return{id:e,type:"ls",data:{initial:t}}}l.getDataModuleFromContext=e,l.getDataEntryInitialValue=s,l.dangerouslyCreateLocalStateDataManifestEntry_DO_NOT_USE=u}),98);
__d("WebBloksLocalState",["WebBloksDataModule"],(function(t,n,r,o,a,i,l){var e=(function(){function e(){}var t=e.prototype;return t.setup=function(t,n,r,a){var e=o("WebBloksDataModule").getDataEntryInitialValue(n,r);return{initialData:{initialValue:e,commitToStore:function(){return null}},snapshot:a}},e})();l.WebBloksLocalStateDataModule=e}),98);
__d("WebBloksContext",["WebBloksErrors","WebBloksLocalState","WebBloksScopedIds"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){this.treeManager=e,this.objectSet=t,this.associatedObjectsByClientId={},this.bkContextKeyStates=new Map,this.bkContextKeyAnimations=new Map,this.localStateDataModule=new(o("WebBloksLocalState")).WebBloksLocalStateDataModule,this.scopedClientIdMapper=new(o("WebBloksScopedIds")).ClientIdToScopedIdMapper}var t=e.prototype;return t.initAssociatedObject_INTERNAL=function(t,n,r){var e=t.clientId,a=this.getAssociatedObject_INTERNAL(t,n);if(a!=null)return a;if(this.$1(e)||(this.associatedObjectsByClientId[e]={}),this.associatedObjectsByClientId[e][n]=r,this.associatedObjectsByClientId[e][n]==null)throw new(o("WebBloksErrors")).WebBloksError("Failed to initialize associated object for clientId: "+e+" and assocObjId: "+n,null,!0);return this.associatedObjectsByClientId[e][n]},t.getAssociatedObject_INTERNAL=function(t,n){var e,r=t.clientId,o=(e=this.associatedObjectsByClientId)==null?void 0:e[r];return o==null?void 0:o[n]},t.updateAssociatedObject_INTERNAL=function(t,n,r){var e=t.clientId;if(this.associatedObjectsByClientId[e][n]==null)throw new(o("WebBloksErrors")).WebBloksError("Attempted to update a associated object which has not been initialized",null,!0);if(this.associatedObjectsByClientId[e][n]=babelHelpers.extends({},this.associatedObjectsByClientId[e][n],r),this.associatedObjectsByClientId[e][n]==null)throw new(o("WebBloksErrors")).WebBloksError("Failed to update associated object for clientId: "+e+" and assocObjId: "+n,null,!0);return this.associatedObjectsByClientId[e][n]},t.$1=function(t){return Object.prototype.hasOwnProperty.call(this.associatedObjectsByClientId,t)},e})();l.WebBloksContext=e}),98);
__d("TreeManagerResourceProcessingDelegate",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){this.processedResourceIds=new Set,this.config=e}var t=e.prototype;return t.collectTreeResource=function(t,n){this.processedResourceIds.has(n)||(this.processedResourceIds.add(n),this.config.onCollectTreeResource!=null&&this.config.onCollectTreeResource(t,n))},t.isResourceProcessed=function(t){return this.processedResourceIds.has(t)},t.collectVariable=function(t,n,r,o){var e=r.commitToStore(t,this.config.observer);this.config.onCollectVariable(t,n,r.initialValue,e)},t.containsVariable=function(t){return this.config.containsVariable(t)},t.addExpandedVariable=function(t,n){this.config.onAddExpandedVariable!=null&&this.config.onAddExpandedVariable(t,n)},e})();i.TreeManagerResourceProcessingDelegate=e}),66);
__d("WebBloksChildrenOperationsHelper",["WebBloksConstants","WebBloksMutations","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t){var n=e.bloksContext.objectSet.environment.traversalKeys;e.enqueueUpdateOperation(new(o("WebBloksMutations")).ChildServerIdTarget(t,n),{update:function(a){var r=x(a,t,n),i=r[0],l=r[1];if(l<0){o("WebBloksMutations").warn(e,"removeChildById: No existing child found with specified ID in parent. No child has been removed from the parent.");return}i.splice(l,1)}})}function s(e,t,n,r){e.enqueueUpdateOperation(new(o("WebBloksMutations")).ClientIdTarget(t.clientId),{update:function(a){var t=x(a,n,e.bloksContext.objectSet.environment.traversalKeys),i=t[0],l=t[1],s=i.findIndex(function(e){return e.getId()===r});if(l===-1){o("WebBloksMutations").warn(e,"removeChildren: The starting id doesn't exist. No children have been removed.");return}if(s===-1){o("WebBloksMutations").warn(e,"removeChildren: The ending id doesn't exist. No children have been removed.");return}if(l>s){o("WebBloksMutations").warn(e,"removeChildren: The starting index is larger than the ending index. No children have been removed.");return}i.splice(l+1,s-l-1)}})}function u(e,t,n){var r=e.bloksContext.objectSet.environment.traversalKeys;e.enqueueUpdateOperation(new(o("WebBloksMutations")).ChildServerIdTarget(t,r),{update:function(i){var a=x(i,t,r),l=a[0],s=a[1];if(s<0){o("WebBloksMutations").warn(e,"replaceChildrenAfter: No existing child found with specified ID in parent. New children have not been added to parent.");return}l.splice.apply(l,[s+1,l.length-1-s].concat(T(n)))}})}function c(e,t,n){var r=D(e,n);u(e,t,r)}function d(e,t,n,r,a,i){i===void 0&&(i=0);var l=e.bloksContext.objectSet.environment.traversalKeys;e.enqueueUpdateOperation(new(o("WebBloksMutations")).ChildServerIdTarget(t,l),m(e,t,n,r,a,i))}function m(e,t,n,r,a,i){i===void 0&&(i=0);var l=e.bloksContext.objectSet.environment.traversalKeys;return{update:function(u){var s=x(u,t,l),c=s[0],d=s[1];if(d<0){o("WebBloksMutations").warn(e,a+": No existing child found with specified ID in parent. New children have not been added to parent.");return}c.splice.apply(c,[d+i,r].concat(T(n)))}}}function p(e,t,n){d(e,t,n,0,"prependChildren")}function _(e,t,n){d(e,t,n,1,"replaceChild")}function f(e,t,n,r){d(e,n,t,0,"insertChildrenRelativeToId",r)}function g(e,t,n){return m(e,t,n,1,"replaceChild")}function h(e,t,n){e.enqueueUpdateOperation(new(o("WebBloksMutations")).ServerIdTarget(t),{update:function(t){var e;(e=t.getChildren_DEPRECATED()).splice.apply(e,[0,t.getChildren_DEPRECATED().length].concat(T(n)))}})}function y(e,t,n){var r=D(e,n);_(e,t,r)}function C(e,t,n){var r=D(e,n);h(e,t,r)}function b(e,t,n){e.enqueueUpdateOperation(new(o("WebBloksMutations")).ServerIdTarget(t),{update:function(t){var e,r=[];for(var o of T(n))r.push(o);(e=t.getChildren_DEPRECATED()).unshift.apply(e,r)}})}function v(e,t,n){var r=D(e,n);b(e,t,r)}function S(e,t,n){e.enqueueUpdateOperation(new(o("WebBloksMutations")).ServerIdTarget(t),{update:function(t){for(var e of T(n))t.getChildren_DEPRECATED().push(e)}})}function R(e,t,n){var r=D(e,n);S(e,t,r)}function L(e,t,n){f(e,t,n,0)}function E(e,t,n){var r=D(e,t);L(e,r,n)}function k(e,t,n){f(e,t,n,1)}function I(e,t,n){var r=D(e,t);k(e,r,n)}function T(e){var t=[];for(var n of e)n.styleId===o("WebBloksConstants").BK_INTERNAL_MERGE?t.push.apply(t,n.getChildren_DEPRECATED()):t.push(n);return t}function D(e,t){var n=[];for(var r of t)e.enqueueResourcesUpdateOperation(r),n.push(r.unboundModel);return n}function x(e,t,n){var r,a=e.getChildren_DEPRECATED(),i=a.findIndex(function(e){return e.getId()===t});if(i>=0)return[a,i];var l=(r=n[e.styleId])==null?void 0:r.plural_subnodes;if(l)for(var s of l){var u=e.getChildren_DEPRECATED(s).findIndex(function(e){return e.getId()===t});if(u>=0)return[e.getChildren_DEPRECATED(s),u]}return[o("WebBloksUtils").cast(o("WebBloksUtils").EMPTY_ARRAY),-1]}l.removeModelById=e,l.removeChildren=s,l.replaceChildrenAfter=u,l.replaceEmbeddedChildrenAfter=c,l.prependChildren=p,l.replaceChild=_,l.insertChildrenRelativeToId=f,l.getReplaceChildUpdateOperation=g,l.replaceLayoutChildren=h,l.replaceEmbeddedChild=y,l.replaceEmbeddedLayoutChildren=C,l.prependEmbeddedLayoutChildren=v,l.appendEmbeddedLayoutChildren=R,l.insertEmbeddedChildrenBefore=E,l.insertChildrenAfter=k,l.insertEmbeddedChildrenAfter=I}),98);
__d("WebBloksComponentQueryManager",["WebBloksChildrenOperationsHelper","WebBloksMutations","WebBloksParseResult","WebBloksScopedComponentQueryDefinition","WebBloksScopedIds","WebBloksScriptExecutor","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e="query_info_",s=(function(){function t(e,t){this.$3=new Map,this.$4=new Map,this.$5=new Map,this.$1=e,this.$2=t}var n=t.prototype;return n.setup=function(t,n){var e=this,r=[],a=function(t){return o("WebBloksScriptExecutor").execute(n,t,[])},i=[],l=function(i){var t=o("WebBloksUtils").cast(a(i.appIdExpression)),l=i.paramsExpression!=null?o("WebBloksUtils").cast(a(i.paramsExpression)):{},s=i.cacheTTLExpression!=null?o("WebBloksUtils").cast(a(i.cacheTTLExpression)):null;if(s==null)return 1;var u=e.$2.getCachedComponentsOrSubscribeToQuery(t,l,s,function(t,r){e.$6(i,r,n)});u.value==null||r.push([i,u.value])};for(var s of t)l(s);for(var u of r){var c=u[0],d=u[1],m=this.$7(c,d,n,"resolved_sync");for(var p of m)i.push(p)}return i},n.$6=function(t,n,r){var e=this,o=this.$7(t,n,r,"resolved_async");o.forEach(function(t){e.$1.enqueueTreeUpdateOperation(t)})},n.$7=function(t,n,r,o){var e=n.success?o:"failed",a=!1;for(var i of(l=t.dependencies)!=null?l:new Set){var l;if(!this.$4.has(i)){var s=this.$5.get(i);s==null&&(s=new Set,this.$5.set(i,s)),s.add(t.id),a=!0}if(a)return this.$3.set(t.id,{queryDefinition:t,response:n}),[]}this.$4.set(t.id,n),this.$3.delete(t.id);var u=this.$8(t,n,r,e);for(var c of(d=this.$5.get(t.id))!=null?d:new Set){var d,m=this.$3.get(c);m!=null&&(u=u.concat(this.$7(m.queryDefinition,m.response,r,e)),this.$5.delete(t.id))}return u},n.$8=function(t,n,r,a){var e,i=this,l={resolution_type:a,response_summary:{}};if(!n.success)return[{treeModification:null,variableUpdate:{variableIdentifier:this.$9(t.id),value:l}}];var s=this.$10((e=t.targets)!=null?e:new Map,n.result.components),u=t.isScoped?o("WebBloksScopedIds").extendKeyPath():null,c=[],d=function(){var e=m[0],n=m[1],a=i.$11(n,e.serverId,u),s=function(n){var t=r.createBloksModelScopedContext(e.keyPath);return o("WebBloksScriptExecutor").execute(t,n,[])},d=t.clientParamsExpression!=null?o("WebBloksUtils").cast(s(t.clientParamsExpression)):{};for(var p of Object.entries(d)){var _=p[0],f=p[1];c.push({treeModification:null,variableUpdate:{variableIdentifier:i.$12(_,u),value:f}})}c.push({treeModification:a,variableUpdate:{variableIdentifier:i.$12(i.$9(t.id),e.keyPath),value:l}})};for(var m of s.entries())d();return c},n.$11=function(t,n,a){var e=this.$1.bloksContext.objectSet.environment.traversalKeys,i=t.unboundModel.makeDeepCopyWithNewClientIds(a,e),l=t.resources.clone();l.componentQueries=l.componentQueries.map(function(t){return o("WebBloksScopedComponentQueryDefinition").generateTreeScopedComponentQueryDefFromScopedDef(i,t,e)});var s=o("WebBloksChildrenOperationsHelper").getReplaceChildUpdateOperation(this.$1,n,[i]);return{target:new(o("WebBloksMutations")).ChildServerIdTarget(n,e),updateOperation:s,parseResult:new(r("WebBloksParseResult"))(i,l)}},n.$10=function(t,n){var e=new Map;for(var r of t.entries()){var o=r[0],a=r[1],i=n.get(o);i!=null&&e.set(a,i)}return e},n.$12=function(t,n){if(n==null||n.length===0)return t;var e=o("WebBloksScopedIds").buildKeypathBase(n);return o("WebBloksScopedIds").buildScopedVariableIdentifier(t,e)},n.$9=function(n){return""+e+n},t})();l.default=s}),98);
__d("WebBloksTreeManager",["Promise","TreeManagerResourceProcessingDelegate","WebBloksComponentQueryManager","WebBloksDataModule","WebBloksErrors","WebBloksInterpreterEnvironment","WebBloksParseResult","WebBloksScopedIds","WebBloksScriptExecutor","WebBloksTreeResources","WebBloksUpdateTraversal","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e,s=(function(){function t(e){var t;if(this.id=o("WebBloksUtils").getNextGlobalBloksClientId(),this.treeResourcesState=new(o("WebBloksTreeResources")).WebBloksTreeResourcesState,this.committedVariables=new Map,this.$1=0,this.updateOperationList=[],this.updateVariableOperations=new Map,this.updateResourcesOperations=[],this.$2=!1,this.$3=!1,this.$4=!1,this.onNewTreeAndVariablesListener=new(o("WebBloksUtils")).EventEmitter,!e.unboundModel)throw new(o("WebBloksErrors")).WebBloksError("Missing unboundModel");this.unboundModel=e.unboundModel,this.initialTreeResources=e.resources,this.loggingIDForInternalFrameworkUseOnly=e==null?void 0:e.loggingID,(t=window.WebBloksPreHydrationInteractionsRecorder)==null||t.replayIfNeeded()}var a=t.prototype;return a.getBoundTree=function(){var e;return(e=this.bindResult)==null?void 0:e.boundModel},a.getExpandedVariables=function(){var e,t;return(e=(t=this.bindResult)==null?void 0:t.expandedVariables)!=null?e:o("WebBloksUtils").EMPTY_MAP},a.getCommittedTreeResources=function(){return this.treeResourcesState.withUpdatedEntries(null,this.committedVariables)},a.setCommittedBoundTree=function(t){this.bindResult=t,this.committedVariables=t.variables,this.$7()},a.waitForCommittedTree=function(){var t;return(t=this.$5)!=null?t:(e||(e=n("Promise"))).resolve()},a.$7=function(){var e;(e=this.$6)==null||e.call(this),this.$5=void 0,this.$6=void 0},a.initVariablesAndObserver=function(t,n){this.treeResourcesState=this.treeResourcesState.withUpdatedParameters(n),this.bloksContext=t,this.bloksContext.loggingIDForInternalFrameworkUseOnly=this==null?void 0:this.loggingIDForInternalFrameworkUseOnly,this.subscriptions=new Set;var e=this.processResources([new(r("WebBloksParseResult"))(this.unboundModel,this.initialTreeResources)]);if(e[1].length>0){for(var o of e[1])this.updateOperationList.push(o);this.$3=!0}return this.$2=!0,this.$3&&this.flushUpdates(),{unboundModel:this.unboundModel,treeResourcesState:this.treeResourcesState}},a.processAsyncComponents=function(t,n){if(t.length===0)return[];if(this.componentQueryManager==null){var e=this.bloksContext.objectSet.componentQueryStore;this.componentQueryManager=new(r("WebBloksComponentQueryManager"))(this,e)}return this.componentQueryManager.setup(t,n)},a.processResources=function(t){for(var e=this,n=[].concat(t),a=[],i=this.treeResourcesState,l=function(){var t,i,l=n[s],u=l.unboundModel,c=l.resources;e.treeResourcesState=e.treeResourcesState.withPayloadUpdates(c.payloads),e.treeResourcesState=e.treeResourcesState.withFunctionTableUpdates(c.functionTable,c.ftDeclare,c.ftInclude),e.treeResourcesState=e.treeResourcesState.withTemplateUpdates(c.templates),e.treeResourcesState=e.treeResourcesState.withValueUpdates(c.values);var d=null,m=null,p=new(o("TreeManagerResourceProcessingDelegate")).TreeManagerResourceProcessingDelegate({observer:e,onCollectVariable:function(n,r,o,a){var t=r.id,i=m!=null?m:e.treeResourcesState.variableDefinitions;i.has(t)||(m||(m=new Map(e.treeResourcesState.variableDefinitions)),m.set(t,r)),d||(d=new Map(e.treeResourcesState.variables)),d.set(n,o),a!=null&&e.subscriptions.add(a)},containsVariable:function(n){var t=d!=null?d:new Map(e.treeResourcesState.variables);return t.has(n)}}),_=u.keyPath!=null?o("WebBloksScopedIds").buildKeypathBase(u.keyPath):null;for(var f of c.variableDefinitions){var g=f.id,h=f.scoped===!0&&_!=null?o("WebBloksScopedIds").buildScopedVariableIdentifier(g,_):g;if(!p.containsVariable(h)){var y=f.type,C=o("WebBloksDataModule").getDataModuleFromContext(e.bloksContext,y);if(!C)throw new(o("WebBloksErrors")).WebBloksError("Missing variable module with type: "+y);var b=babelHelpers.extends({},f);e.initialTreeResources.shouldCommitPublishStateUpdates()===!1&&b.data.key!=null&&b.data.mode==="p"&&(b=babelHelpers.extends({},b,{data:babelHelpers.extends({},b.data,{mode:"d"})}));var v=function(n){var t,a=r("WebBloksInterpreterEnvironment"),i=new a(e.bloksContext);i.expandedVariablesOverride=(t=e.bindResult)==null?void 0:t.expandedVariables,i.resources=e.treeResourcesState;var l=i.createBloksModelScopedContext(u.keyPath);return o("WebBloksScriptExecutor").execute(l,n,[])},S=C.setup(e.bloksContext,b,v,null);p.collectVariable(h,b,S.initialData,null)}}e.initialTreeResources.setShouldCommitPublishStateUpdates(!1),e.treeResourcesState=e.treeResourcesState.withUpdatedEntries(m,d);var R=d;if(R!=null&&R.size){var L=new Map(e.committedVariables);R.forEach(function(e,t){L.set(t,e)}),e.committedVariables=L}var E=new(r("WebBloksInterpreterEnvironment"))(e.bloksContext);E.expandedVariablesOverride=(t=e.bindResult)==null?void 0:t.expandedVariables,E.scope=(i=u.keyPath)!=null?i:o("WebBloksUtils").EMPTY_KEY_PATH,E.resources=e.treeResourcesState;var k=e.processAsyncComponents(c.componentQueries,E);for(var I of k){var T=I.treeModification,D=I.variableUpdate;if(T!=null&&(T.parseResult!=null&&n.push(T.parseResult),a.push([T.target,T.updateOperation])),D!=null){var x=new Map;x.set(D.variableIdentifier,D.value),e.treeResourcesState=e.treeResourcesState.withVariableUpdates(x)}}},s=0;s<n.length;s++)l();return[!this.treeResourcesState.equalsTo(i),a]},a.synchronouslyAddTreeResources=function(t,n){if(!this.$4){this.initialTreeResources.setShouldCommitPublishStateUpdates(!0);var e=this.processResources([t]);for(var r of e[1])this.updateOperationList.push(r);var a=new Map;if(o("WebBloksUtils").putAll(a,this.treeResourcesState.variables),n!=null&&o("WebBloksUtils").putAll(a,n),a.size>0){this.treeResourcesState=this.treeResourcesState.withVariableUpdates(a);var i=new Map(this.committedVariables);o("WebBloksUtils").putAll(i,a),this.committedVariables=i}}},a.enqueueVariableUpdateOperation=function(t,n){if(!this.$4){if(this.updateVariableOperations.set(t,n),!this.$2){this.$3=!0;return}this.$1===0&&this.$8()}},a.enqueueUpdateOperation=function(t,n){this.updateOperationList.push([t,n])},a.enqueueResourcesUpdateOperation=function(t){this.updateResourcesOperations.push(t),this.$1===0&&this.$8()},a.enqueueUpdateOperationWithResources=function(t){t.parseResult!=null&&this.enqueueResourcesUpdateOperation(t.parseResult),this.enqueueUpdateOperation(t.target,t.updateOperation)},a.enqueueTreeUpdateOperation=function(t){t.variableUpdate!=null&&this.enqueueVariableUpdateOperation(t.variableUpdate.variableIdentifier,t.variableUpdate.value),t.treeModification!=null&&this.enqueueUpdateOperationWithResources(t.treeModification)},a.beginUpdates=function(){var t=this;this.$1++,this.$5||(this.$5=new(e||(e=n("Promise")))(function(e){t.$6=e}))},a.endUpdates=function(){this.$1===1&&this.flushUpdates(),this.$1--},a.flushUpdates=function(){if(!this.$4){var e=!1;if(this.updateVariableOperations.size&&(this.treeResourcesState=this.treeResourcesState.withVariableUpdates(this.updateVariableOperations),e=!0,this.updateVariableOperations=new Map),this.updateResourcesOperations.length){var t=this.processResources(this.updateResourcesOperations);e=e||t[0];for(var n of t[1])this.updateOperationList.push(n);this.updateResourcesOperations=[]}var r=this.snapshotPendingComponent();e=e||this.unboundModel!==r,this.unboundModel=r,this.updateOperationList=[],this.pendingUnboundTree=null,e?(this.$4&&this.bloksContext.objectSet.environment.logger.warn("Received model updates for a TreeManager that was already destroyed"),this.onNewTreeAndVariablesListener.emit({unboundModel:this.unboundModel,treeResourcesState:this.treeResourcesState})):this.$7()}},a.$8=function(){var t=this;this.beginUpdates(),(e||(e=n("Promise"))).resolve().then(function(){t.endUpdates()}).catch(function(e){t.bloksContext.objectSet.environment.logger.mustfix("Unexpected error when flushing updates",e)})},a.snapshotPendingComponent=function(){var e,t=(e=this.pendingUnboundTree)!=null?e:this.unboundModel,n=new Set(this.updateOperationList.splice(0));return n.size===0?t:o("WebBloksUpdateTraversal").runUpdateTraversal(t,{apply:function(t){var e,r=t,o;for(var a of n){var i=a[0],l=a[1],s=l.shouldUpdate,u=l.update;i.targets(r)&&(o?o.push(a):o=[a],(!s||s(r))&&(r===t&&(r=t.makeCopy()),u(r)))}return(e=o)==null||e.forEach(function(e){n.delete(e)}),r},onUpdatesApplied:function(){}},this.bloksContext.objectSet.environment.traversalKeys)},a.destroy=function(){this.$4=!0,this.onNewTreeAndVariablesListener.clear(),this.subscriptions.forEach(function(e){return e()}),this.subscriptions.clear()},t})();l.default=s}),98);
__d("WebBloksScreen",["WebBloksComponentContext","WebBloksConstants","WebBloksContainerConfig","WebBloksContext","WebBloksErrors","WebBloksInterpreterEnvironment","WebBloksModel","WebBloksModelParser","WebBloksParseResult","WebBloksPayloadParser","WebBloksScopedComponentQueryDefinition","WebBloksScopedIds","WebBloksScriptDebuggingUtils","WebBloksScriptExecutor","WebBloksScriptString","WebBloksTreeManager","WebBloksURLUtils","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=0,c={isModal:!1,addToBackStack:!0,isEmbedded:!1},d="[wbloks] Missing AppLoader",m="WEBBLOKS_INFRA_SCREEN_";function p(e,t,n,a){var i=o("WebBloksUtils").nullthrows(e.treeManager),l=new(r("WebBloksInterpreterEnvironment"))(i.bloksContext),s=new Map;for(var u of n)try{var c=o("WebBloksUtils").cast(o("WebBloksScriptExecutor").execute(l,o("WebBloksScriptString").castWebBloksScriptStringFromString(u.expression),[]));if(c!=null)for(var d of Object.entries(c)){var m=d[0],p=d[1],_=u.is_scoped?o("WebBloksScopedIds").buildScopedVariableIdentifier(m,a):m;i.treeResourcesState.variables.has(_)||s.set(_,p)}}catch(e){t.environment.logger.warn("SSR client_params expression evaluation failed: %s",String(e))}s.size>0&&(i.treeResourcesState=i.treeResourcesState.withVariableUpdates(s))}var _=(function(){function e(e,t,n,r,a){var i;n===void 0&&(n=o("WebBloksUtils").EMPTY_OBJECT),this.value={state:"loading"},this.stateChangeListener=new(o("WebBloksUtils")).EventEmitter,this.dismissed=!1,this.savedScrollY=0,this.objectSet=e,this.options=t,this.params=n,r!=null&&(this.uri=o("WebBloksURLUtils").removeQueryParams(r,["_rdr","wtsid"])),this.appId=a,t.screenId!=null?this.screenId=t.screenId:this.screenId=m+(++u).toString(),this.container=t.initialContainer,this.controllerName=(i=e.environment.controllerNavigationLogger)==null?void 0:i.getCurrentController()}var t=e.prototype;return t.getTreeManager=function(){return o("WebBloksUtils").nullthrows(this.treeManager)},t.getIsOverlay=function(){var e;return(e=this.container)==null||(e=e.config)==null?void 0:e.getIsOverlay()},t.setState=function(t){if(this.value=t,t.state==="ready"){var e=this.treeManager=new(r("WebBloksTreeManager"))(t.parseResult),n=new(o("WebBloksContext")).WebBloksContext(e,this.objectSet);if(e.initVariablesAndObserver(n,this.params),t.parseResult.unboundModel.styleId===o("WebBloksConstants").BK_INTERNAL_ACTION){var a=t.parseResult.unboundModel.getExpression("handler");if(a!=null){var i=new(o("WebBloksComponentContext")).WebBloksComponentContext(n);i.executeCatch(t.parseResult.unboundModel,a,[])}}}this.options.isEmbedded!==!0&&this.objectSet.navigationManager.notifyChanged(),this.stateChangeListener.emit(t)},t.setContainerConfigModel=function(t,n){var e,r,a,i=o("WebBloksContainerConfig").getContainerConfig(t,n);this.container==null?this.container={model:n,config:i}:(this.container.model=n,this.container.config=this.container.config.mergeWith(i)),(e=this.onContainerUpdate)==null||e.call(this,(r=this.container)==null?void 0:r.model,(a=this.container)==null?void 0:a.config)},t.setOnContainerUpdate=function(t){this.onContainerUpdate=t},t.setDismissCallback=function(t){this.$1=t},t.clearDismissCallback=function(){this.$1=null},t.dismiss=function(){var e=this;if(!this.dismissed){this.dismissed=!0;var t=this.$1;if(t!=null){var n=o("WebBloksUtils").nullthrows(this.options.ownerContext);n.treeManager.waitForCommittedTree().then(function(){n.execute(t.getValue(),[n])}).catch(function(r){o("WebBloksScriptDebuggingUtils").logScriptError(e.objectSet,r,t.getValue(),n)})}}},t.setOnExitCallback=function(t){this.$2=t},t.onExit=function(t){var e=this.$2;if(e!=null){var n=this.getTreeManager().bloksContext,o=new(r("WebBloksInterpreterEnvironment"))(n);o.executeOnNextTick(e,[n,t])}},t.destroy=function(){var e;(e=this.treeManager)==null||e.destroy(),this.setState({state:"destroyed"})},e.fromBloksAppResponse=function(n,r,a,i,l){a===void 0&&(a=c);var t=o("WebBloksPayloadParser").parseTree(r,n.environment.traversalKeys);return e.fromBloksParseResult(n,t,a,i,l)},e.fromBloksParseResult=function(n,r,o,a,i){o===void 0&&(o=c);var t=new e(n,o,a,i);return t.setState({state:"ready",parseResult:r}),t},e.fromScreenQuerySSRPayload=function(n,a,i,l,s,u){var t=n.environment.traversalKeys,c=o("WebBloksPayloadParser").parseTree(a,t),d=o("WebBloksScopedIds").extendKeyPath(),m=c.unboundModel.makeDeepCopyWithNewClientIds(d,t),_=c.resources;c.resources.componentQueries.length>0&&(_=c.resources.clone(),_.componentQueries=_.componentQueries.map(function(e){return o("WebBloksScopedComponentQueryDefinition").generateTreeScopedComponentQueryDefFromScopedDef(m,e,t)}));var f=new(r("WebBloksParseResult"))(m,_),g;if(i!=null){var h=o("WebBloksModelParser").parseBloksModelFromJSON(o("WebBloksUtils").cast(i),t,null);if(o("WebBloksModel").isWebBloksModel(h)){var y=n.getContainerConfigModuleForName(h.styleId);g={initialContainer:{model:h,config:y.ContainerConfig.fromBloksModel(h)}}}}var C=e.fromBloksParseResult(n,f,g,l,s);return u!=null&&u.length>0&&C.treeManager!=null&&p(C,n,u,o("WebBloksScopedIds").buildKeypathBase(d)),C},e.fromBloksModel=function(n,a,i,l,s){l===void 0&&(l=c);var t=new e(n,babelHelpers.extends({initialTreeResources:i},l),s);return t.setState({state:"ready",parseResult:new(r("WebBloksParseResult"))(a,o("WebBloksUtils").nullthrows(i))}),t},e.fromURI=function(n,r,a,i,l){l===void 0&&(l=c);var t=new e(n,l,i,r,a);if(a!=null){var s;(s=n.environment.navigationTrackingUtils)==null||s.startNavigationCallback(a)}return f(n,t,o("WebBloksUtils").nullthrows(n.environment.appLoader,d).fetchAppByUrl(r)),t},e.fromAppId=function(n,r,a,i,l){i===void 0&&(i=c),l===void 0&&(l=null);var t=new e(n,i,a,l,r);if(r!=null){var s;(s=n.environment.navigationTrackingUtils)==null||s.startNavigationCallback(r)}return f(n,t,o("WebBloksUtils").nullthrows(n.environment.appLoader,d).fetchApp(r,a)),t},e.getExternalVariablesFromBloksScript=function(t,n){if(n==null)return null;var e=t.executeCatch(n,[]);return new Map(Object.entries(o("WebBloksUtils").cast(e)))},e})();function f(e,t,n){n.then(function(n){if(t.value.state!=="destroyed"){var r=babelHelpers.extends({},n);if(r.action!=null){var a;r.tree=(a={},a[o("WebBloksConstants").BK_INTERNAL_ACTION]={handler:r.action},a)}var i=r.server_data;if(i!=null&&(i.url_relative_path!=null&&e.navigationManager.replaceState(i.url_relative_path),i.page_title!=null&&e.navigationManager.replacePageTitle(i.page_title),i.controller_name!=null)){var l;t.controllerName=i.controller_name,(l=e.environment.controllerNavigationLogger)==null||l.setCurrentController(i.controller_name)}var s=o("WebBloksPayloadParser").parseTree({layout:{bloks_payload:r}},e.environment.traversalKeys);t.setState({state:"ready",parseResult:s})}}).catch(function(n){if(n instanceof o("WebBloksErrors").WebBloksNetworkError){var r;e.environment.logger.warn("Network error: "+String((r=t.uri)!=null?r:t.appId)+": ",n)}else{var a;e.environment.logger.mustfix("Failed to fetch app "+String((a=t.uri)!=null?a:t.appId)+": ",n)}t.setState({state:"error",error:n})})}l.WebBloksScreen=_}),98);
__d("webBloksPerformanceUtils",[],(function(t,n,r,o,a,i){function e(e,t){var n,r=(n=window)==null?void 0:n.performance;r==null||r.mark==null||r.mark(String(e),t)}i.addWebBloksPerformanceMark=e}),66);
__d("WebBloksCDSOpenCdsBottomSheet",["WebBloksScreen","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){var a=t.get("app_id"),i=t.get("navbar_data"),l=t.get("loading_screen"),s=t.get("ttrc_marker_id"),u={initialTreeResources:e.bloksContext.treeManager.initialTreeResources,loadingNavbar:i,loadingScreen:l};o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:a,markerId:s}});var c=o("WebBloksScreen").WebBloksScreen.fromAppId(e.objectSet,a,r,u);e.objectSet.navigationManager.open(c)}l.default=e}),98);
__d("WebBloksCDSOpenScreen",["WebBloksCDSBottomSheetContainer.react","WebBloksCDSScreenModeContext.react","WebBloksScreen","react","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e,t,n,a,i){var l=t.get("app_id"),u=t.get("navbar_data"),c=t.get("loading_screen"),d=t.get("url_relative_path"),m=t.get("ttrc_marker_id"),p=n.get("mode"),_=["half_sheet","flexible_sheet","auto_sheet"].includes(p),f;_&&(f=function(t){return s.jsx(r("WebBloksCDSScreenModeContext.react").Provider,{value:p,children:s.jsx(r("WebBloksCDSBottomSheetContainer.react"),{context:i,children:t})})});var g={initialTreeResources:e.bloksContext.treeManager.initialTreeResources,isModal:_,loadingNavbar:u,loadingScreen:c,outerScreenComponent:f,ownerContext:e,externalVariables:o("WebBloksScreen").WebBloksScreen.getExternalVariablesFromBloksScript(e,n.get("props"))};o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:l,markerId:m}});var h=o("WebBloksScreen").WebBloksScreen.fromAppId(e.objectSet,l,a,g,d),y=n.getExpression("on_dismiss");y!=null&&h.setDismissCallback(y),e.objectSet.navigationManager.open(h)}l.default=u}),98);
__d("WebBloksCDSPopScreen",[],(function(t,n,r,o,a,i){function e(e,t,n){e.objectSet.navigationManager.pop()}i.default=e}),66);
__d("WebBloksCDSPushScreen",["WebBloksScreen","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){var i=t.get("app_id"),l=t.get("navbar_data"),s=t.get("loading_screen"),u=t.get("url_relative_path"),c=t.get("ttrc_marker_id"),d={initialTreeResources:e.bloksContext.treeManager.initialTreeResources,loadingNavbar:l,loadingScreen:s,externalVariables:o("WebBloksScreen").WebBloksScreen.getExternalVariablesFromBloksScript(e,n.get("props"))};o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:i,markerId:c}});var m=o("WebBloksScreen").WebBloksScreen.fromAppId(e.objectSet,i,r,d,u);e.objectSet.navigationManager.push(m)}l.default=e}),98);
__d("CdsWebBloksActions",["WebBloksCDSCloseScreen","WebBloksCDSDismissCdsBottomSheet","WebBloksCDSOpenCdsBottomSheet","WebBloksCDSOpenScreen","WebBloksCDSPopScreen","WebBloksCDSPushScreen"],(function(t,n,r,o,a,i,l){var e={"bk.action.cds.CloseScreen":r("WebBloksCDSCloseScreen"),"bk.action.cds.DismissCdsBottomSheet":r("WebBloksCDSDismissCdsBottomSheet"),"bk.action.cds.OpenCdsBottomSheet":r("WebBloksCDSOpenCdsBottomSheet"),"bk.action.cds.OpenScreen":r("WebBloksCDSOpenScreen"),"bk.action.cds.PopScreen":r("WebBloksCDSPopScreen"),"bk.action.cds.PushScreen":r("WebBloksCDSPushScreen")};l.ACTIONS=e}),98);
__d("cdsTraversalKeys",[],(function(t,n,r,o,a,i){var e={"bk.components.cds.Glimmer":{subnodes:["_style","color","light_opacity","dark_opacity"],plural_subnodes:["extensions","child_templates"]},"bk.components.cds.internal.Popup":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.data.cds.ModalContainerConfig":{subnodes:["navbar","safe_area_padding","dimmed_background_color","background_overlay_color","screen_container_padding_config","bottom_sheet_margins","background"],plural_subnodes:["child_templates"]},"bk.data.screen.navbar.Cds":{subnodes:["content_component"],plural_subnodes:["child_templates"]},"bk.AnyComponent":{subnodes:["style"],plural_subnodes:["extensions","child_templates"]}},l=e;i.default=l}),66);
__d("CDSWebBloksEnvironmentConfigDynamic",["CDSWebBloksContainerConfigs","CdsWebBloksActions","cdsTraversalKeys"],(function(t,n,r,o,a,i,l){var e={actions:o("CdsWebBloksActions").ACTIONS,containerConfigs:o("CDSWebBloksContainerConfigs").CONTAINER_CONFIGS,traversalKeys:r("cdsTraversalKeys")};l.CDS_ENVIRONMENT_CONFIG=e}),98);
__d("CDSWebBloksOptimisticFonts",["cx"],(function(t,n,r,o,a,i,l,s){"use strict";"_9ry3";"_adzf";"_aryj";var e={"Optimistic Display App":{webFontName:"Optimistic Display Bold"},"Optimistic Display App Medium":{webFontName:"Optimistic Display Medium"},"Optimistic Text App":{webFontName:"Optimistic Text Normal"},"Optimistic Text App Regular":{webFontName:"Optimistic Text Normal"},"Optimistic Text App Medium":{webFontName:"Optimistic Text Medium"},"Optimistic Text App Bold":{webFontName:"Optimistic Text Bold"},"Optimistic VF App Lite":{webFontName:'"Optimistic 95"'}};l.OPTIMISTIC_WEB_FONT_MAPPINGS=e}),98);
__d("WebBloksCDSGlimmer",["WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useMemo,c=200;function d(e){var t,n,r,a,i,l=e.node,d=o("WebBloksTheme").useTheme().getTheme(),p=l.get("index"),_=l.get("color"),f=_!=null?o("WebBloksUtils").getRGBColorWithTheme(_,d):void 0,g=(t=l.get("shape"))!=null?t:"rectangle",h=g==="circle"?"50%":o("WebBloksUtils").toPx(l.get("corner_radius")),y=l.get("dark_opacity"),C=(n=y==null?void 0:y.get("min"))!=null?n:.05,b=(r=y==null?void 0:y.get("max"))!=null?r:.15,v=l.get("light_opacity"),S=(a=v==null?void 0:v.get("min"))!=null?a:.3,R=(i=v==null?void 0:v.get("max"))!=null?i:.5,L=u(function(){return{darkFade:o("WebBloksStyle").keyframes({"0%":{opacity:C},"100%":{opacity:b}}),lightFade:o("WebBloksStyle").keyframes({"0%":{opacity:S},"100%":{opacity:R}})}},[b,R,C,S]),E=L.darkFade,k=L.lightFade,I=d===o("WebBloksTheme").THEME.light?k:E,T=d===o("WebBloksTheme").THEME.light?S:C;return s.jsx("div",{"data-bloks-name":l.styleId,className:m.root,style:{animationDelay:p%10*c+"ms",animationName:I,backgroundColor:f,borderRadius:h,opacity:T}})}d.displayName=d.name+" [from "+i.id+"]";var m=o("WebBloksStyle").createStyles({root:{animationDirection:"alternate",animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(0.5, 0.0, 0.5, 1.0)",height:"100%",width:"100%",pointerEvents:"initial"}});l.default=d}),98);
__d("WebBloksCDSNavbar",["WebBloksComponentContext"],(function(t,n,r,o,a,i,l){function e(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),r=n.renderNode,a=t.get("content_component");return r(a)}l.default=e}),98);
__d("WebBloksPortal",["ReactDOM","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.children,n=e.target,r=n===void 0?document.body:n;if(r!=null)return o("ReactDOM").createPortal(t,r)}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksCDSPopup",["WebBloksComponentContext","WebBloksLegacyTraverser","WebBloksPortal","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useLayoutEffect,d=u.useRef;function m(e){var t=e.node,n=t.get("x_offset"),a=t.get("y_offset"),i=t.getSubNodes("children"),l=t.get("anchor_view_id"),u=o("WebBloksComponentContext").useWebBloksContext(),m=u.objectSet,_=u.renderChildren,f=u.treeManager,g=d(),h=o("WebBloksLegacyTraverser").findComponentByServerId(f,l,m.environment.traversalKeys),y=m.environment.isRtl;return c(function(){var e;if(h!=null){var t=(e=h.uiMutableContainer.domNode)==null?void 0:e.current,r=g.current;if(!(t==null||r==null)){var o=t.getBoundingClientRect(),i=o.bottom+(a!=null?a:0);r.style.width=o.width+"px",r.style.top=i+"px",y?r.style.right=o.right+(n!=null?n:0)+"px":r.style.left=o.left+(n!=null?n:0)+"px";var l=i-r.getBoundingClientRect().top;l>0&&(r.style.top=i+l+"px")}}},[h,n,a]),s.jsx(r("WebBloksPortal"),{children:s.jsx("div",{ref:g,className:p.root,children:_(i)})})}m.displayName=m.name+" [from "+i.id+"]";var p=o("WebBloksStyle").createStyles({root:{position:"fixed"}});l.default=m}),98);
__d("CdsWebBloksComponents",["WebBloksCDSGlimmer","WebBloksCDSNavbar","WebBloksCDSPopup"],(function(t,n,r,o,a,i,l){var e={"bk.components.cds.Glimmer":r("WebBloksCDSGlimmer"),"bk.components.cds.internal.Popup":r("WebBloksCDSPopup"),"bk.data.screen.navbar.Cds":r("WebBloksCDSNavbar")};l.COMPONENTS=e}),98);
__d("WebBloksAccessibilityAnnouncement",[],(function(t,n,r,o,a,i){function e(e,t){var n,r=document.createElement("div");r.setAttribute("aria-live","polite"),r.style.position="absolute",r.style.top="-10000px",r.style.left="-10000px",r.style.width="500px",r.textContent=t,(n=document.body)==null||n.appendChild(r),window.setTimeout(function(){var e;(e=document.body)==null||e.removeChild(r)},100)}i.default=e}),66);
__d("WebBloksAccessibilitySetFocus",[],(function(t,n,r,o,a,i){function e(e,t){var n,r=(n=t.uiMutableContainer)==null||(n=n.domNode)==null?void 0:n.current,o=r==null?void 0:r.getAttribute("tabindex");o==null&&(r==null||r.setAttribute("tabindex","-1")),r==null||r.focus()}i.default=e}),66);
__d("WebBloksAddChild",["WebBloksMutations"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksMutations").addChildToContainer(e.treeManager,t,n,r)}l.default=e}),98);
__d("WebBloksAppendEmbeddedChildren",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksChildrenOperationsHelper").appendEmbeddedLayoutChildren(e.treeManager,t,n)}l.default=e}),98);
__d("WebBloksApply",[],(function(t,n,r,o,a,i){function e(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.apply(void 0,[e].concat(r))}i.default=e}),66);
__d("WebBloksArrayAppend",[],(function(t,n,r,o,a,i){function e(e,t,n){return[].concat(t,[n])}i.default=e}),66);
__d("WebBloksArrayClone",[],(function(t,n,r,o,a,i){function e(e,t){return[].concat(t)}i.default=e}),66);
__d("WebBloksArrayConcat",[],(function(t,n,r,o,a,i){function e(e,t,n){return t.concat(n)}i.default=e}),66);
__d("WebBloksArrayFilter",["WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){for(var r=[],a=0;a<t.length;a++){var i=n(e,t[a]);o("WebBloksBooleanUtils").isTrue(i)&&r.push(t[a])}return r}l.default=e}),98);
__d("WebBloksArrayGet",[],(function(t,n,r,o,a,i){function e(e,t,n){return t[n]}i.default=e}),66);
__d("WebBloksArrayLength",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t){if(Array.isArray(t)||typeof t=="string")return t.length;if(t!=null&&typeof t=="object")return Object.keys(t).length;throw new(o("WebBloksErrors")).WebBloksScriptError("bk.action.array.Length expects an array, string or map",e)}l.default=e}),98);
__d("WebBloksArrayMake",[],(function(t,n,r,o,a,i){function e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n}i.default=e}),66);
__d("WebBloksArrayMap",[],(function(t,n,r,o,a,i){function e(e,t,n){for(var r=[],o=0;o<t.length;o++){var a=t[o],i=n(e,o,a);r.push(i)}return r}i.default=e}),66);
__d("WebBloksArrayPut",[],(function(t,n,r,o,a,i){function e(e,t,n,r){n===t.length?t.push(r):t[n]=r}i.default=e}),66);
__d("WebBloksArrayPutAndGet",["WebBloksArrayPut"],(function(t,n,r,o,a,i,l){function e(e,t,n,o){return r("WebBloksArrayPut")(e,t,n,o),t}l.default=e}),98);
__d("WebBloksArrayReduce",[],(function(t,n,r,o,a,i){function e(e,t,n,r){return t==null?r:t.reduce(function(t,r,o){return n(e,t,r,o)},r)}i.default=e}),66);
__d("WebBloksArrayRemove",[],(function(t,n,r,o,a,i){function e(e,t,n){t.splice(n,1)}i.default=e}),66);
__d("WebBloksArrayRemoveAndGet",["WebBloksArrayRemove"],(function(t,n,r,o,a,i,l){function e(e,t,n){return r("WebBloksArrayRemove")(e,t,n),t}l.default=e}),98);
__d("WebBloksArraySlice",[],(function(t,n,r,o,a,i){function e(e,t,n,r){return typeof r=="number"?t.slice(n,n+r):t.slice(n)}i.default=e}),66);
__d("WebBloksArraySortedArray",[],(function(t,n,r,o,a,i){function e(e,t,n){var r=Array.from(t);return r.sort(function(t,r){var o=n(e,t,r);return o}),r}i.default=e}),66);
__d("WebBloksArrayUpdate",[],(function(t,n,r,o,a,i){function e(e,t,n,r){for(var o=0;o<n.length;o++){var a=n[o];t[a]=r[o]}}i.default=e}),66);
__d("WebBloksAsyncAction",["WebBloksAsyncActions","WebBloksScriptDebuggingUtils","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a,i){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-start",{detail:{appId:t}}),o("WebBloksAsyncActions").executeAsyncAction(e,t,n).then(function(){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-success"),e.executeCatch(r,[])}).catch(function(t){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-error"),o("WebBloksScriptDebuggingUtils").logScriptError(e.objectSet,t,null,e),e.executeCatch(a,[])})}l.default=e}),98);
__d("WebBloksAsyncActionWithDataManifest",["WebBloksAsyncActions","WebBloksScriptDebuggingUtils","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a,i){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-start",{detail:{appId:t}}),o("WebBloksAsyncActions").executeAsyncAction(e,t,n).then(function(t){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-success"),e.execute(r,[t,e.bloksContext])}).catch(function(t){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-error"),o("WebBloksScriptDebuggingUtils").logScriptError(e.objectSet,t,null,e),e.execute(a,[e.bloksContext])}).catch(function(t){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-error"),e.objectSet.environment.logger.mustfix("AsyncAction: failed to run error handler",t)})}l.default=e}),98);
__d("WebBloksAsyncActionWithDataManifestV2",["WebBloksAsyncActions","WebBloksScreen","WebBloksScriptDebuggingUtils","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-start",{detail:{appId:t}});var a=r==null?void 0:r.get("on_success_with_result"),i=r==null?void 0:r.get("on_failure"),l=r==null?void 0:r.get("props"),s;l!=null&&(s=o("WebBloksScreen").WebBloksScreen.getExternalVariablesFromBloksScript(e,l)),o("WebBloksAsyncActions").executeAsyncAction(e,t,n,s).then(function(t){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-success"),a!=null&&e.execute(a,[t,e.bloksContext])}).catch(function(t){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-error"),o("WebBloksScriptDebuggingUtils").logScriptError(e.objectSet,t,null,e),i!=null&&e.execute(i,[e.bloksContext])}).catch(function(t){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-async-action-error"),e.objectSet.environment.logger.mustfix("AsyncAction: failed to run error handler",t)})}l.default=e}),98);
__d("WebBloksAsyncLoadV2",["WebBloksPayloadParser","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){var i=o("WebBloksUtils").nullthrows(e.objectSet.environment.appLoader);i.fetchApp(t,n).then(function(t){var n=o("WebBloksPayloadParser").parseTree({layout:{bloks_payload:t}},e.objectSet.environment.traversalKeys);e.treeManager.processResources([n]),e.execute(r,[n.unboundModel])}).catch(function(t){a(e,t)})}l.default=e}),98);
__d("WebBloksBindWithArrayV2",[],(function(t,n,r,o,a,i){function e(e,t,n){return function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return t.apply(void 0,[e].concat(n,o))}}i.default=e}),66);
__d("WebBloksBoolAnd",["WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){return o("WebBloksBooleanUtils").isTrue(t)&&o("WebBloksBooleanUtils").isTrue(n)?1:0}l.default=e}),98);
__d("WebBloksBoolConst",["WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){function e(e,t){return o("WebBloksBooleanUtils").isTrue(t)}l.default=e}),98);
__d("WebBloksBoolNot",[],(function(t,n,r,o,a,i){function e(e,t){return!t}i.default=e}),66);
__d("WebBloksBoolOr",[],(function(t,n,r,o,a,i){function e(e,t,n){return t||n?1:0}i.default=e}),66);
__d("WebBloksCallbackApply",[],(function(t,n,r,o,a,i){function e(e,t){if(t==null)return null;for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.invoke.apply(t,[e].concat(r))}i.default=e}),66);
__d("WebBloksCallback",["WebBloksErrors"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t,n,r){this.$1=e,this.$2=t,this.$4=n,this.$3=r}var t=e.prototype;return t.invoke=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(this.$3!=null)return this.$3.apply(this,n);var a=this.$2;if(a!=null){if(this.$1!=null)return a.apply(void 0,[this.$1].concat(n));if(this.$4!=null&&t!=null){var i=t.createBloksModelScopedContext(this.$4);return a.apply(void 0,[i].concat(n))}}throw new(o("WebBloksErrors")).WebBloksError("WebBloksCallback: An attempt to invoke an invalid callback.")},e})();l.WebBloksCallback=e}),98);
__d("WebBloksCallbackMake",["WebBloksCallback"],(function(t,n,r,o,a,i,l){function e(e,t){return new(o("WebBloksCallback")).WebBloksCallback(e,t)}l.default=e}),98);
__d("WebBloksCallbackMakeWithScopeOnly",["WebBloksCallback"],(function(t,n,r,o,a,i,l){function e(e,t){return new(o("WebBloksCallback")).WebBloksCallback(null,t,e.scope)}l.default=e}),98);
__d("WebBloksChildAtIndex",[],(function(t,n,r,o,a,i){function e(e,t,n){return t.getChildren_DEPRECATED()[n]}i.default=e}),66);
__d("WebBloksConstNumber",[],(function(t,n,r,o,a,i){function e(e,t){return Number(t)}i.default=e}),66);
__d("WebBloksContextGet",[],(function(t,n,r,o,a,i){function e(e){return e.bloksContext}i.default=e}),66);
__d("WebBloksCurrentTimeMillis",[],(function(t,n,r,o,a,i){function e(e){return Date.now()}i.default=e}),66);
__d("WebBloksDangerouslyGetTreeFromParseResult",[],(function(t,n,r,o,a,i){function e(e,t){return t.unboundModel}i.default=e}),66);
__d("WebBloksDelay",[],(function(t,n,r,o,a,i){function e(e,t,n){window.setTimeout(function(){e.executeCatch(n,[e])},t)}i.default=e}),66);
__d("WebBloksDeviceLog",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){var r=n==null?void 0:n.get("tag"),o=r!==void 0?"["+r+"] "+t:t;switch(n==null?void 0:n.get("priority")){case"debug":break;case"error":break;case"info":break;case"warn":break;case"verbose":default:}}i.default=e}),66);
__d("WebBloksDismissBottomSheet",[],(function(t,n,r,o,a,i){function e(e,t){return e.objectSet.navigationManager.popAllModals(),e.executeCatch(t,[])}i.default=e}),66);
__d("WebBloksDismissToast",[],(function(t,n,r,o,a,i){function e(e,t,n,r){e.objectSet.toastManager.dismissToastWithID(t,n)}i.default=e}),66);
__d("WebBloksFindComponentContext",["WebBloksLegacyTraverser","WebBloksMutations"],(function(t,n,r,o,a,i,l){function e(e,t){var n=e.objectSet,r=e.treeManager,a=r.getBoundTree();if(a){var i=o("WebBloksLegacyTraverser").findComponent(a,new(o("WebBloksMutations")).ServerIdTarget(""+t),n.environment.traversalKeys);if(i)return i}return null}l.default=e}),98);
__d("WebBloksGetAttr",[],(function(t,n,r,o,a,i){function e(e,t,n){return t.get(n)}i.default=e}),66);
__d("WebBloksGetClientTimezone",[],(function(t,n,r,o,a,i){function e(e){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return null}}i.default=e}),66);
__d("WebBloksI18nUtils",[],(function(t,n,r,o,a,i){"use strict";var e=["fb-AR","fb-RL"],l=["ar","he","ur","fa","sy","yi","ps","cb"];function s(e){var t,n,r=e.split(/[_-]/),o=((t=r[0])!=null?t:"").toLowerCase(),a=((n=r[1])!=null?n:"").toUpperCase();return{language:o,country:a}}function u(e){var t=s(e);return t.country!==""?t.language+"-"+t.country:t.language}function c(t){var n;Array.isArray(t)?n=t[0]:n=t;var r=s(n);return l.includes(r.language)||e.includes(r.language+"-"+r.country)}i.parseLocale=s,i.toBrowserLocaleFormat=u,i.isLocaleRtl=c}),66);
__d("WebBloksDateUtils",["WebBloksI18nUtils"],(function(t,n,r,o,a,i,l){var e={short:{year:"2-digit",month:"numeric",day:"numeric"},medium:{year:"numeric",month:"short",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{weekday:"long",year:"numeric",month:"long",day:"numeric"}},s={short:{hour:"numeric",minute:"2-digit"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"long"}};function u(t,n,r){return t==="date"?babelHelpers.extends({},e[n]):t==="time"?babelHelpers.extends({},s[r!=null?r:n]):babelHelpers.extends({},e[n],s[r!=null?r:n])}function c(e,t,n,r,a,i){var l=e*1e3;if(!Number.isFinite(l))return null;var s;return Array.isArray(t)?s=[].concat(t):s=o("WebBloksI18nUtils").toBrowserLocaleFormat(t),new Intl.DateTimeFormat(s,babelHelpers.extends({},u(n,r,a),{timezone:i})).format(e*1e3)}l.getDateTimeText=c}),98);
__d("WebBloksGetDatetimeText",["WebBloksDateUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a,i,l){var c=u(r,"medium"),d=u(a,"long"),m=s(n,"datetime");return o("WebBloksDateUtils").getDateTimeText(t,e.bloksContext.objectSet.environment.locale,m,c,d,l)}function s(e,t){return e!=="date"&&e!=="datetime"&&e!=="time"?t:e}function u(e,t){return e!=="short"&&e!=="medium"&&e!=="long"&&e!=="full"?t:e}l.default=e}),98);
__d("WebBloksGetDeserializedEmbeddedPayload",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t){var n,r=(n=e.getResources())==null||(n=n.payloads.get(t))==null?void 0:n.payload;if(r==null)throw new(o("WebBloksErrors")).WebBloksError("Could not find embedded payload for ID: "+t);return r}l.default=e}),98);
__d("WebBloksGetHeightV2",[],(function(t,n,r,o,a,i){function e(e,t,n){var r,o,a=(r=t.uiMutableContainer.domNode)==null?void 0:r.current;return(o=a==null?void 0:a.clientHeight)!=null?o:0}i.default=e}),66);
__d("WebBloksGetParameter",[],(function(t,n,r,o,a,i){function e(e,t){return e.readParameter(t)}i.default=e}),66);
__d("WebBloksInflate",["WebBloksDataModule","WebBloksModelParser","WebBloksParseResult","WebBloksScopedIds","WebBloksSourceMapNode","WebBloksSourceMapPayloadMetadata","WebBloksSourceMapRootNode","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a,i,l){var s,u,c,d=e.referenced,m=e.referenced_embedded_payloads,p=e.referenced_external,_=e.referenced_ft_entries,f=[],g=[],h=null;if(d)for(var y of d)f.push(t.readManifestEntry(y));if(p)for(var C of p)f.push(o("WebBloksDataModule").dangerouslyCreateLocalStateDataManifestEntry_DO_NOT_USE(C,t.readVariable(C)));if(l!=null)for(var b of Object.entries(l)){var v=b[0],S=b[1],R=o("WebBloksScopedIds").getScopedVariableIdAtDepth(t.scope,v,t.scope.length),L=o("WebBloksDataModule").dangerouslyCreateLocalStateDataManifestEntry_DO_NOT_USE(R,S);f.push(L)}if(m)for(var E of m)g.push(t.readPayload(E));if(_){var k={};for(var I of _){var T=t.requireResources().functionTable.get(I);T!=null?k[I]=T:t.objectSet.environment.logger.warn("Referenced FT entry not found in parent context during inflate: %s",I)}h=k}var D=t.objectSet.environment.traversalKeys,x=t.getBaseSourceMapNode(),$=x==null?void 0:x.getSourceMapID(),P=x==null?void 0:x.getLoggingID(),N=null,M=o("WebBloksModelParser").parseBloksModelFromJSON(o("WebBloksUtils").cast(e.tree),D,N);a&&(M=M.makeDeepCopyWithNewClientIds(i?t.scope.slice():null,D));var w=o("WebBloksModelParser").parseBloksTreeResources(babelHelpers.extends({},e,{data:[].concat((s=e.data)!=null?s:[],f),embedded_payloads:[].concat((u=e.embedded_payloads)!=null?u:[],g),ft:h!=null?babelHelpers.extends({},h,(c=e.ft)!=null?c:{}):e.ft}),M,D);return new(r("WebBloksParseResult"))(M,w,P)}l.inflateBloksDataFromBloksPayloadToBloksParseResult=e}),98);
__d("WebBloksGetPayload",["WebBloksInflate"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=e.readPayload(t),a=r.payload.layout.bloks_payload,i=e.createScopedContextWithDepth(a.depth),l=o("WebBloksInflate").inflateBloksDataFromBloksPayloadToBloksParseResult(a,i,t,!0,!0,n);return l}l.default=e}),98);
__d("WebBloksGetScript",[],(function(t,n,r,o,a,i){function e(e,t){return e.treeManager.getCommittedTreeResources().functionTable.get(t)}i.default=e}),66);
__d("WebBloksGetState",["WebBloksLegacyTraverser","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t){var n=String(t),r=e.bloksContext.bkContextKeyStates.get(n);if(!r){var a=o("WebBloksUtils").nullthrows(o("WebBloksLegacyTraverser").getStateInitializer(e.objectSet.environment.traversalKeys,e.treeManager,n),"No state initializer available for id "+n);r=e.executeCatch(a,o("WebBloksUtils").EMPTY_ARRAY),e.bloksContext.bkContextKeyStates.set(n,r)}return r}l.default=e}),98);
__d("WebBloksGetTemplateArg",["WebBloksErrors","WebBloksScopedIds"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=e.scope;if(n===0)return e.readExpandedVariable(t);if(!r)throw new(o("WebBloksErrors")).WebBloksError("Keypath must be set on environment if trying to GetTemplateArg on a depth larger than 0.");if(n>r.length)throw new(o("WebBloksErrors")).WebBloksError("Depth supplied should never exceed the size of the key path.");var a=o("WebBloksScopedIds").getScopedVariableIdAtDepth(r,t,n);return e.readExpandedVariable(a)}l.default=e}),98);
__d("WebBloksGetValue",[],(function(t,n,r,o,a,i){function e(e,t){return e.readValue(t)}i.default=e}),66);
__d("WebBloksGetVariable2",[],(function(t,n,r,o,a,i){function e(e,t){return e.readVariable(t)}i.default=e}),66);
__d("WebBloksGetVariableWithScope",["WebBloksErrors","WebBloksScopedIds"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=e.scope;if(n===0)return e.readVariable(t);if(r==null)throw new(o("WebBloksErrors")).WebBloksError("Keypath must be set on environment if trying to WriteLocalState on a depth larger than 0.");if(n>r.length)throw new(o("WebBloksErrors")).WebBloksError("Depth supplied should never exceed the size of the key path.");var a=o("WebBloksScopedIds").getScopedVariableIdAtDepth(r,t,n),i=e.readVariable(a);return i==null&&(i=e.readVariable(t)),i}l.default=e}),98);
__d("WebBloksGetWidthV2",[],(function(t,n,r,o,a,i){function e(e,t,n){var r,o,a=(r=t.uiMutableContainer.domNode)==null?void 0:r.current;return(o=a==null?void 0:a.clientWidth)!=null?o:0}i.default=e}),66);
__d("WebBloksIndexOfChild",["WebBloksLegacyTraverser"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r,a,i=t;if(i==null||i.getId()==null)return e.objectSet.environment.logger.warn("bk.action.bloks.IndexOfChild called on a container without an ID"),-1;var l=o("WebBloksLegacyTraverser").findComponentByServerId(e.treeManager,i.getId(),e.objectSet.environment.traversalKeys),s=String(n);return(r=l==null||(a=l.getChildren_DEPRECATED())==null?void 0:a.findIndex(function(e){return e.getId()===s}))!=null?r:-1}l.default=e}),98);
__d("WebBloksInflateSync",["WebBloksModelParser","WebBloksSourceMapNode","WebBloksSourceMapPayloadMetadata","WebBloksSourceMapRootNode"],(function(t,n,r,o,a,i,l){function e(e,t){var n=null;return o("WebBloksModelParser").parseBloksModelFromJSON(t,e.objectSet.environment.traversalKeys,n)}l.default=e}),98);
__d("WebBloksInsertChildrenAfter",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksChildrenOperationsHelper").insertChildrenAfter(e.treeManager,n,""+r)}l.default=e}),98);
__d("WebBloksInsertEmbeddedChildrenAfter",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){o("WebBloksChildrenOperationsHelper").insertEmbeddedChildrenAfter(e.treeManager,n,""+r)}l.default=e}),98);
__d("WebBloksInsertEmbeddedChildrenBefore",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){o("WebBloksChildrenOperationsHelper").insertEmbeddedChildrenBefore(e.treeManager,n,""+r)}l.default=e}),98);
__d("WebBloksJsonDecode",[],(function(t,n,r,o,a,i){function e(e,t){return JSON.parse(t)}i.default=e}),66);
__d("WebBloksJsonEncode",[],(function(t,n,r,o,a,i){function e(e,t){return JSON.stringify(t,function(e,t){return typeof t=="boolean"?t?1:0:t})}i.default=e}),66);
__d("WebBloksJsonEncodeV3",[],(function(t,n,r,o,a,i){function e(e,t){return JSON.stringify(t)}i.default=e}),66);
__d("WebBloksMakeFlat",[],(function(t,n,r,o,a,i){function e(e){for(var t={},n=0;n<(arguments.length<=1?0:arguments.length-1)-1;n+=2){var r=String(n+1<1||arguments.length<=n+1?void 0:arguments[n+1]);t[r]=n+1+1<1||arguments.length<=n+1+1?void 0:arguments[n+1+1]}return t}i.default=e}),66);
__d("WebBloksMapClone",[],(function(t,n,r,o,a,i){function e(e,t){return babelHelpers.extends({},t)}i.default=e}),66);
__d("WebBloksMapFilter",["WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r={};for(var a of Object.entries(t)){var i=a[0],l=a[1],s=n(e,i,l);o("WebBloksBooleanUtils").isTrue(s)&&(r[i]=l)}return r}l.default=e}),98);
__d("WebBloksMapGet",[],(function(t,n,r,o,a,i){function e(e,t,n){return t[n]}i.default=e}),66);
__d("WebBloksMapKeys",[],(function(t,n,r,o,a,i){function e(e,t){return Object.keys(t)}i.default=e}),66);
__d("WebBloksMapMake",[],(function(t,n,r,o,a,i){function e(e,t,n){for(var r={},o=0;o<t.length;o++)r[t[o]]=n[o];return r}i.default=e}),66);
__d("WebBloksMapMerge",[],(function(t,n,r,o,a,i){function e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign.apply(Object,[{}].concat(n))}i.default=e}),66);
__d("WebBloksMapRemove",[],(function(t,n,r,o,a,i){function e(e,t,n){delete t[n]}i.default=e}),66);
__d("WebBloksMapUpdate",[],(function(t,n,r,o,a,i){function e(e,t,n){Object.assign(t,n)}i.default=e}),66);
__d("WebBloksMapValues",[],(function(t,n,r,o,a,i){function e(e,t){return Array.from(Object.values(t))}i.default=e}),66);
__d("WebBloksEqual",["WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){function e(e,t){return e===t||e==null&&t==null||o("WebBloksBooleanUtils").isTrue(e)&&o("WebBloksBooleanUtils").isTrue(t)||o("WebBloksBooleanUtils").isFalse(e)&&o("WebBloksBooleanUtils").isFalse(t)}l.isEqual=e}),98);
__d("WebBloksMatch",["WebBloksEqual"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){for(var a of n)if(o("WebBloksEqual").isEqual(a.case,t))return a.expression(e);return r(e)}l.default=e}),98);
__d("WebBloksRegexUtils",[],(function(t,n,r,o,a,i){"use strict";function e(e){var t=e.match(/\(\?([imsuy]+)\)/);if(!t)return{normalizedPattern:e};var n=t[1],r=t.index,o=r+t[0].length,a=e.slice(0,r)+e.slice(o);return{normalizedPattern:a,flags:n}}i.extractPatternAndFlags=e}),66);
__d("WebBloksMatchesRegex",["WebBloksRegexUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=o("WebBloksRegexUtils").extractPatternAndFlags(n),a=r.flags,i=r.normalizedPattern,l=new RegExp(i,a);return!!t.match(l)}l.default=e}),98);
__d("WebBloksMinsToBool",[],(function(t,n,r,o,a,i){function e(e,t){return!!t}i.default=e}),66);
__d("WebBloksMinsTypeOf",[],(function(t,n,r,o,a,i){function e(e,t){if(t==null)return 0;if(Array.isArray(t))return 6;switch(typeof t){case"boolean":return 1;case"string":return 2;case"number":return 4;case"function":return 8;case"object":return 7}return-1}i.default=e}),66);
__d("WebBloksNavigationCloseScreen",[],(function(t,n,r,o,a,i){function e(e){e.objectSet.navigationManager.pop()}i.default=e}),66);
__d("WebBloksNumberAnd",[],(function(t,n,r,o,a,i){function e(e,t,n){return t&n}i.default=e}),66);
__d("WebBloksNumberEq",["WebBloksEqual"],(function(t,n,r,o,a,i,l){function e(e,t,n){return o("WebBloksEqual").isEqual(t,n)}l.default=e}),98);
__d("WebBloksNumberGe",[],(function(t,n,r,o,a,i){function e(e,t,n){return t>=n}i.default=e}),66);
__d("WebBloksNumberGt",[],(function(t,n,r,o,a,i){function e(e,t,n){return t>n}i.default=e}),66);
__d("WebBloksNumberLt",[],(function(t,n,r,o,a,i){function e(e,t,n){return t<n}i.default=e}),66);
__d("WebBloksNumberMod",[],(function(t,n,r,o,a,i){function e(e,t,n){return t%n}i.default=e}),66);
__d("WebBloksNumberOr",[],(function(t,n,r,o,a,i){function e(e,t,n){return t|n}i.default=e}),66);
__d("WebBloksNumberRand",[],(function(t,n,r,o,a,i){function e(e,t,n){return Math.floor(Math.random()*(n-t))+t}i.default=e}),66);
__d("WebBloksCollectionHelpers",["WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e){var t=e==="column",n=t?"height":"width",r=t?"width":"height",o=t?"marginTop":"marginLeft",a=t?"marginBottom":"marginRight",i=t?"top":"left",l=t?"bottom":"right";return{mainAxisSize:n,crossAxisSize:r,mainAxisMarginStart:o,mainAxisMarginEnd:a,start:i,end:l}}function s(e,t){var n,r,a,i=(n=(r=e.getStyle("collection"))==null?void 0:r.get(t))!=null?n:(a=e.getStyle("bk.style.Base"))==null?void 0:a.get(t);return o("WebBloksUtils").isPercentage(i)}function u(t){var n,r=t.getValues(),o=r.children,a=r.direction,i=e(a),l=i.mainAxisSize,u=(n=o&&o.some(function(e){return s(e,l)}))!=null?n:!1;return u?a==="column"?"size":"inline-size":"normal"}function c(e){return e.get("measurement_version_internal_use_only")==="v2"}l.getDirectionPropNames=e,l.hasCollectionDimensionInPct=s,l.getContainerType=u,l.shouldUseWebBloksCollectionV2=c}),98);
__d("WebBloksNormaliseYogaDimension",["WebBloksCollectionHelpers","WebBloksConstants","WebBloksModel"],(function(t,n,r,o,a,i,l){"use strict";var e,s=new Set([(e=o("WebBloksConstants")).BK_FLEXBOX,e.BK_IMAGE,e.BK_COLLECTION,e.BK_SLIDER]),u="$GROW_WIDTH",c="$GROW_HEIGHT";function d(e,t,n){if(n===void 0&&(n=!1),!(n||!s.has(e.styleId))){var r=e.getSubNode("_style"),a=r==null?void 0:r.get("width"),i=r==null?void 0:r.get("height"),l=r==null?void 0:r.get("position_type"),d=t[t.length-2];if(a===void 0&&v(e)&&!e.get("use_correct_measure")?(d!=null&&h(d,"width")?b(e,"grow",1):b(e,"width","100%"),_(t,t.length-1,"width","100%")):e.styleId===o("WebBloksConstants").BK_SLIDER?_(t,t.length-1,"width","100%"):typeof a=="string"&&a.endsWith("%")&&_(t,t.length-1,"width",a),!(a!=null&&r!=null&&r.get("aspect_ratio"))){if(i===void 0&&e.styleId===o("WebBloksConstants").BK_COLLECTION&&!e.get("use_correct_measure"))d!=null&&h(d,"height")?b(e,"grow",1):b(e,"height","100%"),_(t,t.length-1,"height","100%");else if(typeof i=="string"&&i.endsWith("%")&&l!=="absolute")if(C(d,"height")==null){var p=m(t,"height");p?b(d,"height","100%"):_(t,t.length-1,"height",i)}else _(t,t.length-1,"height",i)}e.set(u,void 0),e.set(c,void 0)}}function m(e,t){for(var n=e.length-2;n>=0;n--){var r=e[n];if(!y(e[n+1],r)||!p(r))return null;if(C(r,t)!=null)return r}}function p(e){var t;return e!=null&&((t=e.get("children"))==null?void 0:t.length)===1}function _(e,t,n,r){var a,i=e[t],l=e[t-1];if(l&&e[t-2]!=null&&(l.styleId===o("WebBloksConstants").BK_SCREEN_WRAPPER_LEGACY||l.styleId===o("WebBloksConstants").BK_SCREEN_WRAPPER))return _(e,t-2,n,r);if(l&&l.styleId==="bk.components.Collection"&&o("WebBloksCollectionHelpers").shouldUseWebBloksCollectionV2(l)){var s=l.getValues().direction;return!(s==="row"&&n==="height"||s==="column"&&n==="width")}if(!l||l.styleId!==o("WebBloksConstants").BK_FLEXBOX||C(l,n)!=null||C(l,"grow")===0)return b(i,n,r),!0;var u=((a=l.get("children"))==null?void 0:a.length)===1,c=h(l,n);if(u){var d=_(e,t-1,n,r);return d?(C(i,n)!=null&&b(i,n,void 0),c&&C(i,"grow")==null&&b(i,"grow",1)):b(i,n,r),!0}return c?(b(i,n,r),f(e,t-1,n),!0):y(i,l)?(f(e,t-1,n),!1):(b(i,n,r),f(e,t-1,n),!0)}function f(e,t,n){for(var r=t;r>=0;r--){var a=e[r];if(a.styleId!==o("WebBloksConstants").BK_FLEXBOX||C(a,n)!==null||C(a,"grow")===0||a.get(n==="width"?u:c))break;a.set(n==="width"?u:c,!0);var i=e[r-1];if(i){if(h(i,n)){C(a,"grow")==null&&(b(a,"grow",1),b(a,"justifyContent","inherit"));continue}else if(y(a,i))continue}b(a,n,"100%")}}function g(e){return e.styleId!==o("WebBloksConstants").BK_FLEXBOX?!1:e.get("flex_direction")==="column"||e.get("flex_direction")==="column_reverse"}function h(e,t){var n=g(e);return n&&t==="height"||!n&&t==="width"}function y(e,t){var n,r,a;return!t||t.styleId!==o("WebBloksConstants").BK_FLEXBOX?!1:((n=(r=(a=e.getStyle("flex"))==null?void 0:a.get("align_self"))!=null?r:t.get("align_items"))!=null?n:"stretch")==="stretch"}function C(e,t){var n,r;return(n=e==null||(r=e.getSubNode(o("WebBloksConstants").BK_STYLE_ATTR))==null?void 0:r.get(t))!=null?n:null}function b(e,t,n){var r=e.get(o("WebBloksConstants").BK_STYLE_ATTR);if(r){var a=r.getValues()[t];if(a!==n){var i=r.makeCopy();i.getValues()[t]=n,e.set(o("WebBloksConstants").BK_STYLE_ATTR,i)}}else{var l,s=(l={},l[t]=n,l);e.getValues()[o("WebBloksConstants").BK_STYLE_ATTR]=new(o("WebBloksModel")).WebBloksModel(o("WebBloksConstants").BK_FLEX,s)}}function v(e){return e.styleId===o("WebBloksConstants").BK_COLLECTION}function S(e,t,n,r){n===void 0&&(n=[]),r===void 0&&(r=!1),n.push(e);var a=e.styleId,i=t[a];if(i!=null){var l=i.plural_subnodes,s=i.subnodes;if(s)for(var u of s){var c=e.getSubNode(u);if(c!=null){var m=S(c,t,n,r);e.set(u,m)}}if(l){for(var p of l)if(p!==o("WebBloksConstants").CHILD_TEMPLATES){var _=e.getSubNodes(p);_!=null&&e.set(p,_.map(function(e){return S(e,t,n,r)}))}}}return d(e,n,r),n.pop(),e}l.normaliseYogaDimensions=d,l.normaliseBoundModel=S}),98);
__d("WebBloksBind",["WebBloksConstants","WebBloksDataModule","WebBloksErrors","WebBloksInterpreterEnvironment","WebBloksModel","WebBloksNormaliseYogaDimension","WebBloksPayloadParser","WebBloksScopedIds","WebBloksScriptExecutor","WebBloksScriptTokens","WebBloksUpdateTraversal","WebBloksUtils"],(function(t,n,r,o,a,i,l){"use strict";var e="$DESCENDANT_BIND_VARIABLE_DEPENDENCIES",s="$DESCENDANT_EXPANDED_VARIABLES",u=(function(){function e(e,t,n,r){if(this.previousVariableDependencies=o("WebBloksUtils").EMPTY_MAP,this.expandedVariables=new Map,this.$1=new Set,this.$2=new Map,this.$3=new Map,this.bloksContext=e,this.resources=t,this.clientIdToScopedIdMapper=n,r)if(this.nextCache=new c(r.bindCache),this.cache=r.bindCache,this.previousExpandedVariables=r.expandedVariables,this.variablesChanged=new Set,r.dependencies){this.previousVariableDependencies=r.dependencies;for(var a of r.dependencies){var i=a[0],l=a[1];l!==t.variables.get(i)&&this.variablesChanged.add(i)}}else this.previousVariableDependencies=o("WebBloksUtils").EMPTY_MAP;else this.nextCache=new c(null),this.cache=new c(null),this.previousExpandedVariables=o("WebBloksUtils").EMPTY_MAP,this.previousVariableDependencies=o("WebBloksUtils").EMPTY_MAP,this.variablesChanged=void 0}var t=e.prototype;return t.apply=function(n,a,i,l,s){var t,u,c=n,d=c.getExpression(o("WebBloksConstants").ON_BIND);if(d==null)return c;var m=r("WebBloksInterpreterEnvironment").forBind(this.bloksContext,d.getSourceMapNode(),this.resources,this.expandedVariables);m.scope=(t=c.keyPath)!=null?t:o("WebBloksUtils").EMPTY_KEY_PATH,m.variableAccessLog=l;var p=d.getValue(),_=Array.isArray(p)&&p.length>0&&!(p[0]instanceof o("WebBloksScriptTokens").WebBloksIdentifierToken),f;if(_){var g=o("WebBloksUtils").cast(p);f=[];for(var v=0;v<g.length;v+=2){var S=g[v],R=o("WebBloksUtils").cast(g[v+1]),L=o("WebBloksScriptExecutor").execute(m,R,o("WebBloksUtils").EMPTY_ARRAY);f.push(S,L)}}else f=o("WebBloksUtils").cast(o("WebBloksScriptExecutor").execute(m,p,o("WebBloksUtils").EMPTY_ARRAY));for(var E=null,k=c.getId(),I=(u=c.keyPath)!=null?u:[],T=this.bloksContext.objectSet.environment.traversalKeys,D=_||f.length>0&&!Array.isArray(f[0]),x=0;x<f.length;x++){var $=null,P=void 0,N=void 0;if(D)N=f[x],P=f[++x];else{var M=f[x];$=M[0]==null?null:""+M[0],N=""+M[1],P=M[2]}var w=void 0;if(h(N,c.styleId,T)){var A=C(this,c,i,I,s,P,T);for(var F of A)E=this.addToTemplateCache(E,F);w=A}else if(y(N,c.styleId,T)){var O=b(this,c,i,I,s,P,T);w=O,O!=null&&(E=this.addToTemplateCache(E,O))}else w=P;if(D||$===k)c=e.applyOperation(c,a,N,w);else throw new(o("WebBloksErrors")).WebBloksError('Encountered binding targeted for a descendant from bind script "'+N+'"')}return this.nextCache.cacheUnboundChildTemplates(c,E),c},t.addToTemplateCache=function(t,n){var e=t!=null?t:new Map;return e.set(n.clientId,n),e},t.addExpandedVariable=function(t,n){if(this.expandedVariables.set(t,n),this.variablesChanged){var e=this.previousExpandedVariables.get(t);if(e!==n){var r;(r=this.variablesChanged)==null||r.add(t)}}},t.isResourceProcessed=function(t){return this.$1.has(t)},t.collectTreeResource=function(t,n){this.$1.has(n)||(this.$1.add(n),this.$2.set(n,t))},t.mergeFunctionTable=function(t){var e=t.ftDeclare,n=t.ftInclude,r=t.functionTable;r==null&&e==null&&n==null||(this.resources=this.resources.withFunctionTableUpdates(r,e,n))},t.getCollectedTreeResources=function(){return this.$2},t.getCachedTemplatePayload=function(t){return this.$3.get(t)},t.cacheTemplatePayload=function(t,n){this.$3.set(t,n)},t.containsVariable=function(t){return this.expandedVariables.has(t)||this.resources.variables.has(t)},t.processVariableManifestsInBind=function(t,n){var e=this;if(t.length!==0){var a=n.length>0?o("WebBloksScopedIds").buildKeypathBase(n):null,i=new Map;for(var l of t){var s,u=l.id,c=l.scoped===!0&&a!=null?o("WebBloksScopedIds").buildScopedVariableIdentifier(u,a):u;if(!this.containsVariable(c)){var d=l.type,m=o("WebBloksDataModule").getDataModuleFromContext(this.bloksContext,d);if(!m)throw new(o("WebBloksErrors")).WebBloksError("Missing variable module with type: "+d);var p=function(a){var t=r("WebBloksInterpreterEnvironment").forBind(e.bloksContext,null,e.resources,e.expandedVariables);return t.scope=n,o("WebBloksScriptExecutor").execute(t,a,[])},_=(s=i.get(d))!=null?s:new Map,f=m.setup(this.bloksContext,l,p,_);f.snapshot!=null&&i.set(d,f.snapshot),this.addExpandedVariable(c,f.initialData.initialValue)}}}},e.applyOperation=function(n,r,o,a){return e.applyAttribute(n,r,o,a)},e.applyAttribute=function(n,r,o,a){if(n!==r||r.get(o)!==a){var t=e.ensureUnique(n,r);return t.set(o,a),t}return n},e.ensureUnique=function(t,n){return t===n?n.makeBoundCopy():t},e})(),c=(function(){function e(e){var t,n,r;this.expandedVariables=(t=e==null?void 0:e.expandedVariables)!=null?t:new Map,this.unboundChildTemplates=(n=e==null?void 0:e.unboundChildTemplates)!=null?n:new Map,this.variableDependencies=(r=e==null?void 0:e.variableDependencies)!=null?r:new Map}var t=e.prototype;return t.transferCache=function(t,n,r){var e=this;t.traverse(function(t){return e.$1(t,n),!1},r)},t.cacheUnboundChildTemplates=function(t,n){n&&this.unboundChildTemplates.set(t.clientId,n)},t.cacheVariableDependencies=function(t,n){this.variableDependencies.set(t.clientId,n)},t.cacheExpandedVariables=function(t,n){n.size>0&&this.expandedVariables.set(t.clientId,n)},t.getVariableDependencies=function(t){return this.variableDependencies.get(t.clientId)},t.getExpandedVariables=function(t){return this.expandedVariables.get(t.clientId)},t.getUnboundChildTemplates=function(t){return t?this.unboundChildTemplates.get(t.clientId):null},t.$1=function(t,n){var e=t.clientId,r=this.expandedVariables.get(e);r&&n.expandedVariables.set(e,r);var o=this.unboundChildTemplates.get(e);o&&n.unboundChildTemplates.set(e,o);var a=this.variableDependencies.get(e);a&&n.variableDependencies.set(e,a)},e})();function d(e,t,n,r,a){var i=r!=null?n.withVariableUpdates(r):n,l=m(e,t,i,a);return l.boundModel=o("WebBloksNormaliseYogaDimension").normaliseBoundModel(l.boundModel,e.objectSet.environment.traversalKeys),l}function m(e,t,n,r){var o=new u(e,n,e.scopedClientIdMapper,r);return p(t,r,o)}function p(e,t,n){var r=new Set,a=new Map,i=_(e,t==null?void 0:t.boundModel,n,r,a),l=new Map;for(var s of r)l.set(s,n.resources.variables.get(s));return o("WebBloksUtils").putAll(l,n.expandedVariables),{unboundModel:e,boundModel:i,variables:n.resources.variables,expandedVariables:n.expandedVariables,dependencies:l,bindCache:n.nextCache}}function _(t,n,r,a,i){if(t.get(o("WebBloksConstants").DESCENDANT_HAS_BIND)===!1)return t;var l=t,c=new Set,d=new Map;l=r.apply(l,t,n,c,d),l=f(l,t,n,r,c,d),d.size>0&&(l=u.applyAttribute(l,t,s,d)),l!==t&&(l=u.applyAttribute(l,t,e,c));for(var m of c)a.add(m);return o("WebBloksUtils").putAll(i,d),l}function f(e,t,n,r,a,i){var l=e,s=r.bloksContext.objectSet.environment.traversalKeys[l.styleId];if(s==null)return l;var c=s.plural_subnodes,d=s.subnodes;if(d)for(var m of d){var p=l.getSubNode(m);if(p instanceof o("WebBloksModel").WebBloksModel){var f=n==null?void 0:n.getSubNode(m);if(f instanceof o("WebBloksModel").WebBloksModel||f==null){var h=_(p,f,r,a,i);l=u.applyAttribute(l,t,m,h)}}}if(c){for(var y of c)if(y!==o("WebBloksConstants").CHILD_TEMPLATES){for(var C=l.getChildren_DEPRECATED(y),b=C,v=n==null?void 0:n.getChildren_DEPRECATED(y),S=0,R=0;R<C.length;R++){var L=C[R];if(L){var E=g(L,v,R),k=_(L,E,r,a,i);if(k!==L)if(b===C&&(b=C.slice()),k.styleId===o("WebBloksConstants").BK_INTERNAL_MERGE_WITH_BIND){var I,T=k.getChildren_DEPRECATED();(I=b).splice.apply(I,[R+S,1].concat(T)),S+=T.length-1}else b[R+S]=k}}b!==C&&(l=u.applyAttribute(l,t,y,b))}}return l}function g(e,t,n){var r;if(t)return((r=t[n])==null?void 0:r.clientId)===e.clientId?t[n]:t.find(function(t){return t.clientId===e.clientId})}function h(e,t,n){var r;return!!((r=n[t])!=null&&(r=r.plural_subnodes)!=null&&r.includes(e))}function y(e,t,n){var r;return!!((r=n[t])!=null&&(r=r.subnodes)!=null&&r.includes(e))}function C(e,t,n,r,o,a,i){return a.map(function(a){return b(e,t,n,r,o,a,i)}).filter(Boolean)}function b(e,t,n,r,a,i,l){if(i==null)return null;var s;Array.isArray(i)?s={templateId:i[0],expandedVariables:new Map(Object.entries(i[1])),scopeKey:i[2],keyPathBase:r}:s=i;var u;if(typeof s.templateId=="number"){var c=s.templateId,d=t.getChildren_DEPRECATED(o("WebBloksConstants").CHILD_TEMPLATES);if(c<0||c>=d.length)throw new(o("WebBloksErrors")).WebBloksError("Invalid child template index "+c+" for "+s.scopeKey);u=d[c]}else{var m=s.templateId,p=e.resources.payloads.get(m);if(p!=null){var _=e.getCachedTemplatePayload(m);_==null&&(_=o("WebBloksPayloadParser").parseTree(p.payload,l,null),e.cacheTemplatePayload(m,_)),u=_.unboundModel;var f=m;if(!e.isResourceProcessed(f)){var g;e.collectTreeResource(_.resources,f),e.mergeFunctionTable(_.resources);var h=(g=_.resources.variableDefinitions)!=null?g:[];h.length>0&&e.processVariableManifestsInBind(h,r)}}else{var y=e.resources.templates.get(m);if(y==null)throw new(o("WebBloksErrors")).WebBloksError("No such template in tree resources: "+m);u=y}}var C=e.clientIdToScopedIdMapper.getScopedClientId(u,s.scopeKey),b=o("WebBloksScopedIds").extendKeyPath(s.keyPathBase,C),S=o("WebBloksScopedIds").buildKeypathBase(b);s.expandedVariables.size>0&&v(e,s.expandedVariables,S,a);var R=e.cache.getUnboundChildTemplates(n);if(R){var L=R.get(C);if(L)return L}return o("WebBloksUpdateTraversal").runUpdateTraversal(u,{apply:function(n){return e.clientIdToScopedIdMapper.copyModelWithKeyPath(n,b,s.scopeKey)},onUpdatesApplied:function(){}},l)}function v(e,t,n,r){for(var a of t.entries()){var i=a[0],l=a[1],s=o("WebBloksScopedIds").buildScopedVariableIdentifier(i,n);e.addExpandedVariable(s,l),r.set(s,l)}}l.bind=d}),98);
__d("WebBloksOneTimeBind",["WebBloksBind"],(function(t,n,r,o,a,i,l){function e(e,t){var n=e.treeManager,r=n.getCommittedTreeResources(),a=o("WebBloksBind").bind(e.bloksContext,t,r);return a.boundModel}l.default=e}),98);
__d("WebBloksOpenBottomSheet",["WebBloksScreen"],(function(t,n,r,o,a,i,l){function e(e,t,n){e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksModel(e.objectSet,t,e.treeManager.initialTreeResources,{isModal:!0,ownerContext:e}))}l.default=e}),98);
__d("WebBloksOpenBottomSheetV2",["WebBloksScreen"],(function(t,n,r,o,a,i,l){function e(e,t,n){e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(e.objectSet,t,{isModal:!0,ownerContext:e}))}l.default=e}),98);
__d("WebBloksOpenDialog",["WebBloksScreen"],(function(t,n,r,o,a,i,l){function e(e,t,n){e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksModel(e.objectSet,t,e.treeManager.initialTreeResources,{isModal:!0,ownerContext:e}))}l.default=e}),98);
__d("WebBloksOpenDialogV2",["WebBloksScreen"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){e.treeManager.synchronouslyAddTreeResources(t),e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(e.objectSet,t,{isModal:!0,ownerContext:e}))}l.default=e}),98);
__d("WebBloksOpenFullScreenV4",["WebBloksScreen","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){var i=t.get("navbar_data"),l=t.get("loading_screen"),s=r?r.get("presentation_mode")==="modal":!1,u=t.get("url_relative_path"),c=t.get("ttrc_marker_id"),d={isModal:s,loadingNavbar:i,loadingScreen:l,initialTreeResources:e.bloksContext.treeManager.initialTreeResources,ownerContext:e},m=t.get("app_id");o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:m,markerId:c}}),e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromAppId(e.objectSet,m,n,d,u))}l.default=e}),98);
__d("WebBloksOpenScreen",["WebBloksScreen","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:t}}),e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromAppId(e.objectSet,t,n))}l.default=e}),98);
__d("WebBloksOpenScreenByRoute",["WebBloksScreen","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:n}}),e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromAppId(e.objectSet,n,void 0,{ownerContext:e},t))}l.default=e}),98);
__d("WebBloksOpenUniversalLink",["WebBloksURLUtils"],(function(t,n,r,o,a,i,l){function e(e,t){o("WebBloksURLUtils").openURL(o("WebBloksURLUtils").qualify(t),!0)}l.default=e}),98);
__d("WebBloksOpenUrl",["WebBloksURLUtils"],(function(t,n,r,o,a,i,l){function e(e,t){o("WebBloksURLUtils").openURL(o("WebBloksURLUtils").qualify(t))}l.default=e}),98);
__d("WebBloksOpenUrlV2",["WebBloksBooleanUtils","WebBloksURLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=o("WebBloksURLUtils").qualify(t),a=n==null?void 0:n.get("url_params");a!=null&&(r=o("WebBloksURLUtils").addQueryParamsToUrl(r,a)),o("WebBloksURLUtils").openURL(r,o("WebBloksBooleanUtils").isTrue(n==null?void 0:n.get("open_in_new_tab")))}l.default=e}),98);
__d("WebBloksParseEmbeddedV2",["WebBloksInflate"],(function(t,n,r,o,a,i,l){function e(e,t){var n=t.layout.bloks_payload;return o("WebBloksInflate").inflateBloksDataFromBloksPayloadToBloksParseResult(n,e,null,!0,!1,null)}l.default=e}),98);
__d("WebBloksParseEmbedded",["WebBloksParseEmbeddedV2"],(function(t,n,r,o,a,i,l){function e(e,t){var n=JSON.parse(t);return r("WebBloksParseEmbeddedV2")(e,n)}l.default=e}),98);
__d("WebBloksParseHoistedPayload",["WebBloksErrors","WebBloksInflate"],(function(t,n,r,o,a,i,l){function e(e,t){var n,r=(n=e.getResources())==null||(n=n.payloads.get(t))==null?void 0:n.payload;if(r==null)throw new(o("WebBloksErrors")).WebBloksError("Could not find embedded payload for ID: "+t);var a=r.layout.bloks_payload;return o("WebBloksInflate").inflateBloksDataFromBloksPayloadToBloksParseResult(a,e,t,!0,!1,null)}l.default=e}),98);
__d("WebBloksPopBottomSheet",[],(function(t,n,r,o,a,i){function e(e,t,n){e.objectSet.navigationManager.pop()}i.default=e}),66);
__d("WebBloksPrependChildren",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n){o("WebBloksChildrenOperationsHelper").prependChildren(e.treeManager,t.toString(),n)}l.default=e}),98);
__d("WebBloksPrependEmbeddedChildren",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksChildrenOperationsHelper").prependEmbeddedLayoutChildren(e.treeManager,t,n)}l.default=e}),98);
__d("WebBloksPushBottomSheetV2",["WebBloksScreen"],(function(t,n,r,o,a,i,l){function e(e,t){e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(e.objectSet,t,{isModal:!0,ownerContext:e}))}l.default=e}),98);
__d("WebBloksReduce",["WebBloksLegacyTraverser"],(function(t,n,r,o,a,i,l){function e(e,t){o("WebBloksLegacyTraverser").reduce(e.treeManager,""+t,e.executeCatch,e.objectSet.environment.traversalKeys)}l.default=e}),98);
__d("WebBloksRef",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){this.$1=e}var t=e.prototype;return t.get=function(){return this.$1},t.set=function(t){this.$1=t},e})();i.default=e}),66);
__d("WebBloksRefMake",["WebBloksRef"],(function(t,n,r,o,a,i,l){function e(e,t){return new(r("WebBloksRef"))(t)}l.default=e}),98);
__d("WebBloksRefRead",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t){if(e.getScriptMode()==="BIND")throw new(o("WebBloksErrors")).WebBloksScriptError("Cannot read ref value during bind");return t.get()}l.default=e}),98);
__d("WebBloksRefWrite",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t,n){if(e.getScriptMode()==="BIND")throw new(o("WebBloksErrors")).WebBloksScriptError("Cannot write to ref value during bind");t.set(n)}l.default=e}),98);
__d("WebBloksReflow",["WebBloksLegacyTraverser"],(function(t,n,r,o,a,i,l){function e(e,t){o("WebBloksLegacyTraverser").reflow(e.treeManager,""+t,e.executeCatch,e.objectSet.environment.traversalKeys)}l.default=e}),98);
__d("WebBloksRefresh",[],(function(t,n,r,o,a,i){function e(e,t){e.objectSet.navigationManager.refresh()}i.default=e}),66);
__d("WebBloksRemoveChild",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n){o("WebBloksChildrenOperationsHelper").removeModelById(e.treeManager,""+n)}l.default=e}),98);
__d("WebBloksRemoveChildrenBetween",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksChildrenOperationsHelper").removeChildren(e.treeManager,t,""+n,""+r)}l.default=e}),98);
__d("WebBloksReplaceChild",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksChildrenOperationsHelper").replaceChild(e.treeManager,""+r,n)}l.default=e}),98);
__d("WebBloksReplaceChildren",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n){o("WebBloksChildrenOperationsHelper").replaceLayoutChildren(e.treeManager,""+t,n)}l.default=e}),98);
__d("WebBloksReplaceChildrenAfter",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){o("WebBloksChildrenOperationsHelper").replaceChildrenAfter(e.treeManager,String(r),n)}l.default=e}),98);
__d("WebBloksReplaceEmbeddedChild",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksChildrenOperationsHelper").replaceEmbeddedChild(e.treeManager,""+r,n)}l.default=e}),98);
__d("WebBloksReplaceEmbeddedChildren",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksChildrenOperationsHelper").replaceEmbeddedLayoutChildren(e.treeManager,t,n)}l.default=e}),98);
__d("WebBloksReplaceEmbeddedChildrenAfter",["WebBloksChildrenOperationsHelper"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){o("WebBloksChildrenOperationsHelper").replaceEmbeddedChildrenAfter(e.treeManager,String(r),n)}l.default=e}),98);
__d("WebBloksRequestFocus",["WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r,a=e.bloksContext.getAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT);a==null||(r=a.ref)==null||(r=r.current)==null||r.requestFocus()}l.default=e}),98);
__d("WebBloksRotate3D",[],(function(t,n,r,o,a,i){function e(e,t,n,r,o,a){return t.rotate3D(n,r,o,a),t}i.default=e}),66);
__d("WebBloksScale3D",[],(function(t,n,r,o,a,i){function e(e,t,n,r,o){return t.scale(n,r,o),t}i.default=e}),66);
__d("WebBloksSessionStoreGet",[],(function(t,n,r,o,a,i){var e=Object.create(null);function l(t){return e}i.default=l}),66);
__d("Transform3DForWebBloks",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){this.matrix=[[e[0],e[1],e[2],e[3]],[e[4],e[5],e[6],e[7]],[e[8],e[9],e[10],e[11]],[e[12],e[13],e[14],e[15]]]}var t=e.prototype;return t.toString=function(){return this.matrix.flat().join(",")},t.translate=function(t,n,r){var e=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[t,n,r,1]];return this.matrix=u(e,this.matrix),this},t.scale=function(t,n,r){var e=[[t,0,0,0],[0,n,0,0],[0,0,r,0],[0,0,0,1]];return this.matrix=u(e,this.matrix),this},t.rotate3D=function(t,n,r,o){for(var e=s(n,r,o),a=e.x_norm,i=e.y_norm,c=e.z_norm,d=l(),m=[[0,c,-i,0],[-c,0,a,0],[i,-a,0,0],[0,0,0,0]],p=m.map(function(e){return e.map(function(e){return Math.sin(t)*e})}),_=u(m,m).map(function(e){return e.map(function(e){return(1-Math.cos(t))*e})}),f=l(),g=0;g<4;g++)for(var h=0;h<4;h++)f[g][h]=d[g][h]+p[g][h]+_[g][h];return this.matrix=u(f,this.matrix),this},e})();function l(){return[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]}function s(e,t,n){var r=e*e,o=t*t,a=n*n,i=r+o+a;return{x_norm:e/i,y_norm:t/i,z_norm:n/i}}function u(e,t){for(var n=e.length,r=e[0].length,o=t[0].length,a=new Array(n),i=0;i<n;i++){a[i]=new Array(o);for(var l=0;l<o;l++){a[i][l]=0;for(var s=0;s<r;s++)a[i][l]+=e[i][s]*t[s][l]}}return a}i.default=e}),66);
__d("WebBloksSetAttr",["Transform3DForWebBloks","WebBloksConstants","WebBloksModel","WebBloksMutations","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a){o("WebBloksUtils").nullthrows(t,"No model passed to setAttr");var i=n,l=a;if(n==="transform3d"&&a instanceof r("Transform3DForWebBloks")){var s=t.getSubNode("_style"),u={transform:"matrix3d("+a.toString()+")"},c=s!=null?s.makeCopy(u):new(o("WebBloksModel")).WebBloksModel(o("WebBloksConstants").BK_FLEX,u);i="_style",l=c}o("WebBloksMutations").updateProperty(e.treeManager,t,i,l)}l.default=e}),98);
__d("WebBloksShareText",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){navigator.share&&navigator.share({text:t})}i.default=e}),66);
__d("WebBloksShowToast",[],(function(t,n,r,o,a,i){function e(e,t,n,r){e.objectSet.toastManager.enqueueBloksModelToast(e,t,n)}i.default=e}),66);
__d("WebBloksShowToastV2",[],(function(t,n,r,o,a,i){function e(e,t,n,r){e.objectSet.toastManager.enqueueBloksParseResultToast(e,t,n)}i.default=e}),66);
__d("WebBloksSliderSetPosition",["WebBloksMutations"],(function(t,n,r,o,a,i,l){function e(e,t,n){o("WebBloksMutations").updateProperty(e.treeManager,t,"progress",n)}l.default=e}),98);
__d("WebBloksStringAsInteger",[],(function(t,n,r,o,a,i){function e(e,t){var n=parseInt(t,10);return Number.isNaN(n)?0:n}i.default=e}),66);
__d("WebBloksInt64",["WebBloksErrors"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){this.$1=e,this.$2=t}e.fromInt=function(n){if(-128<=n&&n<128){var t=e.$3[n];if(t)return t}var r=new e(n|0,n<0?-1:0);return-128<=n&&n<128&&(e.$3[n]=r),r},e.fromNumber=function(n){return Number.isNaN(n)||!Number.isFinite(n)?e.ZERO:n<=-e.$4?e.MIN_VALUE:n+1>=e.$4?e.MAX_VALUE:n<0?e.fromNumber(-n).negate():new e(n%e.$5|0,n/e.$5|0)},e.fromBits=function(n,r){return new e(n,r)},e.fromString=function(n,r){if(n.length===0)throw new(o("WebBloksErrors")).WebBloksError("number format error: empty string");var t=r||10;if(t<2||36<t)throw new(o("WebBloksErrors")).WebBloksError("radix out of range: "+t);if(n.charAt(0)=="-")return e.fromString(n.substring(1),t).negate();if(n.indexOf("-")>=0)throw new(o("WebBloksErrors")).WebBloksError('number format error: interior "-" character: '+n);for(var a=e.fromNumber(Math.pow(t,8)),i=e.ZERO,l=0;l<n.length;l+=8){var s=Math.min(8,n.length-l),u=parseInt(n.substring(l,l+s),t);if(s<8){var c=e.fromNumber(Math.pow(t,s));i=i.multiply(c).add(e.fromNumber(u))}else i=i.multiply(a),i=i.add(e.fromNumber(u))}return i};var t=e.prototype;return t.toInt=function(){return this.$1},t.toNumber=function(){return this.$2*e.$5+this.getLowBitsUnsigned()},t.toString=function(n){var t=n||10;if(t<2||36<t)throw new(o("WebBloksErrors")).WebBloksError("radix out of range: "+t);if(this.isZero())return"0";if(this.isNegative())if(this.equals(e.MIN_VALUE)){var r=e.fromNumber(t),a=this.div(r),i=a.multiply(r).subtract(this);return a.toString(t)+i.toInt().toString(t)}else return"-"+this.negate().toString(t);for(var l=e.fromNumber(Math.pow(t,6)),s=this,u="";;){var c=s.div(l),d=s.subtract(c.multiply(l)).toInt(),m=d.toString(t);if(s=c,s.isZero())return m+u;for(;m.length<6;)m="0"+m;u=""+m+u}},t.getLowBitsUnsigned=function(){return this.$1>=0?this.$1:e.$5+this.$1},t.getNumBitsAbs=function(){if(this.isNegative())return this.equals(e.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var t=this.$2!=0?this.$2:this.$1,n=31;n>0&&(t&1<<n)==0;n--);return this.$2!=0?n+33:n+1},t.isZero=function(){return this.$2==0&&this.$1==0},t.isNegative=function(){return this.$2<0},t.isOdd=function(){return(this.$1&1)==1},t.equals=function(t){return this.$2==t.$2&&this.$1==t.$1},t.lessThan=function(t){return this.compare(t)<0},t.greaterThan=function(t){return this.compare(t)>0},t.greaterThanOrEqual=function(t){return this.compare(t)>=0},t.compare=function(t){if(this.equals(t))return 0;var e=this.isNegative(),n=t.isNegative();return e&&!n?-1:!e&&n?1:this.subtract(t).isNegative()?-1:1},t.negate=function(){return this.equals(e.MIN_VALUE)?e.MIN_VALUE:this.not().add(e.ONE)},t.add=function(n){var t=this.$2>>>16,r=this.$2&65535,o=this.$1>>>16,a=this.$1&65535,i=n.$2>>>16,l=n.$2&65535,s=n.$1>>>16,u=n.$1&65535,c=0,d=0,m=0,p=0;return p+=a+u,m+=p>>>16,p&=65535,m+=o+s,d+=m>>>16,m&=65535,d+=r+l,c+=d>>>16,d&=65535,c+=t+i,c&=65535,e.fromBits(m<<16|p,c<<16|d)},t.subtract=function(t){return this.add(t.negate())},t.multiply=function(n){if(this.isZero())return e.ZERO;if(n.isZero())return e.ZERO;if(this.equals(e.MIN_VALUE))return n.isOdd()?e.MIN_VALUE:e.ZERO;if(n.equals(e.MIN_VALUE))return this.isOdd()?e.MIN_VALUE:e.ZERO;if(this.isNegative())return n.isNegative()?this.negate().multiply(n.negate()):this.negate().multiply(n).negate();if(n.isNegative())return this.multiply(n.negate()).negate();if(this.lessThan(e.$8)&&n.lessThan(e.$8))return e.fromNumber(this.toNumber()*n.toNumber());var t=this.$2>>>16,r=this.$2&65535,o=this.$1>>>16,a=this.$1&65535,i=n.$2>>>16,l=n.$2&65535,s=n.$1>>>16,u=n.$1&65535,c=0,d=0,m=0,p=0;return p+=a*u,m+=p>>>16,p&=65535,m+=o*u,d+=m>>>16,m&=65535,m+=a*s,d+=m>>>16,m&=65535,d+=r*u,c+=d>>>16,d&=65535,d+=o*s,c+=d>>>16,d&=65535,d+=a*l,c+=d>>>16,d&=65535,c+=t*u+r*s+o*l+a*i,c&=65535,e.fromBits(m<<16|p,c<<16|d)},t.div=function(n){if(n.isZero())throw new(o("WebBloksErrors")).WebBloksError("division by zero");if(this.isZero())return e.ZERO;if(this.equals(e.MIN_VALUE)){if(n.equals(e.ONE)||n.equals(e.NEG_ONE))return e.MIN_VALUE;if(n.equals(e.MIN_VALUE))return e.ONE;var t=this.shiftRight(1),r=t.div(n).shiftLeft(1);if(r.equals(e.ZERO))return n.isNegative()?e.ONE:e.NEG_ONE;var a=this.subtract(n.multiply(r)),i=r.add(a.div(n));return i}else if(n.equals(e.MIN_VALUE))return e.ZERO;if(this.isNegative())return n.isNegative()?this.negate().div(n.negate()):this.negate().div(n).negate();if(n.isNegative())return this.div(n.negate()).negate();for(var l=e.ZERO,s=this;s.greaterThanOrEqual(n);){for(var u=Math.max(1,Math.floor(s.toNumber()/n.toNumber())),c=Math.ceil(Math.log(u)/Math.LN2),d=c<=48?1:Math.pow(2,c-48),m=e.fromNumber(u),p=m.multiply(n);p.isNegative()||p.greaterThan(s);)u-=d,m=e.fromNumber(u),p=m.multiply(n);m.isZero()&&(m=e.ONE),l=l.add(m),s=s.subtract(p)}return l},t.modulo=function(t){return this.subtract(this.div(t).multiply(t))},t.not=function(){return e.fromBits(~this.$1,~this.$2)},t.shiftLeft=function(n){var t=n;if(t&=63,t==0)return this;var r=this.$1;if(t<32){var o=this.$2;return e.fromBits(r<<t,o<<t|r>>>32-t)}else return e.fromBits(0,r<<t-32)},t.shiftRight=function(n){var t=n;if(t&=63,t==0)return this;var r=this.$2;if(t<32){var o=this.$1;return e.fromBits(o>>>t|r<<32-t,r>>t)}else return e.fromBits(r>>t-32,r>=0?0:-1)},e})();e.$3={},e.$6=65536,e.$5=e.$6*e.$6,e.$7=e.$5*e.$5,e.$4=e.$7/2,e.ZERO=e.fromInt(0),e.ONE=e.fromInt(1),e.NEG_ONE=e.fromInt(-1),e.MAX_VALUE=e.fromBits(-1,2147483647),e.MIN_VALUE=e.fromBits(0,-2147483648),e.$8=e.fromInt(1<<24),l.default=e}),98);
__d("WebBloksStringAsLong",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t){try{var n=r("WebBloksInt64").fromString(String(t));return n.toString()}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("WebBloksStringConcat",[],(function(t,n,r,o,a,i){function e(e,t,n){return t+n}i.default=e}),66);
__d("WebBloksStringContains",[],(function(t,n,r,o,a,i){function e(e,t,n){return t.includes(n)}i.default=e}),66);
__d("WebBloksStringGetURLLastPathComponent",[],(function(t,n,r,o,a,i){function e(e,t){var n=t.split("/");return n[n.length-1]}i.default=e}),66);
__d("WebBloksStringJoin",[],(function(t,n,r,o,a,i){function e(e,t,n){return n.join(t)}i.default=e}),66);
__d("WebBloksStringLength",[],(function(t,n,r,o,a,i){function e(e,t){return t.length}i.default=e}),66);
__d("WebBloksStringReplace",["WebBloksRegexUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){var i,l=o("WebBloksRegexUtils").extractPatternAndFlags(n),s=(i=l.flags)!=null?i:"";!a&&!s.includes("g")&&(s+="g");var u=new RegExp(l.normalizedPattern,s);return t.replace(u,r)}l.default=e}),98);
__d("WebBloksStringSlice",["WebBloksErrors","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){o("WebBloksUtils").nullthrows(n,"Unexpected null: offset");var a=n<0?n+t.length:n;if(a<0)throw new(o("WebBloksErrors")).WebBloksError("string.Slice: index start < 0");var i;if(r==null)i=t.length;else{if(r<0)throw new(o("WebBloksErrors")).WebBloksError("string.Slice: length < 0");i=a+r}if(i>t.length)throw new(o("WebBloksErrors")).WebBloksError("string.Slice: index end > len(str)");return t.slice(a,i)}l.default=e}),98);
__d("WebBloksStringSplitWithString",[],(function(t,n,r,o,a,i){function e(e,t,n){return t.split(n)}i.default=e}),66);
__d("WebBloksStringStartsWith",[],(function(t,n,r,o,a,i){function e(e,t,n){return t.startsWith(n)}i.default=e}),66);
__d("WebBloksStringToLowerCase",[],(function(t,n,r,o,a,i){function e(e,t){return t.toLowerCase()}i.default=e}),66);
__d("WebBloksStringToUpperCase",[],(function(t,n,r,o,a,i){function e(e,t){return t.toUpperCase()}i.default=e}),66);
__d("WebBloksStringTrim",[],(function(t,n,r,o,a,i){function e(e,t){return t.trim()}i.default=e}),66);
__d("WebBloksStringValueOfNumber",[],(function(t,n,r,o,a,i){function e(e,t){return String(t)}i.default=e}),66);
__d("WebBloksStringValueOfNumberInBase",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t,n){if(n<2||n>36)throw new(o("WebBloksErrors")).WebBloksScriptError("radix parameter of string.ValueOfNumberInBase must be between 2 and 36",e);return Math.floor(t).toString(n)}l.default=e}),98);
__d("WebBloksT3DFromArray",["Transform3DForWebBloks"],(function(t,n,r,o,a,i,l){function e(e,t){return new(r("Transform3DForWebBloks"))(t.map(function(e){return parseFloat(e)}))}l.default=e}),98);
__d("WebBloksTakeLast",[],(function(t,n,r,o,a,i){function e(e){var t;return t=(arguments.length<=1?0:arguments.length-1)-1+1,t<1||arguments.length<=t?void 0:arguments[t]}i.default=e}),66);
__d("WebBloksTemplateMake",[],(function(t,n,r,o,a,i){function e(e,t,n,r){return{templateId:t,expandedVariables:new Map(Object.entries(n)),scopeKey:r,keyPathBase:e.scope}}i.default=e}),66);
__d("WebBloksTextGetText",["WebBloksErrors","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t){var n,r,a=t.uiMutableContainer.domNode;o("WebBloksUtils").nullthrows(a,"Not a valid Text model, uiMutableContainer not set");var i=a==null||(n=a.current)==null?void 0:n.dataset.bloksName;if(i!=="bk.components.Text")throw new(o("WebBloksErrors")).WebBloksError("Not bk.component.Text");var l=a==null||(r=a.current)==null?void 0:r.innerText;return l!=null?l:""}l.default=e}),98);
__d("WebBloksTextInputSetText",["WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r,a=e.bloksContext.updateAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT,{text:n!=null?n:""});(r=a.ref)==null||(r=r.current)==null||r.onExternalUpdate(a.text)}l.default=e}),98);
__d("WebBloksTextInputAppendText",["WebBloksConstants","WebBloksTextInputSetText"],(function(t,n,r,o,a,i,l){function e(e,t,n){var a,i,l=e.bloksContext.getAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT),s=((a=l==null?void 0:l.text)!=null?a:"")+n,u=l==null||(i=l.ref)==null||(i=i.current)==null?void 0:i.appendText;u!=null?(e.bloksContext.updateAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT,{text:s}),u(n)):r("WebBloksTextInputSetText")(e,t,s)}l.default=e}),98);
__d("WebBloksTextInputClearText",["WebBloksTextInputSetText"],(function(t,n,r,o,a,i,l){function e(e,t,n){r("WebBloksTextInputSetText")(e,t,"")}l.default=e}),98);
__d("WebBloksTextInputGetSelectionEnd",["WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t){var n,r=e.bloksContext.getAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT);return r==null||(n=r.ref)==null||(n=n.current)==null||(n=n.getSelection())==null?void 0:n.end}l.default=e}),98);
__d("WebBloksTextInputGetSelectionStart",["WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t){var n,r=e.bloksContext.getAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT);return r==null||(n=r.ref)==null||(n=n.current)==null||(n=n.getSelection())==null?void 0:n.start}l.default=e}),98);
__d("WebBloksTextInputGetText",["WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r,a,i=e.bloksContext.getAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT);return(r=(a=i==null?void 0:i.text)!=null?a:t.get("text"))!=null?r:""}l.default=e}),98);
__d("WebBloksTextInputUnfocus",["WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r,a=e.bloksContext.getAssociatedObject_INTERNAL(t,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT);a==null||(r=a.ref)==null||(r=r.current)==null||r.requestBlur()}l.default=e}),98);
__d("WebBloksTextIsTruncated",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){var n,r=(n=t.uiMutableContainer.domNode)==null?void 0:n.current;return r!=null&&r.scrollHeight>r.clientHeight}i.default=e}),66);
__d("WebBloksTimerCancel",[],(function(t,n,r,o,a,i){function e(e,t,n){var r=t.objectSet.environment.timeoutIDS,o=r.get(n);(o==null?void 0:o.hostTimerID)!=null&&window.clearTimeout(o.hostTimerID),r.delete(n)}i.default=e}),66);
__d("WebBloksTimerRestart",[],(function(t,n,r,o,a,i){function e(e,t){var n=e.bloksContext.objectSet.environment.timeoutIDS,r=n.get(t);r==null||r.hostTimerID!=null||(r.hostTimerID=window.setTimeout(r.tick,r.intervalMs))}i.default=e}),66);
__d("WebBloksTimerStart",[],(function(t,n,r,o,a,i){function e(e,t,n,r,o,a){var i=Number(n),l=t.objectSet.environment.timeoutIDS,s=function(){if(e.executeCatch(o,[a,t]),r){var n=l.get(a);n!=null&&(n.hostTimerID=window.setTimeout(s,i))}else l.delete(a)},u=window.setTimeout(s,i);l.set(a,{hostTimerID:u,tick:s,intervalMs:i})}i.default=e}),66);
__d("WebBloksTimerStop",[],(function(t,n,r,o,a,i){function e(e,t){var n=e.bloksContext.objectSet.environment.timeoutIDS,r=n.get(t);(r==null?void 0:r.hostTimerID)!=null&&(window.clearTimeout(r.hostTimerID),r.hostTimerID=null)}i.default=e}),66);
__d("WebBloksToastComponent",[],(function(t,n,r,o,a,i){function e(e,t){e.objectSet.toastManager.enqueueSimpleToast(t)}i.default=e}),66);
__d("WebBloksTranslate3D",[],(function(t,n,r,o,a,i){function e(e,t,n,r,o){return t.translate(n,r,o),t}i.default=e}),66);
__d("WebBloksTreeMake",["WebBloksErrors","WebBloksModel"],(function(t,n,r,o,a,i,l){function e(e,t){for(var n={},r=arguments.length,a=new Array(r>2?r-2:0),i=2;i<r;i++)a[i-2]=arguments[i];for(var l=0;l<a.length;l+=2){var s=a[l];if(typeof s=="string")n[s]=a[l+1];else throw new(o("WebBloksErrors")).WebBloksError("Invalid key type in `bk.action.tree.Make`.")}var u=new(o("WebBloksModel")).WebBloksModel(t,n);return u.keyPath=e.scope,u}l.default=e}),98);
__d("WebBloksVisibilityContextGetTimeSinceLastImpressionInMS",[],(function(t,n,r,o,a,i){function e(e,t){return Date.now()-t.lastImpressionTimeMS}i.default=e}),66);
__d("WebBloksVisibilityContextHasSeenBefore",["WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){function e(e,t){return o("WebBloksBooleanUtils").isTrue(t.hasSeenBefore)}l.default=e}),98);
__d("WebBloksVisibilityContextPercentVisible",[],(function(t,n,r,o,a,i){function e(e,t){var n;return(n=t.percentVisible)!=null?n:null}i.default=e}),66);
__d("WebBloksWithScope",[],(function(t,n,r,o,a,i){function e(e,t){var n=e.createScopedContext();return n.executeCatch(t,[])}i.default=e}),66);
__d("WebBloksWriteGlobalConsistencyStore",[],(function(t,n,r,o,a,i){function e(e,t,n){var r=e.objectSet.globalStateDataModule;r&&r.publish(t,n)}i.default=e}),66);
__d("WebBloksWriteLocalState",["WebBloksErrors","WebBloksScopedIds"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){var a=e.scope,i=e.bloksContext.treeManager;if(r===0){i.enqueueVariableUpdateOperation(t,n);return}if(a==null)throw new(o("WebBloksErrors")).WebBloksError("Keypath must be set on environment if trying to WriteLocalState on a depth larger than 0.");if(r>a.length)throw new(o("WebBloksErrors")).WebBloksError("Depth supplied should never exceed the size of the key path.");var l=o("WebBloksScopedIds").getScopedVariableIdAtDepth(a,t,r);i.enqueueVariableUpdateOperation(l,n)}l.default=e}),98);
__d("WebBloksf32Convert",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t){if(t===!0)return 1;if(t===!1)return 0;var n=parseFloat(t);if(Number.isNaN(n))throw new(o("WebBloksErrors")).WebBloksScriptError("Failed to convert value to `f32`",e);return n}l.default=e}),98);
__d("WebBloksNumberUtils",[],(function(t,n,r,o,a,i){function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=((""+t[0]).split(".")[1]||"").length,o=t.reduce(function(e,t){var n=((""+t).split(".")[1]||"").length;return Math.max(e,n)},r);return Math.pow(10,o)}i.getConversionFactor=e}),66);
__d("WebBloksf32NumberAdd",["WebBloksNumberUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=o("WebBloksNumberUtils").getConversionFactor(t,n);return Math.round(t*r+n*r)/r}l.default=e}),98);
__d("WebBloksf32NumberDiv",["WebBloksNumberUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=o("WebBloksNumberUtils").getConversionFactor(t,n);return Math.round(r*t)/Math.round(r*n)}l.default=e}),98);
__d("WebBloksf32NumberLog",[],(function(t,n,r,o,a,i){function e(e,t){return Math.log(t)}i.default=e}),66);
__d("WebBloksf32NumberMul",["WebBloksNumberUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=o("WebBloksNumberUtils").getConversionFactor(t,n);return Math.round(t*r*(n*r))/(r*r)}l.default=e}),98);
__d("WebBloksf32NumberPow",[],(function(t,n,r,o,a,i){function e(e,t,n){return Math.pow(t,n)}i.default=e}),66);
__d("WebBloksf32NumberSqrt",[],(function(t,n,r,o,a,i){function e(e,t){return Math.sqrt(t)}i.default=e}),66);
__d("WebBloksf32NumberSub",["WebBloksNumberUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=o("WebBloksNumberUtils").getConversionFactor(t,n);return Math.round(t*r-n*r)/r}l.default=e}),98);
__d("WebBloksi32Convert",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t){var n=parseInt(t,10);if(Number.isNaN(n))throw new(o("WebBloksErrors")).WebBloksScriptError("Failed to convert value to `i32`",e);return n}l.default=e}),98);
__d("WebBloksi32NumberAdd",[],(function(t,n,r,o,a,i){function e(e,t,n){return t+n}i.default=e}),66);
__d("WebBloksi32NumberDiv",[],(function(t,n,r,o,a,i){function e(e,t,n){return parseInt(t/n,10)}i.default=e}),66);
__d("WebBloksi32NumberMul",[],(function(t,n,r,o,a,i){function e(e,t,n){return t*n}i.default=e}),66);
__d("WebBloksi32NumberSub",[],(function(t,n,r,o,a,i){function e(e,t,n){return t-n}i.default=e}),66);
__d("WebBloksi64ConstNumber",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t){try{var n=r("WebBloksInt64").fromString(String(t));return n.toString()}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("WebBloksi64Convert",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e){var t,n,r=/^(-?)(\d*)(?:\.(\d*))?(?:[eE]([+-]?\d+))?$/.exec(e);if(r==null)return e;var o=r[1],a=(t=r[2])!=null?t:"",i=(n=r[3])!=null?n:"",l=a+i;if(l==="")return e;var s=r[4]!=null?parseInt(r[4],10):0,u=a.length+s,c;return u<=0?c="0":u>=l.length?c=l+"0".repeat(u-l.length):c=l.substring(0,u),c=c.replace(/^0+(?=\d)/,""),c==="0"?"0":o+c}function s(t,n){try{var a=r("WebBloksInt64").fromString(e(String(n)));return a.toString()}catch(e){var i=e instanceof Error?e.message:"Failed to convert to i64";throw new(o("WebBloksErrors")).WebBloksScriptError(i,t)}}l.default=s}),98);
__d("WebBloksi64NumberAdd",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t,n){try{var a=r("WebBloksInt64").fromString(String(t)),i=r("WebBloksInt64").fromString(String(n));return a.add(i).toString()}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("WebBloksi64NumberDiv",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t,n){try{var a=r("WebBloksInt64").fromString(String(t)),i=r("WebBloksInt64").fromString(String(n));return a.div(i).toString()}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("WebBloksi64NumberEq",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t,n){try{var a=r("WebBloksInt64").fromString(String(t)),i=r("WebBloksInt64").fromString(String(n));return a.equals(i)}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("WebBloksi64NumberGt",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t,n){try{var a=r("WebBloksInt64").fromString(String(t)),i=r("WebBloksInt64").fromString(String(n));return a.greaterThan(i)}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("WebBloksi64NumberLt",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t,n){try{var a=r("WebBloksInt64").fromString(String(t)),i=r("WebBloksInt64").fromString(String(n));return a.lessThan(i)}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("WebBloksi64NumberSub",["WebBloksErrors","WebBloksInt64"],(function(t,n,r,o,a,i,l){function e(e,t,n){try{var a=r("WebBloksInt64").fromString(String(t)),i=r("WebBloksInt64").fromString(String(n));return a.subtract(i).toString()}catch(t){throw new(o("WebBloksErrors")).WebBloksScriptError(t.message,e)}}l.default=e}),98);
__d("CoreWebBloksActions",["WebBloksAccessibilityAnnouncement","WebBloksAccessibilitySetFocus","WebBloksAddChild","WebBloksAppendEmbeddedChildren","WebBloksApply","WebBloksArrayAppend","WebBloksArrayClone","WebBloksArrayConcat","WebBloksArrayFilter","WebBloksArrayGet","WebBloksArrayLength","WebBloksArrayMake","WebBloksArrayMap","WebBloksArrayPut","WebBloksArrayPutAndGet","WebBloksArrayReduce","WebBloksArrayRemove","WebBloksArrayRemoveAndGet","WebBloksArraySlice","WebBloksArraySortedArray","WebBloksArrayUpdate","WebBloksAsyncAction","WebBloksAsyncActionWithDataManifest","WebBloksAsyncActionWithDataManifestV2","WebBloksAsyncLoadV2","WebBloksBindWithArrayV2","WebBloksBoolAnd","WebBloksBoolConst","WebBloksBoolNot","WebBloksBoolOr","WebBloksCallbackApply","WebBloksCallbackMake","WebBloksCallbackMakeWithScopeOnly","WebBloksChildAtIndex","WebBloksClipboardSetString","WebBloksConstNumber","WebBloksContextGet","WebBloksCurrentTimeMillis","WebBloksDangerouslyGetTreeFromParseResult","WebBloksDelay","WebBloksDeviceLog","WebBloksDismissBottomSheet","WebBloksDismissToast","WebBloksDummy","WebBloksFindComponentContext","WebBloksGetAttr","WebBloksGetClientTimezone","WebBloksGetDatetimeText","WebBloksGetDeserializedEmbeddedPayload","WebBloksGetHeightV2","WebBloksGetParameter","WebBloksGetPayload","WebBloksGetScript","WebBloksGetState","WebBloksGetTemplateArg","WebBloksGetValue","WebBloksGetVariable2","WebBloksGetVariableWithScope","WebBloksGetWidthV2","WebBloksIndexOfChild","WebBloksInflateSync","WebBloksInsertChildrenAfter","WebBloksInsertEmbeddedChildrenAfter","WebBloksInsertEmbeddedChildrenBefore","WebBloksJsonDecode","WebBloksJsonEncode","WebBloksJsonEncodeV3","WebBloksMakeFlat","WebBloksMapClone","WebBloksMapFilter","WebBloksMapGet","WebBloksMapKeys","WebBloksMapMake","WebBloksMapMerge","WebBloksMapRemove","WebBloksMapUpdate","WebBloksMapValues","WebBloksMatch","WebBloksMatchesRegex","WebBloksMinsToBool","WebBloksMinsTypeOf","WebBloksNavigationCloseScreen","WebBloksNumberAnd","WebBloksNumberEq","WebBloksNumberGe","WebBloksNumberGt","WebBloksNumberLt","WebBloksNumberMod","WebBloksNumberOr","WebBloksNumberRand","WebBloksOneTimeBind","WebBloksOpenBottomSheet","WebBloksOpenBottomSheetV2","WebBloksOpenDialog","WebBloksOpenDialogV2","WebBloksOpenFullScreenV4","WebBloksOpenScreen","WebBloksOpenScreenByRoute","WebBloksOpenUniversalLink","WebBloksOpenUrl","WebBloksOpenUrlV2","WebBloksParseEmbedded","WebBloksParseEmbeddedV2","WebBloksParseHoistedPayload","WebBloksPopBottomSheet","WebBloksPrependChildren","WebBloksPrependEmbeddedChildren","WebBloksPushBottomSheetV2","WebBloksReduce","WebBloksRefMake","WebBloksRefRead","WebBloksRefWrite","WebBloksReflow","WebBloksRefresh","WebBloksRemoveChild","WebBloksRemoveChildrenBetween","WebBloksReplaceChild","WebBloksReplaceChildren","WebBloksReplaceChildrenAfter","WebBloksReplaceEmbeddedChild","WebBloksReplaceEmbeddedChildren","WebBloksReplaceEmbeddedChildrenAfter","WebBloksRequestFocus","WebBloksRotate3D","WebBloksScale3D","WebBloksSessionStoreGet","WebBloksSetAttr","WebBloksShareText","WebBloksShowToast","WebBloksShowToastV2","WebBloksSliderSetPosition","WebBloksStringAsInteger","WebBloksStringAsLong","WebBloksStringConcat","WebBloksStringContains","WebBloksStringGetURLLastPathComponent","WebBloksStringJoin","WebBloksStringLength","WebBloksStringReplace","WebBloksStringSlice","WebBloksStringSplitWithString","WebBloksStringStartsWith","WebBloksStringToLowerCase","WebBloksStringToUpperCase","WebBloksStringTrim","WebBloksStringValueOfNumber","WebBloksStringValueOfNumberInBase","WebBloksT3DFromArray","WebBloksTakeLast","WebBloksTemplateMake","WebBloksTextGetText","WebBloksTextInputAppendText","WebBloksTextInputClearText","WebBloksTextInputGetSelectionEnd","WebBloksTextInputGetSelectionStart","WebBloksTextInputGetText","WebBloksTextInputSetText","WebBloksTextInputUnfocus","WebBloksTextIsTruncated","WebBloksTimerCancel","WebBloksTimerRestart","WebBloksTimerStart","WebBloksTimerStop","WebBloksToastComponent","WebBloksTranslate3D","WebBloksTreeMake","WebBloksVisibilityContextGetTimeSinceLastImpressionInMS","WebBloksVisibilityContextHasSeenBefore","WebBloksVisibilityContextPercentVisible","WebBloksWithScope","WebBloksWriteGlobalConsistencyStore","WebBloksWriteLocalState","WebBloksf32Convert","WebBloksf32NumberAdd","WebBloksf32NumberDiv","WebBloksf32NumberLog","WebBloksf32NumberMul","WebBloksf32NumberPow","WebBloksf32NumberSqrt","WebBloksf32NumberSub","WebBloksi32Convert","WebBloksi32NumberAdd","WebBloksi32NumberDiv","WebBloksi32NumberMul","WebBloksi32NumberSub","WebBloksi64ConstNumber","WebBloksi64Convert","WebBloksi64NumberAdd","WebBloksi64NumberDiv","WebBloksi64NumberEq","WebBloksi64NumberGt","WebBloksi64NumberLt","WebBloksi64NumberSub"],(function(t,n,r,o,a,i,l){var e,s={"bk.action.GetClientTimezone":r("WebBloksGetClientTimezone"),"bk.action.GetDatetimeText":r("WebBloksGetDatetimeText"),"bk.action.OpenUniversalLink":r("WebBloksOpenUniversalLink"),"bk.action.accessibility.Announcement":r("WebBloksAccessibilityAnnouncement"),"bk.action.accessibility.SetFocus":r("WebBloksAccessibilitySetFocus"),"bk.action.array.Append":r("WebBloksArrayAppend"),"bk.action.array.Clone":r("WebBloksArrayClone"),"bk.action.array.Concat":r("WebBloksArrayConcat"),"bk.action.array.Filter":r("WebBloksArrayFilter"),"bk.action.array.Get":r("WebBloksArrayGet"),"bk.action.array.Length":r("WebBloksArrayLength"),"bk.action.array.Make":r("WebBloksArrayMake"),"bk.action.array.Map":r("WebBloksArrayMap"),"bk.action.array.Put":r("WebBloksArrayPut"),"bk.action.array.PutAndGet":r("WebBloksArrayPutAndGet"),"bk.action.array.Reduce":r("WebBloksArrayReduce"),"bk.action.array.Remove":r("WebBloksArrayRemove"),"bk.action.array.RemoveAndGet":r("WebBloksArrayRemoveAndGet"),"bk.action.array.Slice":r("WebBloksArraySlice"),"bk.action.array.SortedArray":r("WebBloksArraySortedArray"),"bk.action.array.Update":r("WebBloksArrayUpdate"),"bk.action.bloks.AddChild":r("WebBloksAddChild"),"bk.action.bloks.AppendEmbeddedChildren":r("WebBloksAppendEmbeddedChildren"),"bk.action.bloks.AsyncAction":r("WebBloksAsyncAction"),"bk.action.bloks.AsyncActionWithDataManifest":r("WebBloksAsyncActionWithDataManifest"),"bk.action.bloks.AsyncActionWithDataManifestV2":r("WebBloksAsyncActionWithDataManifestV2"),"bk.action.bloks.AsyncLoadV2":r("WebBloksAsyncLoadV2"),"bk.action.bloks.ChildAtIndex":r("WebBloksChildAtIndex"),"bk.action.bloks.DangerouslyGetTreeFromParseResult":r("WebBloksDangerouslyGetTreeFromParseResult"),"bk.action.bloks.DismissBottomSheet":r("WebBloksDismissBottomSheet"),"bk.action.bloks.DismissKeyboard":e=r("WebBloksDummy"),"bk.action.bloks.Find":r("WebBloksFindComponentContext"),"bk.action.bloks.FindContainer":r("WebBloksFindComponentContext"),"bk.action.bloks.GetDeserializedEmbeddedPayload":r("WebBloksGetDeserializedEmbeddedPayload"),"bk.action.bloks.GetParameter":r("WebBloksGetParameter"),"bk.action.bloks.GetPayload":r("WebBloksGetPayload"),"bk.action.bloks.GetScript":r("WebBloksGetScript"),"bk.action.bloks.GetState":r("WebBloksGetState"),"bk.action.bloks.GetValue":r("WebBloksGetValue"),"bk.action.bloks.GetVariable2":r("WebBloksGetVariable2"),"bk.action.bloks.GetVariableWithScope":r("WebBloksGetVariableWithScope"),"bk.action.bloks.IndexOfChild":r("WebBloksIndexOfChild"),"bk.action.bloks.InflateSync":r("WebBloksInflateSync"),"bk.action.bloks.InsertChildrenAfter":r("WebBloksInsertChildrenAfter"),"bk.action.bloks.InsertEmbeddedChildrenAfter":r("WebBloksInsertEmbeddedChildrenAfter"),"bk.action.bloks.InsertEmbeddedChildrenBefore":r("WebBloksInsertEmbeddedChildrenBefore"),"bk.action.bloks.OneTimeBind":r("WebBloksOneTimeBind"),"bk.action.bloks.OpenBottomSheet":r("WebBloksOpenBottomSheet"),"bk.action.bloks.OpenBottomSheetV2":r("WebBloksOpenBottomSheetV2"),"bk.action.bloks.OpenFullScreenV4":r("WebBloksOpenFullScreenV4"),"bk.action.bloks.OpenScreen":r("WebBloksOpenScreen"),"bk.action.bloks.ParseEmbedded":r("WebBloksParseEmbedded"),"bk.action.bloks.ParseEmbeddedV2":r("WebBloksParseEmbeddedV2"),"bk.action.bloks.ParseHoistedPayload":r("WebBloksParseHoistedPayload"),"bk.action.bloks.PopBottomSheet":r("WebBloksPopBottomSheet"),"bk.action.bloks.PrependChildren":r("WebBloksPrependChildren"),"bk.action.bloks.PrependEmbeddedChildren":r("WebBloksPrependEmbeddedChildren"),"bk.action.bloks.PushBottomSheetV2":r("WebBloksPushBottomSheetV2"),"bk.action.bloks.Reduce":r("WebBloksReduce"),"bk.action.bloks.Reflow":r("WebBloksReflow"),"bk.action.bloks.RemoveChild":r("WebBloksRemoveChild"),"bk.action.bloks.RemoveChildrenBetween":r("WebBloksRemoveChildrenBetween"),"bk.action.bloks.ReplaceChild":r("WebBloksReplaceChild"),"bk.action.bloks.ReplaceChildren":r("WebBloksReplaceChildren"),"bk.action.bloks.ReplaceChildrenAfter":r("WebBloksReplaceChildrenAfter"),"bk.action.bloks.ReplaceEmbeddedChildV2":r("WebBloksReplaceEmbeddedChild"),"bk.action.bloks.ReplaceEmbeddedChildren":r("WebBloksReplaceEmbeddedChildren"),"bk.action.bloks.ReplaceEmbeddedChildrenAfter":r("WebBloksReplaceEmbeddedChildrenAfter"),"bk.action.bloks.RequestFocus":r("WebBloksRequestFocus"),"bk.action.bloks.WithScope":r("WebBloksWithScope"),"bk.action.bloks.WriteGlobalConsistencyStore":r("WebBloksWriteGlobalConsistencyStore"),"bk.action.bloks.WriteLocalState":r("WebBloksWriteLocalState"),"bk.action.bool.And":r("WebBloksBoolAnd"),"bk.action.bool.Const":r("WebBloksBoolConst"),"bk.action.bool.Not":r("WebBloksBoolNot"),"bk.action.bool.Or":r("WebBloksBoolOr"),"bk.action.callback.Apply":r("WebBloksCallbackApply"),"bk.action.callback.Make":r("WebBloksCallbackMake"),"bk.action.callback.MakeWithScopeOnly":r("WebBloksCallbackMakeWithScopeOnly"),"bk.action.component.GetAttr":r("WebBloksGetAttr"),"bk.action.component.GetHeight":r("WebBloksGetHeightV2"),"bk.action.component.GetHeight2":r("WebBloksGetHeightV2"),"bk.action.component.GetWidth":r("WebBloksGetWidthV2"),"bk.action.component.GetWidth2":r("WebBloksGetWidthV2"),"bk.action.component.SetAttr":r("WebBloksSetAttr"),"bk.action.context.Get":r("WebBloksContextGet"),"bk.action.core.Apply":r("WebBloksApply"),"bk.action.core.Coalesce":e,"bk.action.core.Default":e,"bk.action.core.Delay":r("WebBloksDelay"),"bk.action.core.FuncConst":e,"bk.action.core.GetArg":e,"bk.action.core.GetTemplateArg":r("WebBloksGetTemplateArg"),"bk.action.core.If":e,"bk.action.core.Match":r("WebBloksMatch"),"bk.action.core.Pattern":e,"bk.action.core.SetArg":e,"bk.action.core.TakeLast":r("WebBloksTakeLast"),"bk.action.core.While":e,"bk.action.debug.internal.DeviceLog":r("WebBloksDeviceLog"),"bk.action.debug.internal.DeviceLogV2":r("WebBloksDeviceLog"),"bk.action.dialog.OpenDialog":r("WebBloksOpenDialog"),"bk.action.dialog.OpenDialogV2":r("WebBloksOpenDialogV2"),"bk.action.f32.Add":r("WebBloksf32NumberAdd"),"bk.action.f32.Const":r("WebBloksConstNumber"),"bk.action.f32.Convert":r("WebBloksf32Convert"),"bk.action.f32.Div":r("WebBloksf32NumberDiv"),"bk.action.f32.Eq":r("WebBloksNumberEq"),"bk.action.f32.Gt":r("WebBloksNumberGt"),"bk.action.f32.Log":r("WebBloksf32NumberLog"),"bk.action.f32.Lt":r("WebBloksNumberLt"),"bk.action.f32.Mul":r("WebBloksf32NumberMul"),"bk.action.f32.Pow":r("WebBloksf32NumberPow"),"bk.action.f32.Sqrt":r("WebBloksf32NumberSqrt"),"bk.action.f32.Sub":r("WebBloksf32NumberSub"),"bk.action.f64.Const":r("WebBloksConstNumber"),"bk.action.function.BindWithArrayV2":r("WebBloksBindWithArrayV2"),"bk.action.i32.Add":r("WebBloksi32NumberAdd"),"bk.action.i32.And":r("WebBloksNumberAnd"),"bk.action.i32.Const":r("WebBloksConstNumber"),"bk.action.i32.Convert":r("WebBloksi32Convert"),"bk.action.i32.Div":r("WebBloksi32NumberDiv"),"bk.action.i32.Eq":r("WebBloksNumberEq"),"bk.action.i32.Gt":r("WebBloksNumberGt"),"bk.action.i32.Lt":r("WebBloksNumberLt"),"bk.action.i32.Mod":r("WebBloksNumberMod"),"bk.action.i32.Mul":r("WebBloksi32NumberMul"),"bk.action.i32.Or":r("WebBloksNumberOr"),"bk.action.i32.Rand":r("WebBloksNumberRand"),"bk.action.i32.Sub":r("WebBloksi32NumberSub"),"bk.action.i64.Add":r("WebBloksi64NumberAdd"),"bk.action.i64.Const":r("WebBloksi64ConstNumber"),"bk.action.i64.Convert":r("WebBloksi64Convert"),"bk.action.i64.Div":r("WebBloksi64NumberDiv"),"bk.action.i64.Eq":r("WebBloksi64NumberEq"),"bk.action.i64.Gt":r("WebBloksi64NumberGt"),"bk.action.i64.Lt":r("WebBloksi64NumberLt"),"bk.action.i64.Sub":r("WebBloksi64NumberSub"),"bk.action.internal.Refresh":r("WebBloksRefresh"),"bk.action.io.CurrentTimeMillis":r("WebBloksCurrentTimeMillis"),"bk.action.io.Toast":r("WebBloksToastComponent"),"bk.action.io.clipboard.SetString":r("WebBloksClipboardSetString"),"bk.action.map.Append":e,"bk.action.map.Clone":r("WebBloksMapClone"),"bk.action.map.Filter":r("WebBloksMapFilter"),"bk.action.map.Get":r("WebBloksMapGet"),"bk.action.map.Keys":r("WebBloksMapKeys"),"bk.action.map.Make":r("WebBloksMapMake"),"bk.action.map.MakeFlat":r("WebBloksMakeFlat"),"bk.action.map.Merge":r("WebBloksMapMerge"),"bk.action.map.Remove":r("WebBloksMapRemove"),"bk.action.map.Update":r("WebBloksMapUpdate"),"bk.action.map.Values":r("WebBloksMapValues"),"bk.action.mins.Ge":r("WebBloksNumberGe"),"bk.action.mins.ToBool":r("WebBloksMinsToBool"),"bk.action.mins.TypeOf":r("WebBloksMinsTypeOf"),"bk.action.navigation.CloseScreen":r("WebBloksNavigationCloseScreen"),"bk.action.navigation.OpenUrl":r("WebBloksOpenUrl"),"bk.action.navigation.OpenUrlV2":r("WebBloksOpenUrlV2"),"bk.action.navigation.SetNavBar":e,"bk.action.payload.Make":e,"bk.action.ref.Make":r("WebBloksRefMake"),"bk.action.ref.Read":r("WebBloksRefRead"),"bk.action.ref.Write":r("WebBloksRefWrite"),"bk.action.session_store.Get":r("WebBloksSessionStoreGet"),"bk.action.share.Text":r("WebBloksShareText"),"bk.action.slider.SetPosition":r("WebBloksSliderSetPosition"),"bk.action.splice.Apply":e,"bk.action.splice.Get":e,"bk.action.string.AsInteger":r("WebBloksStringAsInteger"),"bk.action.string.AsLong":r("WebBloksStringAsLong"),"bk.action.string.Concat":r("WebBloksStringConcat"),"bk.action.string.Contains":r("WebBloksStringContains"),"bk.action.string.GetURLLastPathComponent":r("WebBloksStringGetURLLastPathComponent"),"bk.action.string.Join":r("WebBloksStringJoin"),"bk.action.string.JsonDecode":r("WebBloksJsonDecode"),"bk.action.string.JsonEncode":r("WebBloksJsonEncode"),"bk.action.string.JsonEncodeV2":r("WebBloksJsonEncode"),"bk.action.string.JsonEncodeV3":r("WebBloksJsonEncodeV3"),"bk.action.string.Length":r("WebBloksStringLength"),"bk.action.string.MatchesRegex":r("WebBloksMatchesRegex"),"bk.action.string.Replace":r("WebBloksStringReplace"),"bk.action.string.Slice":r("WebBloksStringSlice"),"bk.action.string.SplitWithString":r("WebBloksStringSplitWithString"),"bk.action.string.StartsWith":r("WebBloksStringStartsWith"),"bk.action.string.ToLowerCase":r("WebBloksStringToLowerCase"),"bk.action.string.ToUpperCase":r("WebBloksStringToUpperCase"),"bk.action.string.Trim":r("WebBloksStringTrim"),"bk.action.string.ValueOfNumber":r("WebBloksStringValueOfNumber"),"bk.action.string.ValueOfNumberInBase":r("WebBloksStringValueOfNumberInBase"),"bk.action.t3d.FromArray":r("WebBloksT3DFromArray"),"bk.action.t3d.Rotate":r("WebBloksRotate3D"),"bk.action.t3d.Scale":r("WebBloksScale3D"),"bk.action.t3d.Translate":r("WebBloksTranslate3D"),"bk.action.template.Make":r("WebBloksTemplateMake"),"bk.action.text.GetText":r("WebBloksTextGetText"),"bk.action.text.IsTruncated":r("WebBloksTextIsTruncated"),"bk.action.text_input.AppendText":r("WebBloksTextInputAppendText"),"bk.action.text_input.ClearText":r("WebBloksTextInputClearText"),"bk.action.text_input.Unfocus":r("WebBloksTextInputUnfocus"),"bk.action.textinput.GetSelectionEnd":r("WebBloksTextInputGetSelectionEnd"),"bk.action.textinput.GetSelectionStart":r("WebBloksTextInputGetSelectionStart"),"bk.action.textinput.GetText":r("WebBloksTextInputGetText"),"bk.action.textinput.SetText":r("WebBloksTextInputSetText"),"bk.action.textinput.SetTextV2":r("WebBloksTextInputSetText"),"bk.action.timer.Cancel":r("WebBloksTimerCancel"),"bk.action.timer.Restart":r("WebBloksTimerRestart"),"bk.action.timer.Start":r("WebBloksTimerStart"),"bk.action.timer.Stop":r("WebBloksTimerStop"),"bk.action.toast.DismissToast":r("WebBloksDismissToast"),"bk.action.toast.ShowToast":r("WebBloksShowToast"),"bk.action.toast.ShowToastV2":r("WebBloksShowToastV2"),"bk.action.tree.Make":r("WebBloksTreeMake"),"bk.action.visibility_context.GetTimeSinceLastImpressionInMS":r("WebBloksVisibilityContextGetTimeSinceLastImpressionInMS"),"bk.action.visibility_context.HasSeenBefore":r("WebBloksVisibilityContextHasSeenBefore"),"bk.action.visibility_context.PercentVisible":r("WebBloksVisibilityContextPercentVisible"),"bk.action.webbloks.OpenScreenByRoute":r("WebBloksOpenScreenByRoute"),"bk.versioning.bind.GranularV4":e,"bk.versioning.bind.Interleaved":e,"bk.versioning.bloks.GlobalStateWithInitialLispy":e,"bk.versioning.bloks.HoistedTemplates":e,"bk.versioning.bloks.NamedSplices":e,"bk.versioning.bloks.ScreenQueryContainerConfigIDServerParam":e,"bk.versioning.bloks.ViewportDimensionsDataModule":e,"bk.versioning.lispy.NumericLiterals":e};l.ACTIONS=s}),98);
__d("WebBloksCDSBottomSheetWrapper",["WebBloksCDSWrapperImpl.react","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.get("content"),a=t.get("header"),i=t.get("top_banner"),l=o("WebBloksComponentContext").useWebBloksContext(),u=l.renderNode,c=t.get("web_background_overlay_color");return s.jsx(r("WebBloksCDSWrapperImpl.react"),{backgroundOverlayColor:c,content:u(n),header:a!=null?u(a):null,topBanner:i!=null?u(i):null,shouldRenderGradient:!1})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksCanvasUtils",["WebBloksErrors","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n){switch(e.styleId){case"bk.types.CanvasShadow":{var r=f(e.get("dx"),t),a=g(e.get("dy"),t),i=f(e.get("radius"),t),l=o("WebBloksUtils").getRGBColorWithTheme(e.get("themed_color"),n);t.shadowBlur=i*2,t.shadowOffsetX=r*2,t.shadowOffsetY=a*2,t.shadowColor=l;break}default:throw new(o("WebBloksErrors")).WebBloksError(e.styleId+" is not yet implemented. Add missing signature in `bk.component.Canvas`")}}function s(e,t,n){switch(e.styleId){case"bk.types.CanvasShadingColor":{var r=o("WebBloksUtils").getRGBColorWithTheme(e.get("themed_color"),n);t.fillStyle=r,t.strokeStyle=r;break}case"bk.types.CanvasShadingGradientLinear":{var a=d(e,t,n);t.fillStyle=a,t.strokeStyle=a;break}case"bk.types.CanvasShadingGradientRadial":{var i=m(e,t,n);t.fillStyle=i,t.strokeStyle=i;break}default:throw new(o("WebBloksErrors")).WebBloksError(e.styleId+" is not yet implemented. Add missing signature in `bk.component.Canvas`")}}function u(e,t){switch(e.styleId){case"bk.types.CanvasBlendingMode":{t.globalCompositeOperation=c(e.get("mode"));break}default:throw new(o("WebBloksErrors")).WebBloksError(e.styleId+" is not yet implemented. Add missing signature in `bk.component.Canvas`")}}function c(e){switch(e){case"dst_atop":return"destination-atop";case"dst_in":return"destination-in";case"dst_out":return"destination-out";case"dst_over":return"destination-over";case"src":case"src_over":return"source-over";case"src_atop":return"source-atop";case"src_in":return"source-in";case"src_out":return"source-out";default:return e}}function d(e,t,n){for(var r=f(e.get("start_x"),t),a=g(e.get("start_y"),t),i=f(e.get("end_x"),t),l=g(e.get("end_y"),t),s=t.createLinearGradient(r,a,i,l),u=e.get("gradient"),c=u.get("positions"),d=u.get("themed_colors"),m=0;m<c.length;m++){var p=c[m],_=d[m];s.addColorStop(p,o("WebBloksUtils").getRGBColorWithTheme(_,n))}return s}function m(e,t,n){for(var r=f(e.get("center_x"),t),a=g(e.get("center_y"),t),i=parseFloat(e.get("radius")),l=t.createRadialGradient(r,a,0,r,a,i),s=e.get("gradient"),u=s.get("positions"),c=s.get("themed_colors"),d=0;d<u.length;d++){var m=u[d],p=c[d];l.addColorStop(m,o("WebBloksUtils").getRGBColorWithTheme(p,n))}return l}function p(e,t){var n,r=document.createElement("canvas");return r.style.position="absolute",r.style.top="0",r.style.visibility="hidden",(n=document.body)==null||n.appendChild(r),r.width=e,r.height=t,r}function _(e,t){return t!=null&&typeof e=="string"&&e.includes("%")?parseFloat(e)/100*t:parseFloat(e)}function f(e,t){return _(e,t.canvas.clientWidth)}function g(e,t){return _(e,t.canvas.clientHeight)}l.drawShadowToCanvas=e,l.drawShadingToCanvas=s,l.drawBlendingModeToCanvas=u,l.getCompositeOperation=c,l.createLinearGradient=d,l.createRadialGradient=m,l.createSecondaryCanvasElement=p,l.getCanvasSizePixelValue=_,l.getCanvasPixelValRelativeToWidth=f,l.getCanvasPixelValRelativeToHeight=g}),98);
__d("WebBloksCanvasDrawToContext",["WebBloksCanvasUtils","WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(t,n,r){switch(t.styleId){case"bk.types.CanvasGroup":{var a=t.getSubNode("transform");a!=null&&d(a,n,r);var i=t.get("clip");i!=null&&(e(i,n,r),n.clip());var l=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(t.get("width"),n),m=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(t.get("height"),n);if(l>0&&m>0){var p=o("WebBloksCanvasUtils").createSecondaryCanvasElement(l,m),_=p.getContext("2d");d(t,_,r),n.drawImage(p,0,0),p.remove()}else d(t,n,r);break}case"bk.types.CanvasLayer":{var f=t.getSubNode("transform");f!=null&&d(f,n,r);var g=t.get("blending_mode");g!=null&&o("WebBloksCanvasUtils").drawBlendingModeToCanvas(g,n);var h=t.get("clip");h!=null&&(e(h,n,r),n.clip());var y=t.get("alpha");y!=null&&(n.globalAlpha=parseFloat(y));var C=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(t.get("width"),n),b=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(t.get("height"),n);if(C>0&&b>0){var v=o("WebBloksCanvasUtils").createSecondaryCanvasElement(C,b),S=v.getContext("2d");d(t,S,r),n.drawImage(v,0,0),v.remove()}else d(t,n,r);break}case"bk.types.CanvasTransform":{var R=t.get("a"),L=t.get("b"),E=t.get("c"),k=t.get("d"),I=t.get("tx"),T=t.get("ty");if(R!=null&&L!=null&&E!=null&&k!=null&&I!=null&&T!=null){var D;n.setTransform((D=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(R,n),D.getCanvasPixelValRelativeToHeight(L,n),D.getCanvasPixelValRelativeToWidth(E,n),D.getCanvasPixelValRelativeToHeight(k,n),D.getCanvasPixelValRelativeToWidth(I,n),D.getCanvasPixelValRelativeToHeight(T,n))}d(t,n,r);break}case"bk.types.CanvasFill":{var x=t.getSubNode("shape"),$=t.getSubNode("shading"),P=t.getSubNode("shadow"),N=t.getSubNode("blending_mode");x!=null&&e(x,n,r),$!=null&&o("WebBloksCanvasUtils").drawShadingToCanvas($,n,r),N!=null&&o("WebBloksCanvasUtils").drawBlendingModeToCanvas(N,n),P!=null&&o("WebBloksCanvasUtils").drawShadowToCanvas(P,n,r),n.fill();break}case"bk.types.CanvasPath":{n.beginPath(),d(t,n,r);break}case"bk.types.CanvasPathAdd":case"bk.types.CanvasPathArc":case"bk.types.CanvasPathCircle":case"bk.types.CanvasPathClose":case"bk.types.CanvasPathCubicTo":case"bk.types.CanvasPathEllipse":case"bk.types.CanvasPathLineTo":case"bk.types.CanvasPathMoveTo":case"bk.types.CanvasPathQuadTo":case"bk.types.CanvasPathRect":{u(t,n,r);break}case"bk.types.CanvasShapeCircle":case"bk.types.CanvasShapeLine":case"bk.types.CanvasShapeArc":case"bk.types.CanvasShapeRect":case"bk.types.CanvasShapeEllipse":{s(t,n);break}case"bk.types.CanvasTransformInverseV2":case"bk.types.CanvasTransformRotate":case"bk.types.CanvasTransformScale":case"bk.types.CanvasTransformSkew":case"bk.types.CanvasTransformSkewV2":case"bk.types.CanvasTransformTranslate":{c(t,n);break}case"bk.types.CanvasStroke":{n.beginPath();var M=t.get("dash_lengths");if(M!=null&&n.setLineDash(M.map(parseFloat)),n!=null){var w,A,F,O;n.lineWidth=parseFloat(t.get("line_width")),n.lineCap=(w=t.get("line_cap"))!=null?w:"butt",n.lineJoin=(A=t.get("line_join"))!=null?A:"miter",n.miterLimit=parseFloat((F=t.get("miter_limit"))!=null?F:0),n.lineDashOffset=parseFloat((O=t.get("dash_phase"))!=null?O:0)}var B=t.getSubNode("shape"),W=t.getSubNode("shading"),q=t.getSubNode("shadow"),U=t.getSubNode("blending_mode");B!=null&&e(B,n,r),W!=null&&o("WebBloksCanvasUtils").drawShadingToCanvas(W,n,r),U!=null&&o("WebBloksCanvasUtils").drawBlendingModeToCanvas(U,n),q!=null&&o("WebBloksCanvasUtils").drawShadowToCanvas(q,n,r),n.stroke();break}default:throw new(o("WebBloksErrors")).WebBloksError(t.styleId+" is not yet implemented. Add missing signature in `bk.component.Canvas`")}}function s(e,t){var n;switch(e.styleId){case"bk.types.CanvasShapeArc":{var r,a;t.beginPath();var i=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(e.get("center_x"),t),l=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(e.get("center_y"),t),s=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(e.get("radius"),t),u=parseFloat((r=e.get("start_angle"))!=null?r:0),c=parseFloat((a=e.get("end_angle"))!=null?a:360),d=e.get("clockwise")!=null?!e.get("clockwise"):!1;t.arc(i,l,s,u/180*Math.PI,c/180*Math.PI,d);break}case"bk.types.CanvasShapeCircle":t.beginPath(),t.arc(o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(e.get("center_x"),t),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(e.get("center_y"),t),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(e.get("radius"),t),0,2*Math.PI);break;case"bk.types.CanvasShapeLine":{var m;t.beginPath(),t.moveTo((m=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(e.get("start_x"),t),m.getCanvasPixelValRelativeToHeight(e.get("start_y"),t)),t.lineTo(m.getCanvasPixelValRelativeToWidth(e.get("end_x"),t),m.getCanvasPixelValRelativeToHeight(e.get("end_y"),t));break}case"bk.types.CanvasShapeRect":t.beginPath(),t.roundRect(o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(e.get("x"),t),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(e.get("y"),t),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(e.get("width"),t),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(e.get("height"),t),parseFloat((n=e.get("corner_radius"))!=null?n:0));break;case"bk.types.CanvasShapeEllipse":{var m;t.beginPath();var p=(m=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(e.get("width"),t)/2,_=m.getCanvasPixelValRelativeToHeight(e.get("height"),t)/2;t.ellipse(m.getCanvasPixelValRelativeToWidth(e.get("x"),t)+p,m.getCanvasPixelValRelativeToHeight(e.get("y"),t)+_,p,_,0,0,2*Math.PI);break}default:throw new(o("WebBloksErrors")).WebBloksError(e.styleId+" is not yet implemented. Add missing signature in `bk.component.Canvas`")}}function u(t,n,r){switch(t.styleId){case"bk.types.CanvasPathAdd":{var a=t.getSubNode("transform"),i=t.getSubNode("path");a!=null&&d(a,n,r),i!=null&&e(i,n,r);break}case"bk.types.CanvasPathArc":{var l,s,u=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(t.get("center_x"),n),c=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(t.get("center_y"),n),m=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(t.get("radius"),n),p=parseFloat((l=t.get("start_angle"))!=null?l:0),_=parseFloat((s=t.get("end_angle"))!=null?s:360),f=t.get("clockwise")!=null?!t.get("clockwise"):!1;n.arc(u,c,m,p/180*Math.PI,_/180*Math.PI,f);break}case"bk.types.CanvasPathCircle":{var g=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(t.get("center_x"),n),h=o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(t.get("center_y"),n),y=parseFloat(t.get("radius"));n.moveTo(g+y,h),n.arc(g,h,y,0,2*Math.PI),n.restore();break}case"bk.types.CanvasPathClose":{n.closePath();break}case"bk.types.CanvasPathCubicTo":{var C;n.bezierCurveTo((C=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(t.get("control_a_x"),n),C.getCanvasPixelValRelativeToHeight(t.get("control_a_y"),n),C.getCanvasPixelValRelativeToWidth(t.get("control_b_x"),n),C.getCanvasPixelValRelativeToHeight(t.get("control_b_y"),n),C.getCanvasPixelValRelativeToWidth(t.get("end_x"),n),C.getCanvasPixelValRelativeToHeight(t.get("end_y"),n));break}case"bk.types.CanvasPathEllipse":{var C,b=(C=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(t.get("width"),n),v=C.getCanvasPixelValRelativeToHeight(t.get("height"),n),S=b/2,R=v/2,L=C.getCanvasPixelValRelativeToWidth(t.get("x"),n),E=C.getCanvasPixelValRelativeToHeight(t.get("y"),n),k=L+S,I=E+R;n.moveTo(L+b,E+R),n.ellipse(k,I,S,R,0,0,2*Math.PI);break}case"bk.types.CanvasPathLineTo":{n.lineTo(o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(t.get("x"),n),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(t.get("y"),n));break}case"bk.types.CanvasPathMoveTo":{n.moveTo(o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(t.get("x"),n),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(t.get("y"),n));break}case"bk.types.CanvasPathQuadTo":{var C;n.quadraticCurveTo((C=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(t.get("control_x"),n),C.getCanvasPixelValRelativeToHeight(t.get("control_y"),n),C.getCanvasPixelValRelativeToWidth(t.get("end_x"),n),C.getCanvasPixelValRelativeToHeight(t.get("end_y"),n));break}case"bk.types.CanvasPathRect":{var T,C;n.roundRect((C=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(t.get("x"),n),C.getCanvasPixelValRelativeToHeight(t.get("y"),n),C.getCanvasPixelValRelativeToWidth(t.get("width"),n),C.getCanvasPixelValRelativeToHeight(t.get("height"),n),parseFloat((T=t.get("corner_radius"))!=null?T:0));break}default:throw new(o("WebBloksErrors")).WebBloksError(t.styleId+" is not yet implemented. Please override in renderer")}}function c(e,t){switch(e.styleId){case"bk.types.CanvasTransformInverseV2":{var n=window.devicePixelRatio;t.scale(1/n,1/n),t.setTransform(t.getTransform().invertSelf()),t.scale(n,n);break}case"bk.types.CanvasTransformRotate":{var r;t.translate((r=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(e.get("pivot_x"),t),r.getCanvasPixelValRelativeToHeight(e.get("pivot_y"),t)),t.rotate(parseFloat(e.get("degrees"))*Math.PI/180),t.translate(-r.getCanvasPixelValRelativeToWidth(e.get("pivot_x"),t),-r.getCanvasPixelValRelativeToHeight(e.get("pivot_y"),t));break}case"bk.types.CanvasTransformScale":{var r;t.translate((r=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(e.get("pivot_x"),t),r.getCanvasPixelValRelativeToHeight(e.get("pivot_y"),t)),t.scale(r.getCanvasPixelValRelativeToWidth(e.get("x"),t),r.getCanvasPixelValRelativeToHeight(e.get("y"),t)),t.translate(-r.getCanvasPixelValRelativeToWidth(e.get("pivot_x"),t),-r.getCanvasPixelValRelativeToHeight(e.get("pivot_y"),t));break}case"bk.types.CanvasTransformSkew":case"bk.types.CanvasTransformSkewV2":{var r;t.translate((r=o("WebBloksCanvasUtils")).getCanvasPixelValRelativeToWidth(e.get("pivot_x"),t),r.getCanvasPixelValRelativeToHeight(e.get("pivot_y"),t)),t.transform(1,r.getCanvasPixelValRelativeToWidth(e.get("x"),t),r.getCanvasPixelValRelativeToHeight(e.get("y"),t),1,0,0),t.translate(-r.getCanvasPixelValRelativeToWidth(e.get("pivot_x"),t),-r.getCanvasPixelValRelativeToHeight(e.get("pivot_y"),t));break}case"bk.types.CanvasTransformTranslate":{t.translate(o("WebBloksCanvasUtils").getCanvasPixelValRelativeToWidth(e.get("x"),t),o("WebBloksCanvasUtils").getCanvasPixelValRelativeToHeight(e.get("y"),t));break}default:throw new(o("WebBloksErrors")).WebBloksError(e.styleId+" is not yet implemented. Add missing signature in `bk.component.Canvas`")}}function d(t,n,r){var o=t.getSubNodes("children");if(o!=null)for(var a of o)e(a,n,r)}l.default=e}),98);
__d("WebBloksCanvas",["WebBloksCanvasDrawToContext","WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useLayoutEffect,d=u.useRef;function m(e){var t=e.externalStyle,n=e.node,a=o("WebBloksStyle").useStyle(n,t),i=a.style,l=a.wrapper,u=a.wrapperProps,m=o("WebBloksTheme").useTheme().getTheme(),_=d(null);return c(function(){var e=_.current,t=e==null?void 0:e.getContext("2d");if(!(e==null||t==null)){var r=o("WebBloksUtils").toPx(n.get("width")),a=o("WebBloksUtils").toPx(n.get("height"));if(!(r==null||a==null)){e.style.width=r,e.style.height=a;var i=window.devicePixelRatio;e.width=p(r,t.canvas.clientWidth,i),e.height=p(a,t.canvas.clientHeight,i),t.scale(i,i)}}},[n]),c(function(){var e,t=(e=_.current)==null?void 0:e.getContext("2d");if(t!=null){var o=n.getSubNodes("children");if(o!=null)for(var a of o)t.save(),r("WebBloksCanvasDrawToContext")(a,t,m),t.restore()}},[n,m]),l(s.jsx("canvas",babelHelpers.extends({},u,{ref:_,style:babelHelpers.extends({},i)})))}m.displayName=m.name+" [from "+i.id+"]";function p(e,t,n){return n===void 0&&(n=1),t!=null&&e.includes("%")?parseFloat(e)/100*t*n:parseFloat(e)*n}l.default=m}),98);
__d("WebBloksCollectionChildSizesLayoutReady",[],(function(t,n,r,o,a,i){"use strict";var e="layout_ready",l=new Event(e);i.LAYOUT_READY_EVENT_NAME=e,i.LAYOUT_READY_EVENT=l}),66);
__d("useWebBloksCollectionChildSizes",["WebBloksCollectionChildSizesLayoutReady","WebBloksCollectionHelpers","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s,u,c=u||(u=o("react")),d=c.useEffect,m=c.useMemo,p=c.useState,_=(e=(s=window.CSS)==null||s.supports==null?void 0:s.supports("width","100cqw"))!=null?e:!1;function f(e){var t,n,r,a,i,l,s,u=e.collectionNode,c=e.node,f=e.scrollerRef,h=u.getValues(),y=h.direction,C=(t=(n=(r=(a=c.getStyle("collection"))==null?void 0:a.getValues())!=null?r:(i=c.getStyle("bk.style.Base"))==null?void 0:i.getValues())!=null?n:(l=c.getStyle("flex"))==null?void 0:l.getValues())!=null?t:{},b=o("WebBloksCollectionHelpers").getDirectionPropNames(y),v=b.crossAxisSize,S=b.mainAxisSize,R=m(function(){return g({width:C.width,height:C.height,direction:y,node:c})},[y,c,C.height,C.width]),L=p(null),E=L[0],k=L[1];return d(function(){var e;if(!_&&R.__MainAxisCqUnitBasis!=null){var t=(e=f.current)==null?void 0:e.getBoundingClientRect()[S],n=R.__MainAxisCqUnitBasis;t!=null&&n!=null&&k(t*n)}},[R,S,f]),d(function(){if(E!=null){var e;(e=f.current)==null||e.dispatchEvent(o("WebBloksCollectionChildSizesLayoutReady").LAYOUT_READY_EVENT)}},void 0),s={},s[v]=R[v],s[S]=E!=null?E:R[S],s}var g=function(t){var e,n,r=t.direction,a=t.height,i=t.node,l=t.width,s=o("WebBloksCollectionHelpers").getDirectionPropNames(r),u=s.crossAxisSize,c=s.mainAxisSize,d=(e={},e[c]="auto",e[u]="auto",e),m=c==="width"?l:a,p=u==="width"?l:a;if(p!=null&&(d[u]=o("WebBloksUtils").toPx(p)),m==null)return d;if(!o("WebBloksCollectionHelpers").hasCollectionDimensionInPct(i,c))return m!=null&&(d[c]=o("WebBloksUtils").toPx(m)),d;var _=(n=o("WebBloksUtils").toPercentageValue(m))!=null?n:1,f=c==="width"?"cqw":"cqh";return d[c]=""+_*100+f,d.__MainAxisCqUnitBasis=_,d};l.default=f}),98);
__d("useWebBloksCollectionStickyChildStyle",["WebBloksCollectionHelpers"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t,n,r,a,i=e.direction,l=e.node,s=l.getStyle("collection"),u=(t=s==null||(n=s.getValues().sticky_item_config)==null?void 0:n.getValues())!=null?t:(r=l.getStyle("bk.style.Base"))==null||(r=r.getValues().collection_sticky_item_config)==null?void 0:r.getValues();if(u==null)return{};var c=u.is_sticky,d=u.position;if(c!==!0||d==null)return{};var m=o("WebBloksCollectionHelpers").getDirectionPropNames(i);return a={position:"sticky",zIndex:1},a[m[d]]=0,a}l.default=e}),98);
__d("WebBloksCollectionChildBase",["WebBloksComponentContext","useWebBloksCollectionChildSizes","useWebBloksCollectionStickyChildStyle"],(function(t,n,r,o,a,i,l){function e(e){var t=e.collectionNode,n=e.extraStyles,a=e.node,i=e.scrollerRef,l=o("WebBloksComponentContext").useWebBloksContext(),s=l.renderNode,u=t.getValues(),c=u.direction,d=u.snap,m=u.snap_style,p=babelHelpers.extends({display:"inline-flex",width:"auto",height:"auto",overflow:"hidden"},r("useWebBloksCollectionStickyChildStyle")({node:a,direction:c}),r("useWebBloksCollectionChildSizes")({node:a,collectionNode:t,scrollerRef:i}),n),_;return m==null||m==="pager"?_="always":_="normal",s(a,babelHelpers.extends({},p,{scrollSnapAlign:d,scrollSnapStop:_}))}l.default=e}),98);
__d("WebBloksCollectionScrollRefs",["react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useRef;function u(e){var t=s();return e.uiMutableContainer.extraRefs={containerElementRef:t},t}function c(e){var t,n=(t=e.uiMutableContainer.extraRefs)==null?void 0:t.containerElementRef,r=e.uiMutableContainer.domNode;return{containerElementRef:n,scrollableElementRef:r}}l.useWebbloksCollectionScrollContainerRef=u,l.findWebbloksCollectionScrollRefs=c}),98);
__d("WebBloksCollectionScrollTo",["WebBloksCollectionScrollRefs","WebDriverConfig"],(function(t,n,r,o,a,i,l){"use strict";var e=function(t){return t==="column"};function s(e){return r("WebDriverConfig").isJestE2ETestRun?"auto":e===!0?"smooth":"auto"}function u(t,n){var r=n.index,a=n.isAnimated,i=o("WebBloksCollectionScrollRefs").findWebbloksCollectionScrollRefs(t),l=i.containerElementRef,u=i.scrollableElementRef,c=t.getValues(),d=c.direction,m=e(d),p=l==null?void 0:l.current,_=u==null?void 0:u.current;if(!(p==null||_==null)){var f=p.children.item(r),g=m?{top:f==null?void 0:f.offsetTop}:{left:f==null?void 0:f.offsetLeft};_.scrollTo(babelHelpers.extends({},g,{behavior:s(a)}))}}function c(t,n){var r=n.isAnimated,a=o("WebBloksCollectionScrollRefs").findWebbloksCollectionScrollRefs(t),i=a.scrollableElementRef,l=t.getValues(),u=l.direction,c=e(u);if((i==null?void 0:i.current)!=null){var d=c?{top:i.current.scrollHeight}:{left:i.current.scrollWidth};i.current.scrollTo(babelHelpers.extends({},d,{behavior:s(r)}))}}l.scrollWebBloksCollectionToIndex=u,l.scrollWebBloksCollectionToEnd=c}),98);
__d("useOnScrollSnap",["WebBloksCollectionScrollRefs","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useEffect,c=s.useRef;function d(e,t,n){var r=e.getBoundingClientRect(),o=t.getBoundingClientRect();return n==="column"?o.top>=r.top&&o.bottom<=r.bottom:o.left>=r.left&&o.right<=r.right}function m(e,t,n){var r=e.getBoundingClientRect();if(t==="column")switch(n){case"center":return r.top+r.height/2;case"start":return r.top;case"end":return r.bottom;default:return-1}else switch(n){case"center":return r.left+r.width/2;case"start":return r.left;case"end":return r.right;default:return-1}}function p(e,t){if(!e)return[[],[]];var n=Array.from(e.querySelectorAll(":scope > *")),r=n.map(function(e){return t==="column"?e.offsetTop:e.offsetLeft});return[n,r]}function _(e,t,n){var r=e.containerElement,o=e.scrollableElement,a=Array.from(r.querySelectorAll(":scope > *"));if(a.length===0)return null;if(n==="center"){if(d(o,a[0],t))return 0;if(d(o,a[a.length-1],t))return a.length-1}for(var i=m(o,t,n),l=-1,s=Number.MAX_VALUE,u=0;u<a.length;u++){var c=m(a[u],t,n),p=Math.abs(i-c);p<s&&(s=p,l=u)}return l}function f(e,t){var n=t.onPageScroll,r=t.onScroll,a=t.onScrollSnap,i=e.getValues(),l=i.direction,s=i.snap,d=i.starting_index,m=c(d),f=l==="column",g=o("WebBloksCollectionScrollRefs").findWebbloksCollectionScrollRefs(e),h=g.containerElementRef,y=g.scrollableElementRef;u(function(){var e=h==null?void 0:h.current,t=y==null?void 0:y.current;if(!(e==null||t==null||a==null&&r==null&&n==null)){var i=p(e,l),u=i[0],c=i[1],d=function(){if(r&&r(),t!=null&&n){var o=f?t.scrollTop:t.scrollLeft,i=Math.max(c.findIndex(function(e){return e>o}),1),u=i-1,d=o-c[u],p=d/(c[i]-c[u]);n(u,d,p)}if(t!=null&&s!=null&&s!=="none"&&a){var g=_({containerElement:e,scrollableElement:t},l,s);g!==m.current&&(m.current=g,a(g))}};return t.addEventListener("scroll",d,o("WebBloksUtils").passiveTouchEventOptions),t.addEventListener("touchend",d,o("WebBloksUtils").passiveTouchEventOptions),function(){t.removeEventListener("scroll",d),t.removeEventListener("touchend",d)}}},[l,s,a,r])}l.default=f}),98);
__d("useWebBloksCollectionScrollHandlers",["WebBloksCollectionChildSizesLayoutReady","WebBloksCollectionScrollTo","WebBloksComponentContext","react","useOnScrollSnap"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.useCallback,c=s.useLayoutEffect;function d(e){var t=e.getExpression("on_scroll_snap"),n=e.getExpression("on_scroll_callback"),a=e.getExpression("on_page_scroll"),i=o("WebBloksComponentContext").useWebBloksContext(),l=i.bloksContext,s=i.executeCatch,c=u(function(n){n!=null&&t!=null&&s(e,t,[n,l])},[e,t,s,l]),d=u(function(t,n,r){a!=null&&s(e,a,[l,t,r,n])},[a,s,e,l]),p=u(function(){n!=null&&s(e,n,[l])},[e,n,s,l]);r("useOnScrollSnap")(e,{onScrollSnap:t!=null?c:void 0,onScroll:n!=null?p:void 0,onPageScroll:a!=null?d:void 0}),m(e)}function m(e){var t=e.getValues(),n=t.stack_from_end,r=t.starting_index;c(function(){var t,a=r,i=function(){a!=null&&a>0?o("WebBloksCollectionScrollTo").scrollWebBloksCollectionToIndex(e,{index:a,isAnimated:!1}):n===!0&&o("WebBloksCollectionScrollTo").scrollWebBloksCollectionToEnd(e,{isAnimated:!1})};i(),(t=e.uiMutableContainer)==null||(t=t.domNode)==null||(t=t.current)==null||t.addEventListener(o("WebBloksCollectionChildSizesLayoutReady").LAYOUT_READY_EVENT_NAME,function(){i()},{once:!0})},[r,n,e.clientId])}l.default=d}),98);
__d("useWebBloksCollectionScrollingElementStyle",["WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useMemo;function u(e){var t=e.background_themed_color,n=e.direction,r=e.fading_edge_length,a=e.is_scroll_enabled,i=e.shows_scroll_indicator,l=e.snap,u=o("WebBloksTheme").useTheme().getTheme(),p=n==="column";return s(function(){var e=[],n={};if(l==null||l==="none"?e.push(d.none):p?e.push(d.y):e.push(d.x),a===!1?e.push(c.none):p?e.push(c.y):e.push(c.x),r!=null){var s="linear-gradient(\n        to "+(p?"bottom":"right")+",\n        transparent 0,\n        black "+o("WebBloksUtils").toPx(r)+",\n        black calc(100% - "+o("WebBloksUtils").toPx(r)+"),\n        transparent\n      )";n=babelHelpers.extends({},n,{maskImage:s,WebkitMaskImage:s})}return p||(n=babelHelpers.extends({},n,{whiteSpace:"nowrap"})),t&&(n=babelHelpers.extends({},n,{backgroundColor:o("WebBloksUtils").getRGBColorWithTheme(t,u)})),i===!1&&e.push(m.noScrollbar),{scrollingElementStyle:n,scrollingElementClassNames:e}},[t,r,p,a,i,l,u])}var c=o("WebBloksStyle").createStyles({none:{overflowY:"hidden",overflowX:"hidden"},y:{overflowY:"auto",overflowX:"hidden"},x:{overflowY:"hidden",overflowX:"auto"}}),d=o("WebBloksStyle").createStyles({none:{scrollSnapType:"none"},y:{scrollSnapType:"y mandatory"},x:{scrollSnapType:"x mandatory"}}),m=o("WebBloksStyle").createStyles({noScrollbar:function(t){var e;return e={},e[t]={scrollbarWidth:"none"},e[t+"::-webkit-scrollbar"]={display:"none"},e}});l.default=u}),98);
__d("useWebBloksCollectionStopPropagation",["react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=s(function(t){var n=e.current;if(n!=null){var r=n.scrollTop===0,o=n.scrollHeight-n.scrollTop===n.clientHeight;!r&&!o&&t.stopPropagation()}},[e]);return{onTouchStart:t,onTouchMove:t,onTouchEnd:t}}l.default=u}),98);
__d("WebBloksCollectionV2",["WebBloksCollectionChildBase","WebBloksCollectionHelpers","WebBloksCollectionScrollRefs","WebBloksStyle","WebBloksUtils","react","useWebBloksCollectionScrollHandlers","useWebBloksCollectionScrollingElementStyle","useWebBloksCollectionStopPropagation"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t,n=e.externalStyle,a=e.node,i=a.getValues(),l=i.children,u=i.direction,d=i.item_spacing,m=i.spacing_after,p=i.spacing_before,_=o("WebBloksStyle").useStyle(a,n),f=_.ref,g=_.style,h=_.wrapper,y=_.wrapperProps,C=r("useWebBloksCollectionScrollingElementStyle")(i),b=C.scrollingElementClassNames,v=C.scrollingElementStyle,S=o("WebBloksCollectionScrollRefs").useWebbloksCollectionScrollContainerRef(a);r("useWebBloksCollectionScrollHandlers")(a);var R=r("useWebBloksCollectionStopPropagation")(f),L=o("WebBloksCollectionHelpers").getDirectionPropNames(u),E=L.crossAxisSize,k=L.mainAxisMarginEnd,I=L.mainAxisMarginStart,T=L.mainAxisSize;return h(s.jsx("div",babelHelpers.extends({},y,{ref:f,className:o("WebBloksStyle").classNames.apply(void 0,[o("WebBloksStyle").WebBloksStyles.container].concat(b)),style:babelHelpers.extends({},v,g,{display:"block",pointerEvents:"auto",containerType:o("WebBloksCollectionHelpers").getContainerType(a)})},R,{children:s.jsx("div",{ref:S,style:(t={display:"flex",flexDirection:u,gap:o("WebBloksUtils").toPx(d)},t[T]="max-content",t[E]="100%",t[I]=p!=null?o("WebBloksUtils").toPx(p):void 0,t[k]=m!=null?o("WebBloksUtils").toPx(m):void 0,t),children:l&&l.map(function(e){return s.jsx(c,{scrollerRef:f,node:e,collectionNode:a},e.clientId)})})})))}u.displayName=u.name+" [from "+i.id+"]";function c(e){var t=e.collectionNode,n=e.node,o=e.scrollerRef;return s.jsx(r("WebBloksCollectionChildBase"),{collectionNode:t,node:n,scrollerRef:o})}c.displayName=c.name+" [from "+i.id+"]",l.default=u}),98);
__d("useWebBloksCollectionGridAspectRatioProps",["WebBloksCollectionChildSizesLayoutReady","WebBloksCollectionHelpers","react"],(function(t,n,r,o,a,i,l){var e,s,u,c=u||(u=o("react")),d=c.useEffect,m=c.useMemo,p=c.useState,_=(e=(s=window.CSS)==null||s.supports==null?void 0:s.supports("width","100cqw"))!=null?e:!1;function f(e,t,n){var r,a=t.getValues(),i=a.direction,l=o("WebBloksCollectionHelpers").getDirectionPropNames(i),s=l.crossAxisSize,u=l.mainAxisSize,c=m(function(){var t=e.cell_aspect_ratio;return t==null?null:i==="column"?"1 / "+t:" "+t+" / 1"},[i,e.cell_aspect_ratio]),f=p(null),g=f[0],h=f[1];return d(function(){var t,r,o;if(!_&&c!=null){var a=parseInt((t=n.current)==null?void 0:t.getBoundingClientRect()[s],10)/((r=e.span_count)!=null?r:1);h(a*((o=e.cell_aspect_ratio)!=null?o:1))}},[c,s,e.cell_aspect_ratio,e.span_count,u,n]),d(function(){if(g!=null){var e;(e=n.current)==null||e.dispatchEvent(o("WebBloksCollectionChildSizesLayoutReady").LAYOUT_READY_EVENT)}},void 0),c==null?{}:(r={aspectRatio:g!=null?void 0:c},r[u]=g,r)}l.default=f}),98);
__d("WebBloksCollectionGrid_EXPERIMENTAL",["WebBloksCollectionChildBase","WebBloksCollectionHelpers","WebBloksCollectionScrollRefs","WebBloksCollectionV2","WebBloksStyle","WebBloksUtils","react","useWebBloksCollectionGridAspectRatioProps","useWebBloksCollectionScrollHandlers","useWebBloksCollectionScrollingElementStyle","useWebBloksCollectionStopPropagation"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useMemo;function c(e){var t,n,a=e.layoutConfig,i=e.externalStyle,l=e.node,c=l.getValues(),d=c.children,m=c.direction,f=c.item_spacing,g=c.spacing_after,h=c.spacing_before,y=o("WebBloksStyle").useStyle(l,i),C=y.ref,b=y.style,v=y.wrapper,S=y.wrapperProps,R=r("useWebBloksCollectionScrollingElementStyle")(c),L=R.scrollingElementClassNames,E=R.scrollingElementStyle,k=o("WebBloksCollectionScrollRefs").useWebbloksCollectionScrollContainerRef(l);r("useWebBloksCollectionScrollHandlers")(l);var I=r("useWebBloksCollectionStopPropagation")(C),T=o("WebBloksCollectionHelpers").getDirectionPropNames(m),D=T.crossAxisSize,x=T.mainAxisMarginEnd,$=T.mainAxisMarginStart,P=T.mainAxisSize,N=u(function(){return{main:o("WebBloksUtils").toPx(a.main_axis_span_spacing),cross:o("WebBloksUtils").toPx(a.cross_axis_span_spacing)}},[a]);return v(s.jsx("div",babelHelpers.extends({},S,{ref:C,className:o("WebBloksStyle").classNames.apply(void 0,[o("WebBloksStyle").WebBloksStyles.container].concat(L)),style:babelHelpers.extends({},E,b,o("WebBloksUtils").insetToPadding(a.padding),{display:"block",pointerEvents:"auto",containerType:o("WebBloksCollectionHelpers").getContainerType(l)})},I,{children:s.jsx("div",{ref:k,style:babelHelpers.extends({display:"grid",flexDirection:m,gap:o("WebBloksUtils").toPx(f)},p(m,(t=a.span_count)!=null?t:1,N),(n={},n[P]="max-content",n[D]="100%",n[$]=h!=null?o("WebBloksUtils").toPx(h):void 0,n[x]=g!=null?o("WebBloksUtils").toPx(g):void 0,n)),children:d&&d.map(function(e){return s.jsx(_,{scrollerRef:C,node:e,layoutConfig:a,collectionNode:l},e.clientId)})})})))}c.displayName=c.name+" [from "+i.id+"]";function d(e){var t=e.externalStyle,n=e.node,o=n.getValues(),a=o.layout_config,i=a==null?void 0:a.getValues();return i?s.jsx(c,{node:n,externalStyle:t,layoutConfig:i}):s.jsx(r("WebBloksCollectionV2"),{node:n,externalStyle:t})}d.displayName=d.name+" [from "+i.id+"]";function m(e,t){var n,r,o,a,i=(n=e.getStyle("bk.style.GridCollectionStyle"))==null?void 0:n.getValues(),l=(r=e.getStyle("bk.style.Base"))==null?void 0:r.getValues(),s=(o=i==null?void 0:i.is_full_span)!=null?o:l==null?void 0:l.grid_is_full_span,u=(a=i==null?void 0:i.span_count)!=null?a:l==null?void 0:l.grid_span_count;if(s==null&&u==null)return{};var c=t.getValues(),d=c.direction,m=c.layout_config,p=d==="column"?"gridColumn":"gridRow",_=m==null?void 0:m.getValues();if(s!=null&&_){var f;return f={},f[p]="span "+_.span_count,f}if(u!=null){var g;return g={},g[p]="span "+u,g}return{}}function p(e,t,n){return e==="row"?{gridTemplateRows:"repeat("+t+", 1fr)",gridAutoColumns:"max-content",gridAutoFlow:"column",rowGap:n.cross,columnGap:n.main}:{gridTemplateColumns:"repeat("+t+", 1fr)",gridAutoRows:"max-content",gridAutoFlow:"row",rowGap:n.main,columnGap:n.cross}}function _(e){var t=e.collectionNode,n=e.layoutConfig,o=e.node,a=e.scrollerRef,i=babelHelpers.extends({},m(o,t),r("useWebBloksCollectionGridAspectRatioProps")(n,t,a));return s.jsx(r("WebBloksCollectionChildBase"),{collectionNode:t,node:o,scrollerRef:a,extraStyles:i})}_.displayName=_.name+" [from "+i.id+"]",l.default=d}),98);
__d("WebBloksCollectionV1",["WebBloksCollectionScrollRefs","WebBloksComponentContext","WebBloksStyle","WebBloksUtils","react","useWebBloksCollectionScrollHandlers","useWebBloksCollectionScrollingElementStyle","useWebBloksCollectionStickyChildStyle","useWebBloksCollectionStopPropagation"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node,a=n.getValues(),i=a.children,l=o("WebBloksStyle").useStyle(n,t),u=l.ref,d=l.style,m=l.wrapper,p=l.wrapperProps,_=r("useWebBloksCollectionScrollingElementStyle")(a),f=_.scrollingElementClassNames,g=_.scrollingElementStyle,h=o("WebBloksCollectionScrollRefs").useWebbloksCollectionScrollContainerRef(n);r("useWebBloksCollectionScrollHandlers")(n);var y=r("useWebBloksCollectionStopPropagation")(u);return m(s.jsx("div",babelHelpers.extends({},p,{ref:function(t){h.current=t,u.current=t},className:o("WebBloksStyle").classNames.apply(void 0,[o("WebBloksStyle").WebBloksStyles.container].concat(f)),style:babelHelpers.extends({},g,d,{display:"block",pointerEvents:"auto"})},y,{children:i&&i.map(function(e,t){return s.jsx(c,{node:e,collectionNode:n,isFirstItem:t===0,isLastItem:t===i.length-1},e.clientId)})})))}u.displayName=u.name+" [from "+i.id+"]";function c(e){var t=e.collectionNode,n=e.isFirstItem,a=e.isLastItem,i=e.node,l=o("WebBloksComponentContext").useWebBloksContext(),s=l.renderNode,u=t.getValues(),c=u.direction,m=u.item_spacing,p=u.snap,_=u.snap_style,f=u.spacing_after,g=u.spacing_before,h=c==="column",y=a?f!=null?o("WebBloksUtils").toPx(f):0:o("WebBloksUtils").toPx(m),C=n&&g!=null?o("WebBloksUtils").toPx(g):void 0,b;h?(b={marginTop:C,marginBottom:y,width:"100%"},d(i,"height")&&(b.height="auto")):(b={marginLeft:C,marginRight:y,display:"inline-flex",verticalAlign:"bottom",height:"100%"},d(i,"width")&&(b.width="auto"));var v;return _==null||_==="pager"?v="always":v="normal",s(i,babelHelpers.extends({},b,r("useWebBloksCollectionStickyChildStyle")({node:i,direction:c}),{scrollSnapAlign:p,scrollSnapStop:v}))}c.displayName=c.name+" [from "+i.id+"]";function d(e,t){var n,r;return(n=(r=e.getStyle("flex"))==null||(r=r.get(t))==null?void 0:r.endsWith("%"))!=null?n:!1}l.default=u}),98);
__d("WebBloksCollection",["WebBloksCollectionGrid_EXPERIMENTAL","WebBloksCollectionHelpers","WebBloksCollectionV1","WebBloksCollectionV2","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.node.get("layout_config_type");return t==="grid"?s.jsx(r("WebBloksCollectionGrid_EXPERIMENTAL"),babelHelpers.extends({},e)):o("WebBloksCollectionHelpers").shouldUseWebBloksCollectionV2(e.node)?s.jsx(r("WebBloksCollectionV2"),babelHelpers.extends({},e)):s.jsx(r("WebBloksCollectionV1"),babelHelpers.extends({},e))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksDatetimeTextProvider",["WebBloksComponentContext","WebBloksDateUtils"],(function(t,n,r,o,a,i,l){function e(e){var t=e.node,n=t.get("timestamp"),r=t.get("type"),a=t.get("format"),i=o("WebBloksComponentContext").useWebBloksContext();return o("WebBloksDateUtils").getDateTimeText(n,i.bloksContext.objectSet.environment.locale,r,a)}l.default=e}),98);
__d("WebBloksDialog",["WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useEffect,m=u.useRef;function p(e){var t=e.node,n=t.styleId,r=t.getValues(),a=r.message,i=r.primary_button,l=r.secondary_button,u=r.tertiary_button,d=r.title,m=o("WebBloksComponentContext").useWebBloksContext(),p=c(function(e){e.target===e.currentTarget&&m.objectSet.navigationManager.pop()},[m]),g=d!=null?d:a,h=d!=null?a:null,y=_(),C=c(function(e){if(e.key==="Escape"){e.stopPropagation(),m.objectSet.navigationManager.pop();return}if(e.key==="Tab"){var t=y.current;if(t==null)return;var n=Array.from(t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), [role="button"]'));if(n.length===0)return;var r=document.activeElement,o=r!=null?n.indexOf(r):-1,a=e.shiftKey?n[o>0?o-1:n.length-1]:n[o<n.length-1?o+1:0];a instanceof HTMLElement&&(e.preventDefault(),a.focus({focusVisible:!0}))}},[m.objectSet.navigationManager,y]);return s.jsx("div",{"data-bloks-name":n,className:f.background,onClick:p,onKeyDown:C,role:"presentation",children:s.jsxs("div",{className:f.container,ref:y,tabIndex:-1,"aria-label":g,children:[s.jsxs("div",{className:f.header,children:[g!=null&&s.jsx("div",{className:f.title,children:g}),h!=null&&s.jsx("div",{className:f.message,children:h})]}),s.jsxs("div",{className:f.buttons,children:[m.renderNode(i),m.renderNode(l),m.renderNode(u)]})]})})}p.displayName=p.name+" [from "+i.id+"]";function _(){var e=m(null);return d(function(){e.current&&(e.current.contains(document.activeElement)||e.current&&e.current.focus({focusVisible:!0}))},[]),e}var f=o("WebBloksStyle").createStyles({background:{alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.5)",bottom:0,display:"flex",justifyContent:"space-around",left:0,position:"fixed",right:0,top:0,zIndex:1e3},buttons:{},container:{backgroundColor:"white",borderRadius:12,margin:32,maxWidth:"100%",textAlign:"center",width:400,outline:"none"},header:{padding:32},message:{color:"#65676B",fontSize:14,marginTop:12},title:{color:"#1C1E21",fontSize:18,fontWeight:600}});l.default=p}),98);
__d("WebBloksAbstractButton",["WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e=["accessibility_label","badge_count","className","icon","role","tabIndex","title","trailing"],s,u=s||(s=o("react"));function c(t){var n,r=t.accessibility_label,a=t.badge_count,i=t.className,l=t.icon,s=t.role,c=s===void 0?"button":s,m=t.tabIndex,p=m===void 0?0:m,_=t.title,f=t.trailing,g=babelHelpers.objectWithoutPropertiesLoose(t,e),h=o("WebBloksComponentContext").useWebBloksContext(),y=h.objectSet;if(l==null&&_==null)return null;var C=d.abstractButton,b=_==null,v=(n=_!=null?_:r)!=null?n:"",S=null;if(l!=null){var R=y.environment,L=R.AssetRenderer,E=R.logger;if(!L)E.mustfix("Trying to render an asset, but AssetRenderer is not defined for %s",JSON.stringify(l));else{var k={};v&&(k.alt="",b||(k.className=d.marginRight4)),S=u.jsx(L,babelHelpers.extends({src:l},k))}}var I=function(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.currentTarget.click()),g.onKeyDown==null||g.onKeyDown(t)};return u.jsxs(u.Fragment,{children:[u.jsxs("div",babelHelpers.extends({role:c,tabIndex:p},g,{onKeyDown:I,className:o("WebBloksStyle").classNames(f===!0?d.TrailingButton:"",C,i),children:[S,b?u.jsx("span",{className:d.abstractButton+"_accessible_elem",children:v}):v]})),a!=null&&a>0?a:void 0]})}c.displayName=c.name+" [from "+i.id+"]";var d=o("WebBloksStyle").createStyles({TrailingButton:{backgroundColor:"transparent",border:"none",color:"rgb(23, 99, 207)"},marginRight4:{marginRight:4},abstractButton:function(t){var e;return e={},e[t]={cursor:"pointer",display:"inline-block",textDecoration:"none",whiteSpace:"nowrap",padding:"1px 6px"},e[".gecko "+t+":focus"]={outline:"1px dotted #3b5998",outlineColor:"invert"},e[t+":hover"]={textDecoration:"none"},e[t+" + "+t]={marginLeft:4},e[t+"_accessible_elem"]={clip:"rect(1px, 1px, 1px, 1px)",height:1,overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:1},e}});l.default=c}),98);
__d("WebBloksDialogButton",["WebBloksAbstractButton","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.getValues(),a=n.appearance,i=n.testing_id,l=n.text,u=t.getExpression("on_click"),d=o("WebBloksComponentContext").useWebBloksContext(),m=d.bloksContext,p=d.executeCatch,_=d.objectSet,f=d.ownerContext,g=function(n){n.preventDefault(),n.stopPropagation(),_.navigationManager.pop(),u!=null&&(f?f.executeCatch(u.getValue(),[t,m]):p(t,u,[t,m]))},h;switch(a){case"destructive":h=c.destructive;break;case"cancel":h=c.cancel;break;case"default":default:h=c.default;break}return s.jsx(r("WebBloksAbstractButton"),{className:o("WebBloksStyle").classNames(c.button,h),accessibility_label:l,onClick:g,title:l,"data-testid":void 0})}u.displayName=u.name+" [from "+i.id+"]";var c=o("WebBloksStyle").createStyles({button:function(t){var e;return e={},e["div"+t]={display:"block",borderTop:"1px solid #CED0D4",cursor:"pointer",fontSize:16,lineHeight:24/16,padding:"12px 10px",pointerEvents:"auto !important",marginLeft:"0px !important"},e},cancel:{color:"#1C1E21"},destructive:{color:"hsl(350, 87%, 55%)"},default:{color:"#0064E0"}});l.default=u}),98);
__d("WebBloksDummyComponent",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e){var t,n=(t=e.node.styleId)!=null?t:"This component";throw new(o("WebBloksErrors")).WebBloksError(n+" is not yet implemented. Please override in renderer")}l.default=e}),98);
__d("WebBloksFieldset",["WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),r=n.renderChildren;return s.jsx("fieldset",{className:c.fieldset,children:r(t.getSubNodes("children"))})}u.displayName=u.name+" [from "+i.id+"]";var c=o("WebBloksStyle").createStyles({fieldset:{border:"none",margin:0,padding:0}});l.default=u}),98);
__d("WebBloksAnchorTagExtensionHandlerUtils",["WebBloksUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=e.getValues(),n=o("WebBloksUtils").findExtension(t.extensions,"bk.components.AnchorTagExtension");if(!n)return null;var r=n.getValues(),a=r.href,i=r.prefer_native_navigation;return{href:a,tabIndex:0,preferNativeNavigation:i}}l.useWebBloksAnchorTagExtensionProps=e}),98);
__d("WebBloksDrawable",["WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.useEffect,c=s.useMemo,d=s.useState;function m(e){return[1,void 0,!0].includes(e)}function p(e,t,n){n===void 0&&(n={});var r=_(e),o=f(e,t,n);return c(function(){return babelHelpers.extends({},r,o)},[r,o])}function _(e){var t=o("WebBloksTheme").useTheme().getTheme();return c(function(){if(!e)return{};var n=h(t,e);return n==null?{}:{background:n}},[e,t])}function f(e,t,n){n===void 0&&(n={});var r=o("WebBloksTheme").useTheme().getTheme(),a=d(m(n.enabled)?"default":"disabled"),i=a[0],l=a[1];return u(function(){l(m(n.enabled)?"default":"disabled")},[n.enabled]),u(function(){var r=t.current;if(r==null)return;function o(){l("pressed");function e(){l("default"),document.removeEventListener("mouseup",e),document.removeEventListener("touchend",e)}document.addEventListener("mouseup",e),document.addEventListener("touchend",e)}return m(n.enabled)&&(e==null?void 0:e.styleId)==="bk.components.StateDrawable"&&y(e,"pressed")&&(r.addEventListener("mousedown",o),r.addEventListener("touchstart",o)),function(){r.removeEventListener("mousedown",o),r.removeEventListener("touchstart",o)}},[e,n.enabled,t]),c(function(){if((e==null?void 0:e.styleId)==="bk.components.StateDrawable"){var t=C(r,e,i);return{background:t!=null?t:void 0}}return{}},[r,e,i])}var g={top_to_bottom:"180deg",left_to_right:"90deg",bottom_left_to_top_right:"45deg",top_left_to_bottom_right:"135deg"};function h(e,t){switch(t.styleId){case"bk.components.ColorDrawable":{var n=t.get("color");if(n==null)break;return o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(n))}case"bk.components.ThemedColorDrawable":{var r=t.get("color");if(r==null)break;return o("WebBloksUtils").getRGBColorWithTheme(r,e)}case"bk.components.GradientDrawable":{var a=t.get("orientation"),i=t.get("begin_color"),l=t.get("middle_color"),s=t.get("end_color"),u="";return a!=null&&(u+=g[a]+","),i!=null&&(u+=o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(i))+","),l!=null&&(u+=o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(l))+","),s!=null&&(u+=o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(s))),"linear-gradient("+u+")"}case"bk.components.GradientThemedColorDrawable":{var c=t.get("orientation"),d=t.get("begin_color"),m=t.get("middle_color"),p=t.get("end_color"),_="";return c!=null&&(_+=g[c]+","),d!=null&&(_+=o("WebBloksUtils").getRGBColorWithTheme(d,e)+","),m!=null&&(_+=o("WebBloksUtils").getRGBColorWithTheme(m,e)+","),p!=null&&(_+=o("WebBloksUtils").getRGBColorWithTheme(p,e)),"linear-gradient("+_+")"}default:return null}}function y(e,t){var n,r=(n=e==null?void 0:e.get("state_items"))!=null?n:[];return r.some(function(e){return e.get("state")===t})}function C(e,t,n){var r=t.get("state_items");for(var o of r)if(o.get("state")===n)return h(e,o.get("drawable"));return null}l.default=p}),98);
__d("WebBloksDecoration",["WebBloksBooleanUtils","WebBloksDrawable","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useMemo,c=0,d=3,m=6,p="#000000";function _(e,t){var n=o("WebBloksTheme").useTheme().getTheme(),a=e.decoration,i=e.enabled,l=a==null?void 0:a.get("background"),_=r("WebBloksDrawable")(l,t,e),f=a==null?void 0:a.get("border_width"),g=u(function(){var e=a==null?void 0:a.get("border_themed_color"),t=a==null?void 0:a.get("border_color");return e!=null?o("WebBloksUtils").convertThemedColorToArr(e,n):t!=null?o("WebBloksUtils").convertRGBOrHexStringToArr(t):null},[a,n]),h=g!=null&&g[3]<1;if(f!=null&&g!=null&&!h){var y=o("WebBloksUtils").toPx(f),C=o("WebBloksUtils").convertRGBArrToString(g),b=a==null?void 0:a.get("contrib"),v=b==null?void 0:b.get("borders_to_apply");if(v!=null&&v.length>0)for(var S of v)e:{if(S==="top"){_.borderTop=y+" solid "+C;break e}if(S==="right"){_.borderRight=y+" solid "+C;break e}if(S==="bottom"){_.borderBottom=y+" solid "+C;break e}if(S==="left"){_.borderLeft=y+" solid "+C;break e}break e}else _.border=y+" solid "+C}var R=u(function(){if(f==null||g==null||!h)return null;var e=o("WebBloksUtils").toPx(f),t={position:"absolute",pointerEvents:"none",inset:0,borderRadius:"inherit",border:e+" solid "+o("WebBloksUtils").convertRGBArrToString(g)};return s.jsx("div",{style:t})},[f,g,h]),L=a==null?void 0:a.get("shadow_opacity"),E=a==null?void 0:a.get("shadow_themed_color");if(E!=null||L!=null){var k,I,T,D=p;if(E!=null){var x=o("WebBloksUtils").convertThemedColorToArr(E,n),$=x[0],P=x[1],N=x[2],M=x[3],w=M*(L!=null?L:1);D=o("WebBloksUtils").convertRGBArrToString([$,P,N,w])}var A=(k=a==null?void 0:a.get("shadow_offset_width"))!=null?k:c,F=(I=a==null?void 0:a.get("shadow_offset_height"))!=null?I:d,O=(T=a==null?void 0:a.get("shadow_radius"))!=null?T:m;_.boxShadow=A+"px "+F+"px "+O+"px "+D}var B=a==null?void 0:a.get("clipping");o("WebBloksBooleanUtils").isTrue(B)&&(_.overflow="hidden"),Object.prototype.hasOwnProperty.call(e,"on_click")&&!o("WebBloksBooleanUtils").isFalse(i)&&(_.cursor="pointer",_.pointerEvents="auto");var W=a==null?void 0:a.get("corner_radius");if(W!=null){var q=a==null?void 0:a.get("corners_to_apply_radius");if(q!=null&&q.length>0)for(var U of q)switch(U){case"top_left":_.borderTopLeftRadius=o("WebBloksUtils").toPx(W);break;case"top_right":_.borderTopRightRadius=o("WebBloksUtils").toPx(W);break;case"bottom_right":_.borderBottomRightRadius=o("WebBloksUtils").toPx(W);break;case"bottom_left":_.borderBottomLeftRadius=o("WebBloksUtils").toPx(W);break;default:break}else _.borderRadius=o("WebBloksUtils").toPx(W)}return[_,R]}l.default=_}),98);
__d("useClickablePropsForWebBloks",["WebBloksBooleanUtils","WebBloksComponentContext","WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){var i=o("WebBloksComponentContext").useWebBloksContext(),l=i.bloksContext,s=i.executeCatch,u=r===!0?function(e){e.preventDefault()}:void 0;if(t==null)return{onClickCapture:u};function c(i){r===!0&&i.preventDefault(),!o("WebBloksBooleanUtils").isFalse(n)&&t!=null&&(a!==!0&&i.preventDefault(),i.stopPropagation(),s(e,t,[e,l]))}var d=c,m=function(t){t.keyCode===o("WebBloksConstants").KEY_RETURN?c(t):t.keyCode===o("WebBloksConstants").KEY_SPACE&&t.preventDefault()},p=function(t){t.keyCode===o("WebBloksConstants").KEY_SPACE&&c(t)};return{onClick:d,onClickCapture:u,onKeyDown:m,onKeyUp:p}}l.default=e}),98);
__d("useWebBloksDrawableNode",["WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("WebBloksComponentContext").useWebBloksContext(),n=t.objectSet;if(e!=null){var r=n.getNullableComponentForName(e.styleId);return r!=null?s.jsx(r,{node:e}):null}return null}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksFlexbox",["WebBloksAnchorTagExtensionHandlerUtils","WebBloksComponentContext","WebBloksDecoration","WebBloksDrawable","WebBloksEnvironmentContext","WebBloksStyle","WebBloksUtils","react","useClickablePropsForWebBloks","useWebBloksDrawableNode"],(function(t,n,r,o,a,i,l){var e=["preferNativeNavigation"],s,u=s||(s=o("react")),c=s,d=c.useEffect,m=c.useRef;function p(t){var n,a,i,l,s=t.externalStyle,c=t.node,m=c.getExpression("on_click"),p=c.getSubNodes("children"),f=c.getSubNode("decoration"),h=c.get("visibility"),y=c.get("align_content"),C=c.get("align_items"),b=c.get("flex_direction"),v=c.get("flex_wrap"),S=c.get("justify_content"),R=c.getExpression("on_mount"),L=o("WebBloksUtils").isBloksModelEnabled(c),E=o("WebBloksStyle").useStyle(c,s,m!=null&&L),k=E.ref,I=E.style,T=E.wrapper,D=E.wrapperProps,x=r("WebBloksDecoration")(c.getValues(),k),$=x[0],P=x[1],N=o("WebBloksAnchorTagExtensionHandlerUtils").useWebBloksAnchorTagExtensionProps(c),M=N!==null,w=M?"a":"div",A=(N==null?void 0:N.preferNativeNavigation)===!0,F=N!=null?N:{},O=F.preferNativeNavigation,B=babelHelpers.objectWithoutPropertiesLoose(F,e),W=r("useClickablePropsForWebBloks")(c,m,D.disabled===!0?!1:L,M&&!A,A),q=o("WebBloksEnvironmentContext").useWebBloksEnvironment().isRtl,U=o("WebBloksComponentContext").useWebBloksContext(),V=U.bloksContext,H=U.executeOnNextTickCatch,G=U.renderChildren;d(function(){R!=null&&H(c,R,[c,V])},[R]);var z=f==null?void 0:f.get("foreground"),j=c.get("padding_top"),K=c.get("padding_bottom"),Q=c.get("padding_left"),X=c.get("padding_right"),Y=c.get("padding_start"),J=c.get("padding_end"),Z=q?J:Y,ee=q?Y:J,te=babelHelpers.extends({pointerEvents:"none"},I,g(h),$,{alignContent:o("WebBloksUtils").toHyphen(y),alignItems:o("WebBloksUtils").toHyphen(C),flexDirection:o("WebBloksUtils").toHyphen(b),flexWrap:o("WebBloksUtils").toHyphen(v),justifyContent:o("WebBloksUtils").toHyphen(S!=null?S:I.justifyContent),paddingTop:(n=o("WebBloksUtils").toPx(j))!=null?n:I.paddingTop,paddingBottom:(a=o("WebBloksUtils").toPx(K))!=null?a:I.paddingBottom,paddingLeft:(i=o("WebBloksUtils").toPx(Q!=null?Q:Z))!=null?i:I.paddingLeft,paddingRight:(l=o("WebBloksUtils").toPx(X!=null?X:ee))!=null?l:I.paddingRight});return T(u.jsxs(w,babelHelpers.extends({},D,{className:o("WebBloksStyle").WebBloksStyles.container,style:te},W,B,{children:[G(p),z?u.jsx(_,{drawable:z}):null,P]})))}p.displayName=p.name+" [from "+i.id+"]";function _(e){var t=e.drawable,n=m(null),o=r("WebBloksDrawable")(t,n),a=r("useWebBloksDrawableNode")(t);return a!=null?a:u.jsx("div",{"data-bloks-name":"bk.components.BoxDecoration",ref:n,className:f.foreground,style:o})}_.displayName=_.name+" [from "+i.id+"]";var f=o("WebBloksStyle").createStyles({foreground:{position:"absolute",top:0,bottom:0,left:0,right:0,pointerEvents:"none"}});function g(e){switch(e){case"gone":return{display:"none"};case"invisible":return{visibility:"hidden"}}}l.default=p}),98);
__d("WebBloksGlimmer",["WebBloksStyle","WebBloksTheme","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useMemo,c=200;function d(e,t){return o("WebBloksStyle").keyframes({"0%":{opacity:e},"50%":{opacity:t},"100%":{opacity:e}})}var m=d(.04,.17),p=d(.04,.07),_=d(.65,1);function f(e,t){var n=o("WebBloksTheme").WebBloksThemeVars["fds-gray-65"],r=m;return e==="background"&&(t==="wash"?(n=o("WebBloksTheme").WebBloksThemeVars["fds-white"],r=_):t==="default"&&(r=p)),{background:n,animationName:r}}function g(e){var t,n,r,a=e.externalStyle,i=e.node,l=o("WebBloksStyle").useStyle(i,a),d=l.style,m=l.wrapper,p=l.wrapperProps,_=i.get("shape"),g=i.get("corner_radius"),y=(t=i.get("index"))!=null?t:0,C=(n=i.get("component_style"))!=null?n:"default",b=(r=i.get("surface_background_color"))!=null?r:"default",v=u(function(){return f(C,b)},[C,b]),S=v.animationName,R=v.background,L=_==="circle"?"50%":g,E=u(function(){return babelHelpers.extends({},d,{borderRadius:L,background:R,animationName:S,animationDelay:y*c+"ms"})},[d,L,R,S,y]);return m(s.jsx("div",babelHelpers.extends({},p,{"data-visualcompletion":"loading-state",className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,h.root),style:E})))}g.displayName=g.name+" [from "+i.id+"]";var h=o("WebBloksStyle").createStyles({root:{animationDuration:"2s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(0.5, 0, 0.5, 1)",animationFillMode:"backwards"}});l.default=g}),98);
__d("WebBloksImage",["WebBloksComponentContext","WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useMemo;function m(e){switch(e){case"contain":return"contain";case"stretch":return"fill";case"cover":default:return"cover"}}function p(e){if(e!=null){var t=e.get("x"),n=e.get("y");if(!(t==null||n==null))return t*100+"% "+n*100+"%"}}function _(e){var t,n=e.externalStyle,r=e.node,a=r.get("dark_url"),i=r.get("scale_type"),l=r.get("url"),u=r.get("color_filter"),_=r.get("focus_point"),f=r.getExpression("on_image_perf_update"),g=o("WebBloksComponentContext").useWebBloksContext(),h=g.bloksContext,y=g.executeCatch,C=o("WebBloksStyle").useStyle(r,n),b=C.style,v=C.wrapper,S=C.wrapperProps,R=o("WebBloksTheme").useTheme().getTheme(),L=r.getValues(),E=L.contrib;b.position==="absolute"&&(b.top==="0px"&&b.bottom==="0px"&&(b.height="100%"),b.left==="0px"&&b.right==="0px"&&(b.width="100%"));var k=m(i),I={};if(u!=null&&l!=null){var T=k==="fill"?"100% 100%":k;I={WebkitMaskImage:"url("+l+")",WebkitMaskSize:T,maskImage:"url("+l+")",maskSize:T,backgroundColor:o("WebBloksUtils").getRGBColorWithTheme(u,R),objectPosition:"10000px 10000px"}}var D=function(t){f!=null&&y(r,f,[t,Date.now(),h])};c(function(){D("ImageRequested")},[]);var x=E==null?void 0:E.get("base_sixty_four_encoded_image");if(x!=null){var $=x.charAt(0),P="";switch($){case"/":P="jpg";break;case"i":P="png";break;case"R":P="gif";break;case"U":P="webp";break;case"P":P="svg";break}x="data:image/"+P+";base64,"+x}var N=R===o("WebBloksTheme").THEME.light||a==null?l:a,M=typeof N=="string"&&N?N.replace(/\\/g,""):null,w=x!=null?x:M,A=babelHelpers.extends({},S,{"aria-label":null,alt:(t=S==null?void 0:S["aria-label"])!=null?t:""}),F=d(function(){return _!=null&&u==null?p(_):void 0},[u,_]);return v(s.jsx("img",babelHelpers.extends({},A,{src:w,onLoad:function(){return D("ImageFinalRendered")},onError:function(){return D("ImageFailed")}},o("WebBloksStyle").getStyleProps(babelHelpers.extends({},b,I,{objectFit:k},F!=null?{objectPosition:F}:null,{overflow:"hidden"})))))}_.displayName=_.name+" [from "+i.id+"]",l.default=_}),98);
__d("WebBloksInternalAction",[],(function(t,n,r,o,a,i){"use strict";function e(e){return null}i.default=e}),66);
__d("WebBloksMergeWithBind",["WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e){throw new(o("WebBloksErrors")).WebBloksError("Should not be called")}l.default=e}),98);
__d("WebBloksNavbarBackButton",["WebBloksAbstractButton","WebBloksComponentContext","WebBloksStyle","WebBloksTheme","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=o("WebBloksStyle").createStyles({backButton:{display:"flex",alignItems:"center",flexShrink:0,flexGrow:0,flexDirection:"row",justifyContent:"center"}});function c(e){var t=e.onClick,n=o("WebBloksTheme").useTheme().getTheme(),a=o("WebBloksComponentContext").useWebBloksContext(),i=a.objectSet,l=n===o("WebBloksTheme").THEME.light?i.getAsset("chevronLeft"):i.getAsset("chevronLeftDark");return s.jsx("div",{className:u.backButton,children:s.jsx(r("WebBloksAbstractButton"),{trailing:!0,icon:l,accessibility_label:"Back",onClick:t})})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksScreenHost",["WebBloksBind","WebBloksComponentContext","WebBloksExternalVariables","WebBloksUtils","react","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useLayoutEffect,m=u.useMemo,p=u.useState;function _(e){var t,n,r=e.externalVariables,a=e.isLoadingNode,i=a===void 0?!1:a,l=e.screen,u=p(function(){return new(o("WebBloksComponentContext")).WebBloksComponentContext(l.getTreeManager().bloksContext,l.options.ownerContext,i)}),_=u[0],g=_.renderNode,h=p(function(){return o("WebBloksExternalVariables").getProcessedDataPropEntries(l.getTreeManager().initialTreeResources)}),y=h[0],C=p(function(){var e=new Map;return o("WebBloksUtils").putAll(e,r),o("WebBloksUtils").putAll(e,l.options.externalVariables),o("WebBloksExternalVariables").getProcessedExternalVariables(e,y)}),b=C[0],v=C[1],S=p(function(){var e=l.getTreeManager();return o("WebBloksBind").bind(e.bloksContext,e.unboundModel,e.treeResourcesState,b)}),R=S[0],L=S[1],E=p((t=l.options.initialContainer)==null?void 0:t.model),k=E[0],I=E[1],T=p((n=l.options.initialContainer)==null?void 0:n.config),D=T[0],x=T[1];d(function(){l.setOnContainerUpdate(function(e,t){I(e),x(t)})},[l]),c(function(){var e=f(b,r,y),t=e.needsUpdate,n=e.updatedExternalVariables;if(t){v(n);var a=l.getTreeManager();L(o("WebBloksBind").bind(a.bloksContext,a.unboundModel,a.treeResourcesState,n))}},[y,r,b,l]),c(function(){l.getTreeManager().setCommittedBoundTree(R)},[l,R]),c(function(){var e=l.getTreeManager();function t(t){L(o("WebBloksBind").bind(e.bloksContext,t.unboundModel,t.treeResourcesState,b,e.bindResult))}return e.onNewTreeAndVariablesListener.on(t),function(){return e.onNewTreeAndVariablesListener.off(t)}},[b,l]),c(function(){i||o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-end")},[i]);var $=k!=null?l.objectSet.getContainerConfigModuleForName(k.styleId).ContainerComponent:null,P=m(function(){var e=g(R.boundModel);return $!=null&&D!=null?s.jsx($,{containerConfig:D,children:e}):e},[g,R.boundModel,$,D]),N=l.objectSet.mountEffectsQueue;return c(function(){P!=null&&!N.isEmpty()&&N.runEffects()},[N,P]),s.jsx(o("WebBloksComponentContext").WebBloksComponentContextContext.Provider,{value:_,children:P})}_.displayName=_.name+" [from "+i.id+"]";function f(e,t,n){var r=!1;if(!t)return{needsUpdate:r,updatedExternalVariables:e};var o=e;for(var a of t.entries()){var i=a[0],l=a[1],s=n.get(i);s!=null&&o.get(s)!==l&&(r=!0,o.set(s,l))}return{needsUpdate:r,updatedExternalVariables:o}}l.default=_}),98);
__d("WebBloksNavbar",["WebBloksAbstractButton","WebBloksComponentContext","WebBloksNavbarBackButton","WebBloksScreen","WebBloksScreenHost","WebBloksStyle","WebBloksTheme","WebBloksUtils","react","useClickablePropsForWebBloks"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useMemo,c=o("WebBloksStyle").createStyles({root:{height:52,width:"100%",zIndex:1,backgroundColor:o("WebBloksTheme").WebBloksThemeVars["navbar-bg"],padding:8,borderBottomStyle:"solid",borderBottomColor:o("WebBloksTheme").WebBloksThemeVars.separator,borderBottomWidth:1,justifyContent:"center"},backButton:{display:"flex",alignItems:"center",flexShrink:0,flexGrow:0,flexDirection:"row",justifyContent:"center"},titleContainer:{alignItems:"center",flexGrow:1,fontWeight:600,justifyContent:"center"},titleContainerMargin:{marginRight:28},title:{flexGrow:1,alignItems:"center",justifyContent:"center",margin:"0 0px",textAlign:"center"},trailingButtons:{display:"flex",flexShrink:0,alignItems:"center",flexDirection:"row-reverse",justifyContent:"center"}});function d(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=n.executeCatch,i=n.isLoadingNode,l=n.objectSet,d=n.ownerContext,p=n.renderNode,_=l.navigationManager,f=t.getValues(),g=f.contribs,h=f.hide_navbar,y=f.title,C=u(function(){var e=[],n=null;if(g==null)return{titleBloksNode:n,trailingButtons:e};for(var u of g){var c=u.getValues(),_=u.getExpression("custom_title_parseresult");if(_!=null){var f=void 0;i&&d?f=d.executeCatch(_.getValue(),[]):f=a(t,_,[]);var h=o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(l,o("WebBloksUtils").cast(f),{isModal:!1,isEmbedded:!0});n=s.jsx(r("WebBloksScreenHost"),{screen:h})}if(c.trailing_buttons!==void 0)for(var y of c.trailing_buttons)e.push(s.jsx(m,{node:y},y.clientId));if(c.right_buttons!==void 0)for(var C of c.right_buttons)e.push(p(C))}return{titleBloksNode:n,trailingButtons:e}},[g,a,i,t,l,d,p]),b=C.titleBloksNode,v=C.trailingButtons;if(h===!0)return null;var S=_.getScreenCount()>1,R=S&&v.length===0;return s.jsxs("div",{"data-bloks-name":t.styleId,className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,c.root),children:[s.jsxs("div",{className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,c.titleContainer,R?c.titleContainerMargin:null),children:[S?s.jsx(r("WebBloksNavbarBackButton"),{onClick:function(){return _.pop()}}):null,s.jsx("div",{className:c.title,children:b!=null?b:y})]}),s.jsx("div",{className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,c.trailingButtons),children:v})]})}d.displayName=d.name+" [from "+i.id+"]";function m(e){var t=e.node,n=t.getExpression("on_click"),a=t.get("icon"),i=t.get("title"),l=t.get("accessibility_label"),u=t.get("badge_count"),c=o("WebBloksComponentContext").useWebBloksContext(),d=c.objectSet,m=r("useClickablePropsForWebBloks")(t,n);if(m.onClick===void 0||!a&&(i==null||i===""))return null;var _=p(d,a);return s.jsx(r("WebBloksAbstractButton"),babelHelpers.extends({trailing:!0,"data-bloks-name":t.styleId,icon:_,title:i,accessibility_label:l,badge_count:u},m))}m.displayName=m.name+" [from "+i.id+"]";function p(e,t){if(!t)return null;switch(t){case"nav-app-messenger":return e.getAsset("appMessenger");case"nav-navicon":return e.getAsset("navIcon");case"nav-shopping-cart":return e.getAsset("navShoppingCart");case"nav-info-circle":return e.getAsset("navInfoCircle")}}l.default=d}),98);
__d("WebBloksOnMountExtensionHandlerUtils",["WebBloksConstants"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=n.bloksContext,a=n.executeOnNextTickCatch,i=r.initAssociatedObject_INTERNAL(e,o("WebBloksConstants").CONTROLLER_ASSOCIATED_OBJECT,{firstMountRecorded:!1}),l=e.getExpression("on_first_mount"),s=e.getExpression("on_mount"),u=e.getExpression("on_unmount");return i.firstMountRecorded!==!0&&(r.updateAssociatedObject_INTERNAL(e,o("WebBloksConstants").CONTROLLER_ASSOCIATED_OBJECT,{firstMountRecorded:!0}),l!=null&&a(t.current,l,[t.current,n])),s!=null&&a(t.current,s,[t.current,n]),function(){u!=null&&a(t.current,u,[t.current])}}l.runMountEffects=e}),98);
__d("WebBloksOnMount",["WebBloksComponentContext","WebBloksOnMountExtensionHandlerUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useEffect;function c(e){var t=e.children,n=e.node,r=o("WebBloksComponentContext").useWebBloksContext();return u(function(){return r.bloksContext.objectSet.mountEffectsQueue.enqueue(n.clientId,[function(){return o("WebBloksOnMountExtensionHandlerUtils").runMountEffects(n,{current:n},r)}]),function(){r.bloksContext.objectSet.mountEffectsQueue.dispose(n.clientId)}},[]),t!=null?t:null}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksPullToRefreshContainer",["WebBloksComponentContext"],(function(t,n,r,o,a,i,l){function e(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),r=n.renderNode;return r(t.getSubNode("child"))}l.default=e}),98);
__d("WebBloksRichTextContext",["react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.createContext({maxNumberOfLines:1,isRootFontSizeEnabled:!1,setIsRootFontSizeEnabled:function(t){}});l.default=u}),98);
__d("WebBloksTextStyle",["WebBloksSSRUtils","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr("#0000000")),s=1.3;function u(t,n,r){return t!=null?{color:o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(t))}:n&&r?{color:o("WebBloksUtils").getRGBColorWithTheme(n,r)}:{color:e}}function c(e){var t,n;switch(e){case"normal":t=400;break;case"heavy":t=900;break;case"bold":t=700;break;case"italic":n="italic";break;case"bold_italic":t=700,n="italic";break;case"light":t=300;break;case"medium":t=500;break;case"semibold":t=600;break}return{fontWeight:t,fontStyle:n}}function d(e){var t="";switch(e){case"top_to_bottom":t="180deg";break;case"left_to_right":t="90deg";break;case"bottom_left_to_top_right":t="45deg";break;case"top_left_to_bottom_right":t="135deg";break}return t}function m(e,t){return e.map(function(e){return o("WebBloksUtils").getRGBColorWithTheme(e,t)}).join(", ")}function p(e,t,n){if(e==null||e.length===0||t==null)return{};var r=d(t),a=m(e,n);return{backgroundColor:o("WebBloksUtils").getRGBColorWithTheme(e[0],n),background:"linear-gradient("+r+", "+a+")",backgroundSize:"100%",textFillColor:"transparent",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}function _(e,t,n){var r=0,o=0;if(n){var a,i;r=f(e,t,(a=n.cap_spacing)!=null?a:void 0),o=f(e,t,(i=n.baseline_spacing)!=null?i:void 0)}function l(e){if(typeof e=="string")return"translateY(calc(calc("+e+" - 1em) / 2)";if(!(e<=s)){var t="calc(1em * "+e+")",n="calc(1em * "+s+")";return"translateY(calc(("+t+" - "+n+")/2))"}}return{paddingTop:r,paddingBottom:o,transform:l(e)}}function f(e,t,n){if(n==null)return 0;if(t!=null){var r=t*.8,o=typeof e=="string"?parseInt(e,10):t*e,a=(o-r)/2,i=n-a;if(Math.abs(i)>.3)return i}return 0}function g(e,t){return t===void 0&&(t=!0),e==null||e<1?{}:{display:t?"-webkit-inline-box":"-webkit-box",overflow:"hidden",textOverflow:"ellipsis",WebkitBoxOrient:"vertical",WebkitLineClamp:e,wordBreak:"break-word",maxHeight:"999999px"}}var h=12;function y(e){if(e==null)return 0;var t=h;for(var n of e){var r=h;switch(n.styleId){case"bk.components.TextSpan":{var a=o("WebBloksUtils").toPx(n.get("text_size"));o("WebBloksSSRUtils").canUseDOM?r=parseFloat(a!=null?a:window.getComputedStyle(document.body).fontSize):r=parseFloat(a);break}case"bk.data.ComposableTextSpan":case"bk.data.TextSpan":{var i,l=(i=n.get("styles"))==null?void 0:i.find(function(e){return e.styleId==="bk.style.textspan.TextStyle"});if(l==null||l.styleId!=="bk.style.textspan.TextStyle")break;var s=o("WebBloksUtils").toPx(l.get("text_size"));o("WebBloksSSRUtils").canUseDOM?r=parseFloat(s!=null?s:window.getComputedStyle(document.body).fontSize):r=parseFloat(s);break}case"bk.data.ImageSpan":{var u,c=n.get("image_height");r=(u=parseFloat(c))!=null?u:h;break}default:continue}r>t&&(t=r)}return t}function C(e){return e===void 0&&(e=1),s*e}function b(e,t){if(e==="AvenyT")return"Instagram Sans Condensed";if(e!=null&&t!=null&&t[e]){var n=t[e].webFontName;return n==null?void 0:n}return e}function v(e,t){var n,r,a,i=(n=e.shadow_offset_dx)==null?void 0:n.toString(),l=(r=e.shadow_offset_dy)==null?void 0:r.toString(),s=(a=e.shadow_radius)==null?void 0:a.toString(),u=e.shadow_color?o("WebBloksUtils").getRGBColorWithTheme(e.shadow_color,t):null,c;return i!=null&&l!=null&&(c=i+"px "+l+"px"),c!=null&&(s!=null&&(c=c+" "+s+"px"),u!=null&&(c=c+" "+u)),c}l.getTextColor=u,l.getTextStyle=c,l.getGradientColors=m,l.getGradientTextStyle=p,l.getVerticalSpacingStyles=_,l.getLineClampStyle=g,l.getMaxTextSizePx=y,l.getLineHeight=C,l.getFontFamily=b,l.getTextShadow=v}),98);
__d("WebBloksRichTextTruncationCustom",["WebBloksComponentContext","WebBloksStyle","WebBloksTextStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useLayoutEffect,d=u.useRef,m=u.useState;function p(e){var t=e.children,n=e.dimensions,r=e.node,a=e.truncationSpans,i=o("WebBloksComponentContext").useWebBloksContext(),l=i.renderChildren,u=d(null),p=m(!1),f=p[0],g=p[1],h=r.get("max_number_of_lines"),y=n.lineHeight,C=n.textSizePx,b=C*y,v=b*(h!=null?h:1);if(c(function(){var e,t;g(((e=(t=u.current)==null?void 0:t.clientHeight)!=null?e:0)>v+b/2)},[v,b]),h==null)return null;var S=u.current!=null?window.getComputedStyle(u.current).direction==="rtl":!1,R=S?"left":"right",L=o("WebBloksTextStyle").getMaxTextSizePx(a)*y,E={fontSize:C,maxHeight:v+"px",wordBreak:h===1?"break-all":"break-word"},k=l(a);return s.jsxs("div",{style:E,className:_.container,children:[f&&s.jsxs(s.Fragment,{children:[s.jsx("div",{style:{float:R,height:v-L+"px"}}),s.jsx("div",{dir:S?"rtl":"ltr",style:{float:R,clear:R},children:k})]}),s.jsx("div",{className:_.content,dir:"auto",ref:u,children:t})]})}p.displayName=p.name+" [from "+i.id+"]";var _=o("WebBloksStyle").createStyles({container:{overflow:"hidden"},content:{float:"none"}});l.default=p}),98);
__d("WebBloksRichTextTruncation",["WebBloksRichTextTruncationCustom","WebBloksStyle","WebBloksTextStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.children,n=e.dimensions,o=e.node,a=o.get("max_number_of_lines"),i=o.getSubNodes("truncation_spans"),l=o.getSubNodes("spans_for_truncation"),u=a,d=i!=null&&i.length?i:l;return u==null||u===0?t:d==null||d.length<1?s.jsx(c,{children:t,node:o}):s.jsx(r("WebBloksRichTextTruncationCustom"),{dimensions:n,node:o,truncationSpans:d,children:t})}u.displayName=u.name+" [from "+i.id+"]";function c(e){var t=e.children,n=e.node,r=n.get("max_number_of_lines"),a=o("WebBloksTextStyle").getLineClampStyle(r,!1);return s.jsx("div",{className:d.container,style:a,children:t})}c.displayName=c.name+" [from "+i.id+"]";var d=o("WebBloksStyle").createStyles({container:{overflow:"hidden"}});l.default=u}),98);
__d("WebBloksRichTextVerticalAlign",["WebBloksTextStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useMemo;function c(e){var t=e.children,n=e.dimensions,r=e.node,a=r.get("baseline_spacing"),i=r.get("cap_spacing"),l=u(function(){return o("WebBloksTextStyle").getVerticalSpacingStyles(n.lineHeight,n.textSizePx,{baseline_spacing:a,cap_spacing:i})},[n,a,i]);return l.transform==null&&l.paddingBottom===0&&l.paddingTop===0?t:s.jsx("div",{style:babelHelpers.extends({fontSize:n.textSizePx},l),children:t})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("useWebBloksRichTextDimensions",["WebBloksTextStyle","react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useMemo;function u(e){var t=e.get("line_height_multiplier"),n=e.get("use_composable_and_extensible_spans"),r=e.getSubNodes("spans"),a=e.getSubNodes("children"),i=e.getSubNodes("spans_for_truncation"),l=e.getSubNodes("truncation_spans");return s(function(){var e,s,u=o("WebBloksTextStyle").getLineHeight(t),c=(e=n===!0?r:a)!=null?e:[],d=(s=n===!0?i:l)!=null?s:[],m=o("WebBloksTextStyle").getMaxTextSizePx((c!=null?c:[]).concat(d!=null?d:[]));return{lineHeight:u,textSizePx:m}},[a,t,r,i,l,n])}l.default=u}),98);
__d("WebBloksRichText",["WebBloksComponentContext","WebBloksRichTextContext","WebBloksRichTextTruncation","WebBloksRichTextVerticalAlign","WebBloksStyle","WebBloksUtils","react","useClickablePropsForWebBloks","useWebBloksRichTextDimensions"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useMemo,d=u.useState;function m(e){var t=e.externalStyle,n=e.node,a=n.getExpression("on_click"),i=n.getSubNodes("children"),l=n.getSubNodes("spans"),u=n.get("text_align"),m=n.get("use_composable_and_extensible_spans"),p=n.get("max_number_of_lines"),_=o("WebBloksStyle").useStyle(n,t,a!=null),f=_.style,g=_.wrapper,h=_.wrapperProps,y=r("useClickablePropsForWebBloks")(n,a),C=o("WebBloksComponentContext").useWebBloksContext(),b=C.renderChildren,v=i.slice(-1)[0],S=r("useWebBloksRichTextDimensions")(n),R=m===!0,L=d(!1),E=L[0],k=L[1],I=c(function(){return{maxNumberOfLines:p!=null?p:1,isRootFontSizeEnabled:E,setIsRootFontSizeEnabled:k}},[E,p]),T=c(function(){return R?s.jsx(r("WebBloksRichTextContext").Provider,{value:I,children:b(l)}):b(i)},[R,i,l,b,I]);return g(s.jsx("div",babelHelpers.extends({},h,{dir:"auto",className:o("WebBloksStyle").WebBloksStyles.container,style:babelHelpers.extends({},f,{lineHeight:S.lineHeight,display:"block",color:v==null?void 0:v.get("text_color"),textAlign:o("WebBloksUtils").toHyphen(u),overflow:"hidden"})},y,{children:s.jsx(r("WebBloksRichTextVerticalAlign"),{node:n,dimensions:S,children:s.jsx(r("WebBloksRichTextTruncation"),{node:n,dimensions:S,children:T})})})))}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
__d("WebBloksScreenWrapperPrimitive",["WebBloksBooleanUtils","WebBloksComponentContext","WebBloksEnvironmentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),r=n.renderNode,a=o("WebBloksEnvironmentContext").useWebBloksEnvironment(),i=a.embedded,l=r(t.get("content")),u=t.get("navbar"),d=t.get("contribs"),m=null,p=!1;if(d!==void 0&&d.length>0){for(var _ of d)if(o("WebBloksBooleanUtils").isFalse(_.get("should_wrap")))return l}return u!==void 0&&(m=r(u),p=u.getValues().hide_navbar===!0),s.jsxs("div",{"data-bloks-name":t.styleId,className:c.root,children:[m!=null&&!p?s.jsx("div",{className:c.header,children:m},"navbar"):null,s.jsx("div",{className:o("WebBloksStyle").classNames(c.content,i?c.contentEmbedded:c.contentFullScreen),children:l},"content")]})}u.displayName=u.name+" [from "+i.id+"]";var c=o("WebBloksStyle").createStyles({root:{height:"100%",width:"100%",display:"flex",flexDirection:"column"},header:{flex:"0 0 auto"},content:{flex:"1 1 0",width:"100%",overflow:"hidden",pointerEvents:"auto",display:"flex",flexDirection:"column"},contentEmbedded:{flexBasis:"auto"},contentFullScreen:{flexBasis:"0"}});l.default=u}),98);
__d("WebBloksSlider",["WebBloksComponentContext","WebBloksConstants","WebBloksEnvironmentContext","WebBloksMutations","WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e=["onChange","onChangeEnd","onChangeStart","railColor","thumbColor","thumbSize","trackColor","trackHeight","value"],s=["aria-label","disabled"],u,c=u||(u=o("react")),d=u,m=d.useCallback,p=d.useEffect,_=d.useMemo,f=d.useRef,g=d.useState,h=0,y=100,C=o("WebBloksStyle").createStyles({wrapper:{touchAction:"none",pointerEvents:"all",position:"relative",cursor:"pointer",width:"100%"},rail:{borderRadius:2,width:"100%",position:"absolute",top:0,bottom:0,marginTop:"auto",marginBottom:"auto"},track:{borderRadius:2,position:"absolute",top:0,bottom:0,marginTop:"auto",marginBottom:"auto"},thumbWrapper:{position:"relative"},thumb:{borderRadius:"50%",boxShadow:"0 0 5px gainsboro",position:"absolute",cursor:"pointer",transform:"translate(-50%, 0)"}});function b(e){var t,n=e.externalStyle,r=e.node,a=r.get("thumb_diameter"),i=r.get("track_height"),l=r.getSubNode("thumb_color"),s=r.getSubNode("unfilled_track_color"),u=r.getSubNode("filled_track_color"),d=r.get("initial_value"),m=r.get("progress"),_=r.getExpression("on_change"),f=r.getExpression("on_start_touch"),h=r.getExpression("on_end_touch"),C=o("WebBloksComponentContext").useWebBloksContext(),b=C.bloksContext,S=C.executeCatch,R=o("WebBloksTheme").useTheme().getTheme(),L=o("WebBloksStyle").useStyle(r,n),E=L.wrapper,k=L.wrapperProps,I=a!=null?parseFloat(a):24,T=i!=null?parseFloat(i):4,D=l!=null?o("WebBloksUtils").getRGBColorWithTheme(l,R):o("WebBloksTheme").WebBloksThemeVars["primary-bg"],x=s!=null?o("WebBloksUtils").getRGBColorWithTheme(s,R):"#DBDBDB",$=u!=null?o("WebBloksUtils").getRGBColorWithTheme(u,R):o("WebBloksTheme").WebBloksThemeVars["fds-gray-65"],P=g(((t=d!=null?d:m)!=null?t:0)*y),N=P[0],M=P[1],w=g(!1),A=w[0],F=w[1];p(function(){!A&&m!=null&&(M(m*y),o("WebBloksMutations").updateProperty(b.treeManager,r,"progress",null))},[b.treeManager,A,r,m,N]);var O=function(t){_!=null&&S(r,_,[Number(t)/y,b]),M(Number(t))},B=function(t){f!=null&&S(r,f,[t,b]),F(!0)},W=function(t){h!=null&&S(r,h,[t,b]),F(!1)};return E(c.jsx(v,babelHelpers.extends({},k,{onChange:O,onChangeStart:B,onChangeEnd:W,value:N,thumbSize:I,railColor:x,trackColor:$,trackHeight:T,thumbColor:D})))}b.displayName=b.name+" [from "+i.id+"]";function v(t){var n=t.onChange,r=t.onChangeEnd,a=t.onChangeStart,i=t.railColor,l=t.thumbColor,u=t.thumbSize,d=t.trackColor,p=t.trackHeight,_=t.value,f=babelHelpers.objectWithoutPropertiesLoose(t,e),b=o("WebBloksEnvironmentContext").useWebBloksEnvironment().isRtl,v=m(function(e){a==null||a(e)},[a]),L=m(function(e){n==null||n(e)},[n]),E=m(function(e){r==null||r(e)},[r]),k=b?y-_:_,I=S(k,b),T=I.trackEnd,D=I.trackStart,x=R({onChange:L,onChangeStart:v,onChangeEnd:E,min:h,max:y,isRTL:b,value:_}),$=x.onMouseDown,P=x.onPointerDown,N=x.onTouchStart,M=x.thumbRef,w=x.wrapperRef,A=g(!1),F=A[0],O=A[1],B=m(function(e){var t=_;if(e.keyCode===o("WebBloksConstants").KEY_LEFT)t-=1;else if(e.keyCode===o("WebBloksConstants").KEY_RIGHT)t+=1;else return;F||(O(!0),v(t)),L(t)},[F,L,v,_]),W=m(function(e){e.keyCode!==o("WebBloksConstants").KEY_LEFT&&e.keyCode!==o("WebBloksConstants").KEY_RIGHT||(O(!1),E(_))},[E,_]),q=f["aria-label"],U=f.disabled,V=babelHelpers.objectWithoutPropertiesLoose(f,s);return c.jsxs("div",babelHelpers.extends({},V,{ref:w,className:C.wrapper,onMouseDown:$,onPointerDown:P,onTouchStart:N,style:{height:u},children:[c.jsx("div",{className:C.rail,style:{height:p,backgroundColor:i}}),c.jsx("div",{className:C.track,style:{left:D+"%",right:T+"%",height:p,backgroundColor:d}}),c.jsx("div",{className:C.thumbWrapper,style:{marginLeft:u/2,marginRight:u/2},children:c.jsx("div",{ref:M,className:C.thumb,role:"slider","aria-label":q,"aria-valuenow":_,"aria-valuemin":h,"aria-valuemax":y,disabled:U,onKeyDown:B,onKeyUp:W,tabIndex:0,style:{left:k+"%",height:u,width:u,backgroundColor:l}})})]}))}v.displayName=v.name+" [from "+i.id+"]";function S(e,t){var n,r;if(n=h,r=y-e,t){var o=n;n=r,r=o}return{trackStart:n,trackEnd:r}}function R(e){var t=e.isRTL,n=e.max,r=e.min,o=e.onChange,a=e.onChangeEnd,i=e.onChangeStart,l=e.value,s=f(null),u=f(null),c=f(null),d=m(function(e){var a,l=e.clientX;if(s.current!=null){var c=E(s.current,l,r,n,t);(a=u.current)==null||a.focus(),i==null||i(c),o==null||o(c)}},[n,r,o,i,u,s,t]),p=m(function(e){var a=e.clientX;if(s.current!=null){var i=E(s.current,a,r,n,t);o==null||o(i)}},[t,n,r,o,s]),g=m(function(){a==null||a(l)},[a,l]);return _(function(){if(window.PointerEvent===void 0){var e=function(t){t.button===0&&(p==null||p({clientX:t.clientX,pageX:t.pageX,pageY:t.pageY}))},t=function(r){r.button===0&&(g==null||g(),window.removeEventListener("mousemove",e,!1),window.removeEventListener("mouseup",t,!1))},n=function(r){r.button===0&&(d==null||d({clientX:r.clientX,pageX:r.pageX,pageY:r.pageY}),r.stopPropagation(),r.preventDefault(),window.addEventListener("mousemove",e,!1),window.addEventListener("mouseup",t,!1))},r=function(t){var e=L(t,c);if(e!=null){var n=e.clientX,r=e.pageX,o=e.pageY;p==null||p({clientX:n,pageX:r,pageY:o})}},o=function(t){var e=L(t,c);e!=null&&(g==null||g(),c.current=null,window.removeEventListener("touchmove",r,!1),window.removeEventListener("touchend",o,!1),window.removeEventListener("touchcancel",o,!1))},a=function(t){if(!(t.changedTouches.length===0||c.current!=null)){var e=t.changedTouches[0];t.stopPropagation(),t.preventDefault(),c.current=e.identifier,d==null||d({clientX:e.clientX,pageX:e.pageX,pageY:e.pageY}),window.addEventListener("touchmove",r,!1),window.addEventListener("touchend",o,!1),window.addEventListener("touchcancel",o,!1)}};return{onMouseDown:n,onTouchStart:a,wrapperRef:s,thumbRef:u}}else{var i=function(t){t.pointerId===c.current&&(p==null||p({clientX:t.clientX,pageX:t.pageX,pageY:t.pageY}))},l=function(t){t.pointerId===c.current&&(g==null||g(),c.current=null,window.removeEventListener("pointermove",i,!1),window.removeEventListener("pointerup",l,!1),window.removeEventListener("pointercancel",l,!1))},m=function(t){t.button===0&&c.current==null&&(d==null||d({clientX:t.clientX,pageX:t.pageX,pageY:t.pageY}),t.stopPropagation(),t.preventDefault(),c.current=t.pointerId,window.addEventListener("pointermove",i,!1),window.addEventListener("pointerup",l,!1),window.addEventListener("pointercancel",l,!1))};return{onPointerDown:m,wrapperRef:s,thumbRef:u}}},[d,p,g])}function L(e,t){var n=Array.from(e.changedTouches).findIndex(function(e){var n=e.identifier;return n===t.current});return n<0?null:e.changedTouches[n]}function E(e,t,n,r,o){var a=e.getBoundingClientRect(),i=a.left,l=a.width,s=t-i;return o&&(s=i+l-t),k(s/l*(r-n)+n,n,r)}function k(e,t,n){return Math.min(Math.max(Math.round(e),t),n)}l.default=b}),98);
__d("WebBloksAppAccessibilityStyles",["WebBloksStyle","WebDriverConfig"],(function(t,n,r,o,a,i,l){var e="2px solid #0064E0",s=o("WebBloksStyle").createStyles({noOutlines:function(t){var e;return e={},e[t+" *"]={outline:"none"},e}}),u=o("WebBloksStyle").createStyles({outlines:function(n){var t;return t={},t[n+" *"]={outline:"none",outlineOffset:"-1px"},t[n+' *[tabindex="0"]:focus']={outline:e},t[n+" *[role=button]:focus"]={outline:e},t[n+" *[role=link]:focus"]={outline:e},t[n+" a:focus"]={outline:e},t}}),c=o("WebBloksStyle").createStylesIfSupported({type:"selector",selector:":focus-visible"},{outlines:function(n){var t;return t={},t[":root "+n+" *:focus"]={outline:"none"},t[n+' *[tabindex="0"]:focus-visible']={outline:e},t[n+" *[role=button]:focus-visible"]={outline:e},t[n+" *[role=link]:focus-visible"]={outline:e},t[n+" a:focus-visible"]={outline:e},t}}),d={outlines:r("WebDriverConfig").isJestE2ETestRun?s.noOutlines:o("WebBloksStyle").classNames(u.outlines,c.outlines)};l.FOCUS_OUTLINE=e,l.ACCESSIBILITY_STYLES=d}),98);
__d("WebBloksSwitch",["WebBloksAppAccessibilityStyles","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksConstants","WebBloksEnvironmentContext","WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useState;function c(e){var t,n,r=e.externalStyle,a=e.node,i=o("WebBloksTheme").useTheme().getTheme(),l=o("WebBloksEnvironmentContext").useWebBloksEnvironment().isRtl,c=o("WebBloksStyle").useStyle(a,r),d=c.wrapper,_=c.wrapperProps,f=o("WebBloksComponentContext").useWebBloksContext(),g=o("WebBloksBooleanUtils").isTrue(a.get("checked")),h=u(g),y=h[0],C=h[1],b=o("WebBloksBooleanUtils").isFalse(a.get("enabled"))||_.disabled===!0,v=o("WebBloksBooleanUtils").isTrue(a.get("is_controlled")),S=function(t){if(!b){v||C(t);var e=a.getExpression("on_toggle");e!=null&&f.executeCatch(a,e,[a,t,f])}},R=v?g:y,L=(t=a.get("on_color"))!=null?t:a.get(b?"track_color_disabled_on":"track_color_on"),E=(n=a.get("off_color"))!=null?n:a.get(b?"track_color_disabled_off":"track_color_off"),k=a.get(b?"thumb_color_disabled_on":"thumb_color_on"),I=a.get(b?"thumb_color_disabled_off":"thumb_color_off"),T=function(t){t.keyCode===o("WebBloksConstants").KEY_SPACE&&t.preventDefault()},D=function(t){b||(t.keyCode===o("WebBloksConstants").KEY_SPACE||t.keyCode===o("WebBloksConstants").KEY_RETURN)&&S(!R)};return d(s.jsxs("div",babelHelpers.extends({className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,m.switch,m.innerShadow,b?m.switchDisabled:m.switchEnabled,p.outlines),style:!R&&E?{background:o("WebBloksUtils").getRGBColorWithTheme(E,i)}:null,"aria-checked":R,onKeyDown:T,onKeyUp:D,role:"switch",tabIndex:0},_,{children:[s.jsx("div",{style:R&&L?{background:o("WebBloksUtils").getRGBColorWithTheme(L,i)}:null,className:o("WebBloksStyle").classNames(m.background,R&&m.backgroundActive)}),s.jsx("div",{style:R&&k?{background:o("WebBloksUtils").getRGBColorWithTheme(k,i)}:!R&&I?{background:o("WebBloksUtils").getRGBColorWithTheme(I,i)}:null,className:o("WebBloksStyle").classNames(m.slider,l?m.sliderRight:m.sliderLeft,R&&m.sliderActive,R&&(l?m.sliderActiveLeft:m.sliderActiveRight))}),s.jsx("input",{checked:R,disabled:b,onChange:function(t){S(t.target.checked)},tabIndex:-1,type:"checkbox",className:o("WebBloksStyle").classNames(m.switchInput,b?m.switchInputDisabled:m.switchInputEnabled)})]})))}c.displayName=c.name+" [from "+i.id+"]";var d=28,m=o("WebBloksStyle").createStyles({background:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["switch-active"],borderRadius:d/2,bottom:0,boxSizing:"border-box",left:0,opacity:0,pointerEvents:"none",position:"absolute",right:0,top:0,transitionDuration:o("WebBloksTheme").WebBloksThemeVars["fds-duration-extra-short-out"],transitionProperty:"opacity",transitionTimingFunction:o("WebBloksTheme").WebBloksThemeVars["fds-animation-move-out"]},backgroundActive:{opacity:1,transitionDuration:o("WebBloksTheme").WebBloksThemeVars["fds-duration-extra-short-in"],transitionTimingFunction:o("WebBloksTheme").WebBloksThemeVars["fds-animation-move-in"]},switchDisabled:{opacity:.4,transitionDuration:o("WebBloksTheme").WebBloksThemeVars["fds-duration-extra-short-in"],transitionTimingFunction:o("WebBloksTheme").WebBloksThemeVars["fds-animation-move-in"]},switchEnabled:{opacity:1},innerShadow:{boxShadow:"inset 0 0 0 0.5px "+o("WebBloksTheme").WebBloksThemeVars["media-inner-border"]},slider:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["always-white"],borderRadius:12,boxShadow:"0 1px 2px "+o("WebBloksTheme").WebBloksThemeVars["shadow-5"],height:24,pointerEvents:"none",position:"absolute",top:2,transitionDuration:o("WebBloksTheme").WebBloksThemeVars["fds-duration-extra-short-out"],transitionProperty:"transform, background-color",transitionTimingFunction:o("WebBloksTheme").WebBloksThemeVars["fds-animation-move-out"],width:24},sliderLeft:{left:2},sliderRight:{right:2},sliderActive:{transitionDuration:o("WebBloksTheme").WebBloksThemeVars["fds-duration-extra-short-in"],transitionTimingFunction:o("WebBloksTheme").WebBloksThemeVars["fds-animation-move-in"]},sliderActiveLeft:{transform:"translateX(-24px)"},sliderActiveRight:{transform:"translateX(24px)"},switch:{flexShrink:0,flexGrow:0,backgroundColor:o("WebBloksTheme").WebBloksThemeVars.divider,borderRadius:d/2,boxSizing:"border-box",display:"inline-block",height:d,overflow:"hidden",padding:0,position:"relative",transitionDuration:o("WebBloksTheme").WebBloksThemeVars["fds-duration-extra-short-out"],transitionProperty:"opacity",transitionTimingFunction:o("WebBloksTheme").WebBloksThemeVars["fds-animation-move-out"],width:52},switchInput:{height:"100%",margin:0,opacity:0,outline:"none",padding:0,position:"absolute",top:0,width:"100%"},switchInputDisabled:{pointerEvents:"none"},switchInputEnabled:{cursor:"pointer"}}),p=o("WebBloksStyle").createStylesIfSupported({type:"selector",selector:":focus-visible"},{outlines:function(t){var e;return e={},e[t+":focus-visible"]={outline:o("WebBloksAppAccessibilityStyles").FOCUS_OUTLINE},e}});l.default=c}),98);
__d("WebBloksText",["WebBloksBooleanUtils","WebBloksComponentContext","WebBloksStyle","WebBloksTextStyle","WebBloksTheme","WebBloksUtils","react","useClickablePropsForWebBloks"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useLayoutEffect,d=u.useRef,m=1e3/60;function p(e,t,n){var r=d({innerText:""});c(function(){e.current!=null&&e.current.innerText!=null&&(r.current.innerText=e.current.innerText)},[n]),c(function(){var n=e.current;if(!(n==null||t==null||ResizeObserver==null)){var a=o("WebBloksUtils").throttle(function(){n.style.whiteSpace="nowrap",n.scrollWidth<=n.clientWidth&&(n.innerText=r.current.innerText);for(var e=!1;n.scrollWidth>n.clientWidth&&n.innerText!=null;)n.innerText=""+n.innerText.slice(0,-1+(e?-1*t.length:0))+t,e=!0},m);a();var i=new ResizeObserver(function(){a()});return i.observe(n),function(){i&&i.unobserve(n)}}},[t,n])}function _(e){var t=e.externalStyle,n=e.node,a=n.getExpression("on_click"),i=n.get("text"),l=n.get("text_align"),u=n.get("text_size"),c=n.get("text_style"),d=n.getSubNode("text_themed_color"),m=n.get("text_color"),_=n.get("font_family"),f=n.get("strikethrough"),g=n.getSubNode("text_provider"),h=n.get("truncation_string"),y=n.get("line_height"),C=n.get("line_height_multiplier"),b=n.get("max_number_of_lines"),v=o("WebBloksStyle").useStyle(n,t,a!=null),S=v.ref,R=v.style,L=v.wrapper,E=v.wrapperProps,k=o("WebBloksTheme").useTheme().getTheme(),I=m!=null&&o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(m))||d&&o("WebBloksUtils").getRGBColorWithTheme(d,k),T=r("useClickablePropsForWebBloks")(n,a),D=o("WebBloksComponentContext").useWebBloksContext(),x=D.bloksContext,$=D.renderNode,P=x.objectSet.environment.fontFamilyMappings,N=g!=null?$(g):i==null?i:i===" "?s.jsx(s.Fragment,{children:"\xA0"}):i;p(S,h,N);var M=o("WebBloksUtils").toPx(y),w=M!=null?M:o("WebBloksTextStyle").getLineHeight(C);return L(s.jsx("span",babelHelpers.extends({},E,{style:babelHelpers.extends({},R,o("WebBloksTextStyle").getLineClampStyle(b),o("WebBloksTextStyle").getTextStyle(c),o("WebBloksTextStyle").getVerticalSpacingStyles(w),{lineHeight:w,fontSize:o("WebBloksUtils").toPx(u),fontFamily:o("WebBloksTextStyle").getFontFamily(_,P),textAlign:o("WebBloksUtils").toHyphen(l),textDecoration:o("WebBloksBooleanUtils").isTrue(f)?"line-through":"",color:I,whiteSpace:"pre-wrap",overflowWrap:"break-word",padding:"unset",maxWidth:"100%"})},T,{children:N})))}_.displayName=_.name+" [from "+i.id+"]",l.default=_}),98);
__d("WebBloksBKSTextInputFormatterHandlerUtils",["WebBloksComponentContext","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e){var t=o("WebBloksComponentContext").useWebBloksContext(),n=t.executeCatch,r=o("WebBloksUtils").findExtension(e.extensions,"bk.components.BKSTextInputFormatter");return function(e){var t=r==null?void 0:r.getExpression("format_text");if(r!=null&&t!=null){var o=n(r,t,[e]);if(typeof o=="string")return o}return e}}l.useBKSTextInputFormatter=e}),98);
__d("WebBloksTextInputDatePickerExtensionHandlerUtils",["WebBloksComponentContext","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e){var t=e.get("extensions"),n=o("WebBloksComponentContext").useWebBloksContext(),r=n.bloksContext,a=n.executeOnNextTickCatch,i=o("WebBloksUtils").findExtension(t,"bk.components.TextInputDatePickerExtension");if(!i)return null;var l=i.getValues(),c=l.initial_time_seconds,d=l.maximum_time_seconds,m=l.minimum_time_seconds,p=l.mode,_=i.getExpression("on_date_change");return p==="time"?{typeOverride:"time",initialValue:u(c!=null?c*1e3:Date.now()),minmaxProps:null,onChange:function(n){if(n){var t=n.split(":").map(Number),o=t[0],i=t[1],l=new Date;l.setUTCHours(o,i,0,0),_!=null&&a(e,_,[parseInt(l.getTime()/1e3,10),e,r])}}}:{typeOverride:"date",initialValue:s(c!=null?c*1e3:Date.now()),minmaxProps:{min:m!=null?s(m*1e3):void 0,max:d!=null?s(d*1e3):void 0},onChange:function(n){if(n){var t=n.split("-").map(Number),o=t[0],i=t[1],l=t[2],s=new Date;s.setUTCFullYear(o),s.setUTCMonth(i-1),s.setUTCDate(l),s.setUTCHours(0,0,0,0),_!=null&&a(e,_,[parseInt(s.getTime()/1e3,10),e,r])}}}}var s=function(t){var e=new Date(t);return[String(e.getUTCFullYear()).padStart(4,"0"),String(e.getUTCMonth()+1).padStart(2,"0"),String(e.getUTCDate()).padStart(2,"0")].join("-")},u=function(t){var e=new Date(t);return[e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0")].join(":")};l.useWebBloksTextInputDateProps=e}),98);
__d("WebBloksTextInputHelpers",["WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t){for(var n=new RegExp("(?:\\r\\n?|\\n)","gm"),r,o=0,a=0;a<t;a++){if(r=n.exec(e),!r)return e;o=r.index}if(r==null)return e;var i=e.slice(0,o+r[0].length),l=e.slice(o+r[0].length);return l=l.replace(n,""),i+l}var s={number:"numeric"};function u(e){if(e==null)return{};for(var t of Object.entries(s)){var n=t[0],r=t[1];if(e===n)return{type:"text",inputMode:r}}switch(e){case"phone":return{type:"tel"};case"passcode":return{type:"password",inputMode:"numeric"};default:return{type:o("WebBloksUtils").toHyphen(e)}}}l.removeLineBreaks=e,l.WEBBLOKS_TEXT_INPUT_TYPES_WITH_INPUT_MODES=s,l.getInputTypeProps=u}),98);
__d("WebBloksTextInputMaskExtensionHandlerUtils",["WebBloksTextInputHelpers","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t){return e.replace(/[^0-9]/g,"")}function s(t,n){var r=o("WebBloksUtils").findExtension(t.extensions,"bk.components.TextInputMaskExtension");if(r!=null){var a=r.get("mask");if(!(a.length<=0)){var i=function(n,r){for(var t=e(r,a),o=t.split(""),i=a.split(""),l="";o.length&&i.length;){var s=i.shift();if(s==="#"){var u;l+=(u=o.shift())!=null?u:""}else l+=s!=null?s:""}if(!i.includes("#")){var c=l+i.join("");return n.length===a.length&&r.length<a.length?l.slice(0,-1):c}return l},l=Object.prototype.hasOwnProperty.call(o("WebBloksTextInputHelpers").WEBBLOKS_TEXT_INPUT_TYPES_WITH_INPUT_MODES,t.type)?void 0:"text";return{onBeforeChange:i,maxLength:a.length,typeOverride:l}}}}l.getTextInputMaskExtensionProps=s}),98);
__d("useQueuedBlurEventForWebBloks",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useEffect,c=s.useRef;function d(e,t){var n=c(!1);u(function(){var e=function(){n.current=!0},t=function(){n.current=!1};return window.addEventListener("mousedown",e),window.addEventListener("mouseup",t),function(){window.removeEventListener("mousedown",e),window.removeEventListener("mouseup",t)}},[]);var r=function(){if(n.current===!1)t();else{var r=function(){window.setTimeout(function(){e.current!==document.activeElement&&t(),window.removeEventListener("mouseup",r)},0)};window.addEventListener("mouseup",r)}};return r}l.default=d}),98);
__d("useWebBloksTextInputFormatValue",["WebBloksTextInputHelpers","WebBloksTextInputMaskExtensionHandlerUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){var n=e.get("max_number_of_lines"),r=e.get("digits_key_listener"),a=o("WebBloksTextInputMaskExtensionHandlerUtils").getTextInputMaskExtensionProps(e.getValues(),t),i=a==null?void 0:a.onBeforeChange,l=n!=null&&n>0?n:null;return function(e,t){var n=t;if(i&&(n=i(e,t)),l!=null&&(n=o("WebBloksTextInputHelpers").removeLineBreaks(n,l-1)),r!=null){var a=new RegExp("[^"+r+"]","gmi");n=n.replace(a,"")}return n}}l.default=e}),98);
__d("WebBloksTextInput",["WebBloksBKSTextInputFormatterHandlerUtils","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksConstants","WebBloksStyle","WebBloksTextInputDatePickerExtensionHandlerUtils","WebBloksTextInputHelpers","WebBloksTextInputMaskExtensionHandlerUtils","WebBloksTextStyle","WebBloksTheme","WebBloksUtils","react","useQueuedBlurEventForWebBloks","useWebBloksTextInputFormatValue"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useEffect,m=u.useImperativeHandle,p=u.useLayoutEffect,_=u.useRef,f=u.useState;function g(e){var t,n,a,i,l=e.externalStyle,u=e.node,g=u.get("single_line"),y=u.get("text"),C=u.get("text_style"),b=u.get("cursor_color"),v=u.get("text_size"),S=u.get("text_align"),R=u.get("text_color"),L=u.getSubNode("text_themed_color"),E=u.get("font_family"),k=u.get("resize_height_based_on_content"),I=u.getSubNode("background_color"),T=u.get("hint"),D=u.get("html_autocapitalize"),x=u.get("html_autocomplete"),$=u.get("html_autocorrect"),P=u.get("html_name"),N=u.get("max_length"),M=u.get("type"),w=u.get("enabled"),A=u.getExpression("on_text_change"),F=u.getExpression("on_submit"),O=u.getExpression("on_gain_focus"),B=u.getExpression("on_lose_focus"),W=u.getExpression("allow_text_change_callback"),q=u.getValues(),U=o("WebBloksBooleanUtils").isTrue(k),V=o("WebBloksBooleanUtils").isFalse(g),H=o("WebBloksStyle").useStyle(u,l),G=H.ref,z=H.style,j=H.wrapper,K=H.wrapperProps,Q=o("WebBloksTheme").useTheme().getTheme(),X=R!=null&&o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(R))||L&&o("WebBloksUtils").getRGBColorWithTheme(L,Q),Y=I!=null?o("WebBloksUtils").getRGBColorWithTheme(I,Q):"transparent",J=b!=null?o("WebBloksUtils").getRGBColorWithTheme(b,Q):"auto",Z=o("WebBloksComponentContext").useWebBloksContext(),ee=Z.bloksContext,te=Z.executeCatch,ne=_(!1),re=_(null),oe=ee.initAssociatedObject_INTERNAL(u,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT,{ref:re,text:null}),ae=c(function(e){ee.updateAssociatedObject_INTERNAL(u,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT,{text:e})},[ee,u]),ie=o("WebBloksTextInputMaskExtensionHandlerUtils").getTextInputMaskExtensionProps(q,G),le=o("WebBloksTextInputDatePickerExtensionHandlerUtils").useWebBloksTextInputDateProps(u),se=ee.objectSet.environment.fontFamilyMappings,ue=(t=ie==null?void 0:ie.typeOverride)!=null?t:le==null?void 0:le.typeOverride,ce=r("useWebBloksTextInputFormatValue")(u,G),de=o("WebBloksBKSTextInputFormatterHandlerUtils").useBKSTextInputFormatter(q),me=le==null?void 0:le.onChange,pe=o("WebBloksBooleanUtils").isFalse(w)||K.disabled===!0,_e=(n=ie==null?void 0:ie.maxLength)!=null?n:N,fe=o("WebBloksTextInputHelpers").getInputTypeProps(ue!=null?ue:M),ge=le!=null&&le.initialValue?le.initialValue:y,he=oe.text,ye=f((a=he!=null?he:ge)!=null?a:""),Ce=ye[0],be=ye[1],ve=f(ge),Se=ve[0],Re=ve[1];p(function(){ge!==Se&&(ne.current=!1,be(ge!=null?ge:""),Re(ge))},[u,Se,ge]),p(function(){if(U&&G.current!=null&&Ce!==Se){G.current.style.height="0px";var e=G.current.scrollHeight;G.current.style.height=e+"px"}},[Se,G,U,Ce]);var Le=c(function(e){var t=!0;if(W!=null&&(t=o("WebBloksBooleanUtils").isTrue(o("WebBloksUtils").cast(te(u,W,[Ce,e])))),t){ne.current=!1;var n=ce(Ce,e);n=de(n),ae(n),be(n)}},[W,te,de,ce,u,Ce,ae]),Ee=_(!0);d(function(){var e;Ee.current&&(Ee.current=!1,he==null||ge===he)||((oe==null||(e=oe.ref)==null?void 0:e.current)==null&&ee.updateAssociatedObject_INTERNAL(u,o("WebBloksConstants").TEXT_INPUT_ASSOCIATED_OBJECT,{ref:re}),A!=null&&te(u,A,[u,ee]),me!=null&&me(Ce))},[Ce]);var ke=function(t){t.keyCode===o("WebBloksConstants").KEY_RETURN&&F!=null&&te(u,F,[u,ee]),(t.keyCode===o("WebBloksConstants").KEY_RETURN||t.keyCode===o("WebBloksConstants").KEY_SPACE)&&t.stopPropagation()},Ie=function(t){t.keyCode===o("WebBloksConstants").KEY_SPACE&&t.stopPropagation()},Te=O!=null?function(){te(u,O,[u,ee])}:void 0,De=r("useQueuedBlurEventForWebBloks")(G,function(){B!=null&&te(u,B,[u,ee])}),xe=B!=null?De:void 0,$e=babelHelpers.extends({},z,o("WebBloksTextStyle").getTextStyle(C),{background:Y,color:X,fontFamily:o("WebBloksTextStyle").getFontFamily(E,se),fontSize:o("WebBloksUtils").toPx(v),lineHeight:o("WebBloksTextStyle").getLineHeight(),textAlign:o("WebBloksUtils").toHyphen(S),caretColor:J}),Pe=babelHelpers.extends({},K,fe,(i=le==null?void 0:le.minmaxProps)!=null?i:{},{autoCapitalize:D,autoComplete:x,autoCorrect:$,disabled:pe,maxLength:_e,name:P,onChange:function(t){return Le(t.target.value)},onKeyDown:ke,onKeyUp:Ie,onFocus:Te,onBlur:xe,className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,h.base),placeholder:T,value:Ce,onClick:function(t){t.stopPropagation()}}),Ne=c(function(e){ne.current||(Le(String(e)),ne.current=!0,A!=null&&te(u,A,[u,ee]),typeof window.requestIdleCallback=="function"?window.requestIdleCallback(function(){ne.current=!1}):window.setTimeout(function(){ne.current=!1},50))},[ee,te,u,Le,A]),Me=c(function(){var e=G.current;if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return{start:e.selectionStart,end:e.selectionEnd}},[G]),we=c(function(){var e=G.current;if(e instanceof HTMLInputElement&&e.selectionStart&&e.selectionEnd){var t=e.selectionStart,n=e.selectionEnd;window.requestAnimationFrame(function(){e.setSelectionRange(t,n)})}e==null||e.focus()},[G]),Ae=c(function(){var e;return(e=G.current)==null?void 0:e.blur()},[G]);return m(re,function(){return{onExternalUpdate:Ne,getSelection:Me,requestFocus:we,requestBlur:Ae}},[Me,Ne,Ae,we]),j(V||U?s.jsx("textarea",babelHelpers.extends({},Pe,U?{rows:1}:void 0,{style:babelHelpers.extends({},$e,{resize:"none"})})):s.jsx("input",babelHelpers.extends({dir:"auto"},Pe,{style:$e})))}g.displayName=g.name+" [from "+i.id+"]";var h=o("WebBloksStyle").createStyles({base:function(t){var e;return e={},e[t]={padding:0,margin:0,border:"none",boxSizing:"border-box",outline:"none",width:"100%"},e[t+"::-webkit-date-and-time-value"]={textAlign:"inherit"},e}});l.default=g}),98);
__d("WebBloksAccessibilityUtils",["react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u={Button:"button",Header:null,"Image Button":"button",Image:"img","Selected Button":"button",Text:null,Link:"link",Radio:"radio",Checkbox:"checkbox","Radio Group":"radiogroup",Region:"region",Status:"status","Tab Panel":"tabpanel",List:"list","List Item":"listitem",Alert:"alert"},c=["button","link","checkbox","radio"],d=function(t){return c.includes(t)?{tabIndex:0}:{}};function m(e,t,n){var r={};switch(t!=null&&(r["aria-label"]=t),e){case 1:return s.jsx("h1",babelHelpers.extends({},r,{children:n}));case 2:return s.jsx("h2",babelHelpers.extends({},r,{children:n}));case 3:return s.jsx("h3",babelHelpers.extends({},r,{children:n}));case 4:return s.jsx("h4",babelHelpers.extends({},r,{children:n}));case 5:return s.jsx("h5",babelHelpers.extends({},r,{children:n}));case 6:return s.jsx("h6",babelHelpers.extends({},r,{children:n}))}return n}m.displayName=m.name+" [from "+i.id+"]",l.WEBBLOKS_ACCESSIBILITY_ROLE_MAPPING=u,l.WEBBLOKS_ACCESSIBILITY_FOCUSABLE_ROLES=c,l.getFocusPropsForRole=d,l.getHeading=m}),98);
__d("WebBloksDataTextSpanUtils",["WebBloksComponentContext","WebBloksRichTextContext","WebBloksStyle","WebBloksTextStyle","WebBloksTheme","WebBloksUtils","react","useClickablePropsForWebBloks"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.useContext,c=s.useMemo;function d(e,t){var n=e.get("accessibility_label"),a=o("WebBloksStyle").useStyle(e,t),i=a.style,l=o("WebBloksComponentContext").useWebBloksContext(),s=l.bloksContext,d=o("WebBloksTheme").useTheme().getTheme(),_=u(r("WebBloksRichTextContext")),f=_.isRootFontSizeEnabled,g=s.objectSet.environment.fontFamilyMappings,h=e.get("styles"),y=m(h,d,g,f),C=r("useClickablePropsForWebBloks")(e,p(h));return c(function(){return babelHelpers.extends({"aria-label":n,style:babelHelpers.extends({},i,{display:"inline",whiteSpace:"pre-wrap",overflowWrap:"break-word"},y)},C)},[n,i,y,C])}function m(e,t,n,r){var a={};if(e!=null)for(var i of e)switch(i==null?void 0:i.styleId){case"bk.style.textspan.TextStyle":{var l=i==null?void 0:i.get("font_family"),s=i==null?void 0:i.get("text_style"),u=i==null?void 0:i.get("text_size"),c=i==null?void 0:i.get("tracking");if(u!=null&&!r&&(a.fontSize=o("WebBloksUtils").toPx(u)),s!=null){var d=o("WebBloksTextStyle").getTextStyle(s),m=d.fontStyle,p=d.fontWeight;a.fontWeight=p,a.fontStyle=m}if(l!=null){var _;a.fontFamily=(_=o("WebBloksTextStyle").getFontFamily(l,n))!=null?_:void 0}c!=null&&(a.letterSpacing=c);break}case"bk.style.textspan.ColorStyle":{var f=i==null?void 0:i.get("text_themed_color");f!=null&&(a.color=o("WebBloksUtils").getRGBColorWithTheme(f,t));break}case"bk.style.textspan.ShadowStyle":{var g=i.get("shadow_radius"),h=i.get("shadow_offset_dx"),y=i.get("shadow_offset_dy"),C=i.get("shadow_color");if(C!=null&&(g!=null||h!=null||y!=null)){var b=o("WebBloksTextStyle").getTextShadow({shadow_radius:g,shadow_offset_dx:h,shadow_offset_dy:y,shadow_color:C},t);b!=null&&(a.textShadow=b)}break}case"bk.style.textspan.StrikethroughStyle":{var v=i.get("strikethrough");v===!0&&(a.textDecoration="line-through");break}case"bk.style.textspan.UnderlineStyle":{var S=i.get("underline");S===!0&&(a.textDecoration="underline");break}}return a}function p(e){var t=null;if(e!=null)for(var n of e)(n==null?void 0:n.styleId)==="bk.style.textspan.ClickableStyle"&&(t=n==null?void 0:n.getExpression("on_click"));return t}l.useWebBloksBaseTextSpanProps=d}),98);
__d("WebBloksImageSpan",["WebBloksComponentContext","WebBloksDataTextSpanUtils","WebBloksStyle","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e.useMemo;function c(e){var t=e.externalStyle,n=e.node,r=n.get("image_align"),a=n.get("image_margin"),i=n.get("image_width"),l=n.get("image_height"),c=n.getSubNode("image_component"),d=o("WebBloksStyle").useStyle(n,t),m=d.wrapper,p=o("WebBloksComponentContext").useWebBloksContext(),_=p.renderNode,f=o("WebBloksDataTextSpanUtils").useWebBloksBaseTextSpanProps(n,t),g=r,h=a,y=u(function(){return babelHelpers.extends({},f,{style:babelHelpers.extends({},f.style,{display:"inline-flex",height:"100%",alignItems:g==="bottom"?"flex-end":g})})},[g,f]),C=o("WebBloksUtils").toPx(l),b=o("WebBloksUtils").toPx(i);return C==null||C==="0px"||b==null||b==="0px"?null:m(s.jsx("span",babelHelpers.extends({},y,{children:_(c,{height:C,width:b,marginTop:o("WebBloksUtils").toPx(h==null?void 0:h.get("top")),marginRight:o("WebBloksUtils").toPx(h==null?void 0:h.get("end")),marginBottom:o("WebBloksUtils").toPx(h==null?void 0:h.get("bottom")),marginLeft:o("WebBloksUtils").toPx(h==null?void 0:h.get("start"))})})))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksTextSpanImage",["WebBloksImageSpan","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node;return s.jsx(r("WebBloksImageSpan"),{node:n,externalStyle:t})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksTextSpan",["WebBloksAccessibilityUtils","WebBloksAnchorTagExtensionHandlerUtils","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksStyle","WebBloksTextSpanImage","WebBloksTextStyle","WebBloksTheme","WebBloksUtils","react","useClickablePropsForWebBloks"],(function(t,n,r,o,a,i,l){var e=["preferNativeNavigation"],s,u=s||(s=o("react")),c=s.useMemo;function d(t){var n=t.externalStyle,a=t.node,i=a.getExpression("on_click"),l=a.get("text_color"),s=a.getSubNode("image_component"),d=a.getSubNode("text_provider"),_=a.get("shadow_color"),f=a.get("shadow_offset_dx"),g=a.get("shadow_offset_dy"),h=a.get("shadow_radius"),y=a.get("text_size"),C=a.get("text_style"),b=a.get("text_themed_color"),v=a.get("font_family"),S=a.get("accessibility_label"),R=a.get("accessibility_role"),L=a.get("strikethrough"),E=a.get("underline"),k=o("WebBloksStyle").useStyle(a,n,i!=null),I=k.style,T=k.wrapper,D=k.wrapperProps,x=o("WebBloksAnchorTagExtensionHandlerUtils").useWebBloksAnchorTagExtensionProps(a),$=x!==null,P=$?"a":"span",N=(x==null?void 0:x.preferNativeNavigation)===!0,M=x!=null?x:{},w=M.preferNativeNavigation,A=babelHelpers.objectWithoutPropertiesLoose(M,e),F=r("useClickablePropsForWebBloks")(a,i,null,$&&!N,N),O=o("WebBloksComponentContext").useWebBloksContext(),B=O.bloksContext,W=O.renderNode,q=o("WebBloksTheme").useTheme().getTheme(),U=B.objectSet.environment.fontFamilyMappings,V=d!=null?W(d):a.get("text"),H=c(function(){return s!=null?u.jsx(r("WebBloksTextSpanImage"),{node:a,externalStyle:n}):null},[n,a,s]),G=m(R,i,s),z={role:G,label:S,tabIndex:G==="button"||G==="link"?0:void 0};return T(u.jsxs(P,babelHelpers.extends({},D,{style:babelHelpers.extends({},I,o("WebBloksTextStyle").getTextColor(l,b,q),o("WebBloksTextStyle").getTextStyle(C),{display:"inline",fontSize:o("WebBloksUtils").toPx(y),fontFamily:o("WebBloksTextStyle").getFontFamily(v,U),textDecoration:p(L,E),textShadow:o("WebBloksTextStyle").getTextShadow({shadow_color:_,shadow_offset_dx:f,shadow_offset_dy:g,shadow_radius:h},q),whiteSpace:"pre-wrap",overflowWrap:"break-word"})},F,z,A,{children:[V,H]})))}d.displayName=d.name+" [from "+i.id+"]";function m(e,t,n){if(e!=null){var r;return(r=o("WebBloksAccessibilityUtils").WEBBLOKS_ACCESSIBILITY_ROLE_MAPPING[e])!=null?r:null}return t==null?null:n!=null?"button":"link"}function p(e,t){var n=[];if(o("WebBloksBooleanUtils").isTrue(e)&&n.push("line-through"),o("WebBloksBooleanUtils").isTrue(t)&&n.push("underline"),n.length!==0)return n.join(" ")}l.default=d}),98);
__d("WebBloksTransitionContainer",["WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useEffect,m=u.useLayoutEffect,p=u.useMemo,_=u.useRef,f=u.useState;function g(e){var t,n=e.externalStyle,r=e.node,a=r.get("crossfade"),i=r.getSubNodes("children"),l=i[0],u=i[1],d=(t=r.get("progress"))!=null?t:0,g=o("WebBloksStyle").useStyle(r,n),b=g.style,v=g.wrapper,S=g.wrapperProps,R=o("WebBloksComponentContext").useWebBloksContext(),L=R.renderChildren,E=f([0,0,!1]),k=E[0],I=k[0],T=k[1],D=k[2],x=E[1],$=f([0,0]),P=$[0],N=P[0],M=P[1],w=$[1],A=_(null),F=_(null),O=_(null),B=c(function(){var e=F.current;e!=null&&x([e.getBoundingClientRect().width,e.getBoundingClientRect().height,!0]);var t=O.current,n=t==null?void 0:t.children,r=(n==null?void 0:n.length)===1?n[0]:t;r!=null&&w([r.getBoundingClientRect().width,r.getBoundingClientRect().height])},[]);m(B,[B]),y(A,B);var W=p(function(){return L([l])},[l,L]),q=p(function(){return L([u])},[L,u]),U=Number(d.toFixed(2)),V=h(U,T,M),H=h(U,I,N),G=h(U,0,1),z=a===!0;return v(s.jsxs("div",babelHelpers.extends({},S,{ref:A,style:b,children:[s.jsxs("div",{className:C.container,style:D?{height:V,width:H}:{},children:[s.jsx("div",{className:C.startElem,style:z&&U>0?{opacity:1-(G!=null?G:0)}:{},ref:F,children:W}),U>0?s.jsx("div",{className:C.endElem,style:babelHelpers.extends({},z?{opacity:G}:{},{height:M,width:N}),children:q}):null]}),N>0||M>0?null:s.jsx("div",{className:C.endPreviewElem,ref:O,children:q})]})))}g.displayName=g.name+" [from "+i.id+"]";function h(e,t,n){return t==null||n==null?null:t+e*(n-t)}function y(e,t){d(function(){var n=new IntersectionObserver(function(e){var n=e[0],r=n.isIntersecting;(r===!0||n.intersectionRatio>0||n.intersectionRect&&(n.intersectionRect.height>0||n.intersectionRect.width>0))&&t()},{root:null,threshold:0});return(e==null?void 0:e.current)!=null&&n.observe(e.current),function(){return n.disconnect()}},[t,e])}var C=o("WebBloksStyle").createStyles({container:{position:"relative",overflow:"hidden"},startElem:{display:"inline-block"},endElem:{position:"absolute",top:0,left:0,bottom:0,right:0},endPreviewElem:{visibility:"hidden"}});l.default=g}),98);
__d("WebBloksZoomable",["WebBloksComponentContext"],(function(t,n,r,o,a,i,l){function e(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),r=n.renderNode;return r(t.getSubNode("content"))}l.default=e}),98);
__d("CoreWebBloksComponents",["WebBloksCDSBottomSheetWrapper","WebBloksCanvas","WebBloksCollection","WebBloksDatetimeTextProvider","WebBloksDialog","WebBloksDialogButton","WebBloksDummyComponent","WebBloksFieldset","WebBloksFlexbox","WebBloksGlimmer","WebBloksImage","WebBloksInternalAction","WebBloksMergeWithBind","WebBloksNavbar","WebBloksOnMount","WebBloksPullToRefreshContainer","WebBloksRichText","WebBloksScreenWrapperPrimitive","WebBloksSlider","WebBloksSwitch","WebBloksText","WebBloksTextInput","WebBloksTextSpan","WebBloksTransitionContainer","WebBloksZoomable"],(function(t,n,r,o,a,i,l){var e,s={"bk.cds.bottomsheet.Wrapper":r("WebBloksCDSBottomSheetWrapper"),"bk.component.TransitionContainer":r("WebBloksTransitionContainer"),"bk.components.Canvas":r("WebBloksCanvas"),"bk.components.Collection":r("WebBloksCollection"),"bk.components.DatetimeTextProvider":r("WebBloksDatetimeTextProvider"),"bk.components.Flexbox":r("WebBloksFlexbox"),"bk.components.Glimmer":r("WebBloksGlimmer"),"bk.components.Image":r("WebBloksImage"),"bk.components.OnMount":r("WebBloksOnMount"),"bk.components.PullToRefreshContainer":r("WebBloksPullToRefreshContainer"),"bk.components.RichText":r("WebBloksRichText"),"bk.components.Slider":r("WebBloksSlider"),"bk.components.Switch":r("WebBloksSwitch"),"bk.components.Text":r("WebBloksText"),"bk.components.TextInput":r("WebBloksTextInput"),"bk.components.TextSpan":r("WebBloksTextSpan"),"bk.components.Video":e=r("WebBloksDummyComponent"),"bk.components.VideoVersion":e,"bk.components.Zoomable":r("WebBloksZoomable"),"bk.components.dialog.Button":r("WebBloksDialogButton"),"bk.components.dialog.Dialog":r("WebBloksDialog"),"bk.components.internal.Action":r("WebBloksInternalAction"),"bk.components.internal.Merge":e,"bk.components.internal.MergeWithBind":r("WebBloksMergeWithBind"),"bk.components.internal.Shadow":e,"bk.components.screen.Wrapper":r("WebBloksScreenWrapperPrimitive"),"bk.components.webbloks.Fieldset":r("WebBloksFieldset"),"bk.data.screen.Navbar":r("WebBloksNavbar")};l.COMPONENTS=s}),98);
__d("WebBloksAccessibilityExtensionHandler",["WebBloksAccessibilityUtils","WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){var e={Button:"button",Header:"heading","Image Button":"button",Image:"img","Selected Button":"button",Text:"",Link:"link"},s={getProps:function(n){var t=n.getValues(),r=t.disabled,a=t.enabled,i=t.label,l=t.role,s={};return o("WebBloksBooleanUtils").isFalse(a)||(l&&(s.role=e[l]),i!=null&&(s["aria-label"]=i)),s=babelHelpers.extends({},o("WebBloksAccessibilityUtils").getFocusPropsForRole(s.role),s),o("WebBloksBooleanUtils").isTrue(r)&&(s.disabled=!0,s["aria-disabled"]=!0),s}},u=s;l.default=u}),98);
__d("WebBloksAnchorIDExtensionHandler",[],(function(t,n,r,o,a,i){var e={getProps:function(t){var e=t.get("anchor_id");if(e!=null)return{"data-anchor-id":e}}},l=e;i.default=l}),66);
__d("WebBloksAnchorTagExtensionHandler",[],(function(t,n,r,o,a,i){"use strict";var e={},l=e;i.default=l}),66);
__d("WebBloksAutomationTestExtensionHandler",[],(function(t,n,r,o,a,i){var e={getProps:function(t){var e=t.get("testing_id");if(e!=null)return{"data-testid":e}}},l=e;i.default=l}),66);
__d("WebBloksBKSTextInputFormatterHandler",[],(function(t,n,r,o,a,i){var e={},l=e;i.default=l}),66);
__d("WebBloksExtentionUtils",[],(function(t,n,r,o,a,i){var e=navigator.userAgent.match(/safari/)!=null&&!navigator.userAgent.match(/chrom(e|ium)/);function l(){if(e){var t,n;(t=document.body)==null||t.style.setProperty("-webkit-touch-callout","none"),(n=document.body)==null||n.style.setProperty("-webkit-user-select","none")}}function s(){if(e){var t,n;(t=document.body)==null||t.style.removeProperty("-webkit-touch-callout"),(n=document.body)==null||n.style.removeProperty("-webkit-user-select")}}i.disableLongPressSideEffectsInSafari=l,i.enableLongPressSideEffectsInSafari=s}),66);
__d("WebBloksGestureExtensionHandler",["WebBloksExtentionUtils","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=500,s=250,u={getStyles:function(t){return{pointerEvents:"auto"}},onMount:function(n,r,a){var t,i=r.current,l=(t=i.uiMutableContainer.domNode)==null?void 0:t.current;if(l==null)return;var u=n.getExpression("on_tap"),c=n.getExpression("on_tap_with_touch_point"),d=n.getExpression("on_tap_with_touch_point_v2"),m=n.getExpression("on_long_press"),p=n.getExpression("on_long_press_with_touch_point"),_=n.getExpression("on_long_press_with_touch_point_v2"),f=n.getExpression("on_double_tap"),g=n.getExpression("on_double_tap_with_touch_point"),h=n.getExpression("on_double_tap_with_touch_point_v2"),y=n.getExpression("on_touch_down");function C(e,t){y!=null&&a.executeCatch(r.current,y,[r.current,a.bloksContext,e,t])}function b(e){C(e.clientX,e.clientY)}function v(e){C(e.touches[0].clientX,e.touches[0].clientY)}y!=null&&(l.addEventListener("mousedown",b),l.addEventListener("touchstart",v));var S=n.getExpression("on_touch_up");function R(e,t){S!=null&&a.executeCatch(r.current,S,[r.current,a.bloksContext,e,t])}function L(e){R(e.clientX,e.clientY)}function E(e){R(e.touches[0].clientX,e.touches[0].clientY)}S!=null&&(l.addEventListener("mouseup",L),l.addEventListener("touchend",E));var k=i.uiMutableContainer.gestures||{longPressTimeout:null,doublePressTimeout:null,startX:0,startY:0,preventTap:!1};i.uiMutableContainer.gestures=k;function I(){window.clearTimeout(k.longPressTimeout),k.longPressTimeout=null,o("WebBloksExtentionUtils").enableLongPressSideEffectsInSafari()}function T(t,n){if(k.longPressTimeout===null&&(o("WebBloksExtentionUtils").disableLongPressSideEffectsInSafari(),l!=null)){var i=l.getBoundingClientRect();k.startX=i.left,k.startY=i.top,k.preventTap=!1,k.longPressTimeout=window.setTimeout(function(){k.preventTap=!0,k.longPressTimeout=null,o("WebBloksUtils").isBloksModelEnabled(r.current)&&(m!=null&&a.executeCatch(r.current,m,[r.current,a.bloksContext]),p!=null&&a.executeCatch(r.current,p,[r.current,a.bloksContext,t,n]),_!=null&&a.executeCatch(r.current,_,[r.current,a.bloksContext,a,"detected",t,n])),o("WebBloksExtentionUtils").enableLongPressSideEffectsInSafari()},e)}}function D(e){T(e.touches[0].clientX,e.touches[0].clientY)}function x(e){T(e.clientX,e.clientY)}function $(e){var t=e.targetTouches[0];l!=null&&o("WebBloksUtils").shouldCancelTouchEvent(l,k.startX,k.startY,t)&&I()}function P(){I()}function N(e){k.preventTap&&e.preventDefault(),I()}function M(){I()}(m!=null||p!=null||_!=null)&&(l.addEventListener("touchstart",D,o("WebBloksUtils").passiveTouchEventOptions),l.addEventListener("touchmove",$,o("WebBloksUtils").passiveTouchEventOptions),l.addEventListener("touchend",N),l.addEventListener("touchcancel",N),l.addEventListener("mousedown",x),l.addEventListener("mouseleave",P),l.addEventListener("mouseup",M));function w(e){var t;e.stopPropagation(),((t=r.current.uiMutableContainer)==null||(t=t.gestures)==null?void 0:t.preventTap)!==!0&&o("WebBloksUtils").isBloksModelEnabled(r.current)&&((u!=null||c!=null||d!=null)&&f==null&&g==null&&h==null&&(u!=null&&a.executeCatch(r.current,u,[r.current,a.bloksContext]),c!=null&&a.executeCatch(r.current,c,[r.current,a.bloksContext,e.clientX,e.clientY]),d!=null&&a.executeCatch(r.current,d,[r.current,a.bloksContext,a,e.clientX,e.clientY])),(f!=null||g!=null||h!=null)&&(u!=null||c!=null||d!=null)&&e.detail===1&&(window.clearTimeout(k.doublePressTimeout),k.doublePressTimeout=window.setTimeout(function(){u!=null&&a.executeCatch(r.current,u,[r.current,a.bloksContext]),c!=null&&a.executeCatch(r.current,c,[r.current,a.bloksContext,e.clientX,e.clientY]),d!=null&&a.executeCatch(r.current,d,[r.current,a.bloksContext,a,e.clientX,e.clientY])},s)))}(u!=null||c!=null||d!=null||f!=null||g!=null||h==null)&&l.addEventListener("click",w);function A(e){window.clearTimeout(k.doublePressTimeout),k.doublePressTimeout=null,f!=null&&a.executeCatch(r.current,f,[r.current,a.bloksContext]),g!=null&&a.executeCatch(r.current,g,[r.current,a.bloksContext,e.clientX,e.clientY]),h!=null&&a.executeCatch(r.current,h,[r.current,a.bloksContext,a,e.clientX,e.clientY])}return(f!=null||g!=null||h!=null)&&l.addEventListener("dblclick",A),function(){l.removeEventListener("touchstart",D),l.removeEventListener("touchmove",$),l.removeEventListener("touchend",N),l.removeEventListener("touchcancel",N),l.removeEventListener("mousedown",x),l.removeEventListener("mouseleave",P),l.removeEventListener("mouseup",M),l.removeEventListener("click",w),l.removeEventListener("dblclick",A),l.removeEventListener("mousedown",b),l.removeEventListener("touchstart",v),l.removeEventListener("mouseup",L),l.removeEventListener("touchend",E)}}},c=u;l.default=c}),98);
__d("WebBloksHoverExtensionHandler",[],(function(t,n,r,o,a,i){"use strict";var e={getStyles:function(t){return{pointerEvents:"auto"}},onMount:function(t,n,r){var e,o=t.getExpression("on_pointer_enter"),a=t.getExpression("on_pointer_leave"),i=t.getExpression("on_pointer_move"),l=!1,s=!1;function u(e){if(l){l=!1;return}o!=null&&(r.executeCatch(n.current,o,[n.current,r.bloksContext]),s=!1)}function c(e){if(s){s=!1;return}a!=null&&r.executeCatch(n.current,a,[n.current,r.bloksContext])}function d(e){l=!0,s=!0}var m=(e=n.current.uiMutableContainer.domNode)==null?void 0:e.current;if(!m)return;var p=m,_=null,f=null,g=null;function h(){_!=null&&f!=null&&i!=null&&r.executeCatch(n.current,i,[n.current,r.bloksContext,_,f]),_=null,f=null,g=null}function y(e){if(i!=null){var t=p.getBoundingClientRect();_=Math.max(0,Math.min(e.clientX-t.left,t.width)),f=Math.max(0,Math.min(e.clientY-t.top,t.height)),g==null&&(g=window.requestAnimationFrame(h))}}return m.addEventListener("mouseenter",u),m.addEventListener("mouseleave",c),m.addEventListener("touchstart",d),i!=null&&m.addEventListener("mousemove",y),function(){m.removeEventListener("mouseenter",u),m.removeEventListener("mouseleave",c),m.removeEventListener("touchstart",d),m.removeEventListener("mousemove",y),g!=null&&window.cancelAnimationFrame(g)}}},l=e;i.default=l}),66);
__d("WebBloksOnDataChangeExtensionHandler",["WebBloksBooleanUtils","WebBloksComponentContext","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useRef,m=u.useState,p={onMount:function(t,n,r){var e=t.getExpression("on_cleanup");if(e!=null)return function(){r.executeCatch(t,e,[r.bloksContext])}},wrap:function(t,n){return s.jsx(f,{model:t,children:n})}},_=p;function f(e){var t=e.children,n=e.model,r=o("WebBloksComponentContext").useWebBloksContext(),a=n.getValues(),i=a.data,l=a.fire_on_first_mount,u=n.getExpression("on_change"),p=m(o("WebBloksBooleanUtils").isFalse(l)),_=p[0],f=p[1],g=d(null);return c(function(){_?f(!1):o("WebBloksUtils").deepEquals(g.current,i)||u!=null&&r.executeCatch(n,u,[r,g.current,i]),g.current=i},[i]),s.jsx(s.Fragment,{children:t})}f.displayName=f.name+" [from "+i.id+"]",l.default=_}),98);
__d("WebBloksOnMountExtensionHandler",["WebBloksOnMountExtensionHandlerUtils"],(function(t,n,r,o,a,i,l){var e={hasLayoutWrapper:function(){return!1},onMount:function(t,n,r){return o("WebBloksOnMountExtensionHandlerUtils").runMountEffects(t,n,r)}},s=e;l.default=s}),98);
__d("WebBloksRenderLifecycleExtensionHandler",[],(function(t,n,r,o,a,i){var e={hasLayoutWrapper:function(){return!1},onMount:function(t,n,r){var e=t.getExpression("on_component_rendered");e!=null&&r.executeOnNextTickCatch(n.current,e,[n.current,r])}},l=e;i.default=l}),66);
__d("WebBloksTextInputDatePickerExtensionHandler",[],(function(t,n,r,o,a,i){var e={},l=e;i.default=l}),66);
__d("WebBloksTextInputMaskExtensionHandler",[],(function(t,n,r,o,a,i){var e={},l=e;i.default=l}),66);
__d("WebBloksTouchExtensionHandler",["WebBloksConstants","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e={getStyles:function(t){return{cursor:"pointer",pointerEvents:"auto"}},onMount:function(t,n,r){var e,a=t.getExpression("on_touch_down"),i=t.getExpression("on_touch_up"),l=t.getExpression("on_touch_cancel"),s=(e=n.current.uiMutableContainer.domNode)==null?void 0:e.current;if(!s)return;var u=s,c=0,d=0,m=-1,p=!1,_=!1;function f(){var e=u.getBoundingClientRect();c=e.left,d=e.top,a!=null&&o("WebBloksUtils").isBloksModelEnabled(n.current)&&r.executeCatch(n.current,a,[n.current,r.bloksContext])}function g(){i!=null&&o("WebBloksUtils").isBloksModelEnabled(n.current)&&r.executeCatch(n.current,i,[n.current,r.bloksContext])}function h(){l!=null&&o("WebBloksUtils").isBloksModelEnabled(n.current)&&r.executeCatch(n.current,l,[n,r.bloksContext])}function y(e){if(_=!0,m===-1){var t=e.targetTouches[0];m=t.identifier,f()}}function C(e){if(_){e.preventDefault();return}e.button===0&&(e.preventDefault(),p=!0,f())}function b(e){e.keyCode===o("WebBloksConstants").KEY_SPACE&&e.preventDefault(),(e.keyCode===o("WebBloksConstants").KEY_SPACE||e.keyCode===o("WebBloksConstants").KEY_RETURN)&&f()}function v(e){(e.key==="Enter"||e.key===" ")&&g()}function S(e){var t=e.changedTouches[0];if(t.identifier===m)if(m=-1,o("WebBloksUtils").shouldCancelTouchEvent(u,c,d,t))h();else{var n=window.setTimeout(function(){g()},50),r=function(){g(),window.clearTimeout(n),u.removeEventListener("click",r)};u.addEventListener("click",r)}}function R(){if(_){_=!1;return}p&&(p=!1,g())}function L(e){m=-1,h()}function E(e){_||p&&(p=!1,h())}return u.addEventListener("touchstart",y,o("WebBloksUtils").passiveTouchEventOptions),u.addEventListener("keydown",b),u.addEventListener("keyup",v),u.addEventListener("touchend",S),u.addEventListener("touchcancel",L),u.addEventListener("mousedown",C),u.addEventListener("mouseleave",E),u.addEventListener("mouseup",R),function(){u.removeEventListener("touchstart",y),u.removeEventListener("keydown",b),u.removeEventListener("keyup",v),u.removeEventListener("touchend",S),u.removeEventListener("touchcancel",L),u.removeEventListener("mousedown",C),u.removeEventListener("mouseleave",E),u.removeEventListener("mouseup",R)}}},s=e;l.default=s}),98);
__d("useWebBloksViewTransformsExtensionWrapperVisibilityState",["react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useMemo,m=u.useState;function p(e){var t=e.alpha,n=e.scaleX,r=e.scaleY,o=m(null),a=o[0],i=o[1],l=m(null),s=l[0],u=l[1],p=m(null),_=p[0],f=p[1];c(function(){var e=Math.round(((t!=null?t:1)+Number.EPSILON)*100)/100;e===0&&(a==="entered"||a===null)?i("exited"):e>0&&(a==="exited"||a===null)&&i("entered"),f("opacity")},[t,a]),c(function(){var e=Math.round(((n!=null?n:1)+Number.EPSILON)*100)/100,t=Math.round(((r!=null?r:1)+Number.EPSILON)*100)/100;e===0&&t===0&&(s==="entered"||s===null)?u("exited"):e>0&&t>0&&(s==="exited"||s===null)&&u("entered"),f("scale")},[n,r,s]);var g=d(function(){if(_==="opacity")return a;if(_==="scale")return s},[_,a,s]);return g}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98);
__d("WebBloksViewTransformsExtensionWrapper",["WebBloksStyle","WebBloksTheme","WebBloksUtils","react","useWebBloksViewTransformsExtensionWrapperVisibilityState"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.children,n=e.node,a=[],i=n.get("alpha"),l=n.get("rotation"),u=n.get("scale_x"),c=n.get("scale_y"),d=n.get("translate_x"),m=n.get("translate_y"),p=r("useWebBloksViewTransformsExtensionWrapperVisibilityState")({alpha:i,scaleX:u,scaleY:c});d!=null&&a.push("translateX("+o("WebBloksUtils").toPx(d)+")"),m!=null&&a.push("translateY("+o("WebBloksUtils").toPx(m)+")"),l!=null&&a.push("rotate("+l+"deg)"),u!=null&&a.push("scaleX("+u+")"),c!=null&&a.push("scaleY("+c+")");var _=a.join(" "),f=n.get("css_transition_duration"),g=n.get("css_transition_timing_function"),h=n.get("css_transition_delay"),y=n.get("will_change"),C=void 0,b=void 0;if(f!=null&&f>0){var v=g!=null?g:"ease",S=f+"s",R=h!=null?" "+h+"s":"";C="transform "+S+" "+v+R+", opacity "+S+" "+v+R,b="transform, opacity"}else y===!0&&(b="transform, opacity");var L=n.get("drop_shadow_color"),E=n.get("drop_shadow_offset_x"),k=n.get("drop_shadow_offset_y"),I=n.get("drop_shadow_blur_radius"),T=o("WebBloksTheme").useTheme().getTheme(),D=void 0;if(L!=null){var x=E!=null?E:0,$=k!=null?k:0,P=I!=null?I:0,N=o("WebBloksUtils").getRGBColorWithTheme(L,T);D="drop-shadow("+x+"px "+$+"px "+P+"px "+N+")"}return s.jsx("div",babelHelpers.extends({"data-bloks-name":"bk.components.ViewTransformsExtension","data-bloks-visibility-state":p},o("WebBloksStyle").getStyleProps({height:"100%",width:"100%",transform:_,opacity:i,transition:C,willChange:b,filter:D,pointerEvents:"inherit"}),{children:t}))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksViewTransformExtensionHandler",["WebBloksViewTransformsExtensionWrapper","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u={hasLayoutWrapper:function(){return!0},wrap:function(t,n){return s.jsx(r("WebBloksViewTransformsExtensionWrapper"),{node:t,children:n})}},c=u;l.default=c}),98);
__d("WebBloksVisibilityExtensionHandler",["WebBloksComponentContext","WebBloksSSRUtils","WebBloksViewpoint","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useLayoutEffect;function m(e){var t=e.children,n=e.elementRef,r=e.node;return o("WebBloksSSRUtils").canUseDOM?s.jsx(p,{elementRef:n,node:r,children:t}):t}m.displayName=m.name+" [from "+i.id+"]";function p(e){var t=e.children,n=e.elementRef,r=e.id,a=e.node,i=o("WebBloksComponentContext").useWebBloksContext(),l=i.bloksContext,s=i.executeCatch,u=c(function(e){var t=a.uiMutableContainer.visibility||{hasSeenBefore:!1},n=babelHelpers.extends({},e,t);switch(e.state){case"entered":{var r=a.getExpression("on_appear");r!=null&&s(a,r,[n,l]),a.uiMutableContainer.visibility={hasSeenBefore:!0};break}case"intersecting":{var o=a.getExpression("on_update");o!=null&&s(a,o,[n,l]);break}case"exited":{var i,u=a.getExpression("on_disappear");u!=null&&((i=a.uiMutableContainer.visibility)==null?void 0:i.hasSeenBefore)===!0&&s(a,u,[n,l]);break}default:}},[s,a,l]),m=a==null?void 0:a.get("trigger_on_first_appear_only"),p=o("WebBloksViewpoint").useViewpoint({id:a.clientId.toString(),action:u,untrackAfterFirstAppear:m!=null?m:!1});return d(function(){p.current=n.current},[n,p]),t}p.displayName=p.name+" [from "+i.id+"]";var _={hasLayoutWrapper:function(){return!1},wrap:function(t,n,r,o){return s.jsx(m,{node:t,elementRef:o,children:n})}},f=_;l.default=f}),98);
__d("WebBloksWebDataAttributesExtensionHandler",[],(function(t,n,r,o,a,i){var e=/^[a-z0-9_-]+$/,l=new Set(["bloks-name","testid","anchor-id"]),s={getProps:function(n){var t=n.get("attributes");if(t!=null){var r={};for(var o of Object.keys(t))e.test(o)&&!l.has(o)&&(r["data-"+o]=t[o]);return r}}},u=s;i.default=u}),66);
__d("WebBloksWebFocusBoundaryExtensionHandler",[],(function(t,n,r,o,a,i){var e={onMount:function(t,n,r){var e,o=t.getExpression("on_gain_focus_inside"),a=t.getExpression("on_lose_focus_inside"),i=(e=n.current.uiMutableContainer.domNode)==null?void 0:e.current;if(!i)return;var l=i.contains(document.activeElement);l&&o!=null&&r.executeCatch(n.current,o,[n.current,r.bloksContext]);function s(e){var t,a=l;l=(t=i==null?void 0:i.contains(e.target))!=null?t:!1,l&&!a&&o!=null&&r.executeCatch(n.current,o,[n.current,r.bloksContext])}function u(e){var t,o=l;l=(t=i==null?void 0:i.contains(e.relatedTarget))!=null?t:!1,o&&!l&&a!=null&&r.executeCatch(n.current,a,[n.current,r.bloksContext])}return i.addEventListener("focusin",s),i.addEventListener("focusout",u),function(){i.removeEventListener("focusin",s),i.removeEventListener("focusout",u)}}},l=e;i.default=l}),66);
__d("WebBloksWebNativeAccessibilityExtensionHandler",["WebBloksAccessibilityUtils","WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){var e={getProps:function(t){var e=t.getValues(),n=e["aria-controls"],r=e["aria-describedby"],a=e["aria-expanded"],i=e["aria-hidden"],l=e["aria-pressed"],s=e["aria-selected"],u=e.checked,c=e.enabled,d=e.heading_level,m=e.label,p=e.lang,_=e.role,f={},g=o("WebBloksAccessibilityUtils").WEBBLOKS_ACCESSIBILITY_ROLE_MAPPING[_];return g!=null&&(f.role=g),f=babelHelpers.extends({},o("WebBloksAccessibilityUtils").getFocusPropsForRole(f.role),f),o("WebBloksBooleanUtils").isTrue(u)&&(f["aria-checked"]=!0),o("WebBloksBooleanUtils").isFalse(u)&&(f["aria-checked"]=!1),o("WebBloksBooleanUtils").isFalse(c)&&(f.disabled=!0,f["aria-disabled"]=!0),a!=null&&(f["aria-expanded"]=o("WebBloksBooleanUtils").isTrue(a)),n!=null&&n.length>0&&(f["aria-controls"]=n.join(" ")),r!=null&&r.length>0&&(f["aria-describedby"]=r.join(" ")),i!=null&&(f["aria-hidden"]=o("WebBloksBooleanUtils").isTrue(i)),l!=null&&(f["aria-pressed"]=l),s!=null&&(f["aria-selected"]=o("WebBloksBooleanUtils").isTrue(s)),m!=null&&(f["aria-label"]=m),d!=null&&(f["aria-label"]=void 0),p!=null&&(f.lang=p),f},wrap:function(t,n){var e=t.getValues(),r=e.heading_level,a=e.label;return r!=null?o("WebBloksAccessibilityUtils").getHeading(r,a,n):n},reduce:function(t,n){return t?t.makeCopy(n.getValues()):n}},s=e;l.default=s}),98);
__d("WebBloksExtensionHandlers",["WebBloksAccessibilityExtensionHandler","WebBloksAnchorIDExtensionHandler","WebBloksAnchorTagExtensionHandler","WebBloksAutomationTestExtensionHandler","WebBloksBKSTextInputFormatterHandler","WebBloksGestureExtensionHandler","WebBloksHoverExtensionHandler","WebBloksOnDataChangeExtensionHandler","WebBloksOnMountExtensionHandler","WebBloksRenderLifecycleExtensionHandler","WebBloksTextInputDatePickerExtensionHandler","WebBloksTextInputMaskExtensionHandler","WebBloksTouchExtensionHandler","WebBloksViewTransformExtensionHandler","WebBloksVisibilityExtensionHandler","WebBloksWebDataAttributesExtensionHandler","WebBloksWebFocusBoundaryExtensionHandler","WebBloksWebNativeAccessibilityExtensionHandler"],(function(t,n,r,o,a,i,l){var e={"bk.components.AnchorIdExtension":r("WebBloksAnchorIDExtensionHandler"),"bk.components.AutomationTestExtension":r("WebBloksAutomationTestExtensionHandler"),"bk.components.VisibilityExtension":r("WebBloksVisibilityExtensionHandler"),"bk.components.AccessibilityExtension":r("WebBloksAccessibilityExtensionHandler"),"bk.components.WebDataAttributesExtension":r("WebBloksWebDataAttributesExtensionHandler"),"bk.components.WebNativeAccessibilityExtension":r("WebBloksWebNativeAccessibilityExtensionHandler"),"bk.components.HoverExtension":r("WebBloksHoverExtensionHandler"),"bk.components.OnMount":r("WebBloksOnMountExtensionHandler"),"bk.components.RenderLifecycleExtension":r("WebBloksRenderLifecycleExtensionHandler"),"bk.components.ViewTransformsExtension":r("WebBloksViewTransformExtensionHandler"),"bk.components.FoaTouchExtension":r("WebBloksTouchExtensionHandler"),"bk.components.FoaGestureExtension":r("WebBloksGestureExtensionHandler"),"bk.components.TextInputDatePickerExtension":r("WebBloksTextInputDatePickerExtensionHandler"),"bk.components.TextInputMaskExtension":r("WebBloksTextInputMaskExtensionHandler"),"bk.extensions.OnDataChange":r("WebBloksOnDataChangeExtensionHandler"),"bk.components.AnchorTagExtension":r("WebBloksAnchorTagExtensionHandler"),"bk.component.WebFocusBoundaryExtension":r("WebBloksWebFocusBoundaryExtensionHandler"),"bk.components.BKSTextInputFormatter":r("WebBloksBKSTextInputFormatterHandler")};l.EXTENSION_HANDLERS=e}),98);
__d("coreTraversalKeys",[],(function(t,n,r,o,a,i){var e={"bk.cds.bottomsheet.Wrapper":{subnodes:["_style","content","header","web_background_overlay_color","top_banner"],plural_subnodes:["extensions","child_templates"]},"bk.component.TransitionContainer":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.components.BoxDecoration":{subnodes:["background","foreground","corner_fill_themed_color","border_themed_color","shadow_themed_color","contrib","spot_shadow_color","ambient_shadow_color"],plural_subnodes:["child_templates"]},"bk.components.Canvas":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.components.Collection":{subnodes:["_style","background_themed_color","scroll_indicator_color","scroll_indicator_background_color","scroll_indicator_margin_insets","scroll_indicator_shadow_color","scroll_indicator_margin_insets_v2","scroll_indicator_shadow_color_v2","layout_config"],plural_subnodes:["extensions","children","child_templates"]},"bk.components.Flexbox":{subnodes:["_style","decoration","on_click_config"],plural_subnodes:["extensions","gesture_recognizers","children","child_templates"]},"bk.components.Glimmer":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"bk.components.GradientThemedColorDrawable":{subnodes:["begin_color","end_color","middle_color"],plural_subnodes:["child_templates"]},"bk.components.Image":{subnodes:["_style","color_filter","contrib","progress_ring_color","focus_point","placeholder_color"],plural_subnodes:["extensions","child_templates"]},"bk.components.PullToRefreshContainer":{subnodes:["_style","child"],plural_subnodes:["extensions","child_templates"]},"bk.components.RichText":{subnodes:["_style","truncation_string_themed_color","link_highlight_themed_color","keyboard_link_highlight_themed_color","link_highlight_text_themed_color","background_color","selection_handle_color"],plural_subnodes:["extensions","children","gradient_colors","truncation_spans","spans","spans_for_truncation","child_templates"]},"bk.components.Slider":{subnodes:["_style","thumb_color","filled_track_color","unfilled_track_color"],plural_subnodes:["extensions","child_templates"]},"bk.components.Spinner":{subnodes:["_style","color"],plural_subnodes:["extensions","child_templates"]},"bk.components.StateDrawable":{plural_subnodes:["state_items","child_templates"]},"bk.components.StateDrawableItem":{subnodes:["drawable"],plural_subnodes:["child_templates"]},"bk.components.Switch":{subnodes:["_style","on_color","off_color","thumb_color_on_android","thumb_color_off_android","track_color_on","track_color_off","thumb_color_disabled_on_android","thumb_color_disabled_off_android","track_color_disabled_on","track_color_disabled_off","thumb_color_disabled_on","thumb_color_disabled_off","thumb_color_on","thumb_color_off"],plural_subnodes:["extensions","child_templates"]},"bk.components.Text":{subnodes:["_style","text_provider","text_themed_color","truncation_string_themed_color","selection_handle_color"],plural_subnodes:["extensions","truncation_spans","child_templates"]},"bk.components.TextInput":{subnodes:["_style","text_themed_color","hint_text_themed_color","cursor_color","placeholder_text_color","background_color","shadow"],plural_subnodes:["extensions","child_templates"]},"bk.components.TextSpan":{subnodes:["_style","text_provider","text_themed_color","tint_color","shadow_color","image_component","image_margin"],plural_subnodes:["extensions","span_styles","spans","child_templates"]},"bk.components.ThemedColorDrawable":{subnodes:["color"],plural_subnodes:["child_templates"]},"bk.components.Video":{subnodes:["_style","player_identifier","video_clipping_positions"],plural_subnodes:["extensions","video_versions","preview_versions","child_templates"]},"bk.components.ViewTransformsExtension":{subnodes:["drop_shadow_color"],plural_subnodes:["child_templates"]},"bk.components.Zoomable":{subnodes:["_style","content","config"],plural_subnodes:["extensions","child_templates"]},"bk.components.dialog.Button":{subnodes:["text_color"],plural_subnodes:["child_templates"]},"bk.components.dialog.Dialog":{subnodes:["primary_button","secondary_button","tertiary_button"],plural_subnodes:["child_templates"]},"bk.components.internal.Action":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"bk.components.internal.Merge":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.components.internal.MergeWithBind":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.components.internal.Shadow":{subnodes:["_style","child"],plural_subnodes:["extensions","child_templates"]},"bk.components.screen.Wrapper":{subnodes:["_style","content","navbar"],plural_subnodes:["extensions","contribs","child_templates"]},"bk.components.webbloks.Fieldset":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.data.GradientLine":{subnodes:["start_point","end_point"],plural_subnodes:["child_templates"]},"bk.data.bloks.TreeResourceReferences":{plural_subnodes:["props","child_templates"]},"bk.data.cds.OpenScreenOptions":{subnodes:["android_activity_background_color","dimmed_background_color","background_overlay_color","bottom_sheet_margins"],plural_subnodes:["child_templates"]},"bk.data.screen.Navbar":{subnodes:["contrib"],plural_subnodes:["contribs","child_templates"]},"bk.data.screen.Screen":{subnodes:["loading_screen","loaded_screen","navbar","navbar_data","contrib","lifecycle_callbacks"],plural_subnodes:["contribs","child_templates"]},"bk.data.toast.ShowToastOptions":{subnodes:["show_animation_interpolator","dismiss_animation_interpolator"],plural_subnodes:["child_templates"]},"bk.data.toast.ShowToastOptionsV2":{subnodes:["show_animation_interpolator","dismiss_animation_interpolator"],plural_subnodes:["child_templates"]},"bk.style.Base":{subnodes:["flex_touch_expansion","collection_sticky_item_config"],plural_subnodes:["child_templates"]},"bk.style.textspan.ColorStyle":{subnodes:["text_themed_color"],plural_subnodes:["child_templates"]},"bk.style.textspan.ShadowStyle":{subnodes:["shadow_color"],plural_subnodes:["child_templates"]},"bk.types.CanvasFill":{subnodes:["shape","shading","blending_mode","shadow"],plural_subnodes:["child_templates"]},"bk.types.CanvasGradient":{plural_subnodes:["themed_colors","child_templates"]},"bk.types.CanvasGroup":{subnodes:["transform","clip"],plural_subnodes:["children","child_templates"]},"bk.types.CanvasLayer":{subnodes:["transform","clip","blending_mode"],plural_subnodes:["children","child_templates"]},"bk.types.CanvasPath":{plural_subnodes:["children","child_templates"]},"bk.types.CanvasPathAdd":{subnodes:["path","transform"],plural_subnodes:["child_templates"]},"bk.types.CanvasPathDifference":{subnodes:["path","transform"],plural_subnodes:["child_templates"]},"bk.types.CanvasPathIntersection":{subnodes:["path","transform"],plural_subnodes:["child_templates"]},"bk.types.CanvasPathUnion":{subnodes:["path","transform"],plural_subnodes:["child_templates"]},"bk.types.CanvasPathXor":{subnodes:["path","transform"],plural_subnodes:["child_templates"]},"bk.types.CanvasShadingColor":{subnodes:["themed_color"],plural_subnodes:["child_templates"]},"bk.types.CanvasShadingGradientLinear":{subnodes:["gradient"],plural_subnodes:["child_templates"]},"bk.types.CanvasShadingGradientRadial":{subnodes:["gradient"],plural_subnodes:["child_templates"]},"bk.types.CanvasShadow":{subnodes:["themed_color"],plural_subnodes:["child_templates"]},"bk.types.CanvasStroke":{subnodes:["shape","shading","blending_mode","shadow"],plural_subnodes:["child_templates"]},"bk.types.CanvasTransform":{plural_subnodes:["children","child_templates"]},"bk.types.GridCollectionLayoutConfig":{subnodes:["padding"],plural_subnodes:["child_templates"]},collection:{subnodes:["sticky_item_config"],plural_subnodes:["child_templates"]},flex:{subnodes:["touch_expansion"],plural_subnodes:["child_templates"]},"mini.data.Product":{subnodes:["main_image","merchant","thumbnail_image","checkout_properties","drawing_information","rating"],plural_subnodes:["variant_values","child_templates"]},"bk.AnyComponent":{subnodes:["style"],plural_subnodes:["extensions","child_templates"]},"bk.types.Shadow":{subnodes:["color"],plural_subnodes:["child_templates"]},"bk.data.zoomable.config.Remote":{subnodes:["placeholder_color"],plural_subnodes:["child_templates"]},"bk.data.screen.navbar.Contrib":{subnodes:["fb","msg"],plural_subnodes:["child_templates"]},"bk.data.screen.screen.Contrib":{subnodes:["ig","msg"],plural_subnodes:["child_templates"]},"bk.data.product.CheckoutProperties":{subnodes:["currency_amount","shipping_and_return"],plural_subnodes:["child_templates"]},"bk.data.screen.navbar.contrib.Msg":{subnodes:["title_view"],plural_subnodes:["right_buttons","left_buttons","child_templates"]},"bk.data.product.checkout.ShippingAndReturn":{subnodes:["shipping_cost","return_cost"],plural_subnodes:["child_templates"]}},l=e;i.default=l}),66);
__d("CoreWebBloksEnvironmentConfigDynamic",["CoreWebBloksActions","WebBloksExtensionHandlers","coreTraversalKeys"],(function(t,n,r,o,a,i,l){var e={actions:o("CoreWebBloksActions").ACTIONS,extensionHandlers:o("WebBloksExtensionHandlers").EXTENSION_HANDLERS,traversalKeys:r("coreTraversalKeys")};l.CORE_ENVIRONMENT_CONFIG=e}),98);
__d("NFXContextFactory",["FBLogger","uuidv4"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=function(t,n){if(n!==null)return n};return JSON.stringify({reportable_ent_token:e.reportable_ent_token,story_location:e.story_location,entry_point:e.entry_point,type:e.type,session_id:r("uuidv4")(),initial_action_name:e.initial_action_name,reportable_id:e.reportable_id,page_id:e.page_id,responsible_id:e.responsible_id},t)}function s(t){var n=t.reportable_ent_token,r=t.story_location,o=t.entry_point,a=o===void 0?"unknown":o,i=t.responsible_id;return e({type:1,story_location:r,entry_point:a,reportable_ent_token:n,responsible_id:i})}function u(t){var n=t.page_id,r=t.reportable_id,o=t.storyLocation;return e({type:6,story_location:o,entry_point:"unknown",initial_action_name:"POLITICAL_ARCHIVE_REPORT_AD",reportable_id:r,page_id:n})}function c(t){var n=t.reportable_ent_token,r=t.story_location,o=t.entry_point,a=o===void 0?"unknown":o,i=t.initial_action_name,l=t.page_id;return e({type:11,story_location:r,entry_point:a,reportable_ent_token:n,initial_action_name:i,page_id:l})}function d(t){var n=t.reportable_ent_token,o=t.story_location,a=t.entry_point,i=a===void 0?"unknown":a,l=t.initial_action_name;return n===null&&r("FBLogger")("frx").warn("null or undefined reportable_ent_token in forEntReportable, location=%s entry_point=%s",o,i),e({type:2,story_location:o,entry_point:i,reportable_ent_token:n,initial_action_name:l})}l.withEntMessageThread=s,l.withPoliticalArchiveAds=u,l.withEntReportableOnPage=c,l.withEntReportable=d}),98);
__d("XRapidReportingDialogController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/rapid_report/",{__asyncDialog:{type:"Int"},context:{type:"String",required:!0},preselectedtagid:{type:"Enum",enumType:1}})}),null);
__d("FRXURI",["ActorURI","NFXContextFactory","XRapidReportingDialogController"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=e.reportable_ent_token,n=e.story_location,a=e.entry_point,i=a===void 0?"unknown":a,l=e.responsible_id,s=e.actor_id,u=o("NFXContextFactory").withEntMessageThread({reportable_ent_token:t,story_location:n,entry_point:i,responsible_id:l}),c=r("XRapidReportingDialogController").getURIBuilder().setString("context",u).getURI();return s!=null&&(c=o("ActorURI").create(c,s)),c}function s(e){var t=e.reportable_ent_token,n=e.story_location,a=e.entry_point,i=a===void 0?"unknown":a,l=e.initial_action_name,s=e.actor_id,u=e.page_id,c=o("NFXContextFactory").withEntReportableOnPage({reportable_ent_token:t,story_location:n,entry_point:i,initial_action_name:l,page_id:u}),d=r("XRapidReportingDialogController").getURIBuilder().setString("context",c).getURI();return s!=null&&(d=o("ActorURI").create(d,s)),d}function u(e){var t=e.reportable_ent_token,n=e.story_location,a=e.entry_point,i=a===void 0?"unknown":a,l=e.initial_action_name,s=e.actor_id,u=o("NFXContextFactory").withEntReportable({reportable_ent_token:t,story_location:n,entry_point:i,initial_action_name:l}),c=r("XRapidReportingDialogController").getURIBuilder().setString("context",u).getURI();return s!=null&&(c=o("ActorURI").create(c,s)),c}function c(e,t){return btoa(e+":"+t)}l.withEntMessageThread=e,l.withEntReportableOnPage=s,l.withEntReportable=u,l.getReportableToken=c}),98);
__d("FXLinklessAuthInitQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="9710711352350577"}),null);
__d("FXLinklessAuthInitQuery.graphql",["FXLinklessAuthInitQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e={defaultValue:null,kind:"LocalArgument",name:"extra_params"},t={defaultValue:null,kind:"LocalArgument",name:"flow"},r={defaultValue:null,kind:"LocalArgument",name:"target_account_type"},o=[{alias:null,args:[{kind:"Variable",name:"extra_params",variableName:"extra_params"},{kind:"Variable",name:"flow",variableName:"flow"},{kind:"Variable",name:"target_account_type",variableName:"target_account_type"}],concreteType:"FXLinklessAuthConfig",kind:"LinkedField",name:"fx_linkless_auth_web_init",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"start_url",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[e,t,r],kind:"Fragment",metadata:null,name:"FXLinklessAuthInitQuery",selections:o,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,r,e],kind:"Operation",name:"FXLinklessAuthInitQuery",selections:o},params:{id:n("FXLinklessAuthInitQuery_facebookRelayOperation"),metadata:{},name:"FXLinklessAuthInitQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
__d("XFBFXAuthFlowWebEntryPoint.facebook",["$InternalEnum"],(function(t,n,r,o,a,i){var e=n("$InternalEnum").Mirrored(["AUTH_WEB_FLOW_TESTING_ONLY","CASD_BUSINESS_LINKING_WEB_SDK","IG_SALES_OBJECTIVE_AUTH_FLOW","WEB_BLOKS_AUTH_FLOW"]),l=e;i.default=l}),66);
__d("FXLinklessAuth.react",["FXLinklessAuthInitQuery.graphql","ODS","Popup","RelayHooks","URI","XInstagramOIDCExchangeCodeForIDTokenControllerRouteBuilder"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c=700,d=800,m=e!==void 0?e:e=n("FXLinklessAuthInitQuery.graphql");function p(e,t,n){var r,a,i=JSON.stringify(n),l=o("RelayHooks").useLazyLoadQuery(m,{flow:e,target_account_type:t,extra_params:i});return(r=l==null||(a=l.fx_linkless_auth_web_init)==null?void 0:a.start_url)!=null?r:""}function _(e,t,n,a,i){e===void 0&&(e=null),a===void 0&&(a=function(){});var l=new(u||(u=r("URI")))(e);switch(t){case"CASD_BUSINESS_LINKING_WEB_SDK":{var m=""+window.location.origin+r("XInstagramOIDCExchangeCodeForIDTokenControllerRouteBuilder").buildURL({});l.addQueryData("redirect_uri",m),l.addQueryData("app_id",0x3fc675d5600fb2),l.addQueryData("scope","openid,linking"),l.addQueryData("response_type","code"),n.redirect_uri=m,l.addQueryData("state",JSON.stringify(n));break}case"AUTH_WEB_FLOW_TESTING_ONLY":default:break}var p=o("Popup").open(l,c,d);i&&i(p==null),(s||(s=o("ODS"))).bumpEntityKey(3572,"fx_linkless_auth_react.launch_fx_auth",p==null?"window_open_error":"window_open_success");var _=window.setInterval(function(){p&&p.closed&&(window.clearInterval(_),a())},1e3)}l.usePreloadFXAuthUrl=p,l.launchFXAuth=_}),98);
__d("WebBloksLogEvent",["FalcoLoggerInternal","WebBloksFalcoPolicyData"],(function(t,n,r,o,a,i,l){function e(e,t,n,a){var i=o("FalcoLoggerInternal").create(t,r("WebBloksFalcoPolicyData").get(t));i.log(function(){return a})}l.default=e}),98);
__d("WebBloksLogEventCritical",["FalcoLoggerInternal","WebBloksFalcoPolicyData"],(function(t,n,r,o,a,i,l){function e(e,t,n,a){var i=o("FalcoLoggerInternal").create(t,r("WebBloksFalcoPolicyData").get(t));i.logCritical(function(){return a})}l.default=e}),98);
__d("WebBloksLogEventImmediately",["FalcoLoggerInternal","WebBloksFalcoPolicyData"],(function(t,n,r,o,a,i,l){function e(e,t,n,a){var i=o("FalcoLoggerInternal").create(t,r("WebBloksFalcoPolicyData").get(t));i.logImmediately(function(){return a})}l.default=e}),98);
__d("WebBloksOpenFRXAction",["FRXURI","JSResource"],(function(t,n,r,o,a,i,l){function e(e,t,n,a){var i=o("FRXURI").withEntReportable({reportable_ent_token:a,story_location:n,entry_point:t});r("JSResource")("XAsyncRequest").__setRef("WebBloksOpenFRXAction").load().then(function(e){var t=new e().setURI(i);return t.send()}).catch(function(t){e.objectSet.environment.logger.mustfix("WebBloksOpenFRXAction fetch failure",t)})}l.default=e}),98);
__d("WebBloksQPLUtils",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){var r=n!=null?n:void 0;return{i:e,m:r,r:t}}i.createSyntheticQPLEvent=e}),66);
__d("WebBloksQPLMarkerAnnotateV2",["QuickPerformanceLogger","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){var e;function s(t,n,a,i,l){var s=l.get("sample_rate"),u=l.get("sampling_type"),c=o("WebBloksQPLUtils").createSyntheticQPLEvent(n,s,u);(e||(e=r("QuickPerformanceLogger"))).markerAnnotate(c,{string:i},{instanceKey:a})}l.default=s}),98);
__d("WebBloksQPLMarkerEndV3",["QuickPerformanceLogger","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){var e;function s(t,n,a,i,l,s){var u=l.get("sample_rate"),c=l.get("sampling_type"),d=o("WebBloksQPLUtils").createSyntheticQPLEvent(n,u,c);(e||(e=r("QuickPerformanceLogger"))).markerEnd(d,i,a)}l.default=s}),98);
__d("WebBloksQPLMarkerPointV2",["QuickPerformanceLogger","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){var e;function s(t,n,a,i,l,s){var u=l.get("sample_rate"),c=l.get("sampling_type"),d=o("WebBloksQPLUtils").createSyntheticQPLEvent(n,u,c);(e||(e=r("QuickPerformanceLogger"))).markerPoint(d,i,{instanceKey:a})}l.default=s}),98);
__d("WebBloksQPLMarkerStartV3",["QuickPerformanceLogger","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){var e;function s(t,n,a,i,l){var s=i.get("sample_rate"),u=i.get("sampling_type"),c=o("WebBloksQPLUtils").createSyntheticQPLEvent(n,s,u);(e||(e=r("QuickPerformanceLogger"))).markerStart(c,a)}l.default=s}),98);
__d("WebBloksQPLUserFlowAnnotateV3",["QPLUserFlow","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a,i){var l=i.get("sample_rate"),s=i.get("sampling_type"),u=o("WebBloksQPLUtils").createSyntheticQPLEvent(t,l,s);r("QPLUserFlow").addAnnotations(u,{string:a},{instanceKey:n})}l.default=e}),98);
__d("WebBloksQPLUserFlowEndFlowCancelV3",["QPLUserFlow","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a,i){var l=i.get("sample_rate"),s=i.get("sampling_type"),u=o("WebBloksQPLUtils").createSyntheticQPLEvent(t,l,s);r("QPLUserFlow").endCancel(u,{annotations:{string:{cancel_reason:a}},instanceKey:n})}l.default=e}),98);
__d("WebBloksQPLUserFlowEndFlowFailureV3",["QPLUserFlow","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a,i,l){var s=l.get("sample_rate"),u=l.get("sampling_type"),c=o("WebBloksQPLUtils").createSyntheticQPLEvent(t,s,u);r("QPLUserFlow").endFailure(c,a,{debugInfo:i,instanceKey:n})}l.default=e}),98);
__d("WebBloksQPLUserFlowEndFlowSuccessV3",["QPLUserFlow","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a){var i=a.get("sample_rate"),l=a.get("sampling_type"),s=o("WebBloksQPLUtils").createSyntheticQPLEvent(t,i,l);r("QPLUserFlow").endSuccess(s,{instanceKey:n})}l.default=e}),98);
__d("WebBloksQPLUserFlowMarkErrorV3",["QPLUserFlow","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a,i,l){var s=l.get("sample_rate"),u=l.get("sampling_type"),c=o("WebBloksQPLUtils").createSyntheticQPLEvent(t,s,u);r("QPLUserFlow").markError(c,a,{debugInfo:i,instanceKey:n})}l.default=e}),98);
__d("WebBloksQPLUserFlowMarkPointV3",["QPLUserFlow","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a,i,l){var s=l.get("sample_rate"),u=l.get("sampling_type"),c=o("WebBloksQPLUtils").createSyntheticQPLEvent(t,s,u);r("QPLUserFlow").addPoint(c,a,{instanceKey:n,data:{string:i}})}l.default=e}),98);
__d("WebBloksQPLUserFlowStartFlowV3",["QPLUserFlow","WebBloksQPLUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,a,i){var l=a.get("sample_rate"),s=a.get("sampling_type"),u=i.get("trigger_source"),c=o("WebBloksQPLUtils").createSyntheticQPLEvent(t,l,s);r("QPLUserFlow").start(c,{instanceKey:n,annotations:{string:{trigger_source:u}}})}l.default=e}),98);
__d("HasteSharedWebBloksActions",["WebBloksLogEvent","WebBloksLogEventCritical","WebBloksLogEventImmediately","WebBloksOpenFRXAction","WebBloksQPLMarkerAnnotateV2","WebBloksQPLMarkerEndV3","WebBloksQPLMarkerPointV2","WebBloksQPLMarkerStartV3","WebBloksQPLUserFlowAnnotateV3","WebBloksQPLUserFlowEndFlowCancelV3","WebBloksQPLUserFlowEndFlowFailureV3","WebBloksQPLUserFlowEndFlowSuccessV3","WebBloksQPLUserFlowMarkErrorV3","WebBloksQPLUserFlowMarkPointV3","WebBloksQPLUserFlowStartFlowV3"],(function(t,n,r,o,a,i,l){var e={"bk.action.OpenFRXAction":r("WebBloksOpenFRXAction"),"bk.action.logging.LogEvent":r("WebBloksLogEvent"),"bk.action.logging.LogEventCritical":r("WebBloksLogEventCritical"),"bk.action.logging.LogEventImmediately":r("WebBloksLogEventImmediately"),"bk.action.qpl.MarkerAnnotateV2":r("WebBloksQPLMarkerAnnotateV2"),"bk.action.qpl.MarkerEndV3":r("WebBloksQPLMarkerEndV3"),"bk.action.qpl.MarkerPointV2":r("WebBloksQPLMarkerPointV2"),"bk.action.qpl.MarkerStartV3":r("WebBloksQPLMarkerStartV3"),"bk.action.qpl.userflow.AnnotateV3":r("WebBloksQPLUserFlowAnnotateV3"),"bk.action.qpl.userflow.EndFlowCancelV3":r("WebBloksQPLUserFlowEndFlowCancelV3"),"bk.action.qpl.userflow.EndFlowFailureV3":r("WebBloksQPLUserFlowEndFlowFailureV3"),"bk.action.qpl.userflow.EndFlowSuccessV3":r("WebBloksQPLUserFlowEndFlowSuccessV3"),"bk.action.qpl.userflow.MarkErrorV3":r("WebBloksQPLUserFlowMarkErrorV3"),"bk.action.qpl.userflow.MarkPointV3":r("WebBloksQPLUserFlowMarkPointV3"),"bk.action.qpl.userflow.StartFlowV3":r("WebBloksQPLUserFlowStartFlowV3")};l.ACTIONS=e}),98);
__d("HasteSharedWebBloksComponents",[],(function(t,n,r,o,a,i){var e={};i.COMPONENTS=e}),66);
__d("XPolarisDeviceBasedLoginInvalidateNonceControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/login/device-based/invalidate-nonce/",Object.freeze({}),void 0),s=e;l.default=s}),98);
__d("IGWebBloksCAARemoveProfile",["PolarisOneTapLogin","XPolarisDeviceBasedLoginInvalidateNonceControllerRouteBuilder","requireDeferred"],(function(t,n,r,o,a,i,l){"use strict";var e=r("requireDeferred")("XAsyncRequest").__setRef("IGWebBloksCAARemoveProfile");function s(t,n,a,i,l,s){o("PolarisOneTapLogin").removeLoginNonce(a);var u=r("XPolarisDeviceBasedLoginInvalidateNonceControllerRouteBuilder").buildUri({}).toString();e.onReady(function(e){new e(u).setMethod("POST").setAutoProcess(!1).setData({uid:a}).setHandler(function(e){e.payload.status===!0?t.executeCatch(l,[n]):t.executeCatch(s,[n])}).setErrorHandler(function(e){t.executeCatch(s,[n])}).send()})}l.default=s}),98);
__d("IGWebBloksCAASetAppLocale",["PolarisCookies"],(function(t,n,r,o,a,i,l){var e=3456e7;function s(t,n){o("PolarisCookies").setCookie(o("PolarisCookies").PolarisKnownCookies.LANGUAGE_CODE,n,{maxage:e}),window.location.reload()}l.default=s}),98);
__d("IgcaaWebBloksActions",["IGWebBloksCAARemoveProfile","IGWebBloksCAASetAppLocale"],(function(t,n,r,o,a,i,l){var e={"bk.action.caa.login.RemoveProfile":r("IGWebBloksCAARemoveProfile"),"bk.action.caa.login.SetAppLocale":r("IGWebBloksCAASetAppLocale")};l.ACTIONS=e}),98);
__d("igcaaTraversalKeys",[],(function(t,n,r,o,a,i){var e={},l=e;i.default=l}),66);
__d("IGCAAWebBloksEnvironmentConfigDynamic",["IgcaaWebBloksActions","igcaaTraversalKeys"],(function(t,n,r,o,a,i,l){var e={actions:o("IgcaaWebBloksActions").ACTIONS,traversalKeys:r("igcaaTraversalKeys")};l.IGCAA_ENVIRONMENT_CONFIG=e}),98);
__d("IGDSArrowCcwPanoOutlineIcon.react",["IGDSSVGIconBase.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(4),n,a;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx("path",{d:"M2.682 8.364a10.003 10.003 0 1 1 2.023 10.475",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),a=s.jsx("polyline",{fill:"none",points:"7 8.364 2 8.364 2 3.364",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),t[0]=n,t[1]=a):(n=t[0],a=t[1]);var i;return t[2]!==e?(i=s.jsxs(r("IGDSSVGIconBase.react"),babelHelpers.extends({},e,{viewBox:"0 0 24 24",children:[n,a]})),t[2]=e,t[3]=i):i=t[3],i}var c=s.memo(u);l.default=c}),98);
__d("IGDSStepper.react",["fbt","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react"));function c(e){var t=o("react-compiler-runtime").c(10),n=e.step,r=e.totalSteps,a;t[0]!==n||t[1]!==r?(a=s._(/*BTDS*/"Progress, step {current step} of {total number of steps}",[s._param("current step",n),s._param("total number of steps",r)]),t[0]=n,t[1]=r,t[2]=a):a=t[2];var i;t[3]===Symbol.for("react.memo_cache_sentinel")?(i={className:"x1qjc9v5 xt6orni x1q0q8m5 x1qhh985 x18b5jzi x10w94by x1t7ytsu x14e42zd x13fuv20 x972fbf x9f619 x78zum5 x1q0g3np x1iyjqo2 xs83m0k xozqiw3 x1szn6h9 xat24cr x14z9mp x1lziwak xdj266r x2lwn1j xeuugli x18d9i69 xyri2b x1c1uobl xexx8yu x1n2onr6 xh8yej3 x1ja2u2z"},t[3]=i):i=t[3];var l;t[4]!==n||t[5]!==r?(l=Array(r).fill().map(function(e,t){var o=t<n;return u.jsx("div",{className:{0:"x9f619 xpcrz0c x18b5jzi x1alpsbp x1vpptxl x1t7ytsu xyumdvf",2:"x9f619 xpcrz0c x18b5jzi x1alpsbp x1vpptxl xyumdvf xstzfhl",1:"x9f619 xpcrz0c x1alpsbp x1vpptxl x1t7ytsu xyumdvf x18oe1m7",3:"x9f619 xpcrz0c x1alpsbp x1vpptxl xyumdvf xstzfhl x18oe1m7"}[(t===0)<<1|(t===r-1)<<0],style:{width:"calc(100% / "+r+")"},children:u.jsx("div",babelHelpers.extends({},{0:{className:"x1hmx34t x36qwtl"},1:{className:"x36qwtl"}}[!!o<<0]))},t)}),t[4]=n,t[5]=r,t[6]=l):l=t[6];var c;return t[7]!==a||t[8]!==l?(c=u.jsx("div",babelHelpers.extends({"aria-label":a},i,{role:"img",children:l})),t[7]=a,t[8]=l,t[9]=c):c=t[9],c}l.default=c}),226);
__d("webBloksFetchJson",["WebBloksErrors"],(function(t,n,r,o,a,i,l){"use strict";var e="for (;;);",s=e.length,u="content-type",c="application/x-javascript; charset=utf-8";async function d(e,t,n){var r=new URLSearchParams;for(var a in t){var i=t[a];i!=null&&r.append(a,String(i))}var l;try{l=await window.fetch(e.toString(),{method:"post",body:r,credentials:"same-origin",headers:n!=null?n:void 0})}catch(e){throw new(o("WebBloksErrors")).WebBloksNetworkError("Network error",e)}var d=l.headers.get(u);if(l.status!==200)throw l.status>=500?new(o("WebBloksErrors")).WebBloksError("Status: "+l.status+" "+l.statusText):new(o("WebBloksErrors")).WebBloksNetworkError("Status: "+l.status+" "+l.statusText);if(d!=null&&d!==""&&d!==c)throw new(o("WebBloksErrors")).WebBloksNetworkError("Unexpected content-type: "+d);var m=await l.text(),p=m.substr(s),_=JSON.parse(p);if(_!=null&&_.redirect)throw new(o("WebBloksErrors")).WebBloksNetworkError("Unexpected redirect: "+_.redirect);return _}l.default=d}),98);
__d("WebBloksHasteAppLoader",["AbstractWebBloksAppLoader","URI","WebBloksVersioningID","getAsyncParams","webBloksFetchJson"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(function(t){function n(e,n){var r;return r=t.call(this)||this,r.$WebBloksHasteAppLoader$p_1=e,r.$WebBloksHasteAppLoader$p_2=n,r}babelHelpers.inheritsLoose(n,t);var a=n.prototype;return a.makePostRequest=function(n,a){var t=this.$WebBloksHasteAppLoader$p_2!=null?this.$WebBloksHasteAppLoader$p_2():null;return r("webBloksFetchJson")(new(e||(e=r("URI")))(n).addQueryData({__bkv:o("WebBloksVersioningID").versioningID}).toString(),babelHelpers.extends({},r("getAsyncParams")("POST"),a),t!=null?t:void 0)},a.getAsyncFetchURI=function(t,n,r){return this.$WebBloksHasteAppLoader$p_1.getURIBuilder().setParams({appid:t,type:r}).getURI().toString()},a.getAsyncFetchData=function(t,n,r){return{params:n!==null?JSON.stringify(n):null}},n})(o("AbstractWebBloksAppLoader").AbstractWebBloksAppLoader);l.WebBloksHasteAppLoader=s}),98);
__d("XPolarisBloksAsyncRawController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/async/wbloks/fetch/",{appid:{type:"String"},params:{type:"String"},type:{type:"Enum",enumType:1}})}),null);
__d("IGWebBloksAppLoader",["PolarisInstajax","URI","WebBloksHasteAppLoader","WebBloksVersioningID","XPolarisBloksAsyncRawController","polarisConfigureUrlForIgsrvAPI"],(function(t,n,r,o,a,i,l){"use strict";var e,s={"com.instagram.account_security.password_reset_submit_action_handler":!0,"com.instagram.account_security.universal_hacked_lock_web.web_uhl_select_account":!0,"com.instagram.account_security.universal_hacked_lock_web.web_uhl_select_account_handler":!0,"com.instagram.challenge.navigation.replay_challenge":!0,"com.instagram.challenge.navigation.reset_challenge":!0,"com.instagram.challenge.navigation.rewind_challenge":!0,"com.instagram.challenge.navigation.take_challenge":!0,"com.instagram.portable_settings.privacy.story_controls":!0},u=(function(t){function n(e){var n;return n=t.call(this,r("XPolarisBloksAsyncRawController"))||this,n.appId=e,n}babelHelpers.inheritsLoose(n,t);var a=n.prototype;return a.makePostRequest=function(a,i){var n=new(e||(e=r("URI")))(a);if(n.getPath().startsWith("/api/v1/bloks/apps/")){var l={appId:this.appId,headers:{"X-BLOKS-VERSION-ID":o("WebBloksVersioningID").versioningID}};return o("PolarisInstajax").post_UNTYPED(n.toString(),babelHelpers.extends({},i,{nest_data_manifest:!0}),l)}else return t.prototype.makePostRequest.call(this,n.toString(),i)},a.getAsyncFetchData=function(o,a,i){if(s[o]){var n={};for(var l in a){var u=a[l];u!=null&&typeof u=="object"?n[l]=JSON.stringify(u):n[l]=String(u)}return n}return babelHelpers.extends({},t.prototype.getAsyncFetchData.call(this,o,a,i),{__d:"www",hl:(e||(e=r("URI"))).getRequestURI().getQueryData().hl})},a.getAsyncFetchURI=function(n,o,a){return s[n]?r("polarisConfigureUrlForIgsrvAPI")("/api/v1/bloks/apps/"+n+"/"):t.prototype.getAsyncFetchURI.call(this,n,o,a)},n})(o("WebBloksHasteAppLoader").WebBloksHasteAppLoader);l.IGWebBloksAppLoader=u}),98);
__d("WebBloksErrorRenderer",["WebBloksTheme","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.error;return s.jsxs("div",{style:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["error-or-destructive"],borderRadius:8,display:"flex",flexDirection:"column",margin:16,overflow:"hidden",padding:16,width:"100%",minHeight:400,minWidth:200,boxSizing:"border-box"},children:[s.jsxs("div",{style:{color:"white",fontWeight:"bolder",justifyContent:"center"},children:["[fb-only] WebBloks Render error ",t.name,": ",t.message]}),s.jsx("div",{style:{color:"white",fontWeight:"bolder",justifyContent:"center",fontSize:"75%"},children:"this will throw in production"}),s.jsx("pre",{style:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["primary-bg"],borderRadius:4,flexGrow:1,fontFamily:"monospace",marginTop:16,overflow:"scroll",padding:16,whiteSpace:"pre-wrap",lineBreak:"anywhere"},children:t.stack})]})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksErrorRoot",["WebBloksErrorRenderer","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.error;return s.jsxs("div",{className:c.errorRoot,children:[s.jsx("div",{className:c.errorText,children:"An error occurred. Please reload to try again."}),null]})}u.displayName=u.name+" [from "+i.id+"]";var c=o("WebBloksStyle").createStyles({errorRoot:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100%",width:"100%"},errorText:{fontWeight:"bold"}});l.default=u}),98);
__d("WebBloksErrorBoundary",["WebBloksErrorRoot","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={error:null},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e),t.getDerivedStateFromError=function(t){return{hasError:!0,error:t}};var n=t.prototype;return n.componentDidCatch=function(t,n){this.props.logger.mustfix("Error rendering components: %s",t,n==null?void 0:n.componentStack)},n.render=function(){var e=this.state.error;return e!=null?s.jsx(r("WebBloksErrorRoot"),{error:e}):this.props.children},t})(s.Component);l.default=u}),98);
__d("WebBloksFocusScopeQueries",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){return e==="h1"||e==="h2"||e==="h3"||t.role==="heading"&&(t["aria-level"]===1||t["aria-level"]===2||t["aria-level"]===3)||t["aria-busy"]===!0||t.role==="progressbar"||t.role==="status"}function l(e,t){return t.tabIndex===-1&&!(t.disabled===!0||t.type==="hidden"||t["aria-disabled"]===!0||t["aria-hidden"]===!0)?!0:c(e,t)}function s(e){return e.type!=="hidden"&&e.type!=="file"}function u(e,t){return e==="input"&&s(t)}function c(e,t){return t.tabIndex===-1||t.disabled===!0?!1:t.tabIndex===0||t.contentEditable===!0?!0:e==="a"||e==="area"?t.href!=null&&t.href!==""&&t.rel!=="ignore":e==="input"?s(t):e==="button"||e==="textarea"||e==="select"||e==="iframe"||e==="embed"}var d=[u,c];function m(e){return e.offsetWidth===0&&e.offsetHeight===0}function p(e,t,n){return!m(n)&&c(e,t)}function _(e,t){return e==="td"||e==="th"||t.role==="gridcell"||t.role==="columnheader"||t.role==="rowheader"}function f(e,t){return!_(e,t)&&c(e,t)}var g=[e,c];function h(t,n){return e(t,n)||c(t,n)}var y=function(t,n){return n["data-focus-target"]===!0&&(n["aria-busy"]===!0||n.role==="progressbar")};function C(e,t){return t.role==="dialog"}i.headerAndSpinnerFocusScopeQuery=e,i.focusableScopeQuery=l,i.tabbableScopeQuery=c,i.inputFirstTabbbableScopeQuery=d,i.displayedTabbableScopeQuery=p,i.tableCellScopeQuery=_,i.tableCellTabbableContentScopeQuery=f,i.headerFirstTabbableSecondScopeQuery=g,i.headerOrTabbableScopeQuery=h,i.topLoadingScopeQuery=y,i.dialogScopeQuery=C}),66);
__d("WebBloksIconSpinner",["WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.color,n="20",r=o("WebBloksTheme").useTheme().getTheme(),a=t?o("WebBloksUtils").getRGBColorWithTheme(t,r):o("WebBloksTheme").WebBloksThemeVars["fig-blue-tint-10"];return s.jsx("div",{className:m.loader,"data-visualcompletion":"loading-state",children:s.jsxs("svg",{className:o("WebBloksStyle").classNames(m.iconSpinnerCircular,m.iconSpinnerRotating,m.iconSpinnerStroke),viewBox:"25 25 50 50",children:[s.jsx("title",{children:"Spinner"}),s.jsx("circle",{cx:"50",cy:"50",r:n,fill:"none",stroke:o("WebBloksTheme").WebBloksThemeVars["fig-blue-tint-90"]}),s.jsx("circle",{className:o("WebBloksStyle").classNames(m.iconSpinnerPath,m.iconSpinnerStroke),cx:"50",cy:"50",r:n,fill:"none",stroke:a})]})})}u.displayName=u.name+" [from "+i.id+"]";var c=o("WebBloksStyle").keyframes({"100%":{transform:"rotate(360deg)"}}),d=o("WebBloksStyle").keyframes({"0%":{strokeDasharray:"1, 200",strokeDashoffset:"0"},"50%":{strokeDasharray:"200, 200",strokeDashoffset:"0px"},"75%,100%":{strokeDasharray:"89, 200",strokeDashoffset:"-125px"}}),m=o("WebBloksStyle").createStyles({loader:function(t){var e;return e={},e[t]={margin:0,position:"relative",width:65},e[t+"::before"]={content:"''",display:"block",paddingTop:"100%"},e},iconSpinnerCircular:{bottom:0,height:"100%",left:0,margin:"auto",position:"absolute",right:0,top:0,transformOrigin:"center center",width:"100%"},iconSpinnerRotating:{animation:c+" 3s linear infinite"},iconSpinnerPath:{animation:d+" 2s ease-in-out infinite",strokeDasharray:"1, 200",strokeDashoffset:"0",strokeLinecap:"round"},iconSpinnerStroke:{strokeMiterlimit:"10",strokeWidth:"1.5"}});l.default=u}),98);
__d("useWebBloksAccessibilityModule",["WebBloksEnvironmentContext"],(function(t,n,r,o,a,i,l){"use strict";function e(){var e=o("WebBloksEnvironmentContext").useWebBloksEnvironment(),t=e.accessibilityModule;return t}l.default=e}),98);
__d("WebBloksScreenWrapper",["WebBloksEnvironmentContext","WebBloksFocusScopeQueries","WebBloksIconSpinner","WebBloksScreen","WebBloksScreenHost","WebBloksStyle","WebBloksTheme","WebBloksTreeResources","react","useWebBloksAccessibilityModule"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useState;function m(){return s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({alignItems:"center",justifyContent:"center",flex:1}),{children:s.jsx(r("WebBloksIconSpinner"),{})}))}m.displayName=m.name+" [from "+i.id+"]";function p(e){var t,n=e.externalVariables,a=e.screen,i=o("WebBloksEnvironmentContext").useWebBloksEnvironment(),l=i.allowScreenOverflow,u=i.embedded,p=i.loadingFallback,g=r("useWebBloksAccessibilityModule")(),h=g.FocusRegion,y=d(a.value),C=y[0],b=y[1];c(function(){return a.stateChangeListener.on(b),function(){a.stateChangeListener.off(b)}},[a]);var v=a.objectSet,S=a.options,R=S.initialTreeResources,L=S.loadingNavbar,E=S.loadingScreen,k=S.ownerContext,I=v.environment.navigationTrackingUtils,T=a.getIsOverlay();return s.jsx(h,{autoRestoreFocus:!0,containFocusQuery:o("WebBloksFocusScopeQueries").tabbableScopeQuery,children:s.jsx("div",{className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,f.root,!u&&T!==!0&&f.rootBackground,T===!0&&f.rootOverlay),children:s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({display:"block",flexBasis:"100%",flexGrow:1,flexShrink:1,overflow:l===!0?"visible":"hidden"}),{children:C.state==="ready"?s.jsx(r("WebBloksScreenHost"),{screen:a,externalVariables:n},a.screenId):C.state==="error"?s.jsxs(s.Fragment,{children:[L&&_(v,L,R,k),s.jsx("div",{style:{marginTop:44,textAlign:"center"},children:(t=C.error.summary)!=null?t:"Failed to load"})]}):s.jsxs(s.Fragment,{children:[I==null?void 0:I.loadingIndicatorTrackingComponent,L&&_(v,L,R,k),E?_(v,E,R,k):p!=null?p:s.jsx(m,{})]})}))})})}p.displayName=p.name+" [from "+i.id+"]";function _(e,t,n,a){return s.jsx(r("WebBloksScreenHost"),{isLoadingNode:!0,screen:o("WebBloksScreen").WebBloksScreen.fromBloksModel(e,t,n!=null?n:o("WebBloksTreeResources").WebBloksTreeResources.empty(),{isEmbedded:!0,ownerContext:a!=null?a:void 0})})}_.displayName=_.name+" [from "+i.id+"]";var f=o("WebBloksStyle").createStyles({rootBackground:{backgroundColor:o("WebBloksTheme").WebBloksThemeVars["screen-wrapper-bg"]},root:{color:o("WebBloksTheme").WebBloksThemeVars["primary-text"],flexDirection:"column",height:"100%",width:"100%"},rootOverlay:{position:"absolute",top:0,left:0,right:0,bottom:0}});l.ScreenWrapper=p,l.renderLoadingNode=_}),98);
__d("WebBloksModalWrapper",["WebBloksFocusScopeQueries","WebBloksScreenHost","WebBloksScreenWrapper","WebBloksStyle","react","useWebBloksAccessibilityModule"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useState;function m(e){var t=e.externalVariables,n=e.modal,a=r("useWebBloksAccessibilityModule")(),i=a.FocusRegion,l=d(n.value),u=l[0],m=l[1];c(function(){return n.stateChangeListener.on(m),function(){n.stateChangeListener.off(m)}},[n]);var _=n.objectSet,f=n.options,g=f.initialTreeResources,h=f.loadingScreen,y=f.ownerContext,C=u.state==="ready"?s.jsx(r("WebBloksScreenHost"),{screen:n,externalVariables:t},n.screenId):u.state==="loading"&&h?o("WebBloksScreenWrapper").renderLoadingNode(_,h,g,y):null;return n.options.outerScreenComponent?C=n.options.outerScreenComponent(C):C=s.jsx("div",{className:p.modalContainer,children:C}),s.jsx(i,{autoFocusQuery:o("WebBloksFocusScopeQueries").dialogScopeQuery,autoRestoreFocus:!0,containFocusQuery:o("WebBloksFocusScopeQueries").tabbableScopeQuery,children:s.jsx("div",{"aria-modal":!0,role:"dialog",children:C})})}m.displayName=m.name+" [from "+i.id+"]";var p=o("WebBloksStyle").createStyles({modalContainer:{position:"absolute",top:0,left:0,right:0,bottom:0}});l.default=m}),98);
__d("WebBloksCacheUtils",["WebBloksInt64","WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=1e3;function s(t,n){var o,a=Date.now(),i=(o=r("WebBloksInt64")).fromString(n).multiply(o.fromNumber(e)),l=o.fromString(t.responseTimestampMs).add(i);return l.greaterThan(o.fromNumber(a))}function u(e,t){var n={};for(var r in t)t[r]!==void 0&&(n[r]=t[r]);return e+":"+c(n)}function c(e,t){t===void 0&&(t=!1);var n=Array.isArray(e),r=o("WebBloksUtils").isObject(e);if(n||r){var a=Object.keys(e);if(a.length){for(var i=a.sort(),l=[],s=0;s<i.length;s++){var u=i[s],d=e[u];if(!(t&&d==null&&r)){var m=void 0;o("WebBloksUtils").isObject(d)||Array.isArray(d)?m=c(d,t):m=JSON.stringify(d),l.push(u+":"+m)}}return n?"["+l.join(",")+"]":"{"+l.join(",")+"}"}}return JSON.stringify(e)}l.isResponseFresh=s,l.generateCacheKey=u}),98);
__d("WebBloksComponentQueryFetcher",["WebBloksCacheUtils","WebBloksErrors","WebBloksPayloadParser","WebBloksUtils"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e,t,n){this.$1=new Set,this.$2=e,this.$3=t,this.$4=n}var t=e.prototype;return t.runQuery=function(t,n,r){var e=this.$3.get(t);if(e!=null&&o("WebBloksCacheUtils").isResponseFresh(e,n.cacheTtlSeconds)){var a={result:e.response,success:!0};r(a)}else this.$5(t,n,r)},t.$5=function(t,n,r){var e=this;if(!this.$1.has(t)){this.$1.add(t);var a=o("WebBloksUtils").nullthrows(this.$2);a.fetchComponentQuery(n.appId,n.params).then(function(a){var i=new Map;for(var l of a.components){var s=o("WebBloksPayloadParser").parseTree(l.payload,e.$4);i.set(l.id,s)}var u={components:i},c={result:u,success:!0};e.$3.set(t,{response:u,responseTimestampMs:Date.now().toString(),queryPurpose:n.queryPurpose}),e.$1.delete(t),r(c)}).catch(function(r){throw e.$1.delete(t),new(o("WebBloksErrors")).WebBloksError("Failed to fetch async component for appId: "+n.appId,r)})}},e})();l.default=e}),98);
__d("WebBloksComponentQueryStore",["WebBloksCacheUtils","WebBloksComponentQueryFetcher","WebBloksFunctionTableManager","WebBloksPayloadParser"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){this.$2=[],this.$4=t,this.$1=new Map,this.$3=new(r("WebBloksComponentQueryFetcher"))(e,this.$1,t)}var t=e.prototype;return t.getCachedComponentsOrSubscribeToQuery=function(t,n,r,a){var e=o("WebBloksCacheUtils").generateCacheKey(t,n),i=this.$1.get(e);if(i!=null&&o("WebBloksCacheUtils").isResponseFresh(i,r)){var l={result:i.response,success:!0};return{value:l,cancelToken:null}}else{var s=this.$5(a,e);return{value:null,cancelToken:s.token}}},t.fetch=function(t,n,r,a){var e=this,i=o("WebBloksCacheUtils").generateCacheKey(t,n),l=o("WebBloksFunctionTableManager").WebBloksFunctionTableManager.getKnownFt(t),s=babelHelpers.extends({},n);l!=null&&(s.__knownFt=l);var u={appId:t,params:s,cacheTtlSeconds:r,queryPurpose:a};this.$3.runQuery(i,u,function(t){e.$6(i,t)})},t.invalidate=function(t,n){var e=o("WebBloksCacheUtils").generateCacheKey(t,n);this.$1.delete(e)},t.clear=function(){this.$1.clear()},t.writeInitialPayload=function(t,n,r){var e=o("WebBloksCacheUtils").generateCacheKey(t,n),a=new Map;for(var i of r.components){var l=o("WebBloksPayloadParser").parseTree(i.payload,this.$4);a.set(i.id,l)}var s={components:a};this.$1.set(e,{response:s,responseTimestampMs:Date.now().toString(),queryPurpose:"PREFETCH"})},t.$5=function(t,n){this.$2=this.$2.filter(function(e){return!e.token.canceled});var e=new u(t,n);return this.$2.push(e),e},t.$6=function(t,n){var e=[],r=[];for(var o of this.$2)o.token.canceled||(o.cacheKey===t?e.push(o.callback):r.push(o));this.$2=r;for(var a of e)a(t,n)},e})(),s=(function(){function e(){this.canceled=!1}var t=e.prototype;return t.run=function(){this.canceled=!0},e})(),u=function(t,n){this.callback=t,this.cacheKey=n,this.token=new s};l.default=e}),98);
__d("WebBloksGlobalState",["WebBloksDataModule","WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t,n){if(e==null)return null;var r=new Map(e);return r.set(t,n),r}var s=(function(){function e(e){this.variableIds=new Map,this.observer=e}var t=e.prototype;return t.add=function(t,n){var e,r=(e=this.variableIds.get(t))!=null?e:new Set;r.add(n),this.variableIds.set(t,r)},e})(),u=(function(){function e(){this.store=new Map,this.subscribers=[]}var t=e.prototype;return t.peek=function(t){return this.store.get(t)},t.publishInitial=function(t,n){this.peek(t)==null&&this.publish(t,n)},t.subscribe=function(t,n,r){var e=this.subscriberForObserver(r);e&&e.add(t,n)},t.publish=function(t,n){if(n==null){if(!this.store.has(t))return}else if(n===this.store.get(t))return;this.store.set(t,n);for(var e of this.subscribers){var r=e.observer,o=e.variableIds.get(t);if(o)for(var a of o)r.enqueueVariableUpdateOperation(a,n)}},t.subscriberForObserver=function(t){if(t==null)return null;for(var e of this.subscribers)if(e.observer===t)return e;var n=new s(t);return this.subscribers.push(n),n},e})(),c=(function(){function t(e){this.store=e}var n=t.prototype;return n.setup=function(n,r,a,i){var t,l,s=r.data.key;if(s==null)throw new(o("WebBloksErrors")).WebBloksError("Key not found in global state data manifest entry");var u=o("WebBloksDataModule").getDataEntryInitialValue(r,a),c=(t=(l=r.data)==null?void 0:l.mode)!=null?t:"d",d=this.store,m,p,_=i;if(c==="p")m=u,p="publish",_=e(i,s,u);else{var f=i!=null&&i.has(s)?i.get(s):d.peek(s);f==null?(m=u,p="initial",_=e(i,s,u)):(m=f,p="subscribe")}return{initialData:{initialValue:m,commitToStore:function(t,n){return p==="publish"?d.publish(s,u):p==="initial"&&d.publishInitial(s,u),d.subscribe(s,t,n),null}},snapshot:_}},n.publish=function(t,n){this.store.publish(t,n)},t})(),d=new u;l.WebBloksGlobalStateStore=u,l.WebBloksGlobalStateDataModule=c,l.GLOBAL_STATE_STORE=d}),98);
__d("WebBloksMountEffectsQueue",[],(function(t,n,r,o,a,i){var e=(function(){function e(){this.queue=[],this.mountEffects=new Map,this.unmountEffects=new Map}var t=e.prototype;return t.isEmpty=function(){return this.queue.length===0},t.enqueue=function(t,n){this.queue.push(t),this.mountEffects.set(t,n)},t.dispose=function(t){var e,n=(e=this.unmountEffects.get(t))!=null?e:[];for(var r of n)r();this.unmountEffects.delete(t)},t.runEffects=function(){for(var e=this.queue.length-1;e>=0;e--){var t,n=this.queue[e],r=(t=this.mountEffects.get(n))!=null?t:[],o=[];for(var a of r){var i=a();i!=null&&o.push(i)}this.unmountEffects.set(n,o)}for(var l of this.queue)this.mountEffects.delete(l);this.queue=[]},e})();i.default=e}),66);
__d("WebBloksNavigationManagerV2",["WebBloksErrors","WebBloksSSRUtils","WebBloksScreen","WebBloksUtils"],(function(t,n,r,o,a,i,l){"use strict";var e=Date.now().toString(36)+Math.random().toString(36).substring(2),s=(function(){function t(e,t,n,r){var a=this;if(this.screenChangeListener=new(o("WebBloksUtils")).EventEmitter,this.screenStacks=[],this.modals=[],this.screensCache=new Map,this.navigationDirection="forward",this.pendingCloses=[],this.pendingOpen=null,this.$1=null,this.$2=!1,this.$3=null,this.$4=null,this.currentScreenPointer={stackIndex:-1,screenIndex:-1,isModal:!1,modalIndex:-1},this.$5=function(e){var t=e.state;a.$6(t)},this.$11=function(){document.visibilityState==="hidden"&&a.pendingCloses.length>0&&a.pendingCloses.map(function(){var e;return(e=a.pendingCloses.pop())==null?void 0:e()})},this.objectSet=e,this.disableHistoryStack=o("WebBloksSSRUtils").canUseDOM?t:!0,this.enableCometRouter=n,r){var i;this.$2=!0,o("WebBloksSSRUtils").canUseDOM&&(i=window.history)!=null&&i.scrollRestoration&&(window.history.scrollRestoration="manual")}}var n=t.prototype;return n.setScreenController=function(t){var e=t==null?void 0:t.controllerName;if(e!=null){var n;(n=this.objectSet.environment.controllerNavigationLogger)==null||n.setCurrentController(e)}},n.$6=function(n){if(n.isWebBloks){this.navigationDirection=this.$7(babelHelpers.extends({},n.screenPointer));var t=this.getCurrentModalOrScreen();this.$8(t)||this.$9(t),t==null||t.onExit(this.navigationDirection),t==null||t.dismiss();var r=this.screensCache.get(n.screenId);if((n.sessionId!==e||r==null)&&window.location.reload(),this.setScreenController(r),this.currentScreenPointer=babelHelpers.extends({},n.screenPointer),this.notifyChanged(),this.$8(this.getCurrentScreen())||this.$10(),this.pendingCloses.length>0){var a=this.pendingCloses.pop();a&&a()}if(this.pendingOpen&&this.pendingCloses.length===0){var i=this.pendingOpen;this.pendingOpen=null,i()}n.pageTitle!=null&&o("WebBloksSSRUtils").canUseDOM&&(document.title=n.pageTitle)}},n.open=function(t,n,r){var e=this;r===void 0&&(r=!1),this.$12("open",function(){e.$13(t,n,r)})},n.$13=function(t,n,r){r===void 0&&(r=!1),this.$2&&this.$9(this.$4);var e=this.getCurrentModalOrScreen();if(e==null||e.onExit("forward"),this.navigationDirection="forward",t.options.isModal===!0){var o=this.currentScreenPointer,a=o.modalIndex,i=o.stackIndex,l=this.$14(t,i);this.modals.splice(a+1),this.modals.push(l),this.$15({isModal:!0,modalIndex:this.modals.length-1}),this.$16(t,r),this.notifyChanged();return}var s=this.getModalCount();if(s>0){e==null||e.clearDismissCallback(),this.close("close"),this.open(t,n,r);return}if(n===!0){var u=this.$17();u!=null?this.$18(t,u):this.$19(t)}else this.$19(t);this.$16(t,r),this.notifyChanged(),this.$8(t)||this.$20()},n.close=function(t,n,r){var e=this;this.$12("close",function(){e.$21(t,n,r)})},n.$21=function(t,n,r){var e=this.currentScreenPointer.isModal,a=this.$17();if(a==null)throw new(o("WebBloksErrors")).WebBloksError("Tried closing a screen when there are no modals or stacks");this.navigationDirection="back";var i=0;switch(t){case"close":if(e)this.$22("modal"),i=this.getModalCount(),this.$23();else{this.$22("screen");var l=this.currentScreenPointer.screenIndex;i=l+1,this.$24()}break;case"pop":{e?(this.$22("modal"),this.$15({modalIndex:this.currentScreenPointer.modalIndex-1})):(this.$22("screen"),this.$15({screenIndex:this.currentScreenPointer.screenIndex-1})),i=1;break}case"pop_to_screen":{this.$22("screen");for(var s=this.currentScreenPointer.screenIndex,u=!1;!u&&s>=0;){var c=this.screensCache.get(a[s]),d=c==null?void 0:c.screenId;d!==n?(s--,i++):(u=!0,r===!0&&(s--,i++))}if(!u)throw new(o("WebBloksErrors")).WebBloksError("Tried popping to a screenId that does not exist in the current stack");this.$15({screenIndex:s});break}case"close_all":{e?(this.$22("modal"),i=this.getModalCount()+this.getScreenCount()):(this.$22("screen"),i=this.getScreenCount()),this.$25();break}}!e&&(t==="pop"||t==="pop_to_screen")&&this.currentScreenPointer.screenIndex===-1&&this.$24(),e&&t==="pop"&&this.currentScreenPointer.modalIndex===-1&&this.$23(),this.$26(i),this.notifyChanged()},n.getVisibleScreens=function(){var e=[],t=!1,n=this.getCurrentScreen();n!=null&&(e.push(n),n.getIsOverlay()!==!0&&(t=!0));for(var r=this.currentScreenPointer.stackIndex-1;r>-1&&!t;){var o=this.screenStacks[r],a=o[o.length-1],i=this.screensCache.get(a);i!=null&&(e.push(i),i.getIsOverlay()!==!0&&(t=!0)),r--}return{screens:e.reverse(),modal:this.getCurrentModal()}},n.notifyChanged=function(){if(this.$2){var e=this.getCurrentScreen();e!=null&&e.getIsOverlay()!==!0&&(this.$4=e)}this.screenChangeListener.emit(this.getVisibleScreens())},n.destroy=function(){window.removeEventListener("popstate",this.$5),window.removeEventListener("visibilitychange",this.$11),this.$25(),this.enableCometRouter||(this.screensCache.forEach(function(e){return e.destroy()}),this.screensCache.clear())},n.refresh=function(){var e,t=(e=this.screenStacks[this.currentScreenPointer.stackIndex])==null?void 0:e[this.currentScreenPointer.screenIndex],n=this.screensCache.get(t);if(n!=null){var r=n.appId,a=n.options,i=n.params,l=n.uri,s=l!=null?o("WebBloksScreen").WebBloksScreen.fromURI(n.objectSet,l,r,i,a):r!=null?o("WebBloksScreen").WebBloksScreen.fromAppId(n.objectSet,r,i,a):null;if(s){this.push(s,!0);return}}},n.replaceState=function(t){if(!this.disableHistoryStack){var e=history.state;e.uri!==t&&window.history.replaceState(e,null,t)}},n.replacePageTitle=function(t){if(!this.disableHistoryStack){var e=history.state;e.pageTitle!==t&&o("WebBloksSSRUtils").canUseDOM&&(document.title=t)}},n.attachNavigationListeners=function(){this.disableHistoryStack||this.enableCometRouter||(window.addEventListener("popstate",this.$5),window.addEventListener("visibilitychange",this.$11))},n.attachAndTriggerPopStateHandler=function(){this.disableHistoryStack||(window.addEventListener("popstate",this.$5),window.addEventListener("visibilitychange",this.$11),this.$6(window.history.state))},n.push=function(t,n){this.open(t,!0,n)},n.pop=function(){this.close("pop")},n.popAllModals=function(){this.getModalCount()>0&&this.close("close")},n.getModalCount=function(){return this.currentScreenPointer.isModal?this.currentScreenPointer.modalIndex+1:0},n.getScreenCount=function(t){t===void 0&&(t=!1);var e=this.currentScreenPointer,n=e.screenIndex,r=e.stackIndex;if(r<0)return 0;var o=n+1;if(t)return o;var a=this.screenStacks.slice(0,r).reduce(function(e,t){return e+t.length},0);return o+a},n.getCurrentScreen=function(){var e=this.currentScreenPointer,t=e.screenIndex,n=e.stackIndex;if(n<0||t<0)return null;var r=this.screenStacks[n];if(r==null)return null;var o=r[t];return this.screensCache.get(o)},n.getCurrentModal=function(){var e=this.currentScreenPointer,t=e.isModal,n=e.modalIndex;if(!t||n<0)return null;var r=this.modals[n];return this.screensCache.get(r)},n.getCurrentModalOrScreen=function(){var e;return(e=this.getCurrentModal())!=null?e:this.getCurrentScreen()},n.getNavigationDirection=function(){return this.navigationDirection},n.$17=function(){if(this.currentScreenPointer.isModal===!0)return this.modals;var e=this.currentScreenPointer.stackIndex;return e!=null?this.screenStacks[e]:null},n.$18=function(t,n){var e=this.currentScreenPointer,r=e.screenIndex,o=e.stackIndex,a=n.splice(r+1);this.$27(a);var i=this.screenStacks.splice(o+1);for(var l of i)this.$27(l);var s=this.modals.splice(0);this.$27(s),n.push(this.$14(t,o)),this.$15({screenIndex:r+1})},n.$19=function(t){var e=this.currentScreenPointer,n=e.screenIndex,r=e.stackIndex,o=this.screenStacks[r];if(o!=null){var a=o.splice(n+1);this.$27(a)}var i=this.screenStacks.splice(r+1);for(var l of i)this.$27(l);var s=this.modals.splice(0);this.$27(s),this.screenStacks.push([this.$14(t,r+1)]),this.$15({stackIndex:r+1,screenIndex:0,isModal:!1})},n.$27=function(t){for(var e of t){var n=this.screensCache.get(e);n!=null&&n.destroy(),this.screensCache.delete(e)}},n.$22=function(t){if(this.disableHistoryStack){var e;if(t==="screen"?e=this.getCurrentScreen():e=this.getCurrentModal(),e==null)throw new(o("WebBloksErrors")).WebBloksError("Unexpected null "+t+" while executing onExit callback");e.onExit("back"),e.dismiss()}},n.$7=function(t){var e=this.currentScreenPointer,n=babelHelpers.extends({},e,t);return e.isModal&&!n.isModal?"back":!e.isModal&&n.isModal?"forward":e.isModal&&n.isModal?n.modalIndex>e.modalIndex?"forward":"back":n.stackIndex!==e.stackIndex?n.stackIndex>e.stackIndex?"forward":"back":n.screenIndex>e.screenIndex?"forward":"back"},n.$15=function(t){var e=this.$7(t);e==="back"&&!this.disableHistoryStack||(this.currentScreenPointer=babelHelpers.extends({},this.currentScreenPointer,t))},n.$23=function(){this.$15({isModal:!1,modalIndex:-1})},n.$24=function(){var e=this.currentScreenPointer.stackIndex;e===0?this.$15({stackIndex:-1,screenIndex:-1,isModal:!1,modalIndex:-1}):this.$15({stackIndex:e-1,screenIndex:this.screenStacks[e-1].length-1})},n.$25=function(){this.$15({stackIndex:-1,screenIndex:-1,isModal:!1,modalIndex:-1})},n.$8=function(t){var e;return!this.$2||t==null?!0:((e=t.options)==null?void 0:e.isModal)===!0||t.getIsOverlay()===!0},n.$9=function(t){var e,n;!o("WebBloksSSRUtils").canUseDOM||!this.$2||t!=null&&(t.savedScrollY=(e=(n=this.$1)==null?void 0:n.scrollTop)!=null?e:window.scrollY)},n.setScrollContainer=function(t){this.$1=t},n.$28=function(){this.$3!=null&&(window.cancelAnimationFrame(this.$3),this.$3=null)},n.$10=function(){var e=this;!this.$2||!o("WebBloksSSRUtils").canUseDOM||(this.$28(),this.$3=window.requestAnimationFrame(function(){e.$3=null,e.$29()}))},n.$20=function(){var e=this;if(!(!this.$2||!o("WebBloksSSRUtils").canUseDOM)){var t=this.getCurrentScreen();t!=null&&(t.savedScrollY=0),this.$28(),this.$3=window.requestAnimationFrame(function(){e.$3=null,e.$30()})}},n.$29=function(){var e;if(!(!o("WebBloksSSRUtils").canUseDOM||this.$8(this.getCurrentScreen()))){var t=this.getCurrentScreen();this.$31((e=t==null?void 0:t.savedScrollY)!=null?e:0)}},n.$30=function(){!o("WebBloksSSRUtils").canUseDOM||this.$8(this.getCurrentScreen())||this.$31(0)},n.$31=function(t){var e=this.$1;e!=null?e.scrollTop=t:window.scrollTo(0,Math.max(t,1))},n.$16=function(n,r){var t;if(!this.disableHistoryStack){var a=n.uri!=null?n.uri:"#",i=null;o("WebBloksSSRUtils").canUseDOM&&(i=document.title);var l={uri:a,pageTitle:i,screenId:this.$14(n,this.currentScreenPointer.stackIndex),appId:n.appId,isWebBloks:!0,sessionId:e,screenPointer:babelHelpers.extends({},this.currentScreenPointer),key:(t=window.history.state)==null?void 0:t.key};r?window.history.replaceState(l,null,a):window.history.pushState(l,null,a)}},n.$26=function(t){this.disableHistoryStack||window.history.go(-t)},n.$14=function(t,n){var e=t.options.isModal===!0?"modal":"stack_"+n,r=e+":"+t.screenId;return t.screenIdWithStackIndex=r,this.screensCache.has(r)||this.screensCache.set(r,t),r},n.$12=function(t,n){if(this.disableHistoryStack){n();return}if(t==="open"){this.pendingCloses.length?this.pendingOpen=n:n();return}if(t==="close"){this.pendingOpen=null,this.pendingCloses.length>0?this.pendingCloses.push(n):(this.pendingCloses.push(null),n());return}},t})();l.NavigationManagerV2=s}),98);
__d("WebBloksNode",["react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.memo,c=s.useDebugValue;function d(e,t){var n=function(n){return t(n)};return n.displayName=e,u(n)}function m(e){c(e,function(){return e.toJSON()})}function p(e){var t;c((t=e.sourceMapNode)==null||(t=t.getBloksStackFrame())==null?void 0:t.offset,function(e){return"To view the server side location of this component, pase the below `component_uri` into the top line of this Bento notebook: https://fburl.com/anp/vcve8kbn.\n\n"+e})}l.createBridgedComponent=d}),98);
__d("WebBloksToast",["WebBloksAbstractButton","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useCallback,c=o("WebBloksStyle").createStyles({root:{backgroundColor:"#262626",flexDirection:"row",minHeight:"44px",padding:"0 16px!important",width:"100%"},messageContainer:{flexGrow:1,flexShrink:1,justifyContent:"center",minWidth:"200px"},message:{color:"#fff",fontSize:"14px",lineHeight:"18px",maxHeight:"72px",overflow:"hidden",padding:"12px 0!important"}});function d(e){var t=e.actionText,n=e.className,a=e.onActionClick,i=e.text,l=u(function(e){e.preventDefault(),a&&a(e)},[a]);return s.jsxs("div",{className:o("WebBloksStyle").classNames(n,c.root),children:[s.jsx("div",{className:c.messageContainer,children:s.jsx("p",{className:c.message,children:i})}),t!=null&&s.jsx(r("WebBloksAbstractButton"),{title:t,onClick:l})]})}d.displayName=d.name+" [from "+i.id+"]",l.default=d}),98);
__d("WebBloksToastManager",["WebBloksToast","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u={autoDismissDurationMs:3e3,showAnimationDurationMs:200,dismissAnimationDurationMs:200,showAnimationInterpolator:"ease-out",dismissAnimationInterpolator:"ease-out"},c=(function(){function e(){this.$1=null,this.$2=[],this.$3=!1,this.$4=[]}var t=e.prototype;return t.getDefaultCurrentToast=function(){return null},t.getEmptyState=function(){return{currentToast:null,pendingToasts:[],isToastHiding:!1}},t.getCurrentToast=function(){return this.$1},t.getPendingToasts=function(){return this.$2},t.enqueueBloksModelToast=function(t,n,r){var e,o=this.$5(r);this.$2.push({id:(e=n.getId())!=null?e:n.clientId+"",type:"bloksModel",context:t,model:n,options:o,timeoutID:null}),this.$6()},t.enqueueBloksParseResultToast=function(t,n,r){var e,o=this.$5(r),a=n.unboundModel;this.$2.push({id:(e=a.getId())!=null?e:a.clientId+"",type:"bloksParseResult",context:t,parseResult:n,options:o,timeoutID:null}),this.$6()},t.enqueueSimpleToast=function(t){this.$2.push({id:o("WebBloksUtils").getNextGlobalBloksClientId()+"",type:"simple",component:s.jsx(r("WebBloksToast"),{text:t}),options:u,timeoutID:null}),this.$6()},t.enqueueMiniToast=function(t){this.$2.push({id:o("WebBloksUtils").getNextGlobalBloksClientId()+"",type:"mini",component:t,options:u,timeoutID:null}),this.$6()},t.dismissToastWithID=function(t,n){var e=String(t);this.$1!=null&&this.$1.id===e?this.$7():this.$2=this.$2.filter(function(t){return t.id!==e})},t.$7=function(){var e=this,t=this.$1;if(t!=null){if(window.clearTimeout(t.timeoutID),this.$3=!0,this.$8(),t.type==="bloksModel"){var n=t.options.onDismiss;n!=null&&t.context.executeCatch(n,[])}t.timeoutID=window.setTimeout(function(){e.$3=!1,e.$1=null,e.$8(),e.$6()},t.options.dismissAnimationDurationMs),this.$1=t}},t.$6=function(){var e=this;if(this.$1===null&&this.$2.length!==0){var t=this.$2.shift();if(t!=null&&t.options.autoDismissDurationMs!==0){var n=window.setTimeout(function(){return e.$7()},t.options.autoDismissDurationMs+t.options.showAnimationDurationMs);if(t.timeoutID=n,t.type==="bloksModel"){var r=t.options.onShow;r!=null&&t.context.executeCatch(r,[])}}this.$1=t,this.$8()}},t.$5=function(t){var e,n,r,o=t.getValues(),a=this.parseToastInterpolator(o.show_animation_interpolator,u.showAnimationInterpolator),i=this.parseToastInterpolator(o.dismiss_animation_interpolator,u.dismissAnimationInterpolator);return{autoDismissDurationMs:(e=o.auto_dismiss_duration_ms)!=null?e:u.autoDismissDurationMs,showAnimationDurationMs:(n=o.show_animation_duration_ms)!=null?n:u.showAnimationDurationMs,dismissAnimationDurationMs:(r=o.dismiss_animation_duration_ms)!=null?r:u.dismissAnimationDurationMs,showAnimationInterpolator:a,dismissAnimationInterpolator:i,onShow:o.on_show,onDismiss:o.on_dismiss}},t.parseToastInterpolator=function(t,n){if(t==null)return n;var e=t.getValues(),r=e.x_a,o=e.x_b,a=e.y_a,i=e.y_b;return"cubic-bezier("+r+","+a+","+o+","+i+")"},t.addListener=function(t){var e=this;return this.$4.push(t),{remove:o("WebBloksUtils").once(function(){o("WebBloksUtils").removeFromArray(e.$4,t)})}},t.$8=function(){var e=this;this.$4.forEach(function(t){return window.setTimeout(function(){t({currentToast:e.$1,pendingToasts:e.$2,isToastHiding:e.$3})},0)})},e})();l.default=c}),98);
__d("WebBloksObjectSet",["WebBloksComponentQueryStore","WebBloksContext","WebBloksErrors","WebBloksGlobalState","WebBloksInterpreterEnvironment","WebBloksIsUnitTest","WebBloksModel","WebBloksMountEffectsQueue","WebBloksNavigationManagerV2","WebBloksNode","WebBloksParseResult","WebBloksSSRUtils","WebBloksScreen","WebBloksToastManager","WebBloksTreeManager","WebBloksTreeResources"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){var n,a,i;this.$1=new Map,this.environment=e,this.globalStateDataModule=new(o("WebBloksGlobalState")).WebBloksGlobalStateDataModule((n=e.globalStateStore)!=null?n:o("WebBloksGlobalState").GLOBAL_STATE_STORE),this.navigationManager=new(o("WebBloksNavigationManagerV2")).NavigationManagerV2(this,e.disableHistoryStack,e.enableCometRouter,e.enableScrollRestoration),this.toastManager=(a=t==null?void 0:t.toastManager)!=null?a:new(r("WebBloksToastManager")),this.componentQueryStore=(i=t==null?void 0:t.componentQueryStore)!=null?i:new(r("WebBloksComponentQueryStore"))(e.appLoader,e.traversalKeys),this.mountEffectsQueue=new(r("WebBloksMountEffectsQueue"))}var t=e.prototype;return t.createInitialScreenWithParseResult=function(t,n){this.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(this,t,void 0,n,window.location.href),!0)},t.createInitialScreenWithAppResponse=function(t,n){this.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksAppResponse(this,t,void 0,n,window.location.href),!0)},t.createInitialScreenWithAppId=function(t,n){this.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromAppId(this,t,n),!0)},t.createInitialScreenWithScreenQuery=function(t){var e=t.screen_query_payload,n=e.app_id,a=e.component_query_payload,i=e.params,l=t.screen_query_payload.ssr_payload;if(l!=null){this.$2(l,i);return}a!=null&&this.componentQueryStore.writeInitialPayload(n,i,a);var s=t.screen_query_payload.open_screen_script;if(s==null)throw new(o("WebBloksErrors")).WebBloksError("WebBloksScreenQuery response missing both ssr_payload and open_screen_script");var u=new(r("WebBloksParseResult"))(new(o("WebBloksModel")).WebBloksModel("-2",{}),new(o("WebBloksTreeResources")).WebBloksTreeResources),c=new(r("WebBloksTreeManager"))(u),d=new(o("WebBloksContext")).WebBloksContext(c,this),m=new(r("WebBloksInterpreterEnvironment"))(d);m.executeCatch(s,[])},t.$2=function(t,n){var e,r=t.component_query_responses;if(r!=null)for(var a=0;a<r.length;a++){var i=r[a];if(i.payload!==""){var l=JSON.parse(i.payload);this.componentQueryStore.writeInitialPayload(i.app_id,i.consumed_params,l)}else i.component_id!=null&&this.componentQueryStore.writeInitialPayload(i.app_id,i.consumed_params,{components:[{id:i.component_id,payload:t.screen_content}]})}var s=babelHelpers.extends({},(e=t.root_consumed_params)!=null?e:n);this.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromScreenQuerySSRPayload(this,t.screen_content,t.container_config,s,window.location.href,t.client_params_expressions),!0);var u=t.stacked_screens;if(u!=null)for(var c=0;c<u.length;c++){var d,m=u[c],p=o("WebBloksScreen").WebBloksScreen.fromScreenQuerySSRPayload(this,m.content,m.container_config,s);((d=p.container)==null||(d=d.config)==null?void 0:d.getIsOverlay())===!0&&(p.options=babelHelpers.extends({},p.options,{isModal:!0})),this.navigationManager.push(p)}},t.getComponentForName=function(t){var e=this.getNullableComponentForName(t);if(e==null)throw new(o("WebBloksErrors")).WebBloksUnknownComponentError(t);return e},t.getNullableComponentForName=function(t){var e=this.$1.get(t);if(e)return e;var n=this.environment.components.get(t);if(n==null)return null;var r=o("WebBloksNode").createBridgedComponent(t,n);return this.$1.set(t,r),r},t.getContainerConfigModuleForName=function(t){var e=this.environment.containerConfigs.get(t);if(e==null)throw new(o("WebBloksErrors")).WebBloksUnknownContainerConfigError(t);return e},t.getAsset=function(t){var e,n=(e=this.environment.staticAssets)==null?void 0:e[t];return n==null&&this.environment.logger.mustfix("StaticAsset is not configured '%s'",t),n},e})();l.default=e}),98);
__d("WebBloksToastPresenter",["WebBloksFocusScopeQueries","WebBloksScreen","WebBloksScreenHost","WebBloksStyle","WebBloksTreeResources","react","useWebBloksAccessibilityModule"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useState,m=o("WebBloksStyle").createStyles({root:{display:"flex",justifyContent:"center"},defaultRoot:{bottom:0,left:0,position:"fixed !important",right:0,width:"100%",zIndex:100},defaultInnerContainer:{transform:"translateY(0)"},defaultInnerContainerHidden:{transform:"translateY(100%)"},miniToastRoot:{alignItems:"center !important",boxSizing:"border-box",bottom:"50%",display:"flex",flexDirection:"column",left:0,overflow:"hidden",position:"fixed !important",right:0,zIndex:100},miniToastInnerContainer:{opacity:1,transitionProperty:"opacity!important"},miniToastInnerContainerHidden:{opacity:0,transitionProperty:"opacity!important"}});function p(e){var t=e.objectSet,n=t.toastManager,a=d(function(){return n.getEmptyState()}),i=a[0],l=a[1];c(function(){var e=n.addListener(l);return function(){e.remove()}},[n]);var u=r("useWebBloksAccessibilityModule")(),p=u.FocusRegion,_=i.currentToast,f=i.isToastHiding,g=o("WebBloksStyle").classNames(m.defaultInnerContainer,(_==null||f)&&m.defaultInnerContainerHidden),h=o("WebBloksStyle").classNames(m.miniToastInnerContainer,(_==null||f)&&m.miniToastInnerContainerHidden),y=null,C=null,b=0,v="ease-out";if(_!=null){switch(_.type){case"simple":{y=_.component;break}case"bloksModel":{var S=o("WebBloksScreen").WebBloksScreen.fromBloksModel(t,_.model,o("WebBloksTreeResources").WebBloksTreeResources.empty(),{isModal:!1,isEmbedded:!0});y=s.jsx(r("WebBloksScreenHost"),{screen:S},S.screenId);break}case"bloksParseResult":{var R=o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(t,_.parseResult,{isModal:!1,isEmbedded:!0});y=s.jsx(r("WebBloksScreenHost"),{screen:R},R.screenId);break}case"mini":{C=_.component;break}}f?(b=_.options.showAnimationDurationMs/1e3,v=_.options.showAnimationInterpolator):(b=_.options.dismissAnimationDurationMs/1e3,v=_.options.dismissAnimationInterpolator)}return y!=null&&(y=s.jsx(p,{autoFocusQuery:o("WebBloksFocusScopeQueries").tabbableScopeQuery,autoRestoreFocus:!0,containFocusQuery:o("WebBloksFocusScopeQueries").tabbableScopeQuery,children:y})),C!=null&&(C=s.jsx(p,{autoFocusQuery:o("WebBloksFocusScopeQueries").tabbableScopeQuery,autoRestoreFocus:!0,containFocusQuery:o("WebBloksFocusScopeQueries").tabbableScopeQuery,children:C})),s.jsxs("div",{role:f?void 0:"alert","aria-atomic":"true",name:"WebBloksToastPresenter","data-testid":void 0,className:m.root,children:[s.jsx("div",{className:m.defaultRoot,children:s.jsx("div",{className:g,style:{transition:"transform "+b+"s "+v},children:y})}),s.jsx("div",{className:m.miniToastRoot,children:s.jsx("div",{className:h,style:{transition:"opacity "+b+"s "+v},children:C})})]})}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98);
__d("useFoldingAddressBar",["WebBloksConstants","WebBloksEnvironmentContext","WebBloksModel","react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useMemo,u="bk.data.contrib.screen.wrapper.Web";function c(e){for(var t of e)if(o("WebBloksModel").isWebBloksModel(t)&&t.styleId===u){var n=t.get("enable_folding_address_bar");return n===!0||n===1}return!1}function d(e){var t,n;if(e.length===0)return null;var r=e[0];if(r.value.state!=="ready")return null;var a=(t=r.options.initialContainer)==null?void 0:t.config,i=a==null?void 0:a.getWrapperContribs();if(i!=null)return i;var l=(n=r.treeManager)==null?void 0:n.unboundModel;if(l==null||l.styleId!==o("WebBloksConstants").BK_SCREEN_WRAPPER&&l.styleId!==o("WebBloksConstants").BK_SCREEN_WRAPPER_LEGACY)return null;var s=l.get("contribs");return s==null||!Array.isArray(s)?null:s}function m(e){var t=o("WebBloksEnvironmentContext").useWebBloksEnvironment(),n=s(function(){if(!t.allowFoldingAddressBar)return!1;var n=d(e);return n==null?!1:c(n)},[t.allowFoldingAddressBar,e]);return n}l.default=m}),98);
__d("useWebBloksRefreshListener",["WebDriverConfig","react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useEffect;function u(e){s(function(){o("WebDriverConfig").isJestE2ETestRun},[e])}l.default=u}),98);
__d("WebBloksApp",["WebBloksAppAccessibilityStyles","WebBloksEnvironmentContext","WebBloksErrorBoundary","WebBloksErrors","WebBloksModalWrapper","WebBloksObjectSet","WebBloksParseResult","WebBloksSSRUtils","WebBloksScreenWrapper","WebBloksStyle","WebBloksToastPresenter","WebBloksUtils","react","useFoldingAddressBar","useWebBloksAccessibilityModule","useWebBloksRefreshListener"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useMemo,m=u.useRef,p=u.useState;function _(e){var t,n=e._objectSetRef,a=e.appId,i=e.externalObjectSet,l=e.externalVariables,u=e.node,_=e.params,C=_===void 0?o("WebBloksUtils").EMPTY_OBJECT:_,b=o("WebBloksEnvironmentContext").useWebBloksEnvironment(),v=r("useWebBloksAccessibilityModule")(),S=v.FocusAppWrapper,R=p(function(){var e;return i!=null?e=i:(e=new(r("WebBloksObjectSet"))(b),f(e,a,u,C)),n&&(n.current=e),e}),L=R[0];c(function(){i!=null&&i.navigationManager.attachAndTriggerPopStateHandler()},[i]);var E=p(function(){return L.navigationManager.getVisibleScreens()}),k=E[0],I=k.modal,T=k.screens,D=E[1];c(function(){return L.navigationManager.attachNavigationListeners(),L.navigationManager.screenChangeListener.on(D),function(){L.navigationManager.screenChangeListener.off(D),L.navigationManager.destroy()}},[L]);var x=m(!0);c(function(){if(x.current)x.current=!1;else{if(i!=null)return;f(L,a,u,C)}},[L,a,u,C,i]),r("useWebBloksRefreshListener")(L);var $={};b.isRtl&&($={direction:"rtl",textAlign:"right"});var P=r("useFoldingAddressBar")(T),N=d(function(){return b.embedded===!0?g.bloksAppEmbedded:P?o("WebBloksStyle").classNames(g.bloksAppFoldingAddressBar,y.bloksAppFoldingAddressBarDVH):o("WebBloksStyle").classNames(g.bloksAppFullscreen,h.bloksAppFullscreenDVH)},[b.embedded,P]),M=d(function(){return T.map(function(e){var t;return s.jsx(o("WebBloksScreenWrapper").ScreenWrapper,{screen:e,externalVariables:l},(t=e.screenIdWithStackIndex)!=null?t:e.screenId)})},[T,l]),w=s.jsx(S,{children:s.jsxs("div",{style:babelHelpers.extends({fontFamily:o("WebBloksUtils").getWrapperFontFamily(b.fontFamilyMappings)},$,P?{WebkitOverflowScrolling:"touch"}:null),"data-testid":void 0,className:o("WebBloksStyle").classNames(o("WebBloksAppAccessibilityStyles").ACCESSIBILITY_STYLES.outlines,N),children:[M,I&&s.jsx(r("WebBloksModalWrapper"),{modal:I,externalVariables:l},(t=I.screenIdWithStackIndex)!=null?t:I.screenId),s.jsx(r("WebBloksToastPresenter"),{objectSet:L})]})});return L.environment.disableErrorBoundary!==!0&&(w=s.jsx(r("WebBloksErrorBoundary"),{logger:L.environment.logger,children:w})),w}_.displayName=_.name+" [from "+i.id+"]";function f(e,t,n,a){if(t==null&&n==null)throw new(o("WebBloksErrors")).WebBloksError("Both appId and node are null while creating initial screen");if(e.navigationManager.getScreenCount()+e.navigationManager.getModalCount()>0&&e.navigationManager.close("close_all"),n!=null)if(n instanceof r("WebBloksParseResult"))e.createInitialScreenWithParseResult(n,a);else if(n.screen_query_payload!=null)e.createInitialScreenWithScreenQuery(n);else return e.createInitialScreenWithAppResponse(n,a);else if(t!=null)return e.createInitialScreenWithAppId(t,a)}var g=o("WebBloksStyle").createStyles({bloksAppEmbedded:{height:"100%",width:"100%"},bloksAppFullscreen:{height:"100vh",width:"100%"},bloksAppFoldingAddressBar:{height:"auto !important",minHeight:"100vh !important",width:"100%",overflow:"visible !important",touchAction:"manipulation"}}),h=o("WebBloksStyle").createStylesIfSupported({key:"height",value:"100dvh",type:"regular"},{bloksAppFullscreenDVH:{height:"100dvh !important"}}),y=o("WebBloksStyle").createStylesIfSupported({key:"min-height",value:"100dvh",type:"regular"},{bloksAppFoldingAddressBarDVH:{minHeight:"100dvh !important"}}),C={width:"100%",height:"100%"};l.WebBloksApp=_,l.createInitialScreenForObjectSet=f,l.bloksRootStyles=C}),98);
__d("WebBloksEntryPointContainerContext",["WebBloksSSRUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.createContext({current:o("WebBloksSSRUtils").canUseDOM?document.body:null});function c(e){var t=e.children,n=e.value;return s.jsx(u.Provider,{value:n,children:t})}c.displayName=c.name+" [from "+i.id+"]",l.WebBloksEntryPointContainerContext=u,l.WebBloksEntryPointContainerContextProvider=c}),98);
__d("WebBloksMergeRefs",["WebBloksErrors","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useMemo;function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(function(){return c.apply(void 0,t)},[].concat(t))}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){if(t!=null){if(typeof t=="function"){t(e);return}if(typeof t=="object"){t.current=e;return}}})}}l.default=u}),98);
__d("WebBloksViewpointManager",["WebBloksViewpoint"],(function(t,n,r,o,a,i,l){var e="data-bloks-visibility-state",s=(function(){function t(){var e=this;this.$1=new Map,this.$2=null,this.$3=null,this.$4=!1,this.$5=new Set,this.$15=function(){for(var t of e.$5){if(!(t instanceof HTMLElement&&t instanceof Element))return;var n=e.$1.get(t);if(!n)return;var r=void 0;document.visibilityState==="visible"?r=e.$13(t):r=e.$12(t),e.$11(r,n)}}}var n=t.prototype;return n.track=function(t,n,r){r===void 0&&(r="default");var e=new Map([[r,n]]);this.$1.set(t,e),this.$2||this.$6();var o=this.$2;if(o!=null)for(var a of this.$1.keys())o.observe(a);this.$3||this.$7(),this.$4||this.$8()},n.untrackElement=function(t){var e;(e=this.$2)==null||e.unobserve(t),this.$1.delete(t),this.$1.size===0&&this.$9()},n.untrackAll=function(){var e=this.$1.keys();for(var t of e)this.untrackElement(t);this.$9()},n.$10=function(n){var t=[],r=[],o=[];for(var a of n){var i=a.attributeName,l=a.removedNodes,s=a.target,u=a.type;if(u==="childList")for(var c of l)c instanceof HTMLElement&&t.push(c);if(s instanceof HTMLElement){var d=s.getAttribute(e);u==="attributes"&&i===e&&(d==="exited"?r.push(s):d==="entered"&&o.push(s))}}for(var m of t)for(var p of this.$1){var _=p[0],f=p[1];if(m.contains(_)){var g;(g=this.$2)==null||g.unobserve(_),this.$1.delete(_),this.$11(this.$12(m),f)}}for(var h of r)for(var y of this.$1){var C=y[0],b=y[1];h.contains(C)&&this.$11(this.$12(h),b)}for(var v of o)for(var S of this.$1){var R=S[0],L=S[1];v.contains(R)&&this.$11(this.$13(v),L)}},n.$7=function(){var e=this,t=new MutationObserver(function(t){return e.$10(t)});document.body!==null&&t.observe(document.body,{attributes:!0,attributeFilter:["data-bloks-visibility-state"],childList:!0,subtree:!0}),this.$3=t},n.$6=function(){var e=this,t=new IntersectionObserver(function(t){return e.$14(t)},{threshold:[0,.2,.4,.6,.8,1]});this.$2=t},n.$14=function(t){for(var e of t){var n=e.intersectionRatio,r=e.isIntersecting,a=r===void 0?!1:r,i=e.target;if(!(i instanceof HTMLElement&&i instanceof Element))return;var l=this.$1.get(i);if(!l)return;var s=null;a===!0||n>0?this.$5.has(e.target)?s="intersecting":s="entered":s="exited";var u=new(o("WebBloksViewpoint")).ViewpointSnapshot({element:i,percentVisible:e.intersectionRatio,state:s});this.$11(u,l)}for(var c of t)c.isIntersecting===!0||c.intersectionRatio>0?this.$5.add(c.target):this.$5.delete(c.target)},n.$8=function(){document.addEventListener("visibilitychange",this.$15),this.$4=!0},n.$11=function(t,n){for(var e of n){var r=e[0],o=e[1];o(t)}},n.$13=function(t){return new(o("WebBloksViewpoint")).ViewpointSnapshot({element:t,percentVisible:1,state:"entered"})},n.$12=function(t){return new(o("WebBloksViewpoint")).ViewpointSnapshot({element:t,percentVisible:0,state:"exited"})},n.$9=function(){var e,t;(e=this.$2)==null||e.disconnect(),this.$2=null,(t=this.$3)==null||t.disconnect(),this.$3=null,document.removeEventListener("visibilitychange",this.$15),this.$4=!1},t})();l.default=s}),98);
__d("WebBloksViewpointProvider",["WebBloksViewpointContext","WebBloksViewpointManager","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useState;function m(e){var t=e.children,n=d(null),o=n[0],a=n[1];return c(function(){var e=document.body;return e!=null&&e instanceof HTMLElement&&o===null&&a(function(){return new(r("WebBloksViewpointManager"))}),function(){o==null||o.untrackAll()}},[o]),s.jsx(r("WebBloksViewpointContext").Provider,{value:o,children:t})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
__d("useWebBloksAnalytics",["react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.useEffect,c=s.useRef;function d(e,t){var n=c(null),r=e.analytics;return u(function(){var e=r==null?void 0:r.subscribe(t),n=r==null?void 0:r.subscribeFrameRate();return function(){n==null||n(),e==null||e()}},[r,t,n]),n}l.default=d}),98);
__d("WebBloksEntryPoint.react",["WebBloksApp","WebBloksEntryPointContainerContext","WebBloksEnvironmentContext","WebBloksMergeRefs","WebBloksServerData","WebBloksTheme","WebBloksUtils","WebBloksViewpointProvider","react","useWebBloksAnalytics"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useRef;function c(e){var t=e.environment,n=e.externalObjectSet,a=e.externalVariables,i=e.initialFetchParams,l=e.payload,c=e.style,d=c===void 0?o("WebBloksApp").bloksRootStyles:c,m=e.theme;l&&l.server_data!=null&&o("WebBloksServerData").handleWebBloksServerData(o("WebBloksUtils").cast(l.server_data));var p=i!=null?i:{},_=p.appId,f=p.params,g=r("useWebBloksAnalytics")(t,_!=null?_:""),h=u(null),y=r("WebBloksMergeRefs")(g,h),C=s.jsx(r("WebBloksViewpointProvider"),{children:s.jsx(o("WebBloksTheme").WebBloksThemeProvider,{initialTheme:m,children:s.jsx(o("WebBloksEnvironmentContext").WebBloksEnvironmentProvider,{environment:t,children:s.jsx(o("WebBloksEntryPointContainerContext").WebBloksEntryPointContainerContextProvider,{value:h,children:s.jsx(o("WebBloksApp").WebBloksApp,{node:l,appId:_,params:f,externalObjectSet:n,externalVariables:a})})})})});return s.jsx("div",{style:d,ref:y,children:C})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("useCometRouteSyncedState",["CometRouterRouteMutableStateContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useContext,c=s.useLayoutEffect,d=s.useState;function m(e,t){var n,o,a=u(r("CometRouterRouteMutableStateContext")),i=d((n=a==null||(o=a.savedRouterState)==null?void 0:o[t])!=null?n:e),l=i[0],s=i[1];return c(function(){a&&(a.savedRouterState||(a.savedRouterState={}),a.savedRouterState[t]=l)},[t,a,l]),[l,s]}l.default=m}),98);
__d("useWebBloksCometObjectSet",["WebBloksApp","WebBloksObjectSet","react","useCometRouteSyncedState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useEffect,c=s.useRef;function d(e,t,n){var a=t!=null?t:{},i=a.appId,l=a.params,s=r("useCometRouteSyncedState")(function(){return new(r("WebBloksObjectSet"))(e)},window.history.state),d=s[0],m=c(!0);return u(function(){m.current&&e.enableCometRouter===!0&&(o("WebBloksApp").createInitialScreenForObjectSet(d,i,n,l!=null?l:{}),m.current=!1)},[i,e.enableCometRouter,d,l,n]),d}l.default=d}),98);
__d("IGWebBloksEntryPoint.react",["PolarisIGTheme.react","WebBloksClientPerfLogger","WebBloksEntryPoint.react","react","useWebBloksCometObjectSet"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useLayoutEffect,m=u.useMemo,p=u.useState;r("WebBloksClientPerfLogger").log("DISPLAY_JS_DONE");function _(e){var t=e.environment,n=e.externalVariables,a=e.initialFetchParams,i=e.payload;r("WebBloksClientPerfLogger").log("WBLOKS_INVOKED");var l=r("useWebBloksCometObjectSet")(t,a,i),u=m(function(){return t.enableCometRouter===!0?l:void 0},[t.enableCometRouter,l]),_=o("PolarisIGTheme.react").useTheme(),f=p(void 0),g=f[0],h=f[1];return c(function(){r("WebBloksClientPerfLogger").log("ROOT_MOUNTED"),r("WebBloksClientPerfLogger").destroy()},[]),d(function(){var e=_.getTheme()===o("PolarisIGTheme.react").IGTheme.Light?"light":"dark";h(e)},[_]),s.jsx(r("WebBloksEntryPoint.react"),{environment:t,externalObjectSet:u,externalVariables:n,initialFetchParams:a,payload:i,theme:g})}_.displayName=_.name+" [from "+i.id+"]",l.default=_}),98);
__d("WebBloksIGNavbarBase",["fbt","IGDSChevronIcon.react","IGDSIconButton.react","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e,d=c.useEffect,m=c.useRef,p=c.useState;function _(e){var t=e["data-bloks-name"],n=e.hideDivider,a=e.leftButton,i=e.rightButtons,l=e.title,c=o("WebBloksComponentContext").useWebBloksContext(),_=p(0),f=_[0],g=_[1],h=m(null);d(function(){var e=h.current;e&&e.clientWidth!==f&&g(e.clientWidth)},[f]);var y=null;return a!=null?y=a:c.objectSet.navigationManager.getScreenCount()>1&&(y=u.jsx(r("IGDSIconButton.react"),{onClick:function(){c.objectSet.navigationManager.pop()},children:u.jsx(r("IGDSChevronIcon.react"),{alt:s._(/*BTDS*/"Back"),color:"ig-primary-text",direction:"back"})})),u.jsxs("div",babelHelpers.extends({},{0:{className:"x6s0dn4 x7r02ix x9f619 x78zum5 x1q0g3np x2lah0s x1jchvi3 x1s688f xn3w4p2 x1n2onr6"},1:{className:"x6s0dn4 x7r02ix x9f619 x78zum5 x1q0g3np x2lah0s x1jchvi3 x1s688f xn3w4p2 x1n2onr6 x1ixjvfu x1q0q8m5 xso031l"}}[(n!==!0)<<0],{"data-bloks-name":t,children:[u.jsx("div",{className:"x1ey2m1c x1c4vz4f xs83m0k x1o0tod x10l6tqk x13vifvy",ref:h,children:y}),u.jsx("div",{className:"x78zum5 x1iyjqo2 xl56j7k",style:{margin:"0 "+f+"px"},children:l}),i]}))}_.displayName=_.name+" [from "+i.id+"]",l.default=_}),226);
__d("WebBloksIGBottomsheetContainer",["IGCoreModal.react","IGDSBox.react","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksIGNavbarBase","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useCallback;function c(e){var t=e.children,n=e.containerConfig,a=o("WebBloksComponentContext").useWebBloksContext(),i=a.objectSet,l=a.renderNode,c=u(function(){i.navigationManager.close("pop")},[i]),d=n.navbar,m=d!=null?l(d):s.jsx(r("WebBloksIGNavbarBase"),{title:null}),p=o("WebBloksBooleanUtils").isTrue(d==null?void 0:d.get("hide_navbar")),_=p?"100%":"calc(100% - 44px)";return s.jsxs(r("IGCoreModal.react"),{fixedHeight:!0,fixedWidth:!0,onClose:c,children:[m,s.jsx(r("IGDSBox.react"),{direction:"row",display:"flex",height:_,overflow:"auto",children:t})]})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGBottomsheetContainerConfig",["WebBloksContainerConfig"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t){var n;return n=e.call(this)||this,n.navbar=t,n}return babelHelpers.inheritsLoose(t,e),t.fromBloksModel=function(n){var e=n.get("navbar");return new t(e)},t})(o("WebBloksContainerConfig").WebBloksContainerConfig);l.default=e}),98);
__d("WebBloksIGFullscreenContainer",["WebBloksComponentContext","WebBloksIGNavbarBase","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.children,n=e.containerConfig,a=o("WebBloksComponentContext").useWebBloksContext(),i=a.renderNode,l=n.navbar,u=l!=null?i(l):s.jsx(r("WebBloksIGNavbarBase"),{title:null});return s.jsxs("div",{"data-bloks-name":"bk.data.screen.containerconfig.fullscreen.Ig",children:[u,t]})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGFullscreenContainerConfig",["WebBloksContainerConfig"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t){var n;return n=e.call(this)||this,n.navbar=t,n}return babelHelpers.inheritsLoose(t,e),t.fromBloksModel=function(n){var e=n.get("navbar");return new t(e)},t})(o("WebBloksContainerConfig").WebBloksContainerConfig);l.default=e}),98);
__d("IGWebBloksContainerConfigs",["WebBloksIGBottomsheetContainer","WebBloksIGBottomsheetContainerConfig","WebBloksIGFullscreenContainer","WebBloksIGFullscreenContainerConfig"],(function(t,n,r,o,a,i,l){"use strict";var e={"bk.data.screen.containerconfig.bottomsheet.Ig":{ContainerComponent:r("WebBloksIGBottomsheetContainer"),ContainerConfig:r("WebBloksIGBottomsheetContainerConfig")},"bk.data.screen.containerconfig.fullscreen.Ig":{ContainerComponent:r("WebBloksIGFullscreenContainer"),ContainerConfig:r("WebBloksIGFullscreenContainerConfig")}};l.CONTAINER_CONFIGS=e}),98);
__d("WebBloksIGAnchorTagExtensionHandler",[],(function(t,n,r,o,a,i){"use strict";var e={hasLayoutWrapper:function(){return!0},wrap:function(t,n,r,o){return null}},l=e;i.default=l}),66);
__d("WebBloksIGShoppingNavBarExtensionHandler",["WebBloksComponentContext","react","vulture"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.children,n=e.node;r("vulture")("yEWMUtGZBwQWI6xrKt49n5jBXfE=");var a=o("WebBloksComponentContext").useWebBloksContext(),i=a.objectSet,l=i.getNullableComponentForName("ig.components.ShoppingNavBarExtension"),u=n.makeCopy({children:t});return l?s.jsx(l,{node:u}):t}u.displayName=u.name+" [from "+i.id+"]";var c={hasLayoutWrapper:function(){return!0},wrap:function(t,n){return s.jsx(u,{node:t,children:n})}},d=c;l.default=d}),98);
__d("WebBloksStoryTooltipExtensionHandler",["PolarisIGCorePressable.react","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.children,n=e.node,a=n.getValues(),i=o("WebBloksComponentContext").useWebBloksContext();if(a.tooltip==null||a.on_tooltip_click==null)return null;var l=a.tooltip,u=n.getExpression("on_tooltip_click"),c=s.jsx("div",{style:{position:"absolute"},children:s.jsx(r("PolarisIGCorePressable.react"),{onPress:function(t){t.stopPropagation(),u!=null&&i.executeCatch(n,u,[])},role:"button",children:i.renderNode(l)})});return s.jsxs(s.Fragment,{children:[c,t]})}u.displayName=u.name+" [from "+i.id+"]";var c={hasLayoutWrapper:function(){return!0},wrap:function(t,n){return s.jsx(u,{node:t,children:n})}},d=c;l.default=d}),98);
__d("IGWebBloksExtensionHandlers",["WebBloksIGAnchorTagExtensionHandler","WebBloksIGShoppingNavBarExtensionHandler","WebBloksStoryTooltipExtensionHandler","WebBloksVisibilityExtensionHandler"],(function(t,n,r,o,a,i,l){"use strict";var e={"bk.components.StoryViewerTooltipExtension":r("WebBloksStoryTooltipExtensionHandler"),"ig.components.AnchorTagExtension":r("WebBloksIGAnchorTagExtensionHandler"),"ig.components.ShoppingNavBarExtension":r("WebBloksIGShoppingNavBarExtensionHandler"),"ig.components.ViewpointExtension":r("WebBloksVisibilityExtensionHandler")};l.EXTENSION_HANDLERS=e}),98);
__d("WebBloksFxFetchWebAuthData",["FXLinklessAuth.react","PromotedPostsActionFalcoEvent"],(function(t,n,r,o,a,i,l){"use strict";var e="WEB_BLOKS_AUTH_FLOW";function s(t,n,a,i){var l=!1,s=function(){window.removeEventListener("message",c),l||i(t,"")},u=function(t){var e={action:"web_auth_popup_triggered",configurations:{was_web_auth_popup_blocked:t},entry_point:"pro_2_pro_web_auth_popup",waterfall_id:""};if(r("PromotedPostsActionFalcoEvent").log(function(){return e}),t){var n=new Event("AuthPopupBlockerTriggered",{});window.dispatchEvent(n),s()}};o("FXLinklessAuth.react").launchFXAuth(n,e,{},s,u);var c=function(n){var e,r=(e=n.data)==null?void 0:e.url;r!=null&&r!==""&&(l=!0,window.removeEventListener("message",c),i(t,r))};window.addEventListener("message",c)}l.default=s}),98);
__d("WebBloksGetObjectFromLocalDeviceCache",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){return window.localStorage.getItem(t)}i.default=e}),66);
__d("WebBloksIGAnnotateTTIEvent",["QuickPerformanceLogger","qpl"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t,n,o){Object.entries(n).forEach(function(t){var n,a=t[0],i=t[1];(e||(e=r("QuickPerformanceLogger"))).markerAnnotate(r("qpl")._(719983200,"2401"),{string:(n={},n[a]=String(i),n)},{instanceKey:o})})}l.default=s}),98);
__d("WebBloksIGAuthenticityDocumentUpload",["ResumableUploadServiceComet","ResumableUploadServiceState.enum","err"],(function(t,n,r,o,a,i,l){"use strict";var e="service_menu_uploads";async function s(e){try{var t=await window.fetch(e);if(!t.ok)return{errorMessage:"HTTP error! status: "+t.status,file:null};var n=await t.blob(),r=new File([n],"upload.jpg",{type:n.type!==""?n.type:"image/jpeg"});return{errorMessage:null,file:r}}catch(e){return{errorMessage:e instanceof Error?e.message:"Failed to create a file",file:null}}}function u(t){return new Promise(function(n,o){var a,i=r("ResumableUploadServiceComet").create({consumer:e,serviceDomain:"instagram.com",serviceName:"i"});i.addListener((a=r("ResumableUploadServiceState.enum")).SUCCESS,function(e){n(e)}),i.addListener(a.FAIL,function(e){o(e instanceof Error?e:r("err")("Upload failed"))}),i.addListener(a.TRANSPORT_FAILURE,function(e){o(e instanceof Error?e:r("err")("Upload failed"))}),i.addListener(a.CANCEL,function(){o(r("err")("Upload cancelled"))}),i.resume(t).catch(function(e){o(e instanceof Error?e:r("err")("Upload failed"))})})}function c(e,t,n,r,o,a,i){if(a==null||a===""){e.executeCatch(n,["No file URI provided for upload"]);return}s(a).then(function(r){var o=r.errorMessage,a=r.file;if(o!=null||a==null){e.executeCatch(n,[o!=null?o:"Failed to read file for upload"]);return}return u(a).then(function(n){e.executeCatch(t,[n])})}).catch(function(t){var r=t instanceof Error?t.message:"Unknown error";e.executeCatch(n,[r])})}l.default=c}),98);
__d("WebBloksIGAuthenticityUpload",["PolarisConfig","uuidv4"],(function(t,n,r,o,a,i,l){"use strict";function e(){return"https://graph.facebook.com/authenticity_uploads"}async function s(e){try{var t=await window.fetch(e);return t.ok?{errorMessage:null,fileBlob:await t.blob()}:{errorMessage:"HTTP error! status: "+t.status,fileBlob:null}}catch(e){return{errorMessage:e instanceof Error?e.message:"Failed to create a blob",fileBlob:null}}}async function u(t,n,a,i,l){var u=e(),c=o("PolarisConfig").getGraphTokenForApp(),d=await s(t),m=d.errorMessage,p=d.fileBlob;if(m!=null||p==null)return{error_message:m!=null?m:"Failed to convert file URI to blob",success:!1};var _=null;if(n!=null){var f=await s(n),g=f.errorMessage,h=f.fileBlob;if(g!=null||h==null)return{error_message:g!=null?g:"Failed to convert second file URI to blob",success:!1};_=h}var y=new FormData;y.append("access_token",c),y.append("device_id",r("uuidv4")()),y.append("format","json"),y.append("id_or_cuid",r("uuidv4")()),y.append("machine_id",r("uuidv4")()),y.append("product",a),y.append("return_file_handles","true"),y.append("session_id",r("uuidv4")()),y.append("submission_id",l.toString()),y.append("submit_to_authenticity_platform","true"),y.append("upload1",p,"upload.jpg"),_!=null&&y.append("upload2",_,"upload.jpg"),y.append("upload_medium",i);try{var C=await window.fetch(u,{body:y,method:"POST"});if(!C.ok)return{error_message:"HTTP error! status: "+C.status,success:!1};var b=await C.json();return b}catch(e){var v=e instanceof Error?e.message:"Unknown error";return{error_message:v,success:!1}}}function c(e,t,n,r,o,a,i,l){var s=Object.keys(n);if(s.length===0){e.executeCatch(a,["No files provided for upload"]);return}var c=n[s[0]],d=s.length>1?n[s[1]]:null,m=Object.keys(r),p=m.length>0?r[m[0]]:"FILE_PICKER",_=l.get("submission_id");if(_==null){e.executeCatch(a,["No submission ID provided for upload"]);return}var f=parseInt(_,10);u(c,d,i,p,f).then(function(t){if(t.success===!1){var n,r=(n=t.error_message)!=null?n:"Failed to upload to authenticity api";e.executeCatch(a,[r]);return}var i={};t.file_handle1!=null&&(i[c]=t.file_handle1),t.file_handle2!=null&&d!=null&&(i[d]=t.file_handle2),e.executeCatch(o,[e,i])}).catch(function(t){var n=t instanceof Error?t.message:"Unknown error";e.executeCatch(a,[n])})}l.default=c}),98);
__d("WebBloksIGBlockUser",["maybeSendMessageToIGVR"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,o,a,i){r("maybeSendMessageToIGVR")({name:"BlockUser",user_id:t})}l.default=e}),98);
__d("WebBloksIGClearChallenge",["PolarisNavigationUtils","PolarisRoutes","PolarisUA"],(function(t,n,r,o,a,i,l){"use strict";var e="instagram://checkpoint/dismiss";function s(t){o("PolarisNavigationUtils").openURLWithFullPageReload(o("PolarisUA").isIGWebview()||o("PolarisUA").isWebview()?e:o("PolarisRoutes").FEED_PATH)}l.default=s}),98);
__d("WebBloksIGCloseModal",[],(function(t,n,r,o,a,i){"use strict";function e(e){e.objectSet.navigationManager.pop()}i.default=e}),66);
__d("WebBloksIGCloseScreen",[],(function(t,n,r,o,a,i){"use strict";function e(e){e.objectSet.navigationManager.pop()}i.default=e}),66);
__d("WebBloksIGCloseToScreen",["PolarisNavigationUtils","PolarisRoutes"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){e.objectSet.navigationManager.pop(),o("PolarisNavigationUtils").openURL(o("PolarisRoutes").FEED_PATH)}l.default=e}),98);
__d("WebBloksIGEndTTIEvent",["QuickPerformanceLogger","qpl"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t,n,o){var a;n==="success"?a=2:n==="failure"?a=3:n==="cancel"&&(a=4),a!=null&&(e||(e=r("QuickPerformanceLogger"))).markerEnd(r("qpl")._(719983200,"2401"),a,o)}l.default=s}),98);
__d("WebBloksIGEndTTIEventV2",["QuickPerformanceLogger"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t,n,o,a){(e||(e=r("QuickPerformanceLogger"))).markerEnd(n,a,o)}l.default=s}),98);
__d("WebBloksIGLogEvent",["FalcoLoggerInternal","PolarisConfig","WebBloksFalcoPolicyData"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,a){var i=o("PolarisConfig").getViewerId(),l=o("FalcoLoggerInternal").create(t,r("WebBloksFalcoPolicyData").get(t));l.log(function(){return babelHelpers.extends({pk:i},a)})}l.default=e}),98);
__d("WebBloksIGLogout",["polarisSendLogoutRequest"],(function(t,n,r,o,a,i,l){"use strict";function e(e){o("polarisSendLogoutRequest").sendLogoutRequest("webbloks")}l.default=e}),98);
__d("WebBloksIGMuteUser",["maybeSendMessageToIGVR"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,o,a){r("maybeSendMessageToIGVR")({name:"MuteUser",user_id:t})}l.default=e}),98);
__d("WebBloksIGOnPro2ProSuccess",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){window.location.reload()}i.default=e}),66);
__d("WebBloksIGOpenBottomSheetV3",["IGDSBox.react","PolarisIGCoreSheetOrModal.react","WebBloksScreen","react","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e,t,n,a,i,l){var u=t.get("app_id"),c=t.get("navbar_data"),d=t.get("loading_screen"),m=t.get("ttrc_marker_id"),p={initialTreeResources:e.bloksContext.treeManager.initialTreeResources,isModal:!0,loadingNavbar:c,loadingScreen:d,outerScreenComponent:function(n){return s.jsx(r("PolarisIGCoreSheetOrModal.react"),{onClose:function(){return e.objectSet.navigationManager.pop()},children:s.jsx(r("IGDSBox.react"),{direction:"row",display:"flex",height:"100%",position:"relative",children:n})})}};o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:u,markerId:m}});var _=o("WebBloksScreen").WebBloksScreen.fromAppId(e.objectSet,u,n,p);e.objectSet.navigationManager.push(_)}l.default=u}),98);
__d("InstagramChallengeRoutes",[],(function(t,n,r,o,a,i){"use strict";var e="/challenge/action",l="/challenge/v2/action";i.TAKE_CHALLENGE_BASE_PATH=e,i.TAKE_CHALLENGE_TOA_BASE_PATH=l}),66);
__d("WebBloksIGOpenChallengeUrl",["InstagramChallengeRoutes","InstagramQueryParamsHelper","browserHistory_DO_NOT_USE","gkx"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,a,i){var l=r("gkx")("6169")?o("InstagramChallengeRoutes").TAKE_CHALLENGE_TOA_BASE_PATH:o("InstagramChallengeRoutes").TAKE_CHALLENGE_BASE_PATH;if(e.objectSet.navigationManager.pop(),t==null||n==null)o("browserHistory_DO_NOT_USE").redirect(l);else{var s=a!=null?a+"/":"",u=l+"/"+t+"/"+n+"/"+s;i!=null&&(u=o("InstagramQueryParamsHelper").appendQueryParams(u,{cni:i})),o("browserHistory_DO_NOT_USE").redirect(u)}}l.default=e}),98);
__d("WebBloksIGOpenDatePickerActivityCenter",["fbt","IGDSBox.react","IGDSButton.react","PolarisDOBFieldSelect.react","PolarisDateHelpers","PolarisIGCoreSheetOrModal.react","WebBloksModel","WebBloksScreen","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e.useState;function d(e){var t=e.context,n=e.on_date_picked,a=e.seconds,i=e.title,l=c(p(a)),d=l[0],m=l[1];function p(e){var t=new Date(1970,0,1);return t.setSeconds(e),o("PolarisDateHelpers").dateToDateType(t)}function _(e){return Math.floor(e.getTime()/1e3)}function f(){var e=o("PolarisDateHelpers").dateTypeToDate(d);t.executeCatch(n,[_(e)]),t.objectSet.navigationManager.pop()}return u.jsxs(r("PolarisIGCoreSheetOrModal.react"),{onBack:function(){return t.objectSet.navigationManager.pop()},onClose:function(){return t.objectSet.navigationManager.popAllModals()},stops:["50%"],title:i,children:[u.jsx(r("IGDSBox.react"),{marginTop:3,position:"relative",children:u.jsx(r("PolarisDOBFieldSelect.react"),{date:d,onDateChange:function(t){m(t)}})}),u.jsx(r("IGDSBox.react"),{alignContent:"center",margin:3,position:"relative",children:u.jsx(r("IGDSButton.react"),{display:"block",label:s._(/*BTDS*/"Done"),onClick:f,size:"large"})})]})}d.displayName=d.name+" [from "+i.id+"]";function m(e,t,n,r){var a="bk.components.Flexbox",i={flex_direction:"column",justify_content:"flex_start"},l={isModal:!0,outerScreenComponent:function(a){return u.jsx(d,{context:e,on_date_picked:r,seconds:t,title:n})}};e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksModel(e.objectSet,new(o("WebBloksModel")).WebBloksModel(a,i),e.treeManager.initialTreeResources,l))}l.default=m}),226);
__d("WebBloksIGOpenDiscoverPeople",["PolarisNavigationUtils","PolarisRoutes"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){o("PolarisNavigationUtils").openURL(o("PolarisRoutes").DISCOVER_PEOPLE_PATH)}l.default=e}),98);
__d("WebBloksIGOpenMediaPicker",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n,r,o,a){var i=document.createElement("input");i.type="file",i.accept="image/*,",i.multiple=!1,i.style.display="none",i.addEventListener("change",function(r){var a=r.target;if(a instanceof HTMLInputElement){var l=a.files;if(l&&l.length>0){var s=l[0];if(o>0){e.executeCatch(t,[URL.createObjectURL(s)]);return}}else e.executeCatch(n,[]);document.body.removeChild(i)}}),i.addEventListener("cancel",function(){e.executeCatch(n,[]),document.body.removeChild(i)}),document.body.appendChild(i),i.click()}i.default=e}),66);
__d("WebBloksIGOpenScreen",["WebBloksScreen"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksModel(e.objectSet,t,e.treeManager.initialTreeResources,{isModal:!1},n))}l.default=e}),98);
__d("WebBloksIGOpenUrl",["PolarisNavigationUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){var n=window.location.href;t===n?window.location.reload():o("PolarisNavigationUtils").openURL(t)}l.default=e}),98);
__d("WebBloksIGOpenUrlV2",["PolarisNavigationUtils","URI","WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t,n,a){var i=new(e||(e=r("URI")))(n).getQualifiedURI(),l=a==null?void 0:a.get("url_params");l!=null&&i.addQueryData(l),o("WebBloksBooleanUtils").isTrue(a==null?void 0:a.get("open_in_new_tab"))?o("PolarisNavigationUtils").openURLWithFullPageReload(i.toString(),{openInNewTab:!0}):o("PolarisNavigationUtils").openURL(i.toString())}l.default=s}),98);
__d("WebBloksIGOpenUrlWithForceFreshLoad",["PolarisNavigationUtils","URI","WebBloksBooleanUtils"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t,n,a){var i=new(e||(e=r("URI")))(n).getQualifiedURI();o("WebBloksBooleanUtils").isTrue(a)?o("PolarisNavigationUtils").openURLWithFullPageReload(i.toString()):o("PolarisNavigationUtils").openURL(i.toString())}l.default=s}),98);
__d("WebBloksIGOpenUserDetail",["PolarisNavigationUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){o("PolarisNavigationUtils").openURL("/uid/"+t)}l.default=e}),98);
__d("WebBloksIGPrintf",["sprintf"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,o){return r("sprintf").apply(void 0,[t].concat(n))}l.default=e}),98);
__d("WebBloksIGPushBottomSheet",["WebBloksBooleanUtils","WebBloksScreen"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksModel(e.objectSet,t,e.treeManager.initialTreeResources,{addToBackStack:o("WebBloksBooleanUtils").isTrue(n),isModal:!0}))}l.default=e}),98);
__d("WebBloksIGReloadPage",[],(function(t,n,r,o,a,i){"use strict";function e(e){window.location.reload()}i.default=e}),66);
__d("WebBloksIGReportSubmittedForIGVR",["maybeSendMessageToIGVR"],(function(t,n,r,o,a,i,l){"use strict";function e(e){r("maybeSendMessageToIGVR")({name:"onReportSubmitted"})}l.default=e}),98);
__d("WebBloksIGRestrictUser",["maybeSendMessageToIGVR"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,o,a){r("maybeSendMessageToIGVR")({name:"RestrictUser",user_id:t})}l.default=e}),98);
__d("WebBloksIGSMBFetchFacebookAccessToken",["InstagramODS","PolarisFBConnectHelpers"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){r("InstagramODS").incr("web.boost.bloks.fetchFacebookAccessToken");var n=function(o){var n;r("InstagramODS").incr("web.boost.bloks.processLoginResult");var a=(n=o.authResponse)==null?void 0:n.accessToken;a!=null&&(r("InstagramODS").incr("web.boost.bloks.accessTokenNotNull"),t(e,a))};o("PolarisFBConnectHelpers").connectToFacebook(!1).then(n).catch(function(){o("PolarisFBConnectHelpers").loginToFacebook().then(n).catch(function(){r("InstagramODS").incr("web.boost.bloks.failedToLogin")})})}l.default=e}),98);
__d("WebBloksIGSMBOpenBoostPost",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n,r,o){}i.default=e}),66);
__d("WebBloksIGSMBOpenPromote",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n,r){}i.default=e}),66);
__d("WebBloksIGSMBOpenPromotionPayments",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){}i.default=e}),66);
__d("WebBloksIGScreenClose",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){e.objectSet.navigationManager.close("close",n==null?void 0:n.get("close_to_screen_id"),n==null?void 0:n.get("inclusive_dismissal"))}i.default=e}),66);
__d("WebBloksIGStartTTIEvent",["QuickPerformanceLogger","qpl"],(function(t,n,r,o,a,i,l){"use strict";var e,s="product";function u(t,n,o){var a;(e||(e=r("QuickPerformanceLogger"))).markerStart(r("qpl")._(719983200,"2401"),o),e.markerAnnotate(r("qpl")._(719983200,"2401"),{string:(a={},a[s]=n,a)},{instanceKey:o})}l.default=u}),98);
__d("WebBloksIGStoryAdsHistoryOpenStory",["PolarisNavigationUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,r,a,i){var l=JSON.parse(i),s=l.items[0],u=s.user.username,c=s.id.search("_"),d=s.id.substring(0,c);if(u!=null&&d!=null){var m="/stories/"+u+"/"+d+"/";o("PolarisNavigationUtils").openURLWithFullPageReload(m,{openInNewTab:!0})}}l.default=e}),98);
__d("WebBloksIGStringEncryptPasswords",["PolarisEncryptionHelper","Promise","WebBloksScriptDebuggingUtils","uuidv4"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t,a,i,l){var s={requestUUID:r("uuidv4")()};(e||(e=n("Promise"))).allSettled([o("PolarisEncryptionHelper").encrypt(i,s),o("PolarisEncryptionHelper").encrypt(l,s)]).then(function(e){t.execute(a,[e[0].value,e[1].value])}).catch(function(e){return o("WebBloksScriptDebuggingUtils").logScriptError(t.bloksContext.objectSet,e,a,t)})}l.default=s}),98);
__d("WebBloksIGSupervisedUserAwareSettingEvents",["EventEmitter"],(function(t,n,r,o,a,i,l){"use strict";var e=new(r("EventEmitter"));l.default=e}),98);
__d("WebBloksIGSupervisedUserAwareSettingHandler",["WebBloksIGSupervisedUserAwareSettingEvents"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){var o=new Map(Object.entries(n)),a=String(o.get("setting_type"));t==="permissions_requested"?r("WebBloksIGSupervisedUserAwareSettingEvents").emit("didRequestPermission",{settingType:a}):t==="permissions_required"?r("WebBloksIGSupervisedUserAwareSettingEvents").emit("onPermissionRequired",{settingType:a}):t==="permissions_not_required"?r("WebBloksIGSupervisedUserAwareSettingEvents").emit("onPermissionNotRequired",{settingType:a}):t==="permissions_flow_dismissed"?r("WebBloksIGSupervisedUserAwareSettingEvents").emit("onPermissionFlowDismissed",{settingType:a}):t==="permissions_pending"?r("WebBloksIGSupervisedUserAwareSettingEvents").emit("onPermissionPending",{settingType:a}):t==="permissions_unrequested"&&r("WebBloksIGSupervisedUserAwareSettingEvents").emit("didUnrequestPermission",{settingType:a})}l.default=e}),98);
__d("WebBloksIGToast.react",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.text;return s.jsx("div",{className:"xgor2io x9f619 x1q0g3np x1gg8mnh xexx8yu x1nwc9yf x18d9i69 xi1jawo xh8yej3",children:s.jsx("div",{className:"x1iyjqo2 xs83m0k xl56j7k",children:s.jsx("p",{className:"xfungia x1f6kntn xd4r4e8 xlrnmfh x6ikm8r x10wlt62 xz9dl7a xyri2b xsag5q8 x1c1uobl",children:t})})})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGToast",["WebBloksIGToast.react","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e,t){e.objectSet.toastManager.enqueueMiniToast(s.jsx(r("WebBloksIGToast.react"),{text:t}))}l.default=u}),98);
__d("WebBloksIGUnfollowUser",["maybeSendMessageToIGVR"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,o,a){r("maybeSendMessageToIGVR")({name:"UnfollowUser",user_id:t})}l.default=e}),98);
__d("WebBloksIGVideoSendEventV2",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){}i.default=e}),66);
__d("WebBloksIGViewpointExtensionContextGetPercentVisible",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){var n;return(n=t.percentVisible)!=null?n:0}i.default=e}),66);
__d("WebBloksIGXfacOpenAppealFlow",["PolarisNavigationUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){e.objectSet.navigationManager.pop(),o("PolarisNavigationUtils").openURLWithFullPageReload(t)}l.default=e}),98);
__d("WebBloksPrivacyConsentCloseAllPrompts",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){e.objectSet.navigationManager.popAllModals(),n&&e.executeCatch(n,[])}i.default=e}),66);
__d("WebBloksPrivacyConsentCloseDialog",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){e.objectSet.navigationManager.pop(),t&&e.executeCatch(t,[])}i.default=e}),66);
__d("WebBloksPrivacyConsentUtils",["IGCoreModal.react","WebBloksScreen","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e,t,n,a,i){if(i===void 0&&(i=!1),!!t){var l=n==null?void 0:n.getExpression("handle_outside_tap_dismiss_action"),u=l!=null?function(){e.executeCatch(l.getValue(),[]),e.objectSet.navigationManager.pop()}:void 0,c=i!==!0,d={isModal:!0,outerScreenComponent:function(t){return s.jsx(r("IGCoreModal.react"),{disablePopInAnimation:!0,fixedHeight:c,fixedWidth:c,isCriticalToPrivacyControls:!0,isMobileFullScreen:a,onClose:u,size:"large",children:s.jsx("div",babelHelpers.extends({},{0:{className:"xjp7ctv"},1:{className:"xjp7ctv xir0mxb x19osjzx"}}[!!a<<0],{children:t}))})}};e.objectSet.navigationManager.push(o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(e.objectSet,t,d))}}l.openDialogOrScreen=u}),98);
__d("WebBloksPrivacyConsentOpenDialog",["WebBloksPrivacyConsentUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){o("WebBloksPrivacyConsentUtils").openDialogOrScreen(e,t,n==null?void 0:n.unboundModel,!1)}l.default=e}),98);
__d("WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUse",["WebBloksPrivacyConsentUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,r){o("WebBloksPrivacyConsentUtils").openDialogOrScreen(e,n,r==null?void 0:r.unboundModel,!0)}l.default=e}),98);
__d("WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUseV2",["WebBloksPrivacyConsentUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,r){o("WebBloksPrivacyConsentUtils").openDialogOrScreen(e,t,r==null?void 0:r.unboundModel,!0,n)}l.default=e}),98);
__d("WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUseV3",["WebBloksPrivacyConsentUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,r){o("WebBloksPrivacyConsentUtils").openDialogOrScreen(e,t,r,!0,n)}l.default=e}),98);
__d("WebBloksSetObjectInLocalDeviceCache",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){var r;(r=window)==null||(r=r.localStorage)==null||r.setItem(n,t)}i.default=e}),66);
__d("IgWebWebBloksActions",["WebBloksDismissBottomSheet","WebBloksDummy","WebBloksFxFetchWebAuthData","WebBloksGetObjectFromLocalDeviceCache","WebBloksIGAnnotateTTIEvent","WebBloksIGAuthenticityDocumentUpload","WebBloksIGAuthenticityUpload","WebBloksIGBlockUser","WebBloksIGClearChallenge","WebBloksIGCloseModal","WebBloksIGCloseScreen","WebBloksIGCloseToScreen","WebBloksIGEndTTIEvent","WebBloksIGEndTTIEventV2","WebBloksIGLogEvent","WebBloksIGLogout","WebBloksIGMuteUser","WebBloksIGOnPro2ProSuccess","WebBloksIGOpenBottomSheetV3","WebBloksIGOpenChallengeUrl","WebBloksIGOpenDatePickerActivityCenter","WebBloksIGOpenDiscoverPeople","WebBloksIGOpenMediaPicker","WebBloksIGOpenScreen","WebBloksIGOpenUrl","WebBloksIGOpenUrlV2","WebBloksIGOpenUrlWithForceFreshLoad","WebBloksIGOpenUserDetail","WebBloksIGPrintf","WebBloksIGPushBottomSheet","WebBloksIGReloadPage","WebBloksIGReportSubmittedForIGVR","WebBloksIGRestrictUser","WebBloksIGSMBFetchFacebookAccessToken","WebBloksIGSMBOpenBoostPost","WebBloksIGSMBOpenPromote","WebBloksIGSMBOpenPromotionPayments","WebBloksIGScreenClose","WebBloksIGStartTTIEvent","WebBloksIGStoryAdsHistoryOpenStory","WebBloksIGStringEncryptPasswords","WebBloksIGSupervisedUserAwareSettingHandler","WebBloksIGToast","WebBloksIGUnfollowUser","WebBloksIGVideoSendEventV2","WebBloksIGViewpointExtensionContextGetPercentVisible","WebBloksIGXfacOpenAppealFlow","WebBloksOpenBottomSheet","WebBloksPrivacyConsentCloseAllPrompts","WebBloksPrivacyConsentCloseDialog","WebBloksPrivacyConsentOpenDialog","WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUse","WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUseV2","WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUseV3","WebBloksSetObjectInLocalDeviceCache"],(function(t,n,r,o,a,i,l){var e,s={"authenticity.action.Upload":r("WebBloksIGAuthenticityUpload"),"bk.action.DeeplinkToOtherAppOrDirectToAppStore":e=r("WebBloksDummy"),"bk.action.GetObjectFromLocalDeviceCache":r("WebBloksGetObjectFromLocalDeviceCache"),"bk.action.SetObjectInLocalDeviceCache":r("WebBloksSetObjectInLocalDeviceCache"),"bk.action.ad_activity.OpenAdActivityChain":r("WebBloksIGStoryAdsHistoryOpenStory"),"bk.action.authenticity.DocumentUpload":r("WebBloksIGAuthenticityDocumentUpload"),"bk.action.bloks.IsAppInstalled":e,"bk.action.bloks.OpenBottomSheetV3":r("WebBloksIGOpenBottomSheetV3"),"bk.action.ig.smb.FetchFacebookAccessToken":r("WebBloksIGSMBFetchFacebookAccessToken"),"bk.action.ig.smb.OnPro2ProSuccess":r("WebBloksIGOnPro2ProSuccess"),"bk.action.ig.smb.OpenBoostPost":r("WebBloksIGSMBOpenBoostPost"),"bk.action.ig.smb.OpenPromote":r("WebBloksIGSMBOpenPromote"),"bk.action.ig.smb.OpenPromotionPayments":r("WebBloksIGSMBOpenPromotionPayments"),"bk.action.ig.xfac.OpenAppealFlow":r("WebBloksIGXfacOpenAppealFlow"),"bk.action.ixt.triggers.bottomsheet.LoadingComplete":e,"bk.action.navigation.OpenUrl":r("WebBloksIGOpenUrl"),"bk.action.navigation.OpenUrlV2":r("WebBloksIGOpenUrlV2"),"bk.action.privacy.consent.CloseAllPrompts":r("WebBloksPrivacyConsentCloseAllPrompts"),"bk.action.privacy.consent.CloseDialog":r("WebBloksPrivacyConsentCloseDialog"),"bk.action.privacy.consent.FlowCompletionCallback":e,"bk.action.privacy.consent.OpenDialog":r("WebBloksPrivacyConsentOpenDialog"),"bk.action.privacy.consent.OpenDialogAsScreenOnMobileDoNotUse":r("WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUse"),"bk.action.privacy.consent.OpenDialogAsScreenOnMobileDoNotUseV2":r("WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUseV2"),"bk.action.privacy.consent.OpenDialogAsScreenOnMobileDoNotUseV3":r("WebBloksPrivacyConsentOpenDialogAsScreenOnMobileDoNotUseV3"),"bk.action.screen.CloseScreen":r("WebBloksIGScreenClose"),"bk.action.video.GetIsMuted":e,"bk.action.video.SendEvent":e,"bk.action.video.SendEventV2":r("WebBloksIGVideoSendEventV2"),"bk.action.webbloks.switcher.OpenAccountsCenter":e,"bk.action.webbloks.switcher.SwitchIGWebProfile":e,"bk.action.xav.switcher.AddAccountOnClick":e,"bk.fx.action.FetchWebAuthData":r("WebBloksFxFetchWebAuthData"),"bk.fx.action.media.OpenMediaPicker":r("WebBloksIGOpenMediaPicker"),"bk.ig.action.reporting.ReportSubmitted":r("WebBloksIGReportSubmittedForIGVR"),"bk.versioning.bloks.PayloadSpecIDsSet":e,"ig.action.authenticity.OpenIXTXFACDialog":e,"ig.action.challenges.Logout":r("WebBloksIGLogout"),"ig.action.challenges.OpenChallengeUrl":r("WebBloksIGOpenChallengeUrl"),"ig.action.civic_action.RefreshVotingInfoCenter":r("WebBloksIGReloadPage"),"ig.action.logging.LogEvent":r("WebBloksIGLogEvent"),"ig.action.navigation.ClearChallenge":r("WebBloksIGClearChallenge"),"ig.action.navigation.CloseModal":r("WebBloksIGCloseModal"),"ig.action.navigation.CloseScreen":r("WebBloksIGCloseScreen"),"ig.action.navigation.CloseToScreen":r("WebBloksIGCloseToScreen"),"ig.action.navigation.DismissBottomSheetV2":r("WebBloksDismissBottomSheet"),"ig.action.navigation.IGToast":r("WebBloksIGToast"),"ig.action.navigation.OpenActionSheet":r("WebBloksOpenBottomSheet"),"ig.action.navigation.OpenBottomSheet":r("WebBloksOpenBottomSheet"),"ig.action.navigation.OpenDatePickerActivityCenter":r("WebBloksIGOpenDatePickerActivityCenter"),"ig.action.navigation.OpenDialog":r("WebBloksOpenBottomSheet"),"ig.action.navigation.OpenScreen":r("WebBloksIGOpenScreen"),"ig.action.navigation.OpenShareSheet":e,"ig.action.navigation.OpenUrl":r("WebBloksIGOpenUrl"),"ig.action.navigation.OpenUrlSupportsDfa":r("WebBloksIGOpenUrl"),"ig.action.navigation.OpenUrlWithForceFreshLoad":r("WebBloksIGOpenUrlWithForceFreshLoad"),"ig.action.navigation.OpenUserDetail":r("WebBloksIGOpenUserDetail"),"ig.action.navigation.PopBottomSheet":r("WebBloksIGCloseScreen"),"ig.action.navigation.PushBottomSheet":r("WebBloksIGPushBottomSheet"),"ig.action.navigation.ResumeStoryPlayback":e,"ig.action.navigation.activityfeed.OpenDiscoverPeople":r("WebBloksIGOpenDiscoverPeople"),"ig.action.negative_action.BlockUser":r("WebBloksIGBlockUser"),"ig.action.negative_action.MuteUser":r("WebBloksIGMuteUser"),"ig.action.negative_action.RestrictUser":r("WebBloksIGRestrictUser"),"ig.action.negative_action.UnfollowUser":r("WebBloksIGUnfollowUser"),"ig.action.perf.AnnotateTTIEvent":r("WebBloksIGAnnotateTTIEvent"),"ig.action.perf.EndTTIEvent":r("WebBloksIGEndTTIEvent"),"ig.action.perf.EndTTIEventV2":r("WebBloksIGEndTTIEventV2"),"ig.action.perf.StartTTIEvent":r("WebBloksIGStartTTIEvent"),"ig.action.quickpromotion.HandleQuickPromotionActionClick":e,"ig.action.settings.RefreshSettingsSideMenu":e,"ig.action.settings.SupervisedUserAwareSettingHandler":r("WebBloksIGSupervisedUserAwareSettingHandler"),"ig.action.string.EncryptPasswords":r("WebBloksIGStringEncryptPasswords"),"ig.action.string.Printf":r("WebBloksIGPrintf"),"ig.action.viewpoint_extension_context.GetPercentVisible":r("WebBloksIGViewpointExtensionContextGetPercentVisible")};l.ACTIONS=s}),98);
__d("IgWebWebBloksScreenQueryRootTemplate",[],(function(t,n,r,o,a,i){var e={layout:{bloks_payload:{ft:{"8GtK85dK5LKwJvfIUAAXcg:1zlk6yp5tt":'(bk.action.core.TakeLast, (bk.action.core.SetArg, 0, (bk.action.map.Make, (bk.action.array.Make, "errorMessage", "errorCode"), (bk.action.array.Make, null, null))), (bk.action.core.If, (bk.action.core.Match, (bk.action.bloks.GetVariable2, "query_info_1zlk6yp5ta"), (bk.action.array.Make, (bk.action.core.Pattern, null, (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false))), (bk.action.core.GetArg, 0), (bk.action.core.Coalesce, (bk.action.map.Get, (bk.action.bloks.GetVariable2, "query_info_1zlk6yp5ta"), "error_info"), (bk.action.core.GetArg, 0))))'},data:[],embedded_payloads:[{id:"njrV0lCuBu7f7U3L02T7Mg:1zlk6yp5tj",payload:{layout:{bloks_payload:{tree:{"bk.components.internal.MergeWithBind":{children:[],on_bind:["children",'(bk.action.array.Make, (bk.action.map.Get, (bk.action.bloks.GetVariableWithScope, "1zlk6yp5td-0", 1), "errorFallbackUI"))']}}}}}}],templates:{"IRH9gsfu58vwRtCKNMLsdw:1zlk6yp5tr":{"bk.components.Flexbox":{flex_direction:"column",justify_content:"center",align_items:"center",children:[{"bk.components.Text":{text:"Something went wrong",text_size:"20sp"}},{"bk.components.Text":{text:"Please try again later"}}],_style:{flex:{width:"100%",height:"100%"}}}}},error_attribution:{logging_id:null,source_map_id:null},tree:{"bk.components.Flexbox":{flex_direction:"column",children:[{"bk.components.Flexbox":{children:[{"bk.components.Flexbox":{children:[{"bk.components.Flexbox":{children:[{"bk.components.Flexbox":{justify_content:"center",children:[{"bk.components.Spinner":{_style:{flex:{width:"32dp",height:"32dp",align_self:"center"}}}}],id:"bkscreen_roottemplate_loadingflexbox:0",_style:{flex:{width:"100%",height:"100%"}}}}],id:"xel4j0:47"}}],extensions:[{"bk.extensions.OnDataChange":{on_change:'(bk.action.core.Apply, (bk.action.core.FuncConst, (bk.action.core.TakeLast, (bk.action.core.If, (bk.action.core.Match, "failed", (bk.action.array.Make, (bk.action.core.Pattern, (bk.action.core.GetArg, 1), (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false))), (bk.action.core.TakeLast, (bk.action.logging.LogEvent, "bloks_async_component_failure", "bloks_infra", (bk.action.map.Make, (bk.action.array.Make, "bloks_app_id", "error_message", "error_code"), (bk.action.array.Make, (bk.action.bloks.GetParameter, "__infra__app_id"), (bk.action.core.Coalesce, (bk.action.map.Get, (bk.action.core.Apply, (bk.action.bloks.GetScript, "8GtK85dK5LKwJvfIUAAXcg:1zlk6yp5tt")), "errorMessage"), ""), (bk.action.core.If, (bk.action.core.Match, (bk.action.map.Get, (bk.action.core.Apply, (bk.action.bloks.GetScript, "8GtK85dK5LKwJvfIUAAXcg:1zlk6yp5tt")), "errorCode"), (bk.action.array.Make, (bk.action.core.Pattern, null, (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false))), null, (bk.action.string.ValueOfNumber, (bk.action.map.Get, (bk.action.core.Apply, (bk.action.bloks.GetScript, "8GtK85dK5LKwJvfIUAAXcg:1zlk6yp5tt")), "errorCode")))))), (bk.action.core.SetArg, 2, (bk.action.core.Apply, (bk.action.core.FuncConst, (bk.action.core.TakeLast, (bk.action.core.SetArg, 2, (bk.action.core.If, (bk.action.core.Match, (bk.action.bloks.GetParameter, "__infra__on_failure"), (bk.action.array.Make, (bk.action.core.Pattern, null, (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false))), 1, (bk.action.map.Get, (bk.action.core.Apply, (bk.action.bloks.GetParameter, "__infra__on_failure"), (bk.action.core.GetArg, 0), (bk.action.core.GetArg, 1)), "onErrorAction"))), (bk.action.map.Make, (bk.action.array.Make, "onErrorAction", "errorFallbackUI"), (bk.action.array.Make, (bk.action.core.GetArg, 2), (bk.action.template.Make, "IRH9gsfu58vwRtCKNMLsdw:1zlk6yp5tr", (bk.action.map.Make, (bk.action.array.Make), (bk.action.array.Make)), "S:xel4j0:54"))))), (bk.action.core.GetArg, 0), (bk.action.core.Apply, (bk.action.bloks.GetScript, "8GtK85dK5LKwJvfIUAAXcg:1zlk6yp5tt")))), (bk.action.map.Get, (bk.action.core.GetArg, 2), "onErrorAction"), (bk.action.core.If, (bk.action.core.Match, (bk.action.map.Get, (bk.action.core.GetArg, 2), "errorFallbackUI"), (bk.action.array.Make, (bk.action.core.Pattern, null, (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false))), null, (bk.action.bloks.ReplaceEmbeddedChildren, "xel4j0:47", (bk.action.array.Make, (bk.action.bloks.GetPayload, "njrV0lCuBu7f7U3L02T7Mg:1zlk6yp5tj", (bk.action.map.Make, (bk.action.array.Make, "1zlk6yp5td-0"), (bk.action.array.Make, (bk.action.core.GetArg, 2))))), (bk.action.core.GetArg, 0)))), null), (bk.action.core.If, (bk.action.core.If, (bk.action.core.Match, "resolved_sync", (bk.action.array.Make, (bk.action.core.Pattern, (bk.action.core.GetArg, 1), (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false))), true, (bk.action.core.Match, "resolved_async", (bk.action.array.Make, (bk.action.core.Pattern, (bk.action.core.GetArg, 1), (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false)))), (bk.action.core.Apply, (bk.action.core.FuncConst, 1), (bk.action.core.GetArg, 0)), null))), (bk.action.core.GetArg, 0), (bk.action.core.GetArg, 2))',on_bind:["data",'(bk.action.core.If, (bk.action.core.Match, (bk.action.bloks.GetVariable2, "query_info_1zlk6yp5ta"), (bk.action.array.Make, (bk.action.core.Pattern, null, (bk.action.core.FuncConst, true))), (bk.action.core.Default, (bk.action.core.FuncConst, false))), null, (bk.action.map.Get, (bk.action.bloks.GetVariable2, "query_info_1zlk6yp5ta"), "resolution_type"))']}},{"bk.components.OnMount":{on_first_mount:'(bk.action.bloks.FetchAsyncComponents, (bk.action.bloks.GetParameter, "__infra__app_id"), (bk.action.map.Make, (bk.action.array.Make, "__infra__container_config_id"), (bk.action.array.Make, (bk.action.bloks.GetParameter, "__infra__container_config_id"))), (bk.action.i64.Convert, (bk.action.bloks.GetParameter, "__infra__cache_ttl")), (bk.action.tree.Make, "bk.data.action.bloks.FetchAsyncComponentsOptions"))'}}]}}],id:"__infra_sq_content_id:0",_style:{flex:{grow:1}}}}],id:"__infra_sq_root_id:0"}},component_queries:[{id:"1zlk6yp5ta",targets:{genScreenContent:"xel4j0:47"},app_id_expr:'(bk.action.bloks.GetParameter, "__infra__app_id")',params:'(bk.action.map.Make, (bk.action.array.Make, "__infra__container_config_id"), (bk.action.array.Make, (bk.action.bloks.GetParameter, "__infra__container_config_id")))',client_params:'(bk.action.map.Make, (bk.action.array.Make, "__infra_component_did_render"), (bk.action.array.Make, null))',cache_ttl_expr:'(bk.action.i64.Convert, (bk.action.bloks.GetParameter, "__infra__cache_ttl"))',is_scoped:!1}]}}};i.TEMPLATE=e}),66);
__d("WebBloksEnvironmentTypes",["react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=(function(){function e(e){this.$1=new Map,this.$1=e}var t=e.prototype;return t.getGK=function(t){var e;return(e=this.$1.get(t))!=null?e:!1},e})();l.WebBloksGKs=u}),98);
__d("WebBloksDefaultGKs",["WebBloksEnvironmentTypes"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){return e.call(this,new Map)||this}return babelHelpers.inheritsLoose(t,e),t})(o("WebBloksEnvironmentTypes").WebBloksGKs);l.default=e}),98);
__d("WebBloksFragment",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){return s.jsx(s.Fragment,{children:e.children})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksHotReloadDataModule",[],(function(t,n,r,o,a,i){var e=(function(){function e(){}var t=e.prototype;return t.setup=function(t,n,r,o){return{initialData:{initialValue:void 0,commitToStore:function(){return null}},snapshot:o}},e})();i.WebBloksHotReloadDataModule=e}),66);
__d("WebBloksLogger",[],(function(t,n,r,o,a,i){var e=(function(){function e(){}var t=e.prototype;return t.warn=function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(e=console).warn.apply(e,["[wbloks] "+t].concat(r))},t.mustfix=function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(e=console).error.apply(e,["[wbloks] "+t].concat(r))},t.scriptError=function(t){this.mustfix(t.message,t)},e})();i.default=e}),66);
__d("WebBloksModuleStore",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){this.modules=new Map(e!=null?Object.entries(e):[])}var t=e.prototype;return t.keys=function(){return Array.from(this.modules.keys())},t.has=function(t){return this.modules.has(t)},t.set=function(t,n){this.has(t)||this.modules.set(t,n)},t.get=function(t){var e;return(e=this.modules.get(t))!=null?e:null},t.toObject=function(){return Object.fromEntries(this.modules)},e})();i.default=e}),66);
__d("WebBloksViewportDimensionsDataModule",["WebBloksUtils"],(function(t,n,r,o,a,i,l){var e=16.666666666666668,s=(function(){function t(){}var n=t.prototype;return n.setup=function(t,n,r,o){var e={height:window.innerHeight,width:window.innerWidth},a=n,i=this;return{initialData:{initialValue:e,commitToStore:function(t,n){return n!=null&&i.$2(a,t,n),function(){i.$1!=null&&window.removeEventListener("resize",i.$1)}}},snapshot:o}},n.$2=function(n,r,a){this.$1!=null&&window.removeEventListener("resize",this.$1);var t=o("WebBloksUtils").throttle(function(){var e={height:window.innerHeight,width:window.innerWidth};a==null||a.enqueueVariableUpdateOperation(r,e)},e);this.$1=t,window.addEventListener("resize",this.$1)},t})();l.WebBloksViewportDimensionsDataModule=s}),98);
__d("WebBloksEnvironment",["WebBloksDefaultGKs","WebBloksErrors","WebBloksFragment","WebBloksHotReloadDataModule","WebBloksI18nUtils","WebBloksLogger","WebBloksModuleStore","WebBloksViewportDimensionsDataModule","react"],(function(t,n,r,o,a,i,l){var e,s=(e||(e=o("react"))).useState,u={actions:{},analytics:null,AssetRenderer:null,components:{},extensionHandlers:{},containerConfigs:{},disableErrorBoundary:null,traversalKeys:{},disableHistoryStack:!1,enableCometRouter:!1,fontFamilyMappings:null,embedded:!1,allowScreenOverflow:!1,allowFoldingAddressBar:!1,enableScrollRestoration:!1,appLoader:null,logger:new(r("WebBloksLogger")),locale:"en_US",isRtl:!1,accessibilityModule:{FocusAppWrapper:r("WebBloksFragment"),FocusRegion:r("WebBloksFragment")},gkx:new(r("WebBloksDefaultGKs")),staticAssets:null,globalStateStore:null,timeoutIDS:new Map,screenQueryTemplate:null,loadingFallback:null,navigationTrackingUtils:null,dataModulesStore:new Map([["bloks_viewport_dimensions",new(o("WebBloksViewportDimensionsDataModule")).WebBloksViewportDimensionsDataModule],["hot_reload",new(o("WebBloksHotReloadDataModule")).WebBloksHotReloadDataModule]]),controllerNavigationLogger:null};function c(){for(var e,t=(e=window.navigator)==null?void 0:e.languages,n=t!=null&&o("WebBloksI18nUtils").isLocaleRtl(t),a=babelHelpers.extends({},u,{locale:t,isRtl:n}),i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];var c=l.reduce(function(e,t){return m(e,t)},a),d=babelHelpers.extends({},c,{actions:new(r("WebBloksModuleStore"))(c.actions),components:new(r("WebBloksModuleStore"))(c.components),extensionHandlers:new(r("WebBloksModuleStore"))(c.extensionHandlers),containerConfigs:new(r("WebBloksModuleStore"))(c.containerConfigs)});return d}function d(e){return s(e)[0]}function m(e,t){var n,r,o,a,i,l,s,u,c,d,m,_,f,g,h,y,C,b,v,S,R,L,E;return t?{analytics:(n=t.analytics)!=null?n:e.analytics,locale:(r=t.locale)!=null?r:e.locale,isRtl:(o=t.isRtl)!=null?o:e.isRtl,actions:babelHelpers.extends({},e.actions,t.actions),appLoader:(a=t.appLoader)!=null?a:e.appLoader,components:babelHelpers.extends({},e.components,t.components),extensionHandlers:babelHelpers.extends({},e.extensionHandlers,t.extensionHandlers),containerConfigs:babelHelpers.extends({},e.containerConfigs,t.containerConfigs),traversalKeys:babelHelpers.extends({},e.traversalKeys,t.traversalKeys),disableHistoryStack:(i=t.disableHistoryStack)!=null?i:e.disableHistoryStack,enableCometRouter:(l=t.enableCometRouter)!=null?l:e.enableCometRouter,embedded:(s=t.embedded)!=null?s:e.embedded,allowScreenOverflow:(u=t.allowScreenOverflow)!=null?u:e.allowScreenOverflow,allowFoldingAddressBar:(c=t.allowFoldingAddressBar)!=null?c:e.allowFoldingAddressBar,enableScrollRestoration:(d=t.enableScrollRestoration)!=null?d:e.enableScrollRestoration,loadingFallback:(m=t.loadingFallback)!=null?m:e.loadingFallback,dataModulesStore:p(e.dataModulesStore,t.dataModulesStore),navigationTrackingUtils:(_=t.navigationTrackingUtils)!=null?_:e.navigationTrackingUtils,logger:(f=t.logger)!=null?f:e.logger,disableErrorBoundary:(g=t.disableErrorBoundary)!=null?g:e.disableErrorBoundary,AssetRenderer:(h=t.AssetRenderer)!=null?h:e.AssetRenderer,staticAssets:(y=t.staticAssets)!=null?y:e.staticAssets,globalStateStore:(C=t.globalStateStore)!=null?C:e.globalStateStore,fontFamilyMappings:(b=t.fontFamilyMappings)!=null?b:e.fontFamilyMappings,timeoutIDS:(v=t.timeoutIDS)!=null?v:e.timeoutIDS,screenQueryTemplate:(S=t.screenQueryTemplate)!=null?S:e.screenQueryTemplate,accessibilityModule:(R=t.accessibilityModule)!=null?R:e.accessibilityModule,gkx:(L=t.gkx)!=null?L:e.gkx,controllerNavigationLogger:(E=t.controllerNavigationLogger)!=null?E:e.controllerNavigationLogger}:e}function p(e,t){if(!t||t.size===0)return e;var n=new Map(e);for(var r of t){var a=r[0],i=r[1];if(n.has(a))throw new(o("WebBloksErrors")).WebBloksError("Data module with key "+a+" already exists in the environment.");n.set(a,i)}return n}l.WEBLOKS_DEFAULT_ENVIRONMENT=u,l.createEnvironment=c,l.useWebBloksEnvironmentStore=d}),98);
__d("WebBloksFontOverrides",[],(function(t,n,r,o,a,i){"use strict";var e={sfprotext:{webFontName:null},"SF Pro Text":{webFontName:null}},l={"sans-serif":{webFontName:null},"sans-serif-medium":{webFontName:null}},s={"Optimistic Display App":{webFontName:null},"Optimistic Display App Medium":{webFontName:null},"Optimistic Text App":{webFontName:null},"Optimistic Text App Normal":{webFontName:null},"Optimistic Text App Regular":{webFontName:null},"Optimistic Text App Medium":{webFontName:null},"Optimistic Text App Bold":{webFontName:null},"Optimistic Text":{webFontName:null},"Optimistic Text Normal":{webFontName:null},"Optimistic Text Regular":{webFontName:null},"Optimistic Text Medium":{webFontName:null},"Optimistic Text Bold":{webFontName:null}};i.WBLOKS_RESET_SYSTEM_FONTS=e,i.WBLOKS_RESET_FDS_FONTS=l,i.WBLOKS_RESET_OPTIMISTIC_FONTS_AVOID_USING=s}),66);
__d("WebBloksAnimatedAddOnCompleteListener",[],(function(t,n,r,o,a,i){function e(e,t,n){return t.addOnCompleteListener(function(r){return n==null?void 0:n(e,t,r,e.bloksContext)}),t}i.default=e}),66);
__d("WebBloksAnimationsSet",["WebBloksErrors"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){var t=e.animations,n=e.startDelay;this.isCancelled=!1,this.isPaused=!1,this.isInfinite=!1,this.onCompleteListeners=new Set,this.startDelay=0,this.animations=t.slice(),this.startDelay=n||0}var t=e.prototype;return t.play=function(){throw new(o("WebBloksErrors")).WebBloksError("`play` method must be implemented on the subclass of this animation set")},t.addOnCompleteListener=function(t){var e=this,n=0;this.onCompleteListeners.add(t),this.animations.forEach(function(t){var r=function(r){n++,(!r||n===e.animations.length)&&(n=0,e.onCompleteListeners.forEach(function(e){return e(r)}))};t.addOnCompleteListener(r)})},t.removeOnCompleteListener=function(t){this.onCompleteListeners.delete(t)},t.getTotalDuration=function(){throw new(o("WebBloksErrors")).WebBloksError("`getTotalDuration` method must be implemented on the subclass of this animation set")},t.getComputedTimes=function(){throw new(o("WebBloksErrors")).WebBloksError("`getComputedTimes` method must be implemented on the subclass of this animation set")},e})();l.WebBloksAnimationsSet=e}),98);
__d("WebBloksAnimatedUtils",["WebBloksAnimationsSet"],(function(t,n,r,o,a,i,l){function e(e,t){var n;return(n=e.bloksContext.bkContextKeyAnimations.get(t))!=null?n:null}function s(e,t){return e.bloksContext.bkContextKeyAnimations.has(t)}function u(t,n){var r=e(t,n);r==null||r.play(t.bloksContext.bkContextKeyAnimations,n)}function c(t,n){var r=e(t,n);return r==null||r.cancel(),t.bloksContext.bkContextKeyAnimations.delete(n)}function d(e,t,n,r){if(r===void 0&&(r=!0),e.bloksContext.bkContextKeyAnimations.set(t,n),r){var o=function(){c(e,t)};n.addOnCompleteListener(o)}return n}function m(e){var t=e.constructor.name;if(e instanceof o("WebBloksAnimationsSet").WebBloksAnimationsSet)for(var n of e.animations)t+=m(n);return t}l.getAnimationWithToken=e,l.hasAnimationWithToken=s,l.startAnimationWithToken=u,l.deleteAnimationWithToken=c,l.associateAnimationWithToken=d,l.getIDTokenForLegacyAnimation=m}),98);
__d("WebBloksAnimationValue",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){var t=e.animatedValue,n=e.animation,r=e.id;this.isInfinite=!1,this.animatedValue=null,this.onUpdateListeners=new Set,this.onCompleteListeners=new Set,this.$1=null,this.$2=null,this.id=r,this.animatedValue=t,this.animation=n}var t=e.prototype;return t.addUpdateListener=function(t){this.onUpdateListeners.has(t)||this.onUpdateListeners.add(t)},t.removeUpdateListener=function(t){this.onUpdateListeners.delete(t)},t.addOnCompleteListener=function(t){this.onCompleteListeners.add(t)},t.removeOnCompleteListener=function(t){this.onCompleteListeners.delete(t)},t.setAnimatedValue=function(t){this.animatedValue=t},t.getTotalDuration=function(){return this.animation.duration},t.getCurrentTime=function(){var e;return(e=this.$2)!=null?e:0},t.setCurrentTime=function(t){this.$2=t,this.$1=window.performance.now()-this.$2},t.calculateTimelineAnimatedValue=function(t){var e=this.animation,n=e.duration,r=e.format,o=e.from,a=e.interpolator,i=e.to,l=[].concat(o),s=[].concat(i),u=t/n;Number.isNaN(u)&&(u=0);for(var c=[],d=0;d<l.length;d++)s[d]>l[d]?c.push(l[d]+a(u)*(s[d]-l[d])):c.push(l[d]-a(u)*(l[d]-s[d]));return r.apply(void 0,c)},e})();i.WebBloksAnimationValue=e}),66);
__d("WebBloksAnimationsTimeline",["WebBloksAnimationValue","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){var t=this;this.id=null,this.isCancelled=!1,this.isPaused=!1,this.$1=new Set,this.$2=[],this.$3=null,this.$4=null,this.$5=null,this.$14=function(){document.visibilityState==="hidden"&&!t.isPaused?t.pause():document.visibilityState==="visible"&&t.isPaused&&t.resume()},this.$2=this.$6(e)}var t=e.prototype;return t.setID=function(t){this.id=t},t.getID=function(){return this.id},t.play=function(t,n){var e=this;this.isCancelled=!1,this.isPaused=!1;var r=this.$4,a=function(l){if(!(n!=null&&!(t!=null&&t.has(n)))){r=r!=null?r:l;var i=Math.floor(l-r);e.$3=i;var s=e.$7(i);for(var u of s){var c=u[0],d=u[1],m=d.calculateTimelineAnimatedValue(i-c);m!=null&&(d.setAnimatedValue(m),d.onUpdateListeners.forEach(function(e){return e()}))}if(i/e.getTotalDuration()<1)e.$5=window.requestAnimationFrame(a);else{var p=e.$8(),_=p[1];_.isInfinite?(e.$9(),e.$5=window.requestAnimationFrame(a)):e.$10()}o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-animation-frame",{detail:{animationID:e.id,timestamp:e.getCurrentTime()}})}};this.$5=window.requestAnimationFrame(a),this.$11()},t.pause=function(){this.isPaused||(this.isPaused=!0,this.$5!=null&&(window.cancelAnimationFrame(this.$5),this.$5=null),this.$4=null)},t.resume=function(){var e;this.isPaused&&(this.isPaused=!1,this.setCurrentTime((e=this.$3)!=null?e:0),this.play(),o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-animation-resume"))},t.addOnCompleteListener=function(t){this.$1.has(t)||this.$1.add(t)},t.removeOnCompleteListener=function(t){this.$1.delete(t)},t.cancel=function(){this.isCancelled=!0,this.$5!=null&&(window.cancelAnimationFrame(this.$5),this.$5=null),this.$12()},t.getStartTimeToAnimationInstance=function(){return this.$2},t.getTotalDuration=function(){var e=this.$8(),t=e[0],n=e[1];return t+n.getTotalDuration()},t.getCurrentTime=function(){var e;return(e=this.$3)!=null?e:0},t.setCurrentTime=function(t){this.$4=window.performance.now()-t},t.$9=function(){for(var e=this.$13(),t=this.$2.slice(e),n=t[0],r=n[0],o=this.getTotalDuration()-r,a=0;a<e;a++)this.$2.pop();for(var i of t){var l=i[0],s=i[1];this.$2.push([o+l,s])}},t.$7=function(t){return this.$2.filter(function(e){var n=e[0],r=e[1];return t>=n&&t<=n+r.getTotalDuration()})},t.$13=function(){for(var e=this.$2.length-1;e>0;){var t=this.$2[e],n=t[0],r=t[1];r.isInfinite&&e--}return e},t.$10=function(){this.$2.forEach(function(e){var t=e[1];return t.onCompleteListeners.forEach(function(e){return e(!0)})}),this.$1.forEach(function(e){return e(!0)}),this.$4=null,this.$12()},t.$8=function(){var e=Array.from(this.$2);return e[e.length-1]},t.$6=function(t){var e=[],n=function(r){if(!(!r||!r.length)){var t=r[0],a=r[1];if(a instanceof o("WebBloksAnimationValue").WebBloksAnimationValue){e.push([t,a]);return}for(var i of a.getComputedTimes()){var l=i[0],s=i[1];n([t+l,s])}}};return n([0,t]),e},t.$11=function(){window.addEventListener("visibilitychange",this.$14)},t.$12=function(){window.removeEventListener("visibilitychange",this.$14)},e})();l.WebBloksAnimationsTimeline=e}),98);
__d("WebBloksAnimatedBuild",["WebBloksAnimatedUtils","WebBloksAnimationsTimeline"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=new(o("WebBloksAnimationsTimeline")).WebBloksAnimationsTimeline(t);return o("WebBloksAnimatedUtils").associateAnimationWithToken(e,n,r,!1),t}l.default=e}),98);
__d("WebBloksAnimatedCancel",["WebBloksAnimatedUtils","WebBloksAnimationsTimeline"],(function(t,n,r,o,a,i,l){function e(e,t){if(t instanceof o("WebBloksAnimationsTimeline").WebBloksAnimationsTimeline)t.cancel();else{var n=o("WebBloksAnimatedUtils").getIDTokenForLegacyAnimation(t);o("WebBloksAnimatedUtils").deleteAnimationWithToken(e,n)}}l.default=e}),98);
__d("WebBloksAnimatedCancelToken",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){function e(e,t){var n=o("WebBloksAnimatedUtils").getAnimationWithToken(e,t);n!==null&&n.cancel()}l.default=e}),98);
__d("WebBloksAnimationFunctions",[],(function(t,n,r,o,a,i){function e(e,t,n,r){var o=1e-6,a=3*e-3*n+1,i=3*n-6*e,l=3*e,s=3*t-3*r+1,u=3*r-6*t,c=3*t;function d(e){return(3*a*e+2*i)*e+l}function m(e){return((a*e+i)*e+l)*e}function p(e){return((s*e+u)*e+c)*e}function _(e){for(var t=e,n,r,a=0;a<8;a++){if(r=m(t)-e,Math.abs(r)<o)return t;if(n=d(t),Math.abs(n)<o)break;t-=r/n}var i=1,l=0;for(t=e;i>l;){if(r=m(t)-e,Math.abs(r)<o)return t;r>0?i=t:l=t,t=(i+l)/2}return t}function f(e){return p(_(e))}return f}function l(){return e(0,0,1,1)}i.cubicBezier=e,i.linearInterpolator=l}),66);
__d("WebBloksAnimatedCreate",["WebBloksAnimationFunctions","WebBloksAnimationValue","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a,i,l){var s=new(o("WebBloksAnimationValue")).WebBloksAnimationValue({id:""+o("WebBloksUtils").getNextGlobalBloksClientId(),animation:{style:"transform",from:parseFloat(r),to:parseFloat(a),format:function(t){return String(t)},duration:i*1e3,interpolator:l!=null?l:o("WebBloksAnimationFunctions").linearInterpolator()},animatedValue:null});return s.addUpdateListener(function(){t(e,s)}),s.addOnCompleteListener(function(t){n==null||n(e,s,t,e.bloksContext)}),s}l.default=e}),98);
__d("WebBloksAnimatedCreateColor",["WebBloksAnimationFunctions","WebBloksAnimationValue","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a,i,l){var s=new(o("WebBloksAnimationValue")).WebBloksAnimationValue({id:""+o("WebBloksUtils").getNextGlobalBloksClientId(),animation:{style:"color",from:o("WebBloksUtils").convertRGBOrHexStringToArr(r),to:o("WebBloksUtils").convertRGBOrHexStringToArr(a),format:function(t,n,r,a){return a===void 0&&(a=1),o("WebBloksUtils").convertRGBArrToString([t,n,r,a])},duration:i*1e3,interpolator:l!=null?l:o("WebBloksAnimationFunctions").linearInterpolator()},animatedValue:null});return s.addUpdateListener(function(){t(e,s)}),n&&s.addOnCompleteListener(function(t){return n==null?void 0:n(e,s,t,e.bloksContext)}),s}l.default=e}),98);
__d("WebBloksAnimatedCreateCubicBezier",["WebBloksAnimationFunctions"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a){return o("WebBloksAnimationFunctions").cubicBezier(t,n,r,a)}l.default=e}),98);
__d("WebBloksAnimatedCreateDimension",["WebBloksAnimationFunctions","WebBloksAnimationValue","WebBloksDimensionUtils","WebBloksErrors","WebBloksUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r,a,i,l){var s,u=o("WebBloksDimensionUtils").parseDimension(r);if(!u)throw new(o("WebBloksErrors")).WebBloksError("Failed to parse dimension ("+r+")");var c=u.type,d=u.value,m=(s=o("WebBloksDimensionUtils").parseDimension(a))==null?void 0:s.value;if(m==null)throw new(o("WebBloksErrors")).WebBloksError("Failed to parse dimension ("+a+")");var p=new(o("WebBloksAnimationValue")).WebBloksAnimationValue({id:""+o("WebBloksUtils").getNextGlobalBloksClientId(),animation:{style:"transform",from:d,to:m,format:function(t){return o("WebBloksUtils").toPx(String(t)+c)},duration:i*1e3,interpolator:l!=null?l:o("WebBloksAnimationFunctions").linearInterpolator()},animatedValue:null});return p.addUpdateListener(function(){t(e,p)}),n&&p.addOnCompleteListener(function(t){return n==null?void 0:n(e,p,t,e.bloksContext)}),p}l.default=e}),98);
__d("WebBloksAnimatedDestroy",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){function e(e,t){o("WebBloksAnimatedUtils").deleteAnimationWithToken(e,t)}l.default=e}),98);
__d("WebBloksAnimatedGetCurrentColorValue",["WebBloksAnimationValue"],(function(t,n,r,o,a,i,l){function e(e,t){if(t instanceof o("WebBloksAnimationValue").WebBloksAnimationValue)return String(t.animatedValue)}l.default=e}),98);
__d("WebBloksAnimatedGetCurrentDimensionValue",["WebBloksAnimationValue"],(function(t,n,r,o,a,i,l){function e(e,t){if(t instanceof o("WebBloksAnimationValue").WebBloksAnimationValue)return String(t.animatedValue)}l.default=e}),98);
__d("WebBloksAnimatedGetCurrentPlayTime",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){var n=o("WebBloksAnimatedUtils").getAnimationWithToken(e,t);if(n!=null){var r=n.getCurrentTime(),a=r/1e3;return a}return 0}l.default=e}),98);
__d("WebBloksAnimatedGetCurrentValue",["WebBloksAnimationValue"],(function(t,n,r,o,a,i,l){function e(e,t){if(t instanceof o("WebBloksAnimationValue").WebBloksAnimationValue)return parseFloat(t.animatedValue)}l.default=e}),98);
__d("WebBloksAnimatedGetTotalDuration",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){function e(e,t){var n=o("WebBloksAnimatedUtils").getAnimationWithToken(e,t);if(n!=null){var r=n.getTotalDuration(),a=r/1e3;return a}}l.default=e}),98);
__d("WebBloksAnimatedIsInitialized",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){function e(e,t){return o("WebBloksAnimatedUtils").hasAnimationWithToken(e,t)}l.default=e}),98);
__d("WebBloksAnimationsLoopSet",["WebBloksAnimationsSet"],(function(t,n,r,o,a,i,l){var e=["limit"],s=(function(t){function n(n){var r,o=n.limit,a=babelHelpers.objectWithoutPropertiesLoose(n,e);return r=t.call(this,a)||this,r.limit=1/0,r.limit=o||1/0,r}babelHelpers.inheritsLoose(n,t);var r=n.prototype;return r.getTotalDuration=function(){if(this.limit===1/0)return 1/0;var e=this.animations.reduce(function(e,t){return e+t.getTotalDuration()},0);return e*this.limit+this.startDelay},r.getComputedTimes=function(){var e=this.startDelay,t=[],n=this.animations[0];if(this.limit===1/0)return n.isInfinite=!0,[[e,n]];for(var r=0;r<this.limit;r++)t.push([e,n]),e+=n.getTotalDuration();return t},n})(o("WebBloksAnimationsSet").WebBloksAnimationsSet);l.WebBloksAnimationsLoopSet=s}),98);
__d("WebBloksAnimatedLoop",["WebBloksAnimationsLoopSet"],(function(t,n,r,o,a,i,l){function e(e,t,n){var r=new(o("WebBloksAnimationsLoopSet")).WebBloksAnimationsLoopSet({limit:t<0?1/0:t,animations:[n]});return r}l.default=e}),98);
__d("WebBloksAnimationsParallelSet",["WebBloksAnimationsSet"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getTotalDuration=function(){var e=Math.max.apply(Math,this.animations.map(function(e){return e.getTotalDuration()}));return e+this.startDelay},n.getComputedTimes=function(){var e=[];for(var t of this.animations)t.isInfinite=this.isInfinite,e.push([this.startDelay,t]);return e},t})(o("WebBloksAnimationsSet").WebBloksAnimationsSet);l.WebBloksAnimationsParallelSet=e}),98);
__d("WebBloksAnimatedParallel",["WebBloksAnimationsParallelSet"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){var a=new(o("WebBloksAnimationsParallelSet")).WebBloksAnimationsParallelSet({animations:r,startDelay:n*1e3});return t&&a.addOnCompleteListener(function(n){return t==null?void 0:t(e,a,n,e.bloksContext)}),a}l.default=e}),98);
__d("WebBloksAnimatedPause",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){var n=o("WebBloksAnimatedUtils").getAnimationWithToken(e,t);if(n!=null&&!n.isCancelled){var r=n.isPaused;return n.pause(),!r&&n.isPaused}return!1}l.default=e}),98);
__d("WebBloksAnimatedResume",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){var n=o("WebBloksAnimatedUtils").getAnimationWithToken(e,t);if(n!=null&&!n.isCancelled){var r=n.isPaused;return n.resume(),r&&!n.isPaused}return!1}l.default=e}),98);
__d("WebBloksAnimationsSequenceSet",["WebBloksAnimationsSet"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getTotalDuration=function(){var e=this.animations.reduce(function(e,t){return e+t.getTotalDuration()},0);return e+this.startDelay},n.getComputedTimes=function(){var e=this.startDelay,t=[];for(var n of this.animations)n.isInfinite=this.isInfinite,t.push([e,n]),e+=n.getTotalDuration();return t},t})(o("WebBloksAnimationsSet").WebBloksAnimationsSet);l.WebBloksAnimationsSequenceSet=e}),98);
__d("WebBloksAnimatedSequence",["WebBloksAnimationsSequenceSet"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,r){var a=new(o("WebBloksAnimationsSequenceSet")).WebBloksAnimationsSequenceSet({animations:t,startDelay:r*1e3});return n&&a.addOnCompleteListener(function(t){return n==null?void 0:n(e,a,t,e.bloksContext)}),a}l.default=e}),98);
__d("WebBloksAnimatedSetCurrentPlayTime",["WebBloksAnimatedUtils"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){var r=o("WebBloksAnimatedUtils").getAnimationWithToken(e,t);if(r!=null&&n!=null){var a=n*1e3;r.setCurrentTime(a)}}l.default=e}),98);
__d("WebBloksAnimationsStaggerSet",["WebBloksAnimationsSet"],(function(t,n,r,o,a,i,l){var e=["delay"],s=(function(t){function n(n){var r,o=n.delay,a=babelHelpers.objectWithoutPropertiesLoose(n,e);return r=t.call(this,a)||this,r.delay=0,r.delay=o,r}babelHelpers.inheritsLoose(n,t);var r=n.prototype;return r.getTotalDuration=function(){var e=this,t=this.animations.map(function(t,n){return t.getTotalDuration()+n*e.delay}),n=Math.max.apply(Math,t);return n+this.startDelay},r.getComputedTimes=function(){var e=this.startDelay,t=[];for(var n of this.animations)n.isInfinite=this.isInfinite,t.push([e,n]),e+=this.delay;return t},n})(o("WebBloksAnimationsSet").WebBloksAnimationsSet);l.WebBloksAnimationsStaggerSet=s}),98);
__d("WebBloksAnimatedStagger",["WebBloksAnimationsStaggerSet"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){var r=new(o("WebBloksAnimationsStaggerSet")).WebBloksAnimationsStaggerSet({animations:n,delay:t*1e3});return r}l.default=e}),98);
__d("WebBloksAnimatedStart",["WebBloksAnimatedUtils","WebBloksAnimationsTimeline","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t){var n=e.bloksContext.loggingIDForInternalFrameworkUseOnly,r={detail:{loggingID:n}};if(t instanceof o("WebBloksAnimationsTimeline").WebBloksAnimationsTimeline)t.play(),r.detail=babelHelpers.extends({},r.detail,{animationID:t.getID()});else{var a=new(o("WebBloksAnimationsTimeline")).WebBloksAnimationsTimeline(t),i=o("WebBloksAnimatedUtils").getIDTokenForLegacyAnimation(t);a.setID(i),r.detail=babelHelpers.extends({},r.detail,{animationID:a.getID()}),o("WebBloksAnimatedUtils").associateAnimationWithToken(e,i,a,!1),o("WebBloksAnimatedUtils").startAnimationWithToken(e,i)}o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-animation-start",r);var l=function(){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-animation-end",r),t==null||t.removeOnCompleteListener(l)};t==null||t.addOnCompleteListener(l)}l.default=e}),98);
__d("WebBloksAnimatedStartToken",["WebBloksAnimatedUtils","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t){var n=o("WebBloksAnimatedUtils").getAnimationWithToken(e,t);n!=null&&n.setID(t),o("WebBloksAnimatedUtils").startAnimationWithToken(e,t);var r=e.bloksContext.loggingIDForInternalFrameworkUseOnly,a={detail:{animationID:t,loggingID:r}};o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-animation-start",a);var i=function(){o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-animation-end",a),n==null||n.removeOnCompleteListener(i)};n==null||n.addOnCompleteListener(i)}l.default=e}),98);
__d("WebBloksCollectionScrollToIndexById",["WebBloksCollectionScrollTo"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){if(t.uiMutableContainer.domNode){var r=n.getValues(),a=r.animated,i=r.target_id,l=t.getSubNodes("children");if(!(l==null||l.length===0)){for(var s=0;s<l.length;s++)if(l[s].getId()===i){o("WebBloksCollectionScrollTo").scrollWebBloksCollectionToIndex(t,{index:s,isAnimated:a});break}}}}l.default=e}),98);
__d("WebBloksCollectionSetIndex",["WebBloksCollectionScrollTo"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,r){t.uiMutableContainer.domNode&&o("WebBloksCollectionScrollTo").scrollWebBloksCollectionToIndex(t,{index:n,isAnimated:r})}l.default=e}),98);
__d("WebBloksScreenClose",["WebBloksBooleanUtils","WebBloksErrors"],(function(t,n,r,o,a,i,l){function e(e,t){var n=t.getValues(),r=n.is_inclusive,a=n.screen_id,i=n.type;if(i==null)throw new(o("WebBloksErrors")).WebBloksError("WebBloksScreenCloseType must be provided to close a screen");e.objectSet.navigationManager.close(i,a!=null?a:void 0,r!=null?o("WebBloksBooleanUtils").isTrue(r):void 0)}l.default=e}),98);
__d("WebBloksScreenOpen",["WebBloksContainerConfig","WebBloksErrors","WebBloksPayloadParser","WebBloksScreen","webBloksPerformanceUtils"],(function(t,n,r,o,a,i,l){function e(e,t,n,r){var a=e.bloksContext.objectSet.environment,i=a.navigationTrackingUtils,l=a.screenQueryTemplate,s=a.traversalKeys;if(l==null)throw new(o("WebBloksErrors")).WebBloksError("Missing screen query template when calling bk.action.screen.Open");var u=t.get("props"),c=u.__infra__app_id,d=u.__infra__screen_id,m=o("WebBloksContainerConfig").getContainerConfig(e.bloksContext,n),p={initialContainer:{model:n,config:m},screenId:d!=null?String(d):void 0};o("webBloksPerformanceUtils").addWebBloksPerformanceMark("--web-bloks-ttrc-start",{detail:{appId:String(c)}}),i==null||i.startNavigationCallback(String(c));var _=o("WebBloksPayloadParser").parseTree(l,s),f=o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(e.bloksContext.objectSet,_,p,u,t.get("url_relative_path")),g=t.get("controller_name");g!=null&&(f.controllerName=g),e.objectSet.navigationManager.open(f,r),e.objectSet.navigationManager.setScreenController(f)}l.default=e}),98);
__d("WebBloksTooltipConstants",[],(function(t,n,r,o,a,i){var e=!1;i.ANIMATE_TOOLTIP_ON_ENTRY_AND_EXIT=e}),66);
__d("WebBloksTooltipHide",["WebBloksConstants","WebBloksTooltipConstants"],(function(t,n,r,o,a,i,l){function e(e,t){var n=t.getExpression("on_visibility_update");if(e.bloksContext.updateAssociatedObject_INTERNAL(t,o("WebBloksConstants").TOOLTIP_VISIBILITY_ASSOCIATED_OBJECT,{visible:!1}),n!=null){var r=e.createBloksModelScopedContext(t.keyPath);r.executeCatch(n.getValue(),[!1,o("WebBloksTooltipConstants").ANIMATE_TOOLTIP_ON_ENTRY_AND_EXIT])}}l.default=e}),98);
__d("WebBloksTooltipShow",["WebBloksConstants","WebBloksTooltipConstants"],(function(t,n,r,o,a,i,l){function e(e,t){var n=t.getExpression("on_visibility_update");if(e.bloksContext.updateAssociatedObject_INTERNAL(t,o("WebBloksConstants").TOOLTIP_VISIBILITY_ASSOCIATED_OBJECT,{visible:!0}),n!=null){var r=e.createBloksModelScopedContext(t.keyPath);r.executeCatch(n.getValue(),[!0,o("WebBloksTooltipConstants").ANIMATE_TOOLTIP_ON_ENTRY_AND_EXIT])}}l.default=e}),98);
__d("StdlibWebBloksActions",["WebBloksAnimatedAddOnCompleteListener","WebBloksAnimatedBuild","WebBloksAnimatedCancel","WebBloksAnimatedCancelToken","WebBloksAnimatedCreate","WebBloksAnimatedCreateColor","WebBloksAnimatedCreateCubicBezier","WebBloksAnimatedCreateDimension","WebBloksAnimatedDestroy","WebBloksAnimatedGetCurrentColorValue","WebBloksAnimatedGetCurrentDimensionValue","WebBloksAnimatedGetCurrentPlayTime","WebBloksAnimatedGetCurrentValue","WebBloksAnimatedGetTotalDuration","WebBloksAnimatedIsInitialized","WebBloksAnimatedLoop","WebBloksAnimatedParallel","WebBloksAnimatedPause","WebBloksAnimatedResume","WebBloksAnimatedSequence","WebBloksAnimatedSetCurrentPlayTime","WebBloksAnimatedStagger","WebBloksAnimatedStart","WebBloksAnimatedStartToken","WebBloksCollectionScrollToIndexById","WebBloksCollectionSetIndex","WebBloksDummy","WebBloksScreenClose","WebBloksScreenOpen","WebBloksTooltipHide","WebBloksTooltipShow"],(function(t,n,r,o,a,i,l){var e={"bk.action.animated.AddOnCompleteListener":r("WebBloksAnimatedAddOnCompleteListener"),"bk.action.animated.Build":r("WebBloksAnimatedBuild"),"bk.action.animated.Cancel":r("WebBloksAnimatedCancel"),"bk.action.animated.CancelToken":r("WebBloksAnimatedCancelToken"),"bk.action.animated.CancelWithToken":r("WebBloksDummy"),"bk.action.animated.Create":r("WebBloksAnimatedCreate"),"bk.action.animated.CreateColor":r("WebBloksAnimatedCreateColor"),"bk.action.animated.CreateDimension":r("WebBloksAnimatedCreateDimension"),"bk.action.animated.Destroy":r("WebBloksAnimatedDestroy"),"bk.action.animated.GetCurrentColorValue":r("WebBloksAnimatedGetCurrentColorValue"),"bk.action.animated.GetCurrentDimensionValue":r("WebBloksAnimatedGetCurrentDimensionValue"),"bk.action.animated.GetCurrentPlayTime":r("WebBloksAnimatedGetCurrentPlayTime"),"bk.action.animated.GetCurrentValue":r("WebBloksAnimatedGetCurrentValue"),"bk.action.animated.GetTotalDuration":r("WebBloksAnimatedGetTotalDuration"),"bk.action.animated.IsInitialized":r("WebBloksAnimatedIsInitialized"),"bk.action.animated.Loop":r("WebBloksAnimatedLoop"),"bk.action.animated.Parallel":r("WebBloksAnimatedParallel"),"bk.action.animated.Pause":r("WebBloksAnimatedPause"),"bk.action.animated.Resume":r("WebBloksAnimatedResume"),"bk.action.animated.Sequence":r("WebBloksAnimatedSequence"),"bk.action.animated.SetCurrentPlayTime":r("WebBloksAnimatedSetCurrentPlayTime"),"bk.action.animated.Stagger":r("WebBloksAnimatedStagger"),"bk.action.animated.Start":r("WebBloksAnimatedStart"),"bk.action.animated.StartToken":r("WebBloksAnimatedStartToken"),"bk.action.animated.StartWithToken":r("WebBloksDummy"),"bk.action.animated.easing.CreateCubicBezier":r("WebBloksAnimatedCreateCubicBezier"),"bk.action.collection.ScrollToIndexById":r("WebBloksCollectionScrollToIndexById"),"bk.action.collection.SetIndex":r("WebBloksCollectionSetIndex"),"bk.action.screen.Close":r("WebBloksScreenClose"),"bk.action.screen.Open":r("WebBloksScreenOpen"),"bk.action.tooltip.Hide":r("WebBloksTooltipHide"),"bk.action.tooltip.Show":r("WebBloksTooltipShow")};l.ACTIONS=e}),98);
__d("stdlibTraversalKeys",[],(function(t,n,r,o,a,i){var e={"bk.components.Tooltip":{subnodes:["_style","margin","child","decoration"],plural_subnodes:["extensions","child_templates"]},"bk.components.TooltipContainer":{subnodes:["_style","tooltip","child"],plural_subnodes:["extensions","child_templates"]},"bk.components.screen.ScreenWrapper":{subnodes:["_style","content","container_config","navigation_callbacks"],plural_subnodes:["extensions","child_templates"]},"bk.data.ComposableTextSpan":{plural_subnodes:["styles","spans","child_templates"]},"bk.data.ImageSpan":{subnodes:["image_component","image_margin"],plural_subnodes:["styles","child_templates"]},"bk.data.TextSpan":{subnodes:["text_provider"],plural_subnodes:["styles","child_templates"]},"bk.data.screen.CloseParams":{subnodes:["container_options"],plural_subnodes:["child_templates"]},"bk.data.screen.ScreenConfig":{subnodes:["prebundled_template"],plural_subnodes:["child_templates"]},"bk.AnyComponent":{subnodes:["style"],plural_subnodes:["extensions","child_templates"]},"bk.components.BoxDecoration":{subnodes:["background","foreground","corner_fill_themed_color","border_themed_color","shadow_themed_color","contrib","spot_shadow_color","ambient_shadow_color"],plural_subnodes:["child_templates"]},"bk.components.Image":{subnodes:["_style","color_filter","contrib","progress_ring_color","focus_point","placeholder_color"],plural_subnodes:["extensions","child_templates"]}},l=e;i.default=l}),66);
__d("StdlibWebBloksEnvironmentConfigDynamic",["StdlibWebBloksActions","stdlibTraversalKeys"],(function(t,n,r,o,a,i,l){var e={actions:o("StdlibWebBloksActions").ACTIONS,traversalKeys:r("stdlibTraversalKeys")};l.STDLIB_ENVIRONMENT_CONFIG=e}),98);
__d("WebBloksAssetRenderer",["CometVisualCompletionAttributes","URI","WebBloksStyle","coerceImageishSprited","coerceImageishURL","getImageSourceURLFromImageish","react"],(function(t,n,r,o,a,i,l){"use strict";var e=["ref"],s=["src","style"],u,c,d=c||(c=o("react"));function m(e){return e instanceof(u||(u=r("URI")))?e.toString():e}function p(t){var n=t.ref,a=babelHelpers.objectWithoutPropertiesLoose(t,e),i=o("WebBloksStyle").classNames(a.className,"img"),l=m(a.src);if(l==null)return d.jsx("img",babelHelpers.extends({},a,{className:i}));var u=r("coerceImageishSprited")(l),c=u&&a.alt!=null&&String(a.alt)!==""?d.jsx("u",{children:a.alt}):null;if(typeof l=="string")return d.jsx("img",babelHelpers.extends({},a,{className:i,src:l,children:c}));if(u){var p=a.src,_=a.style,f=babelHelpers.objectWithoutPropertiesLoose(a,s);return d.jsx("i",babelHelpers.extends({},f,r("CometVisualCompletionAttributes").CSS_IMG,{className:o("WebBloksStyle").classNames(i,u.type==="css"?u.className:void 0),ref:n,style:u.type==="cssless"?babelHelpers.extends({},_,u.style):_,children:c}))}var g=r("getImageSourceURLFromImageish")(l),h=r("coerceImageishURL")(l);return a.width===void 0&&a.height===void 0&&h?d.jsx("img",babelHelpers.extends({},a,{className:i,height:h.height,src:g,ref:n,width:h.width,children:c})):d.jsx("img",babelHelpers.extends({},a,{className:i,ref:n,src:g,children:c}))}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98);
__d("WebBloksHasteAnimationFrameRateAnalytics",["Promise","QuickPerformanceLogger","WebBloksErrors","qpl"],(function(t,n,r,o,a,i,l){var e,s,u=60,c=[30,48,u,120,240,300],d="sfd",m="lfd",p="animation_key",_="bloks_logging_id",f="ts",g=r("qpl")._(36713009,"1890"),h=0,y=(function(){function t(){this.$1=null,this.$2=null,this.$3()}var a=t.prototype;return a.$3=function(){var e=this;try{this.$4().then(function(t){e.$1=t})}catch(e){throw new(o("WebBloksErrors")).WebBloksError("Failed to initialize WebBloksHasteAnimationFrameRateAnalytics")}},a.$5=function(t){return c.reduce(function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e})},a.$4=function(){var e=this;return new(s||(s=n("Promise")))(function(t){window.requestAnimationFrame(function(n){window.requestAnimationFrame(function(r){return t(n<r?e.$5(1e3/(r-n)):u)})})})},a.reset=function(){this.$2=null},a.resume=function(t){this.$2=t},a.incrementDroppedFrames=function(n,o,a){var t=this.$1,i=this.$2;if(t!==null&&i!==null&&o>i){var l=o-i,s=1e3/t,u=Math.max(Math.round(l/s)-1,0),c=u>=4?u/4:0,p=n!=null?this.$6(n):h,_=(e||(e=r("QuickPerformanceLogger"))).getMarker(g,p);if(_!=null){var y,C,b,v,S,R=(y=_.annotations)==null?void 0:y.int,L=((C=R==null?void 0:R[d])!=null?C:0)+u,E=((b=R==null?void 0:R[m])!=null?b:0)+c;(e||(e=r("QuickPerformanceLogger"))).markerAnnotate(g,{int:(v={},v[d]=L,v[f]=a,v),double:(S={},S[m]=E,S)},{instanceKey:p})}}this.$2=o},a.onStart=function(n,o){var t;this.$2=null;var a=n!=null?this.$6(n):h;(e||(e=r("QuickPerformanceLogger"))).markerStart(g,a),e.markerAnnotate(g,{string:(t={},t[p]=n,t[_]=o,t)},{instanceKey:a})},a.onEnd=function(n){var t=n!=null?this.$6(n):h;(e||(e=r("QuickPerformanceLogger"))).markerEnd(g,2,t)},a.$6=function(t){for(var e=0,n=0;n<t.length;n++){var r=t.charCodeAt(n);e=(e<<5)-e+r,e&=e}return Math.abs(e)},t})();l.default=y}),98);
__d("WebBloksHasteAsyncActionAnalytics",["QuickPerformanceLogger","Random","guid","qpl"],(function(t,n,r,o,a,i,l){var e,s=Math.round(o("Random").random()*1e3),u=r("qpl")._(36707139,"1111"),c=r("guid")(),d=(function(){function t(){this.$1=u,this.$1=u}var n=t.prototype;return n.onStart=function(n,o){(e||(e=r("QuickPerformanceLogger"))).markerStartForJoin(this.$1,c,{instanceKey:s,monotonicTimestamp:n,cancelExisting:!0}),e.markerAnnotate(this.$1,{string:{app_id:o}},{instanceKey:s})},n.onEnd=function(n){(e||(e=r("QuickPerformanceLogger"))).markerEnd(this.$1,2,s,n.startTime)},n.onCancel=function(){(e||(e=r("QuickPerformanceLogger"))).markerDrop(this.$1,s)},t})();l.default=d}),98);
__d("WebBloksHasteTTRCAnalytics",["QuickPerformanceLogger","Random","guid","qpl"],(function(t,n,r,o,a,i,l){var e,s=Math.round(o("Random").random()*1e3),u=r("qpl")._(719983200,"2401"),c=r("qpl")._(720000263,"2371"),d=r("guid")(),m=(function(){function t(){this.$1=u,this.$1=u}var n=t.prototype;return n.setMarkerId=function(t){t===720000263?this.$1=c:this.$1=u},n.onStart=function(n,o){(e||(e=r("QuickPerformanceLogger"))).markerStartForJoin(this.$1,d,{instanceKey:s,monotonicTimestamp:n,cancelExisting:!0}),e.markerAnnotate(this.$1,{string:{app_id:o}},{instanceKey:s})},n.onEnd=function(n){(e||(e=r("QuickPerformanceLogger"))).markerEnd(this.$1,2,s,n.startTime)},t})();l.default=m}),98);
__d("WebBloksHasteAnalytics",["WebBloksHasteAnimationFrameRateAnalytics","WebBloksHasteAsyncActionAnalytics","WebBloksHasteTTRCAnalytics"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(){this.performanceObserver=null,this.$3=null,this.$2=new(r("WebBloksHasteAsyncActionAnalytics")),this.$1=new(r("WebBloksHasteTTRCAnalytics"))}var t=e.prototype;return t.$4=function(){var e=this;window.PerformanceObserver!=null&&(this.performanceObserver=new PerformanceObserver(function(t){t.getEntries().forEach(function(t){var n,r=t.entryType,o=t.name;if(!(o==null&&r!=="mark")){var a=(n=t==null?void 0:t.detail)!=null?n:null;switch(o){case"--web-bloks-ttrc-start":{var i;if((a==null?void 0:a.markerId)!=null){var l;(l=e.$1)==null||l.setMarkerId(a==null?void 0:a.markerId)}(i=e.$1)==null||i.onStart(t.startTime,a==null?void 0:a.appId);break}case"--web-bloks-ttrc-end":{var s;(s=e.$1)==null||s.onEnd(t);break}case"--web-bloks-animation-start":{var u,c;(u=e.$3)==null||u.onStart((c=a==null?void 0:a.animationID)!=null?c:null,a==null?void 0:a.loggingID);break}case"--web-bloks-animation-frame":{var d,m;(d=e.$3)==null||d.incrementDroppedFrames((m=a==null?void 0:a.animationID)!=null?m:null,t.startTime,a==null?void 0:a.timestamp);break}case"--web-bloks-animation-resume":{var p;(p=e.$3)==null||p.resume(t.startTime);break}case"--web-bloks-animation-end":{var _;(_=e.$3)==null||_.onEnd(a==null?void 0:a.animationID);break}case"--web-bloks-async-action-start":{e.$2.onStart(t.startTime,a==null?void 0:a.appId);break}case"--web-bloks-async-action-success":{var f;(f=e.$2)==null||f.onEnd(t);break}case"--web-bloks-async-action-error":{e.$2.onCancel();break}}}})}))},t.subscribe=function(){var e,t=this;return this.performanceObserver==null&&this.$4(),(e=this.performanceObserver)==null||e.observe({entryTypes:["mark"]}),function(){return t.$5()}},t.$5=function(){var e;(e=this.performanceObserver)==null||e.disconnect()},t.subscribeFrameRate=function(){var e=this;return this.$3=new(r("WebBloksHasteAnimationFrameRateAnalytics")),function(){var t;return(t=e.$3)==null?void 0:t.reset()}},e})();l.default=e}),98);
__d("WebBloksHasteGKs",["WebBloksEnvironmentTypes","gkx"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(){return e.call(this,new Map([["frl_xmds_3_gradient_animation_opt_out",r("gkx")("8611")]]))||this}return babelHelpers.inheritsLoose(t,e),t})(o("WebBloksEnvironmentTypes").WebBloksGKs);l.default=e}),98);
__d("WebBloksHasteLogger",["FBLogger"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(){}var t=e.prototype;return t.warn=function(n,o){for(var t=arguments.length,a=new Array(t>2?t-2:0),i=2;i<t;i++)a[i-2]=arguments[i];if(o instanceof Error){var l;(l=r("FBLogger")(e.FBLOGGER_DEFAULT_PROJECT).catching(o)).info.apply(l,[n].concat(a))}else{var s;(s=r("FBLogger")(e.FBLOGGER_DEFAULT_PROJECT)).info.apply(s,[n,o].concat(a))}},t.mustfix=function(n,o){for(var t=arguments.length,a=new Array(t>2?t-2:0),i=2;i<t;i++)a[i-2]=arguments[i];if(o instanceof Error){var l;(l=r("FBLogger")(e.FBLOGGER_DEFAULT_PROJECT).catching(o)).mustfix.apply(l,[n].concat(a))}else{var s;(s=r("FBLogger")(e.FBLOGGER_DEFAULT_PROJECT)).mustfix.apply(s,[n,o].concat(a))}},t.scriptError=function(t){var e,n,o=(e=(n=t.stackFrame)==null?void 0:n.toArray())!=null?e:["(unknown)"],a=o.join().replaceAll(":","<colon>"),i="wbloks_script_error";t instanceof Error?r("FBLogger")(i).addMetadata("WEBBLOKS","CLIENT_ERROR_STACK",a).catching(t).mustfix(t.message):r("FBLogger")(i).addMetadata("WEBBLOKS","CLIENT_ERROR_STACK",a).mustfix(t.message,t)},e})();e.FBLOGGER_DEFAULT_PROJECT="wbloks",l.default=e}),98);
__d("WebBloksHasteUtils",["CurrentLocale"],(function(t,n,r,o,a,i,l){"use strict";function e(){var e=r("CurrentLocale").get().split("_"),t=e[0],n=e[1];return t+"-"+n.toUpperCase()}l.getLocaleFromServer=e}),98);
__d("XWebBloksAsyncRawController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/async/wbloks/fetch/",{appid:{type:"String"},params:{type:"String"},type:{type:"Enum",enumType:1},debug_tooling_metadata_token:{type:"String"}})}),null);
__d("WebBloksHasteEnvironmentDynamic",["ix","ACQWebBloksEnvironmentConfigDynamic","CoreWebBloksEnvironmentConfigDynamic","HasteSharedWebBloksActions","ScriptPath","StdlibWebBloksEnvironmentConfigDynamic","WebBloksAssetRenderer","WebBloksEnvironment","WebBloksHasteAnalytics","WebBloksHasteAppLoader","WebBloksHasteGKs","WebBloksHasteLogger","WebBloksHasteUtils","WebBloksI18nUtils","WebBloksUtils","XWebBloksAsyncRawController"],(function(t,n,r,o,a,i,l,s){"use strict";var e={navCross:s("1356754"),settings:s("1361369"),nav3DotHorizontal:s("184566"),chevronLeft:s("1362297"),chevronLeftDark:s("166735"),chevronLeft24:s("1296473"),appMessenger:s("1350889"),navIcon:s("1729923"),navShoppingCart:s("1795210"),navInfoCircle:s("1346159")};function u(){for(var t=o("WebBloksHasteUtils").getLocaleFromServer(),n=o("WebBloksI18nUtils").isLocaleRtl(t),a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return o("WebBloksEnvironment").createEnvironment.apply(void 0,[o("CoreWebBloksEnvironmentConfigDynamic").CORE_ENVIRONMENT_CONFIG,o("StdlibWebBloksEnvironmentConfigDynamic").STDLIB_ENVIRONMENT_CONFIG,o("ACQWebBloksEnvironmentConfigDynamic").ACQ_ENVIRONMENT_CONFIG,{analytics:new(r("WebBloksHasteAnalytics")),appLoader:new(o("WebBloksHasteAppLoader")).WebBloksHasteAppLoader(r("XWebBloksAsyncRawController")),actions:o("HasteSharedWebBloksActions").ACTIONS,navigationTrackingUtils:null,logger:new(r("WebBloksHasteLogger")),AssetRenderer:o("WebBloksUtils").cast(r("WebBloksAssetRenderer")),controllerNavigationLogger:{setCurrentController:function(t){return o("ScriptPath").set(t)},getCurrentController:function(){return o("ScriptPath").getScriptPath()}},staticAssets:e,locale:t,isRtl:n,gkx:new(r("WebBloksHasteGKs"))}].concat(i))}l.createWebBloksHasteEnvironment=u}),98);
__d("igWebTraversalKeys",[],(function(t,n,r,o,a,i){var e={"bk.components.BottomSheet":{subnodes:["_style","content","android_navigation_bar_color","configuration"],plural_subnodes:["extensions","child_templates"]},"bk.components.StoryViewerTooltip":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"bk.components.StoryViewerTooltipExtension":{subnodes:["tooltip"],plural_subnodes:["child_templates"]},"bk.components.VideoV2":{subnodes:["_style","player_identifier"],plural_subnodes:["extensions","video_versions","child_templates"]},"bk.components.ig.FixedPositionBox":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.components.ig.ccs.SupportUserChatThread":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"bk.components.ig.igds.RadioButton":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"bk.components.ig.ufac.ImagePicker":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"bk.components.ig.ufac.Recaptcha":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"bk.components.ig.ufac.StickyHeader":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"bk.data.consent.container.DialogOptions":{subnodes:["background_color"],plural_subnodes:["child_templates"]},"bk.data.contrib.screen.navbar.Ig":{subnodes:["custom_title","left_button","tint_color"],plural_subnodes:["right_buttons","child_templates"]},"bk.data.screen.containerconfig.bottomsheet.Ig":{subnodes:["navbar","safe_area_padding","android_edge_to_edge_config"],plural_subnodes:["child_templates"]},"bk.data.screen.containerconfig.fullscreen.Ig":{subnodes:["navbar","safe_area_padding","android_edge_to_edge_config"],plural_subnodes:["child_templates"]},"bk.data.screen.navbar.Ig":{subnodes:["title_component","tint_color","left_button"],plural_subnodes:["right_buttons","child_templates"]},"bk.data.screen.navbar.bottomsheet.Ig":{subnodes:["trailing_button"],plural_subnodes:["child_templates"]},"ig.component.DatePicker":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"ig.components.ActionSheet":{subnodes:["header","primary_text","secondary_text"],plural_subnodes:["items","child_templates"]},"ig.components.BottomSheet":{subnodes:["_style","content"],plural_subnodes:["extensions","child_templates"]},"ig.components.ConfirmationCode":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"ig.components.FollowButton":{subnodes:["_style","target_user"],plural_subnodes:["extensions","child_templates"]},"ig.components.GradientText":{subnodes:["_style"],plural_subnodes:["extensions","gradient_colors","child_templates"]},"ig.components.Icon":{subnodes:["_style","tint_themed_color"],plural_subnodes:["extensions","child_templates"]},"ig.components.LanguageSwitcher":{subnodes:["_style"],plural_subnodes:["extensions","children","child_templates"]},"ig.components.PhoneNumberInput":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"ig.components.Popover":{subnodes:["_style"],plural_subnodes:["extensions","children","content","child_templates"]},"ig.components.Search":{subnodes:["_style"],plural_subnodes:["extensions","null_state_models","child_templates"]},"ig.components.ShoppingNavBarExtension":{subnodes:["menu","color"],plural_subnodes:["child_templates"]},"ig.components.Spinner":{subnodes:["_style","tint_color"],plural_subnodes:["extensions","child_templates"]},"ig.components.Stepper":{subnodes:["_style"],plural_subnodes:["extensions","child_templates"]},"ig.components.Switch":{subnodes:["_style","off_color","on_color"],plural_subnodes:["extensions","child_templates"]},"ig.components.UserAvatar":{subnodes:["_style","user"],plural_subnodes:["extensions","child_templates"]},"ig.components.dialog.Dialog":{subnodes:["primary_button","auxillary_button","negative_button","header_data","facepile","audio_guidance_button","auxiliary_button_icon","rich_message"],plural_subnodes:["child_templates"]},"ig.components.dialog.Header":{subnodes:["icon"],plural_subnodes:["child_templates"]},"ig.components.linechart.CanvasV2":{plural_subnodes:["y_axis_tick_marks","x_axis_tick_marks","child_templates"]},"ig.components.linechart.ChartV2":{subnodes:["_style","canvas","reference_line_color"],plural_subnodes:["extensions","primary_series_list","secondary_series_list","upper_level_series_list","lower_level_series_list","middle_series_list","benchmark_percentage_datapoint_list","child_templates"]},"ig.components.linechart.LineSeriesV2":{subnodes:["stroke_color","negative_stroke_color","negative_fill_color","fill_color"],plural_subnodes:["data_points","child_templates"]},"ig.components.screens.Navbar":{subnodes:["custom_title","left_button","tint_color"],plural_subnodes:["right_buttons","child_templates"]},"ig.components.screens.NavbarButton":{subnodes:["_style","badge"],plural_subnodes:["extensions","child_templates"]},"ig.components.screens.Screen":{subnodes:["initial_content","navbar"],plural_subnodes:["child_templates"]},"ig.data.SearchResultItem":{subnodes:["content"],plural_subnodes:["child_templates"]},"bk.AnyComponent":{subnodes:["style"],plural_subnodes:["extensions","child_templates"]},"bk.components.RichText":{subnodes:["_style","truncation_string_themed_color","link_highlight_themed_color","keyboard_link_highlight_themed_color","link_highlight_text_themed_color","background_color","selection_handle_color"],plural_subnodes:["extensions","children","gradient_colors","truncation_spans","spans","spans_for_truncation","child_templates"]}},l=e;i.default=l}),66);
__d("IGWebBloksEnvironment",["CAAPasskeyWebBloksEnvironmentConfigDynamic","CAAWebBloksEnvironmentConfigDynamic","CDSWebBloksEnvironmentConfigDynamic","CDSWebBloksOptimisticFonts","IGCAAWebBloksEnvironmentConfigDynamic","IGWebBloksContainerConfigs","IGWebBloksExtensionHandlers","IgWebWebBloksActions","IgWebWebBloksScreenQueryRootTemplate","WebBloksEnvironment","WebBloksFontOverrides","WebBloksHasteEnvironmentDynamic","WebBloksUtils","igWebTraversalKeys"],(function(t,n,r,o,a,i,l){"use strict";function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o("WebBloksHasteEnvironmentDynamic").createWebBloksHasteEnvironment.apply(void 0,[{actions:o("IgWebWebBloksActions").ACTIONS,containerConfigs:o("IGWebBloksContainerConfigs").CONTAINER_CONFIGS,disableHistoryStack:!0,extensionHandlers:o("IGWebBloksExtensionHandlers").EXTENSION_HANDLERS,fontFamilyMappings:babelHelpers.extends({},o("WebBloksFontOverrides").WBLOKS_RESET_FDS_FONTS,o("CDSWebBloksOptimisticFonts").OPTIMISTIC_WEB_FONT_MAPPINGS),screenQueryTemplate:o("WebBloksUtils").cast(o("IgWebWebBloksScreenQueryRootTemplate").TEMPLATE),traversalKeys:r("igWebTraversalKeys")},o("CDSWebBloksEnvironmentConfigDynamic").CDS_ENVIRONMENT_CONFIG,o("CAAWebBloksEnvironmentConfigDynamic").CAA_ENVIRONMENT_CONFIG,o("CAAPasskeyWebBloksEnvironmentConfigDynamic").CAA_PASSKEY_ENVIRONMENT_CONFIG,o("IGCAAWebBloksEnvironmentConfigDynamic").IGCAA_ENVIRONMENT_CONFIG].concat(t))}function s(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return o("WebBloksEnvironment").useWebBloksEnvironmentStore(function(){return e.apply(void 0,n)})}l.createIGWebBloksEnvironment=e,l.useIGBloksEnvironment=s}),98);
__d("WebBloksCoreBottomSheetForIG",["InstagramWebBloksDialogContext.react","PolarisIGCoreSheetOrModal.react","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useContext,m=u.useEffect;function p(e){var t=e.headerLeftAlign,n=e.headerSize,a=e.hideBackButton,i=a===void 0?!1:a,l=e.hideCloseButton,u=l===void 0?!1:l,p=e.isModalOverlayTransparent,_=p===void 0?!1:p,f=e.modalClassName,g=e.node,h=d(r("InstagramWebBloksDialogContext.react")),y=h.onClose,C=o("WebBloksComponentContext").useWebBloksContext(),b=g.getValues(),v=b.disable_popping_all_modals,S=g.getExpression("on_dismiss"),R=o("WebBloksBooleanUtils").isTrue(v),L=c(function(){C.objectSet.navigationManager.getModalCount()<=1&&y(),C.objectSet.navigationManager.pop()},[C.objectSet.navigationManager,y]),E=c(function(){R?C.objectSet.navigationManager.pop():C.objectSet.navigationManager.popAllModals()},[C.objectSet.navigationManager,R]);m(function(){if(S!=null){var e;(e=C.objectSet.navigationManager.getCurrentModal())==null||e.setDismissCallback(S)}},[C,S]);var k=b.partial_height_percentage!=null?b.partial_height_percentage+"%":"auto",I=[k];return o("WebBloksBooleanUtils").isTrue(b.is_full_screen_enabled)&&I.push("100%"),s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({display:"content"}),{"data-bloks-name":g.styleId,children:s.jsx(r("PolarisIGCoreSheetOrModal.react"),{desktopMaxHeight:"80vh",headerLeftAlign:t,headerSize:n,hideCloseButton:R||u===!0,isModalOverlayTransparent:_,modalClassName:f,onBack:b.title!=null&&i!==!0?L:void 0,onClose:E,stops:I,title:b.title,children:b.content&&C.renderNode(b.content)})}))}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98);
__d("WebBloksCoreNavbarForIG",["fbt","IGDSChevronIcon.react","IGDSIconButton.react","WebBloksComponentContext","WebBloksErrors","WebBloksScreen","WebBloksScreenHost","WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e.useMemo,d=o("WebBloksStyle").createStyles({root:{borderBottomColor:o("WebBloksTheme").WebBloksThemeVars.separator}});function m(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=n.executeCatch,i=n.objectSet,l=n.renderNode,s=i.navigationManager,m=t.getValues(),_=m.contribs,f=m.hide_navbar,g=m.title,h=c(function(){var e=[],n=null,s=!1,c=null;if(_==null)return{backButton:n,hideBackButton:s,titleBloksNode:c,trailingButtons:e};for(var d of _){var m=d.getValues(),p=d.getExpression("custom_title_parseresult");if(p!=null){var f=a(t,p,[]),g=o("WebBloksScreen").WebBloksScreen.fromBloksParseResult(i,o("WebBloksUtils").cast(f),{isEmbedded:!0,isModal:!1});c=u.jsx(r("WebBloksScreenHost"),{screen:g})}if(m.trailing_buttons!==void 0)throw new(o("WebBloksErrors")).WebBloksError("bk.data.contrib.screen.navbar.Fb not supported in IG");if(m.right_buttons!==void 0)for(var h of m.right_buttons)e.push(l(h));m.left_button!==void 0&&(n=l(m.left_button)),m.hide_back_button===!0&&(s=!0)}return{backButton:n,hideBackButton:s,titleBloksNode:c,trailingButtons:e}},[_,a,t,i,l]),y=h.backButton,C=h.hideBackButton,b=h.titleBloksNode,v=h.trailingButtons;if(f===!0)return null;var S=!C&&(y!=null||s.getScreenCount()>1),R=y==null?u.jsx(p,{onClick:function(){return s.pop()}}):y,L=S&&v.length===0;return u.jsxs("div",{className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,d.root,"x7r02ix x1q0q8m5 xso031l xn3w4p2 xl56j7k xh8yej3"),"data-bloks-name":t.styleId,children:[u.jsxs("div",{className:o("WebBloksStyle").classNames({0:"x6s0dn4 x78zum5 x1iyjqo2 x1jchvi3 x1s688f xl56j7k",1:"x6s0dn4 x78zum5 x1iyjqo2 x1jchvi3 x1s688f xl56j7k x11gldyt"}[!!L<<0]),children:[S&&R,u.jsx("div",{className:"x6s0dn4 x1iyjqo2 xl56j7k xdj266r x14z9mp xat24cr x1lziwak x2b8uid",children:b!=null?b:g})]}),u.jsx("div",{className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,"x6s0dn4 x78zum5 x15zctf7 x2lah0s xl56j7k"),children:v})]})}m.displayName=m.name+" [from "+i.id+"]";function p(e){var t=e.onClick;return u.jsx("div",{className:"x6s0dn4 x78zum5 x1q0g3np x1c4vz4f x2lah0s xl56j7k",children:u.jsx(r("IGDSIconButton.react"),{onClick:t,children:u.jsx(r("IGDSChevronIcon.react"),{alt:s._(/*BTDS*/"Back"),color:"ig-primary-text",direction:"back"})})})}p.displayName=p.name+" [from "+i.id+"]",l.default=m}),226);
__d("WebBloksCoreSwitchForIG",["IGDSSwitch.react","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useState;function c(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=t.get("enabled"),i=o("WebBloksBooleanUtils").isTrue(t.get("checked")),l=u(i),c=l[0],d=l[1],m=o("WebBloksBooleanUtils").isTrue(t.get("is_controlled")),p=m?i:c;function _(){var e=!p;m||d(e);var r=t.getExpression("on_toggle");r!=null&&n.executeCatch(t,r,[n,Number(e),n.bloksContext])}return s.jsx("div",babelHelpers.extends({"data-bloks-name":t.styleId},o("WebBloksStyle").getStyleProps({pointerEvents:"all"}),{children:s.jsx(r("IGDSSwitch.react"),{disabled:o("WebBloksBooleanUtils").isFalse(a),onValueChange:_,value:p})}))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGActionSheet",["IGCoreDialog.react","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.getSubNodes("items"),r=o("WebBloksComponentContext").useWebBloksContext();function a(){r.objectSet.navigationManager.pop()}return s.jsx("div",babelHelpers.extends({"data-bloks-name":t.styleId},o("WebBloksStyle").getStyleProps({display:"content"}),{children:s.jsx(o("IGCoreDialog.react").IGCoreDialog,{onModalClose:a,useLegacy:!0,children:n.map(function(e){return r.renderNode(e)})})}))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGActionSheetItem",["IGCoreDialog.react","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.getExpression("on_press"),r=t.get("style"),a=t.get("title"),i=o("WebBloksComponentContext").useWebBloksContext(),l=i.executeCatch;return s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({justifyContent:"center"}),{"data-bloks-name":t.styleId,children:s.jsx(o("IGCoreDialog.react").IGCoreDialogItem,{color:r==="destructive"?"ig-error-or-destructive":"ig-secondary-button",onClick:function(){return n!=null&&l(t,n,[])},children:a})}))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGAuthenticityDataUploadOption",["vulture"],(function(t,n,r,o,a,i,l){"use strict";function e(e){return r("vulture")("9YYwz9_mKngs1rnICG0heYVudag="),null}e.displayName=e.name+" [from "+i.id+"]",l.default=e}),98);
__d("WebBloksIGBottomSheet",["PolarisIGCoreSheetOrModal.react","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useEffect;function m(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=t.getValues(),i=t.getExpression("on_dismiss"),l=c(function(){var e;o("WebBloksBooleanUtils").isTrue((e=n.objectSet.navigationManager.getCurrentModal())==null||(e=e.options)==null?void 0:e.addToBackStack)?n.objectSet.navigationManager.pop():n.objectSet.navigationManager.popAllModals()},[n]),u=c(function(){n.objectSet.navigationManager.popAllModals()},[n]);d(function(){if(i!=null){var e;(e=n.objectSet.navigationManager.getCurrentModal())==null||e.setDismissCallback(i)}},[n,i]);var m=a.partial_height_percentage!=null?a.partial_height_percentage+"%":"auto",p=[m];return o("WebBloksBooleanUtils").isTrue(a.is_full_screen_enabled)&&p.push("100%"),s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({display:"content"}),{"data-bloks-name":t.styleId,children:s.jsx(r("PolarisIGCoreSheetOrModal.react"),{desktopMaxHeight:"100%",onBack:l,onClose:u,stops:p,title:a.title,children:a.content&&n.renderNode(a.content)})}))}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
__d("WebBloksIGBottomSheetNavbar",["WebBloksBooleanUtils","WebBloksIGNavbarBase","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.getValues(),a=n.hide_navbar,i=n.title;return o("WebBloksBooleanUtils").isTrue(a)?null:s.jsx(r("WebBloksIGNavbarBase"),{"data-bloks-name":t.styleId,title:i})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGCCSSupportUserChatThread",["URI","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react"));function c(t){var n=t.node,a=n.get("thread_key"),i=n.get("user_id"),l=n.get("access_token"),s=n.get("uri"),c;if(s)c=new(e||(e=r("URI")))(s);else{var d="/support/chat/embed/ig/";c=new(e||(e=r("URI")))(d).addQueryData({thread_key:a,user_id:i}),l&&c.addQueryData({nonce:l})}var m=window.innerHeight;return u.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({flexGrow:1}),{"data-bloks-name":n.styleId,children:u.jsx("iframe",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({flexGrow:1,pointerEvents:"auto"}),{frameBorder:"0",height:m-38-30,id:"support-chat-thread-iframe",method:"get",sandbox:"allow-same-origin allow-scripts allow-popups",scrolling:"yes",src:c.toString(),title:"Support User Chat Thread"}))}))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGConfirmationCode",["WebBloksComponentContext","WebBloksStyle","nullthrows","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useState;function c(e){var t=e.node,n=t.getValues(),a=o("WebBloksComponentContext").useWebBloksContext(),i=a.executeCatch,l=n.digit_count!==null?r("nullthrows")(n.digit_count):6,c=u(""),d=c[0],m=c[1];function p(e){e.target.value=e.target.value.substring(0,l),m(e.target.value);var n=t.getExpression("on_change");n!=null&&i(t,n,[e.target.value])}for(var _=[],f=0;f<l;f++)_.push(s.createElement("div",babelHelpers.extends({},{0:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p"},4:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p xskfcea x13fuv20 xamhcws"},2:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p x1diwwjn"},6:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p xskfcea x13fuv20 xamhcws x1diwwjn"},1:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p xbmvrgn"},5:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p xskfcea x13fuv20 xamhcws xbmvrgn"},3:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p x1diwwjn xbmvrgn"},7:{className:"x1fgtraw xl56j7k xr9ek0c xvy4d1p xskfcea x13fuv20 xamhcws x1diwwjn xbmvrgn"}}[(f>=d.length)<<2|(f>0)<<1|(f<l-1)<<0],{key:f})));var g=24,h=g*(2*l-1),y=36;return s.jsxs("div",{"data-bloks-name":t.styleId,children:[s.jsx("div",{className:"x138ruz1 xl56j7k x67bb7w x1n2onr6",children:s.jsx("input",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({width:String(h+y)+"px"}),{className:"x1yrzqix x9dqhi0 x1ejq31n x18oe1m7 x1sy0etr xstzfhl xbuiw85 x5n08af x26hppt x1q74xe4 x1fgtraw x1mggxy7 xexx8yu xyri2b x18d9i69 x1c1uobl xquy46f x1usv16b xexwhla xqn9uap x1o2p5dk x1vnlled x1d51z3f xuyawhz xcwdoar xbf5lw3 x1l9t207",onInput:function(t){p(t)},type:"number"}))}),s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({justifyContent:"center",left:String(y/2)+"px",width:String(h)+"px"}),{children:_}))]})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGDatePicker",["PolarisDOBFieldSelect.react","PolarisDateHelpers","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=1e3;function c(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=t.getValues(),i=a.seconds;function l(){var e=new Date(i*u);return o("PolarisDateHelpers").dateToDateType(e)}function c(e){return Math.floor(e.getTime()/u)}return s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({display:"content"}),{children:s.jsx(r("PolarisDOBFieldSelect.react"),{date:l(),onDateChange:function(r){var e=t.getExpression("on_date_picked");e!=null&&n.executeCatch(t,e,[c(o("PolarisDateHelpers").dateTypeToDate(r))])}})}))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGDialog",["IGCoreDialog.react","InstagramWebBloksDialogContext.react","WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useContext;function c(e){var t=e.node,n=t.getSubNode("header_data"),a=t.getSubNode("primary_button"),i=t.getSubNode("auxillary_button"),l=t.getSubNode("negative_button"),c=t.get("message"),d=t.get("title"),m=o("WebBloksComponentContext").useWebBloksContext(),p=u(r("InstagramWebBloksDialogContext.react"));function _(){p==null||p.onClose==null||p.onClose(),m.objectSet.navigationManager.pop()}var f=m.renderNode(n),g=m.renderNode(a),h=m.renderNode(i),y=m.renderNode(l);return s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({display:"content"}),{"data-bloks-name":t.styleId,children:s.jsxs(o("IGCoreDialog.react").IGCoreDialog,{body:c,disableMediaMargin:!0,media:f,onModalClose:_,title:d,children:[g,h,y]})}))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGDialogButton",["IGCoreDialog.react","InstagramWebBloksDialogContext.react","PolarisIGCoreText","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useContext;function c(e){var t=e.node,n=t.getExpression("on_click"),a=t.get("text"),i=t.get("should_dismiss_on_click"),l=t.get("style"),c=o("WebBloksComponentContext").useWebBloksContext(),d=c.bloksContext,m=c.executeCatch,p=c.objectSet,_=c.ownerContext,f=u(r("InstagramWebBloksDialogContext.react"));function g(){f==null||f.onClose==null||f.onClose(),p.navigationManager.pop()}function h(e){switch(e){case"red":case"red_bold":return"ig-error-or-destructive";case"blue":case"blue_bold":return"ig-primary-button";case"default":default:return"ig-primary-text"}}return s.jsx(o("IGCoreDialog.react").IGCoreDialogItem,{onClick:function(){n!=null&&(_?_.executeCatch(n.getValue(),[d]):m(t,n,[d])),i&&g()},children:s.jsx(r("PolarisIGCoreText"),{color:h(l),size:"label",weight:l==="default"?"normal":"semibold",children:a})})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGDialogHeader",["fbt","PolarisIGCoreDialogCircleMedia","PolarisIGTheme.react","WebBloksStyle","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react"));function c(e){var t=e.node,n=t.get("image_url"),a=t.get("dark_mode_image_url"),i=t.get("header_render_type"),l=o("PolarisIGTheme.react").useTheme(),c=l.getTheme(),d=s._(/*BTDS*/"Dialog header image"),m=c===o("PolarisIGTheme.react").IGTheme.Light?n:a;if(m==null)return null;var p=null,_=32,f=o("WebBloksStyle").getStyleProps({height:"96px",objectFit:"cover",width:"96px"});switch(i){case"rectangle":case"full_width":p=u.jsx("img",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({objectFit:"cover",width:"100%"}),{alt:d,src:m})),_=0;break;case"square":p=u.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({alignItems:"center",justifyContent:"center",margin:"0 auto"}),{children:u.jsx("img",babelHelpers.extends({},f,{alt:d,src:m}))}));break;case"circle":default:p=u.jsx(r("PolarisIGCoreDialogCircleMedia"),{icon:u.jsx("img",babelHelpers.extends({},f,{alt:d,src:m}))})}return u.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({marginTop:_}),{"data-bloks-name":t.styleId,children:p}))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),226);
__d("WebBloksIGFixedPositionBox",["WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),r=t.getSubNodes("children"),a=t.get("bottom"),i=t.get("top");if(!r)return null;var l=null;return a!=null?l={bottom:a+"px"}:i!=null&&(l={top:i+"px"}),s.jsx("div",{className:"xixxii4 xh8yej3 x1swlcf7","data-bloks-name":t.styleId,style:l,children:n.renderChildren(r)})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGFollowButton",["PolarisFollowButtonContainer.react","PolarisIGCorePressable.react","PolarisReactRedux.react","WebBloksComponentContext","WebBloksStyle","polarisGetUserFromUserInfo","react","vulture"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useState;function m(e){var t,n=e.externalStyle,a=e.node;r("vulture")("TTg0q4bgJ_-RsKJfbqqz0UufBsE=");var i=o("WebBloksComponentContext").useWebBloksContext(),l=a.getValues(),u=o("WebBloksStyle").useStyle(a,n),m=u.style,p=u.wrapper,_=u.wrapperProps,f=o("PolarisReactRedux.react").useDispatch(),g=d(!0),h=g[0],y=g[1],C=l.target_user&&l.target_user.getValues();return c(function(){if(C){var e=babelHelpers.extends({},C);e.pk=String(e.pk);var t=e;f({relationshipInfo:C.friendship_status||{},targetUserId:String(C.pk),type:"RELATIONSHIP_INFO_LOADED"}),f({type:"USER_INFO_LOADED",user:r("polarisGetUserFromUserInfo")(t)[String(C.pk)]}),y(!1)}},[C,f]),!C||h?null:p(s.jsx(r("PolarisIGCorePressable.react"),{onPress:function(t){t.stopPropagation()},children:s.jsx("div",babelHelpers.extends({},_,{className:o("WebBloksStyle").WebBloksStyles.container,style:m,children:s.jsx(r("PolarisFollowButtonContainer.react"),{analyticsContext:"UNKNOWN__WEB_BLOKS_IG_FOLLOW_BUTTON",onFollowUserCallback:function(){var e=a.getExpression("on_follow_button_press");e!=null&&i.executeCatch(a,e,[i])},onUnfollowUserCallback:function(){var e=a.getExpression("on_follow_button_cancel");e!=null&&i.executeCatch(a,e,[i])},userId:String(C.pk),username:(t=C.username)!=null?t:""})}))}))}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
__d("WebBloksIGFullscreenNavbar",["WebBloksBooleanUtils","WebBloksComponentContext","WebBloksIGNavbarBase","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=n.renderChildren,i=n.renderNode,l=t.getValues(),u=l.hidden,c=l.left_button,d=l.right_buttons,m=l.title;if(o("WebBloksBooleanUtils").isTrue(u))return null;var p=c!=null?i(c):null,_=d!=null?a(d):null;return s.jsx(r("WebBloksIGNavbarBase"),{"data-bloks-name":t.styleId,leftButton:p,rightButtons:_,title:m})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGFullscreenNavbarButton",["fbt","IGDSChevronIcon.react","IGDSIconButton.react","IGDSXPanoOutlineIcon.react","WebBloksBooleanUtils","WebBloksComponentContext","WebBloksErrors","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e.useCallback;function d(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=t.getExpression("on_click"),i=o("WebBloksBooleanUtils").isFalse(t.get("enabled")),l=c(function(){i||a!=null&&n.executeCatch(t,a,[])},[n,i,t,a]),d=t.get("icon"),m;switch(d){case"back":m=u.jsx(r("IGDSChevronIcon.react"),{alt:s._(/*BTDS*/"Back"),direction:"back"});break;case"close":m=u.jsx(r("IGDSXPanoOutlineIcon.react"),{alt:s._(/*BTDS*/"Close")});break;default:throw new(o("WebBloksErrors")).WebBloksError("Unsupported icon type %s used in bk.data.screen.navbar.ig.Button",d)}return u.jsx(r("IGDSIconButton.react"),{isDisabled:i,onClick:l,children:m})}d.displayName=d.name+" [from "+i.id+"]",l.default=d}),226);
__d("WebBloksIGGradientText",["WebBloksStyle","WebBloksTextStyle","WebBloksTheme","WebBloksUtils","react","vulture"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node;r("vulture")("O37q6OSOfSFZsrO1-mjNFRcB7T4=");var a=n.getValues(),i=o("WebBloksStyle").useStyle(n,t),l=i.style,u=i.wrapperProps;return s.jsx("span",babelHelpers.extends({},u,{style:babelHelpers.extends({},l,o("WebBloksTextStyle").getTextStyle(a.text_style),o("WebBloksTextStyle").getGradientTextStyle(a.gradient_colors,a.gradient_orientation,o("WebBloksTheme").useTheme().getTheme()),{fontSize:o("WebBloksUtils").toPx(a.text_size),textAlign:o("WebBloksUtils").toHyphen(a.text_align)}),children:a.text}))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGIcon",["WebBloksStyle","WebBloksTheme","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node,r=n.get("tint_themed_color"),a=n.get("url"),i=n.get("height"),l=n.get("width"),u=o("WebBloksStyle").useStyle(n,t),c=u.ref,d=u.style,m=o("WebBloksTheme").useTheme().getTheme(),p={};return r!=null&&a!=null&&(p={WebkitMaskImage:"url("+a+")",WebkitMaskSize:"contain",backgroundColor:o("WebBloksUtils").getRGBColorWithTheme(r,m),maskImage:"url("+a+")",maskSize:"contain"}),s.jsx("div",babelHelpers.extends({"data-bloks-name":n.styleId,ref:c},o("WebBloksStyle").getStyleProps(babelHelpers.extends({},d,p,{flexShrink:"0",height:o("WebBloksUtils").toPx(i),width:o("WebBloksUtils").toPx(l)}))))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGLanguageSwitcher",["PolarisIGCorePressable.react","PolarisLanguageSwitcher.react","WebBloksComponentContext","react","vulture"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u={languageSwitcher:{fontWeight:null,pointerEvents:"x67bb7w",width:"xh8yej3",$$css:!0}};function c(e){var t=e.node;r("vulture")("9OQ3HcjZNUfBlfvtBaMd6LdW7PA=");var n=o("WebBloksComponentContext").useWebBloksContext(),a=t.getValues(),i=a.children;return s.jsx(r("PolarisIGCorePressable.react"),{"data-bloks-name":t.styleId,onPress:function(t){t.stopPropagation()},children:s.jsx(r("PolarisLanguageSwitcher.react"),{useCurrentLanguageLabel:!1,useQueryParam:!0,xstyle:u.languageSwitcher,children:n.renderChildren(i)})})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGNavbar",["WebBloksBooleanUtils","WebBloksComponentContext","WebBloksIGNavbarBase","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.getSubNode("left_button"),a=t.getSubNodes("right_buttons"),i=t.get("custom_title"),l=t.get("hide_divider"),u=t.get("title"),c=o("WebBloksComponentContext").useWebBloksContext(),d=n?c.renderNode(n):null,m=i?c.renderNode(i):u,p=a?c.renderChildren(a):null,_=!o("WebBloksBooleanUtils").isTrue(l);return s.jsx(r("WebBloksIGNavbarBase"),{"data-bloks-name":t.styleId,hideDivider:_,leftButton:d,rightButtons:p,title:m})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGNavbarButton",["fbt","IGDSCheckPanoOutlineIcon.react","IGDSChevronIcon.react","IGDSIconButton.react","IGDSInfoPanoOutlineIcon.react","IGDSMoreHorizontalPanoOutlineIcon.react","IGDSSettingsPanoOutlineIcon.react","IGDSXPanoOutlineIcon.react","PolarisIGCoreButton.react","PolarisIGCoreText","WebBloksBooleanUtils","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react"));function c(e){var t=e.node,n=t.getExpression("action"),a=t.get("button_style"),i=t.get("button_title"),l=o("WebBloksComponentContext").useWebBloksContext(),c=!o("WebBloksBooleanUtils").isFalse(t.get("enabled")),d=c?function(){n!=null&&l.executeCatch(t,n,[])}:function(){};if(i!=null){var m=a==="emphasized"?u.jsx(r("PolarisIGCoreText").BodyEmphasized,{color:"ig-primary-button",children:i}):u.jsx(r("PolarisIGCoreText").Body,{children:i});return u.jsx(r("PolarisIGCoreButton.react"),{borderless:!0,disabled:!c,onClick:d,children:m})}var p;switch(t.get("icon")){case"back":p=u.jsx(r("IGDSChevronIcon.react"),{alt:s._(/*BTDS*/"Back"),direction:"back"});break;case"check":p=u.jsx(r("IGDSCheckPanoOutlineIcon.react"),{alt:s._(/*BTDS*/"Check")});break;case"close":p=u.jsx(r("IGDSXPanoOutlineIcon.react"),{alt:s._(/*BTDS*/"Close")});break;case"info":p=u.jsx(r("IGDSInfoPanoOutlineIcon.react"),{alt:s._(/*BTDS*/"Info")});break;case"menu_horizontal":case"more":p=u.jsx(r("IGDSMoreHorizontalPanoOutlineIcon.react"),{alt:s._(/*BTDS*/"Menu")});break;case"settings":p=u.jsx(r("IGDSSettingsPanoOutlineIcon.react"),{alt:s._(/*BTDS*/"Settings icon")});break;case"none":p=null;break}return u.jsx(r("IGDSIconButton.react"),{isDisabled:!c,onClick:d,children:p})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),226);
__d("WebBloksIGPhoneNumberInput",["PolarisCountryCodeUtils","PolarisPhoneCommonStrings","PolarisPhoneNumberCountryCodeInput.react","WebBloksComponentContext","WebBloksStyle","react","vulture"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useState;function c(e){var t=e.externalStyle,n=e.node;r("vulture")("06d0p5fxenabmYOkVS560j7LbbU=");var a=n.getValues(),i=o("WebBloksStyle").useStyle(n,t),l=i.style,c=i.wrapper,d=i.wrapperProps,m=o("WebBloksComponentContext").useWebBloksContext(),p=m.executeCatch,_=u(o("PolarisCountryCodeUtils").countryCodeFromCode(a.country_code)),f=_[0],g=_[1],h=u(a.phone_number||""),y=h[0],C=h[1];function b(e){g(e),S(e,y)}function v(e){var t=e.target.value;C(t),S(f,t)}function S(e,t){var r=n.getExpression("on_change");r!=null&&p(n,r,[o("PolarisCountryCodeUtils").stringFromCountryCode(e),t])}return c(s.jsx("div",babelHelpers.extends({},d,{className:o("WebBloksStyle").WebBloksStyles.container,style:l,children:s.jsx(r("PolarisPhoneNumberCountryCodeInput.react"),{countryCode:f,onChange:v,onChangeCountryCode:b,placeholder:o("PolarisPhoneCommonStrings").PHONE_NUMBER_LABEL,value:y})})))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGRadioButton",["IGDSRadioButton.react","WebBloksBooleanUtils","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=o("WebBloksBooleanUtils").isTrue(t.get("checked")),a=o("WebBloksBooleanUtils").isTrue(t.get("disabled"));return s.jsx("div",{"data-bloks-name":t.styleId,"data-disabled":a,children:s.jsx(r("IGDSRadioButton.react"),{isChecked:n,isDisabled:a,label:null,value:""})})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGScreen",["WebBloksComponentContext","WebBloksEnvironmentContext","WebBloksScreen","WebBloksScreenHost","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useState;function m(e){var t=e.node,n=t.get("app_id"),a=t.getSubNode("navbar"),i=t.getSubNode("initial_content"),l=o("WebBloksComponentContext").useWebBloksContext(),u=l.objectSet,m=l.renderNode,p=l.treeManager,_=o("WebBloksEnvironmentContext").useWebBloksEnvironment(),f=_.loadingFallback,g=d(function(){return n!=null?o("WebBloksScreen").WebBloksScreen.fromAppId(u,n,p.treeResourcesState.parameters):null}),h=g[0],y=d(function(){return(h==null?void 0:h.value.state)==="ready"}),C=y[0],b=y[1];return c(function(){function e(e){b(e.state==="ready")}return h==null||h.stateChangeListener.on(e),function(){return h==null?void 0:h.stateChangeListener.off(e)}},void 0),s.jsxs("div",{className:"xvbhtw8 x5n08af x78zum5 xdt5ytf x5yr21d x11uqc5h","data-bloks-name":t.styleId,children:[m(a),h!=null&&C?s.jsx("div",{className:"x1iyjqo2 xs83m0k xw2csxc x1odjw0f",children:s.jsx(r("WebBloksScreenHost"),{screen:h})}):i?s.jsx("div",{className:"x1iyjqo2 xs83m0k xw2csxc x1odjw0f",children:m(i)}):f]})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
__d("WebBloksIGSearch",["WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node,r=n.getSubNodes("null_state_models"),a=o("WebBloksComponentContext").useWebBloksContext(),i=a.renderNode,l="",u=o("WebBloksStyle").useStyle(n,t),c=u.style,d=u.wrapper,m=u.wrapperProps,p=r!=null?r:[];return d(s.jsxs("div",babelHelpers.extends({},m,o("WebBloksStyle").getStyleProps(babelHelpers.extends({},c,{overflow:"hidden",flexDirection:"column"})),{children:[s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({flex:"0 0 auto",padding:8,flexDirection:"column"}))),s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({overflow:"auto",flexDirection:"column",flex:"1 1 auto"}),{children:p.map(function(e,t){var n=e.styleId;if(n==="ig.components.SearchResultItem"){var r=e.get("content"),a=e.get("search_keyword"),u=l===""||a!=null&&a.toLocaleLowerCase().includes(l.toLocaleLowerCase());return!u||!r?null:s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({flexShrink:0}),{children:i(r)}),t)}else{var c=i(e),d=e._style;if(d)var m=d==null?void 0:d.get("search_keyword"),p=l===""||m!=null&&m.toLocaleLowerCase().includes(l.toLocaleLowerCase());return s.jsx("div",babelHelpers.extends({},o("WebBloksStyle").getStyleProps({flexShrink:0}),{children:c}),t)}})}))]})))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGSpinner",["IGDSArrowCcwPanoOutlineIcon.react","IGDSSpinner.react","PolarisGenericStrings","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.get("state");return n==="success"?null:s.jsx("div",babelHelpers.extends({"data-bloks-name":t.styleId},o("WebBloksStyle").getStyleProps({alignItems:"center",height:48,justifyContent:"center",width:48}),{children:s.jsxs("div",{children:[n==="loading"&&s.jsx(r("IGDSSpinner.react"),{}),n==="failed"&&s.jsx(r("IGDSArrowCcwPanoOutlineIcon.react"),{alt:o("PolarisGenericStrings").FAILED_TO_LOAD_TEXT})]})}))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGStepper",["IGDSStepper.react","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=o("WebBloksStyle").createStyles({root:{display:"block",width:"100%"}});function c(e){var t=e.externalStyle,n=e.node,a=n.get("current_step"),i=n.get("step_count"),l=o("WebBloksStyle").useStyle(n,t),c=l.style,d=l.wrapperProps;return c.width="100%",c.display="block",s.jsx("div",babelHelpers.extends({},d,{className:o("WebBloksStyle").classNames(o("WebBloksStyle").WebBloksStyles.container,u.root),style:c,children:s.jsx(r("IGDSStepper.react"),{step:a+1,totalSteps:i})}))}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGStoryViewerTooltip",["Locale","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u="xf4q8wq-B";function c(e){var t=e.node,n=t.getValues();if(n.title===null||n.title==="")return null;var r=o("Locale").isRTL();return s.jsxs("div",{className:"x1upo8f9 x6s0dn4 x5hsz1j xv1h8ih x3f3ns4 xjbqb8w x1ejq31n x18oe1m7 x1sy0etr xstzfhl x9f619 x1ypdohk x78zum5 xdt5ytf x2lah0s xln7xf2 xk390pu xl56j7k xdj266r x14z9mp xat24cr x1lziwak x1a2a7pz xexx8yu xyri2b x18d9i69 x1c1uobl x1n2onr6 xheo96h x18ouj0k x11njtxf xh8yej3 xzkaem6",children:[s.jsxs("div",{className:"x6s0dn4 x1av4zun x1i5p2am x1whfx0g xr2y4jy x1ihp6rs x972fbf x10w94by x1qhh985 x14e42zd x9f619 x78zum5 x1r8uery x1q0g3np x1iyjqo2 xs83m0k xln7xf2 xk390pu xl56j7k xdj266r x14z9mp xat24cr x1lziwak x889kno x2vl965 x1a8lsjc xe2zdcy x67bb7w x1n2onr6 x11njtxf",role:"dialog",children:[s.jsx("div",{children:n.title}),s.jsx("div",{className:"xo3uz88 xnsbi7g x11vs20j x11oz001 xiy17q3 xermsev x170jfvy x1v4s8kt",style:{transform:r?"rotate(180deg)":void 0}})]}),s.jsx("div",{className:"x1qjc9v5 x1sy0etr x1o3jo1z x18b5jzi xopb87b xv5lvn5 x1t7ytsu x6rzb4r xccvetk x13fuv20 x12795kx x9f619 x78zum5 x1r8uery xdt5ytf x1iyjqo2 xs83m0k xln7xf2 xk390pu xqtp20y xdj266r x14z9mp xat24cr x1lziwak xexx8yu xyri2b x18d9i69 x1c1uobl x1n2onr6 x11njtxf xnalus7 xzkaem6"})]})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("WebBloksIGSwitch",["IGDSSwitch.react","WebBloksBooleanUtils","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useEffect,d=u.useState;function m(e){var t=e.node,n=t.get("state"),a=t.get("enabled"),i=o("WebBloksComponentContext").useWebBloksContext(),l=d(n==="on"),u=l[0],m=l[1];c(function(){m(n==="on")},[n]);function p(){var e=u?"off":"on";m(e==="on");var n=t.getExpression("on_toggle");n!=null&&i.executeCatch(t,n,[i,e])}var _=o("WebBloksBooleanUtils").isFalse(a);return s.jsx("div",{className:"x71s49j","data-bloks-name":t.styleId,"data-disabled":_,children:s.jsx(r("IGDSSwitch.react"),{disabled:_,onValueChange:p,value:u})})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
__d("WebBloksIGUFACImagePicker",["CometImage.react","PolarisIGCoreButton.react","PolarisImageFileForm.react","Promise","WebBloksComponentContext","err","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s.useState,d=1024,m={image:{borderTopWidth:"x972fbf",borderInlineEndWidth:"x10w94by",borderBottomWidth:"x1qhh985",borderInlineStartWidth:"x14e42zd",font:"xln7xf2",fontSize:"xk390pu",marginTop:"xdj266r",marginInlineEnd:"x14z9mp",marginInlineStart:"x1lziwak",marginBottom:"x1yztbdb",maxWidth:"x193iq5w",objectFit:"x19kjcj4",paddingTop:"xexx8yu",paddingInlineEnd:"xyri2b",paddingBottom:"x18d9i69",paddingInlineStart:"x1c1uobl",verticalAlign:"x11njtxf",$$css:!0}};function p(t,o){return o===void 0&&(o=d),new(e||(e=n("Promise")))(function(e,n){var a=new Image;a.onload=function(){var n=document.createElement("canvas"),r=a.width,i=a.height;(r>o||i>o)&&(r>i?(i*=o/r,r=o):(r*=o/i,i=o)),n.width=r,n.height=i;var l=n.getContext("2d");l.drawImage(a,0,0,r,i),n.toBlob(function(n){var r=new File([n],t.name,{type:"image/jpeg"});e(r)},t.type)},a.onerror=function(){n(r("err")("Failed to load image for resizing"))},a.src=URL.createObjectURL(t)})}function _(t,r,o,a,i){if(t.length===0)return r(null),new(e||(e=n("Promise")))(function(e){return e(o(""))});var l=t[0];return i!=null&&i?p(l,a!=null?a:d).then(function(e){return r(e),e}).then(g).then(o):(r(l),g(l).then(o))}function f(e){return e==null?null:u.jsx(r("CometImage.react"),{alt:"",src:window.URL.createObjectURL(e),xstyle:m.image})}f.displayName=f.name+" [from "+i.id+"]";function g(t){return new(e||(e=n("Promise")))(function(e,n){var o=new FileReader;o.readAsArrayBuffer(t),o.onload=function(){if(o.result instanceof ArrayBuffer){for(var t=new Uint8Array(o.result),a="",i=0;i<t.byteLength;i++)a+=String.fromCharCode(t[i]);e(window.btoa(a))}else n(r("err")("FileReader returned unexpected result."))},o.onerror=function(){n(o.error)}})}function h(e){var t,n,a=e.node,i=a.getValues(),l=o("WebBloksComponentContext").useWebBloksContext(),s=c(null),d=s[0],m=s[1],p=f(d),g=function(t){var e=a.getExpression("on_image_changed");e!=null&&l.executeCatch(a,e,[l,t,l.bloksContext])};return u.jsxs("div",{"data-bloks-name":a.styleId,children:[p,u.jsx(o("PolarisImageFileForm.react").ImageFileForm,{acceptMimeTypes:["image/*"],onFileChange:function(t){return _(t,m,g,i.max_image_size,i.resize_image)},children:u.jsx(r("PolarisIGCoreButton.react"),{borderless:!0,fullWidth:!0,children:d===null?(t=i.upload_photo_text_string)!=null?t:"Upload a photo":(n=i.choose_another_photo_text_string)!=null?n:"Choose another photo"})})]})}h.displayName=h.name+" [from "+i.id+"]",l.default=h}),98);
__d("WebBloksIGUFACRecaptcha",["PolarisRecaptcha","WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),a=t.getExpression("on_solved");return s.jsx("div",{"data-bloks-name":t.styleId,children:s.jsx(r("PolarisRecaptcha"),{onChange:function(r){a!=null&&n.executeCatch(t,a,[n,r,n.bloksContext])}})})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGUFACStickyHeader",["WebBloksComponentContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=e.node,n=t.get("bottom"),r=t.get("top"),a=t.getSubNodes("children"),i=o("WebBloksComponentContext").useWebBloksContext();if(!a)return null;var l=null;return n!=null?l={bottom:n+"px"}:r!=null&&(l={top:r+"px"}),s.jsx("div",{className:"xixxii4 xh8yej3 x1swlcf7","data-bloks-name":t.styleId,"data-testid":void 0,style:l,children:i.renderChildren(a)})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksIGVideoV2",["CometAudioManager.react","CometPlaceholder.react","PolarisPostGlimmer.react","PolarisVideo.react","VideoAutoplayManagerX.react","VideoPlayerControlsContainerOverlay.react","VideoPlayerPlaybackControl.react","VideoPlayerPlaybackTimer.react","VideoPlayerSurface.react","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t,n=e.node,o=n.get("loop")===!0,a=(t=n.get("player_identifier"))==null?void 0:t.get("media_id");if(a==null)return null;var l=n.get("video_versions");if(l==null||!l.length)return null;var u=l[0],c=u==null?void 0:u.get("url");if(c==null)return null;var d=u==null?void 0:u.get("width"),m=u==null?void 0:u.get("height");return s.jsx(r("CometPlaceholder.react"),{fallback:s.jsx(r("PolarisPostGlimmer.react"),{}),name:i.id,children:s.jsx(r("VideoAutoplayManagerX.react"),{children:s.jsx(r("CometAudioManager.react"),{children:s.jsx(r("PolarisVideo.react"),{autoplay:!0,hdSrc:c,loopCount:o?-1:0,mediaId:a,originalHeight:m!=null?m:0,originalWidth:d!=null?d:0,sdSrc:c,children:s.jsx(r("VideoPlayerSurface.react"),{children:!o&&s.jsxs(r("VideoPlayerControlsContainerOverlay.react"),{children:[s.jsx(r("VideoPlayerPlaybackControl.react"),{}),s.jsx(r("VideoPlayerPlaybackTimer.react"),{})]})})})})})})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksVerifiedBadgeTextProvider",["IGDSVerifiedBadge.react","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t,n=e.node,o=n.getValues();return s.jsxs("div",{className:"x1rg5ohu xdwrcjd xvijh9v",children:[(t=o.username)!=null?t:null,s.jsx("span",{children:s.jsx(r("IGDSVerifiedBadge.react"),{size:"small"})})]})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("IgWebWebBloksComponents",["WebBloksCoreBottomSheetForIG","WebBloksCoreNavbarForIG","WebBloksCoreSwitchForIG","WebBloksDummyComponent","WebBloksIGActionSheet","WebBloksIGActionSheetItem","WebBloksIGAuthenticityDataUploadOption","WebBloksIGBottomSheet","WebBloksIGBottomSheetNavbar","WebBloksIGCCSSupportUserChatThread","WebBloksIGConfirmationCode","WebBloksIGDatePicker","WebBloksIGDialog","WebBloksIGDialogButton","WebBloksIGDialogHeader","WebBloksIGFixedPositionBox","WebBloksIGFollowButton","WebBloksIGFullscreenNavbar","WebBloksIGFullscreenNavbarButton","WebBloksIGGradientText","WebBloksIGIcon","WebBloksIGLanguageSwitcher","WebBloksIGNavbar","WebBloksIGNavbarButton","WebBloksIGPhoneNumberInput","WebBloksIGRadioButton","WebBloksIGScreen","WebBloksIGSearch","WebBloksIGSpinner","WebBloksIGStepper","WebBloksIGStoryViewerTooltip","WebBloksIGSwitch","WebBloksIGUFACImagePicker","WebBloksIGUFACRecaptcha","WebBloksIGUFACStickyHeader","WebBloksIGVideoV2","WebBloksVerifiedBadgeTextProvider"],(function(t,n,r,o,a,i,l){var e={"authenticity.data.UploadOptions":r("WebBloksIGAuthenticityDataUploadOption"),"bk.components.BottomSheet":r("WebBloksCoreBottomSheetForIG"),"bk.components.StoryViewerTooltip":r("WebBloksIGStoryViewerTooltip"),"bk.components.Switch":r("WebBloksCoreSwitchForIG"),"bk.components.VerifiedBadgeTextProvider":r("WebBloksVerifiedBadgeTextProvider"),"bk.components.VideoV2":r("WebBloksIGVideoV2"),"bk.components.ig.FixedPositionBox":r("WebBloksIGFixedPositionBox"),"bk.components.ig.ccs.SupportUserChatThread":r("WebBloksIGCCSSupportUserChatThread"),"bk.components.ig.igds.RadioButton":r("WebBloksIGRadioButton"),"bk.components.ig.ufac.ImagePicker":r("WebBloksIGUFACImagePicker"),"bk.components.ig.ufac.Recaptcha":r("WebBloksIGUFACRecaptcha"),"bk.components.ig.ufac.StickyHeader":r("WebBloksIGUFACStickyHeader"),"bk.data.screen.Navbar":r("WebBloksCoreNavbarForIG"),"bk.data.screen.navbar.Ig":r("WebBloksIGFullscreenNavbar"),"bk.data.screen.navbar.bottomsheet.Ig":r("WebBloksIGBottomSheetNavbar"),"bk.data.screen.navbar.ig.Button":r("WebBloksIGFullscreenNavbarButton"),"bk.type.VideoIdentifier":r("WebBloksDummyComponent"),"ig.component.DatePicker":r("WebBloksIGDatePicker"),"ig.components.ActionSheet":r("WebBloksIGActionSheet"),"ig.components.ActionSheetItem":r("WebBloksIGActionSheetItem"),"ig.components.BottomSheet":r("WebBloksIGBottomSheet"),"ig.components.ConfirmationCode":r("WebBloksIGConfirmationCode"),"ig.components.FollowButton":r("WebBloksIGFollowButton"),"ig.components.GradientText":r("WebBloksIGGradientText"),"ig.components.Icon":r("WebBloksIGIcon"),"ig.components.LanguageSwitcher":r("WebBloksIGLanguageSwitcher"),"ig.components.PhoneNumberInput":r("WebBloksIGPhoneNumberInput"),"ig.components.Search":r("WebBloksIGSearch"),"ig.components.Spinner":r("WebBloksIGSpinner"),"ig.components.Stepper":r("WebBloksIGStepper"),"ig.components.Switch":r("WebBloksIGSwitch"),"ig.components.dialog.Button":r("WebBloksIGDialogButton"),"ig.components.dialog.Dialog":r("WebBloksIGDialog"),"ig.components.dialog.Header":r("WebBloksIGDialogHeader"),"ig.components.screens.Navbar":r("WebBloksIGNavbar"),"ig.components.screens.NavbarButton":r("WebBloksIGNavbarButton"),"ig.components.screens.Screen":r("WebBloksIGScreen")};l.COMPONENTS=e}),98);
__d("IgcaaWebBloksComponents",[],(function(t,n,r,o,a,i){var e={};i.COMPONENTS=e}),66);
__d("WebBloksRichTextResizeToFit",["WebBloksRichTextContext","WebBloksUtils","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useContext,m=u.useLayoutEffect,p=u.useRef,_=u.useState,f=12,g=128;function h(e){var t=e.children,n=e.node,o=p(null),a=p(null),i=p(null),l=d(r("WebBloksRichTextContext")),u=l.maxNumberOfLines,h=n.get("styles"),b=C(h),v=b.maxFontSize,S=b.minFontSize,R=_(function(){return y(f,g)}),L=R[0],E=R[1],k=c(function(){var e=L.min,t=L.max;function n(){var e,t,n=(e=o==null||(t=o.current)==null?void 0:t.offsetHeight)!=null?e:0,r=window.getComputedStyle(o==null?void 0:o.current).getPropertyValue("line-height");return Math.floor(n/parseInt(r,10))}var r=n()<=u,a=Math.floor((e+t)/2);r?e=L.mid+1:t=L.mid-1,E(function(n){return babelHelpers.extends({},n,{mid:a,max:t,min:e})})},[u,L.max,L.mid,L.min]);return m(function(){return k()},[k,u,L.max,L.mid,L.min]),m(function(){i.current!==u&&(i.current=u,E(function(){return y(S-1,v)}))},[v,u,S]),m(function(){var e=o.current;if(e!=null){var t=new ResizeObserver(function(){window.clearTimeout(a.current),a.current=window.setTimeout(function(){E(function(){return y(S,v)})},100)});return t.observe(e),function(){t.unobserve(e),window.clearTimeout(a.current)}}},[v,S]),s.jsx("span",{ref:o,style:{fontSize:L.mid+"px",display:"inline-block"},children:t})}h.displayName=h.name+" [from "+i.id+"]";function y(e,t){return{min:e,max:t,mid:Math.floor(t/2)}}function C(e){var t=g,n=f;if(e!=null)for(var r of e)switch(r==null?void 0:r.styleId){case"bk.style.textspan.ResizeToFitStyle":{var a=r.get("min_text_size");a!=null&&(n=parseFloat(o("WebBloksUtils").toPx(a)));var i=r.get("max_text_size");i!=null&&(t=parseFloat(o("WebBloksUtils").toPx(i)))}}return{maxFontSize:t,minFontSize:n}}l.default=h}),98);
__d("WebBloksDataComposableTextSpan",["WebBloksComponentContext","WebBloksDataTextSpanUtils","WebBloksRichTextContext","WebBloksRichTextResizeToFit","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useContext,d=u.useEffect,m=u.useMemo;function p(e){var t,n=e.externalStyle,a=e.node,i=a.get("styles"),l=o("WebBloksStyle").useStyle(a,n),u=l.wrapper,p=o("WebBloksComponentContext").useWebBloksContext(),_=p.renderNode,f=c(r("WebBloksRichTextContext")),g=f.isRootFontSizeEnabled,h=f.setIsRootFontSizeEnabled,y=o("WebBloksDataTextSpanUtils").useWebBloksBaseTextSpanProps(a,n),C=(t=a.getSubNodes("spans"))==null?void 0:t.map(function(e){return _(e)}),b=m(function(){var e;return(e=i==null?void 0:i.some(function(e){return e.styleId==="bk.style.textspan.ResizeToFitStyle"}))!=null?e:!1},[i]);return d(function(){!g&&b&&h(!0)},[b,g,h]),u(b?s.jsx(r("WebBloksRichTextResizeToFit"),{node:a,children:s.jsx("span",babelHelpers.extends({},y,{children:C}))}):s.jsx("span",babelHelpers.extends({},y,{children:C})))}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98);
__d("WebBloksDataImageSpan",["WebBloksImageSpan","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node;return s.jsx(r("WebBloksImageSpan"),{node:n,externalStyle:t})}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksDataTextSpan",["WebBloksComponentContext","WebBloksDataTextSpanUtils","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node,r=n.get("text_provider"),a=o("WebBloksStyle").useStyle(n,t),i=a.wrapper,l=o("WebBloksComponentContext").useWebBloksContext(),u=l.renderNode,c=r!=null?u(r):n.get("text"),d=o("WebBloksDataTextSpanUtils").useWebBloksBaseTextSpanProps(n,t);return i(s.jsx("span",babelHelpers.extends({},d,{children:c})))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksScreenQueryScreenWrapper",["WebBloksComponentContext","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useEffect;function c(e){var t=e.node,n=o("WebBloksComponentContext").useWebBloksContext(),r=n.bloksContext,a=n.executeOnNextTickCatch,i=n.renderNode,l=t.getValues(),c=l.container_config,m=l.content,p=l.navigation_callbacks,_=i(m),f=p==null?void 0:p.getExpression("on_enter"),g=p==null?void 0:p.get("on_exit");return u(function(){if(c!=null){var e=r.objectSet.navigationManager.getCurrentModalOrScreen();e==null||e.setContainerConfigModel(r,c)}},[r,c]),u(function(){if(!(f==null&&g==null)){var e=r.objectSet.navigationManager.getCurrentModalOrScreen();if(f!=null){var n=r.objectSet.navigationManager.getNavigationDirection();a(t,f,[r,n])}g!=null&&(e==null||e.setOnExitCallback(g))}},[]),s.jsx("div",{"data-bloks-name":t.styleId,className:d.root,children:_})}c.displayName=c.name+" [from "+i.id+"]";var d=o("WebBloksStyle").createStyles({root:{height:"100%",width:"100%",display:"flex",flexDirection:"column"}});l.default=c}),98);
__d("WebBloksSpinner",["WebBloksIconSpinner","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.externalStyle,n=e.node,a=o("WebBloksStyle").useStyle(n,t),i=a.style,l=a.wrapper,u=a.wrapperProps;return l(s.jsx("div",babelHelpers.extends({},u,o("WebBloksStyle").getStyleProps(i),{children:s.jsx(r("WebBloksIconSpinner"),{color:n.get("color")})})))}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("WebBloksTooltipUtils",["react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=s.useLayoutEffect,c=s.useState;function d(e,t){var n=c({left:0,top:0,transform:""}),r=n[0],o=n[1];return u(function(){var n,r,a=(n=document.documentElement)==null?void 0:n.getBoundingClientRect(),i=e==null||(r=e.current)==null?void 0:r.getBoundingClientRect();if(!(a==null||i==null)){var l=i.x+i.width/2,s=t==="top"?i.y-a.y:i.y-a.y+i.height,u="translate(-50%, "+(t==="top"?"-100%":"0%")+")";o({left:l,top:s,transform:u})}},[e,t]),r}function m(e,t,n){var r=c("center"),o=r[0],a=r[1],i=c(t),l=i[0],s=i[1];return u(function(){var r,o,i=(r=document.documentElement)==null?void 0:r.getBoundingClientRect(),l=e==null||(o=e.current)==null?void 0:o.getBoundingClientRect();if(!(i==null||l==null)){if(n==="shark-fin"){var u=i.x+i.width/2,c=l.x+l.width/2;c>u?a("right"):a("left")}if(t==null){var d=i.y+i.height/2,m=l.y+l.height/2;m>d?s("top"):s("bottom")}}},[n,t,e]),[o,l]}function p(e){return Math.sqrt(Math.pow(e,2)+Math.pow(e,2))}var _=12,f=p(_);function g(e){return e==null?null:{top:{bottom:"100%"},bottom:{top:"100%"}}[e]}function h(e){return{bottom:"0,100 50,"+e+" 100,100",top:"0,0 50,"+(100-e)+" 100,0"}}function y(e){return{left:{bottom:e+",100 "+e+","+e+" 100,100",top:e+",0 "+e+","+(100-e)+" 100,0"},right:{bottom:"0,100 "+(100-e)+","+e+" "+(100-e)+",100",top:"0,0 "+(100-e)+","+(100-e)+" "+(100-e)+",0"}}}function C(e,t,n,r){return t==null?null:n==="shark-fin"&&e!=="center"?y(r)[e][t]:h(r)[t]}l.useCalculatePositionStyle=d,l.useCalculatePosition=m,l.calculateHypotenuseFromEqualSides=p,l.ARROW_SIZE=_,l.TOOLTIP_HYPOTENUSE=f,l.getPositionStyle=g,l.getDefaultPolyLines=h,l.getSharkFinPolyLines=y,l.getArrowPolyLinePoints=C}),98);
__d("WebBloksTooltip",["WebBloksComponentContext","WebBloksDecoration","WebBloksPortal","WebBloksStyle","WebBloksTheme","WebBloksTooltipUtils","WebBloksUtils","react","useWebBloksAccessibilityModule"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useMemo,m=u.useRef,p=o("WebBloksStyle").createStyles({root:{position:"absolute",zIndex:9999},anchor:{position:"absolute",height:"100%",width:"100%"},contentWrapper:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center"},content:{display:"inline-block"},arrow:{height:o("WebBloksTooltipUtils").ARROW_SIZE,width:o("WebBloksTooltipUtils").TOOLTIP_HYPOTENUSE,zIndex:1},arrowDropShadow:{zIndex:-1,position:"absolute"}});function _(e){var t=e.ref,n=e.externalStyle,a=e.node,i=o("WebBloksComponentContext").useWebBloksContext(),l=i.renderNode,u=l(a.getSubNode("child")),_=a.getValues(),f=a.get("decoration"),g=o("WebBloksStyle").useStyle(a,n),h=g.ref,y=g.wrapperProps,C=r("WebBloksDecoration")(_,h),b=C[0],v=r("useWebBloksAccessibilityModule")(),S=v.FocusRegion,R=m(null),L=a==null?void 0:a.get("arrow_type"),E=o("WebBloksTooltipUtils").useCalculatePosition(R,a.get("position"),L),k=E[0],I=E[1],T=o("WebBloksTooltipUtils").useCalculatePositionStyle(R,I),D=o("WebBloksUtils").toPx(a.get("width")),x=o("WebBloksUtils").toPx(a.get("height")),$=o("WebBloksUtils").toPx(a.get("offset_horizontal")),P=o("WebBloksUtils").toPx(a.get("offset_vertical")),N=d(function(){var e=babelHelpers.extends({},T),t=parseFloat($);L==="shark-fin"&&t>0?e.marginLeft=t+o("WebBloksTooltipUtils").ARROW_SIZE/2:L==="shark-fin"?e.marginLeft=o("WebBloksTooltipUtils").ARROW_SIZE/2:t>0&&(e.marginLeft=t);var n=parseFloat(P);return n>0&&(I==="top"?e.marginBottom=n:I==="bottom"&&(e.marginTop=n)),e},[L,$,P,T,I]),M=d(function(){var e={};return I==="bottom"&&(e.flexDirection="column-reverse"),e},[I]),w=o("WebBloksUtils").toPx(f==null?void 0:f.get("border_width")),A=parseFloat(w),F=a.get("margin"),O=o("WebBloksUtils").toPx(F==null?void 0:F.get("start")),B=o("WebBloksUtils").toPx(F==null?void 0:F.get("end")),W=d(function(){var e=babelHelpers.extends({},b);return parseFloat(D)>0&&(e.width=D),parseFloat(x)>0&&(e.height=x),L==="none"?(e.marginTop=o("WebBloksTooltipUtils").ARROW_SIZE,e.marginBottom=o("WebBloksTooltipUtils").ARROW_SIZE):(e.marginTop=-A,e.marginBottom=-A),O!=null&&(e.marginLeft=O),B!=null&&(e.marginRight=B),e},[L,A,b,x,B,O,D]),q=o("WebBloksTheme").useTheme().getTheme(),U=L!=null&&L!=="none",V=d(function(){var e=f==null?void 0:f.get("border_color"),t=f==null?void 0:f.get("border_themed_color");return t!=null?o("WebBloksUtils").getRGBColorWithTheme(t,q):e!=null?o("WebBloksUtils").convertRGBArrToString(o("WebBloksUtils").convertRGBOrHexStringToArr(e)):null},[f,q]),H=d(function(){return A*(100/16)},[A]),G=o("WebBloksTooltipUtils").getArrowPolyLinePoints(k,I,L,H),z=b.boxShadow!=null,j=d(function(){var e={};return z&&(b.boxShadow!=null&&(e.filter="drop-shadow("+b.boxShadow+")"),I==="top"?e.bottom=0:I==="bottom"&&(e.top=0)),e},[b.boxShadow,z,I]),K=c(function(e){return e.stopPropagation()},[]),Q=s.jsx("div",babelHelpers.extends({},y,{className:p.root,style:N,onScroll:K,children:s.jsxs("span",{className:p.contentWrapper,style:M,children:[U&&b.boxShadow!=null?s.jsxs("svg",{label:"",preserveAspectRatio:"none",className:o("WebBloksStyle").classNames(p.arrow,p.arrowDropShadow),style:j,viewBox:"0 0 100 100",children:[s.jsx("title",{children:"Arrow drop shadow"}),s.jsx("polygon",{points:G})]}):null,s.jsx("span",{style:W,className:p.content,children:s.jsx(S,{children:u})}),U?s.jsxs("svg",{label:"",preserveAspectRatio:"none",className:p.arrow,viewBox:"0 0 100 100",children:[s.jsx("title",{children:"Arrow pointing to tooltip"}),s.jsx("polyline",{points:G,strokeWidth:H,stroke:V,fill:W==null?void 0:W.background})]}):null]})}));return s.jsxs(s.Fragment,{children:[s.jsx("span",{ref:R,className:p.anchor}),s.jsx(r("WebBloksPortal"),{target:t==null?void 0:t.current,children:Q})]})}_.displayName=_.name+" [from "+i.id+"]",l.default=_}),98);
__d("WebBloksTooltipContainer",["WebBloksComponentContext","WebBloksConstants","WebBloksSSRUtils","WebBloksStyle","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useLayoutEffect,m=o("WebBloksStyle").createStyles({root:{alignSelf:"stretch",position:"relative",display:"flex",zIndex:99}});function p(e){var t=e.node,n=o("WebBloksStyle").useStyle(t),r=n.wrapper,a=n.wrapperProps,i=o("WebBloksComponentContext").useWebBloksContext(),l=i.bloksContext,u=i.executeCatch,p=i.renderNode,_=!!t.get("tooltip_visibility"),f=t.getExpression("on_visibility_update"),g=t.getExpression("on_touch_outside"),h=p(t.getSubNode("tooltip")),y=p(t.getSubNode("child"));l.initAssociatedObject_INTERNAL(t,o("WebBloksConstants").TOOLTIP_VISIBILITY_ASSOCIATED_OBJECT,{visible:_});var C=c(function(){f!=null&&u(t,f,[t,!1]),g!=null&&u(t,g,[t,!1]),l.updateAssociatedObject_INTERNAL(t,o("WebBloksConstants").TOOLTIP_VISIBILITY_ASSOCIATED_OBJECT,{visible:!1})},[u,t,g,f,l]),b=l.getAssociatedObject_INTERNAL(t,o("WebBloksConstants").TOOLTIP_VISIBILITY_ASSOCIATED_OBJECT);d(function(){if(!(!o("WebBloksSSRUtils").canUseDOM||!b)){var e=document.documentElement;return e.addEventListener("click",C,{passive:!0,once:!0}),function(){e.removeEventListener("click",C)}}},[b,C]),d(function(){if(!(!o("WebBloksSSRUtils").canUseDOM||!b)){var e=document.documentElement;return e.addEventListener("scroll",C,{passive:!0,once:!0}),function(){e.removeEventListener("scroll",C)}}},[b,C]);var v=c(function(e){e.key==="Escape"&&(e.stopPropagation(),C())},[C]);return r(s.jsxs("div",babelHelpers.extends({},a,{className:m.root,onKeyPress:v,children:[b!=null&&b.visible?h:null,y]})))}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98);
__d("StdlibWebBloksComponents",["WebBloksDataComposableTextSpan","WebBloksDataImageSpan","WebBloksDataTextSpan","WebBloksScreenQueryScreenWrapper","WebBloksSpinner","WebBloksTooltip","WebBloksTooltipContainer"],(function(t,n,r,o,a,i,l){var e={"bk.components.Spinner":r("WebBloksSpinner"),"bk.components.Tooltip":r("WebBloksTooltip"),"bk.components.TooltipContainer":r("WebBloksTooltipContainer"),"bk.components.screen.ScreenWrapper":r("WebBloksScreenQueryScreenWrapper"),"bk.data.ComposableTextSpan":r("WebBloksDataComposableTextSpan"),"bk.data.ImageSpan":r("WebBloksDataImageSpan"),"bk.data.TextSpan":r("WebBloksDataTextSpan")};l.COMPONENTS=e}),98);
__d("IGWebBloksEnvironmentComponentsStatic",["AcqWebBloksComponents","CaaWebBloksComponents","CdsWebBloksComponents","CoreWebBloksComponents","HasteSharedWebBloksComponents","IgWebWebBloksComponents","IgcaaWebBloksComponents","StdlibWebBloksComponents"],(function(t,n,r,o,a,i,l){"use strict";var e=babelHelpers.extends({},o("CoreWebBloksComponents").COMPONENTS,o("StdlibWebBloksComponents").COMPONENTS,o("AcqWebBloksComponents").COMPONENTS,o("HasteSharedWebBloksComponents").COMPONENTS,o("CdsWebBloksComponents").COMPONENTS,o("CaaWebBloksComponents").COMPONENTS,o("IgcaaWebBloksComponents").COMPONENTS,o("IgWebWebBloksComponents").COMPONENTS);l.COMPONENTS=e}),98);
__d("IGWebBloksApp",["IGDSBox.react","IGDSSpinner.react","IGWebBloksAppLoader","IGWebBloksEntryPoint.react","IGWebBloksEnvironment","IGWebBloksEnvironmentComponentsStatic","WebBloksUtils","cr:7175","polarisDeveloperSettings","react","usePolarisShowToast"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useMemo;function m(e){var t=e.actionOverrides,a=e.allowScreenOverflow,i=e.appId,l=e.disableHistoryStack,u=e.embedded,m=u===void 0?!0:u,p=e.enableCometRouter,_=e.externalVariables,f=e.fragmentProp,g=e.loadingFallback,h=e.params,y=h===void 0?o("WebBloksUtils").EMPTY_OBJECT:h,C=e.payload,b=d(function(){return new(o("IGWebBloksAppLoader")).IGWebBloksAppLoader},[]),v=i!=null?{appId:i,params:y}:void 0,S=r("usePolarisShowToast")(),R=c(function(e){return function(t,n){S({text:n,toastType:e})}},[S]),L=d(function(){return babelHelpers.extends({},t,{"bk.action.io.Toast":R("DEFAULT_TOAST"),"ig.action.navigation.IGToast":R("MINI_TOAST")})},[R,t]),E=g!=null?g:s.jsx(r("IGDSBox.react"),{height:"100%",position:"relative",width:"100%",children:s.jsx(r("IGDSSpinner.react"),{position:"absolute"})}),k=o("IGWebBloksEnvironment").useIGBloksEnvironment({actions:L,allowScreenOverflow:a,appLoader:b,components:o("IGWebBloksEnvironmentComponentsStatic").COMPONENTS,disableHistoryStack:l,embedded:m,enableCometRouter:p,loadingFallback:E}),I=s.jsx(r("IGWebBloksEntryPoint.react"),{environment:k,externalVariables:_,initialFetchParams:v,payload:C});return n("cr:7175")&&o("polarisDeveloperSettings").getWebBloksDebugOverlayEnabled()&&(I=s.jsxs("div",{className:"xjp7ctv x1n2onr6",children:[I,s.jsx(n("cr:7175"),{appId:i})]})),I}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);