05-tilda-export-backup/Tilda_ Пестель, «Русская правда» и еврейский вопрос_files/t-common.min.js

98 lines
48 KiB
JavaScript
Raw Normal View History

2025-10-29 16:50:39 +00:00
function show_BubbleNotice(t,e){td__showBubbleNotice(t,e,"")}function close_BubbleNotice(t){td__closeBubbleNotice(t)}function td__showBubbleNotice(t,e,o){void 0===e&&(e=6e3);var n=document.querySelectorAll(".td__cornernotice").length+1,i=document.querySelector(".t-help-bubble"),i=(i&&(i.style.display="none"),document.getElementById("tc-news")),i=(i&&(i.style.display="none"),document.querySelector(".tc-errors"));i&&(i.style.display="none");document.body.insertAdjacentHTML("beforeend",'<div class="td__cornernotice" data-tilda-corner-notice="'+n+'" style="position: fixed;z-index:10001;background-color:'+("ok"==o?"green":"error"==o?"red":"#111")+';width:350px;bottom:50px;right:-350px;border: 1px solid #ccc;border-radius:10px;opacity:0;"><div class="td__cornernotice__close" style="position:absolute;right:10px;top:3px;color:#fff;cursor: pointer;">&times;</div><div class="td__cornernotice__text" style="color:#fff;font-family:\'tfutura\',Arial,sans-serif;font-size:16px;padding:20px 30px;">'+t+"</div><style>.td__cornernotice__text a{color:#ff855d;text-decoration: underline;}</style></div>");var r=document.querySelector('.td__cornernotice[data-tilda-corner-notice="'+n+'"]');1<n&&(i=document.querySelector('.td__cornernotice[data-tilda-corner-notice="'+(n-1)+'"]'))&&(t=(o=window.getComputedStyle(i)).getPropertyValue("bottom"),i=o.getPropertyValue("height"),t=parseInt(t.replace(/[^0-9.]/g,""),10)||0,i=parseInt(i.replace(/[^0-9.]/g,""),10)||0,n<5&&r?r.style.bottom=t+i+5+"px":r&&(r.style.bottom=t+25+"px")),r&&(r.style.transitionProperty="opacity, right",r.style.transitionDuration="400ms",r.style.transitionTimingFunction="ease-out",setTimeout(function(){r.style.opacity="1",r.style.right="20px"},0),setTimeout(function(){td__closeBubbleNotice(n)},e+400),o=r.querySelector(".td__cornernotice__close"))&&o.addEventListener("click",function(){var t=this.parentElement.getAttribute("data-tilda-corner-notice");td__closeBubbleNotice(parseInt(t,10)||0)})}function td__closeBubbleNotice(t){var e=t?document.querySelector('.td__cornernotice[data-tilda-corner-notice="'+t+'"]'):document.querySelector(".td__cornernotice");e&&(e.style.transitionProperty="opacity, right",e.style.transitionDuration="300ms",e.style.transitionTimingFunction="ease-in",setTimeout(function(){e.style.opacity="0",e.style.right="0px"},0),setTimeout(function(){var t;e.remove(),!(e=document.querySelector(".td__cornernotice"))&&((t=document.querySelector(".t-help-bubble"))&&(t.style.display="block"),(t=document.getElementById("tc-news"))&&(t.style.display="block"),t=document.querySelector(".tc-errors"))&&(t.style.display="block")},300))}function showOnboardingPin(e,t,o,n,i,r,s,a,c,d){var l;window.innerWidth<1200||(window.pages&&window.pages.length&&localStorage.setItem("tp-pin-project-onboarding-pin3",Date.now()),localStorage.getItem("tp-pin-"+e))||"project-onboarding-pin3"!==e&&window.pages&&!window.pages.length||((l=c&&"DIV"===c.tagName?c:document.body).insertAdjacentHTML("afterbegin",'<div class="onboardingpin" id="'+e+'" data-pin-left="'+o+'" data-pin-top="'+n+'" data-pin-fixed="'+r+'" data-pin-elem="'+i+'"><div class="onboardingpin__wrapper"><div class="onboardingpin__pin"></div><div class="onboardingpin__bubble" style="'+(-2e3<s?"left:"+s+"px;":"")+(-2e3<a?"top:"+a+"px;":"")+(d&&0<d?"width:"+d+"px;":"")+'" id="'+e+'"><div class="onboardingpin__msg">'+t+'</div><div class="onboardingpin__btn-close">OK</div></div></div></div>'),(c=document.getElementById(e))&&updatePinPosition(c),c&&c.addEventListener("mouseover",function(){var t;this.classList.contains("onboardingpin_opened")||(this.classList.add("onboardingpin_opened"),(t=this.querySelector(".onboardingpin__bubble"))&&(t.style.removeProperty("transition"),t.style.opacity="0",t.style.transition="opacity 500ms ease-out",t.style.opacity="1"),document.querySelector(".onboardingpin__filter")||(l.insertAdjacentHTML("afterbegin",'<div class="onboardingpin__filter" style="opacity:0;"></div>'),document.querySelector(".onboardingpin__filter"),t.style.transition="opacity 300ms ease-out",t.style.opacity="0.7",t.addEventListener("click",close
<div class="tc-custom-dialog tc-confirm-dialog td-popup_opened js-tc-confirm-popup">
<div class="tc-custom-dialog__wrapper">
<div class="tc-custom-dialog__window">
<div class="tc-custom-dialog__head">
${e?`<div class="tc-custom-dialog__title">${e}</div>`:""}
<p class="tc-custom-dialog__msg">${o}</p>
<input type="text" class="ss-input js-tc-confirm-popup-input" placeholder="${r}">
</div>
<div class="tc-custom-dialog__footer">
<div class="tc-custom-dialog__buttons">
<button class="tc-custom-dialog__btn tc-custom-dialog__btn_white js-tc-confirm-popup-cancel-btn">
${n}
</button>
<button class="tc-custom-dialog__btn js-tc-confirm-popup-disable-btn" disabled>
${i}
</button>
</div>
</div>
</div>
</div>
</div>
`,t=tc__translate(t,"lkp__dict");document.body.insertAdjacentHTML("beforeend",t);const a=document.querySelector(".js-tc-confirm-popup"),c=a.querySelector(".js-tc-confirm-popup-input"),d=a.querySelector(".js-tc-confirm-popup-disable-btn"),l=a.querySelector(".js-tc-confirm-popup-cancel-btn");const p=()=>{document.body.removeEventListener("keydown",_),document.body.classList.remove("td-body_popup-opened"),document.body.classList.remove("t-body_popupshowed"),a.remove()},u=()=>{c.disabled=!0,d.disabled=!0,l.disabled=!0},h=()=>{c.disabled=!1,d.disabled=!1,l.disabled=!1},m=()=>{c.value===r&&s&&(u(),Promise.resolve(s()).catch(()=>{h()}).finally(()=>{p()}))};const _=t=>{t.stopPropagation(),27==t.keyCode&&p(),13==t.keyCode&&m()};document.body.addEventListener("keydown",_),d.addEventListener("click",m),l.addEventListener("click",p),c.addEventListener("input",t=>{t.target.value===r?d.disabled=!1:d.disabled=!0}),document.body.classList.add("td-body_popup-opened"),document.body.classList.add("t-body_popupshowed"),a.classList.add("td-popup_opened"),c.focus()}function td__encodeData(t,n){var e,i="";if(Array.isArray(t))Array.prototype.forEach.call(t,function(t,e){var o;"object"==typeof t&&"name"in t?(i+=i?"&":"",o="",o=n?encodeURIComponent(n+"["+t.name+"]"):encodeURIComponent(t.name),i+=o+"="+encodeURIComponent(t.value)):"string"==typeof t||"number"==typeof t||"boolean"==typeof t||null===t?(i+=i?"&":"",o="",o=n?encodeURIComponent(n+"["+e+"]"):encodeURIComponent(e),i+=o+"="+encodeURIComponent(t)):"object"==typeof t&&(i=(i+=i?"&":"")+td__encodeData(t,n?n+"["+e+"]":e))});else if("object"==typeof t&&null!==t)for(var o in t)i+=i?"&":"","object"==typeof t[o]&&null!==t?i+=td__encodeData(t[o],n?n+"["+o+"]":o):"string"!=typeof t[o]&&"number"!=typeof t[o]&&"boolean"!=typeof t[o]&&null!==t[o]||(e="",e=n?encodeURIComponent(n+"["+o+"]"):encodeURIComponent(o),i+=e+"="+encodeURIComponent(t[o]));return i}function td__ajax(t){var e,o,n,i,r=t.url,s=t.dataToSend||"",a=t.ui||{isQuiet:!1,ctext:""},c=(a.ctext||(a.ctext=""),t.onSuccess),d=t.onError,l=t.onComplete,p=t.responseType||"text",t=t.method||"POST";if(r)return e=!1,"/page/publish/"===r||a.isQuiet||(showLoadIcon(),e=!0),o=Date.now(),(n=new XMLHttpRequest).open(t,r,!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),n.timeout="/page/publish/"===r?4e4:25e3,n.responseType=p,i=td__encodeData(s),n.addEventListener("loadend",function(){tc__checkServerError(this)?tc__drawServerError(this.responseText):200<=this.status&&this.status<400?(e&&hideLoadIcon(),"function"==typeof c&&c.call(this,"json"===p?this.response:this.responseText),"function"==typeof l&&l.call(this)):this.dispatchEvent(new Event("error"))}),n.addEventListener("timeout",function(){e&&hideLoadIcon();var t=Date.now()-o;logNetworkError("ajax",r,s,t/1e3,{}),a.isQuiet||("function"==typeof tc__showDialog?tc__showDialog({msg:"Request timeout ("+a.ctext+"). Please reload the page and try again."},"alert"):alert("Request timeout ("+a.ctext+"). Please reload the page and try again.")),"function"==typeof d&&d.call(this,"timeout"),"function"==typeof l&&l.call(this)}),n.addEventListener("abort",function(){e&&hideLoadIcon(),"function"==typeof d&&d.call(this,"abort"),"function"==typeof l&&l.call(this)}),n.addEventListener("error",function(){e&&hideLoadIcon();var t=Date.now()-o;console.log(this.status),400<=n.status?(a.isQuiet||td__showBubbleNotice("Error status: "+this.status+". (action: "+a.ctext+")",6e3,"error"),logAjaxError(r,s,"comm: "+s.comm+", (td__ajax)",n.status,{ts_delta:parseInt(t/1e3),exception:"error",ui:a})):0===n.status&&t<100&&!a.isQuiet&&("function"==typeof tc__showDialog?tc__showDialog({msg:"Request error ("+a.ctext+"). Please check your Internet connection and try again."},"alert"):alert("Request error ("+a.ctext+"). Please check your Internet connection and try again.")),"function"==typeof d&&d.call(this,"error"),"function"==typeof l&&l.call(this)}),i&&"POST"===t?n.send(i):n.send(),n}function tc__checkServerError(t){return 200===t.status&&!("string"!=typeof t.response||!t.response.startsWith("Error(TNL-
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M21.486 15.5751V21.574H3.55798V15.474L1 15.478V22.9771C1 23.6151 1.51801 24.1331 2.15601 24.1331H22.887C23.525 24.1331 24.043 23.6151 24.043 22.9771V15.5651L21.486 15.5751Z" fill="black"/>
<path d="M11.3802 15.401L9.13023 13.1161C8.92023 12.9061 8.64422 12.801 8.36922 12.801C8.09422 12.801 7.81823 12.9061 7.60823 13.1161C7.18723 13.5371 7.18723 14.2181 7.60823 14.6381L11.7212 18.786C12.1422 19.207 12.8232 19.207 13.2432 18.786L17.4352 14.6221C17.8562 14.2011 17.8562 13.52 17.4352 13.1C17.0142 12.68 16.3332 12.679 15.9132 13.1L13.5832 15.401L13.6222 4.10205C13.6222 3.49405 13.1292 3 12.5212 3C11.9132 3 11.4202 3.49305 11.4202 4.10205L11.3802 15.401Z" fill="black"/>
</svg>
`;case"api":return`
<svg width="29" height="28" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_126_3)">
<path d="M20.3209 19.2369L16.5819 12.6919C16.0699 12.8699 15.5209 12.9669 14.9489 12.9669C14.3209 12.9669 13.7199 12.85 13.1659 12.637L9.19295 19.7329L7.54395 18.36L11.3559 11.432C10.4959 10.536 9.96594 9.31991 9.96594 7.98291C9.96594 5.23491 12.2019 3 14.9489 3C17.6959 3 19.9319 5.23491 19.9319 7.98291C19.9319 9.38191 19.3529 10.648 18.4209 11.554L22.0839 17.959L20.3209 19.2369ZM14.9499 5.16589C13.3969 5.16589 12.1329 6.42991 12.1329 7.98291C12.1329 9.53591 13.3969 10.7999 14.9499 10.7999C16.5029 10.7999 17.7669 9.53591 17.7669 7.98291C17.7669 6.42991 16.5029 5.16589 14.9499 5.16589Z" fill="black"/>
<path d="M21.9909 17.9619C22.6189 17.6759 23.3159 17.516 24.0499 17.516C26.7979 17.516 29.0329 19.7509 29.0329 22.4989C29.0329 25.2469 26.7969 27.4819 24.0499 27.4819C22.0779 27.4819 20.3689 26.3299 19.5619 24.6639C19.2449 24.0089 19.0669 23.2739 19.0669 22.4989C19.0669 21.2879 19.5009 20.1759 20.2219 19.3119L21.9909 17.9619ZM24.0499 19.683C22.4969 19.683 21.2329 20.947 21.2329 22.5C21.2329 24.053 22.4969 25.3169 24.0499 25.3169C25.6029 25.3169 26.8669 24.053 26.8669 22.5C26.8669 20.947 25.6029 19.683 24.0499 19.683Z" fill="black"/>
<path d="M19.5621 24.532L9.47412 24.458L9.96712 22.2329H19.0671L19.5621 24.532Z" fill="black"/>
<path d="M8.959 19.4989C9.591 20.3339 9.966 21.374 9.966 22.5C9.966 23.273 9.789 24.0049 9.474 24.6589C8.668 26.3289 6.958 27.484 4.983 27.484C2.235 27.484 0 25.249 0 22.501C0 19.753 2.236 17.5179 4.983 17.5179C5.801 17.5179 6.574 17.7159 7.256 18.0669L8.959 19.4989ZM4.983 19.683C3.43 19.683 2.166 20.947 2.166 22.5C2.166 24.053 3.43 25.3169 4.983 25.3169C6.536 25.3169 7.8 24.053 7.8 22.5C7.8 20.947 6.536 19.683 4.983 19.683Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_126_3">
<rect width="29" height="28" fill="white"/>
</clipPath>
</defs>
</svg>
`;case"user":return`
<svg width="25" height="26" viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.9329 13.031C17.4389 12.227 19.0879 9.41993 19.0889 7.04993C19.0899 3.43693 16.1509 0.496972 12.5379 0.495972C8.92489 0.494972 5.98489 3.434 5.98389 7.047C5.98289 9.417 7.63289 12.2249 8.13789 13.0289C10.1649 16.2549 11.7649 16.407 12.5369 16.407C13.3089 16.407 14.9039 16.255 16.9329 13.031Z" fill="black"/>
<path d="M24.665 25.412C24.665 25.412 24.665 24.435 24.665 24.205C24.666 21.106 23.891 18.826 22.363 17.429C21.025 16.205 19.489 16.0229 18.693 16.0229C18.351 16.0229 18.124 16.0559 18.061 16.0649C17.767 16.1129 17.499 16.264 17.306 16.49C16.644 17.268 14.485 19.503 12.473 19.502C10.439 19.502 8.01705 17.227 7.25705 16.434C7.07005 16.238 6.82504 16.108 6.55804 16.063C6.49704 16.053 6.27104 16.0189 5.93404 16.0189C5.15404 16.0189 3.65305 16.2029 2.34605 17.4399C0.871046 18.8349 0.123047 21.11 0.123047 24.199C0.123047 24.428 0.123047 25.406 0.123047 25.406L24.665 25.412Z" fill="black"/>
</svg>
`;case"trash":return`
<svg width="20" height="26" viewBox="0 0 20 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.1358 5.99402V7.68298H0.361816V5.99402C0.361816 4.80402 2.23482 4.23499 3.31282 4.23499H6.27982V2.91492C6.27982 1.40592 7.50282 0.18396 9.01182 0.18396H10.4438C11.9528 0.18396 13.1758 1.40799 13.1758 2.91699V4.23596H16.1848C17.2628 4.23396 19.1358 4.80302 19.1358 5.99402ZM11.6548 2.45398H7.84282V4.20398H11.6548V2.45398Z" fill="black"/>
<path d="M16.218 25.725H3.28004L1.91504 9.43298H17.582L16.218 25.725ZM10.499 22.485V13.047C10.499 12.633 10.163 12.297 9.74904 12.297C9.33504 12.297 8.99904 12.633 8.99904 13.047V22.485C8.99904 22.899 9.33504 23.235 9.74904 23.235C10.163 23.235 10.499 22.899 10.499 22.485ZM14.356 22.532L15.171 13.13C15.207 12.718 14.901 12.354 14.489 12.318C14.076 12.282 13.713 12.588 13.677 13L12.862 22.402C12.826 22.815 13.132 23.178 13.544 23.214C13.956 23.25 14.32 22.945 14.356 22.532ZM5.96904 23.215C6.38204 23.179 6.68704 22.816 6.65104 22.403L5.83604 13.001C5.80004 12.589 5.43704 12.283 5.02404 12.319C4.61104 12.355 4.30604 12.718 4.34204 13.131L5.15704 22.533C5.19304 22.945 5.55704 23.25 5.96904 23.215Z" fill="black"/>
</svg>
`;case"settings":return`
<svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.3952 6.65393C11.3692 6.97893 11.3132 7.294 11.2292 7.599L12.0932 8.81091C11.9242 9.20591 11.7142 9.57903 11.4702 9.92603L9.96519 9.78198C9.74119 10.009 9.4962 10.214 9.2332 10.396L9.11119 11.9449C8.74519 12.1239 8.36019 12.2679 7.95819 12.3729L6.8622 11.2579C6.7052 11.2729 6.54619 11.281 6.38519 11.281C6.22419 11.281 6.0652 11.2729 5.9082 11.2579L4.81219 12.3729C4.41019 12.2679 4.02519 12.1239 3.65919 11.9449L3.5372 10.396C3.2742 10.215 3.02919 10.009 2.80519 9.78198L1.3002 9.92603C1.0562 9.57903 0.8472 9.20591 0.6772 8.81091L1.5412 7.599C1.4572 7.295 1.4002 6.97893 1.3752 6.65393L0.200195 5.84595C0.238195 5.38895 0.3242 4.94595 0.4552 4.52295L1.8092 4.17297C1.9432 3.87797 2.1052 3.59901 2.2912 3.33801L1.93221 2.04297C2.26021 1.70597 2.6252 1.40593 3.0222 1.14893L4.21519 1.71802C4.50519 1.57902 4.8102 1.46701 5.1272 1.38501L5.66721 0.200928C5.90221 0.173928 6.1412 0.158936 6.3842 0.158936C6.6272 0.158936 6.8652 0.173928 7.1012 0.200928L7.6412 1.38501C7.9582 1.46701 8.26319 1.57902 8.55319 1.71802L9.7462 1.14893C10.1432 1.40493 10.5092 1.70497 10.8362 2.04297L10.4772 3.33801C10.6632 3.59901 10.8252 3.87797 10.9592 4.17297L12.3132 4.52295C12.4442 4.94595 12.5302 5.38895 12.5682 5.84595L11.3952 6.65393ZM3.3942 6.26501C3.3942 7.91701 4.73319 9.25598 6.38519 9.25598C8.03719 9.25598 9.37621 7.91701 9.37621 6.26501C9.37621 4.61301 8.03719 3.27393 6.38519 3.27393C4.73319 3.27393 3.3942 4.61301 3.3942 6.26501Z" fill="black"/>
</svg>
`;case"code":return`
<svg width="31" height="27" viewBox="0 0 31 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M30.4598 1.44299V24.658C30.4598 25.64 29.6638 26.437 28.6808 26.437H2.32979C1.34679 26.437 0.550781 25.64 0.550781 24.658V1.44397C0.550781 0.918972 0.975793 0.49402 1.50079 0.49402H29.5098C30.0348 0.49302 30.4598 0.917995 30.4598 1.44299ZM2.66278 24.0759L28.1328 24.0449L28.1738 6.00293H2.66379L2.66278 24.0759Z" fill="black"/>
<path d="M11.3367 18.4669C11.1507 18.4669 10.9657 18.3959 10.8237 18.2539L8.56674 15.9969C8.28374 15.7139 8.28374 15.2539 8.56674 14.9709L10.8197 12.718C11.1027 12.435 11.5617 12.435 11.8457 12.718C12.1287 13.001 12.1287 13.46 11.8457 13.744L10.1057 15.485L11.8497 17.229C12.1327 17.512 12.1327 17.9709 11.8497 18.2539C11.7077 18.3959 11.5217 18.4669 11.3367 18.4669Z" fill="black"/>
<path d="M19.6775 18.4669C19.4915 18.4669 19.3055 18.3959 19.1645 18.2539C18.8815 17.9709 18.8815 17.512 19.1645 17.229L20.9055 15.4879L19.1605 13.744C18.8775 13.461 18.8775 13.002 19.1605 12.718C19.4435 12.435 19.9035 12.435 20.1865 12.718L22.4435 14.9749C22.5795 15.1109 22.6565 15.2949 22.6565 15.4879C22.6565 15.6799 22.5795 15.8649 22.4435 16.0009L20.1895 18.255C20.0485 18.396 19.8625 18.4669 19.6775 18.4669Z" fill="black"/>
<path d="M14.4659 20.1429C14.4069 20.1429 14.3459 20.1359 14.2859 20.1209C13.8979 20.0219 13.6639 19.627 13.7629 19.239L15.6059 12.0169C15.7049 11.6289 16.1019 11.3949 16.4879 11.4929C16.8769 11.5919 17.1109 11.987 17.0119 12.375L15.1679 19.5969C15.0849 19.9249 14.7899 20.1429 14.4659 20.1429Z" fill="black"/>
</svg>
`;case"copy":return`
<svg width="22" height="25" viewBox="0 0 22 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.2641 20.978H1.80715C0.991149 20.978 0.327148 20.3139 0.327148 19.4979V2.40295C0.327148 1.58795 0.991149 0.92395 1.80715 0.92395H16.2641C17.0801 0.92395 17.7441 1.58795 17.7441 2.40295V19.4979C17.7441 20.3139 17.0801 20.978 16.2641 20.978ZM2.82815 18.478H15.2441V3.42297H2.82815V18.478Z" fill="black"/>
<path d="M20.5601 24.985H6.01611C5.32611 24.985 4.76611 24.425 4.76611 23.735C4.76611 23.045 5.32611 22.485 6.01611 22.485H19.4531V6.40991C19.4531 5.71991 20.0131 5.15991 20.7031 5.15991C21.3931 5.15991 21.9531 5.71991 21.9531 6.40991V23.593C21.9531 24.36 21.3281 24.985 20.5601 24.985Z" fill="black"/>
</svg>
`;case"move":return`
<svg width="27" height="23" viewBox="0 0 27 23" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.1722 22.98H2.20217C1.38617 22.98 0.722168 22.316 0.722168 21.501V1.51392C0.722168 0.697916 1.38617 0.0339355 2.20217 0.0339355H17.1722C17.9882 0.0339355 18.6522 0.697916 18.6522 1.51392V6.00195C18.6522 6.69195 18.0922 7.25195 17.4022 7.25195C16.7122 7.25195 16.1522 6.69195 16.1522 6.00195V2.53296H3.22217V20.48H16.1522V17.158C16.1522 16.468 16.7122 15.908 17.4022 15.908C18.0922 15.908 18.6522 16.468 18.6522 17.158V21.501C18.6522 22.315 17.9882 22.98 17.1722 22.98Z" fill="black"/>
<path d="M23.3009 12.6469L21.0159 14.8969C20.8059 15.1069 20.7009 15.3829 20.7009 15.6579C20.7009 15.9329 20.8059 16.2089 21.0159 16.4189C21.4369 16.8399 22.1179 16.8399 22.5379 16.4189L26.6859 12.3059C27.1069 11.8849 27.1069 11.2039 26.6859 10.7839L22.5219 6.59187C22.1009 6.17087 21.4199 6.17087 20.9999 6.59187C20.5799 7.01287 20.5789 7.69397 20.9999 8.11397L23.3009 10.4439L11.0019 10.4049C10.3939 10.4049 9.8999 10.8979 9.8999 11.5059C9.8999 12.1139 10.3929 12.6069 11.0009 12.6069L23.3009 12.6469Z" fill="black"/>
</svg>
`}}function tc__loadFile(l,p,u){return new Promise((t,e)=>{var o="style"===p,n=o?"link":"script",i=o?"href":"src";let r;try{var{pathname:s,origin:a,href:c}=new URL(l,window.location.href);r=c.includes("tilda")?s:a+s}catch(t){r=l}c=document.querySelector(n+`[${i}*="${r}"]`);if(c)return"true"===c.getAttribute("data-loading")?(c.addEventListener("load",t),void c.addEventListener("error",e)):t();const d=document.createElement(n);d.setAttribute(i,l),o&&(a=u&&u.rel?u.rel:"stylesheet",d.setAttribute("rel",a)),d.setAttribute("data-loading","true"),d.addEventListener("load",()=>(d.removeAttribute("data-loading"),t())),d.addEventListener("error",()=>(document.head.removeChild(d),e())),document.head.appendChild(d)})}function tc__loadResource(t){var e=t.split(".").pop(),t=t+(window.ver?"?v="+window.ver:"");return"css"===e?tc__loadFile(t,"style"):"js"===e?tc__loadFile(t,"script"):Promise.reject("Unknown resource extension. Make sure the resource url ends with .css or .js")}function tc__clearPageAlias(t){if("string"!=typeof t)return"";let e=t;return e=(e=(e=(e=(e=e.toLowerCase()).replace(/[^a-z0-9_\-|\/]/g,"")).replace(/^\/+/g,"")).replace(/\/+$/g,"/")).replace(/\/{2,}/g,"/")}function tc__createMemoFunction(t,e,o){return o.has(t)?o.get(t):(e=e(t),o.set(t,e),e)}function tc__eventEmitter(){const o=[];return{on:t=>{o.push(t)},trigger:(...e)=>{o.forEach(t=>t(...e))},remove:t=>{for(var e;-1<(e=o.indexOf(t));)o.splice(e,1)}}}window.showLoadIcon=function(){var t=document.getElementById("loadicon");t||(document.body.insertAdjacentHTML("beforeend",'<div id="loadicon" class="spinner"></div>'),t=document.getElementById("loadicon")),t.style.display="block"},window.hideLoadIcon=function(){var t=document.getElementById("loadicon");t&&(t.style.display="none")},"function"==typeof window.jQuery&&(window.jQuery.cachedScript=function(t){return window.jQuery.ajax({dataType:"script",cache:!0,url:t})});const tc__scrollGuard__cache=new WeakMap;function tc__scrollGuard(t){var e;t instanceof HTMLElement&&(e=tc__createMemoFunction(t,a=>{const s=(t,e)=>{var o,n,i,r=[];let s=t;for(;a.contains(s);)o=s,n=e,i=void 0,(!!o&&!(o.classList.contains("quill-table__wrapper")||o.classList.contains("quill-formula-popup__input-viewarea")||o.classList.contains("quill-formula-popup__input")||o.classList.contains("pe-form-tabs-labels"))&&(o=window.getComputedStyle(o),i=["auto","scroll"].includes(o.overflowX),o=["auto","scroll"].includes(o.overflowY),i&&["horizontal","both"].includes(n)||o&&["vertical","both"].includes(n))||s===a)&&r.push(s),s=s.parentElement;return r},c=(t,e,o,n)=>{return["vertical","both"].includes(e)&&((i=t)&&0===i.scrollTop&&n<0||(i=t)&&Math.ceil(i.scrollTop+i.clientHeight)>=i.scrollHeight&&0<n)||["horizontal","both"].includes(e)&&((i=t)&&0===i.scrollLeft&&o<0||(n=t)&&Math.ceil(n.scrollLeft+n.clientWidth)>=n.scrollWidth&&0<o);var i};return t=>{var{deltaX:e,deltaY:o,target:n}=t;let i;i=Math.abs(e)>Math.abs(o)?"horizontal":Math.abs(e)<Math.abs(o)?"vertical":"both";for(const r of s(n,i)){if(c(r,i,e,o)){t.preventDefault();break}if(((t,e)=>{var{offsetHeight:t,scrollHeight:o,offsetWidth:n,scrollWidth:i}=t;return n<i&&["horizontal","both"].includes(e)||t<o&&["vertical","both"].includes(e)})(r,i))break}}},tc__scrollGuard__cache),t.removeEventListener("wheel",e,{passive:!1}),t.addEventListener("wheel",e,{passive:!1}))}function tc__getPreloaderMarkup(){return`
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<g fill="#c5c5c5">
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" />
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" transform="rotate(45 16 16)" />
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" transform="rotate(90 16 16)" />
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" transform="rotate(135 16 16)" />
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" transform="rotate(180 16 16)" />
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" transform="rotate(225 16 16)" />
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" transform="rotate(270 16 16)" />
<rect class="t-icon-loader-rect" x="14" width="4" height="11" rx="2" transform="rotate(315 16 16)" />
</g>
</svg>
`}function tc__isAbortError(t){return!!(t&&t instanceof Error)&&("AbortError"===t.name||20===t.code)}function tc__getUniqueId(){let t=(new Date).getTime().toString(16);t=t.substring(t.length-6);var e=Math.random().toString(16).substring(6);return""+t+e}function tc__copyTextToClipboard(t,e,o){if(t)return navigator.clipboard.writeText(t).then(()=>{e&&td__showBubbleNotice(e)}).catch(()=>{o&&td__showBubbleNotice(o,void 0,"error")})}async function td__fetch(e){let t=null;var o=e.showLoadIcon||showLoadIcon,n=e.hideLoadIcon||hideLoadIcon;try{return e.skipLoader||(e.preloaderDelay&&!e.silent?t=window.setTimeout(o,e.preloaderDelay):e.silent||o()),await tc__fetch(e.url,e.method||"POST",e.body,e.responseType||"text",e.timeout,e.controller,e.explanation)}catch(t){throw tc__isAbortError(t)||e.silent||tc__showDialog({msg:t},"alert"),t}finally{e.skipLoader||(t&&window.clearTimeout(t),e.silent)||n()}}async function tc__fetch(t,e,o,n,i,r,s){var a=Date.now();const c=r||new AbortController;r=setTimeout(()=>{c.abort(new DOMException("Operation timed out","TimeoutError"))},1e3*(i||25));let d;try{d=await fetch(t,{method:e||"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:"GET"===e?void 0:td__encodeData(o),signal:c.signal})}catch(t){if(tc__isAbortError(t))throw t;tc__throwFetchError(t,"",s)}finally{clearTimeout(r)}let l=await d.text();check_logout(l);i={status:d.status,response:l};if("/page/get/getpage/"===t&&"function"==typeof tc__checkServerError&&tc__checkServerError(i))tc__drawServerError(i.response);else{"99"!==window.$oplan&&void 0!==window.$oplan||"string"!=typeof l||"Wrong place"!==l.trim()||tc__throwFetchError("wrongplace");try{l="json"===n?JSON.parse(l):l}catch(t){tc__throwFetchError("parsing",d.status,s)}"json"===n&&l.error&&!l.error_code&&tc__throwFetchError("error",d.status,l.error);e=Date.now()-a;if(200<=d.status&&d.status<400)return l;400<=d.status&&(logAjaxError(t,o,`comm: ${o.comm}, (tc__fetch)`,d.status,{ts_delta:parseInt(e/1e3),exception:"error",ui:{ctext:s}}),tc__throwFetchError("server",d.status,s)),0===d.status&&e<100&&tc__throwFetchError("request",d.status,s)}}function tc__throwFetchError(t,e,o){var o={abort:`Request timeout (${o}). Please check your Internet connection and try again.`,parsing:`Parsing error (${o}). Please reload the page and try again.`,server:`Error status: ${e} (${o}). Please reload the page and try again.`,request:`Request error (${o}). Please reload the page and try again.`,wrongplace:"Wrong place",error:o},n=new Error;throw n.type=t,n.status=e,n.message=o[t]||o.request,n}function tc__initTooltip(e,o){var t=[`https://app.tildacdn.${tс__getRootZone()}/tfront/plugins/tooltip/t-tooltip.min.css`,`https://app.tildacdn.${tс__getRootZone()}/tfront/plugins/tooltip/t-tooltip.min.js`];return Promise.all(t.map(tc__loadResource)).then(()=>{var t=new window.Tooltip({...o,target:e});return e.tooltipInstance=t})}function tc__bunchInitTooltip(t){var e=[...t.querySelectorAll("[data-tooltip]")];t.hasAttribute("data-tooltip")&&e.push(t),e.forEach(t=>{var e=tc__parseTooltip(t.getAttribute("data-tooltip"));t.removeAttribute("data-tooltip"),tc__initTooltip(t,e)})}function tc__stringifyTooltip(t){const o=t=>t.replace(/"/g,"#quot;").replace(/'/g,"#apos;");return"string"==typeof t?o(t):JSON.stringify(t,(t,e)=>"string"==typeof e?o(e):e).replace(/"/g,"&quot;")}function tc__parseTooltip(e){if(!e)return{content:{title:""}};const o=t=>t.replace(/#quot;/g,'"').replace(/#apos;/g,"'");try{return JSON.parse(e.replace(/&quot;/g,'"'),(t,e)=>"string"==typeof e?o(e):e)}catch{let t;return e.startsWith("info:")&&(e=e.slice("info:".length),t="info"),{content:{["info"===t?"description":"title"]:o(e)},type:t}}}class TCDropdown{constructor(t){this.setProps(t),this.isOpen=!1,this.animationController=null,this.targetElement=null,this.nestedDropdowns=[],this.resizeObserver=new ResizeObserver(this.handleScroll.bind(this)),this.handleDocClick=this.handleDocClick.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.render()}setProps(t){t=t||{},this.props={items:Array.isArray(t.items)?t.items:[]
position:${e};
z-index:${o};
${H?`max-width:min(calc(100vw - 10px), ${H}px);`:""}
${i&&!c?`top:${i};`:""}
${r&&!c?`bottom:${r};`:""}
${s&&!c?`left:${s};`:""}
${a&&!c?`right:${a};`:""}
`;const O=n.some(t=>t&&t.icon),D={Ctrl:navigator.userAgent.includes("Mac")?"⌃":"Ctrl",Alt:navigator.userAgent.includes("Mac")?"⌥":"Alt",Shift:navigator.userAgent.includes("Mac")?"⇧":"Shift",ShortKey:navigator.userAgent.includes("Mac")?"⌘":"Ctrl",Meta:navigator.userAgent.includes("Mac")?"⌘":"⊞",Backspace:navigator.userAgent.includes("Mac")?"⌫":"Backspace",Plus:"+",Minus:"-"};var d=n.map(t=>{const{separator:e,title:o,icon:n,noIconSpace:i,invertIconOnHover:r,shortcut:s,innerButtons:a,onMouseEnter:c,onMouseEnterArgs:d,onMouseLeave:l,onMouseLeaveArgs:p,onClick:u,onClickArgs:h,closeOnClick:m,skip:_,className:w,link:g,noInvertIconOnDark:f,showInputOnClick:v,inputConfig:y,checkable:b,checked:C,nestedItems:L,nestedDropdownTop:x,uplabel:k,disabled:E}=t=t||{};if(_)return!1;if(k||e){const S=document.createElement("div");return S.classList.add(k?"tc-dropdown__uplabel":"tc-dropdown__separator"),e||(S.innerHTML=`
<div class="tc-dropdown__separator"></div>
<div class="tc-dropdown__uplabel-text">${k}</div>
`),S}t=Array.isArray(a)&&a.filter(({skip:t})=>!t).length;let T="button";e||t?T="div":g&&(T="a");const S=document.createElement(T);"button"===T&&(S.type="button");var A=["tc-dropdown__item","tc-dropdown__button"];if(w&&A.push(w),S.classList.add(...A),g&&(S.href=g),E&&(S.disabled=!0,S.classList.add("tc-dropdown__item_disabled"),S.tabIndex=-1),!o)return!1;b&&((A=document.createElement("span")).classList.add("tc-dropdown__item-check"),C&&A.classList.add("tc-dropdown__item-check_checked"),S.append(A)),O&&!i&&((A=document.createElement("span")).classList.add("tc-dropdown__item-icon"),n&&A.classList.add(n),r&&A.classList.add("tc-dropdown__item-icon_invert"),f&&A.classList.add("tc-dropdown__item-icon_no-invert"),S.append(A));var A=document.createElement("span");if(A.classList.add("tc-dropdown__item-title"),A.innerHTML=o,S.append(A),t&&(A=a.map(({showOnHover:t,icon:e,invertIconOnHover:o,onClick:n,onClickArgs:i,moveClickToItem:r,skip:s,showInputOnClick:a,inputConfig:c,closeOnClick:d,tooltip:l,noInvertIconOnDark:p})=>{return!s&&((s=document.createElement("button")).type="button",s.classList.add("tc-dropdown__button","tc-dropdown__item-inner-button"),t&&s.classList.add("tc-dropdown__item-inner-button_onhover"),(t=document.createElement("span")).classList.add("tc-dropdown__item-icon"),e&&t.classList.add(e),o&&t.classList.add("tc-dropdown__item-icon_invert"),p&&t.classList.add("tc-dropdown__item-icon_no-invert"),s.append(t),"function"==typeof n&&(s.addEventListener("click",t=>{t=Array.isArray(i)?i:[t];n(...t)}),r)&&S.addEventListener("click",t=>{t.target.closest(".tc-dropdown__item-inner-button, .tc-dropdown__item_input-mode")||(t=Array.isArray(i)?i:[t],n(...t))}),d&&s.addEventListener("click",t=>{t.target.closest(".tc-dropdown__item_input-mode")||this.close()}),a&&c&&(s.addEventListener("click",()=>{this.handleShowInput(c,S)}),r)&&S.addEventListener("click",t=>{t.target.closest(".tc-dropdown__item-inner-button, .tc-dropdown__item_input-mode")||this.handleShowInput(c,S)}),l&&tc__initTooltip(s,{content:{description:l},type:"info"}),s)}).filter(Boolean),(t=document.createElement("div")).classList.add("tc-dropdown__item-inner-container"),t.append(...A),S.append(t)),s&&(A=s.split("+").map(t=>{t in D&&(t=D[t]);var e=document.createElement("span");return e.classList.add("tc-shortcut","tc-dropdown__shortcut-key"),e.innerText=t,e}),(t=document.createElement("div")).classList.add("tc-dropdown__shortcut","tc-dropdown__item-inner-container"),t.append(...A),S.append(t)),Array.isArray(L)&&L.length){A=document.createElement("span");A.classList.add("tc-dropdown__item-arrow"),S.append(A),S.classList.add("tc-dropdown__item_has_nested");let t=null,e=null;let n=null;const I=()=>{t&&(window.clearTimeout(t),t=null),e||n.isOpen||(e=window.setTimeout(()=>{n.open(),e=null},200))},M=()=>{e&&(window.clearTimeout(e),e=null),t=window.setTimeout(()=>{n.close(),t=null},400)},q={items:L,theme:j,position:"absolute",appendTo:B,zIndex:1,maxWidth:H,excludeElementOnClick:S,onOpen:()=>{S.classList.add("tc-dropdown__item_active");var t=S.getBoundingClientRect(),e=S["offsetTop"],o=document.documentElement.clientWidth-(t.right+-3)-5-H,o=Math.min(o,0),t=t.left- -3-5-H,t=Math.min(t,0),e={right:null,left:null,top:x||e+"px"},t=(!o||t?(t=Math.abs(o)+-3,o=0<Math.sign(t)?"+":"-",e.left=`calc(100% ${o} ${Math.abs(t)}px)`):(o=0<Math.sign(-3)?"+":"-",e.right=`calc(100% ${o} ${Math.abs(-3)}px)`),n.setProps({...q,...e}),n.render(!0),n.dropdown);t.addEventListener("mouseenter",I),t.addEventListener("mouseleave",M)},onClose:t=>{S.classList.remove("tc-dropdown__item_active"),t&&this.close()}};n=new TPDropdown(q),this.nestedDropdowns.push(n),S.addEventListener("mouseenter",I),S.addEventListener("click",I),S.addEventListener("mouseleave",M)}return"function"==typeof c&&S.addEventListener("mouseenter",t=>{t=Array.isArray(d)?d:[t];c(...t)}),"function"==typeof l&&S.addEventListener("mouseleave",t=>{t=Array.isArray(p)?p:[t];l(...t)}),"function"==typeof u&&S.addEventListener("click",t=>{t=Array.isArray(h)?h:[t];u(...t)}),m&&S.addEventListener("click",t=>{t.target.closest(".tc-dropdown__item