1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"1.5.2.09301459"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="86d1a072-cbd5-4e94-a4fc-7409e5031b59",e._sentryDebugIdIdentifier="sentry-dbid-86d1a072-cbd5-4e94-a4fc-7409e5031b59")}catch(e){}}();import{a as e}from"./rolldown-runtime-r_PkRsG8.js";import{p as t}from"./@dnd-kit-jxMtJ-tI.js";import{t as a}from"./react-xIOnqy_g.js";import{t as s}from"./withStore-CSPjEoFO.js";import{n}from"./react-i18next-CdGuCPe4.js";import{Dt as r,Ot as i,h as o,p as l}from"./main-DvFig4EH.js";import{t as c}from"./meta_tags-CNDESKpU.js";/* empty css */var d=e(t(),1),m=a();function g(e){const[t,a]=(0,d.useState)(null),s=(0,d.useRef)(null);(0,d.useEffect)(()=>{if(e.show&&!t){a(!0);o("agreement_easter_show")}},[e,t,a]);if(e.stores.main.isProduction())return(0,m.jsx)(m.Fragment,{});return(0,m.jsx)(r,{in:e.show,nodeRef:s,timeout:700,classNames:"page_text_easter",unmountOnExit:!0,children:(0,m.jsxs)("div",{className:"page_text_easter",ref:s,onClick:()=>{o("agreement_easter_click");e.history.push("/promo?code=WOW90")},children:[(0,m.jsxs)("div",{className:"page_text_easter_activate",children:["WOW90",(0,m.jsx)("div",{className:"page_text_easter_button",children:"ÐкÑивиÑоваÑÑ"})]}),(0,m.jsx)("div",{className:"page_text_easter_person"}),(0,m.jsxs)("div",{className:"page_text_easter_text",children:["ÐодаÑок! ТолÑко Ð´Ð»Ñ ",(0,m.jsx)("b",{children:"0,5%"})," лÑдей, коÑоÑÑе ÑиÑаÑÑ ÑоглаÑениÑ!",(0,m.jsx)("br",{}),"ÐÑомокод на 90 дней 300+ Ñв каналов в запиÑи и без ÑекламÑ."]})]})})}g=i(s(g));var u=s(e=>{const[t,a]=(0,d.useState)(null),[s,r]=(0,d.useState)(null),[i,u]=(0,d.useState)(null),[p,h]=(0,d.useState)(null),{t:f}=n(),_=(0,d.useRef)(null),x=e.stores.packets,b=e.stores.main;(0,d.useEffect)(()=>{const n=x.agreement||b.networkData.agreement;if(!i){e.stores.analytics.addEvent({page:"settings_agreement",name:"init"});b.setData("analyticsPage","settings_agreement");u(!0)}const o=setTimeout(()=>{if(!t&&!s&&b.networkData&&b.networkData.agreement){r(!0);fetch(b.checkHttps(n)).then(e=>e.text()).then(e=>{const t=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n").replace(/\n{3,}/g,"\n\n");a(t);r(!1)})}},500);return function(){o&&clearTimeout(o)}},[e,x,b,i,t,s]);const j=()=>{x.setData("agreement",null);x.setData("agreementAccepted",!1);x.setData("agreementCallback",null);const e=b.currentLocation?.state?.backUrl;e?b.history.push(e):b.history.goBack()};return(0,m.jsxs)("div",{className:"page_text",children:[(0,m.jsx)(c,{title:f("agreement")+" - 24ТÐ",description:"ÐолÑзоваÑелÑÑкое ÑоглаÑение 24ТÐ: ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑеÑвиÑа, пÑоÑмоÑÑа конÑенÑа, подпиÑок и оплаÑÑ.",shareTitle:"",image:"",canonical:"/agreement"}),(0,m.jsx)("div",{className:"page_text_header",children:(0,m.jsx)("h1",{children:f("agreement")})}),x.agreement&&x.agreementCallback&&(0,m.jsxs)("div",{className:"page_text_buttons",children:[(0,m.jsx)("div",{className:"modal_button modal_close_button button_gray",onClick:j,children:f("cancel")}),(0,m.jsx)("div",{className:"modal_button",onClick:()=>{x.agreementCallback&&x.agreementCallback();j()},children:f("accept")})]}),(0,m.jsx)("div",{className:"page_text_body modern_scroll",ref:_,onScroll:()=>{const e=_&&_.current,t=e&&e.scrollHeight-e.offsetHeight,a=e&&e.scrollTop+100;if(a&&t&&a>t&&!p){h(!0);o("agreement_read")}},children:t?(0,m.jsxs)(m.Fragment,{children:[!x.agreement&&!x.agreementCallback&&(0,m.jsx)(g,{show:p}),(0,m.jsx)("pre",{style:{paddingBottom:"150rem",whiteSpace:"pre-wrap",wordWrap:"break-word",fontFamily:"inherit",fontSize:"inherit",lineHeight:"inherit",color:"inherit"},children:t})]}):(0,m.jsx)(l,{})})]})});export{u as default};
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.