PageSourceSearch

https://besocial.tech/static/js/7643.7d6c2ac6.chunk.js

js besocial.tech collected 2026-09-24 15:15:34 UTC 17,712 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkrefactor=self.webpackChunkrefactor||[]).push([[7643,5303],{33094:(e,t,o)=>{o.d(t,{I:()=>d});var a=o(89379),r=o(9950),_=o(26197),n=o(39324),c=o(91142),i=o(80001);const l={popup:"card_combobox_popup__JKGnl",searchWrapper:"card_combobox_searchWrapper__mG6uw",searchInput:"card_combobox_searchInput__jVAHD",options:"card_combobox_options__DwxYH",option:"card_combobox_option__TrPt5",selected:"card_combobox_selected__7GkD7",optionContent:"card_combobox_optionContent__RyuXo",optionStart:"card_combobox_optionStart__Vbw7Q",optionLabel:"card_combobox_optionLabel__yZIkv",check:"card_combobox_check__LuUvQ",empty:"card_combobox_empty__ckTKU",trigger:"card_combobox_trigger__owsux",tableTrigger:"card_combobox_tableTrigger__jA0lf",statusTrigger:"card_combobox_statusTrigger__rMaiM",statusPopup:"card_combobox_statusPopup__amzo-",statusOptions:"card_combobox_statusOptions__+9bzn"};var s=o(44414);const d=e=>{var t;let{id:o,value:d="",values:m,options:p,variant:u="default",placeholder:v="Select value",searchPlaceholder:g="Search...",emptyText:f="No results found",ariaLabel:b="Options",readOnly:h=!1,disabled:x=!1,searchable:y=!0,minPopupWidth:w,triggerClassName:k,triggerStyle:N,onOpen:C,onChange:j,renderOptionStart:P,renderOption:F,renderValue:S,renderValues:U}=e;const I=(0,r.useId)().replace(/:/g,""),O="".concat(o,"-").concat(I),[L,B]=(0,r.useState)(null),[R,T]=(0,r.useState)(!1),A=void 0!==m,V=(0,r.useMemo)((()=>p.find((e=>e.value===d||e.label===d))),[p,d]),E=(0,r.useMemo)((()=>m?p.filter((e=>m.includes(e.value))):[]),[p,m]),W=(0,r.useMemo)((()=>p.map((e=>(0,a.A)((0,a.A)({},e),{},{id:e.value})))),[p]),D=!h&&!x,M=L===O,X="table"===u?l.tableTrigger:"status"===u?l.statusTrigger:void 0,K=null!==w&&void 0!==w?w:"status"===u?0:230,Q=A?null!==(t=null===U||void 0===U?void 0:U(E))&&void 0!==t?t:E.map((e=>e.label)).join(", ")||v:S?S(V):(null===V||void 0===V?void 0:V.label)||d||v,z=()=>B(null);return(0,s.jsx)(i.x,{enhanced:!0,styles:l,titlePopup:{title:Q},currentUniqueIdField:O,openCustomSelect:L,isActive:M,selectorArr:W,isReadOnly:!D,getSelectorElementsCb:async()=>{if(D&&!R)if(M)z();else{T(!0);try{await(null===C||void 0===C?void 0:C()),B(O)}catch(e){B(null)}finally{T(!1)}}},actionCb:async e=>{e.disabled||(await j(e),A||(z(),window.requestAnimationFrame((()=>{var e;return null===(e=document.getElementById(o))||void 0===e?void 0:e.focus()}))))},closePopup:z,selectedItemId:null===V||void 0===V?void 0:V.value,selectedItemIds:A?m:void 0,multiSelect:A,searchable:y,searchPlaceholder:g,emptyText:f,getSearchText:e=>{var t;return"".concat(e.label," ").concat(null!==(t=e.searchText)&&void 0!==t?t:"")},ariaLabel:b,minPopupWidth:K,popupGap:4,viewportGutter:8,popupClassName:"".concat(l.popup," ").concat("status"===u?l.statusPopup:"").trim(),searchWrapperClassName:l.searchWrapper,searchInputClassName:l.searchInput,optionsClassName:"".concat(l.options," ").concat("status"===u?l.statusOptions:"").trim(),optionClassName:"".concat(l.option," ").concat("status"===u?l.statusOption:"").trim(),selectedOptionClassName:l.selected,emptyClassName:l.empty,useButtonOptions:!0,renderTrigger:e=>{let{isOpen:t,listboxId:a,setTriggerRef:r,togglePopup:i}=e;return(0,s.jsx)(c.ET,{ref:e=>r(e),id:o,readOnly:!D,className:[l.trigger,X,k].filter(Boolean).join(" "),style:N,"aria-label":b,"aria-haspopup":"listbox","aria-expanded":t,"aria-busy":R||void 0,"aria-controls":t?a:void 0,trailing:D?(0,s.jsx)(_.gc,{icon:n.xBV}):void 0,onClick:i,onKeyDown:e=>{"Escape"===e.key&&t&&(e.preventDefault(),z())},children:Q})},renderItem:(e,t)=>{let{isSelected:o}=t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:l.optionContent,children:[P&&(0,s.jsx)("span",{className:l.optionStart,children:P(e)}),(0,s.jsx)("span",{className:l.optionLabel,children:F?F(e,o):e.label})]}),(0,s.jsx)("span",{className:l.check,children:o&&(0,s.jsx)(_.gc,{icon:n.e68,"aria-hidden":"true"})})]})}})}},65303:(e,t,o)=>{o.d(t,{n:()=>i});var a=o(9950),r=o(17119);const _="hint_tooltip_hint_tooltip__9Hp2I";var n=o(44414);function c(e,t){if(e.endsWith("%")){const o=Number.parseFloat(e);return Number.isNaN(o)?0:t*o/100}const o=Number.parseFloat(e);return Number.isNaN(o)?0:o}const i=e=>{var t,o;let{hint:i,gapPx:l=4,leftPx:s="0",renderInPortal:d=!1,anchorRef:m}=e;const[p,u]=(0,a.useState)(null),v=Boolean(null===i||void 0===i?void 0:i.length),g=(0,a.useMemo)((()=>({"--gap":"".concat(l,"px"),"--left":s})),[l,s]),f=(0,a.useMemo)((()=>({"--gap":"0px","--left":"0px"})),[]);if((0,a.useLayoutEffect)((()=>
1{if(!v||!d||null===m||void 0===m||!m.current)return void u(null);let e=0;const t=()=>{const e=m.current;if(!e)return;const t=e.getBoundingClientRect();u({top:t.bottom+l,left:t.left+c(s,t.width)})},o=()=>{cancelAnimationFrame(e),e=requestAnimationFrame(t)};return o(),window.addEventListener("resize",o),window.addEventListener("scroll",o,!0),()=>{cancelAnimationFrame(e),window.removeEventListener("resize",o),window.removeEventListener("scroll",o,!0)}}),[m,l,v,s,d]),!v)return null;const b=(0,n.jsx)("div",{className:_,style:g,children:i.map((e=>(0,n.jsx)("li",{children:e},e)))});return d&&null!==m&&void 0!==m&&m.current&&"undefined"!==typeof document?(0,r.createPortal)((0,n.jsx)("div",{style:{position:"fixed",top:null!==(t=null===p||void 0===p?void 0:p.top)&&void 0!==t?t:-9999,left:null!==(o=null===p||void 0===p?void 0:p.left)&&void 0!==o?o:-9999,zIndex:1e4},children:(0,n.jsx)("div",{className:_,style:f,children:i.map((e=>(0,n.jsx)("li",{children:e},e)))})}),document.body):b}},62544:(e,t,o)=>{o.d(t,{I:()=>k});var a=o(46307),r=(o(9950),o(26197)),_=o(39324),n=o(63479),c=o(74465),i=o(95379);const l="telegram_bots_telegram_bots_content__CTg1k",s="telegram_bots_default_variant__4NqyX",d="telegram_bots_card_control_variant__K-uek",m="telegram_bots_telegram_bots_status_cell__c4-Ne",p="telegram_bots_telegram_bots_status_badge__7YfvO",u="telegram_bots_telegram_bots_container__vrpVn",v="telegram_bots_telegram_bots_table__cg3tC",g="telegram_bots_telegram_bots_table_row__OQdGT",f="telegram_bots_telegram_bots_table_cell__9aESc",b="telegram_bots_telegram_bots_name_cell__QyapI",h="telegram_bots_telegram_bots_name__bY5fx",x="telegram_bots_telegram_bots_link_button__lD339";var y=o(91142),w=o(44414);const k=e=>{let{selectedCard:t,bots:o,isVisible:k=!0,header:N,className:C,variant:j="default"}=e;return k&&null!==o&&void 0!==o&&o.length?(0,w.jsxs)("div",{className:"".concat(l," ").concat("cardControl"===j?d:s," ").concat(null!==C&&void 0!==C?C:"").trim(),children:[null!==N&&void 0!==N?N:(0,w.jsx)("strong",{children:"Telegram bot"}),(0,w.jsx)("div",{className:u,children:(0,w.jsx)("div",{className:v,children:o.map((e=>(0,w.jsxs)("div",{className:g,children:[(0,w.jsxs)("div",{className:"".concat(f," ").concat(b),children:[(0,w.jsx)("span",{className:h,children:e.name}),(0,w.jsx)(y._P,{className:x,label:"Copy ".concat(e.name," bot connection link"),onClick:()=>(async e=>{try{(0,n.ZH)(!0);const{data:o}=await c.L.post(e.getLinkUrl,{id:t});if(null===o||void 0===o||!o.success||null===o||void 0===o||!o.data)throw new Error(null===o||void 0===o?void 0:o.message);await(0,a.Gy)(o.data),(0,i.FX)({success:!0,text:"".concat(e.name," bot link copied successfully.")})}catch(o){console.error("Failed to get link for bot:",o),(0,i.FX)({success:!1,text:"ERROR: Failed to retrieve the ".concat(e.name," bot link.")})}finally{(0,n.ZH)(!1)}})(e),children:(0,w.jsx)(r.gc,{icon:_.CQO})})]}),(0,w.jsx)("div",{className:"".concat(f," ").concat(m),"data-connected":e.isConnected?"true":"false",children:(0,w.jsx)("span",{className:p,"data-connected":e.isConnected?"true":"false",children:e.isConnected?"Connected":"Not connected"})})]},e.name)))})})]}):null}},33990:(e,t,o)=>{o.d(t,{J:()=>s});var a=o(46307),r=(o(9950),o(95379)),_=o(82022);const n="referral_link_referral_link_content__3Yqxe",c="referral_link_referral_link_container__tRo2V",i="referral_link_referral_link_row__kGxvC";var l=o(44414);const s=e=>{let{referralCode:t,className:o}=e;const s=(e=>e?"https://besocial.tech/ref=".concat(e):"")(t);return s?(0,l.jsxs)("div",{className:"".concat(n," ").concat(null!==o&&void 0!==o?o:"").trim(),children:[(0,l.jsx)(_.B,{title:"Referral link"}),(0,l.jsx)("div",{className:c,children:(0,l.jsx)("div",{className:i,children:(0,l.jsx)("button",{type:"button",title:s,onClick:async()=>{if(s)try{await(0,a.Gy)(s),(0,r.FX)({success:!0,text:"Referral link copied successfully."})}catch(e){(0,r.FX)({success:!1,text:"Failed to copy referral link."})}},children:s})})})]}):null}},81574:(e,t,o)=>{o.d(t,{V:()=>d});var a=o(9950),r=o(26197),_=o(39324),n=o(37309),c=o(66664),i=o(62206),l=o(27949),s=o(44414);const d=e=>{let{idPrefix:t,existingFiles:o,pendingFiles:d,fallbackKind:m,className:p,onDelete:u,canDelete:v=!0}=e;const[g,f]=(0,a.useState)(null),b=(0,a.useMemo)((()=>[...o.map(((e,o)=>(0,i.l$)(e,"".concat(t,"-existing-").concat(o),"".concat(t,"-").concat(o+1),m))),...d.map(i.a2)]),[o,m,t,d]);return b.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"".concat(l.A.files_container," ").concat(null!==p&&void 0!==p?p:"").trim(),children:b.map(((e,t)=>(0,s.jsxs)("div",{className:l.A.media_attachment_card,children:[(0,s.jsx)(c.U,{file:e,variant:"card",allowFullscreen:!0,onOpenFullscreen:()=>f(e.id)}),v&&u&&(0,s.jsx)("button",{type:"button",className:l.A.media_attachment_remove,onClick:()=>u(t),"aria-label":"Delete ".concat(e.name||"file"),children:(0,s.jsx)(r.gc,{icon:_.yLS,className:l.A.media_attachment_remove_icon})})]},e.id)))}),(0,s.jsx)(n.Z,{isOpen:null!==g,files:b,initialId:null!==g&&void 0!==g?g:void 0,onClose:()=>f(null),onDelete:v&&u?async e=>{const t=b.findIndex((t=>e.includes(t.id)));t>=0&&u(t)}:void 0})]}):null}},62206:(e,t,o)=>{o.d(t,{Dq:()=>l,EU:()=>u,LW:()=>f,Mp:()=>b,U7:()=>h,a2:()=>d,cO:()=>g,e7:()=>v,l$:()=>s,mX:()=>x,oV:()=>i,re:()=>p});var a=o(63786),r=o(49012);const _=["image/jpeg","image/jpg","image/png"],n=[..._,"text/plain","application/pdf","video/mp4"],
1c=["passport","documents","startBox","iPhone","airPods","macBook"],i=e=>"string"===typeof e?e:(null===e||void 0===e?void 0:e.url)||"",l=(e,t)=>{const o=i(e).split(/[?#]/,1)[0].toLowerCase();return t.some((e=>o.endsWith(e)))},s=(e,t,o,r)=>{const _=i(e),n=_.split(/[?#]/,1)[0];let c=n.substring(n.lastIndexOf("/")+1)||o;try{c=decodeURIComponent(c)}catch(l){}return{id:t,kind:null!==r&&void 0!==r?r:(0,a.t)(_,c),src:_,previewSrc:"string"===typeof e?_:e.previewUrl||e.mediumUrl||e.url,name:c}},d=e=>({id:e.id,kind:e.kind,src:e.url,previewSrc:e.previewUrl||e.url,name:e.file.name,mimeType:e.file.type,size:e.file.size}),m=async e=>{const t=(0,a.t)("",e.name,e.type),o=URL.createObjectURL(e);try{return{id:"".concat(Date.now(),"_").concat(Math.random().toString(36).slice(2,10)),url:o,previewUrl:await(0,r.f)(e,t),kind:t,file:e}}catch(_){throw URL.revokeObjectURL(o),_}},p=async e=>{const t=await Promise.allSettled(e.map(m)),o=t.flatMap((e=>"fulfilled"===e.status?[e.value]:[]));if(t.some((e=>"rejected"===e.status)))throw o.forEach(h),new Error("Failed to prepare one or more selected files.");return o},u=(e,t)=>"documentsScan"===e?n.includes(t.type):"passportScan"!==e&&"startBox"!==e&&"airPods"!==e&&"iPhone"!==e&&"macBook"!==e||_.includes(t.type),v=function(e,t,o){return e+t+o<=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:3)},g=(e,t)=>{var o,a,r,_,n,c,i,l,s,d,m,p,u;return null!==(u={passportScan:{existingCount:t.generalInfo.passport.files.length,newFilesKey:"passport"},documentsScan:{existingCount:t.generalInfo.documents.files.length,newFilesKey:"documents"},startBox:{existingCount:null!==(o=null===(a=t.achievements.startBox)||void 0===a||null===(r=a.files)||void 0===r?void 0:r.length)&&void 0!==o?o:0,newFilesKey:"startBox"},iPhone:{existingCount:null!==(_=null===(n=t.achievements.iPhone)||void 0===n||null===(c=n.files)||void 0===c?void 0:c.length)&&void 0!==_?_:0,newFilesKey:"iPhone"},airPods:{existingCount:null!==(i=null===(l=t.achievements.airPods)||void 0===l||null===(s=l.files)||void 0===s?void 0:s.length)&&void 0!==i?i:0,newFilesKey:"airPods"},macBook:{existingCount:null!==(d=null===(m=t.achievements.macBook)||void 0===m||null===(p=m.files)||void 0===p?void 0:p.length)&&void 0!==d?d:0,newFilesKey:"macBook"}}[e])&&void 0!==u?u:null},f=(e,t,o)=>{let a=!1;return c.forEach((t=>{o[t].forEach((o=>{let{file:r}=o;e.append(t,r),a=!0}))})),a},b=e=>c.some((t=>e[t].length>0)),h=e=>{URL.revokeObjectURL(e.url),e.previewUrl&&e.previewUrl!==e.url&&URL.revokeObjectURL(e.previewUrl)},x=e=>{Object.values(e).flat().forEach(h)}},74671:(e,t,o)=>{o.d(t,{Py:()=>c,T9:()=>n,c3:()=>r,pC:()=>_});var a=o(20412);const r="".concat(a.C,"/users/generateStackPassword"),_="".concat(a.C,"/users/blockStackUser"),n="".concat(a.C,"/users/search"),c="".concat(a.C,"/users/getLinkForNotificationBot")},27949:(e,t,o)=>{o.d(t,{A:()=>a});const a={common_operator_card_container:"operator_card_common_operator_card_container__H7ckZ",visually_hidden:"operator_card_visually_hidden__sCP8x",files_container:"operator_card_files_container__l7fdm",media_attachment_card:"operator_card_media_attachment_card__N7Pf0",media_attachment_remove:"operator_card_media_attachment_remove__n+Qha",media_attachment_remove_icon:"operator_card_media_attachment_remove_icon__FBbQS",common_operator_card:"operator_card_common_operator_card__CNWhi",telegram_bots_section:"operator_card_telegram_bots_section__0mxP8",return_block:"operator_card_return_block__TNViN",link:"operator_card_link__vUFH-",update_btn:"operator_card_update_btn__V6NKX",main_wrapper:"operator_card_main_wrapper__4WVQZ",general_info_content:"operator_card_general_info_content__6VfDA",general_info_fields:"operator_card_general_info_fields__vZLfq",general_info_row:"operator_card_general_info_row__ZlwdW",date_period_wrapper:"operator_card_date_period_wrapper__JTiNr",general_info_files_row:"operator_card_general_info_files_row__AXrT8",media_field_block:"operator_card_media_field_block__29bIO",media_form_field:"operator_card_media_form_field__D6AjT",media_form_control:"operator_card_media_form_control__VWj13",visually_hidden_file_input:"operator_card_visually_hidden_file_input__7wsUE",login_details_content:"operator_card_login_details_content__aNLRz",login_details_fields:"operator_card_login_details_fields__o4HMp",login_details_row:"operator_card_login_details_row__zuS2S",inline_actions:"operator_card_inline_actions__pw9vs",login_action_button:"operator_card_login_action_button__Uc+vI",server_access_options:"operator_card_server_access_options__ij+VX",active:"operator_card_active__2fqN+",translator_content:"operator_card_translator_content__xo+Z6",translator_fields:"operator_card_translator_fields__-5eVp",translator_control_row:"operator_card_translator_control_row__m6dyu",translator_actions:"operator_card_translator_actions__w649s",language_control:"operator_card_language_control__V8PVm",api_key_status:"operator_card_api_key_status__ak7aL",verified:"operator_card_verified__JgAkT",not_verified:"operator_card_not_verified__QuIzF",social_media_content:"operator_card_social_media_content__E5+2m",social_media_fields:"operator_card_social_media_fields__8XMJc",field_link_action:"operator_card_field_link_action__++XAr",field_label_link:"operator_card_field_label_link__K9bMn",comments_content:"operator_card_comments_content__4PWWc",comments_container:"operator_card_comments_container__W-kve",comments_create:"operator_card_comments_create__aSVle",comment_input
1:"operator_card_comment_input__vtf0o",comment_submit:"operator_card_comment_submit__+nlNu",comment_files:"operator_card_comment_files__AjCYy",comment_form_file_input:"operator_card_comment_form_file_input__Qq2OP",comment_form_attachments_wrapper:"operator_card_comment_form_attachments_wrapper__+BZhE",comments_existing_wrapper:"operator_card_comments_existing_wrapper__eWB43",comments_existing:"operator_card_comments_existing__MaUqO",comment_header:"operator_card_comment_header__OHA5X",comment_meta:"operator_card_comment_meta__VgBun",comment_author:"operator_card_comment_author__6sRIi",comment_delete_button:"operator_card_comment_delete_button__dQYX+",comment_text:"operator_card_comment_text__4gyVI",comment_existing_attachments:"operator_card_comment_existing_attachments__uheRQ",system_logs_content:"operator_card_system_logs_content__676mn",system_logs_container:"operator_card_system_logs_container__CRlKa",system_logs_row:"operator_card_system_logs_row__tiY9m",system_log_event:"operator_card_system_log_event__L06Cz",system_log_event_text:"operator_card_system_log_event_text__ClkS-",hiring_content:"operator_card_hiring_content__EyFWa",hiring_container:"operator_card_hiring_container__9GsfD",table:"operator_card_table__rgwgU",table_row:"operator_card_table_row__QfdyU",table_cell:"operator_card_table_cell__i4jwQ",table_header:"operator_card_table_header__i6CpB",cooperation_content:"operator_card_cooperation_content__oSiC+",cooperation_container:"operator_card_cooperation_container__MHtzR",training_content:"operator_card_training_content__0gKso",training_container:"operator_card_training_container__C5bBw",finished:"operator_card_finished__l4YeU",in_progress:"operator_card_in_progress__9tHd6",payment_details_content:"operator_card_payment_details_content__lNAP3",payment_details_fields:"operator_card_payment_details_fields__H4tFn",achievements_content:"operator_card_achievements_content__8BiDW",achievements_container:"operator_card_achievements_container__fiuXt",one_block:"operator_card_one_block__blshy",header_achievements:"operator_card_header_achievements__sBUya",text:"operator_card_text__FNVN9",main_text:"operator_card_main_text__vm7XP",sub_text:"operator_card_sub_text__Zxzme",add_new_file:"operator_card_add_new_file__LGQns",status_pill_cell:"operator_card_status_pill_cell__fqvgg",status_dot:"operator_card_status_dot__sqGdG"}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.