mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
29 lines
110 KiB
JavaScript
29 lines
110 KiB
JavaScript
|
if (self.CavalryLogger) { CavalryLogger.start_js(["x5dHM"]); }
|
||
|
|
||
|
__d("UsernameFormatToken",[],(function(a,b,c,d,e,f){e.exports={FIRST:"{first}",MIDDLE:"{middle}",LAST:"{last}"}}),null);
|
||
|
__d("XReCaptchaLogActionsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/captcha/recaptcha_log_actions/",{})}),null);
|
||
|
__d("Recaptcha",["fbt","AsyncRequest","Bootloader","CaptchaClientConfig","CSS","CurrentLocale","DOM","Event","Keys","XReCaptchaLogActionsController","ge"],(function(a,b,c,d,e,f,g){__p&&__p();var h,i={tabindex:0,callback:null},j={en_US:"en",en_GB:"en",en_PI:"en",nl_NL:"nl",nl_BE:"nl",fr_FR:"fr",fr_CA:"fr",de_DE:"de",es_LA:"es",es_ES:"es",es_CL:"es",es_CO:"es",es_MX:"es",es_VE:"es",ru_RU:"ru",tr_TR:"tr"},k=!1,l={widget:null,timer_id:-1,fail_timer_id:-1,type:"image",ajax_verify_cb:null,audio_only:!1,$:function(a){if(typeof a==="string")return document.getElementById(a);else return a},setFocusOnLoad:function(a){k=a},create:function(a,c){l.destroy(),a&&(l.widget=l.$(a)),l._init_options(c),l._call_challenge(b("CaptchaClientConfig").recaptchaPublicKey)},destroy:function(){var a=l.$("recaptcha_challenge_field");a&&a.parentNode.removeChild(a);l.timer_id!=-1&&clearInterval(l.timer_id);l.timer_id=-1;a=l.$("recaptcha_image");a&&(a.innerHTML="");l.widget&&(l.widget.style.display="none",l.widget=null)},focus_response_field:function(){var a=l.$;a=a("captcha_response");try{a.focus()}catch(a){}},get_challenge:function(){return typeof a.RecaptchaState==="undefined"?null:a.RecaptchaState.challenge},get_response:function(){var a=l.$;a=a("captcha_response");return!a?null:a.value},ajax_verify:function(a){l.ajax_verify_cb=a;a=l._get_api_server()+"/ajaxverify?c="+encodeURIComponent(l.get_challenge())+"&response="+encodeURIComponent(l.get_response());l._add_script(a)},_ajax_verify_callback:function(a){l.ajax_verify_cb(a)},_get_api_server:function(){var b=window.location.protocol,c;typeof a._RecaptchaOverrideApiServer!=="undefined"?c=a._RecaptchaOverrideApiServer:c="www.google.com";return b+"//"+c},_call_challenge:function(a){l.audio_only||(l.fail_timer_id=setTimeout(function(){l.fail_timer_id==-1&&l.logAction("timeout"),l.createCaptcha()},15e3));a=l._get_api_server()+"/recaptcha/api/challenge?k="+a+"&ajax=1&xcachestop="+Math.random();b("ge")("extra_challenge_params")!=null&&(a+="&"+b("ge")("extra_challenge_params").value);l._add_script(a)},_add_script:function(a){b("Bootloader").requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN(a)},_init_options:function(a){var b=i;a=a||{};for(var c in a)b[c]=a[c];h=b},challenge_callback:function(){__p&&__p();l.audio_only||(clearTimeout(l.fail_timer_id),l._reset_timer());window.addEventListener&&window.addEventListener("unload",function(a){l.destroy()},!1);l._is_ie()&&window.attachEvent&&window.attachEvent("onbeforeunload",function(){});if(navigator.userAgent.indexOf("KHTML")>0){var a=document.createElement("iframe");a.src="about:blank";a.style.height="0px";a.style.width="0px";a.style.visibility="hidden";a.style.border="none";var b=document.createTextNode("This frame prevents back/forward cache problems in Safari.");a.appendChild(b);document.body.appendChild(a)}l._finish_widget();l.audio_only&&l.switch_type("audio");l.logAction("shown")},_finish_widget:function(){__p&&__p();var b=l.$,c=a.RecaptchaState,d=h,e=document.createElement("input");e.type="password";e.setAttribute("autocomplete","off");e.style.display="none";e.name="recaptcha_challenge_field";e.id="recaptcha_challenge_field";b("captcha_response").parentNode.insertBefore(e,b("captcha_response"));b("captcha_response").setAttribute("autocomplete","off");b("recaptcha_image").style.width="300px";b("recaptcha_image").style.height="57px";l.should_focus=!1;!l.audio_only?l._set_challenge(c.challenge,"image"):l._set_challenge(c.challenge,"audio");d.tabindex&&(b("captcha_response").tabIndex=d.tabindex);l.widget&&(l.widget.style.display="");d.callback&&d.callback();b("recaptcha_loading").style.display="none"},switch_type:function(a){var b=l;b.type=a;b.$("recaptcha_type").value=a;b.reload(b.type=="audio"?"a":"v")},reload:function(c){var d=l;d.$;var e=a.RecaptchaState;typeof c==="undefined"&&(c="r");e=e.server+"reload?c="+e.challenge+"&k="+e.site+"&reason="+c+"&type="+d.type+"&lang="+l.getLang();b("ge")("extra_challenge_params")!=null&&(e+="&"+b("ge")("extra_challenge_params").value);d.should_focus=c!="t";d._add_script(e)},finish_reload:function(b,c){a.Recapt
|
||
|
__d("GrowthSUMAEventsTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$1={}}var c=a.prototype;c.log=function(){b("GeneratedLoggerUtils").log("logger:GrowthSUMAEventsLoggerConfig",this.$1,b("Banzai").BASIC)};c.logVital=function(){b("GeneratedLoggerUtils").log("logger:GrowthSUMAEventsLoggerConfig",this.$1,b("Banzai").VITAL)};c.logImmediately=function(){b("GeneratedLoggerUtils").log("logger:GrowthSUMAEventsLoggerConfig",this.$1,{signal:!0})};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.setCandidateRevealReason=function(a){this.$1.candidate_reveal_reason=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setCandidates=function(a){this.$1.candidates=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setConfData=function(a){this.$1.conf_data=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setContactpoint=function(a){this.$1.contactpoint=a;return this};c.setDetectorCallsite=function(a){this.$1.detector_callsite=a;return this};c.setEvent=function(a){this.$1.event=a;return this};c.setEventRuntimeInMicro=function(a){this.$1.event_runtime_in_micro=a;return this};c.setExtraInfo=function(a){this.$1.extra_info=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setHasRegCpMatch=function(a){this.$1.has_reg_cp_match=a;return this};c.setRegInstance=function(a){this.$1.reg_instance=a;return this};c.setSourceUid=function(a){this.$1.source_uid=a;return this};c.setTargetUserID=function(a){this.$1.target_userid=a;return this};c.setTime=function(a){this.$1.time=a;return this};c.setWeight=function(a){this.$1.weight=a;return this};return a}();c={candidate_reveal_reason:!0,candidates:!0,conf_data:!0,contactpoint:!0,detector_callsite:!0,event:!0,event_runtime_in_micro:!0,extra_info:!0,has_reg_cp_match:!0,reg_instance:!0,source_uid:!0,target_userid:!0,time:!0,weight:!0};e.exports=a}),null);
|
||
|
__d("DomainDropdownTheme",["cx"],(function(a,b,c,d,e,f,g){e.exports={className:"_4f2w"}}),null);
|
||
|
__d("DomainSearchSource",["AbstractSearchSource","SearchableEntry"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){var c;c=a.call(this)||this;c.$DomainSearchSource1=b;return c}var d=c.prototype;d.searchImpl=function(a,c,d){__p&&__p();var e=[];d=a.toLowerCase();d=d.split("@");var f=d[0],g=d[1];if(g!=null&&f!==""){var h=0;this.$DomainSearchSource1.forEach(function(a){if(a.startsWith(g)){a=f+"@"+a;e.push(new(b("SearchableEntry"))({order:h++,subtitle:a,title:a,uniqueID:a}))}})}c(e,a)};return c}(b("AbstractSearchSource"));e.exports=a}),null);
|
||
|
__d("PasswordStrengthAnalyzer",[],(function(a,b,c,d,e,f){__p&&__p();var g=30,h=50,i=60;c=[{default_letter:6.066089190457772,trigraphs:["tak272273dnidnjzajfiq9wxfie628zac391sypkfxkfgnzavgkldeirkirafrin_1hahhanhadcalmbaaz1azmazaazdazeazsjmwossostosmjir794793792onkeoron-on3on6on7on4on5rzhzonzorytd83683783883983jyz3yzryzyfijyzcjswtvfbjvbjpjjppycram_chgfygfwgfcbycdfqdfsdfhdf4df2316evovodvoivojknua_1a_sa_ba_ma_lfzgfz2gwaebo595pfcpfyxcgmjfmjmmjjfcx-12jaxjavjasu81zguofiofxweaweljzgjzvbrybreer4er8er9er.ervergernmpde12pqremoemiemy7vfgniminbrfvwgkvvfkx438439437fbcfbfibiibaibqibuxdvnof517mrbinecfx605604607603602609608astpur741cedcecrwicelwyz88jbzvbzgbzkv12ymxstostustr4q5007eesdvvlkolkegzndctgzhewcurtursurynglngkavlng6ng7kenkeikevketdjwxsxausmedmelmerjpd684686wuvwufwukwuljjwjjmjjbjhwf55rzy808806805yelyeryev?n?4ik08.376yjzfecrunrudbozbosyqi201y32fdukjkujkkmgvhf485483482yzgfww.mahfbpcjbxm3vffvsjbcjbhl12qyjtvxtvtzhz092k47chach194j948946bjcquqhemsfi282ryj7ujubmnwakuukupkujkuhy.nimo402409408nhounipkf547549muht12e77ahaahmictrofrogrox.09sh2121yuyjwwjwhgiatkafyrlumn12yhoyhyyhuehjothllzsub.00suxzy5y00gpujeezyrie_iewuptixtc.ihkfapsyjgrfpounouswhodmajorcxw735736738f66qevqez629059jwmalvsmcdsa87q253251dhjina6wwvejve4ve2ve1iptfpwfpzfzvfzk.cofzffzdax1axtg12axaxmaxmxcfkwpo953mytacyl6685m85jyxoulytrcbhxqpqex2102sevsem407x66sxrsxzy66le1uezlehlejlek335337ary78qbatkpumjgfxs573574xecxejfouhpwmcdalfaldakkakoakazejzenzelwgwwgsypocorcouth1opd2c3ykaykoykudbogygww4ww8ekmsprdxpdxdghwghdghlgbclmolmakxpvuzvufvuvvuwuxhuccucik_ipeezgbjhkky3jhsypugpwox3oxeyphjpmjpcruzrtiyczflfnygeccw1qjzhitybekbenbetzny12q12.dpwfgxlutnyxcdc263264018ilbfhkupdupcfhtnecnezne1vf2vf1vfxmxpmxfxuvxusxuziskisliscrscxjyopewwqwwjww3zuvzuwzuuk12er!nkftnjoogooloohrre4rfznf828fqv929926927tubmjwpjfpjcjvpqsdhdjy12mvpderdejdeadebdeced1bdxikafulmoumooaprs12xbkxbcduqafiafesicsiasiecwxrehreiremrecog1ogmogiogdzfyzfuyszcjncjbcjpcjq324bujbuh965en_encenvnycgoggotgo1lbqlbflbjlbonugkwakwhkwovv1vvsvvkt69whaica429arszuynnoridjdpdespmzpme527del528d77xz1xzsobyxzclmehubhuyan_an-an1an2cxvwbfwbj2x3judrvacbytepww2fkkariuqeyna86jeftefoefaefebfkbfvathdumdubdxfufqfbkfbhkdo143groranfehus7us2kbnnfonfvva2avravamy1kydxtwjmkczvczcywjewbqkfqktjlyyf7yf8648yfptxtsolx00ats23adjzukavkzjqyfvzfvply1heuhefhehrylpbyxotxopxozxofjezjekojacrbcrizkjzkfophgjqget4liodiqvbevasgusgogcbry1x33y4ulgu354352359fdzvsqvsxvsjlfi47q473res478cwwyinnk1nkonksbagpjkpjypjxmvfvxbwzskzbsqvrnirnazcvzcyobimdjwaqk88cascupuvsuvvitfgbngboeiggbkff3gbwgjpgjfgjcgbqloglo1ysoysxkzrkzykzdkzhkzndtxff6nchkakkawkaz=09hjqkajes_syasykycjsymozz643642647649pfxvkojnv708704706703jdvrsocynvymuzfpikpic988easear10.241gyhgyx6vfkirkipkimkidretxwe8zxhbfaytaysmatorrorswq1k33en1umfoidzlozlz84j848yyjzpmm77uds909dymtwjh12fedsh1sbosblfeb_an_bagdispogazgaildm303z55jgd44944344658q586584583xdwxdrshm2e3wywwypwyxwycadyadgado532rch705zdzzdbwdxyqoyqecleto_qybjyvjywywbjymywhj12urallwlle428420427kykky2ky4gtkvtuia.uyefcmnlipotpos508509506507504502503vyswykal_rkwrkloyawliwlertzbhybhz89j891ylfylemsoexsedghyvyjtdwjsil138ltzltya.aviea.ma.k281283ndondexaqndsvadmyx.kbxtxxteurvhowdbnateatlatixiaxicxioxiswtd300jkdjkgjkccdx304ss1dy3dzhdzpz33dylssa938dybblesansavsaux20x2cx2zsxqamea66agifbvvisftyftxodsvydhghgywrdc339jctjcpageagaaguodddjtctxziwziqzilexo5qwm207573wjck6ck0cklh66etz386zyheopzyv294farlanlahfanntsntintogdgkth416418ilsincniynisnit8wwck2533plzxyvxyhyamxy2htchtxcyxrlo627xnjza1wcuhijjtwytuxvjbsoccxccfxvbyotegregiegolymctrstnlielioxey_lijj2my2vypvyvvywvyxvycvykvyhidzidsidautjnaknapna-na2kcuvbwhichinsnasnimakmajarvndaarbpy2py6pyxawypyhawdwkdwkwzy6zy7zy3182zytduh729f77037nukqdw06.ty1tybnkltyp67qbybbars69zai162glafkd_daljda19dicflhulgny2kkffjjvjtvjklasfqjfqhavoparmorhymhyqhyxwszablntkjdmrykrygrycoksoku86mqlfrrrktc962ewltqvqw1biebizfellyslydlybrdsly2x755vvdamlfmmislf1mit325ksqkszksafcvj4yvro463njanjvpixpity22vcjqipxfixfkxfnxfgdior12nigpdoszpigtrtlwfhwfdwfwesbbpbjyrjygywajyhtifticbqgbqcbq2nekpypxy7dy5dy7dyk_sevzfvzrgvvuzjuzyankiqyizeizkyded20htd3d4ssmarzargrizripe66zztirjwnxjqljqv_bejkytafqgt1.1990ualzvbskuskvtayt20blj","tai_ka271y88fixzax395kfpkfzkfjnzevgjirbirdfroha_haihamhapmboaziazyazzrekpy1oshoscre
|
||
|
__d("PasswordMeterFieldValidator",["cx","Promise","CSS","DOM","Event","PasswordStrengthAnalyzer","RegistrationClientConfig","RegistrationFieldValidator","ge","keyMirror"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("keyMirror")({EMPTY:null,TOO_SHORT:null,TOO_WEAK:null,STRONG:null});function i(a){return new(b("Promise"))(function(a,b){a()})}a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d,e,f,g,j,k,l,m){__p&&__p();var n;n=a.call(this,c,d,e,f,g,j)||this;n.$PasswordMeterFieldValidator2=function(){n.currentPasswordStrength=n.$PasswordMeterFieldValidator3(n.field.value),n.$PasswordMeterFieldValidator4(n.currentPasswordStrength)};n.$PasswordMeterFieldValidator1=function(){__p&&__p();if(n.validationType!=="password_meter")return;if(!n.isValid){var a=n.$PasswordMeterFieldValidator7(n.currentPasswordStrength);if(a!==null){b("DOM").setContent(n.meterWrapper,a);return}}n.$PasswordMeterFieldValidator6()};n.isStrongPassword=function(a){return new(b("Promise"))(function(b,c){!a.value||n.$PasswordMeterFieldValidator3(a.value)!==h.STRONG?c():b()})};n.meterWrapper=b("ge")(k);n.currentPasswordStrength=h.EMPTY;n.minPasswordStrength=l!=null?l:b("PasswordStrengthAnalyzer").minMeterStrength;n.isEnabled=!1;m?n.addValidationStep(b("RegistrationClientConfig").logging.types.PASSWORD_WEAK,b("RegistrationClientConfig").messages.PASSWORD_BLANK,i):n.enableValidator();return n}var d=c.prototype;d.enableValidator=function(){if(this.isEnabled)return;this.isEnabled=!0;this.addListener("validated",this.$PasswordMeterFieldValidator1,this);this.addValidationStep(b("RegistrationClientConfig").logging.types.PASSWORD_WEAK,b("RegistrationClientConfig").messages.PASSWORD_BLANK,this.isStrongPassword);b("Event").listen(this.field,"input",this.$PasswordMeterFieldValidator2)};d.$PasswordMeterFieldValidator4=function(a){b("DOM").setContent(this.meterWrapper,this.$PasswordMeterFieldValidator5(a)),b("CSS").conditionClass(this.wrapper,"_2acm",a!==h.STRONG)};d.$PasswordMeterFieldValidator6=function(){b("DOM").setContent(this.meterWrapper,null),b("CSS").removeClass(this.wrapper,"_2acm")};d.maybeShowFlyout=function(){this.validationType!=="password_meter"&&a.prototype.maybeShowFlyout.call(this)};d.dismissFlyout=function(){this.validationType!=="password_meter"&&a.prototype.dismissFlyout.call(this)};d.$PasswordMeterFieldValidator3=function(a){if(a==="")return h.EMPTY;if(a.length<6)return h.TOO_SHORT;a=b("PasswordStrengthAnalyzer").score(a,!1);return a<this.minPasswordStrength?h.TOO_WEAK:h.STRONG};d.$PasswordMeterFieldValidator5=function(a){switch(a){case h.EMPTY:case h.TOO_SHORT:return b("RegistrationClientConfig").password_meter.TOO_SHORT;case h.TOO_WEAK:return b("RegistrationClientConfig").password_meter.TOO_WEAK;case h.STRONG:return b("RegistrationClientConfig").password_meter.STRONG;default:return b("RegistrationClientConfig").password_meter.TOO_WEAK}};d.$PasswordMeterFieldValidator7=function(a){switch(a){case h.EMPTY:return b("RegistrationClientConfig").password_inline_error.EMPTY;case h.TOO_SHORT:return b("RegistrationClientConfig").password_inline_error.TOO_SHORT;case h.TOO_WEAK:return b("RegistrationClientConfig").password_inline_error.TOO_WEAK;default:return null}};return c}(b("RegistrationFieldValidator"));e.exports=a}),null);
|
||
|
__d("GrowthSUMAEvent",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ERROR_BASE_NO_STARTING_POINT:"error_base_no_starting_point",ERROR_CP_ACCOUNT_LOAD_FAIL:"error_cp_account_load_fail",ERROR_EXAMPLE_USER_LOAD_FAIL:"error_example_user_load_fail",ERROR_EXAMPLE_SHORT_PROFILE_MISSING_NAME:"error_example_short_profile_missing_name",ERROR_EXAMPLE_SHORT_PROFILE_MISSING_DOB:"error_example_short_profile_missing_dob",ERROR_EXAMPLE_SHORT_PROFILE_MISSING_GENDER:"error_example_short_profile_missing_gender",ERROR_EXAMPLE_CONF_DATA_MISSING_DOB:"error_example_conf_data_missing_dob",SUMA_CLICK_BACK:"suma_click_back",SUMA_FIRST_STEP_IMPRESSION:"suma_first_step_impression",SUMA_SECOND_STEP_IMPRESSION:"suma_second_step_impression",SUMA_CHECK_CLICK_FIND_ACCOUNT:"suma_check_click_find_account",SUMA_CHECK_CLICK_GO_TO_NEW_ACCOUNT:"suma_check_click_go_to_new_account",SUMA_CHECK_CLICK_DISMISS:"suma_check_click_dismiss",SUMA_CHECK_CLICK_CREATE_ACCOUNT:"suma_check_click_create_account",SUMA_CHECK_CLICK_BACK:"suma_check_click_back",SUMA_CHECK_BROWSER_CLICK_BACK:"suma_check_browser_click_back",SUMA_REDIRECTION_CLICK_RESET_PASSWORD:"suma_redirection_click_reset_password",SUMA_REDIRECTION_CLICK_CREATE_ACCOUNT:"suma_redirection_click_create_account",SUMA_REDIRECTION_CLICK_BACK:"suma_redirection_click_back",SUMA_REDIRECTION_BROWSER_CLICK_BACK:"suma_redirection_browser_click_back",SUMA_REDIRECTION_CLICK_LOGIN_EXISTING:"suma_redirection_click_login_existing",SUMA_REDIRECTION_CLICK_GO_TO_NEW_ACCOUNT:"suma_redirection_click_go_to_new_account",SUMA_AR_INIT_CLICK_NOT_ME:"suma_ar_init_click_not_me",SUMA_AR_INIT_CLICK_NO_ACCESS_LINK:"suma_ar_init_click_no_access_link",SUMA_AR_INIT_CLICK_BACK:"suma_ar_init_click_back",SUMA_AR_CODE_CLICK_CANCEL:"suma_ar_code_click_cancel",SUMA_AR_CODE_CLICK_BACK:"suma_ar_code_click_back",SUMA_AR_CODE_DIALOG_SHOW:"suma_ar_code_dialog_show",SUMA_AR_CODE_DIALOG_CANCEL:"suma_ar_code_dialog_cancel",SUMA_AR_CODE_DIALOG_DISMISS:"suma_ar_code_dialog_dismiss",SUMA_AR_CODE_DIALOG_CREATE:"suma_ar_code_dialog_create",SUMA_REDIRECTION_CREATE_ACCOUNT:"suma_redirection_create_account",REG_AR_SUMA_REDIRECTION:"suma_reg_ar_redirection",SKIP_SUMA_REDIRECTION:"skip_suma_redirection",CANDIDATE_HARD_CLIFF_ONE_WEEK_AGO:"candidate_hard_cliff_one_week_ago",CANDIDATE_REACHED_SHOW_LIMIT:"candidate_reached_show_limit",CANDIDATE_PRIVACY_NOT_ALLOW_DISPLAY:"candidate_privacy_not_allow_display",CANDIDATE_UNRECOVERABLE:"candidate_unrecoverable",CANDIDATE_UNRECOVERABLE_ON_REG_CP:"candidate_unrecoverable_on_reg_cp",CANDIDATE_NOT_ENOUGH_FRIENDS:"candidate_no_enough_friends",CANDIDATE_REG_AR_CLASSIFIER_FILTER:"candidate_reg_ar_classifier_filter",CANDIDATE_CHECKPOINTED:"candidate_checkpointed",CANDIDATE_FAKE_CHECKPOINTED:"candidate_fake_checkpointed",CANDIDATE_DELTA_CHECKPOINTED:"candidate_delta_checkpointed",CANDIDATE_SHOW_CAPPED:"candidate_show_capped",CANDIDATE_WOULD_SHOW:"candidate_would_show",CANDIDATE_REG_FORM_PASSWORD_MATCH:"candidate_reg_form_password_match",CANDIDATE_AUTO_LOGIN:"candidate_auto_login",SKIP_CANDIDATE_REACHED_SHOW_LIMIT:"skip_candidate_reached_show_limit",SKIP_CANDIDATE_CHECKPOINTED:"skip_candidate_checkpointed",SKIP_CANDIDATE_PRIVACY_NOT_ALLOW_DISPLAY:"skip_candidate_privacy_not_allow_display",SKIP_CANDIDATE_UNRECOVERABLE:"skip_candidate_unrecoverable",SKIP_CANDIDATE_HARD_CLIFF_ONE_WEEK_AGO:"skip_candidate_hard_cliff_one_week_ago",NO_PW_RESETTABLE_PHONES:"no_password_resettable_phones",REG_CP_IN_CANDIDATE_CP_LIST:"reg_cp_in_candidate_cp_list",REG_CP_NOT_IN_CANDIDATE_CP_LIST:"reg_cp_not_in_candidate_cp_list",NULL_REG_NAME_IN_PRIVACY_CHECK:"null_reg_name_in_privacy_check",SEND_NONCE_CODE:"send_nonce_code",CONFIRM_VIA_NONCE:"confirm_via_nonce",AFTER_UNSECURE_CONF:"after_unsecure_conf",CONFIRM_CP_REG_CP_MISMATCH:"confirm_cp_reg_cp_mismatch",NO_SUMA_CANDIDATES_AT_CONF_REDIRECT:"no_suma_candidates_at_conf_redirect",NOTIF_CP_REG_CP_MISMATCH:"notif_cp_reg_cp_mismatch",SUMA_REDIRECT_URI_GEN_ENTRY:"suma_redirect_uri_gen_entry",SUMA_REDIRECT_URI_GENERATED:"suma_redirect_uri_generated",NOTIF_APPEND_LINK_CHECK:"notif_append_link_check",CLAIMING_LIMITS
|
||
|
__d("RegLoggerSteps",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({STEP_FORM_LOAD:"form_load",STEP_CLIENT_FORM_LOAD:"client_form_load",STEP_INFO_PREVALIDATION:"info_prevalidation",STEP_INFO_VALIDATION:"info_validation",STEP_EMAIL_CONFIRMATION:"email_confirmation",STEP_FORM_FOCUS:"form_focus",STEP_FORM_POST_LOAD_FOCUS:"postload_focus",STEP_NEXT_BUTTON:"next_button",STEP_BACK_BUTTON:"back_button",STEP_BIRTHDAY_DIALOG_SHOWN:"birthday_dialog_shown",STEP_BIRTHDAY_DIALOG_CONFIRM:"birthday_dialog_confirm",STEP_BIRTHDAY_DIALOG_CANCEL:"birthday_dialog_cancel",STEP_DOMAINS_DROPDOWN_SHOWN:"step_domains_dropdown_shown",STEP_DOMAINS_DROPDOWN_SELECTED:"step_domains_dropdown_selected",STEP_LOGIN_LINK_CLICK:"login_link_click",STEP_PASSWORD_SUGGESTION_CLICK:"password_suggestion_click",STEP_PASSWORD_SUGGESTION_ACCEPT:"password_suggestion_accept",STEP_PASSWORD_SUGGESTION_CHANGE:"password_suggestion_change",STEP_EXIT_DIALOG_SHOWN:"exit_dialog_shown",STEP_EXIT_DIALOG_CANCEL:"exit_dialog_cancel",STEP_CONFIRMED_EXIT:"confirmed_exit",STEP_BLURED_WINDOW:"blured_window",STEP_NAVIGATED_AWAY:"navigated_away",STEP_RETURNED_TO_WINDOW:"returned_to_window",REG_ASSISTANT_SHOWN:"reg_assistant_shown",REG_ASSISTANT_HIDDEN:"reg_assistant_hidden",REG_ASSISTANT_COLLAPSED:"reg_assistant_collapsed",REG_ASSISTANT_BACK_BUTTON:"reg_assistant_back_button",MONONYM_TREATMENT_ON:"mononym_treatment_on",MONONYM_TREATMENT_OFF:"mononym_treatment_off",CONTINUE_WITH_ONE_NAME:"continue_with_one_name"})}),null);
|
||
|
__d("RegistrationFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({NAME:"name",FIRSTNAME:"firstname",LASTNAME:"lastname",FIRSTNAME_EMPTY:"firstname_empty",LASTNAME_EMPTY:"lastname_empty",FULLNAME:"fullname",SUGGESTED_NAME:"suggested_name",EMAIL:"reg_email__",EMAIL_CONFIRMATION:"reg_email_confirmation__",SECOND_CONTACTPOINT:"reg_second_contactpoint__",COUNTRY_CODE:"reg_country",PARENTAL_CONSENT:"pc",PASSWORD:"reg_passwd__",SAVE_PASSWORD:"reg_save_password",BIRTHDAY_DAY:"birthday_day",BIRTHDAY_MONTH:"birthday_month",BIRTHDAY_YEAR:"birthday_year",BIRTHDAY_DATE:"birthday_date",BIRTHDAY_DAY_DIALOG:"birthday_day_dialog",BIRTHDAY_MONTH_DIALOG:"birthday_month_dialog",BIRTHDAY_YEAR_DIALOG:"birthday_year_dialog",BIRTHDAY_WRAPPER:"birthday_wrapper",GENDER:"sex",GENDER_WRAPPER:"gender_wrapper",CUSTOM_GENDER_CONTAINER:"custom_gender_container",CUSTOM_GENDER:"custom_gender",PREFERRED_PRONOUN:"preferred_pronoun",INVITE_KEY:"key",SUBNO:"subno",TERMS_OF_SERVICE:"terms_of_service",SERIALIZED_FIELDS:"field_names",VK_ID:"vid",IMPORT_PROFILE_PICTURE:"radio_profile_picture",CHANGE_LANGUAGE:"change_language",UPLOAD_CONTACTS:"upload_contacts",DISABLE_CONTACT_UPLOAD:"disable_contact_upload",CONTACT_IMPORT_CONFIRMATION_SHOWN:"contact_import_confirmation_shown",CURRENT_STEP_NUMBER:"current_step_number",WELCOME:"welcome",WELCOME_STEP_COMPLETED:"welcome_step_completed",REG_INSTANCE:"reg_instance",COOKIE_BANNER:"ccp",SUBMIT:"websubmit",SKIP_PASSWORD:"skippassword",SUGGESTED_PASSWORD:"suggestedpassword",PROFILE_PICTURE_URL:"profile_picture_url",USE_CUSTOM_GENDER:"use_custom_gender",WHITE_OPS_GUID:"guid",UNSUPPORTED:"__unsupported__"})}),null);
|
||
|
__d("XRegistrationFormLoggingController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/reg/log/",{action:{type:"String"},reg_instance:{type:"String"},category:{type:"Enum",enumType:1},type:{type:"Enum",enumType:1},field:{type:"Enum",enumType:1},cp:{type:"String"},ri:{type:"String"}})}),null);
|
||
|
__d("RegistrationLogger",["AsyncSignal","RegistrationClientConfig","XRegistrationFormLoggingController"],(function(a,b,c,d,e,f){__p&&__p();a={bumpInlineValidation:function(a,c,d,e){if(!b("RegistrationClientConfig").logging.enabled)return;c=b("XRegistrationFormLoggingController").getURIBuilder().setEnum("category",b("RegistrationClientConfig").logging.categories.INLINE).setEnum("type",c).setEnum("field",a).setString("reg_instance",d).setString("ri",e).getURI();new(b("AsyncSignal"))(c.toString(),{}).setHandler(this.handleResponse).send()},logFormFocus:function(a,c,d,e){a=b("XRegistrationFormLoggingController").getURIBuilder().setString("action",a).setString("ri",d).setString("reg_instance",c);d=e&&e.get("cp");d!=null&&a.setString("cp",d);new(b("AsyncSignal"))(a.getURI().toString(),{}).setHandler(this.handleResponse).send()},handleResponse:function(a){!a}};e.exports=a}),null);
|
||
|
__d("StepResult",[],(function(a,b,c,d,e,f){a=Object.freeze({NOT_STARTED:0,SUCCESS:1,FAILED:2,SKIPPED:3});e.exports=a}),null);
|
||
|
__d("RegistrationValidatorsResult",["RegistrationClientConfig","StepResult"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.isPasswordValid=!1,this.isEmailValid=!1,this.isEmailConfirmationValid=!1,this.isSecondContactpointValid=!1,this.firstInvalidValidator=null}var c=a.prototype;c.addValidation=function(a){__p&&__p();if(a.getFieldName()===b("RegistrationClientConfig").fields.PASSWORD&&a.fieldIsValid())this.isPasswordValid=!0;else if(a.getFieldName()===b("RegistrationClientConfig").fields.EMAIL&&a.fieldIsValid())this.isEmailValid=!0;else if(a.getFieldName()===b("RegistrationClientConfig").fields.EMAIL_CONFIRMATION){var c=a.stepLoggingTypes.indexOf(b("RegistrationClientConfig").logging.types.CONTACTPOINT_INVALID);c!=-1&&a.stepResults[c]===b("StepResult").SUCCESS&&(this.isEmailConfirmationValid=!0)}else a.getFieldName()===b("RegistrationClientConfig").fields.SECOND_CONTACTPOINT&&a.fieldIsValid()&&(this.isSecondContactpointValid=!0);!this.hasInvalidValidator()&&!a.fieldIsValid()&&(this.firstInvalidValidator=a)};c.hasInvalidValidator=function(){return this.firstInvalidValidator!==null};c.getFirstInvalidValidator=function(){return this.firstInvalidValidator};c.isEmailFieldValid=function(){return this.isEmailValid};c.isEmailConfirmationFieldValid=function(){return this.isEmailConfirmationValid};c.isSecondContactpointFieldValid=function(){return this.isSecondContactpointValid};c.isPasswordFieldValid=function(){return this.isPasswordValid};return a}();e.exports=a}),null);
|
||
|
__d("XRecoverInitiateAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/recover/initiate/",{ctx:{type:"String"},c:{type:"String"},r:{type:"String"},ldata:{type:"String"},cid:{type:"Int"},btp:{type:"String"},device_id:{type:"String"},cuid:{type:"String"},recover_method:{type:"String"},reg_instance:{type:"String"},sr:{type:"Bool",defaultValue:!1},sbc:{type:"Bool",defaultValue:!1},rpm:{type:"String"},search_query:{type:"String"},multiple_results:{type:"Bool",defaultValue:!1},fl:{type:"String"},ars:{type:"String"},s:{type:"Int"},social_plugin:{type:"String"},cl:{type:"Bool",defaultValue:!1},wsr:{type:"Bool",defaultValue:!1},ref:{type:"String"},reg_info:{type:"String"},ipw:{type:"Bool",defaultValue:!1},selected_cuid:{type:"String"},redirect_to_full_page_on_captcha:{type:"Bool",defaultValue:!1},openid_provider_name:{type:"String"},cpp:{type:"String"},email:{type:"String"},openid_provider_id:{type:"String"}})}),null);
|
||
|
__d("XRegistrationAttemptLoginController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/registration/maybelogin/",{reg_email__:{type:"String"},reg_email_confirmation__:{type:"String"},reg_second_contactpoint__:{type:"String"},reg_passwd__:{type:"String"}})}),null);
|
||
|
__d("RegistrationController",["cx","fbt","invariant","Promise","Animation","AsyncRequest","CSS","DataStore","DeferredCookie","DOM","DomainDropdownTheme","DomainSearchSource","Event","FBSiteWhiteOps","Focus","Form","GrowthSUMAEvent","GrowthSUMAEventsTypedLogger","HTML","Keys","Menu","MenuItem","PasswordMeterFieldValidator","Popover","PopoverMenu","QE2Logger","Recaptcha","RegistrationClientConfig","RegistrationFields","RegistrationLogger","RegistrationValidatorsResult","RegLoggerSteps","StickyPlaceholderInput","Style","XRecoverInitiateAsyncController","XRegistrationAttemptLoginController","$","debounceCore","ge","getActiveElement","goURI","guid","promiseDone","setTimeout"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j="ns";a={init:function(a){this.captchaPaneShown=!1,this.errorField=null,this.hasLoggedFocus=!1,this.focusListeners=[],this.regForm=a.regForm,this.logFocusName=a.log_focus_name,this.responseCallback=this.handleResponse,this.tosContainerNode=a.tos_container,this.regPagesMsgNode=a.pages_link,this.captchaButtonsNode=a.captcha_buttons,this.regButton=a.regButton,this.captchaRegButton=a.captchaRegButton,this.asyncStatus=a.async_status,this.captchaAsyncStatus=a.captcha_async_status,this.confirmComponent=a.confirm_component,this.emailComponent=a.email_component,this.secondCPComponent=a.second_cp_component,this.passwordComponent=a.password_component,this.topEmailDomains=a.topEmailDomains,this.noReEnterOnSuggestion=a.noReEnterOnSuggestion,a.persistURI!=null&&(this.persistURI=a.persistURI,this.debouncedSaveRegState=b("debounceCore")(this.saveRegState,1e3,this)),this.savePasswordNode=a.savePasswordNode,this.savePasswordNode?(this.submitFormURI="/login/device-based/regular/register.php",this.savePasswordShown=b("CSS").shown(this.savePasswordNode)):(this.submitFormURI="/ajax/register.php",this.savePasswordShown=!1),this.characterThreshold=a.characterThreshold,this.errorMessageNewDesign=a.errorMessageNewDesign,this.showTooltips=a.show_tooltips,this.confirmContactpointBehavior=a.confirmContactpointBehavior,this.confirmContactpointShown=b("CSS").shown(this.confirmComponent),this.shouldShowConfirmationDialog=!0,this.birthdayConfirmationDialog=a.birthdayConfirmationDialog,this.prefilledBirthday=a.prefilledBirthday,this.blockSubmitForm=!1,this.hideReEnterOnEmail=a.hideReEnterOnEmail,this.inReEnterExperiment=a.inReEnterExperiment,this.initListeners(a.regButton,a.captchaRegButton,a.captchaBackButton,a.no_phone_reg_link,a.password_component),this.childValidators=this.childValidators||[],this.shownFlyout=this.shownFlyout||null,this.noPhoneRegLink=a.no_phone_reg_link,this.allowEmailRegDialog=a.allow_email_reg_dialog,this.hasClickedSubmit=!1,a.payload!=null&&this._handlePayload(a.payload),this.shouldRunBotDetection=a.shouldRunBotDetection},initListeners:function(a,c,d,e,f){__p&&__p();var g=this;this.focusListeners=[b("Event").listen(this.regForm,"click",this.logFormFocus.bind(this)),b("Event").listen(this.regForm,"keypress",this.logFormFocus.bind(this))];b("Event").listen(a,"click",this.didAttemptFormSubmit.bind(this));b("Event").listen(c,"click",this.didAttemptFormSubmit.bind(this));b("Event").listen(d,"click",function(){this.hideCaptcha(),this.showRegistrationPane()}.bind(this));a=this.getField(b("RegistrationFields").GENDER);c=Array.from(a);for(var d=0;d<c.length;d++){a=c[d];b("Event").listen(a,"click",this.toggleCustomGender.bind(this))}e!==null&&b("Event").listen(e,"click",this.showCanUseEmail.bind(this));if(this.showTooltips){a=Object.keys(b("RegistrationClientConfig").tooltips);a.forEach(function(a){var c=g.getField(b("RegistrationClientConfig").fields[a]);c&&(c.addEventListener("focus",function(){return g.fieldFocusListener(a)}),c.addEventListener("blur",function(){return g.fieldBlurListener(a)}))})}c=this.getField(b("RegistrationClientConfig").fields.EMAIL);if(this.confirmContactpointBehavior!=="hide"){d=this._getConfirmFieldTypeChangeListener();b("Event").listen(c,"change",d);b("Event").listen(c,"keyup",d)}if(this.topEmailDomains&&this.topEmailDomains.length>0){e=this._getTopEmailsSuggestListener(c,this.topEmailDomains);b("Ev
|
||
|
__d("RegistrationFieldValidator",["csx","cx","invariant","ContextualDialog","ContextualDialogXUITheme","CSS","Deferred","DOM","DOMQuery","ErrorContextualDialogXUITheme","Event","EventEmitter","Focus","LayerAutoFocus","LayerRefocusOnHide","Parent","RegistrationController","RegistrationLogger","StepResult","getActiveElement","getOrCreateDOMID","promiseDone"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d,e,f,g,h){__p&&__p();var i;i=a.call(this)||this;i.maybeShowPersistent=function(){b("CSS").conditionClass(i.wrapper,"_5634",!i.isFocused()&&!i.isValid)};i.maybeShowErrorMessage=function(){__p&&__p();if(i.validationType!=="inline_design")return;b("Parent").bySelector(i.wrapper,"._1ixn");var a=null,c=i.wrapper.getElementsByClassName("_1pc_");c.length>=1&&(a=c[0]);if(!a)return;b("DOM").setContent(a,i.errMsg);b("CSS").conditionClass(i.wrapper,"_5634",!i.isValid);b("CSS").conditionClass(i.wrapper,"_1pd1",!i.isValid);b("CSS").conditionClass(i.wrapper,"_32nt",i.isValid)};i.maybeDismissFlyout=function(){i.isValid&&(i.dismissFlyout(),i.field.removeAttribute("aria-invalid"),i.field.removeAttribute("aria-describedby")),i.validationType==="flyout_with_checkmark"&&b("CSS").conditionClass(i.wrapper,"_32nt",i.isValid)};i.wrapper=c;i.field=d;i.position=e;i.fieldType=f;i.inputs=g;i.validationType=h;i.flyout=null;i.hintFlyout=null;i.steps=[];i.stepContexts=[];i.stepMarkups=[];i.stepLoggingTypes=[];i.stepResults=[];i.stepArgs=[];i.isValid=!0;i.errMsg=null;i.hintFlyoutSeen=!1;i.stepCounter=null;i.stepProgress=null;b("RegistrationController").enrollChildValidator(babelHelpers.assertThisInitialized(i));i.addListener("validated",i.maybeShowPersistent,babelHelpers.assertThisInitialized(i));i.addListener("validated",i.maybeShowErrorMessage,babelHelpers.assertThisInitialized(i));i.addListener("validated",i.maybeDismissFlyout,babelHelpers.assertThisInitialized(i));i.setupListenersForField();i.setupListenersForFeedbackIcon("._5dbc");i.setupListenersForFeedbackIcon("._5dbd");return i}var d=c.prototype;d.setupListenersForField=function(){var a=this;b("Event").listen(this.field,"focus",this.dismissPersistent.bind(this));b("Event").listen(this.field,"focus",this.maybeShowFlyout.bind(this));b("Event").listen(this.field,"blur",function(){return!a.isFocused()&&a.dismissFlyout()});b("Event").listen(this.field,"blur",function(){return!a.isFocused()&&a.validateField(0,[])})};d.setupListenersForFeedbackIcon=function(a){a=b("DOMQuery").scry(this.wrapper,a);for(var c=0;c<a.length;c++)b("Event").listen(a[c],"click",this.focusField.bind(this))};d.getField=function(){return this.field};d.getFieldName=function(){return this.field.name};d.getFlyoutContext=function(){return this.field};d.addValidationStep=function(a,c,d,e){this.stepMarkups.push(c),this.stepLoggingTypes.push(a),this.steps.push(d),this.stepResults.push(b("StepResult").NOT_STARTED),this.stepContexts.push(e),this.stepArgs.push(Array.prototype.slice.call(arguments,4))};d.addHintFlyout=function(a){a=a.cloneNode(!0);this.hintFlyout==null?this.hintFlyout=new(b("ContextualDialog"))({context:this.getFlyoutContext(),position:this.position,theme:b("ContextualDialogXUITheme")},a).disableBehavior(b("LayerAutoFocus")).disableBehavior(b("LayerRefocusOnHide")):this.hintFlyout.setContent(a)};d.validateField=function(a,c){__p&&__p();var d=this;if(this.stepCounter===null&&a===0)this.stepProgress===null||i(0,1679),this.errMsg=null,this.stepCounter=0,this.stepProgress=new(b("Deferred"))();else if(this.stepCounter!==null&&this.stepCounter+1===a)this.stepCounter=a;else return;0<=this.stepCounter||i(0,1680);this.stepCounter<=this.steps.length||i(0,1681);this.stepProgress!==null||i(0,1682);if(this.stepCounter<this.steps.length){a=this.stepCounter;if(c.indexOf(this.stepLoggingTypes[a])>=0)this.stepResults[a]=b("StepResult").SKIPPED,this.validateField(a+1,c);else{var e=this.steps[a].apply(this.stepContexts[a],[this.getField()].concat(this.stepArgs[a]));b("promiseDone")(e instanceof b("Deferred")?e.getPromise():e,function(){d.stepResults[a]=b("StepResult"
|
||
|
__d("RegistrationAutoFocus",["DOMQuery","getActiveElement"],(function(a,b,c,d,e,f){a={regAutofocus:function(a){try{a=b("DOMQuery").find(document.body,'[name="'+a+'"]');if(a){var c=b("getActiveElement")();c&&c!==document.body&&c.blur();a.focus()}}catch(a){}}};e.exports=a}),null);
|
||
|
__d("RegistrationGenderPronounWarning",["fbt","CSS","DOM","Event","GenderConst","RegistrationClientConfig","UsernameFormatToken"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j="",k="";function l(){if(!h)return;var a=i.replace(b("UsernameFormatToken").FIRST,j).replace(b("UsernameFormatToken").LAST,k).trim();a.length?a=g._("Others will see your pronoun as \"they\". For example, \"It's {name}'s birthday. Wish them a happy birthday!\"",[g._param("name",a)]):a=g._("Others will see your pronoun as \"they\". For example, \"It's their birthday. Wish them a happy birthday!\"");b("DOM").setContent(h,a)}a={registerSelector:function(a,c,d){h=c,i=d,l(),b("Event").listen(a,"change",function(){l(),b("CSS").conditionShow(c,a.value===""+b("GenderConst").NEUTER_SINGULAR)})},registerNameInput:function(a,c){b("Event").listen(c,"input",function(){a===b("RegistrationClientConfig").fields.FIRSTNAME?j=c.value:a===b("RegistrationClientConfig").fields.LASTNAME&&(k=c.value),l()})}};e.exports=a}),null);
|
||
|
__d("RegistrationMultipleInputValidator",["invariant","DataStore","DOM","Event","Focus","RegistrationClientConfig","RegistrationFieldValidator","getActiveElement"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d,e,f,h){__p&&__p();var i;switch(f){case b("RegistrationClientConfig").validators.types.SELECTORS:i="select";break;case b("RegistrationClientConfig").validators.types.RADIO:i='input[type="radio"]';break;default:g(0,310,f)}var j=[],k=b("DOM").scry(d,i);j.push.apply(j,k);j.length===h||g(0,311,j.length,h);return a.call(this,c,d,e,f,j)||this}var d=c.prototype;d.setupListenersForField=function(){this.inputs!=null||g(0,312),this.inputs.forEach(function(a){var c=this;b("Event").listen(a,"focus",this.dismissPersistent.bind(this));b("Event").listen(a,"focus",this.maybeShowFlyout.bind(this));this.fieldType===b("RegistrationClientConfig").validators.types.RADIO?b("Event").listen(a,"click",function(){c.emit("fieldblur")}):b("Event").listen(a,"blur",function(){setTimeout(function(){this.isFocused()||this.emit("fieldblur")}.bind(c),0)})},this),this.addListener("fieldblur",this.dismissFlyout,this),this.addListener("fieldblur",this.validateField.bind(this,0,[]))};d.getField=function(){return this.inputs};d.getFieldName=function(){return b("DataStore").get(this.field,"name")};d.getFlyoutContext=function(){return this.inputs[0]};d.isFocused=function(){var a=b("getActiveElement")();for(var c=0;c<this.inputs.length;c++)if(this.inputs[c]===a)return!0;return!1};d.focusField=function(){b("Focus").set(this.inputs[0])};return c}(b("RegistrationFieldValidator"));e.exports=a}),null);
|
||
|
__d("XRegistrationValidateController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/registration/validation/{type}/",{type:{type:"Enum",required:!0,enumType:1},contactpoint:{type:"String"}})}),null);
|
||
|
__d("RegistrationInlineValidations",["invariant","Promise","regeneratorRuntime","AsyncRequest","DataStore","PasswordMeterFieldValidator","RegistrationClientConfig","RegistrationController","RegistrationFields","RegistrationFieldValidator","RegistrationMultipleInputValidator","XRegistrationValidateController"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function h(a){return new(b("Promise"))(function(b,c){!a.value||/^\s*$/.exec(a.value)?c():b()})}function i(a){__p&&__p();return b("regeneratorRuntime").async(function(c){__p&&__p();while(1)switch(c.prev=c.next){case 0:if(b("RegistrationController").confirmContactpointShown){c.next=2;break}return c.abrupt("return");case 2:c.next=4;return b("regeneratorRuntime").awrap(h(a));case 4:case"end":return c.stop()}},null,this)}function j(a){__p&&__p();return new(b("Promise"))(function(b,c){__p&&__p();var d={},e={};for(var f=0;f<a.length;f++){var h=a[f];if(h.nodeName==="SELECT"){if(!h.value||h.value==="0"){c();return}}else h.nodeName==="INPUT"&&h.type==="radio"?(d[h.name]=!0,h.checked&&(e[h.name]=!0)):g(0,2838,h)}Object.keys(d).length===Object.keys(e).length?b():c()})}var k=/@|\d/;function l(a){__p&&__p();return new(b("Promise"))(function(c,d){__p&&__p();function e(a){a=a.getPayload();a.valid===!0?c():d()}function f(a){c()}if(!k.exec(a.value))d();else{if(!b("RegistrationController").hasClickedSubmit){c();return}var g=b("XRegistrationValidateController").getURIBuilder().setEnum("type",b("RegistrationClientConfig").logging.types.CONTACTPOINT_INVALID).setString("contactpoint",a.value).getURI();new(b("AsyncRequest"))().setURI(g).setMethod("GET").setReadOnly(!0).setHandler(e).setErrorHandler(f).send()}})}function m(a){__p&&__p();return b("regeneratorRuntime").async(function(c){__p&&__p();while(1)switch(c.prev=c.next){case 0:if(b("RegistrationController").confirmContactpointShown){c.next=2;break}return c.abrupt("return");case 2:c.next=4;return b("regeneratorRuntime").awrap(l(a));case 4:case"end":return c.stop()}},null,this)}function n(a){a=a.toLocaleLowerCase().replace(/ /g,"");var b=a.indexOf("@");if(b!==-1&&a.includes("gmail.com",b+1)){b=a.split("@");a=b.length===2?b[0].replace(/\./g,"").concat("@").concat(b[1]):a}return a}function o(a,c){return new(b("Promise"))(function(d,e){var f=b("RegistrationController").getField(c);n(f.value)===n(a.value)?d():e()})}function p(a,c){__p&&__p();return b("regeneratorRuntime").async(function(d){__p&&__p();while(1)switch(d.prev=d.next){case 0:if(b("RegistrationController").confirmContactpointShown){d.next=2;break}return d.abrupt("return");case 2:d.next=4;return b("regeneratorRuntime").awrap(o(a,c));case 4:case"end":return d.stop()}},null,this)}function q(a){var c=b("RegistrationClientConfig").logging.types.IS_EMPTY,d=b("RegistrationClientConfig").messages.INCORRECT_NAME;a.addValidationStep(c,d,h)}function r(a,c){var d=b("RegistrationClientConfig").logging.types.IS_EMPTY,e=b("RegistrationClientConfig").messages.INCORRECT_CONTACTPOINT;c&&a.addHintFlyout(b("RegistrationClientConfig").hint_messages.CONTACTPOINT);a.addValidationStep(d,e,h);d=b("RegistrationClientConfig").logging.types.CONTACTPOINT_INVALID;e=b("RegistrationClientConfig").messages.INVALID_NUMBER_OR_EMAIL;a.addValidationStep(d,e,l)}function s(a){var c=b("RegistrationClientConfig").logging.types.IS_EMPTY,d=b("RegistrationClientConfig").messages.INCORRECT_EMAIL_CONF;a.addValidationStep(c,d,i);c=b("RegistrationClientConfig").logging.types.CONTACTPOINT_INVALID;d=b("RegistrationClientConfig").messages.INVALID_EMAIL;a.addValidationStep(c,d,m);c=b("RegistrationClientConfig").logging.types.CONTACTPOINT_MATCH;d=b("RegistrationClientConfig").messages.EMAIL_RETYPE_DIFFERENT;var e=b("RegistrationClientConfig").fields.EMAIL;a.addValidationStep(c,d,p,null,e)}function t(a){var c=b("RegistrationClientConfig").logging.types.IS_EMPTY,d=b("RegistrationClientConfig").messages.PASSWORD_BLANK;a.addValidationStep(c,d,h)}function u(a){var c=b("RegistrationClientConfig").logging.types.IS_EMPTY,d=b("RegistrationClientConfig").messages.INCOMPLETE_BIRTHDAY;a.addValidationStep(c,d,j)}function v(a){var c=b("Registratio
|
||
|
__d("useragentcm",["Bootloader","UACMConfig","ge"],(function(a,b,c,d,e,f){__p&&__p();function a(){__p&&__p();var a=!1,c={ffid:typeof b("UACMConfig").ffid==="undefined"?0:b("UACMConfig").ffid,ffid1:typeof b("UACMConfig").ffid1==="undefined"?0:b("UACMConfig").ffid1,ffid2:typeof b("UACMConfig").ffid2==="undefined"?0:b("UACMConfig").ffid2,ffid3:typeof b("UACMConfig").ffid3==="undefined"?0:b("UACMConfig").ffid3,ffid4:typeof b("UACMConfig").ffid4==="undefined"?0:b("UACMConfig").ffid4,ffver:typeof b("UACMConfig").ffver==="undefined"?0:b("UACMConfig").ffver};c.qp=document.location;var d=b("ge")("login_form");d&&d.action&&(c.qm=d.action);d="facebook";var e=new RegExp("(^|\\.)"+d+"\\.com$","i").test(document.location.hostname);if(!e)a=!0;else if(c.qm){e=c.qm.split("?")[0].split("#")[0];var f=65535;for(var g=0;g<e.length;g++){var h=(f>>8^e.charCodeAt(g))&255;h^=h>>4;f=(f<<8^h<<12^h<<5^h)&65535}b("UACMConfig").ffver&&b("UACMConfig").ffver!=f&&(a=!0)}if(a){var i=document.location.protocol+"//www."+d+".com/ajax/ua_callback.php";document.referrer&&(c.qr1=document.referrer);b("Bootloader").loadModules(["AsyncSignal"],function(a){new a(i,c).send()},"useragentcm")}}e.exports=a}),null);
|
||
|
__d("legacy:si-countermeasures",["useragentcm"],(function(a,b,c,d,e,f){a.useragentcm=b("useragentcm")}),3);
|
||
|
__d("RecaptchaV2IFrameHandler",["RecaptchaV2Constants"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RecaptchaV2Constants").RecaptchaV2IFrameMessageTypes,h=0,i={init:function(a,b,c){c===void 0&&(c=!1);a=document.getElementById(a);b=document.getElementById(b);if(a===null||!(b instanceof HTMLInputElement))return;i.initWithElement(a,b,c)},initWithElement:function(a,b,c){__p&&__p();c===void 0&&(c=!1);window.addEventListener("message",d);function d(d){__p&&__p();var h=d.origin.match(/\w+\.\w{2,3}$/);if(h===null||h[0]!=="fbsbx.com")return;h=f(d.data);if(h==null)return;var i={height:a.scrollHeight};switch(h.type){case g.RESIZE_IFRAME:i=h.size;break;case g.CAPTCHA_SOLVED:b.value=h.token;c&&b.form&&b.form.submit();break;case g.GET_ORIGIN:d.source.postMessage({},d.origin);break;default:return}e(i)}function e(b){a.style.height=b.height+h+"px"}function f(a){__p&&__p();if(a==null||typeof a!=="object")return null;else if(a.type===g.RESIZE_IFRAME){var b=a.size;if(typeof b==="object"&&b!==null&&Object.prototype.hasOwnProperty.call(b,"height")&&typeof b.height==="number")return{type:g.RESIZE_IFRAME,size:{height:b.height}}}else if(a.type===g.CAPTCHA_SOLVED&&typeof a.token==="string")return{type:g.CAPTCHA_SOLVED,token:a.token};else if(a.type===g.GET_ORIGIN)return{type:g.GET_ORIGIN};return null}}};e.exports=i}),null);
|