montana/Russian/Site/messenger/dist/9253.c882c06aec60b6b3ddcf.js

2 lines
113 KiB
JavaScript
Raw Normal View History

2026-05-18 18:05:32 +03:00
"use strict";(self.webpackChunkmontana_messenger=self.webpackChunkmontana_messenger||[]).push([[9253],{79577(e,t,n){n.d(t,{A:()=>l});var o=n(84051),i=n(23174),a=n(90709),s=n(62587),r=n(64489),c=n(20021);const l=(0,o.ph)(function(e){const{sticker:t,noLoad:n,forcePreview:o,...l}=e,d=t?.thumbnail?.dataUri,u=t&&(0,a.Mw)(t,"full"),h=(0,s.A)(t?(0,a.Mw)(t,"preview"):void 0,n&&!o,i.qZ.BlobUrl),m=(0,s.A)(u,n);return(0,c.Y)(r.A,{tgsUrl:m,previewUrl:h,thumbDataUri:d,...l})})},26875(e,t,n){n.d(t,{A:()=>c});var o=n(84051),i=n(87357),a=n(39351),s=n(21849);var r=n(20021);const c=(0,o.ph)(({peers:e,size:t,className:n,limit:c=3,badgeText:l})=>{const d=(0,a.A)(),u="number"==typeof t?t:s.R[t],h=(0,o.Kr)(()=>l||(!e?.length||e.length<=c?void 0:"+"+(e.length-c)),[l,e,c]);return(0,r.FD)("div",{className:(0,i.A)(n,"kXs18Nmi"),style:`--_size: ${u}px;`,dir:d.isRtl?"rtl":"ltr",children:[e?.slice(0,c).map(e=>(0,r.Y)(s.A,{size:t,peer:e,className:"XND8fhC1"})),h&&(0,r.Y)("div",{className:"SHyAyGFO",children:h})]})})},81949(e,t,n){n.d(t,{A:()=>a});var o=n(87357);var i=n(20021);const a=({children:e,className:t,isPlain:n,inline:a,onClick:s,onMouseDown:r})=>(0,i.Y)("div",{className:(0,o.A)("hJUqHi4B",n&&"NsnFJjzu",s&&"hjDEmFaT",a&&"jNZTCgu2",t),onClick:s,onMouseDown:r,children:e})},27860(e,t,n){n.d(t,{A:()=>h});var o=n(84051),i=n(66644),a=n(87357),s=n(45470),r=n(39351),c=n(17712),l=n(50680),d=n(18276);var u=n(20021);const h=(0,o.ph)(({isVisible:e,withAnimation:t,thumbDataUri:n,isNsfw:h,className:m,width:p,height:g})=>{const f=(0,o.li)(),A=(0,r.A)(),{shouldRender:v,transitionClassNames:y}=(0,l.A)(e,void 0,!0,!t&&void 0,void 0,500),C=(0,s.A)(n,!v,void 0,25,p,g),I=(0,c.A)(e=>{if(!f.current)return;const t=f.current,n=e.currentTarget.getBoundingClientRect(),o=e.clientX-n.left,a=e.clientY-n.top,s=o-n.width/2,r=a-n.height/2;(0,i.RK)(()=>{t.setAttribute("style",`--click-shift-x: ${s}px; --click-shift-y: ${r}px`)})});if(v)return(0,u.FD)("div",{className:(0,a.A)("qF2WgYVg",y,m,t&&"pNM3cgkY"),ref:f,onClick:t?I:void 0,children:[(0,u.Y)("canvas",{ref:C,className:"eULqS2yR",width:p,height:g}),(0,u.Y)("div",{className:"XBor45hE"}),h&&(0,u.FD)("span",{className:"FJGQoa6s",children:[(0,u.Y)(d.A,{name:"eye-crossed-outline",className:"Y7JVRkxJ"}),A("MediaSpoilerSensitive")]})]})})},92108(e,t,n){n.d(t,{A:()=>s});var o=n(84051),i=n(87357);var a=n(20021);const s=(0,o.ph)(({data:e,style:t,className:n,valueClassName:o,keyClassName:s})=>(0,a.Y)("div",{className:(0,i.A)("cKr8J5k_",n),style:t,children:e.map(([e,t])=>(0,a.FD)(a.FK,{children:[(0,a.Y)("div",{className:(0,i.A)("c9RLLvfs",s),children:e}),(0,a.Y)("div",{className:(0,i.A)("QEuGpzIc",o),children:t})]}))}))},15535(e,t,n){n.d(t,{A:()=>f});var o=n(84051),i=n(31481),a=n(66644),s=n(63495),r=n(96454),c=n(87357),l=n(83868),d=n(14737),u=n(43874),h=n(39351),m=n(64493),p=n(18276),g=n(20021);const f=(0,o.ph)(({isLoading:e=!1,isPasswordVisible:t,error:n,hint:f,placeholder:A,submitLabel:v,description:y,shouldShowSubmit:C,shouldResetValue:I,shouldDisablePasswordManager:w=!1,noRipple:S=!1,onClearError:b,onChangePasswordVisibility:N,onInputChange:R,onSubmit:P})=>{const k=(0,o.li)(),Y=(0,h.A)(),{isMobile:M}=(0,u.Ay)(),[T,x]=(0,o.J0)(""),[F,D]=(0,o.J0)(!1),E=M?550:400;return(0,o.vJ)(()=>{I&&x("")},[I]),(0,d.A)(()=>{r.TF||k.current.focus()},E),(0,o.vJ)(()=>{n&&(0,a.RK)(()=>{k.current.focus(),k.current.select()})},[n]),(0,g.FD)("form",{action:"",onSubmit:P?function(t){t.preventDefault(),e||F&&P(T)}:l.A,autoComplete:"off",children:[(0,g.FD)("div",{className:(0,c.A)("input-group password-input",T&&"touched",n&&"error"),dir:Y.isRtl?"rtl":void 0,children:[w&&(0,g.Y)("input",{type:"password",id:"prevent_autofill",autoComplete:"off",className:"visually-hidden",tabIndex:-2}),(0,g.Y)("input",{ref:k,className:"form-control",type:t?"text":"password",id:"sign-in-password",value:T||"",autoComplete:w?"one-time-code":"current-password",spellCheck:!s.Vq&&void 0,onChange:function(e){n&&b();const{target:t}=e;x(t.value),D(t.value.length>=i.AGC),R&&R(t.value)},maxLength:256,dir:"auto"}),(0,g.Y)("label",{children:n||f||A||Y("PasswordFormPlaceholder")}),(0,g.Y)
//# sourceMappingURL=9253.c882c06aec60b6b3ddcf.js.map