if (self.CavalryLogger) { CavalryLogger.start_js(["dCXtINB"]); } __d("CometLogoutHandlerQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"logout_whitelist",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"logout_hash",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"has_confirmed_contactpoints",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},e=[d],f={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometLogoutHandlerQuery",selections:[a,{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[b,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pending_contactpoints",plural:!0,selections:[{kind:"InlineFragment",selections:e,type:"PendingEmail",abstractKey:null},{kind:"InlineFragment",selections:e,type:"Phone",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"CometLogoutHandlerQuery",selections:[a,{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[b,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pending_contactpoints",plural:!0,selections:[d,{kind:"InlineFragment",selections:[f],type:"Node",abstractKey:"__isNode"}],storageKey:null},f],storageKey:null}],storageKey:null}]},params:{id:"4752524391447818",metadata:{},name:"CometLogoutHandlerQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null); __d("CometHomeCreateMenuContentQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"should_use_page_rename",storageKey:null},b={alias:null,args:null,concreteType:"JobSearchSettings",kind:"LinkedField",name:"job_search_settings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_create_any_job",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_viewer_create_profile_plus_jobs",storageKey:null}],storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"can_create_page",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"can_create_nonprofit_fundraiser",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"has_group_to_post",storageKey:null},f={alias:null,args:null,concreteType:"LWIAPI",kind:"LinkedField",name:"lwi",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"should_direct_to_lwi",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometHomeCreateMenuContentQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[a],storageKey:null},b,c,d,e],storageKey:null},f],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"CometHomeCreateMenuContentQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},b,c,d,e],storageKey:null},f]},params:{id:"6360360230656762",metadata:{},name:"CometHomeCreateMenuContentQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("CometJSSemPixelsContainerQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{alias:null,args:null,concreteType:"SEMUniversalPixel",kind:"LinkedField",name:"sem_universal_pixels",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometJSSemPixelsContainerQuery",selections:a,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"CometJSSemPixelsContainerQuery",selections:a},params:{id:"3754744094621167",metadata:{},name:"CometJSSemPixelsContainerQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null); __d("XLogoutControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/logout.php",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("useCometLogoutWithPendingContactpointConfirmationDialog.react",["fbt","react","useCometConfirmationDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react").useCallback;function a(a,b){var d=c("useCometConfirmationDialog")(),e=d[0];d=i(function(){var c=h._(/*FBT_CALL*/"Sair do Facebook?"/*FBT_CALL*/),d=a==="PhoneNumber"?h._(/*FBT_CALL*/"Tem certeza de que deseja sair do Facebook antes de confirmar seu n\u00famero de celular? Ao confirmar o n\u00famero de celular na sua conta, voc\u00ea poder\u00e1 entrar novamente."/*FBT_CALL*/):h._(/*FBT_CALL*/"Tem certeza de que deseja sair do Facebook antes de confirmar seu email? Ao confirmar o email na sua conta, voc\u00ea poder\u00e1 entrar novamente."/*FBT_CALL*/),f=h._(/*FBT_CALL*/"Confirmar conta"/*FBT_CALL*/),g=h._(/*FBT_CALL*/"Sair"/*FBT_CALL*/);e({body:d,cancel:f,confirm:g,title:c},b)},[a,b,e]);return a==="PendingEmail"||a==="PhoneNumber"?d:null}g["default"]=a}),98); __d("CometLogoutHandler.react",["Banzai","CometLogoutHandlerQuery.graphql","CometRelay","ServiceWorkerLoginAndLogout","WebStorageMonster","XLogoutControllerRouteBuilder","react","recoverableViolation","useCometLogoutWithPendingContactpointConfirmationDialog.react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react");a=d("react");e=a.forwardRef;var j=a.useCallback,k=a.useEffect,l=a.useImperativeHandle,m=a.useRef;f=e(function(a,e){var f,g,n=a.shouldInitiateLogout,o=m(!1);a=d("CometRelay").useLazyLoadQuery(h!==void 0?h:h=b("CometLogoutHandlerQuery.graphql"),{});var p=a.logout_whitelist;a=a.viewer;var q=m(),r=j(function(){if(o.current)return;o.current=!0;var a=q.current;if(a==null){c("recoverableViolation")("Unable to get logout form ref to submit","comet_ui");return}c("WebStorageMonster").cleanOnLogout(p);c("ServiceWorkerLoginAndLogout").logout();c("Banzai").flush();a.submit()},[q,p]);f=a==null?void 0:(f=a.account_user)==null?void 0:f.has_confirmed_contactpoints;g=a==null?void 0:(g=a.account_user)==null?void 0:(g=g.pending_contactpoints)==null?void 0:(g=g[0])==null?void 0:g.__typename;var s=c("useCometLogoutWithPendingContactpointConfirmationDialog.react")(f!==!0?g:null,r),t=j(function(){s?s():r()},[r,s]);l(e,function(){return{logout:t}});k(function(){q.current==null?c("recoverableViolation")("Expected logout form ref to be valid","comet_ui"):n===!0&&t()},[t,n]);f=c("XLogoutControllerRouteBuilder").buildURL({button_location:"settings",button_name:"logout"});return i.jsxs("form",{action:f,method:"POST",ref:q,children:[i.jsx("input",{name:"h",type:"hidden",value:a==null?void 0:a.logout_hash}),i.jsx("input",{name:"ref",type:"hidden",value:"mb"})]})});a=f;g["default"]=a}),98); __d("XCometFundraiserWithPresenceCreateDialogControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/fundraiser/with_presence/create_dialog/",Object.freeze({source_data:{}}),void 0);b=a;g["default"]=b}),98); __d("XFundraiserCreateForPageControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/fund/{?page_token}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("FundraiserCreateUrlUtils",["FundraiserGKUtils","XCometFundraiserWithPresenceCreateDialogControllerRouteBuilder","XFundraiserCreateForPageControllerRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,c,e,f){if(!d("FundraiserGKUtils").canCreateP4CFundraiser())return null;var g={default_beneficiary_type:"charity"};b!=null&&(g.default_beneficiary_id=b);c!=null&&(g.page_id=c);e!=null&&(g.challenge_id=e);f!=null&&(g.prefill_type=f);return k(g,a)}function i(a,b,c){if(!d("FundraiserGKUtils").canCreateP4PFundraiser())return null;b={default_beneficiary_type:"person",default_category:b,parent_container_id:c};return k(b,a)}function a(a,b,c,e,f,g,l,m){if(!d("FundraiserGKUtils").canCreateFundraiser())return null;switch(a){case 6:return h(b,c,e,l,m);case 9:return f!=null&&g==="Group"?j(b,f):i(b);default:return k(null,b)}}function j(a,b){return i(a,"COMMUNITY",b)}function k(a,b){a=(a=a)!=null?a:{};b!=null&&(a.source=b);return c("XCometFundraiserWithPresenceCreateDialogControllerRouteBuilder").buildURL(a).toString()}function b(a){return c("XFundraiserCreateForPageControllerRouteBuilder").buildURL({page_token:a}).toString()}g.getCreatePersonToCharityFundraiserUrl=h;g.getCreatePersonForPersonFundraiserUrl=i;g.getCreateFundraiserUrl=a;g.getPageCreationShortUrl=b}),98); __d("XCometCreateAdControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/ads/create_ad/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("CometHomeCreateMenuContent.react",["fbt","ix","CometCardedDialog.react","CometHomeCreateMenuContentQuery.graphql","CometListCellGlimmer.react","CometMenuSeparator.react","CometRelay","FundraiserCreateUrlUtils","GroupsCometComposerGroupSelectorDialog.entrypoint","RoomsGating","StoriesGating","TetraListCell.react","XCometCreateAdControllerRouteBuilder","XCometEventCreateControllerRouteBuilder","XCometGroupsTabControllerRouteBuilder","XCometJobsComposerControllerRouteBuilder","XCometMarketplaceComposerControllerRouteBuilder","XCometPageCreationControllerRouteBuilder","XCometStoriesCreateControllerRouteBuilder","emptyFunction","fbicon","gkx","qex","react","recoverableViolation","requireDeferred","useCometEntryPointDialog","useLifeEventsComposerDialog","useRoomsCreateDialog","useTopNavigationLogging","uuid"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=d("react");e=d("react");var l=e.useCallback,m=e.useMemo,n=c("requireDeferred")("CometHomeJobsLogger").__setRef("CometHomeCreateMenuContent.react"),o=c("requireDeferred")("CometMarketplaceLogger").__setRef("CometHomeCreateMenuContent.react"),p=c("requireDeferred")("GroupsPostHomeCreateActionFalcoEvent").__setRef("CometHomeCreateMenuContent.react"),q=c("requireDeferred")("RoomCreationFlowStartFalcoEvent").__setRef("CometHomeCreateMenuContent.react");function r(a){if(a!=="job")return;n.load().then(function(a){a=new a();a.logCometHomeCreateMenuJobsButtonClick()})["catch"](c("emptyFunction"))}function s(a){var b=a.hideBody;b=b===void 0?!1:b;var e=a.item,f=a.onClose;a=a.position;a=d("useTopNavigationLogging").useCreateItemLoggingCallbacks(e.itemKey,a);var g=a[0];a=a[1];var h=l(function(a){f();if(e.type==="item"){var b=e.cellProps!=null?e.cellProps.onPress:null;b&&b(a)}g();r(e.itemKey)},[e,g,f]);return e.type==="separator"?k.jsx(c("CometMenuSeparator.react"),{}):k.jsx(c("TetraListCell.react"),babelHelpers["extends"]({},e.cellProps,{body:b?null:e.cellProps.body,level:4,onPress:h,ref:a}))}s.displayName=s.name+" [from "+f.id+"]";function t(){return k.jsx(c("CometCardedDialog.react"),{title:h._(/*FBT_CALL*/"Escolher grupo"/*FBT_CALL*/),children:k.jsx(c("CometListCellGlimmer.react"),{imageSize:60,imageStyle:"circle",numberOfItems:4})})}t.displayName=t.name+" [from "+f.id+"]";function a(a){var e=a.hideBody,f=e===void 0?!1:e,g=a.onClose,l=a.showComposerDialog,r=a.tapPoint;e=c("useLifeEventsComposerDialog")("COMPOSER");var u=e[0];a=c("useRoomsCreateDialog")();var v=a.showDialog;e=c("useCometEntryPointDialog")(c("GroupsCometComposerGroupSelectorDialog.entrypoint"),{},void 0,function(){return k.jsx(t,{})});var w=e[0],x=d("CometRelay").useLazyLoadQuery(j!==void 0?j:j=b("CometHomeCreateMenuContentQuery.graphql"),{});a=m(function(){var a,b,e,j,m,t,y;a=(a=x==null?void 0:(a=x.viewer)==null?void 0:a.can_create_page)!=null?a:!1;b=(x==null?void 0:(b=x.viewer)==null?void 0:(b=b.account_user)==null?void 0:b.should_use_page_rename)===!0;var z=d("FundraiserCreateUrlUtils").getCreateFundraiserUrl(null,"blue_bar_create_menu");e=x==null?void 0:(e=x.viewer)==null?void 0:e.can_create_nonprofit_fundraiser;e=z!=null&&e===!0;var A=c("gkx")("699938"),B=d("RoomsGating").shouldShowRoomsInCreateMenu(),C=!B;j=(x==null?void 0:(j=x.viewer)==null?void 0:j.has_group_to_post)===!0;m=(m=j&&c("qex")._("473"))!=null?m:!1;j=(j=j&&c("qex")._("474"))!=null?j:!1;t=Boolean(x==null?void 0:(t=x.viewer)==null?void 0:(t=t.job_search_settings)==null?void 0:t.can_viewer_create_any_job)||Boolean(x==null?void 0:(t=x.viewer)==null?void 0:(t=t.job_search_settings)==null?void 0:t.can_viewer_create_profile_plus_jobs);Boolean(t)&&n.load().then(function(a){a=new a();a.logCometHomeCreateMenuJobsButtonImpression()})["catch"](c("emptyFunction"));y=(y=x.lwi)==null?void 0:y.should_direct_to_lwi;y==null&&(c("recoverableViolation")("shouldDirectToLWI is null","pages_lwi"),y=!1);return[{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("507172"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Compartilhe uma publica\u00e7\u00e3o no Feed de Not\u00edcias."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Publicar"/*FBT_CALL*/),onPress:function(){l()}},itemKey:"post",render:!0,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("482255"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Compartilhe uma publica\u00e7\u00e3o no seu grupo."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Publica\u00e7\u00e3o do grupo"/*FBT_CALL*/),onPress:function(){p.load().then(function(a){a.log(function(){return{event:"click",position:"top_position",source:"comet_home_create_button"}})}),w({position:"top_position",source:"comet_home_create_button"})}},itemKey:"group-post",render:m,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("1160717"),20),size:36,type:"contained-icon"},body:d("StoriesGating").getCreationDescription(),headline:h._(/*FBT_CALL*/"Story"/*FBT_CALL*/),linkProps:{passthroughProps:{entryPoint:"add_to_story_homebase_shortcut",sourceSurface:"home_screen_shortcut"},productAttribution:{tap_point:r},target:"_self",url:c("XCometStoriesCreateControllerRouteBuilder")==null?void 0:c("XCometStoriesCreateControllerRouteBuilder").buildURL({})}},itemKey:"story",render:!0,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("1388374"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Converse por v\u00eddeo com qualquer pessoa, dentro ou fora do Facebook, sem limite de tempo."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Sala"/*FBT_CALL*/),onPress:function(){q.load().then(function(a){a.log(function(){return{session_ids:{funnel_session_id:c("uuid")()},source:"comet_create_menu"}})})["catch"](c("emptyFunction")),v({loggingData:{source:"comet_create_menu"}})}},itemKey:"rooms",render:B,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("481240"),20),size:36,type:"contained-icon"},body:b?h._(/*FBT_CALL*/"Adicione um acontecimento \u00e0 sua P\u00e1gina."/*FBT_CALL*/):h._(/*FBT_CALL*/"Adicione um acontecimento ao seu perfil."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Acontecimento"/*FBT_CALL*/),onPress:function(){u()}},itemKey:"life-event",render:C,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("482255"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Compartilhe uma publica\u00e7\u00e3o no seu grupo."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Publica\u00e7\u00e3o do grupo"/*FBT_CALL*/),onPress:function(){p.load().then(function(a){a.log(function(){return{event:"click",position:"bottom_position",source:"comet_home_create_button"}})}),w({position:"bottom_position",source:"comet_home_create_button"})}},itemKey:"group-post",render:j,type:"item"},{itemKey:"separator",render:!0,type:"separator"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("490492"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Conecte-se e compartilhe com clientes ou f\u00e3s."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"P\u00e1gina"/*FBT_CALL*/),linkProps:{productAttribution:{tap_point:r},target:"_self",url:c("XCometPageCreationControllerRouteBuilder").buildURL({ref_type:"comet_home"})}},itemKey:"page",render:a,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("534262"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Anuncie sua empresa, marca ou organiza\u00e7\u00e3o."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"An\u00fancio"/*FBT_CALL*/),linkProps:{productAttribution:{tap_point:r},rel:"noopener",target:y?"_self":"_blank",url:c("XCometCreateAdControllerRouteBuilder").buildURL({})}},itemKey:"ad",render:!0,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("510947"),20),size:36,type:"contained-icon"},body:c("gkx")("1099151")?h._(/*FBT_CALL*/"Conecte-se com pessoas que compartilham seus interesses."/*FBT_CALL*/):h._(/*FBT_CALL*/"Encontre pessoas com interesses em comum."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Grupo"/*FBT_CALL*/),linkProps:{preventLocalNavigation:!1,productAttribution:{tap_point:r},target:"_self",url:c("XCometGroupsTabControllerRouteBuilder").buildURL({category:"create"})},onPress:function(a){a.type!=="press"&&a.preventDefault()}},itemKey:"group",render:!0,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("640913"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Re\u00fana as pessoas com um evento p\u00fablico ou privado."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Evento"/*FBT_CALL*/),linkProps:{productAttribution:{tap_point:r},url:c("XCometEventCreateControllerRouteBuilder").buildURL({acontext:JSON.stringify({event_action_history:[{mechanism:"surface",surface:"home"}]}),dialog_entry_point:"comet_home_create_menu"})}},itemKey:"event",render:!0,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("556467"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Venda itens para as pessoas na sua comunidade."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Classificado do Marketplace"/*FBT_CALL*/),linkProps:{productAttribution:{tap_point:r},url:c("XCometMarketplaceComposerControllerRouteBuilder").buildURL({listing_type:"item"})},onPress:function(){o.load().then(function(a){a.logClick("create_menu",null,null,{composerEntrypoint:"create_menu",composerMode:"create"})})["catch"](c("emptyFunction"))}},itemKey:"marketplace-listing",render:A,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("510954"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Arrecade fundos para uma causa importante para voc\u00ea."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Campanha de arrecada\u00e7\u00e3o de fundos"/*FBT_CALL*/),linkProps:{productAttribution:{tap_point:r},target:"_self",url:(m=z)!=null?m:""}},itemKey:"fundraiser",render:e,type:"item"},{cellProps:{addOnPrimary:{icon:d("fbicon")._(i("481905"),20),size:36,type:"contained-icon"},body:h._(/*FBT_CALL*/"Publique uma vaga de emprego e alcance candidatos nas imedia\u00e7\u00f5es gratuitamente."/*FBT_CALL*/),headline:h._(/*FBT_CALL*/"Emprego"/*FBT_CALL*/),linkProps:{productAttribution:{tap_point:r},target:"_self",url:c("XCometJobsComposerControllerRouteBuilder").buildURL({job_opening_create_surface:Boolean(x==null?void 0:(B=x.viewer)==null?void 0:(b=B.job_search_settings)==null?void 0:b.can_viewer_create_profile_plus_jobs)?"PAGE":"JOBS",source:"comet_create_entrypoint"})}},itemKey:"job",render:Boolean(t),type:"item"}].filter(function(a){return a==null?void 0:a.render}).map(function(a,b){return k.jsx(s,{hideBody:f,item:a,onClose:g,position:b},a.itemKey)})},[x==null?void 0:(a=x.viewer)==null?void 0:a.can_create_page,x==null?void 0:(e=x.viewer)==null?void 0:(a=e.account_user)==null?void 0:a.should_use_page_rename,x==null?void 0:(e=x.viewer)==null?void 0:(a=e.job_search_settings)==null?void 0:a.can_viewer_create_any_job,x==null?void 0:(e=x.viewer)==null?void 0:(a=e.job_search_settings)==null?void 0:a.can_viewer_create_profile_plus_jobs,(e=x.lwi)==null?void 0:e.should_direct_to_lwi,l,v,u,g]);return k.jsx("div",{className:"a8nywdso sj5x9vvc rz4wbd8a ecm0bbzt",children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometHomeJobsLogger",["JobsActionsTypedLoggerLite","WebSession"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1=d("WebSession").getId()}var b=a.prototype;b.log=function(a){c("JobsActionsTypedLoggerLite").log({name:a})};b.logCometHomeCreateMenuJobsButtonImpression=function(){this.log("job_comet_home_create_menu_jobs_button_impression")};b.logCometHomeCreateMenuJobsButtonClick=function(){this.log("job_comet_home_create_menu_jobs_button_click")};return a}();g["default"]=a}),98); __d("SketchBase",["Alea","Base64","Promise","md5","performanceNow","regeneratorRuntime","setTimeout"],(function(a,b,c,d,e,f,g){"use strict";var h=10,i=16,j=function(){return new(b("Promise"))(function(a){c("setTimeout")(a)})},k=function(){function a(a,b,d){this.seed=a,this.rounds=b,this.rng=c("Alea")(a),this.ctx=d.getContext("2d"),this.width=d.width,this.height=d.height}var d=a.prototype;d.solveAllRoundsAsync=function(a){var c,d;return b("regeneratorRuntime").async(function(e){while(1)switch(e.prev=e.next){case 0:c=Date.now()+h,d=0;case 2:if(!(dc)){e.next=8;break}e.next=7;return b("regeneratorRuntime").awrap(j());case 7:c=Date.now()+h;case 8:d++;e.next=2;break;case 11:case"end":return e.stop()}},null,this)};d.solveAsync=function(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:a.next=2;return b("regeneratorRuntime").awrap(this.solveAllRoundsAsync(this.pickPrimitiveAndDraw.bind(this)));case 2:case"end":return a.stop()}},null,this)};d.solveOnePrimitiveAsync=function(a){return b("regeneratorRuntime").async(function(c){while(1)switch(c.prev=c.next){case 0:c.next=2;return b("regeneratorRuntime").awrap(this.solveAllRoundsAsync(this.getDrawFunction(a)));case 2:case"end":return c.stop()}},null,this)};d.getDrawFunction=function(a){switch(a){case"text":return this.drawText.bind(this);case"bezier":return this.drawBezier.bind(this);case"circle":return this.drawCircle.bind(this);case"emoji":return this.drawEmoji.bind(this);default:return function(){return void 0}}};d.pickPrimitive=function(a){var b=["emoji","circle","bezier","text"];return b[a%b.length]};d.pickPrimitiveAndDraw=function(a){a=this.getDrawFunction(this.pickPrimitive(a));a()};d.drawText=function(){var a=Math.floor(this.rng()*50+100);this.ctx.font=a+"px Arial";var b=Math.floor(this.rng()*100).toString(),c=Math.floor(this.rng()*this.width/2);a=this.rngRange(a*2,this.height-a);this.ctx.fillStyle=this.makeRadialGradient();this.applyShadow();this.ctx.fillText(b,c,a)};d.drawEmoji=function(){var a=Math.floor(this.rng()*50+100);this.ctx.font=a+"px Arial";var b="\ud83d\ude03",c=Math.floor(this.rng()*this.width/2);a=this.rngRange(a*2,this.height-a);this.ctx.fillStyle=this.makeRadialGradient();this.applyShadow();this.ctx.fillText(b,c,a)};d.drawBezier=function(){this.ctx.beginPath();var a=this.rng()*this.width,b=this.rng()*this.height,c=this.rng()*this.width,d=this.rng()*this.height,e=this.rng()*this.width,f=this.rng()*this.height;this.ctx.moveTo(a,b);this.ctx.bezierCurveTo(this.rng()*this.width,this.rng()*this.height,this.rng()*this.width,this.rng()*this.height,c,d);this.ctx.bezierCurveTo(this.rng()*this.width,this.rng()*this.height,this.rng()*this.width,this.rng()*this.height,e,f);this.ctx.bezierCurveTo(this.rng()*this.width,this.rng()*this.height,this.rng()*this.width,this.rng()*this.height,a,b);this.ctx.fillStyle=this.makeRadialGradient();this.applyShadow();this.ctx.fill()};d.drawCircle=function(){this.ctx.beginPath(),this.ctx.arc(this.rng()*this.width,this.rng()*this.height,this.rng()*this.width/5,0,2*Math.PI),this.ctx.fillStyle=this.makeRadialGradient(),this.applyShadow(),this.ctx.fill(),this.ctx.lineWidth=2,this.ctx.strokeStyle=this.makeRadialGradient(),this.ctx.stroke()};d.makeRadialGradient=function(){var a=this.ctx.createRadialGradient(this.rng()*this.width,this.rng()*this.height,0,this.rng()*this.width,this.rng()*this.height,this.width*2);a.addColorStop(0,this.makeColor());a.addColorStop(.5,this.makeColor());a.addColorStop(1,this.makeColor());return a};d.makeColor=function(){var a=Math.floor(this.rng()*255),b=Math.floor(this.rng()*255),c=Math.floor(this.rng()*255);return"rgb("+a+","+b+","+c+")"};d.applyShadow=function(){this.ctx.shadowColor=this.makeColor(),this.ctx.shadowBlur=this.rng()*50,this.ctx.shadowOffsetX=this.rng()*15,this.ctx.shadowOffsetY=this.rng()*15};d.rngRange=function(a,b){var c=Math.min(a,b);a=Math.max(a,b);return this.rng()*(a-c)+c};return a}();function a(a,c,d){var e,f,g,h;return b("regeneratorRuntime").async(function(i){while(1)switch(i.prev=i.next){case 0:e=document.createElement("canvas");e.width=200;e.height=200;e.style.display="none";f={hash:"",hash_bezier:"",hash_circle:"",hash_emoji:"",hash_text:"",hash2:"",rounds:d,seed:a,seed2:c,time_taken:0};document.body&&document.body.appendChild(e);i.next=8;return b("regeneratorRuntime").awrap(m(e,a,d));case 8:g=i.sent;i.next=11;return b("regeneratorRuntime").awrap(m(e,c,d));case 11:h=i.sent;f.hash=g.hash;f.hash2=h.hash;f.time_taken=g.time_taken+h.time_taken;i.next=17;return b("regeneratorRuntime").awrap(n(e,a,d,"text"));case 17:f.hash_text=i.sent;i.next=20;return b("regeneratorRuntime").awrap(n(e,a,d,"bezier"));case 20:f.hash_bezier=i.sent;i.next=23;return b("regeneratorRuntime").awrap(n(e,a,d,"circle"));case 23:f.hash_circle=i.sent;i.next=26;return b("regeneratorRuntime").awrap(n(e,a,d,"emoji"));case 26:f.hash_emoji=i.sent;document.body&&document.body.removeChild(e);return i.abrupt("return",f);case 29:case"end":return i.stop()}},null,this)}function d(a){return c("Base64").encode(JSON.stringify(a))}function l(a){return new(b("Promise"))(function(b){c("setTimeout")(function(){b(c("md5")(a.toDataURL()))},i)})}function m(a,d,e){var f,g,h,i,j,m;return b("regeneratorRuntime").async(function(n){while(1)switch(n.prev=n.next){case 0:f=new k(d,e,a);f.ctx.clearRect(0,0,f.width,f.height);g=c("performanceNow")();n.next=5;return b("regeneratorRuntime").awrap(f.solveAsync());case 5:h=c("performanceNow")();i=parseInt((h-g)*1e3,10);n.next=9;return b("regeneratorRuntime").awrap(l(a));case 9:j=n.sent;m={hash:j,time_taken:i};return n.abrupt("return",m);case 12:case"end":return n.stop()}},null,this)}function n(a,c,d,e){var f,g;return b("regeneratorRuntime").async(function(h){while(1)switch(h.prev=h.next){case 0:f=new k(c,d,a);f.ctx.clearRect(0,0,f.width,f.height);h.next=4;return b("regeneratorRuntime").awrap(f.solveOnePrimitiveAsync(e));case 4:h.next=6;return b("regeneratorRuntime").awrap(l(a));case 6:g=h.sent;return h.abrupt("return",g);case 8:case"end":return h.stop()}},null,this)}g.createCanvasAndSolveAllPrimitives=a;g.encode=d;g.getHash=l;g.solveAsync=m;g.solvePrimitive=n}),98); __d("XSISketchResultsControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/sketch_results/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("SketchComet",["JSScheduler","SketchBase","XSISketchResultsControllerRouteBuilder","cometAsyncFetch","recoverableViolation","regeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function h(a){c("recoverableViolation")("Sketch."+a+" called unexpectedly. This is not supported in Comet!","comet_infra")}var i={createCanvasAndSolve:function(a,c,e){var f,g,h,i;return b("regeneratorRuntime").async(function(j){while(1)switch(j.prev=j.next){case 0:f=document.createElement("canvas");f.width=200;f.height=200;f.style.display="none";document.body&&document.body.appendChild(f);j.next=7;return b("regeneratorRuntime").awrap(d("SketchBase").solveAsync(f,a,e));case 7:g=j.sent;j.next=10;return b("regeneratorRuntime").awrap(d("SketchBase").solveAsync(f,c,e));case 10:h=j.sent;i={hash:g.hash,hash2:h.hash,rounds:e,seed:a,seed2:c,time_taken:g.time_taken+h.time_taken};document.body&&document.body.removeChild(f);return j.abrupt("return",i);case 14:case"end":return j.stop()}},null,this)},solveAllPrimitivesAndCallAsyncController:function(a,e,f){var g,h;return b("regeneratorRuntime").async(function(i){while(1)switch(i.prev=i.next){case 0:i.next=2;return b("regeneratorRuntime").awrap(d("SketchBase").createCanvasAndSolveAllPrimitives(a,e,f));case 2:g=i.sent,d("JSScheduler").scheduleLoggingPriCallback(function(){h=d("SketchBase").encode(g),d("JSScheduler").scheduleLoggingPriCallback(function(){var a=c("XSISketchResultsControllerRouteBuilder").buildURL({});c("cometAsyncFetch")(a,{data:{skstamp:h},method:"POST",retryCount:2})})});case 4:case"end":return i.stop()}},null,this)},solveAndCallAsyncController:function(a,c,d){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:h("solveAndCallAsyncController");case 1:case"end":return a.stop()}},null,this)},solveAndEncode:function(a,c,e,f){var g,h;return b("regeneratorRuntime").async(function(j){while(1)switch(j.prev=j.next){case 0:j.next=2;return b("regeneratorRuntime").awrap(i.createCanvasAndSolve(a,c,e));case 2:g=j.sent;h=babelHelpers["extends"]({},g,{surface:f});return j.abrupt("return",d("SketchBase").encode(h));case 5:case"end":return j.stop()}},null,this)},solveAndUpdateForm:function(a,c,d,e){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:h("solveAndUpdateForm");case 1:case"end":return a.stop()}},null,this)},solveIntern:function(a,c,d,e){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:h("solveIntern");case 1:case"end":return a.stop()}},null,this)}};a=i;g["default"]=a}),98); __d("BDSignalBufferData",[],(function(a,b,c,d,e,f){"use strict";a={};b=a;f["default"]=b}),66); __d("BDSignalWrapper",["BDSignalBufferData","SignalCollectorMap"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a,b){this.signalFlags=a,this.signalType=b}var b=a.prototype;b.getSignalCollector=function(){return c("SignalCollectorMap").get(this.signalType)};b.getBufferConfig=function(){return c("BDSignalBufferData")[this.signalType]};return a}();g["default"]=a}),98); __d("SignalValueContext",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.cn=a}var b=a.prototype;b.getSignalValueContextName=function(){return this.cn};return a}();f["default"]=a}),66); __d("BDSignalCollectorBase",["BDSignalBufferData","SignalValueContext","regeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){this.signalType=a}var d=a.prototype;d.executeSignalCollection=function(){throw new Error("Child class responsibility to implement executeSignalCollection")};d.executeAsyncSignalCollection=function(){var a;return b("regeneratorRuntime").async(function(c){while(1)switch(c.prev=c.next){case 0:c.next=2;return b("regeneratorRuntime").awrap(this.executeSignalCollection());case 2:a=c.sent;return c.abrupt("return",a);case 4:case"end":return c.stop()}},null,this)};a.getSanitizedURI=function(){var a=window.location.href,b=a.indexOf("?");return b<0?a:a.substring(0,b)};d.getContext=function(){return new(c("SignalValueContext"))(a.getSanitizedURI())};d.throwIfNotInitialized=function(){if(!(this.signalType in c("BDSignalBufferData")))throw new Error("Signal is not intialized")};return a}();g["default"]=a}),98); __d("BDLoggingConstants",[],(function(a,b,c,d,e,f){"use strict";a={ERROR:"error",WARNING:"warning",INFO:"info"};b={KEY_NOT_FOUND:"key_not_found",APPEND_SIGNAL:"bd_append_signal",APPEND_SIGNAL_FAIL:"bd_append_signal_fail",HB_COLLECTED:"append_hb",HB_COLLECTION_FAILED:"hb_collection_failed",BD_EXCEPTION:"bd_exception",SIGNAL_NOT_IMPLEMENTED:"signal_not_implemented",SIGNAL_VALUE_NULL:"signal_value_null",EMPTY_SIGNAL_CONFIG:"empty_signal_config",INVALID_BUFFER_SIZE:"invalid_buffer_size",INVALID_DURATION:"invalid_duration",SIGNAL_FLAGS_MISSING:"signal_flags_missing",DYNAMIC_SIGNAL_COLLECTION_STARTED:"dynamic_signal_collection_started",BIOMETRIC_SIGNAL_COLLECTION_STARTED:"biometric_signal_collection_started",INVALID_GUID:"invalid_guid",INVALID_LENGTH:"invalid_length",GET_LOCAL_STORAGE_ERROR:"get_local_storage_error",WEB_STORAGE:"web_storage",PARSE_CONFIG_ERROR:"parse_config_error",HB_START_FAILURE:"hb_start_failure",HB_ALREADY_RUNNING:"hb_already_running",TRY_RESTARTING_HB:"try_restarting_hb",BANZAI_LOG_ERROR:"banzai_log_error"};c="JS";f.LEVELS=a;f.OPERATIONS=b;f.COMPONENT_NAME=c}),66); __d("BDOperationTypedLogger",["Banzai","GeneratedLoggerUtils"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:BDOperationLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:BDOperationLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:BDOperationLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setBdSessionID=function(a){this.$1.bd_session_id=a;return this};c.setComponent=function(a){this.$1.component=a;return this};c.setDurationUs=function(a){this.$1.duration_us=a;return this};c.setExceptionMessage=function(a){this.$1.exception_message=a;return this};c.setExceptionStackTrace=function(a){this.$1.exception_stack_trace=a;return this};c.setExceptionType=function(a){this.$1.exception_type=a;return this};c.setIntValue=function(a){this.$1.int_value=a;return this};c.setLevel=function(a){this.$1.level=a;return this};c.setOperation=function(a){this.$1.operation=a;return this};c.setOperationInfo=function(a){this.$1.operation_info=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setSessionlets=function(a){this.$1.sessionlets=b("GeneratedLoggerUtils").serializeVector(a);return this};return a}();c={bd_session_id:!0,component:!0,duration_us:!0,exception_message:!0,exception_stack_trace:!0,exception_type:!0,int_value:!0,level:!0,operation:!0,operation_info:!0,sessionlets:!0};f["default"]=a}),66); __d("BDOperationLogHelper",["BDLoggingConstants","BDOperationTypedLogger","Random"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c,e){h(a,d("BDLoggingConstants").LEVELS.INFO,b,c,e)}function b(a,b,c,e){h(a,d("BDLoggingConstants").LEVELS.WARNING,b,c,e)}function e(a,b,c,e){h(a,d("BDLoggingConstants").LEVELS.ERROR,b,c,e)}function h(a,b,e,f,g){f===void 0&&(f={});if(d("Random").coinflip(i(e))){if(f===null)throw new Error("opeartion info null");f.source=a;new(c("BDOperationTypedLogger"))().setLevel(b).setDurationUs(g).setOperation(e).setComponent(d("BDLoggingConstants").COMPONENT_NAME).setOperationInfo(f).log()}}function i(a){var b=d("BDLoggingConstants").OPERATIONS;switch(a){case b.APPEND_SIGNAL:case b.HB_COLLECTED:case b.GET_LOCAL_STORAGE_ERROR:case b.WEB_STORAGE:case b.SIGNAL_NOT_IMPLEMENTED:case b.BIOMETRIC_SIGNAL_COLLECTION_STARTED:return 1e3;default:return 1}}g.logInfo=a;g.logWarning=b;g.logError=e;g.log=h;g.getFlipSamplingByOperation=i}),98); __d("SignalErrorValueTypeDef",[],(function(a,b,c,d,e,f){"use strict";var g="ec",h="en",i="es",j=500;a=function(){function a(a,b,c){this.$1=a,this.$2=b,c!=null&&(this.$3=c.substr(0,j))}var b=a.prototype;b.getErrorCode=function(){return this.$1};b.getErrorName=function(){return this.$2};b.getErrorDetails=function(){return this.$3};b.isEqual=function(a){return this.$1===a.getErrorCode()&&this.$3===a.getErrorDetails()&&this.$2===a.getErrorName()};b.toJSON=function(){var a={};a[g]=this.$1;switch(this.$1){case 0:a[h]=this.$2;a[i]=this.$3;break}return a};return a}();f.SignalErrorValueTypeDef=a}),66); __d("SignalValueTypeDef",["BDLoggingConstants","BDOperationLogHelper","SignalErrorValueTypeDef"],(function(a,b,c,d,e,f,g){"use strict";var h="SignalValueTypeDef",i="t",j="ctx",k="v",l="e",m={NUMBER:"NUMBER",STRING:"STRING",BOOLEAN:"BOOLEAN",CUSTOM_OBJECT:"CUSTOM_OBJECT",INT_ARRAY:"INT_ARRAY",TOUCH:"TOUCH",MAP:"MAP",LIST:"LIST",SENSOR:"SENSOR",ERROR:"ERROR"};a=function(){function a(a,b,c,d,e){this.$1=a,this.$2=b,this.$3=c,this.$4=d,this.$5=e!=null?e:0}var b=a.prototype;b.getTimeStampMS=function(){return this.$1};b.getSignalContext=function(){return this.$2};b.getSignalValue=function(){return this.$3};b.getSignalValueType=function(){return this.$4};b.isEqual=function(a,b){if(a==null){d("BDOperationLogHelper").logWarning(h,d("BDLoggingConstants").OPERATIONS.SIGNAL_VALUE_NULL);return!1}if(this.getSignalValueType()!==a.getSignalValueType())return!1;if(this.getSignalValueType()===m.ERROR&&a.getSignalValueType()===m.ERROR)return this.equalValue(a);var c=!1;b.has(128)&&(c=this.equalValue(a));b.has(256)&&(c=c&&this.getSignalContext()!=null&&a.getSignalContext()!=null&&this.getSignalContext().getSignalValueContextName()===a.getSignalContext().getSignalValueContextName());b.has(512)&&(c=c&&Math.abs(this.getTimeStampMS()-a.getTimeStampMS())<=this.$5);return c};b.equalValue=function(a){if(this.isPrimitiveType())return this.getSignalValue()===a.getSignalValue();throw new Error("Must implement in the subclasses")};b.toJSON=function(a){var b={};a&&(b[i]=this.$1/1e3,this.$2!=null&&(b[j]=this.$2));this.$3==null?b[l]=new(d("SignalErrorValueTypeDef").SignalErrorValueTypeDef)(2):this.addValueOrErrorToJSON(b);return b};b.addValueOrErrorToJSON=function(a){if(this.isPrimitiveType())a[k]=this.$3;else throw new Error("Must implement in the subclasses")};b.isPrimitiveType=function(){switch(typeof this.$3){case"number":case"boolean":case"string":return!0;default:return!1}};return a}();g.BD_VALUE=k;g.BD_ERROR=l;g.VALUE_TYPES=m;g.SignalValueTypeDef=a}),98); __d("ErrorSignalValueType",["SignalValueTypeDef"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,e){return a.call(this,b,c,e,d("SignalValueTypeDef").VALUE_TYPES.ERROR)||this}var c=b.prototype;c.equalValue=function(a){return this.getSignalValue().isEqual(a.getSignalValue())};c.addValueOrErrorToJSON=function(a){a[d("SignalValueTypeDef").BD_ERROR]=this.getSignalValue().toJSON()};return b}(d("SignalValueTypeDef").SignalValueTypeDef);g["default"]=a}),98); __d("NumberSignalValueType",["SignalValueTypeDef"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,e){return a.call(this,b,c,e,d("SignalValueTypeDef").VALUE_TYPES.NUMBER)||this}return b}(d("SignalValueTypeDef").SignalValueTypeDef);g["default"]=a}),98); __d("BDConnectionRTTSignalCollector",["BDSignalCollectorBase","ErrorSignalValueType","NumberSignalValueType","SignalErrorValueTypeDef"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var e=a.prototype;e.executeSignalCollection=function(){if(navigator.connection!=null&&navigator.connection.rtt!=null){var a=navigator.connection.rtt;a=new(c("NumberSignalValueType"))(Date.now(),this.getContext(),a)}else a=new(c("ErrorSignalValueType"))(Date.now(),this.getContext(),new(d("SignalErrorValueTypeDef").SignalErrorValueTypeDef)(3,"navigator.connection.rtt not supported"));return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30004,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("CustomObjectSignalValueType",["SignalValueTypeDef"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,e){return a.call(this,b,c,e,d("SignalValueTypeDef").VALUE_TYPES.CUSTOM_OBJECT)||this}var c=b.prototype;c.equalValue=function(a){return this.getSignalValue().isEqual(a.getSignalValue())};c.addValueOrErrorToJSON=function(a){a[d("SignalValueTypeDef").BD_VALUE]=this.getSignalValue().toJSON()};return b}(d("SignalValueTypeDef").SignalValueTypeDef);g["default"]=a}),98); __d("HeartbeatObject",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.isAppForeground=!0}var b=a.prototype;b.toJSON=function(){return{f:this.isAppForeground}};b.isEqual=function(a){return!1};return a}();f["default"]=a}),66); __d("BDHeartbeatSignalCollector",["BDSignalCollectorBase","CustomObjectSignalValueType","HeartbeatObject"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=new(c("CustomObjectSignalValueType"))(Date.now(),this.getContext(),new(c("HeartbeatObject"))());return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:38e3,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDBiometricSignalCollectorBase",["BDSignalCollectorBase","err"],(function(a,b,c,d,e,f,g){"use strict";a="biometric_signal_collected";b=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var d=b.prototype;d.listenForSignals=function(){throw c("err")("Child class responsibility to implement listenForSignals")};d.executeSignalCollection=function(){throw c("err")("executeAsyncSignalCollection and executeSignalCollection should not be called on biometric signals")};return b}(c("BDSignalCollectorBase"));g.BIOMETRIC_SIGNAL_COLLECTED_EVENT_NAME=a;g.BDBiometricSignalCollectorBase=b}),98); __d("KeyDownUpObject",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a,b){this.action=null,this.key_code=null,this.action=a,this.key_code=b}var b=a.prototype;b.toJSON=function(){return{action:this.action,key_code:this.key_code}};b.isEqual=function(b){return b instanceof a?this.action===b.action&&this.key_code===b.key_code:!1};return a}();f["default"]=a}),66); __d("BDKeyDownUpSignalCollector",["BDBiometricSignalCollectorBase","CustomObjectSignalValueType","KeyDownUpObject","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var e=a.prototype;e.listenForSignals=function(){var a=this;c("gkx")("1652843")&&(document.addEventListener("keydown",function(b){return a.collectSignals(2)}),document.addEventListener("keyup",function(b){return a.collectSignals(1)}))};e.collectSignals=function(a){a=new(c("CustomObjectSignalValueType"))(Date.now(),this.getContext(),new(c("KeyDownUpObject"))(a,0));a={signalId:this.signalType,data:{valueOrError:a}};window.dispatchEvent(new CustomEvent(d("BDBiometricSignalCollectorBase").BIOMETRIC_SIGNAL_COLLECTED_EVENT_NAME,{detail:a}))};return a}(d("BDBiometricSignalCollectorBase").BDBiometricSignalCollectorBase),i=null,j={signalType:30100,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("StringArrayObject",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.strings=[],this.strings=a}var b=a.prototype;b.toJSON=function(){return this.strings};b.isEqual=function(b){if(!(b instanceof a))return!1;if(b.strings===this.strings)return!0;if(b.strings.length!==this.strings.length)return!1;for(var c=0;c=h)break}e.size&&(a=new(c("StringArrayObject"))(Array.from(e)))}catch(b){a=new(c("ErrorSignalValueType"))(Date.now(),this.getContext(),new(d("SignalErrorValueTypeDef").SignalErrorValueTypeDef)(3,"navigator.plugins is not defined"))}return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),j=null,k={signalType:30019,get:function(){j==null&&(j=new i());return j}};a=k;g["default"]=a}),98); __d("BDNavigatorUserAgentSignalCollector",["BDSignalCollectorBase","StringSignalValueType"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=new(c("StringSignalValueType"))(Date.now(),this.getContext(),navigator.userAgent);return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30094,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDNavigatorVendorSignalCollector",["BDSignalCollectorBase","StringSignalValueType"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=navigator.vendor;a=new(c("StringSignalValueType"))(Date.now(),this.getContext(),a);return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30012,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDNotificationPermissionSignalCollector",["BDSignalCollectorBase","ErrorSignalValueType","SignalErrorValueTypeDef","StringSignalValueType"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var e=a.prototype;e.executeSignalCollection=function(){var a;window.Notification?a=new(c("StringSignalValueType"))(Date.now(),this.getContext(),Notification.permission):a=new(c("ErrorSignalValueType"))(Date.now(),this.getContext(),new(d("SignalErrorValueTypeDef").SignalErrorValueTypeDef)(3,"Notification not supported"));return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30007,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDPluginCountSignalCollector",["BDSignalCollectorBase","NumberSignalValueType"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=navigator.plugins?navigator.plugins.length:-1;a=new(c("NumberSignalValueType"))(Date.now(),this.getContext(),a);return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30001,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDTimezoneOffsetSignalCollector",["BDSignalCollectorBase","NumberSignalValueType"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a;a=new(c("NumberSignalValueType"))(Date.now(),this.getContext(),(a=new Date().getTimezoneOffset())!=null?a:999);return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30040,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDTouchPresenceSignalCollector",["BDTouchOrMouseSignalCollectorBase"],(function(a,b,c,d,e,f,g){"use strict";var h=60*60*1e3,i=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,k.signalType,["touchstart","touchcancel"],h)||this}return a}(c("BDTouchOrMouseSignalCollectorBase")),j=null,k={signalType:30107,get:function(){j==null&&(j=new i());return j}};a=k;g["default"]=a}),98); __d("BDWebdriverSignalCollector",["BDSignalCollectorBase","BooleanSignalValueType"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=!!navigator.webdriver;a=new(c("BooleanSignalValueType"))(Date.now(),this.getContext(),a);return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:3e4,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDWindowHistoryLengthSignalCollector",["BDSignalCollectorBase","NumberSignalValueType"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=new(c("NumberSignalValueType"))(Date.now(),this.getContext(),window.history?window.history.length:0);return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30095,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("DimensionObject",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a,b){this.width=null,this.height=null,this.width=a,this.height=b}var b=a.prototype;b.toJSON=function(){return{w:this.width,h:this.height}};b.isEqual=function(b){if(b instanceof a)return this.width===b.width&&this.height===b.height;else return!1};return a}();f["default"]=a}),66); __d("BDWindowOuterDimensionSignalCollector",["BDSignalCollectorBase","CustomObjectSignalValueType","DimensionObject"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=window.innerHeight,b=window.innerWidth;b=new(c("CustomObjectSignalValueType"))(Date.now(),this.getContext(),new(c("DimensionObject"))(b,a));return{valueOrError:b}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:30005,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("SignalCollectorMap",["BDConnectionRTTSignalCollector","BDHeartbeatSignalCollector","BDHeartbeatV2SignalCollector","BDKeyDownUpSignalCollector","BDLanguagesSignalCollector","BDMimeTypeCountSignalCollector","BDMousePresenceSignalCollector","BDNavigatorAppVersionSignalCollector","BDNavigatorHardwareConcurrencySignalCollector","BDNavigatorMaxTouchPointSignalCollector","BDNavigatorNotificationPermissionSignalCollector","BDNavigatorPlatformSignalCollector","BDNavigatorPluginsFileExtensionsSignalCollector","BDNavigatorUserAgentSignalCollector","BDNavigatorVendorSignalCollector","BDNotificationPermissionSignalCollector","BDPluginCountSignalCollector","BDTimezoneOffsetSignalCollector","BDTouchPresenceSignalCollector","BDWebdriverSignalCollector","BDWindowHistoryLengthSignalCollector","BDWindowOuterDimensionSignalCollector"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(a){switch(a){case 3e4:return c("BDWebdriverSignalCollector").get();case 30001:return c("BDPluginCountSignalCollector").get();case 30002:return c("BDMimeTypeCountSignalCollector").get();case 30003:return c("BDLanguagesSignalCollector").get();case 30004:return c("BDConnectionRTTSignalCollector").get();case 30005:return c("BDWindowOuterDimensionSignalCollector").get();case 30007:return c("BDNotificationPermissionSignalCollector").get();case 30008:return c("BDNavigatorNotificationPermissionSignalCollector").get();case 30012:return c("BDNavigatorVendorSignalCollector").get();case 30013:return c("BDNavigatorAppVersionSignalCollector").get();case 30015:return c("BDNavigatorPlatformSignalCollector").get();case 30018:return c("BDNavigatorHardwareConcurrencySignalCollector").get();case 30019:return c("BDNavigatorPluginsFileExtensionsSignalCollector").get();case 30040:return c("BDTimezoneOffsetSignalCollector").get();case 30093:return c("BDNavigatorMaxTouchPointSignalCollector").get();case 30094:return c("BDNavigatorUserAgentSignalCollector").get();case 30095:return c("BDWindowHistoryLengthSignalCollector").get();case 30100:return c("BDKeyDownUpSignalCollector").get();case 30106:return c("BDMousePresenceSignalCollector").get();case 30107:return c("BDTouchPresenceSignalCollector").get();case 38e3:return c("BDHeartbeatSignalCollector").get();case 38001:return c("BDHeartbeatV2SignalCollector").get()}}};b=a;g["default"]=b}),98); __d("HeartbeatV2Object",["HeartbeatObject"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b){var c;c=a.call(this)||this;c.id="";c.id=b;return c}var c=b.prototype;c.toJSON=function(){return{f:this.isAppForeground,id:this.id}};return b}(c("HeartbeatObject"));g["default"]=a}),98); __d("BDHeartbeatV2SignalCollector",["BDClientConfig","BDSignalCollectorBase","CustomObjectSignalValueType","HeartbeatV2Object"],(function(a,b,c,d,e,f,g){"use strict";var h=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.call(this,j.signalType)||this}var d=a.prototype;d.executeSignalCollection=function(){var a=new(c("CustomObjectSignalValueType"))(Date.now(),this.getContext(),new(c("HeartbeatV2Object"))(c("BDClientConfig").get().getHeartbeatVersion()));return{valueOrError:a}};return a}(c("BDSignalCollectorBase")),i=null,j={signalType:38001,get:function(){i==null&&(i=new h());return i}};a=j;g["default"]=a}),98); __d("BDClientConfig",["BDLoggingConstants","BDOperationLogHelper","BDSignalWrapper"],(function(a,b,c,d,e,f,g){"use strict";var h="BDClientConfig",i=function(){function a(){this.staticSignalBufferSize=1,this.dynamicSignalBufferSize=1,this.biometricSignalBufferSize=1,this.staticSignals=[],this.dynamicSignals=[],this.biometricSignals=[],this.biometricSignalsMap=new Map(),this.heartbeatSignal=new(c("BDSignalWrapper"))([],38001),this.bufferSizeBySignalIdMap={},this.periodicCollectionIntervalMs=Number.MAX_SAFE_INTEGER,this.signalConfigGenerationTimeStampMs=0,this.suspiciousTiersFlushDurationMs=Number.MAX_SAFE_INTEGER,this.allTiersFlushDurationMs=Number.MAX_SAFE_INTEGER,this.heartbeatIntervalMs=-1,this.parsingDone=!1,this.sid=-1,this.hbVersion="",this.bufferSizeBySignalIdMap[38001]=1}var b=a.prototype;b.setStaticSignalBufferSize=function(a){a>0?this.staticSignalBufferSize=a:d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_BUFFER_SIZE,{size:a.toString(),type:"s"});return this};b.getStaticSignalBufferSize=function(){return this.staticSignalBufferSize};b.setDynamicSignalBufferSize=function(a){a>1?this.dynamicSignalBufferSize=a:d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_BUFFER_SIZE,{size:a.toString(),type:"d"});return this};b.getDynamicSignalBufferSize=function(){return this.dynamicSignalBufferSize};b.setBiometricSignalBufferSize=function(a){a>1?this.biometricSignalBufferSize=a:d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_BUFFER_SIZE,{size:a.toString(),type:"b"});return this};b.setSID=function(a){this.sid=a;return this};b.setHeartbeatVersion=function(a){this.hbVersion=a;return this};b.getHeartbeatVersion=function(){return this.hbVersion};b.getBiometricSignalBufferSize=function(){return this.biometricSignalBufferSize};b.setConfigGenerationTimeStamp=function(a){this.signalConfigGenerationTimeStampMs=a;return this};b.getConfigGenerationTimeStamp=function(){return this.signalConfigGenerationTimeStampMs};b.setHeartbeatIntervalMinutes=function(a){this.heartbeatIntervalMs=a*60*1e3;return this};b.getHeartbeatIntervalMs=function(){return this.heartbeatIntervalMs};b.setSuspiciousTiersFlushDurationMinutes=function(a){a>0?this.suspiciousTiersFlushDurationMs=a*60*1e3:d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_DURATION,{size:a.toString(),type:"fds"});return this};b.getSuspiciousTiersFlushDurationMs=function(){return this.suspiciousTiersFlushDurationMs};b.setAllTiersFlushDurationMinutes=function(a){a>0?this.allTiersFlushDurationMs=a*60*1e3:d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_DURATION,{size:a.toString(),type:"fda"});return this};b.getAllTiersFlushDurationMs=function(){return this.allTiersFlushDurationMs};b.addMultipleSignalsToClientConfig=function(a){var b=this;a.forEach(function(a){return b.addSignalToClientConfig(a)});return this};b.addSignalToClientConfig=function(a){var b=a.getSignalFlags(),d=a.getSignalId();if(d===38e3)return this;var e=new(c("BDSignalWrapper"))(b,d);if(d===38001){this.heartbeatSignal=e;return this}!b.includes(2)?this.staticSignals.push(e):b.includes(4)?this.biometricSignals.push(e):this.dynamicSignals.push(e);a.getBufferSize()>0&&(this.bufferSizeBySignalIdMap[a.getSignalId()]=a.getBufferSize());return this};b.setPeriodicCollectionIntervalSeconds=function(a){a>0?this.periodicCollectionIntervalMs=a*1e3:d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_DURATION,{size:a.toString(),type:"pi"});return this};b.getPeriodicCollectionIntervalMs=function(){return this.periodicCollectionIntervalMs};b.getDynamicSignals=function(){return this.dynamicSignals};b.getStaticSignals=function(){return this.staticSignals};b.getBiometricSignals=function(){return this.biometricSignals};b.getBiometricSignalsMap=function(){this.biometricSignalsMap.size===0&&this.biometricSignals.length>0&&(this.biometricSignalsMap=this.biometricSignals.reduce(function(a,b){return a.set(b.signalType,b)},new Map()));return this.biometricSignalsMap};b.getHeartbeatSignal=function(){return this.heartbeatSignal};b.getBufferSizeBySignalId=function(a){return this.bufferSizeBySignalIdMap[a]};b.setParsingDone=function(a){this.parsingDone=a};b.isParsingDone=function(){return this.parsingDone};return a}(),j=null;a={get:function(){j==null&&(j=new i());return j}};b=a;g["default"]=b}),98); __d("BDCollectionTypeEnum",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({STATIC:0,DYNAMIC:1,BIOMETRIC:2});f["default"]=a}),66); __d("BotDetection_SignalFlags",[],(function(a,b,c,d,e,f){a=Object.freeze({ACTIVE:1,DYNAMIC:2,BIOMETRIC:4,DEPRECATED:8,WEB:16,IOS_NATIVE:32,ANDROID_NATIVE:64,EQUAL_BY_VALUE:128,EQUAL_BY_CONTEXT:256,EQUAL_BY_TIMESTAMP:512,SUSPICIOUS_TIER:1024,PARANOID_TIER:2048,RANDOM_SAMPLE_TIER_DEPRECATED:4096,BENIGN_TIER:262144,EMPLOYEES_TIER:524288,BUNDLE:8192,ONSITE:16384,OFFSITE:32768,OFFSITE_SENSITIVE:65536,SENSITIVE:131072});f["default"]=a}),66); __d("BDServerSignalConfig",["BDLoggingConstants","BDOperationLogHelper","BotDetection_SignalFlags"],(function(a,b,c,d,e,f,g){"use strict";var h="BDServerSignalConfig";a=function(){function a(a,b,c){this.parsedSignalFlags=[],this.signalId=a,this.signalFlags=b,this.bufferSize=c}var b=a.prototype;b.getSignalId=function(){return this.signalId};b.getSignalFlags=function(){var a=this;if(this.parsedSignalFlags.length===0){var b=Object.keys(c("BotDetection_SignalFlags"));b.forEach(function(b){(c("BotDetection_SignalFlags")[b]&a.signalFlags)===c("BotDetection_SignalFlags")[b]&&a.parsedSignalFlags.push(c("BotDetection_SignalFlags")[b])})}this.parsedSignalFlags.length===0&&d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.SIGNAL_FLAGS_MISSING,{id:this.signalId.toString(),flags:this.signalFlags.toString()});return this.parsedSignalFlags};b.getBufferSize=function(){return this.bufferSize!=null?this.bufferSize:0};return a}();g["default"]=a}),98); __d("BDServerConfig",["BDClientConfig","BDLoggingConstants","BDOperationLogHelper","BDServerSignalConfig"],(function(a,b,c,d,e,f,g){"use strict";var h="BDServerConfig";function a(a){var b=[];try{var e=JSON.parse(a.sc),f=new Map(e.c);f.forEach(function(a,d){return b.push(new(c("BDServerSignalConfig"))(d,a))});if(f.size===0){d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.EMPTY_SIGNAL_CONFIG);return}f=c("BDClientConfig").get();f.setPeriodicCollectionIntervalSeconds(a.i).addMultipleSignalsToClientConfig(b).setConfigGenerationTimeStamp(e.t).setAllTiersFlushDurationMinutes(a.fda).setSuspiciousTiersFlushDurationMinutes(a.fds).setHeartbeatIntervalMinutes(a.hbi).setStaticSignalBufferSize(a.sbs).setDynamicSignalBufferSize(a.dbs).setBiometricSignalBufferSize(a.bbs).setSID(a.sid).setHeartbeatVersion(a.hbv).setParsingDone(!0)}catch(a){d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.PARSE_CONFIG_ERROR,{e:a})}}g.parseConfig=a}),98); __d("BDSignalBuffer",["BDClientConfig","BDCollectionTypeEnum","BDLoggingConstants","BDOperationLogHelper","BDSignalBufferData","orEmptyArray"],(function(a,b,c,d,e,f,g){"use strict";var h="BDSignalBuffer";function a(a,b,d){if(a in c("BDSignalBufferData"))return;var e=1;b!==void 0&&(e=b);c("BDSignalBufferData")[a]={values:[],max_buffer_size:e,signal_flags:c("orEmptyArray")(d)}}function i(a){if(a in c("BDSignalBufferData"))c("BDSignalBufferData")[a].values=[];else throw new Error("Tried to clear signal buffer that was not intialized:")}function b(a,b){if(a in c("BDSignalBufferData")){var e=c("BDSignalBufferData")[a],f=e.max_buffer_size;e.values.length>=f&&e.values.shift();e.values.push(b);d("BDOperationLogHelper").logInfo(h,d("BDLoggingConstants").OPERATIONS.APPEND_SIGNAL,{id:a.toString()})}else{d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.APPEND_SIGNAL_FAIL,{id:a.toString()});throw new Error("Tried to append signal that was not intialized:")}}function e(){var a=c("BDClientConfig").get();a=a.getBiometricSignals();a.forEach(function(a){a.signalType in c("BDSignalBufferData")&&i(a.signalType)})}function f(a){var b;a=c("BDSignalBufferData")[a];b=a==null?void 0:(b=a.values)==null?void 0:b.length;return b!=null&&b>0?a.values[b-1]:{valueOrError:void 0}}function j(a){return c("BDSignalBufferData")[a].values}function k(a){var b={};for(var d=0;d0)return d;if(!a.signalFlags.includes(2))return b.getStaticSignalBufferSize();else if(a.signalFlags.includes(4))return b.getBiometricSignalBufferSize();else return b.getDynamicSignalBufferSize()};e.$3=function(a){var c,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:c=a.getSignalCollector();if(!(c!=null)){f.next=12;break}f.prev=2;f.next=5;return b("regeneratorRuntime").awrap(c.executeAsyncSignalCollection());case 5:e=f.sent;this.$4(e,a);f.next=12;break;case 9:f.prev=9,f.t0=f["catch"](2),d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.BD_EXCEPTION,{error:f.t0});case 12:case"end":return f.stop()}},null,this,[[2,9]])};e.$2=function(a){this.$5();a=a.getSignalCollector();a!=null&&a instanceof d("BDBiometricSignalCollectorBase").BDBiometricSignalCollectorBase&&a.listenForSignals()};e.$5=function(){if(this.$1)return;window.addEventListener(d("BDBiometricSignalCollectorBase").BIOMETRIC_SIGNAL_COLLECTED_EVENT_NAME,this.$6);this.$1=!0};e.$4=function(a,b){b.getBufferConfig()==null&&d("BDSignalBuffer").initialize(b.signalType,this.getCircularBufferSize(b),b.signalFlags),a.valueOrError&&!this.isEqualToLastCollectedSignal(a.valueOrError,b)&&d("BDSignalBuffer").appendSignal(b.signalType,a)};return a}(),j=null;a={get:function(){j==null&&(j=new i());return j}};e=a;g["default"]=e}),98); /** * License: https://www.facebook.com/legal/license/MDzNl_j9yvg/ */ __d("javascript-blowfish-1.0.5",[],(function(a,b,c,d,e,f){"use strict";b={};var g={exports:b};function h(){var a=function(b,c){this.key=b,(c==="ecb"||c==="cbc")&&(this.mode=c),this.sBox0=a.sBox0.slice(),this.sBox1=a.sBox1.slice(),this.sBox2=a.sBox2.slice(),this.sBox3=a.sBox3.slice(),this.pArray=a.pArray.slice(),this.generateSubkeys(b)};a.prototype={sBox0:null,sBox1:null,sBox2:null,sBox3:null,pArray:null,key:null,mode:"ecb",iv:"abc12345",keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encrypt:function(a,b){if(this.mode==="ecb")return this.encryptECB(a);if(this.mode==="cbc")return this.encryptCBC(a,b);throw new Error("\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f.")},decrypt:function(a,b){if(this.mode==="ecb")return this.decryptECB(a);if(this.mode==="cbc")return this.decryptCBC(a,b);throw new Error("\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f.")},encryptECB:function(a){a=this.utf8Decode(a);var b=Math.ceil(a.length/8),c="";for(var d=0;d>>24,c=a<<8>>>24,d=a<<16>>>24;a=a<<24>>>24;b=this.addMod32(this.sBox0[b],this.sBox1[c]);b=this.xor(b,this.sBox2[d]);b=this.addMod32(b,this.sBox3[a]);return b},encipher:function(a,b){var c;for(var d=0;d<16;d++)a=this.xor(a,this.pArray[d]),b=this.xor(this.F(a),b),c=a,a=b,b=c;c=a;a=b;b=c;b=this.xor(b,this.pArray[16]);a=this.xor(a,this.pArray[17]);return[a,b]},decipher:function(a,b){var c;a=this.xor(a,this.pArray[17]);b=this.xor(b,this.pArray[16]);c=a;a=b;b=c;for(var d=15;d>=0;d--)c=a,a=b,b=c,b=this.xor(this.F(a),b),a=this.xor(a,this.pArray[d]);return[a,b]},generateSubkeys:function(a){var b=0,c=0,d,e;for(d=0;d<18;d++){for(e=4;e>0;e--)b=this.fixNegative(b<<8|a.charCodeAt(c)),c=(c+1)%a.length;this.pArray[d]=this.xor(this.pArray[d],b);b=0}e=[0,0];for(d=0;d<18;d+=2)e=this.encipher(e[0],e[1]),this.pArray[d]=e[0],this.pArray[d+1]=e[1];for(d=0;d<256;d+=2)e=this.encipher(e[0],e[1]),this.sBox0[d]=e[0],this.sBox0[d+1]=e[1];for(d=0;d<256;d+=2)e=this.encipher(e[0],e[1]),this.sBox1[d]=e[0],this.sBox1[d+1]=e[1];for(d=0;d<256;d+=2)e=this.encipher(e[0],e[1]),this.sBox2[d]=e[0],this.sBox2[d+1]=e[1];for(d=0;d<256;d+=2)e=this.encipher(e[0],e[1]),this.sBox3[d]=e[0],this.sBox3[d+1]=e[1]},block32toNum:function(a){return this.fixNegative(a.charCodeAt(0)<<24|a.charCodeAt(1)<<16|a.charCodeAt(2)<<8|a.charCodeAt(3))},num2block32:function(a){return String.fromCharCode(a>>>24)+String.fromCharCode(a<<8>>>24)+String.fromCharCode(a<<16>>>24)+String.fromCharCode(a<<24>>>24)},xor:function(a,b){return this.fixNegative(a^b)},addMod32:function(a,b){return this.fixNegative(a+b|0)},fixNegative:function(a){return a>>>0},split64by32:function(a){var b=a.substring(0,4);a=a.substring(4,8);return[this.block32toNum(b),this.block32toNum(a)]},utf8Decode:function(a){var b="";for(var c=0;c127&&d<2048?(b+=String.fromCharCode(d>>6|192),b+=String.fromCharCode(d&63|128)):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128),b+=String.fromCharCode(d&63|128))}return b},utf8Encode:function(a){var b="",c=0,d=0,e=0,f;while(c191&&d<224?(e=a.charCodeAt(c+1),b+=String.fromCharCode((d&31)<<6|e&63),c+=2):(e=a.charCodeAt(c+1),f=a.charCodeAt(c+2),b+=String.fromCharCode((d&15)<<12|(e&63)<<6|f&63),c+=3);return b},base64Encode:function(a){var b="",c,d,e,f,g,h,i=0;while(i>2,c=(c&3)<<4|d>>4,g=(d&15)<<2|e>>6,h=e&63,isNaN(d)?g=h=64:isNaN(e)&&(h=64),b=b+this.keyStr.charAt(f)+this.keyStr.charAt(c)+this.keyStr.charAt(g)+this.keyStr.charAt(h);return b},base64Decode:function(a){var b="",c,d,e,f,g,h=0;a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(h>4,e=(e&15)<<4|f>>2,c=(f&3)<<6|g,b=b+String.fromCharCode(d),f!=64&&(b=b+String.fromCharCode(e)),g!=64&&(b=b+String.fromCharCode(c));return b},trimZeros:function(a){return a.replace(/\0+$/g,"")}};a.pArray=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731];a.sBox0=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946];a.sBox1=[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055];a.sBox2=[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504];a.sBox3=[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462];g.exports=a}var i=!1;function j(){i||(i=!0,h());return g.exports}function a(a){switch(a){case void 0:return j()}}e.exports=a}),null); __d("javascript-blowfish",["javascript-blowfish-1.0.5"],(function(a,b,c,d,e,f){e.exports=b("javascript-blowfish-1.0.5")()}),null); __d("BDClientSignalCollectionTrigger",["BDClientConfig","BDCollectionTypeEnum","BDLoggingConstants","BDOperationLogHelper","BDServerConfig","BDSignalBuffer","BDUtils","BdPdcSignalsFalcoEvent","Promise","SignalCollectionManager","WebStorage","javascript-blowfish","regeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h="BDClientSignalCollectionTrigger",i="signal_flush_timestamp",j=!1,k=!1,l=!1,m=0,n=0,o=0,p=30,q=5,r,s,t=d("BDUtils").uuid(),u=c("BDClientConfig").get(),v=Object.freeze({NONE:0,VITAL:1,CRITICAL:2}),w={startSignalCollection:function(a){return b("regeneratorRuntime").async(function(c){while(1)switch(c.prev=c.next){case 0:u.setSID(a.sid);if(j){c.next=15;break}j=!0;d("BDServerConfig").parseConfig(a);if(u.isParsingDone()){c.next=8;break}d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.PARSE_CONFIG_ERROR,{config:JSON.stringify(a)});j=!1;return c.abrupt("return");case 8:a!=null&&(n=a.hbcbc&&a.hbcbc>0?a.hbcbc:n,o=a.hbvbc&&a.hbvbc>0?a.hbvbc:o,p=a.hbbi&&a.hbbi>0?a.hbbi:p);w.startHeartbeatDelayed();s=new(b("Promise"))(function(a,b){try{u.getDynamicSignals().length>0&&(w.collectDynamicSignals(),d("BDOperationLogHelper").logInfo(h,d("BDLoggingConstants").OPERATIONS.DYNAMIC_SIGNAL_COLLECTION_STARTED,{ts:Date.now().toString()})),u.getBiometricSignals().length>0&&(w.collectBiometricSignals(),d("BDOperationLogHelper").logInfo(h,d("BDLoggingConstants").OPERATIONS.BIOMETRIC_SIGNAL_COLLECTION_STARTED,{ts:Date.now().toString()})),a()}catch(a){b(a)}});c.next=13;return b("regeneratorRuntime").awrap(s);case 13:c.next=15;return b("regeneratorRuntime").awrap(w.startSignalPosting());case 15:j&&!k&&!l&&q>0&&(q-=1,d("BDOperationLogHelper").logWarning(h,d("BDLoggingConstants").OPERATIONS.TRY_RESTARTING_HB),w.startHeartbeatDelayed());case 16:case"end":return c.stop()}},null,this)},retrieveSignals:function(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:a.next=2;return b("regeneratorRuntime").awrap(s);case 2:a.next=4;return b("regeneratorRuntime").awrap(w.postSignals([c("BDCollectionTypeEnum").DYNAMIC,c("BDCollectionTypeEnum").BIOMETRIC,c("BDCollectionTypeEnum").STATIC]));case 4:case"end":return a.stop()}},null,this)},postSignals:function(a){return b("regeneratorRuntime").async(function(c){while(1)switch(c.prev=c.next){case 0:c.next=2;return b("regeneratorRuntime").awrap(w.collectStaticSignals());case 2:w._postSignalsHelper(d("BDSignalBuffer").getSignalsAsJSONString(a),v.NONE)&&w.setTimestampInStorage(Date.now(),i);case 3:case"end":return c.stop()}},null,this)},_postSignalsHelper:function(a,b){if(a.length<=2)return!1;var e=u.getConfigGenerationTimeStamp(),f=w.encryptDataUsingAsid(t,a);a=function(){return{asid:t,ct:e,sjd:f,sid:u.sid}};var g=!1;try{b===v.CRITICAL?c("BdPdcSignalsFalcoEvent").logCritical(a):b===v.VITAL?c("BdPdcSignalsFalcoEvent").logImmediately(a):c("BdPdcSignalsFalcoEvent").log(a),g=!0}catch(a){d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.BANZAI_LOG_ERROR,a),g=!1}finally{return g}},getInitialVector:function(a){if(a.length!==16){d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_LENGTH);return""}var b="";for(var c=0;c<8;c++)b+=String.fromCharCode(a.charCodeAt(c)^a.charCodeAt(8+c));return b},encryptDataUsingAsid:function(a,b){if(a.length!==36){d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.INVALID_GUID);return b}a=a.slice(19,23)+a.slice(24,36);var e=w.getInitialVector(a);a=new(c("javascript-blowfish"))(a,"cbc");return a.base64Encode(a.encrypt(b,e))},startSignalPosting:function(){var a,c;return b("regeneratorRuntime").async(function(d){while(1)switch(d.prev=d.next){case 0:a=w.getTimestampInStorage(i);c=Date.now()-a;if(!(c>=u.getAllTiersFlushDurationMs())){d.next=7;break}d.next=5;return b("regeneratorRuntime").awrap(w.postSignalsIntermittently());case 5:d.next=8;break;case 7:window.setTimeout(function(){w.postSignalsIntermittently()},u.getAllTiersFlushDurationMs()-c);case 8:case"end":return d.stop()}},null,this)},postSignalsIntermittently:function(){w.postSignals([c("BDCollectionTypeEnum").STATIC]),window.setInterval(function(){w.postSignals([c("BDCollectionTypeEnum").STATIC,c("BDCollectionTypeEnum").DYNAMIC,c("BDCollectionTypeEnum").BIOMETRIC])},u.getAllTiersFlushDurationMs())},setTimestampInStorage:function(a,b){var e=c("WebStorage").getLocalStorage();if(!e){d("BDOperationLogHelper").logWarning(h,d("BDLoggingConstants").OPERATIONS.GET_LOCAL_STORAGE_ERROR);return}e=c("WebStorage").setItemGuarded(e,b,a.toString());e!=null&&d("BDOperationLogHelper").logWarning(h,d("BDLoggingConstants").OPERATIONS.WEB_STORAGE,{error:e.message})},getTimestampInStorage:function(a){var b=c("WebStorage").getLocalStorage();if(!b){d("BDOperationLogHelper").logWarning(h,d("BDLoggingConstants").OPERATIONS.GET_LOCAL_STORAGE_ERROR);return 0}b=b.getItem(a);if(b==null)return 0;a=Number.parseInt(b,10);return Number.isFinite(a)?a:0},resetHeartbeatStartedForTest:function(){k=!1,l=!1},startHeartbeatDelayed:function(){if(k||l)return;var a=w.getTimestampInStorage(w.HEARTBEAT_TIMESTAMP_STORAGE_KEY);a=Date.now()-a;try{a>=u.getHeartbeatIntervalMs()?w.startHeartbeat():(window.setTimeout(function(){return w.startHeartbeat()},u.getHeartbeatIntervalMs()-a),l=!0)}catch(b){d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.HB_START_FAILURE,{lastBeatSince:a.toString(),hbi:u.getHeartbeatIntervalMs().toString(),e:b})}},HEARTBEAT_TIMESTAMP_STORAGE_KEY:"hb_timestamp",startHeartbeat:function(){!k&&u.getHeartbeatIntervalMs()>0&&(w.collectHeartbeatTimes(n,o),m!==0&&(window.clearInterval(m),d("BDOperationLogHelper").logWarning(h,d("BDLoggingConstants").OPERATIONS.HB_ALREADY_RUNNING)),m=window.setInterval(function(){return w.collectHeartbeatTimes(n,o)},u.getHeartbeatIntervalMs()),k=!0)},collectHeartbeatTimes:function(a,b){if(a<=0&&b<=0)return;a>0&&w.collectHeartbeat(v.CRITICAL);b>0&&w.collectHeartbeat(v.VITAL);(a>1||b>1)&&window.setTimeout(function(){return w.collectHeartbeatTimes(a-1,b-1)},p*1e3)},collectHeartbeat:function(a){var b;b=u==null?void 0:(b=u.getHeartbeatSignal())==null?void 0:(b=b.getSignalCollector())==null?void 0:b.executeSignalCollection();if(b==null){d("BDOperationLogHelper").logError(h,d("BDLoggingConstants").OPERATIONS.HB_COLLECTION_FAILED,{urgency:a.toString()});return}else d("BDOperationLogHelper").logInfo(h,d("BDLoggingConstants").OPERATIONS.HB_COLLECTED,{urgency:a.toString()});w.postHeartbeat(a,b)&&w.setTimestampInStorage(Date.now(),w.HEARTBEAT_TIMESTAMP_STORAGE_KEY)},postHeartbeat:function(a,b){var c={};c[38001]=[b==null?void 0:b.valueOrError];b=JSON.stringify(c);return w._postSignalsHelper(b,a)},collectStaticSignals:function(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:a.next=2;return b("regeneratorRuntime").awrap(w.collectSignalsOneTime(u.getStaticSignals()));case 2:case"end":return a.stop()}},null,this)},collectDynamicSignals:function(){w.stopDynamicSignalCollection(),r=window.setInterval(function(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:a.next=2;return b("regeneratorRuntime").awrap(w.collectSignalsOneTime(u.getDynamicSignals()));case 2:case"end":return a.stop()}},null,this)},u.getPeriodicCollectionIntervalMs())},collectBiometricSignals:function(){w.collectSignalsOneTime(u.getBiometricSignals())},stopDynamicSignalCollection:function(){r!=null&&(window.clearInterval(r),r=null)},collectSignalsOneTime:function(a){return b("regeneratorRuntime").async(function(d){while(1)switch(d.prev=d.next){case 0:d.next=2;return b("regeneratorRuntime").awrap(c("SignalCollectionManager").get().collectSignals(a));case 2:case"end":return d.stop()}},null,this)}};a=w;g["default"]=a}),98); __d("BDCometSignalCollectionTrigger",["BDClientSignalCollectionTrigger","BDSignalCollectionData"],(function(a,b,c,d,e,f,g){"use strict";function a(){c("BDClientSignalCollectionTrigger").startSignalCollection(c("BDSignalCollectionData"))}g.initSignalCollection=a}),98); __d("RTWebCometCallMessageLayout.react",["CometEntityHeaderFacepile.react","CometImageIcon_DEPRECATED.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i="/images/chat/webrtc/no_profile_pic.png";function a(a){var b=a.caller,d=a.mainMessage,e=a.participants;a=a.subMessage;var f=j(e);e=e.length>1;return h.jsxs("div",{className:"jifvfom9 btwxx1t3 j83agx80",children:[h.jsx(c("CometImageIcon_DEPRECATED.react"),{size:60,src:k(b),style:"circle"}),h.jsxs("div",{className:"gu00c43d taijpn5t cbu4d94t j83agx80",children:[h.jsx("div",{className:"qzhwtbm6 n3ffmt46 a5q79mjw oo9gr5id",children:d}),h.jsxs("div",{className:"linoseic e9vueds3 m9osqain",children:[e?h.jsx(c("CometEntityHeaderFacepile.react"),{profiles:f}):null,h.jsx("div",{children:a})]})]})]})}a.displayName=a.name+" [from "+f.id+"]";function j(a){return a.length>0?a.map(function(a){return{name:a.name,pictureURI:k(a),profileURL:"#",size:32}}):[]}function k(a){return(a=a.profilePictureUrl)!=null?a:i}g["default"]=a}),98); __d("XRefererFrameController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/common/referer_frame.php",{})}),null); __d("ControlledReferer",["Bootloader","CookieConsent","CookieConsentIFrameConfig","DeferredCookie","XRefererFrameController","getRequestConstUri","isInstagramURI","isMessengerDotComURI","isOculusDotComURI","isWorkplaceDotComURI","justknobx","lowerFacebookDomain"],(function(a,b,c,d,e,f,g){function h(a){return c("CookieConsent").hasConsent(1)&&c("CookieConsentIFrameConfig").allowlisted_iframes.includes(a.id)}function i(a,b,d){if(!c("DeferredCookie").canEmbedThirdPartyPixel()&&!h(a)){c("Bootloader").loadModules(["ODS"],function(a){a.bumpEntityKey(2966,"defer_cookies","block_controlled_referer_iframe")},"ControlledReferer");return}var e=!1;function f(){if(e)return;var c=a.contentWindow.location.pathname;if(c!=="/intern/common/referer_frame.php"&&c!=="/common/referer_frame.php")return;e=!0;a.contentWindow.document.body.style.margin=0;b()}var g;c("isMessengerDotComURI")(c("getRequestConstUri")())||c("justknobx")._("186")&&c("isInstagramURI")(c("getRequestConstUri")())?g=c("XRefererFrameController").getURIBuilder().getURI().toString():c("isOculusDotComURI")(c("getRequestConstUri")())?g="/common/referer_frame.php":!c("lowerFacebookDomain").isValidDocumentDomain()?g="/intern/common/referer_frame.php":g=c("XRefererFrameController").getURIBuilder().getURI().toString();d==null&&c("isWorkplaceDotComURI")(c("getRequestConstUri")())&&(d="workplace");d&&(g+="?fb_source="+d);a.onload=f;a.src=g}function a(a,b,c){i(a,function(){a.contentWindow.document.body.innerHTML=b},c)}g.shouldUseFacebookReferer=i;g.useFacebookRefererHtml=a}),98); __d("StaticContainer.react",["React"],(function(a,b,c,d,e,f,g){var h=d("React");a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.shouldComponentUpdate=function(a){return!!a.shouldUpdate};c.render=function(){var a=this.props.children;return a===null||a===!1?null:h.Children.only(a)};return b}(h.Component);g["default"]=a}),98); __d("ControlledRefererIFrame.react",["ControlledReferer","ControlledRefererIFrameConfig","SecurePostMessage","StaticContainer.react","URI","react"],(function(a,b,c,d,e,f){"use strict";var g,h,i=g||b("react");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.mountFrameRef=function(a){this.frame=a};d.updateFrame=function(){var a=this,c=this.frame;if(!c)return;this.props.onBeforeFrameRender&&this.props.onBeforeFrameRender(this.props);b("ControlledReferer").shouldUseFacebookReferer(c,function(){var d=c.contentWindow.document;d.body.innerHTML='\n
\n '+b("ControlledRefererIFrameConfig").additional_markup+"\n ";var e=new(h||(h=b("URI")))(a.props.src).qualify(),f=d.getElementById("theform");f.action=e.toString();e=e.getQueryData();for(var g in e)if(Object.prototype.hasOwnProperty.call(e,g)){var i=d.createElement("input");i.name=g;i.setAttribute("value",e[g]);i.autocomplete="off";i.type="hidden";f.appendChild(i)}d.body.innerHTML+='\n \n ';a.props.onFrameRender&&a.props.onFrameRender(a.props)})};d.componentDidMount=function(){this.updateFrame()};d.componentDidUpdate=function(a){a.src!==this.props.src&&this.updateFrame()};d.UNSAFE_componentWillReceiveProps=function(a){var b=this.frame;b&&(a.width!==this.props.width||a.height!==this.props.height)&&(a.width!=null&&(b.width=""+a.width),a.height!=null&&(b.height=""+a.height))};d.render=function(){var a=this,c=this.props;c.src;c.onFrameRender;c.onBeforeFrameRender;c=babelHelpers.objectWithoutPropertiesLoose(c,["src","onFrameRender","onBeforeFrameRender"]);return i.jsx(b("StaticContainer.react"),{children:i.jsx("iframe",babelHelpers["extends"]({},c,{ref:function(b){return a.mountFrameRef(b)}}))})};d.postMessage=function(a,c){this.frame&&b("SecurePostMessage").sendMessageToSpecificOrigin(this.frame.contentWindow,a,c)};return c}(i.PureComponent);e.exports=a}),null); __d("CometJSSemPixelsContainer.react",["CometJSSemPixelsContainerQuery.graphql","CometRelay","ControlledRefererIFrame.react","ODS","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=h!==void 0?h:h=b("CometJSSemPixelsContainerQuery.graphql");function k(a){d("ODS").bumpEntityKey(3423,"paid_ads.pixel",a)}function a(){var a=d("CometRelay").useLazyLoadQuery(j,{});if(a==null||a.sem_universal_pixels==null)return null;var b=c("gkx")("1763940");return i.jsx("div",{children:a.sem_universal_pixels.map(function(a){var d=a.name;return d==null||a.url==null?null:i.jsx(c("ControlledRefererIFrame.react"),{hidden:!0,onBeforeFrameRender:b?function(){return k("before_fire."+d)}:void 0,onFrameRender:b?function(){return k("after_fire."+d)}:void 0,src:a.url},a.url)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("ImmutableValue",["invariant","isNode"],(function(a,b,c,d,e,f,g){"use strict";var h="_DONT_EVER_TYPE_THIS_SECRET_KEY";a=function(){function a(b){b===a[h]||g(0,5608)}a.mergeAllPropertiesInto=function(a,b){var c=b.length;for(var d=0;d0&&c.forEach(function(a){d.push(b("MessengerServerPayloadTransformer.bs").getBlockedParticipant(a))});return d})}f.$$fetch=a}),null); __d("MessengerParticipants.bs",["fbt","CurrentUser","FBID.bs","ImmutableObject","MercuryAssert","MercuryIDs","MercuryParticipantTypes","MercuryVanityIDMap.bs","MessengerParticipantsFetcher.bs","ODS","Promise","bs_belt_Array","bs_caml_obj","bs_caml_option","bs_curry","bs_js_dict","bs_js_null_undefined","immutable"],(function(a,b,c,d,e,f,g){"use strict";var h={contents:1},i={},j=new Set(),k={},l=function(b,a){delete b[a];return 0},m=function(b,a){delete b[a];return 0};function n(a){if(b("CurrentUser").isWorkUser())return g._(/*FBT_CALL*/"Usu\u00e1rio do Workplace"/*FBT_CALL*/);else return g._(/*FBT_CALL*/"Usu\u00e1rio do Facebook"/*FBT_CALL*/)}function o(a){var c=a.user_type;if(c==null)return a;if(!(b("bs_caml_obj").caml_equal(c,b("MercuryParticipantTypes").USER)||b("bs_caml_obj").caml_equal(c,b("MercuryParticipantTypes").FRIEND)))return a;c=a.href;var d=a.vanity;if(!(c==null))return a;if(!(d==null))return a;c=n(void 0);return Object.assign(a,{name:c,short_name:c})}function a(a){Object.keys(i).forEach(function(a){return m(i,a)})}function p(a){var c=a.id,d=a.vanity;d==null||b("MercuryVanityIDMap.bs").set(d,c);d=b("bs_js_dict").get(i,c);d!==void 0?i[c]=b("ImmutableObject").set(b("bs_caml_option").valFromOption(d),a):i[c]=new(b("ImmutableObject"))(o(a))}function c(a){a=a.participants;if(!(a==null)){a.map(p);return}}function d(a){a=a.preloaded_participants;if(!(a==null)){a.map(p);return}}function q(a,c,d){var e={},f=[];a.forEach(function(a){var c=b("bs_js_dict").get(i,a);c!==void 0?e[a]=b("bs_caml_option").valFromOption(c):f.push(a)});if(f.length!==0){var g=[];f.forEach(function(a){if(j.has(a))return;var c=b("MercuryIDs").getUserIDFromParticipantID(a);if(!(c==null)){g.push(c);j.add(a);return}});var m=h.contents.toString();k[m]=[a,d];h.contents=h.contents+1|0;g.length>0&&b("MessengerParticipantsFetcher.bs").$$fetch({ids:g,source:c}).then(function(a){a.forEach(function(a){i[a.id]=new(b("ImmutableObject"))(a);var c=a.id;a=a.vanity;a==null||b("MercuryVanityIDMap.bs").set(a,c);j["delete"](c)});Object.keys(k).forEach(function(a){var d=b("bs_js_dict").get(k,a);if(d===void 0)return;var e=d[0],c={};e.forEach(function(a){var d=b("bs_js_dict").get(i,a);if(d!==void 0){c[a]=b("bs_caml_option").valFromOption(d);return}});if(Object.keys(c).length===e.length){l(k,a);return d[1](c)}});b("ODS").bumpEntityKey(2966,"messenger_webgraphql","fetch_participant.success");return b("Promise").resolve(void 0)})["catch"](function(a){b("ODS").bumpEntityKey(2966,"messenger_webgraphql","fetch_participant.failure");return b("Promise").resolve(void 0)});return m}d(e);return null}function e(a,b){return q(a,null,b)}function r(a,c){b("MercuryAssert").isParticipantID(a);return q([a],null,function(d){d=b("bs_js_dict").get(d,a);if(d!==void 0)return b("bs_curry")._1(c,b("bs_caml_option").valFromOption(d))})}function s(a){return b("bs_js_null_undefined").fromOption(b("bs_js_dict").get(i,a))}function t(c,d){var e=[],a=[];c.forEach(function(b){var c=s(b);c==null?e.push(b):a.push(c)});if(e.length===0)return[a,null];var f=q(e,null,function(a){return b("bs_curry")._1(d,b("bs_belt_Array").keepMap(c,function(a){return b("bs_caml_option").nullable_to_opt(s(a))}))});return[a,f]}function u(a,c){var d=function(a){return b("immutable").Map(a.map(function(a){return[a.id,a]}))},e=function(a){return b("bs_curry")._1(c,d(a))};a=t(a,e);return[d(a[0]),a[1]]}function v(a){return l(k,a)}function w(a){if(a==null)return null;if(b("MercuryVanityIDMap.bs").hasVanity(a)){var c=b("MercuryVanityIDMap.bs").getID(a);if(c==null)return null;else return c}c=/^\d+$/;if(!c.test(a))return null;c=b("FBID.bs").ofString(a);if(c!==void 0)return b("MercuryIDs").getParticipantIDFromUserID(b("bs_caml_option").valFromOption(c));else return null}f.reset=a;f.addParticipants=c;f.addPreloadedParticipants=d;f.getDefaultName=n;f.get=r;f.getNow=s;f.getMultiWithSource=q;f.getMulti=e;f.getMultiEager=t;f.getMultiEagerMap=u;f.removeCallback=v;f.getIDFromVanityOrFBID=w}),null); __d("MessengerParticipants.re",["MessengerParticipants.bs","bs_curry"],(function(a,b,c,d,e,f){a=function(a,c){a=b("bs_curry")._2(b("MessengerParticipants.bs").get,a,c);return a};f.get=a;c=b("MessengerParticipants.bs").getNow;f.getNow=c;d=function(a,c,d){a=b("bs_curry")._3(b("MessengerParticipants.bs").getMultiWithSource,a,c,d);return a};f.getMultiWithSource=d;e=function(a,c){a=b("bs_curry")._2(b("MessengerParticipants.bs").getMulti,a,c);return a};f.getMulti=e;a=function(a,c){a=b("bs_curry")._2(b("MessengerParticipants.bs").getMultiEager,a,c);return a};f.getMultiEager=a;c=function(a,c){a=b("bs_curry")._2(b("MessengerParticipants.bs").getMultiEagerMap,a,c);return a};f.getMultiEagerMap=c;d=b("MessengerParticipants.bs").removeCallback;f.removeCallback=d}),null); __d("ZenonUsers",["$InternalEnum","MercuryIDs","MessengerParticipants.re","Promise","immutable","isStringNullOrEmpty","memoizeWithArgs","nullthrows"],(function(a,b,c,d,e,f,g){"use strict";var h=b("$InternalEnum").Mirrored(["Guest","User","Page"]),i=c("memoizeWithArgs")(function(a){var b=a.big_image_src,c=a.fbid,d=a.gender,e=a.href,f=a.image_src,g=a.name,h=a.short_name,i=a.user_type;a=a.vanity;return Object.freeze({gender:d,id:c,name:g,profilePictureUrl:(c=(d=b)!=null?d:f)!=null?c:null,profileUrl:(g=e)!=null?g:null,shortName:h,userType:j(i),vanity:(b=a)!=null?b:null})},function(a){a=a.fbid;return a}),j=function(a){a=a;if(a==="guest")return h.Guest;else if(a==="page")return h.Page;return h.User},k=function(a){var b=a[0];a=a[1];return[c("nullthrows")(d("MercuryIDs").getUserIDFromParticipantID(b)),i(a)]};function a(a){return new(b("Promise"))(function(b){var e=a.map(function(a){return d("MercuryIDs").getParticipantIDFromUserID(a)});d("MessengerParticipants.re").getMulti(e,function(a){b(c("immutable").Map(a).mapEntries(k))})})}function e(a){a=a.map(function(a){return d("MercuryIDs").getParticipantIDFromUserID(a)});var c=null,e=null;a=d("MessengerParticipants.re").getMultiEagerMap(a,function(a){a=a.mapEntries(k);c?c(a):e=a});var f=a[0];a=a[1];return[f.mapEntries(k),a!=null?new(b("Promise"))(function(a){e?a(e):c=a}):null]}function f(a){return c("isStringNullOrEmpty")(a)?b("Promise").resolve(null):new(b("Promise"))(function(b){d("MessengerParticipants.re").get(d("MercuryIDs").getParticipantIDFromUserID(a),function(a){b(a?i(a):null)})})}function l(a){if(c("isStringNullOrEmpty")(a))return null;a=d("MessengerParticipants.re").getNow(d("MercuryIDs").getParticipantIDFromUserID(a));return a?i(a):null}g.ZenonUserType=h;g.getMulti=a;g.getMultiEager=e;g.get=f;g.getNow=l}),98); __d("ZenonUsersHooks",["ZenonUsers","immutable","promiseDone","react"],(function(a,b,c,d,e,f,g){"use strict";e=d("react");var h=e.useDebugValue,i=e.useEffect,j=e.useLayoutEffect,k=e.useRef,l=e.useState;function a(a){var b=k(a),e=l(c("immutable").Map()),f=e[0],g=e[1];i(function(){return function(){b.current=null}},[]);j(function(){b.current=a;var e=d("ZenonUsers").getMultiEager(a),f=e[0];e=e[1];g(f);e&&c("promiseDone")(e,function(a){var c=b.current;c&&g(function(b){return b.withMutations(function(b){c.forEach(function(c){var d=a.get(c);d&&b.set(c,d)})})})})},[a]);h(f);return f}function b(a){var b=k(a),e=l(function(){return d("ZenonUsers").getNow(a)}),f=e[0],g=e[1];i(function(){b.current=a},[a]);i(function(){return function(){b.current=null}},[]);i(function(){var e=d("ZenonUsers").getNow(a);if(e!==f){g(e);return}c("promiseDone")(d("ZenonUsers").get(a),function(c){b.current===a&&g(c)})},[a,f]);h(f);return f}g.useZenonUsers=a;g.useZenonUser=b}),98); __d("getBrowserGMTOffsetAdjustedForSkew",["DateConsts","FBLogger"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=d("DateConsts").MIN_PER_HOUR*d("DateConsts").HOUR_PER_DAY,e=new Date(),f=e.getTimezoneOffset();e=e.getTime()/d("DateConsts").MS_PER_SEC;var g=15;a=a-e;e=Math.round(a/(g*d("DateConsts").SEC_PER_MIN))*g;e!=0&&c("FBLogger")("TimezoneAutoset").info("Adjusting timezone offset for clock skew. Browser offset: %s. Raw skew %s. Rounded skew %s",f,a,e);g=Math.round(f+e)%b;g>12*d("DateConsts").MIN_PER_HOUR?g-=b:g<-14*d("DateConsts").MIN_PER_HOUR&&(g+=b);return g}g["default"]=a}),98); __d("MessengerDesktopNotificationPermissions",[],(function(a,b,c,d,e,f){a=Object.freeze({DEFAULT:"default",DENIED:"denied",GRANTED:"granted"});f["default"]=a}),66); __d("MessengerDesktopNotifications",["MessengerDesktopNotificationPermissions","Run","UserAgent","WorkplaceChatHelper"],(function(a,b,c,d,e,f,g){"use strict";var h=5e3,i=new Map();function a(){i.forEach(function(a,b,c){a.close&&a.close()})}var j=null;function b(){return!!window.Notification}function e(){if(window.Notification)return window.Notification.permission}function f(){return c("UserAgent").isBrowser("FireFox")&&c("UserAgent").isPlatform("Mac OS X")}function k(){return this.checkPermission()===c("MessengerDesktopNotificationPermissions").DENIED}function l(){return this.checkPermission()===c("MessengerDesktopNotificationPermissions").GRANTED}function m(a){window.Notification&&window.Notification.requestPermission(a)}function n(a){if(this.isGranted()){var b=window.Notification?new window.Notification(a.title,{body:a.body,icon:a.icon,tag:a.tag,silent:a.silent}):{};i.set(a.tag,b);a.onShow&&a.onShow();b.onclick=function(){d("WorkplaceChatHelper").isDesktopChatApp()&&d("WorkplaceChatHelper").showWindow(),a.onClick()};b.onclose=function(){i["delete"](a.tag)};this._closeTimer=setTimeout(function(){b.close()},a.closeTime||h);return b}else return null}function o(a){a=i.get(a);a&&a.close()}d("Run").onUnload(a);g._closeTimer=j;g.isSupported=b;g.checkPermission=e;g.hasDefaultSound=f;g.isDenied=k;g.isGranted=l;g.requestPermission=m;g.showNotification=n;g.removeNotification=o}),98); __d("AsyncTypedRequest",["AsyncRequest"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b){b=a.call(this,b)||this;b.setReplaceTransportMarkers();return b}var c=b.prototype;c.promisePayload=function(b){return a.prototype.promisePayload.call(this,b)};c.setPayloadHandler=function(b){a.prototype.setPayloadHandler.call(this,b);return this};return b}(c("AsyncRequest"));g["default"]=a}),98); __d("Chromedome",["fbt"],(function(a,b,c,d,e,f,g,h){function a(a){if(top!==window||document.domain==null||!/(^|\.)facebook\.(com|sg)$/.test(document.domain))return;a=h._(/*FBT_CALL*/"Espere!"/*FBT_CALL*/);var b=h._(/*FBT_CALL*/"Este \u00e9 um recurso de navegador voltado para desenvolvedores. Se algu\u00e9m disse para voc\u00ea copiar e colar algo aqui para ativar um recurso do Facebook ou \"invadir\" a conta de outra pessoa, isso \u00e9 uma fraude e voc\u00ea dar\u00e1 a ele acesso \u00e0 sua conta."/*FBT_CALL*/),c=h._(/*FBT_CALL*/"Consulte {url} para obter mais informa\u00e7\u00f5es."/*FBT_CALL*/,[h._param("url","https://www.facebook.com/selfxss")]);if(window.chrome||window.safari){var d="font-family:helvetica; font-size:20px; ";[[a,d+"font-size:50px; font-weight:bold; color:red; -webkit-text-stroke:1px black;"],[b,d],[c,d],["",""]].map(function(a){window.setTimeout(console.log.bind(console,"\n%c"+a[0].toString(),a[1]))})}else{a=[""," .d8888b. 888 888","d88P Y88b 888 888","Y88b. 888 888",' "Y888b. 888888 .d88b. 88888b. 888',' "Y88b. 888 d88""88b 888 "88b 888',' "888 888 888 888 888 888 Y8P',"Y88b d88P Y88b. Y88..88P 888 d88P",' "Y8888P" "Y888 "Y88P" 88888P" 888'," 888"," 888"," 888"];d=(""+b.toString()).match(/.{35}.+?\s+|.+$/g);if(d!=null){b=Math.floor(Math.max(0,(a.length-d.length)/2));for(var e=0;e=a.length)break;j=a[i++]}else{i=a.next();if(i.done)break;j=i.value}j=j;var l=j[0];j=j[1];for(var j=j,n=Array.isArray(j),o=0,j=n?j:j[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var p;if(n){if(o>=j.length)break;p=j[o++]}else{o=j.next();if(o.done)break;p=o.value}p=p;var q=p[0];p=p[1];var r=void 0,s=void 0;switch(p.type){case"async":s=null;r=d;break;case"js":case"css":s=[p.src,p.d===1];r=f;break;default:p,h(0,3721)}m(r[l],q,b,s,e)}}return f}function o(a,b){var e={unpredicted:d("BootloaderEvents").newResourceMapSet(),ef:d("BootloaderEvents").newResourceMapSet(),overpredicted:d("BootloaderEvents").newResourceMapSet()};for(var f=c("objectEntries")(b),g=Array.isArray(f),h=0,f=g?f:f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(g){if(h>=f.length)break;i=f[h++]}else{h=f.next();if(h.done)break;i=h.value}i=i;var j=i[0];i=i[1];for(var i=i.entries(),k=Array.isArray(i),l=0,i=k?i:i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var m;if(k){if(l>=i.length)break;m=i[l++]}else{l=i.next();if(l.done)break;m=l.value}m=m;var n=m[0];m=m[1];a[j].has(n)?e.ef[j].set(n,m):e.overpredicted[j].set(n,m)}}for(var n=c("objectEntries")(a),m=Array.isArray(n),l=0,n=m?n:n[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(m){if(l>=n.length)break;k=n[l++]}else{l=n.next();if(l.done)break;k=l.value}i=k;j=i[0];h=i[1];for(var g=h.entries(),f=Array.isArray(g),a=0,g=f?g:g[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(f){if(a>=g.length)break;k=g[a++]}else{a=g.next();if(a.done)break;k=a.value}i=k;h=i[0];k=i[1];b[j].has(h)||e.unpredicted[j].set(h,k)}}return e}function a(a){var b=a.efData,c=a.rsrcs,d=a.startTime,e=new Set(),f;if(b){var g=o(c,b.tierOne);f=g.unpredicted;g={ef:n(g.ef,b.fetchRsrcsStart,k(),e),overpredicted:n(g.overpredicted,b.fetchRsrcsStart,k(),e)};b={ef_fetch_predictions:b.fetchPredictionsEnd-b.fetchPredictionsStart,ef_fetch_start_wait:b.fetchPredictionsEnd-b.fetchRsrcsStart,ef_head_start:d-b.fetchRsrcsStart}}else f=c,g={},b={};c=babelHelpers["extends"]({unpredicted:n(f,d,k(),e)},g);return{source:a.source,source_detail:a.sourceDetail,is_first_identical:a.isFirstIdentical,timeslice_context:(f=a.timesliceContext)==null?void 0:f.name,start_time:d,err_count:e.size,resources:c,durations:babelHelpers["extends"]({jsmods_wait:a.jsmodsStart-d,jsmods:a.jsmodsEnd-a.jsmodsStart,jsmods_done_wait:a.jsmodsEnd-d,download_done_wait:a.logTime-d},b),payloadStats:a.payloadStats}}function b(a){var b=a.startTime,e=0,f=0,g=0,h=0;for(var i=a.components,m=Array.isArray(i),o=0,i=m?i:i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var p;if(m){if(o>=i.length)break;p=i[o++]}else{o=i.next();if(o.done)break;p=o.value}p=p;p=c("Bootloader").getComponentTiming(p);var q=p.tierTwoStart,r=p.tierTwoEnd,s=p.tierThreeStart;p=p.tierThreeEnd;e=Math.max(e,j(b,q,r));f=Math.max(f,j(b,b,r));g=Math.max(g,j(b,s,p));h=Math.max(h,j(b,b,p))}q=new Set();r=k();s=n(a.tierOne,b,r,q);p=n(a.tierTwo,b,r,q);o=n(a.tierThree,b,r,q);m=r.blocking.downloaded_count!=0;i=k();var t=d("BootloaderEvents").newResourceMapSet(),u=new Set(),v=[a.tierOne,a.tierTwo,a.tierThree];for(var w=0;w=x.length)break;A=x[z++]}else{z=x.next();if(z.done)break;A=z.value}A=A;for(var A=A.keys(),B=Array.isArray(A),C=0,A=B?A:A[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var D;if(B){if(C>=A.length)break;D=A[C++]}else{C=A.next();if(C.done)break;D=C.value}D=D;u.add(D)}}}D=0;C=0;B=0;for(var A=a.beRequests.values(),z=Array.isArray(A),y=0,A=z?A:A[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(z){if(y>=A.length)break;x=A[y++]}else{y=A.next();if(y.done)break;x=y.value}v=x;D+=j(b,b,v.requestStart);C+=v.serverGenTime;B+=v.jsmodsEnd-v.jsmodsStart;l(i[m?"blocking":"nonblocking"],v.responseStart-v.requestStart,[v.uri,!1]);for(var w=c("objectEntries")(v.rsrcs),x=Array.isArray(w),v=0,w=x?w:w[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var E;if(x){if(v>=w.length)break;E=w[v++]}else{v=w.next();if(v.done)break;E=v.value}E=E;var F=E[0];E=E[1];for(var E=E,G=Array.isArray(E),H=0,E=G?E:E[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var I;if(G){if(H>=E.length)break;I=E[H++]}else{H=E.next();if(H.done)break;I=H.value}I=I;var J=I[0];I=I[1];u.has(J)||t[F].set(J,I)}}}J=n(t,b,r,q);return{ref:a.ref,components:a.components,timeslice_context:(I=a.timesliceContext)==null?void 0:I.name,start_time:b,err_count:q.size,resources:{t1:s,t2:p,t3:o,be:i,unpredicted:J,async:r},durations:{fetch_start_wait:a.fetchStartTime-b,be_start_wait:D,be_server_gen:C,be_jsmods:B,callback_wait:a.callbackStart-b,callback:a.callbackEnd-a.callbackStart,bootload_done_wait:a.callbackEnd-b,rdfd_requirelazy:e,rdfd_done_wait:f,rd_requirelazy:g,rd_done_wait:h}}}function e(a){a.start_time;var b=a.resources,d=a.durations;a=babelHelpers.objectWithoutPropertiesLoose(a,["start_time","resources","durations"]);for(var b=c("objectEntries")(b),e=Array.isArray(b),f=0,b=e?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=b.length)break;g=b[f++]}else{f=b.next();if(f.done)break;g=f.value}g=g;var h=g[0];g=g[1];for(var g=c("objectEntries")(g),i=Array.isArray(g),j=0,g=i?g:g[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var k;if(i){if(j>=g.length)break;k=g[j++]}else{j=g.next();if(j.done)break;k=j.value}k=k;var l=k[0];k=k[1];for(var k=c("objectEntries")(k),m=Array.isArray(k),n=0,k=m?k:k[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var o;if(m){if(n>=k.length)break;o=k[n++]}else{n=k.next();if(n.done)break;o=n.value}o=o;var p=o[0];o=o[1];a[h+"_"+l+"_resources_"+p]=Math.round(Number(o))}}}for(var p=c("objectEntries")(d),o=Array.isArray(p),n=0,p=o?p:p[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(o){if(n>=p.length)break;m=p[n++]}else{n=p.next();if(n.done)break;m=n.value}k=m;l=k[0];j=k[1];a[l+"_duration"]=Math.round(Number(j))}if(a.payloadStats){for(var i=c("objectEntries")(a.payloadStats),g=Array.isArray(i),h=0,i=g?i:i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(g){if(h>=i.length)break;f=i[h++]}else{h=i.next();if(h.done)break;f=h.value}e=f;b=e[0];d=e[1];for(var m=c("objectEntries")(d),k=Array.isArray(m),l=0,m=k?m:m[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(k){if(l>=m.length)break;j=m[l++]}else{l=m.next();if(l.done)break;j=l.value}n=j;o=n[0];p=n[1];a[b+"_"+o+"_count"]=Math.round(Number(p))}}delete a.payloadStats}return a}g.computeHRData=a;g.computeBLData=b;g.flattenData=e}),98); __d("GroupsPostHomeCreateActionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("786");c=b("FalcoLoggerInternal").create("groups_post_home_create_action",a);e.exports=c}),null); __d("AccessibilityWebAssistiveTechTypedLoggerLite",["generateLiteTypedLogger"],(function(a,b,c,d,e,f){"use strict";e.exports=b("generateLiteTypedLogger")("logger:AccessibilityWebAssistiveTechLoggerConfig")}),null); __d("Queue",[],(function(a,b,c,d,e,f){var g={};a=function(){function a(a){this._timeout=null,this._interval=(a==null?void 0:a.interval)||0,this._processor=a==null?void 0:a.processor,this._queue=[],this._stopped=!0}var b=a.prototype;b._dispatch=function(a){var b=this;a===void 0;if(this._stopped||this._queue.length===0)return;a=this._processor;if(a==null){this._stopped=!0;throw new Error("No processor available")}var c=this._interval;if(c!=null)a.call(this,this._queue.shift()),this._timeout=setTimeout(function(){return b._dispatch()},c);else while(this._queue.length)a.call(this,this._queue.shift())};b.enqueue=function(a){this._processor&&!this._stopped?this._processor(a):this._queue.push(a);return this};b.start=function(a){a&&(this._processor=a);this._stopped=!1;this._dispatch();return this};b.isStarted=function(){return!this._stopped};b.dispatch=function(){this._dispatch(!0)};b.stop=function(a){this._stopped=!0;a&&this._timeout!=null&&clearTimeout(this._timeout);return this};b.merge=function(a,b){if(b){(b=this._queue).unshift.apply(b,a._queue)}else{(b=this._queue).push.apply(b,a._queue)}a._queue=[];this._dispatch();return this};b.getLength=function(){return this._queue.length};a.get=function(b,c){var d;b in g?d=g[b]:d=g[b]=new a(c);return d};a.exists=function(a){return a in g};a.remove=function(a){return delete g[a]};return a}();f["default"]=a}),66);