"use strict";function getUrlVK(){if("com"==window.location.hostname.split(".").pop()){return"https://vk.com"}return"https://vk.ru"}async function getDataFromStorage(a,o){return new Promise((t,e)=>{my_ext.messages.sendToBG({type:"my_ext_get_param_from_storage",details:{pname:a,param:o}},e=>{t(e)})})}async function getAccess(a){return new Promise((t,e)=>{my_ext.messages.sendToBG({type:"my_ext_get_access",details:{access:a}},e=>{t(e)})})}async function getFromVK(i){return new Promise((t,e)=>{let a="h_"+Math.random();window.postMessage({type:"getFromVK",hash:a,str:i},"*");let o=function(e){if(e?.data?.type==="getFromVK_resp"&&e?.data?.hash===a){t(e.data.val);window.removeEventListener("message",o)}};window.addEventListener("message",o)})}function randomArray(i,e){const l=i.length;if(e>l){return i}let r={};let n=[];for(let o=0;o<e;++o){let e=Math.floor(Math.random()*(l-o));let t=e in r?r[e]:e;if(i[t]){n.push(i[t])}let a=l-o-1;r[e]=a in r?r[a]:a}return n}let storage={local:{getItem:async e=>{return(await chrome.storage.local.get([e]))[e]},setItem:async(e,t)=>{let a={};a[e]=t;return await chrome.storage.local.set(a)}}};var vkh_func={declOfNum:function(e,t){return t[e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2]},debounce:function(a,o){var i,l,r,n;return function(){r=this;l=[].slice.call(arguments,0);n=new Date;var t=function(){var e=new Date-n;if(e<o){i=setTimeout(t,o-e)}else{i=null;a.apply(r,l)}};if(!i){i=setTimeout(t,o)}}},alert:function(){let e,t;if(arguments.length==1){e="Уведомление";t=arguments[0]}else{e=arguments[0];t=arguments[1]}MBox.create({title:e,content:t,btns:[{close:true,html:"Назад"}]})},confirm:function(a){return new Promise((t,e)=>{MBox.create({title:"Подтвердите действие",content:a,onClose:()=>{t(false)},btns:[{close:true,html:"Отмена"},{primary:true,html:"Продолжить",click:e=>{t(true);e.close()}}]})})},prompt:function(i,l){return new Promise((t,e)=>{let a=ce("div",{innerHTML:`
					<div data-content style="margin-bottom: 10px;"></div>
					<input type="text" class="dark" style="width: 100%;">
				`});a.querySelector(`div[data-content]`).innerText=i;let o=a.querySelector(`input[type="text"]`);o.value=l||"";MBox.create({title:"Требуется ввод данных...",content:a,onClose:()=>{t(null)},btns:[{close:true,html:"Отмена"},{primary:true,html:"Продолжить",click:e=>{t(o.value);e.close()}}]});o.focus();o.select()})}};setTimeout(()=>{jQuery("<style>").attr("id","my_ext_style___mbox").text(`

		:root {
			--expert--vkui--color_background_light: #fafbfc;
			--expert--vkui--color_text_primary: #000000;
			--expert--vkui--color_separator_primary: #dce1e6;
			--expert--vkui--color_icon_contrast: #ffffff;
			--expert--vkui--color_background_modal: #ffffff;

			--expert--vkui--color_text_contrast_themed: #ffffff;
			--expert--vkui--color_background_accent_themed: #447bba;
			--expert--vkui--color_text_contrast_themed--hover: #f5f5f7;
			--expert--vkui--color_background_accent_themed--hover: #4177b5;
			--expert--vkui--color_text_accent_themed: #3770b1;
			--expert--vkui--color_transparent: transparent;
			--expert--vkui--color_text_accent_themed--hover: #356cac;
			--expert--vkui--color_transparent--hover: rgba(0, 16, 61, 0.04);

			--expert--vkui--color_text_muted: #333333;

			
		}
		[scheme=vkcom_dark], .vkui--vkBase--dark, .vkui--vkCom--dark {
			--expert--vkui--color_background_light: #292929;
			--expert--vkui--color_text_primary: #e1e3e6;
			--expert--vkui--color_separator_primary: #363738;
			--expert--vkui--color_icon_contrast: ##e1e3e6;
			--expert--vkui--color_background_modal: #292929;

			--expert--vkui--color_text_contrast_themed: #222222;
			--expert--vkui--color_background_accent_themed: #e1e3e6;
			--expert--vkui--color_text_contrast_themed--hover: #2b2b2b;
			--expert--vkui--color_background_accent_themed--hover: #d8dbdf;
			--expert--vkui--color_text_accent_themed: #e1e3e6;
			--expert--vkui--color_transparent: transparent;
			--expert--vkui--color_text_accent_themed--hover: #e2e4e7;
			--expert--vkui--color_transparent--hover: rgba(255, 255, 255, 0.04);

			--expert--vkui--color_text_muted: #cccccc;
		}
		
		#mbox_wrap {
			z-index: 999;
		    background: #000000bf;
			position: fixed;
			left: 0;
			right: 0;
			top: 0;
			bottom: 0;
			width: 100%;
			height: 100%;
			overflow: auto;
		}
		.mbox_modal {
			height: auto;
			display: none;
			margin: 0 auto;
			z-index: 1000;
			box-shadow: 0 2px 10px rgb(0 0 0 / 40%);
			outline: 0;
			border-radius: 12px;
			margin-bottom: 80px;
		}
		.mbox_modal.mbox_show {
			display: block;
		}
		.mbox_title {
		    position: relative;
			padding: 0;
			background-color: var(--expert--vkui--color_background_light);
    		color: var(--expert--vkui--color_text_primary);
    		border-bottom: 1px solid var(--expert--vkui--color_separator_primary);
			border-radius: 12px 12px 0 0;
		}
		@keyframes mbox-spinner-intro {
			0% {
				opacity: 0
			}

			to {
				opacity: 1
			}
		}
		#mbox_loader {
			position: fixed;
			left: 50%;
			margin: 0 auto 0 -50px;
			z-index: 1000;
			width: 100px;
		}
		#mbox_loader > div {
			box-shadow: unset;
			color: #ffffff;
			background: rgba(0, 0, 0, 0.60);
			
			animation: mbox-spinner-intro .3s ease;
			border-radius: 8px;
			height: 88px;
			position: relative;
			width: 88px;
		}
		#mbox_loader span {
		    color: #ffffff;
			opacity: 1;
			transition: opacity .1s ease;
			align-items: center;
			display: flex;
			height: 100%;
			justify-content: center;
			width: 100%;
		}
		#mbox_wrap .mbox_x_button {
		    float: right;
			padding: 13px;
			color: var(--expert--vkui--color_icon_contrast);
			cursor: pointer;
			outline: 0;
			border-radius: 50%;
			position: absolute;
			top: 0;
			right: -56px;
		}
		#mbox_wrap .mbox_x_button::before {
			content: "";
			position: absolute;
			transform: translate(-50%);
			left: 50%;
			top: 9px;
			border-radius: 50%;
			width: 28px;
			height: 28px;
			background: rgba(0, 0, 0, 0.40);
		}
		.mbox_title_text {
		    padding-left: 25px;
			font-size: 14px;
			color: var(--expert--vkui--color_text_primary);
			height: 54px;
			line-height: 54px;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.mbox_body {
			--online-badge-background: var(--expert--vkui--color_background_modal);
			padding: 20px 25px;
			background-color: var(--expert--vkui--color_background_modal);
			line-height: 19px;
		}
		.mbox_modal.mbox_footer_hide .mbox_body {
			border-radius: 0 0 12px 12px;
		}
		.mbox_modal.mbox_footer_hide .mbox_footer {
			display: none;
		}
		.mbox_footer {
			padding: 14px 23px 14px 25px;
			min-height: 32px;
			background-color: var(--expert--vkui--color_background_light);
			border-radius: 0 0 12px 12px;
			border-top: 1px solid var(--expert--vkui--color_separator_primary);
			white-space: nowrap;
		}

		.mbox_modal.mbox_footer_sticky .mbox_footer {
			position: sticky;
    		bottom: 0px;
		}
		.mbox_footer .mbox_footer_btns {
			float: right;
			display: flex;
		}
		.mbox_footer .mbox_footer_text {
			padding: 7px 0;
		}

		.mbox_footer_btns > button {
			height: 32px;
			padding: 0 16px;
			font-weight: 500;
			font-size: 14px;
			font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Geneva, "Noto Sans Armenian", "Noto Sans Bengali", "Noto Sans Cherokee", "Noto Sans Devanagari", "Noto Sans Ethiopic", "Noto Sans Georgian", "Noto Sans Hebrew", "Noto Sans Kannada", "Noto Sans Khmer", "Noto Sans Lao", "Noto Sans Osmanya", "Noto Sans Tamil", "Noto Sans Telugu", "Noto Sans Thai", arial, Tahoma, verdana, sans-serif;
			--icon-weight-margin: -4px;
			-moz-appearance: none;
			appearance: none;
			border: 0;
			margin: 0;
			background: 0 0;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			display: inline-block;
			vertical-align: middle;
			cursor: pointer;
			border-radius: 8px;
	    	transition: background-color .15s ease-out, color .15s ease-out, opacity .15s ease-out;
		}

		.mbox_footer_btns > button:hover, .mbox_footer_btns > button:focus {
			text-decoration: none;
		}

		.mbox_footer_btns > button.mbox_footer_btn_primary { 
			color: var(--expert--vkui--color_text_contrast_themed);
    		background-color: var(--expert--vkui--color_background_accent_themed);
		}
		.mbox_footer_btn_primary:not(.disable):hover {
			color: var(--expert--vkui--color_text_contrast_themed--hover);
			background-color: var(--expert--vkui--color_background_accent_themed--hover);
			opacity: 1;
		}

		.mbox_footer_btns > button.mbox_footer_btn_light { 
			color: var(--expert--vkui--color_text_accent_themed);
    		background-color: var(--expert--vkui--color_transparent);
		}
		.mbox_footer_btn_light:not(.disable):hover {
			color: var(--expert--vkui--color_text_accent_themed--hover);
    		background-color: var(--expert--vkui--color_transparent--hover);
		}

		.mbox_footer_btns button + button {
			margin-left: 10px;
		}

		.mbox_footer_btns > button > .mbox_footer_btn_in {
			display: flex;
			align-items: center;
			justify-content: center;
			height: inherit;
		}

		.mbox_footer_btns > button > .mbox_footer_btn_in > .mbox_footer_btn_content {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			margin-bottom: 1px;
		}

		.mbox_footer_btns > button > .mbox_footer_btn_spinner {
			display: none;
			position: absolute;
			top: 50%;
			left: 50%;
			margin: -8px;
			animation: rotate360 0.7s linear infinite;
			transform-origin: center;
		}

		.mbox_footer_btns > button.mbox_footer_btn_locked {
			position: relative;
			pointer-events: none;
		}
		
		.mbox_footer_btns > button.mbox_footer_btn_locked > .mbox_footer_btn_spinner {
			display: block;
		}

		.mbox_footer_btns > button.mbox_footer_btn_locked > .mbox_footer_btn_in {
			opacity: 0;
		}

		h4.VKH_subheader,
		h4.VKH_subheader_border {
			padding-top: 10px;
			color: var(--expert--vkui--color_text_muted);
			font-weight: 500;
			-webkit-font-smoothing: subpixel-antialiased;
			-moz-osx-font-smoothing: auto;
			margin: 18px 0 12px;
			border-bottom: none;
			font-size: inherit;
		}
		h4.VKH_subheader_border {
			border-top: solid 1px #e4e6e9; 
		}

		#mbox_wrap .hide {
			display: none;
		}
	`).appendTo("head")},10);let MBox=(()=>{let l={};l.closeActive=()=>{let e=ge("#mbox_wrap div.mbox_modal.mbox_show");if(!e){return}e.querySelector("div.mbox_x_button").click()};l.updatePosition=()=>{let e=ge("#mbox_wrap div.mbox_container.mbox_show");if(!e){return}let t=Math.max(10,(window.innerHeight-e.scrollHeight-80)/2);e.style.marginTop=t+"px"};l.afterRemoveDiv=()=>{if(!ge("#mbox_wrap > div.mbox_container")){geById("mbox_wrap").remove();document.body.style.overflow="auto";return}if(ge("#mbox_wrap div.mbox_container.mbox_show")){l.updatePosition();return}let e=Array.from(geAll("#mbox_wrap div.mbox_container")).at(-1);if(e){addClass(e,"mbox_show");l.updatePosition()}};l.create_mbox=()=>{if(geById("mbox_wrap")){return}let a=ce("div",{id:"mbox_wrap",onclick:function(e){if(e.target!=a){return}e.stopPropagation();let t=ge("#mbox_wrap div.mbox_modal.mbox_show");if(t){t.querySelector("div.mbox_x_button").click()}}});document.body.append(a);document.body.style.overflow="hidden"};l.create=t=>{l.create_mbox();let a=ce("div",{className:"mbox_container mbox_modal mbox_show "+(t.containerClass||"")+" "+(true===t.footer_sticky?"mbox_footer_sticky":""),style:{width:(t.width||450)+"px"},innerHTML:`	
				<div class="mbox_title">
					<div class="mbox_x_button">
						<svg fill="none" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4.72 4.72c.3-.3.77-.3 1.06 0L10 8.94l4.22-4.22a.75.75 0 1 1 1.06 1.06L11.06 10l4.22 4.22a.75.75 0 1 1-1.06 1.06L10 11.06l-4.22 4.22a.75.75 0 0 1-1.06-1.06L8.94 10 4.72 5.78a.75.75 0 0 1 0-1.06z" fill="currentColor" fill-rule="evenodd"></path></svg>
					</div>
					<div class="mbox_title_text">${t.title||""}</div>
				</div>
				<div class="mbox_body" style="${t.bodyStyle||""}"></div>
				<div class="mbox_footer">
					<div class="mbox_footer_btns"></div>
					<div class="mbox_footer_text"></div>
				</div>
			`});let o={node:a,setFooterContent:e=>{removeClass(a,"mbox_footer_hide");if("function"===typeof e){e=e()}if("string"===typeof e){a.querySelector("div.mbox_footer_text").innerHTML=e}else if(e instanceof Node){a.querySelector("div.mbox_footer_text").append(e)}},addButtons:e=>{e.forEach(e=>{let t=ce("button",{name:e.name||"",className:e.primary?"mbox_footer_btn_primary":"mbox_footer_btn_light",innerHTML:`
							<span class="mbox_footer_btn_in">
								<span class="mbox_footer_btn_content"></span>
							</span>
							<span class="mbox_footer_btn_spinner">
								<svg style="display: block;" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 3.25a4.75 4.75 0 0 0-4.15 7.07.75.75 0 1 1-1.3.73A6.25 6.25 0 1 1 8 14.25a.75.75 0 0 1 0-1.5 4.75 4.75 0 1 0 0-9.5Z" clip-rule="evenodd"></path></svg>
							</span>
						`});t.querySelector(".mbox_footer_btn_content").innerHTML=e.html||"";if(e.close){t.onclick=()=>{a.querySelector("div.mbox_x_button").click()}}else if(e.click){t.onclick=()=>{e.click({close:o.close,lockButton:function(){if(1===arguments.length){o.lockButton(arguments[0]);return}o.lockButton(t)},unlockButton:function(){if(1===arguments.length){o.unlockButton(arguments[0]);return}o.unlockButton(t)}})}}a.querySelector("div.mbox_footer_btns").append(t)})},removeButtons:()=>{a.querySelector("div.mbox_footer_btns").innerHTML=""},close:()=>{a.querySelector("div.mbox_x_button").click()},lockButton:e=>{if("string"===typeof e){e=a.querySelector('div.mbox_footer_btns button[name="'+e+'"]');if(!e){return}}addClass(e,"mbox_footer_btn_locked")},unlockButton:e=>{if("string"===typeof e){e=a.querySelector('div.mbox_footer_btns button[name="'+e+'"]');if(!e){return}}removeClass(e,"mbox_footer_btn_locked")},editContentButton:(e,t)=>{if("string"===typeof e){e=a.querySelector('div.mbox_footer_btns button[name="'+e+'"]');if(!e){return}}e.innerText=t}};if(t.content){if("function"===typeof t.content){t.content=t.content()}if("string"===typeof t.content){a.querySelector("div.mbox_body").innerHTML=t.content}else if(t.content instanceof Node){a.querySelector("div.mbox_body").append(t.content)}}if(!t.footer_html&&(!t.btns||!t.btns.length)){addClass(a,"mbox_footer_hide")}else{if(t.footer_html){o.setFooterContent(t.footer_html)}if(t.btns&&t.btns.length){o.addButtons(t.btns)}}a.querySelector("div.mbox_x_button").onclick=function(e){if(t.onCloseAttempt&&true!==t.onCloseAttempt()){return}if(t.onClose){t.onClose()}a.remove();l.afterRemoveDiv()};let i=geById("mbox_wrap");if(!i){return}i.querySelectorAll("div.mbox_container.mbox_show").forEach(e=>{removeClass(e,"mbox_show")});i.append(a);a.querySelectorAll("[data-vkh_tooltip]").forEach(e=>{let t=JSON.parse(e.dataset.vkh_tooltip);t.opts=t.opts||{};t.opts.parent=a;t.opts.parent_scroll=i;VKH_Tooltip.create(e,t.content,t.opts)});l.updatePosition();return o};l.loader={};l.loader.show=()=>{if(geById("mbox_loader")){return}l.create_mbox();let e=ce("div",{id:"mbox_loader",className:"mbox_container mbox_show",innerHTML:`
				<div>
					<span>
						<svg width="44px" height="44px" viewBox="0 0 44 44" xmlns="[http://www.w3.org/2000/svg](http://www.w3.org/2000/svg)">
							<circle cx="22" cy="22" r="20" fill="none" stroke="white" stroke-width="4" stroke-dasharray="31.416 94.248" stroke-linecap="round">
								<animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 22 22" to="360 22 22" dur="1s" repeatCount="indefinite"></animateTransform>
							</circle>
						</svg>
					</span>
				</div>
			`});let t=geById("mbox_wrap");if(!t){return}t.querySelectorAll("div.mbox_container.mbox_show").forEach(e=>{removeClass(e,"mbox_show")});t.append(e);l.updatePosition()};l.loader.hide=()=>{let e=geById("mbox_loader");if(!e){return}e.remove();l.afterRemoveDiv()};return l})();setTimeout(()=>{jQuery("<style>").attr("id","my_ext_style___tooltip").text(`

			div.VKH_tooltip_main {
				width: auto;
				z-index: 1501;
				cursor: default;
				font-size: 12.5px;
				color: var(--expert--vkui--color_text_primary);
				border-radius: 2px;
				box-shadow: 0 1px 3px rgba(0, 0, 0, 0.00);
				font-weight: 400;
				-webkit-font-smoothing: subpixel-antialiased;
				-moz-osx-font-smoothing: auto;
				border: 1px solid var(--expert--vkui--color_separator_primary);
				background: var(--expert--vkui--color_background_modal);
				position: fixed;
				pointer-events: auto;
			}

			div.VKH_tooltip_main.VKH_tooltip_menu > div {
				padding: 0;
			}
			div.VKH_tooltip_menu_item {
				padding: 6px 12px;
				cursor: pointer;
			}
			div.VKH_tooltip_menu_item:hover {
				background: var(--expert--vkui--color_transparent--hover);
			}

			div.VKH_tooltip_main[data-mode="black"] {
				background: rgba(0, 0, 0, 0.72);
				border: 0;
				border-radius: 3px;
			}
			div.VKH_tooltip_main[data-mode="black"] > div { 
				overflow: hidden;
				word-wrap: break-word;
				color: #ffffff;
				font-size: 1em;
				padding: 4px 7px 5px;
				line-height: 1.154;
				white-space: nowrap;
			}
			div.VKH_tooltip_main::before {
				margin: 0 -6px;
				position: absolute;
				content: "";
				border: solid transparent;
				border-width: 6px;
			}
			div.VKH_tooltip_main::after {
				margin: 0 -5px;
				position: absolute;
				content: "";
				border: solid transparent;
				border-width: 5px;
			}


			div.VKH_tooltip_main[data-pos="top"]::before {
				border-top-color: var(--expert--vkui--color_separator_primary);
				left: 30px;
				top: 100%;
			}
			div.VKH_tooltip_main[data-pos="top"]::after {
				border-top-color: var(--expert--vkui--color_background_modal);
				left: 30px;
				top: 100%;
				transform: translate3d(0, -.5px, 0);
			}

			div.VKH_tooltip_main[data-pos="down"]::before {
				border-bottom-color: var(--expert--vkui--color_separator_primary);
				left: 30px;
				top: -12px;
			}
			div.VKH_tooltip_main[data-pos="down"]::after {
				border-bottom-color: var(--expert--vkui--color_background_modal);
				left: 30px;
				top: -10px;
				transform: translate3d(0, .5px, 0);
			}

			div.VKH_tooltip_main[data-pos="left"]::before {
				border-left-color: var(--expert--vkui--color_separator_primary);
				right: -6px;
				top: calc(100% / 2 - 6px );
			}
			div.VKH_tooltip_main[data-pos="left"]::after {
				border-left-color: var(--expert--vkui--color_background_modal);
				right: -4px;
				top: calc(100% / 2 - 6px );
				transform: translate3d(0, 1px, 0);
			}

			div.VKH_tooltip_main[data-pos="right"]::before {
				border-right-color: var(--expert--vkui--color_separator_primary);
				left: -6px;
				top: calc(100% / 2 - 6px );
			}
			div.VKH_tooltip_main[data-pos="right"]::after {
				border-right-color: var(--expert--vkui--color_background_modal);
				left: -4px;
				top: calc(100% / 2 - 6px );
				transform: translate3d(0, 1px, 0);
			}

			div.VKH_tooltip_main[data-mode="black"]::after {
				border-top-color: rgba(0, 0, 0, 0.72);
				transform: unset;
			}
			div.VKH_tooltip_main[data-mode="black"]::before {
				border-color: #00000000;
			}

			div.VKH_tooltip_main > div {
				overflow: hidden;
				word-wrap: break-word;
				padding: 12px 14px 13px;
				line-height: 17px;
			}

			div.VKH_tooltip_main small {
				color: gray;
				font-size: .8em;
			}
			div.VKH_tooltip_main ul {
				list-style: circle;
				padding: 0 0 0 20px;
				margin: 0;
			}
			div.VKH_tooltip_main li {
			}
		`).appendTo("head")},10);let VKH_Tooltip=(()=>{let e={};e.closeAll=()=>{geAll("div.VKH_tooltip_main").forEach(e=>{e.dispatchEvent(new Event("close"))})};e.create=(o,a,i)=>{i=i||{};i.type=i.type||"hover_icon";if(!i.parent){let e=o.closest("#mbox_wrap");if(e){i.parent=e}else{i.parent=document.body}}if(i.parent_scroll&&"string"===typeof i.parent_scroll){i.parent_scroll=ge(i.parent_scroll)}if(!i.parent_scroll){i.parent_scroll=i.parent}let l=()=>{if(d){t()}};let r=()=>{if(!s||!s.parentNode){document.removeEventListener("scroll",r);return}m(0)};let n=function(e){if(!s||!s.parentNode){document.removeEventListener("click",n);return}let t=e.target;while(true){if(t===s){return}if(!t.parentNode){break}t=t.parentNode}m(1)};let e=()=>{let e="function"===typeof a?a(o):a;let t=s.querySelector("div");t.innerText="";if("string"===typeof e){t.innerHTML=e;return}t.append(e)};let t=()=>{let e=c();let t=o.getBoundingClientRect();let a=e.getBoundingClientRect();if("left"===i.position){e.dataset.pos="left";e.style.top=t.top+t.height/2-a.height/2+"px";e.style.left=t.left-a.width-13+"px"}else if("right"===i.position){e.dataset.pos="right";e.style.top=t.top+t.height/2-a.height/2+"px";e.style.left=t.right+13+"px"}else{if(t.top-a.height-12>10){e.dataset.pos="top";e.style.top=t.top-a.height-13-(i.margin_vertical||0)+"px";e.style.left=t.left-15+(i.left||0)+"px"}else{e.dataset.pos="down";e.style.top=t.bottom+13+(i.margin_vertical||0)+"px";e.style.left=t.left-15+(i.left||0)+"px"}}};o.addEventListener("reload",function(){e();t()});let s=false;let c=()=>{if(s){return s}s=ce("div",{innerHTML:"<div></div>",className:`VKH_tooltip_main ${i["class"]||""}`,style:{width:i.width?i.width+"px":"auto"},dataset:{mode:i.mode||"full"}});s.addEventListener("close",function(){m(0)});e();i.parent.append(s);if("hover"==i.type){s.addEventListener("mouseenter",function(e){e.stopPropagation();p(0)});s.addEventListener("mouseleave",function(e){e.stopPropagation();u=setTimeout(()=>{m(0)},undefined===i.sleep?500:i.sleep)})}if("click"==i.type){document.addEventListener("click",n)}if(i.parent_scroll){i.parent_scroll.addEventListener("scroll",l)}else{document.addEventListener("scroll",r)}return s};let _=false;let d=false;let u=false;let m=a=>{if(u){clearTimeout(u);u=false}if(!d){return}d=false;let o=(e,t)=>{if(!s){return}t=t||1;if(t>e){if("click"==i.type){document.removeEventListener("click",n)}if(i.parent_scroll){i.parent_scroll.removeEventListener("scroll",l)}else{document.removeEventListener("scroll",r)}s.remove();s=false;return}if(_){clearTimeout(_)}s.style.opacity=1-t/e;_=setTimeout(()=>{if(d){return}o(e,++t)},a)};o(5)};let p=a=>{if(u){clearTimeout(u);u=false}if(d){return}d=true;let o=c();o.style.opacity=0;t();let i=(e,t)=>{t=t||1;if(t>e){return}if(_){clearTimeout(_)}o.style.opacity=t/e;_=setTimeout(()=>{if(!d){return}i(e,++t)},a)};i(5)};if("hover_icon"==i.type){o.addEventListener("mouseenter",function(e){e.stopPropagation();p(4)});o.addEventListener("mouseleave",function(e){e.stopPropagation();m(4)})}if("hover"==i.type){o.addEventListener("mouseenter",function(e){e.stopPropagation();p(0)});o.addEventListener("mouseleave",function(e){e.stopPropagation();u=setTimeout(()=>{m(0)},undefined===i.sleep?300:i.sleep)})}if("click"==i.type){o.addEventListener("click",function(e){e.stopPropagation();if(d){m(0);return}VKH_Tooltip.closeAll();p(0)})}return{reload:()=>{e()}}};e.reload=e=>{e.dispatchEvent(new Event("reload"))};return e})();setTimeout(()=>{jQuery("<style>").attr("id","my_ext_style___selector").text(`

		:root {
			--expert--vkui--color_field_border_alpha: rgba(0, 0, 0, 0.12);
			--expert--vkui--color_field_background: #ffffff;
			--expert--vkui--color_background_modal: #ffffff;
			--expert--vkui--vkontakte_background_hover_alpha: rgba(174, 183, 194, 0.12);
		}
		[scheme=vkcom_dark], .vkui--vkBase--dark, .vkui--vkCom--dark {
			--expert--vkui--color_field_border_alpha: rgba(255, 255, 255, 0.12);
			--expert--vkui--color_field_background: #292929;
			--expert--vkui--color_background_modal: #292929;
			--expert--vkui--vkontakte_background_hover_alpha: rgba(255, 255, 255, 0.08);
		}

		.vkh_selector_container {
		    position: relative;
			user-select: none;
		}

		.vkh_selector_container[data-open="top"] .vkh_selector_items {
			bottom: calc(100% - 1px);
		}
		.vkh_selector_container[data-open="down"] .vkh_selector_items {
		    margin-top: -1px;
		}

		.vkh_selector_items {
			display:none;
		}
		.vkh_selector_container[data-open] .vkh_selector_items {
			display: block;
		}

		.vkh_selector {
			position: relative;
			border-radius: 8px;
			padding: 5px 0 5px 8px;
			border: 1px solid var(--expert--vkui--color_field_border_alpha);
			background-color: var(--expert--vkui--color_field_background);
			margin: 0;
		}
		.vkh_selector_input {
			cursor: default;
			text-overflow: ellipsis;
			overflow: hidden;
			white-space: nowrap;
			width: calc(100% - 20px);
		}
		.vkh_selector_dropdown {
			position: absolute;
			background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAOCAYAAAArMezNAAAAlUlEQVR4AbTMgQZCUQwG4APV4wYEcIN6jaAHuONstvsMB+CABPQORVFrJBLjV+M3289X/jqttdnPrbHqhtjOI+uu9z5HQZHDgqrtifXi3lD8ODl+f4aqEoIHyiZvx46FZFrFA8Q/0TB4WkbpxRbBv6O2fvUJjqEAnqMAnqMQnqEwnqA4nqAAnqI4Pjh48331PFZJjB4AxMpYDjkaXOkAAAAASUVORK5CYII=);
			background-size: 11px 7px;
			width: 27px;
			height: 100%;
			right: 0;
			top: 0;
			bottom: 0;
			background-repeat: no-repeat;
			background-position: center;
			cursor: pointer;
		}

		.vkh_selector_items {
		    overflow: auto;
		    width: 100%;
			max-height: 250px;
			border-radius: 8px;
			position: absolute;
			left: 0;
			border: 1px solid var(--expert--vkui--color_field_border_alpha);
			z-index: 100;
			box-sizing: border-box;

			margin: 0;
			padding: 0;
			background: var(--expert--vkui--color_background_modal);
		}
		.vkh_selector_items > div {
		    padding: 6px 0 8px 9px;
			color: var(--expert--vkui--color_text_primary);
			list-style-type: none;
			cursor: pointer;
			position: relative;
			overflow: hidden;
			text-align: left;
			line-height: 16px;
		}
		.vkh_selector_items > div.active {
			background: var(--expert--vkui--vkontakte_background_hover_alpha);
		}
	
	`).appendTo("head")},10);let VKH_selector=(()=>{let c={};c.create=(o,e,i)=>{if("string"===typeof o){o=geById(o);if(!o){return}}i=i||{};let l=function(e){e.stopPropagation();r()};let r=()=>{delete o.dataset.open;document.removeEventListener("mouseup",l)};let t=()=>{let e=s.querySelector("div.active");if(e){removeClass(e,"active")}if(undefined!==n.dataset.key){e=s.querySelector(`div[data-key="${n.dataset.key}"]`);if(e){addClass(e,"active")}}o.dataset.open="1";let t=n.getBoundingClientRect();let a=s.getBoundingClientRect();o.dataset.open=t.top-a.height>10?"top":"down";e=s.querySelector("div.active");if(e){e.scrollIntoView({block:"nearest",inline:"nearest"})}document.addEventListener("mouseup",l)};let n=ce("div",{className:"vkh_selector",innerHTML:`
				<div class="vkh_selector_input">---</div>
				<div class="vkh_selector_dropdown"></div>
			`,onmouseup:function(e){e.stopPropagation();if(o.dataset.open){r();return}t()}});let s=ce("div",{className:"vkh_selector_items"});each(e,(e,t)=>{let a=ce("div",{dataset:{key:t[0]},onmouseover:function(){let e=s.querySelector("div.active");if(e){removeClass(e,"active")}addClass(this,"active")},onmouseup:function(e){if(e){e.stopPropagation()}r();n.dataset.key=t[0];if(t[1]instanceof HTMLElement){n.querySelector(".vkh_selector_input").innerText="";n.querySelector(".vkh_selector_input").append(t[1].cloneNode(true))}else{n.querySelector(".vkh_selector_input").innerText=t[1]}if(i.onChange){i.onChange(t[0])}}});if(t[1]instanceof HTMLElement){a.append(t[1].cloneNode(true))}else{a.innerText=t[1]}s.append(a)});addClass(o,"vkh_selector_container");o.innerHTML="";o.append(n);o.append(s);c.setItem(o,undefined!==i.selectItem&&false!==i.selectItem?i.selectItem:e?.[0]?.[0]);let a=function(){r();o.innerHTML="";removeClass(o,"vkh_selector_container");o.removeEventListener("destroy",a)};o.addEventListener("destroy",a)};c.getItem=e=>{if("string"===typeof e){e=geById(e);if(!e){return}}let t=e.querySelector("div.vkh_selector");return t?t.dataset.key:false};c.setItem=(e,t)=>{let a=e.querySelector(`div.vkh_selector_items > div[data-key="${t}"]`);if(a){a.onmouseup()}};c.destroy=e=>{e.dispatchEvent(new Event("destroy"))};return c})();setTimeout(()=>{jQuery("<style>").attr("id","my_ext_style___checkbox").text(`
	
			:root {
			}
			[scheme=vkcom_dark], .vkui--vkBase--dark, .vkui--vkCom--dark {
			}
	
			.VKH_checkbox {
				margin: 18px 0 0; 
				-moz-user-select: none;
				-khtml-user-select: none;
				user-select: none;

				cursor: pointer;
    			line-height: 1.27em;
			}

			[scheme=vkcom_dark] .VKH_checkbox::before {
				background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.05%202.53C4.79%202.13%205.52%202%207.13%202h5.74c1.61%200%202.34.14%203.08.53.65.35%201.17.87%201.52%201.52.4.74.53%201.47.53%203.08v5.74c0%201.61-.14%202.34-.53%203.08a3.64%203.64%200%2001-1.52%201.52c-.74.4-1.47.53-3.08.53H7.13c-1.61%200-2.34-.14-3.08-.53a3.64%203.64%200%2001-1.52-1.52c-.4-.74-.53-1.47-.53-3.08V7.13c0-1.61.14-2.34.53-3.08a3.65%203.65%200%20011.52-1.52zm3.08.97c-1.53%200-1.96.14-2.38.36a2.15%202.15%200%2000-.9.9c-.21.4-.35.84-.35%202.37v5.74c0%201.53.14%201.96.36%202.38.2.39.5.69.9.9.4.21.84.35%202.37.35h5.74c1.53%200%201.96-.14%202.38-.36.39-.2.69-.5.9-.9.21-.4.35-.84.35-2.37V7.13c0-1.53-.14-1.96-.36-2.38a2.15%202.15%200%2000-.9-.9c-.4-.21-.84-.35-2.37-.35H7.13z%22%20fill%3D%22%23656565%22%2F%3E%3C%2Fsvg%3E);
			}
			.VKH_checkbox::before { 
				display: block;
				content: "";
				float: left;
				background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.05%202.53C4.79%202.13%205.52%202%207.13%202h5.74c1.61%200%202.34.14%203.08.53.65.35%201.17.87%201.52%201.52.4.74.53%201.47.53%203.08v5.74c0%201.61-.14%202.34-.53%203.08a3.64%203.64%200%2001-1.52%201.52c-.74.4-1.47.53-3.08.53H7.13c-1.61%200-2.34-.14-3.08-.53a3.64%203.64%200%2001-1.52-1.52c-.4-.74-.53-1.47-.53-3.08V7.13c0-1.61.14-2.34.53-3.08a3.65%203.65%200%20011.52-1.52zm3.08.97c-1.53%200-1.96.14-2.38.36a2.15%202.15%200%2000-.9.9c-.21.4-.35.84-.35%202.37v5.74c0%201.53.14%201.96.36%202.38.2.39.5.69.9.9.4.21.84.35%202.37.35h5.74c1.53%200%201.96-.14%202.38-.36.39-.2.69-.5.9-.9.21-.4.35-.84.35-2.37V7.13c0-1.53-.14-1.96-.36-2.38a2.15%202.15%200%2000-.9-.9c-.4-.21-.84-.35-2.37-.35H7.13z%22%20fill%3D%22%23aeb7c2%22%2F%3E%3C%2Fsvg%3E);
				background-position: center;
				background-repeat: no-repeat;
				margin: 0 7px 0 0;
				width: 16px;
				height: 16px;
				margin-top: -1px;
			}

			[scheme=vkcom_dark] .VKH_checkbox.on::before {
				background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M2.44%204.18C2%205.04%202%206.16%202%208.4v3.2c0%202.24%200%203.36.44%204.22a4%204%200%20001.74%201.74c.86.44%201.98.44%204.22.44h3.2c2.24%200%203.36%200%204.22-.44a4%204%200%20001.74-1.74c.44-.86.44-1.98.44-4.22V8.4c0-2.24%200-3.36-.44-4.22a4%204%200%2000-1.74-1.74C14.96%202%2013.84%202%2011.6%202H8.4c-2.24%200-3.36%200-4.22.44a4%204%200%2000-1.74%201.74zm12.2%203.8a.9.9%200%2010-1.28-1.27L8.7%2011.38%206.64%209.33a.9.9%200%2000-1.28%201.27l2.7%202.69a.9.9%200%20001.27%200l5.3-5.3z%22%20fill%3D%22%2371aaeb%22%2F%3E%3C%2Fsvg%3E);
			}
			.VKH_checkbox.on::before {
				background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M2.44%204.18C2%205.04%202%206.16%202%208.4v3.2c0%202.24%200%203.36.44%204.22a4%204%200%20001.74%201.74c.86.44%201.98.44%204.22.44h3.2c2.24%200%203.36%200%204.22-.44a4%204%200%20001.74-1.74c.44-.86.44-1.98.44-4.22V8.4c0-2.24%200-3.36-.44-4.22a4%204%200%2000-1.74-1.74C14.96%202%2013.84%202%2011.6%202H8.4c-2.24%200-3.36%200-4.22.44a4%204%200%2000-1.74%201.74zm12.2%203.8a.9.9%200%2010-1.28-1.27L8.7%2011.38%206.64%209.33a.9.9%200%2000-1.28%201.27l2.7%202.69a.9.9%200%20001.27%200l5.3-5.3z%22%20fill%3D%22%235181b8%22%2F%3E%3C%2Fsvg%3E);
			}
			.VKH_checkbox.disabled {
				opacity: 0.6;
			}
		`).appendTo("head")},10);let VKH_checkbox=(()=>{let e={};e.create=(e,t,a)=>{if("string"===typeof e){e=geById(e);if(!e){return}}addClass(e,"VKH_checkbox");e.classList.toggle("on",t);e.onclick=()=>{if(e.classList.contains("disabled")){return}e.classList.toggle("on");if(a){a()}}};e.getSatus=e=>{if("string"===typeof e){e=geById(e);if(!e){return}}return e.classList.contains("on")?true:false};return e})();setTimeout(()=>{jQuery("<style>").attr("id","my_ext_style___datepicker").text(`

		:root {
		}
		[scheme=vkcom_dark], .vkui--vkBase--dark, .vkui--vkCom--dark {
		}

		.vkh_datepicker {
			display: table-cell;
		}
		.vkh_datepicker > div {
			float: left;
		}
		.vkh_datepicker > span {
			display: block;
			float: left;
			padding: 7px 9px 8px;
		}
		.vkh_datepicker > div[data-timer-h],
		.vkh_datepicker > div[data-timer-m] {
			width: 50px;
		}
			
		
		.VKH_datepicker_calendar {
			width: 300px;
		  }
		div.VKH_datepicker_calendar ul {
			padding: 0;
		}
		.VKH_datepicker_calendar li {
			list-style-type: none;
		}
	  
		  .VKH_datepicker_calendar header {
			display: flex;
			align-items: center;
			padding: 0 12px 10px 12px;
			justify-content: space-between;
		  }
	  
		  header .VKH_datepicker_calendar-navigation {
			display: flex;
		  }
	  
		  header .VKH_datepicker_calendar-navigation span {
			height: 38px;
			width: 38px;
			margin: 0 1px;
			cursor: pointer;
			text-align: center;
			line-height: 38px;
			border-radius: 50%;
			user-select: none;
			color: #aeabab;
		  }
	  
		  .VKH_datepicker_calendar-navigation span:last-child {
			margin-right: -10px;
		  }
	  
		  .VKH_datepicker_calendar-navigation span:hover {
			background: #f2f2f2;
		  }
	  
		  .VKH_datepicker_calendar-current-date {
			font-weight: 500;
		  }
	  
		  .VKH_datepicker_calendar-body {
		  }
	  
		  .VKH_datepicker_calendar-body ul {
			list-style: none;
			flex-wrap: wrap;
			display: flex;
			text-align: center;
		  }
	  
		  .VKH_datepicker_calendar-body .VKH_datepicker_calendar-dates {
			margin-bottom: 20px;
		  }
	  
		  .VKH_datepicker_calendar-body li {
			width: calc(100% / 7);
			color: var(--vkui--color_text_muted);
		  }
	  
		  .VKH_datepicker_calendar-body .VKH_datepicker_calendar-weekdays li {
			cursor: default;
			font-weight: 500;
		  }
	  
		  .VKH_datepicker_calendar-body .VKH_datepicker_calendar-dates li {
			margin-top: 10px;
			position: relative;
			z-index: 1;
			cursor: pointer;
		  }
	  
		  .VKH_datepicker_calendar-dates li.today {
			color: #fff;
		  }
	  
		  .VKH_datepicker_calendar-dates li.inactive {
			color: #aaa;
		  }
	  
		  .VKH_datepicker_calendar-dates li.active {
			color: #fff;
		  }
	  
		  .VKH_datepicker_calendar-dates li::before {
			position: absolute;
			content: "";
			z-index: -1;
			top: 50%;
			left: 50%;
			width: 26px;
			height: 26px;
			border-radius: 20%;
			transform: translate(-50%, -50%);
		  }
	  
		  .VKH_datepicker_calendar-dates li.active::before {
			background: #6332c5;
		  }
	  
		  .VKH_datepicker_calendar-dates li.today::before {
			background: #5a666e;
		  }
	  
		  .VKH_datepicker_calendar-dates li:not(.active):not(.today):hover::before {
			background: #e4e1e1;
		  }

		  .vkh_datepicker > div[data-timer-calendar] {
		  		cursor: default;
				position: relative;
				border-radius: 8px;
				padding: 5px 0 5px 8px;
				border: 1px solid var(--expert--vkui--color_field_border_alpha);
				background-color: var(--expert--vkui--color_field_background);
				margin: 0;	
		  }
		  .vkh_datepicker div[data-timer-calendar-icon] {
			  	background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xNCAyMkgxMEM2LjIyODc2IDIyIDQuMzQzMTUgMjIgMy4xNzE1NyAyMC44Mjg0QzIgMTkuNjU2OSAyIDE3Ljc3MTIgMiAxNFYxMkMyIDguMjI4NzYgMiA2LjM0MzE1IDMuMTcxNTcgNS4xNzE1N0M0LjM0MzE1IDQgNi4yMjg3NiA0IDEwIDRIMTRDMTcuNzcxMiA0IDE5LjY1NjkgNCAyMC44Mjg0IDUuMTcxNTdDMjIgNi4zNDMxNSAyMiA4LjIyODc2IDIyIDEyVjE0QzIyIDE3Ljc3MTIgMjIgMTkuNjU2OSAyMC44Mjg0IDIwLjgyODRDMjAuMTc1MiAyMS40ODE2IDE5LjMwMDEgMjEuNzcwNiAxOCAyMS44OTg1IiBzdHJva2U9IiMxQzI3NEMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4NCjxwYXRoIGQ9Ik03IDRWMi41IiBzdHJva2U9IiMxQzI3NEMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4NCjxwYXRoIGQ9Ik0xNyA0VjIuNSIgc3Ryb2tlPSIjMUMyNzRDIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+DQo8cGF0aCBkPSJNMjEuNSA5SDE2LjYyNUgxMC43NU0yIDlINS44NzUiIHN0cm9rZT0iIzFDMjc0QyIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPg0KPHBhdGggZD0iTTE4IDE3QzE4IDE3LjU1MjMgMTcuNTUyMyAxOCAxNyAxOEMxNi40NDc3IDE4IDE2IDE3LjU1MjMgMTYgMTdDMTYgMTYuNDQ3NyAxNi40NDc3IDE2IDE3IDE2QzE3LjU1MjMgMTYgMTggMTYuNDQ3NyAxOCAxN1oiIGZpbGw9IiMxQzI3NEMiLz4NCjxwYXRoIGQ9Ik0xOCAxM0MxOCAxMy41NTIzIDE3LjU1MjMgMTQgMTcgMTRDMTYuNDQ3NyAxNCAxNiAxMy41NTIzIDE2IDEzQzE2IDEyLjQ0NzcgMTYuNDQ3NyAxMiAxNyAxMkMxNy41NTIzIDEyIDE4IDEyLjQ0NzcgMTggMTNaIiBmaWxsPSIjMUMyNzRDIi8+DQo8cGF0aCBkPSJNMTMgMTdDMTMgMTcuNTUyMyAxMi41NTIzIDE4IDEyIDE4QzExLjQ0NzcgMTggMTEgMTcuNTUyMyAxMSAxN0MxMSAxNi40NDc3IDExLjQ0NzcgMTYgMTIgMTZDMTIuNTUyMyAxNiAxMyAxNi40NDc3IDEzIDE3WiIgZmlsbD0iIzFDMjc0QyIvPg0KPHBhdGggZD0iTTEzIDEzQzEzIDEzLjU1MjMgMTIuNTUyMyAxNCAxMiAxNEMxMS40NDc3IDE0IDExIDEzLjU1MjMgMTEgMTNDMTEgMTIuNDQ3NyAxMS40NDc3IDEyIDEyIDEyQzEyLjU1MjMgMTIgMTMgMTIuNDQ3NyAxMyAxM1oiIGZpbGw9IiMxQzI3NEMiLz4NCjxwYXRoIGQ9Ik04IDE3QzggMTcuNTUyMyA3LjU1MjI4IDE4IDcgMThDNi40NDc3MiAxOCA2IDE3LjU1MjMgNiAxN0M2IDE2LjQ0NzcgNi40NDc3MiAxNiA3IDE2QzcuNTUyMjggMTYgOCAxNi40NDc3IDggMTdaIiBmaWxsPSIjMUMyNzRDIi8+DQo8cGF0aCBkPSJNOCAxM0M4IDEzLjU1MjMgNy41NTIyOCAxNCA3IDE0QzYuNDQ3NzIgMTQgNiAxMy41NTIzIDYgMTNDNiAxMi40NDc3IDYuNDQ3NzIgMTIgNyAxMkM3LjU1MjI4IDEyIDggMTIuNDQ3NyA4IDEzWiIgZmlsbD0iIzFDMjc0QyIvPg0KPC9zdmc+");
				background-size: 19px;
				width: 19px;
				height: 19px;
				float: left;  
		  }
		  .vkh_datepicker div[data-timer-calendar-label] {
		    padding: 0 6px;
   			float: left;
		  }
	`).appendTo("head")},10);let VKH_datepicker=(()=>{let e={};e.create=(r,n)=>{n=n||{};let i=new Date(n.date*1e3);let v=i.getDate();let g=i.getFullYear();let f=i.getMonth();const y=[["Январь","Января"],["Февраль","Февраля"],["Март","Марта"],["Апрель","Апреля"],["Май","Мая"],["Июнь","Июня"],["Июль","Июля"],["Август","Августа"],["Сентябрь","Сентября"],["Октябрь","Октября"],["Ноябрь","Ноября"],["Декабрь","Декабря"]];let l=()=>{if(!n.onUpdate){return}let e=VKH_selector.getItem(r.querySelector("div[data-timer-h]"));let t=VKH_selector.getItem(r.querySelector("div[data-timer-m]"));let a=r.querySelector("div[data-timer-calendar]").dataset;let o=a.day;let i=a.month;let l=a.year;if(!l||!e||!t){return}r.dataset.value=parseInt(+new Date(l,i-1,o,e,t)/1e3);n.onUpdate()};addClass(r,"vkh_datepicker");r.innerHTML=`
			<div data-timer-calendar>
				<div data-timer-calendar-icon></div>
				<div data-timer-calendar-label></div>
			</div>
			<span>в</span>
			<div data-timer-h></div>
			<span>:</span>
			<div data-timer-m></div>
		`;let h=(e,t,a)=>{let o=r.querySelector("div[data-timer-calendar]");o.dataset.year=e;o.dataset.month=t;o.dataset.day=a;r.querySelector("div[data-timer-calendar-label]").innerText=`${a} ${y[t-1][1]} ${e}`;l()};VKH_Tooltip.create(r.querySelector("div[data-timer-calendar]"),()=>{let e=ce("div",{className:"VKH_datepicker_calendar",innerHTML:`
					<header>
						<p class="VKH_datepicker_calendar-current-date"></p>
						<div class="VKH_datepicker_calendar-navigation">
							<span data-month_toggle="prev"> < </span>
							<span data-month_toggle="next"> > </span>
						</div>
					</header>

					<div class="VKH_datepicker_calendar-body">
						<ul class="VKH_datepicker_calendar-weekdays">
							<li>Пн</li>
							<li>Вт</li>
							<li>Ср</li>
							<li>Чт</li>
							<li>Пт</li>
							<li>Сб</li>
							<li>Вс</li>
						</ul>
						<ul class="VKH_datepicker_calendar-dates"></ul>
					</div>
				`});let t=new Date;let c=t.getDate();let _=t.getFullYear();let d=t.getMonth();let u=(i||t).getFullYear();let m=(i||t).getMonth();const p=e.querySelector(".VKH_datepicker_calendar-dates");const x=e.querySelector(".VKH_datepicker_calendar-current-date");const a=e.querySelectorAll(".VKH_datepicker_calendar-navigation span");const o=()=>{let e=(new Date(u,m,1).getDay()||7)-1;let t=new Date(u,m+1,0).getDate();let a=(new Date(u,m,t).getDay()||7)-1;let o=new Date(u,m,0).getDate();let i=0==m?u-1:u;let l=0==m?11:m-1;let r=11==m?u+1:u;let n=11==m?0:m+1;let s="";for(let t=e;t>0;t--){let e=o-t+1;s+=`<li class="inactive" data-year="${i}" data-month="${l}" data-day="${e}">${e}</li>`}for(let o=1;o<=t;o++){let e=o===v&&m===f&&u===g;let t=o===c&&m===d&&u===_;let a=e?"active":t?"today":"";s+=`<li class="${a}" data-year="${u}" data-month="${m}" data-day="${o}">${o}</li>`}for(let t=a;t<6;t++){let e=t-a+1;s+=`<li class="inactive" data-year="${r}" data-month="${n}" data-day="${e}">${e}</li>`}x.innerText=`${y[m][0]} ${u}`;p.innerHTML=s;p.querySelectorAll("li").forEach(t=>{t.onclick=()=>{if(t.classList.contains("active")){return}let e=p.querySelector("li.active");if(e){removeClass(e,"active")}addClass(t,"active");v=Number(t.dataset.day);g=Number(t.dataset.year);f=Number(t.dataset.month);h(g,f+1,v)}})};o();a.forEach(e=>{e.addEventListener("click",()=>{if(e.dataset.month_toggle==="prev"){u=0==m?u-1:u;m=0==m?11:m-1}else{u=11==m?u+1:u;m=11==m?0:m+1}o()})});return e},{type:"click","class":"VKH_datepicker_calendar"});VKH_selector.create(r.querySelector("div[data-timer-h]"),[[0,"00"],[1,"01"],[2,"02"],[3,"03"],[4,"04"],[5,"05"],[6,"06"],[7,"07"],[8,"08"],[9,"09"],[10,10],[11,11],[12,12],[13,13],[14,14],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22],[23,23]],{selectItem:i.getHours(),onChange:l});VKH_selector.create(r.querySelector("div[data-timer-m]"),[[0,"00"],[1,"01"],[2,"02"],[3,"03"],[4,"04"],[5,"05"],[6,"06"],[7,"07"],[8,"08"],[9,"09"],[10,10],[11,11],[12,12],[13,13],[14,14],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22],[23,23],[24,24],[25,25],[26,26],[27,27],[28,28],[29,29],[30,30],[31,31],[32,32],[33,33],[34,34],[35,35],[36,36],[37,37],[38,38],[39,39],[40,40],[41,41],[42,42],[43,43],[44,44],[45,45],[46,46],[47,47],[48,48],[49,49],[50,50],[51,51],[52,52],[53,53],[54,54],[55,55],[56,56],[57,57],[58,58],[59,59]],{selectItem:i.getMinutes(),onChange:l});h(g,f+1,v)};e.getVal=e=>{return Number(e.dataset.value)};return e})();setTimeout(()=>{jQuery("<style>").attr("id","my_ext_style___textarea").text(`

		div.vkh_textarea {
			position: relative;
		}
		div.vkh_textarea div[contenteditable="true"] {
			min-height: 60px;
			background: #fff;
			color: #000;
			border: 1px solid #c0cad5;
			padding: 5px 30px 5px 5px;
			vertical-align: top;
			margin: 0;
			overflow: auto;
			outline: 0;
			line-height: 150%;
			word-wrap: break-word;
			cursor: text;
		}
		body[scheme="vkcom_dark"] div.vkh_textarea div[contenteditable="true"] {
			background: #2d2c2c;
			color: #a0a0a0;
		}


		div.vkh_textarea_icons {
			position: absolute; 
			top: 5px; 
			right: 5px; 
		}
		div.vkh_textarea_icons > div {
			cursor: pointer;
			margin-bottom: 7px;
		}

	
		div.vkh_textarea_emoji_icon {
			background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik04LjUgMTFDOS4zMjg0MyAxMSAxMCAxMC4zMjg0IDEwIDkuNUMxMCA4LjY3MTU3IDkuMzI4NDMgOCA4LjUgOEM3LjY3MTU3IDggNyA4LjY3MTU3IDcgOS41QzcgMTAuMzI4NCA3LjY3MTU3IDExIDguNSAxMVoiIGZpbGw9IiMwRjBGMEYiLz4NCjxwYXRoIGQ9Ik0xNyA5LjVDMTcgMTAuMzI4NCAxNi4zMjg0IDExIDE1LjUgMTFDMTQuNjcxNiAxMSAxNCAxMC4zMjg0IDE0IDkuNUMxNCA4LjY3MTU3IDE0LjY3MTYgOCAxNS41IDhDMTYuMzI4NCA4IDE3IDguNjcxNTcgMTcgOS41WiIgZmlsbD0iIzBGMEYwRiIvPg0KPHBhdGggZD0iTTguODg4NzUgMTMuNTQxNEM4LjYzODIyIDEzLjA1NTkgOC4wNDMxIDEyLjg2MDcgNy41NTMwMSAxMy4xMDU4QzcuMDU5MDMgMTMuMzUyOCA2Ljg1ODggMTMuOTUzNSA3LjEwNTc5IDE0LjQ0NzRDNy4xODgyNSAxNC42MTE4IDcuMjkzMjYgMTQuNzY1OSA3LjQwMzM0IDE0LjkxMjdDNy41ODYxNSAxNS4xNTY1IDcuODYyMSAxNS40NzA0IDguMjUwNTIgMTUuNzgxMUM5LjA0MDA1IDE2LjQxMjcgMTAuMjU3MyAxNy4wMDAyIDEyLjAwMDIgMTcuMDAwMkMxMy43NDMxIDE3LjAwMDIgMTQuOTYwNCAxNi40MTI3IDE1Ljc0OTkgMTUuNzgxMUMxNi4xMzgzIDE1LjQ3MDQgMTYuNDE0MyAxNS4xNTY1IDE2LjU5NzEgMTQuOTEyN0MxNi43MDc2IDE0Ljc2NTQgMTYuODA4MSAxNC42MTEzIDE2Ljg5NDEgMTQuNDQ4NUMxNy4xMzg3IDEzLjk2MSAxNi45MzUyIDEzLjM0OTcgMTYuNDQ3NCAxMy4xMDU4QzE1Ljk1NzMgMTIuODYwNyAxNS4zNjIyIDEzLjA1NTkgMTUuMTExNyAxMy41NDE0QzE1LjA5NzkgMTMuNTY2MyAxNC45MDk3IDEzLjg5MiAxNC41MDA1IDE0LjIxOTRDMTQuMDQwMSAxNC41ODc3IDEzLjI1NzMgMTUuMDAwMiAxMi4wMDAyIDE1LjAwMDJDMTAuNzQzMSAxNS4wMDAyIDkuOTYwMzggMTQuNTg3NyA5LjQ5OTkxIDE0LjIxOTRDOS4wOTA3MSAxMy44OTIgOC45MDI1NSAxMy41NjYzIDguODg4NzUgMTMuNTQxNFoiIGZpbGw9IiMwRjBGMEYiLz4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIgMjNDMTguMDc1MSAyMyAyMyAxOC4wNzUxIDIzIDEyQzIzIDUuOTI0ODcgMTguMDc1MSAxIDEyIDFDNS45MjQ4NyAxIDEgNS45MjQ4NyAxIDEyQzEgMTguMDc1MSA1LjkyNDg3IDIzIDEyIDIzWk0xMiAyMC45OTMyQzcuMDMzMjEgMjAuOTkzMiAzLjAwNjgzIDE2Ljk2NjggMy4wMDY4MyAxMkMzLjAwNjgzIDcuMDMzMjEgNy4wMzMyMSAzLjAwNjgzIDEyIDMuMDA2ODNDMTYuOTY2OCAzLjAwNjgzIDIwLjk5MzIgNy4wMzMyMSAyMC45OTMyIDEyQzIwLjk5MzIgMTYuOTY2OCAxNi45NjY4IDIwLjk5MzIgMTIgMjAuOTkzMloiIGZpbGw9IiMwRjBGMEYiLz4NCjwvc3ZnPg==");
			opacity: .4;
			background-size: 18px;
			width: 18px;
			height: 18px;
		}

	
		div.vkh_textarea_tags_icon {
			background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik02IDEySDE4TTEyIDZWMTgiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCjwvc3ZnPg==");
			opacity: .4;
			background-size: 26px;
			background-position: center;
			width: 18px;
			height: 18px;
		}

		div.vkh_textarea_emoji_content {
			width: 380px;
			height: 280px;
			overflow: auto;
			user-select: none;
		}
		div.vkh_textarea_emoji_content_title {
			font-weight: 400;
			font-size: 14px;
			padding-left: 4px;
		}
		div.vkh_textarea_emoji_content_items {
			padding: 12px 0;
		}
		div.vkh_textarea_emoji_content_items > span {
		    display: inline-block;
			font-size: 18px;
			padding: 4px;
    		border-radius: 15px;
		}
		div.vkh_textarea_emoji_content_items > span:hover {
			cursor: pointer;
			background-color: #00000008;
		}

	`).appendTo("head")},10);let VKH_textarea=function(){let s=function(e,t,a,_){function o(e,t,a){if(e){var o=false,i={};if(!a||!a.node){var l=h(e);if(l){o=l}else{o=e}}else{if(a.node.nodeName!="#text"){if(w(a.node)){o=h(a.node)}else{while(a.node.firstChild){a.node.removeChild(a.node.firstChild)}o=a.node}}else{o=a.node}}i=b(t);if(i){if(o==e){for(var r=0;r<i.nodes.length;r++){if(r==0){o.appendChild(i.nodes[r])}else{if(i.nodes[r].nodeName=="#text"){var n=document.createElement("div");n.appendChild(i.nodes[r]);i.nodes[r]=n}o.appendChild(i.nodes[r])}}}else{var s;for(var c=0;c<i.nodes.length;c++){var _=i.nodes[c];if(c==0){if(o.nodeName!="#text"){o.appendChild(_)}else{var d=o.textContent;var u=false;if(a&&typeof a.offset!="undefined"){u=a.offset;if(u==d.length){u=false}}if(u!==false&&u!==0){u=parseInt(u);var m=d.substr(0,u);var p=d.substr(u);if(!m||m[m.length-1]!=" "||m[m.length-1]!=" "){m+=" ";o.nodeValue=m}var x=document.createTextNode(p);k(x,o);k(_,o)}else{if(u===false){if(!d||d[d.length-1]!=" "){d+=" ";o.nodeValue=d}k(_,o)}else{o.parentNode.insertBefore(_,o)}}}s=_}else if(c!=i.nodes.length-1){if(typeof s!="undefined"){k(_,s)}s=_}else{if(typeof s!="undefined"){if(i.nodes.length==2){if(_.nodeName=="#text"){var n=document.createElement("div");n.appendChild(_);k(n,s)}}else{k(_,s)}}if(_.nextSibling){var v=_.nextSibling;if(v.nodeName=="#text"){var g=v.textContent;if(g[0]!=" "&&g[0]!=" "){v.textContent=" "+g}}}}}}if(i.focus.node){F(i.focus.node,i.focus.offset)}var f=document.createEvent("KeyboardEvent");f.initEvent("keyup",true,true,window,0,0,0,0,37,37);e.dispatchEvent(f);var y=document.createEvent("KeyboardEvent");y.initEvent("keyup",true,true,window,0,0,0,0,39,39);e.dispatchEvent(y)}}}function h(e){if(w(e)){for(var t=e.childNodes.length-1;t>=0;t--){var a=e.childNodes[t];if(!a){return false}if(a.nodeName=="#text"){return a}if(a.hasChildNodes()&&w(a)){return h(a)}}return false}else{while(e.firstChild){e.removeChild(e.firstChild)}}return false}function b(e){if(e){e=e.split("\n");var t=[];var a=false;for(var o=0;o<e.length;o++){var i;var l=e[o];var r=false,n=0;if(l.indexOf("{focus}")!=-1&&_==true){n=l.indexOf("{focus}");r=true;l=l.replace(/\{focus\}/g,"");l=l.replace(/  /g,"  ")}if(o==0||o==e.length-1){i=document.createTextNode(l)}else{i=document.createElement("div");if(l.trim()==""){l="<br>"}i.innerHTML=l}if(r){a={node:i,offset:n}}t.push(i)}if(!a){var s=t[t.length-1];var c=s.textContent||s.innerText;if(c){c=c.length}else{c=0}a={node:s,offset:c}}return{nodes:t,focus:a}}}function F(e,t){var a=e.textContent||e.innerHTML;if(a){if(a!="<br>"){a=a.length}else{a=0}}else{a=0}if(typeof t!="undefined"){a=t}var o=document.createRange();var i=window.getSelection();if(i.focusNode){try{o.setStart(e,a)}catch(l){}}o.collapse(true);i.removeAllRanges();i.addRange(o);while((!e.classList||!e.classList.contains("im_editable"))&&e.parentNode){e=e.parentNode}if(e.focus){e.focus()}}function k(e,t){return t.parentNode.insertBefore(e,t.nextSibling)}function w(e){for(var t=0;t<e.childNodes.length;t++){var a=e.childNodes[t];if(a.nodeName=="#text"){return true}if(a.hasChildNodes()){return w(a)}}return false}o(t,a,e)};let c=function(e){var t=0,a,o;if(window.getSelection){a=window.getSelection();if(a.rangeCount){o=a.getRangeAt(0);if(o.commonAncestorContainer.parentNode==e||o.commonAncestorContainer.parentNode&&o.commonAncestorContainer.parentNode.parentNode==e){t={node:o.commonAncestorContainer,offset:o.endOffset}}else{t=-1}}}return t};let o={};o.init=function(l,t){if("string"===typeof l){l=geById(l);if(!l){return}}let r=null;let e=function(){let e=[{title:"Смайлы и Эмоции",link:"smileyy",emojis:[{value:"&#x1F600;",terms:"grinning face"},{value:"&#x1F603;",terms:"grinning face with big eyes"},{value:"&#x1F604;",terms:"grinning face with smiling eyes"},{value:"&#x1F601;",terms:"beaming face with smiling eyes"},{value:"&#x1F606;",terms:"grinning squinting face"},{value:"&#x1F605;",terms:"grinning face with sweat"},{value:"&#x1F923;",terms:"rolling on the floor laughing"},{value:"&#x1F602;",terms:"face with tears of joy"},{value:"&#x1F642;",terms:"slightly smiling face"},{value:"&#x1F643;",terms:"upside-down face"},{value:"&#x1F609;",terms:"winking face"},{value:"&#x1F60A;",terms:"smiling face with smiling eyes"},{value:"&#x1F607;",terms:"smiling face with halo"},{value:"&#x1F60D;",terms:"smiling face with heart-eyes"},{value:"&#x1F929;",terms:"star-struck"},{value:"&#x1F618;",terms:"face blowing a kiss"},{value:"&#x1F617;",terms:"kissing face"},{value:"&#x263A;",terms:"smiling face"},{value:"&#x1F61A;",terms:"kissing face with closed eyes"},{value:"&#x1F619;",terms:"kissing face with smiling eyes"},{value:"&#x1F60B;",terms:"face savoring food"},{value:"&#x1F61B;",terms:"face with tongue"},{value:"&#x1F61C;",terms:"winking face with tongue"},{value:"&#x1F92A;",terms:"zany face"},{value:"&#x1F61D;",terms:"squinting face with tongue"},{value:"&#x1F911;",terms:"money-mouth face"},{value:"&#x1F917;",terms:"hugging face"},{value:"&#x1F92D;",terms:"face with hand over mouth"},{value:"&#x1F92B;",terms:"shushing face"},{value:"&#x1F914;",terms:"thinking face"},{value:"&#x1F910;",terms:"zipper-mouth face"},{value:"&#x1F928;",terms:"face with raised eyebrow"},{value:"&#x1F610;",terms:"neutral face"},{value:"&#x1F611;",terms:"expressionless face"},{value:"&#x1F636;",terms:"face without mouth"},{value:"&#x1F60F;",terms:"smirking face"},{value:"&#x1F612;",terms:"unamused face"},{value:"&#x1F644;",terms:"face with rolling eyes"},{value:"&#x1F62C;",terms:"grimacing face"},{value:"&#x1F925;",terms:"lying face"},{value:"&#x1F60C;",terms:"relieved face"},{value:"&#x1F614;",terms:"pensive face"},{value:"&#x1F62A;",terms:"sleepy face"},{value:"&#x1F924;",terms:"drooling face"},{value:"&#x1F634;",terms:"sleeping face"},{value:"&#x1F637;",terms:"face with medical mask"},{value:"&#x1F912;",terms:"face with thermometer"},{value:"&#x1F915;",terms:"face with head-bandage"},{value:"&#x1F922;",terms:"nauseated face"},{value:"&#x1F92E;",terms:"face vomiting"},{value:"&#x1F927;",terms:"sneezing face"},{value:"&#x1F635;",terms:"dizzy face"},{value:"&#x1F92F;",terms:"exploding head"},{value:"&#x1F920;",terms:"cowboy hat face"},{value:"&#x1F60E;",terms:"smiling face with sunglasses"},{value:"&#x1F913;",terms:"nerd face"},{value:"&#x1F9D0;",terms:"face with monocle"},{value:"&#x1F615;",terms:"confused face"},{value:"&#x1F61F;",terms:"worried face"},{value:"&#x1F641;",terms:"slightly frowning face"},{value:"&#x2639;",terms:"frowning face"},{value:"&#x1F62E;",terms:"face with open mouth"},{value:"&#x1F62F;",terms:"hushed face"},{value:"&#x1F632;",terms:"astonished face"},{value:"&#x1F633;",terms:"flushed face"},{value:"&#x1F626;",terms:"frowning face with open mouth"},{value:"&#x1F627;",terms:"anguished face"},{value:"&#x1F628;",terms:"fearful face"},{value:"&#x1F630;",terms:"anxious face with sweat"},{value:"&#x1F625;",terms:"sad but relieved face"},{value:"&#x1F622;",terms:"crying face"},{value:"&#x1F62D;",terms:"loudly crying face"},{value:"&#x1F631;",terms:"face screaming in fear"},{value:"&#x1F616;",terms:"confounded face"},{value:"&#x1F623;",terms:"persevering face"},{value:"&#x1F61E;",terms:"disappointed face"},{value:"&#x1F613;",terms:"downcast face with sweat"},{value:"&#x1F629;",terms:"weary face"},{value:"&#x1F62B;",terms:"tired face"},{value:"&#x1F624;",terms:"face with steam from nose"},{value:"&#x1F621;",terms:"pouting face"},{value:"&#x1F620;",terms:"angry face"},{value:"&#x1F92C;",terms:"face with symbols on mouth"},{value:"&#x1F608;",terms:"smiling face with horns"},{value:"&#x1F47F;",terms:"angry face with horns"},{value:"&#x1F480;",terms:"skull"},{value:"&#x2620;",terms:"skull and crossbones"},{value:"&#x1F4A9;",terms:"pile of poo"},{value:"&#x1F921;",terms:"clown face"},{value:"&#x1F479;",terms:"ogre"},{value:"&#x1F47A;",terms:"goblin"},{value:"&#x1F47B;",terms:"ghost"},{value:"&#x1F47D;",terms:"alien"},{value:"&#x1F47E;",terms:"alien monster"},{value:"&#x1F916;",terms:"robot face"},{value:"&#x1F63A;",terms:"grinning cat face"},{value:"&#x1F638;",terms:"grinning cat face with smiling eyes"},{value:"&#x1F639;",terms:"cat face with tears of joy"},{value:"&#x1F63B;",terms:"smiling cat face with heart-eyes"},{value:"&#x1F63C;",terms:"cat face with wry smile"},{value:"&#x1F63D;",terms:"kissing cat face"},{value:"&#x1F640;",terms:"weary cat face"},{value:"&#x1F63F;",terms:"crying cat face"},{value:"&#x1F63E;",terms:"pouting cat face"},{value:"&#x1F648;",terms:"see-no-evil monkey"},{value:"&#x1F649;",terms:"hear-no-evil monkey"},{value:"&#x1F64A;",terms:"speak-no-evil monkey"},{value:"&#x1F48B;",terms:"kiss mark"},{value:"&#x1F48C;",terms:"love letter"},{value:"&#x1F498;",terms:"heart with arrow"},{value:"&#x1F49D;",terms:"heart with ribbon"},{value:"&#x1F496;",terms:"sparkling heart"},{value:"&#x1F497;",terms:"growing heart"},{value:"&#x1F493;",terms:"beating heart"},{value:"&#x1F49E;",terms:"revolving hearts"},{value:"&#x1F495;",terms:"two hearts"},{value:"&#x1F49F;",terms:"heart decoration"},{value:"&#x2763;",terms:"heavy heart exclamation"},{value:"&#x1F494;",terms:"broken heart"},{value:"&#x2764;",terms:"red heart"},{value:"&#x1F9E1;",terms:"orange heart"},{value:"&#x1F49B;",terms:"yellow heart"},{value:"&#x1F49A;",terms:"green heart"},{value:"&#x1F499;",terms:"blue heart"},{value:"&#x1F49C;",terms:"purple heart"},{value:"&#x1F5A4;",terms:"black heart"},{value:"&#x1F4AF;",terms:"hundred points"},{value:"&#x1F4A2;",terms:"anger symbol"},{value:"&#x1F4A5;",terms:"collision"},{value:"&#x1F4AB;",terms:"dizzy"},{value:"&#x1F4A6;",terms:"sweat droplets"},{value:"&#x1F4A8;",terms:"dashing away"},{value:"&#x1F573;",terms:"hole"},{value:"&#x1F4A3;",terms:"bomb"},{value:"&#x1F4AC;",terms:"speech balloon"},{value:"&#x1F441;&#xFE0F;&#x200D;&#x1F5E8;&#xFE0F;",terms:"eye in speech bubble"},{value:"&#x1F5E8;",terms:"left speech bubble"},{value:"&#x1F5EF;",terms:"right anger bubble"},{value:"&#x1F4AD;",terms:"thought balloon"},{value:"&#x1F4A4;",terms:"zzz"}]},{title:"Люди и Части тела",link:"people",emojis:[{value:"&#x1F44B;",terms:"waving hand"},{value:"&#x1F91A;",terms:"raised back of hand"},{value:"&#x1F590;",terms:"hand with fingers splayed"},{value:"&#x270B;",terms:"raised hand"},{value:"&#x1F596;",terms:"vulcan salute"},{value:"&#x1F44C;",terms:"OK hand"},{value:"&#x270C;",terms:"victory hand"},{value:"&#x1F91E;",terms:"crossed fingers"},{value:"&#x1F91F;",terms:"love-you gesture"},{value:"&#x1F918;",terms:"sign of the horns"},{value:"&#x1F919;",terms:"call me hand"},{value:"&#x1F448;",terms:"backhand index pointing left"},{value:"&#x1F449;",terms:"backhand index pointing right"},{value:"&#x1F446;",terms:"backhand index pointing up"},{value:"&#x1F595;",terms:"middle finger"},{value:"&#x1F447;",terms:"backhand index pointing down"},{value:"&#x261D;",terms:"index pointing up"},{value:"&#x1F44D;",terms:"thumbs up"},{value:"&#x1F44E;",terms:"thumbs down"},{value:"&#x270A;",terms:"raised fist"},{value:"&#x1F44A;",terms:"oncoming fist"},{value:"&#x1F91B;",terms:"left-facing fist"},{value:"&#x1F91C;",terms:"right-facing fist"},{value:"&#x1F44F;",terms:"clapping hands"},{value:"&#x1F64C;",terms:"raising hands"},{value:"&#x1F450;",terms:"open hands"},{value:"&#x1F932;",terms:"palms up together"},{value:"&#x1F91D;",terms:"handshake"},{value:"&#x1F64F;",terms:"folded hands"},{value:"&#x270D;",terms:"writing hand"},{value:"&#x1F485;",terms:"nail polish"},{value:"&#x1F933;",terms:"selfie"},{value:"&#x1F4AA;",terms:"flexed biceps"},{value:"&#x1F442;",terms:"ear"},{value:"&#x1F443;",terms:"nose"},{value:"&#x1F9E0;",terms:"brain"},{value:"&#x1F440;",terms:"eyes"},{value:"&#x1F441;",terms:"eye"},{value:"&#x1F445;",terms:"tongue"},{value:"&#x1F444;",terms:"mouth"},{value:"&#x1F476;",terms:"baby"},{value:"&#x1F9D2;",terms:"child"},{value:"&#x1F466;",terms:"boy"},{value:"&#x1F467;",terms:"girl"},{value:"&#x1F9D1;",terms:"person"},{value:"&#x1F471;",terms:"person: blond hair"},{value:"&#x1F468;",terms:"man"},{value:"&#x1F471;&#x200D;&#x2642;&#xFE0F;",terms:"man: blond hair"},{value:"&#x1F9D4;",terms:"man: beard"},{value:"&#x1F469;",terms:"woman"},{value:"&#x1F471;&#x200D;&#x2640;&#xFE0F;",terms:"woman: blond hair"},{value:"&#x1F9D3;",terms:"older person"},{value:"&#x1F474;",terms:"old man"},{value:"&#x1F475;",terms:"old woman"},{value:"&#x1F64D;",terms:"person frowning"},{value:"&#x1F64D;&#x200D;&#x2642;&#xFE0F;",terms:"man frowning"},{value:"&#x1F64D;&#x200D;&#x2640;&#xFE0F;",terms:"woman frowning"},{value:"&#x1F64E;",terms:"person pouting"},{value:"&#x1F64E;&#x200D;&#x2642;&#xFE0F;",terms:"man pouting"},{value:"&#x1F64E;&#x200D;&#x2640;&#xFE0F;",terms:"woman pouting"},{value:"&#x1F645;",terms:"person gesturing NO"},{value:"&#x1F645;&#x200D;&#x2642;&#xFE0F;",terms:"man gesturing NO"},{value:"&#x1F645;&#x200D;&#x2640;&#xFE0F;",terms:"woman gesturing NO"},{value:"&#x1F646;",terms:"person gesturing OK"},{value:"&#x1F646;&#x200D;&#x2642;&#xFE0F;",terms:"man gesturing OK"},{value:"&#x1F646;&#x200D;&#x2640;&#xFE0F;",terms:"woman gesturing OK"},{value:"&#x1F481;",terms:"person tipping hand"},{value:"&#x1F481;&#x200D;&#x2642;&#xFE0F;",terms:"man tipping hand"},{value:"&#x1F481;&#x200D;&#x2640;&#xFE0F;",terms:"woman tipping hand"},{value:"&#x1F64B;",terms:"person raising hand"},{value:"&#x1F64B;&#x200D;&#x2642;&#xFE0F;",terms:"man raising hand"},{value:"&#x1F64B;&#x200D;&#x2640;&#xFE0F;",terms:"woman raising hand"},{value:"&#x1F647;",terms:"person bowing"},{value:"&#x1F647;&#x200D;&#x2642;&#xFE0F;",terms:"man bowing"},{value:"&#x1F647;&#x200D;&#x2640;&#xFE0F;",terms:"woman bowing"},{value:"&#x1F926;",terms:"person facepalming"},{value:"&#x1F926;&#x200D;&#x2642;&#xFE0F;",terms:"man facepalming"},{value:"&#x1F926;&#x200D;&#x2640;&#xFE0F;",terms:"woman facepalming"},{value:"&#x1F937;",terms:"person shrugging"},{value:"&#x1F937;&#x200D;&#x2642;&#xFE0F;",terms:"man shrugging"},{value:"&#x1F937;&#x200D;&#x2640;&#xFE0F;",terms:"woman shrugging"},{value:"&#x1F468;&#x200D;&#x2695;&#xFE0F;",terms:"man health worker"},{value:"&#x1F469;&#x200D;&#x2695;&#xFE0F;",terms:"woman health worker"},{value:"&#x1F468;&#x200D;&#x1F393;",terms:"man student"},{value:"&#x1F469;&#x200D;&#x1F393;",terms:"woman student"},{value:"&#x1F468;&#x200D;&#x1F3EB;",terms:"man teacher"},{value:"&#x1F469;&#x200D;&#x1F3EB;",terms:"woman teacher"},{value:"&#x1F468;&#x200D;&#x2696;&#xFE0F;",terms:"man judge"},{value:"&#x1F469;&#x200D;&#x2696;&#xFE0F;",terms:"woman judge"},{value:"&#x1F468;&#x200D;&#x1F33E;",terms:"man farmer"},{value:"&#x1F469;&#x200D;&#x1F33E;",terms:"woman farmer"},{value:"&#x1F468;&#x200D;&#x1F373;",terms:"man cook"},{value:"&#x1F469;&#x200D;&#x1F373;",terms:"woman cook"},{value:"&#x1F468;&#x200D;&#x1F527;",terms:"man mechanic"},{value:"&#x1F469;&#x200D;&#x1F527;",terms:"woman mechanic"},{value:"&#x1F468;&#x200D;&#x1F3ED;",terms:"man factory worker"},{value:"&#x1F469;&#x200D;&#x1F3ED;",terms:"woman factory worker"},{value:"&#x1F468;&#x200D;&#x1F4BC;",terms:"man office worker"},{value:"&#x1F469;&#x200D;&#x1F4BC;",terms:"woman office worker"},{value:"&#x1F468;&#x200D;&#x1F52C;",terms:"man scientist"},{value:"&#x1F469;&#x200D;&#x1F52C;",terms:"woman scientist"},{value:"&#x1F468;&#x200D;&#x1F4BB;",terms:"man technologist"},{value:"&#x1F469;&#x200D;&#x1F4BB;",terms:"woman technologist"},{value:"&#x1F468;&#x200D;&#x1F3A4;",terms:"man singer"},{value:"&#x1F469;&#x200D;&#x1F3A4;",terms:"woman singer"},{value:"&#x1F468;&#x200D;&#x1F3A8;",terms:"man artist"},{value:"&#x1F469;&#x200D;&#x1F3A8;",terms:"woman artist"},{value:"&#x1F468;&#x200D;&#x2708;&#xFE0F;",terms:"man pilot"},{value:"&#x1F469;&#x200D;&#x2708;&#xFE0F;",terms:"woman pilot"},{value:"&#x1F468;&#x200D;&#x1F680;",terms:"man astronaut"},{value:"&#x1F469;&#x200D;&#x1F680;",terms:"woman astronaut"},{value:"&#x1F468;&#x200D;&#x1F692;",terms:"man firefighter"},{value:"&#x1F469;&#x200D;&#x1F692;",terms:"woman firefighter"},{value:"&#x1F46E;",terms:"police officer"},{value:"&#x1F46E;&#x200D;&#x2642;&#xFE0F;",terms:"man police officer"},{value:"&#x1F46E;&#x200D;&#x2640;&#xFE0F;",terms:"woman police officer"},{value:"&#x1F575;",terms:"detective"},{value:"&#x1F575;&#xFE0F;&#x200D;&#x2642;&#xFE0F;",terms:"man detective"},{value:"&#x1F575;&#xFE0F;&#x200D;&#x2640;&#xFE0F;",terms:"woman detective"},{value:"&#x1F482;",terms:"guard"},{value:"&#x1F482;&#x200D;&#x2642;&#xFE0F;",terms:"man guard"},{value:"&#x1F482;&#x200D;&#x2640;&#xFE0F;",terms:"woman guard"},{value:"&#x1F477;",terms:"construction worker"},{value:"&#x1F477;&#x200D;&#x2642;&#xFE0F;",terms:"man construction worker"},{value:"&#x1F477;&#x200D;&#x2640;&#xFE0F;",terms:"woman construction worker"},{value:"&#x1F934;",terms:"prince"},{value:"&#x1F478;",terms:"princess"},{value:"&#x1F473;",terms:"person wearing turban"},{value:"&#x1F473;&#x200D;&#x2642;&#xFE0F;",terms:"man wearing turban"},{value:"&#x1F473;&#x200D;&#x2640;&#xFE0F;",terms:"woman wearing turban"},{value:"&#x1F472;",terms:"man with Chinese cap"},{value:"&#x1F9D5;",terms:"woman with headscarf"},{value:"&#x1F935;",terms:"man in tuxedo"},{value:"&#x1F470;",terms:"bride with veil"},{value:"&#x1F930;",terms:"pregnant woman"},{value:"&#x1F931;",terms:"breast-feeding"},{value:"&#x1F47C;",terms:"baby angel"},{value:"&#x1F385;",terms:"Santa Claus"},{value:"&#x1F936;",terms:"Mrs. Claus"},{value:"&#x1F9D9;",terms:"mage"},{value:"&#x1F9D9;&#x200D;&#x2642;&#xFE0F;",terms:"man mage"},{value:"&#x1F9D9;&#x200D;&#x2640;&#xFE0F;",terms:"woman mage"},{value:"&#x1F9DA;",terms:"fairy"},{value:"&#x1F9DA;&#x200D;&#x2642;&#xFE0F;",terms:"man fairy"},{value:"&#x1F9DA;&#x200D;&#x2640;&#xFE0F;",terms:"woman fairy"},{value:"&#x1F9DB;",terms:"vampire"},{value:"&#x1F9DB;&#x200D;&#x2642;&#xFE0F;",terms:"man vampire"},{value:"&#x1F9DB;&#x200D;&#x2640;&#xFE0F;",terms:"woman vampire"},{value:"&#x1F9DC;",terms:"merperson"},{value:"&#x1F9DC;&#x200D;&#x2642;&#xFE0F;",terms:"merman"},{value:"&#x1F9DC;&#x200D;&#x2640;&#xFE0F;",terms:"mermaid"},{value:"&#x1F9DD;",terms:"elf"},{value:"&#x1F9DD;&#x200D;&#x2642;&#xFE0F;",terms:"man elf"},{value:"&#x1F9DD;&#x200D;&#x2640;&#xFE0F;",terms:"woman elf"},{value:"&#x1F9DE;",terms:"genie"},{value:"&#x1F9DE;&#x200D;&#x2642;&#xFE0F;",terms:"man genie"},{value:"&#x1F9DE;&#x200D;&#x2640;&#xFE0F;",terms:"woman genie"},{value:"&#x1F9DF;",terms:"zombie"},{value:"&#x1F9DF;&#x200D;&#x2642;&#xFE0F;",terms:"man zombie"},{value:"&#x1F9DF;&#x200D;&#x2640;&#xFE0F;",terms:"woman zombie"},{value:"&#x1F486;",terms:"person getting massage"},{value:"&#x1F486;&#x200D;&#x2642;&#xFE0F;",terms:"man getting massage"},{value:"&#x1F486;&#x200D;&#x2640;&#xFE0F;",terms:"woman getting massage"},{value:"&#x1F487;",terms:"person getting haircut"},{value:"&#x1F487;&#x200D;&#x2642;&#xFE0F;",terms:"man getting haircut"},{value:"&#x1F487;&#x200D;&#x2640;&#xFE0F;",terms:"woman getting haircut"},{value:"&#x1F6B6;",terms:"person walking"},{value:"&#x1F6B6;&#x200D;&#x2642;&#xFE0F;",terms:"man walking"},{value:"&#x1F6B6;&#x200D;&#x2640;&#xFE0F;",terms:"woman walking"},{value:"&#x1F3C3;",terms:"person running"},{value:"&#x1F3C3;&#x200D;&#x2642;&#xFE0F;",terms:"man running"},{value:"&#x1F3C3;&#x200D;&#x2640;&#xFE0F;",terms:"woman running"},{value:"&#x1F483;",terms:"woman dancing"},{value:"&#x1F57A;",terms:"man dancing"},{value:"&#x1F574;",terms:"man in suit levitating"},{value:"&#x1F46F;",terms:"people with bunny ears"},{value:"&#x1F46F;&#x200D;&#x2642;&#xFE0F;",terms:"men with bunny ears"},{value:"&#x1F46F;&#x200D;&#x2640;&#xFE0F;",terms:"women with bunny ears"},{value:"&#x1F9D6;",terms:"person in steamy room"},{value:"&#x1F9D6;&#x200D;&#x2642;&#xFE0F;",terms:"man in steamy room"},{value:"&#x1F9D6;&#x200D;&#x2640;&#xFE0F;",terms:"woman in steamy room"},{value:"&#x1F9D7;",terms:"person climbing"},{value:"&#x1F9D7;&#x200D;&#x2642;&#xFE0F;",terms:"man climbing"},{value:"&#x1F9D7;&#x200D;&#x2640;&#xFE0F;",terms:"woman climbing"},{value:"&#x1F93A;",terms:"person fencing"},{value:"&#x1F3C7;",terms:"horse racing"},{value:"&#x26F7;",terms:"skier"},{value:"&#x1F3C2;",terms:"snowboarder"},{value:"&#x1F3CC;",terms:"person golfing"},{value:"&#x1F3CC;&#xFE0F;&#x200D;&#x2642;&#xFE0F;",terms:"man golfing"},{value:"&#x1F3CC;&#xFE0F;&#x200D;&#x2640;&#xFE0F;",terms:"woman golfing"},{value:"&#x1F3C4;",terms:"person surfing"},{value:"&#x1F3C4;&#x200D;&#x2642;&#xFE0F;",terms:"man surfing"},{value:"&#x1F3C4;&#x200D;&#x2640;&#xFE0F;",terms:"woman surfing"},{value:"&#x1F6A3;",terms:"person rowing boat"},{value:"&#x1F6A3;&#x200D;&#x2642;&#xFE0F;",terms:"man rowing boat"},{value:"&#x1F6A3;&#x200D;&#x2640;&#xFE0F;",terms:"woman rowing boat"},{value:"&#x1F3CA;",terms:"person swimming"},{value:"&#x1F3CA;&#x200D;&#x2642;&#xFE0F;",terms:"man swimming"},{value:"&#x1F3CA;&#x200D;&#x2640;&#xFE0F;",terms:"woman swimming"},{value:"&#x26F9;",terms:"person bouncing ball"},{value:"&#x26F9;&#xFE0F;&#x200D;&#x2642;&#xFE0F;",terms:"man bouncing ball"},{value:"&#x26F9;&#xFE0F;&#x200D;&#x2640;&#xFE0F;",terms:"woman bouncing ball"},{value:"&#x1F3CB;",terms:"person lifting weights"},{value:"&#x1F3CB;&#xFE0F;&#x200D;&#x2642;&#xFE0F;",terms:"man lifting weights"},{value:"&#x1F3CB;&#xFE0F;&#x200D;&#x2640;&#xFE0F;",terms:"woman lifting weights"},{value:"&#x1F6B4;",terms:"person biking"},{value:"&#x1F6B4;&#x200D;&#x2642;&#xFE0F;",terms:"man biking"},{value:"&#x1F6B4;&#x200D;&#x2640;&#xFE0F;",terms:"woman biking"},{value:"&#x1F6B5;",terms:"person mountain biking"},{value:"&#x1F6B5;&#x200D;&#x2642;&#xFE0F;",terms:"man mountain biking"},{value:"&#x1F6B5;&#x200D;&#x2640;&#xFE0F;",terms:"woman mountain biking"},{value:"&#x1F938;",terms:"person cartwheeling"},{value:"&#x1F938;&#x200D;&#x2642;&#xFE0F;",terms:"man cartwheeling"},{value:"&#x1F938;&#x200D;&#x2640;&#xFE0F;",terms:"woman cartwheeling"},{value:"&#x1F93C;",terms:"people wrestling"},{value:"&#x1F93C;&#x200D;&#x2642;&#xFE0F;",terms:"men wrestling"},{value:"&#x1F93C;&#x200D;&#x2640;&#xFE0F;",terms:"women wrestling"},{value:"&#x1F93D;",terms:"person playing water polo"},{value:"&#x1F93D;&#x200D;&#x2642;&#xFE0F;",terms:"man playing water polo"},{value:"&#x1F93D;&#x200D;&#x2640;&#xFE0F;",terms:"woman playing water polo"},{value:"&#x1F93E;",terms:"person playing handball"},{value:"&#x1F93E;&#x200D;&#x2642;&#xFE0F;",terms:"man playing handball"},{value:"&#x1F93E;&#x200D;&#x2640;&#xFE0F;",terms:"woman playing handball"},{value:"&#x1F939;",terms:"person juggling"},{value:"&#x1F939;&#x200D;&#x2642;&#xFE0F;",terms:"man juggling"},{value:"&#x1F939;&#x200D;&#x2640;&#xFE0F;",terms:"woman juggling"},{value:"&#x1F9D8;",terms:"person in lotus position"},{value:"&#x1F9D8;&#x200D;&#x2642;&#xFE0F;",terms:"man in lotus position"},{value:"&#x1F9D8;&#x200D;&#x2640;&#xFE0F;",terms:"woman in lotus position"},{value:"&#x1F6C0;",terms:"person taking bath"},{value:"&#x1F6CC;",terms:"person in bed"},{value:"&#x1F46D;",terms:"women holding hands"},{value:"&#x1F46B;",terms:"woman and man holding hands"},{value:"&#x1F46C;",terms:"men holding hands"},{value:"&#x1F48F;",terms:"kiss"},{value:"&#x1F469;&#x200D;&#x2764;&#xFE0F;&#x200D;&#x1F48B;&#x200D;&#x1F468;",terms:"kiss: woman, man"},{value:"&#x1F468;&#x200D;&#x2764;&#xFE0F;&#x200D;&#x1F48B;&#x200D;&#x1F468;",terms:"kiss: man, man"},{value:"&#x1F469;&#x200D;&#x2764;&#xFE0F;&#x200D;&#x1F48B;&#x200D;&#x1F469;",terms:"kiss: woman, woman"},{value:"&#x1F491;",terms:"couple with heart"},{value:"&#x1F469;&#x200D;&#x2764;&#xFE0F;&#x200D;&#x1F468;",terms:"couple with heart: woman, man"},{value:"&#x1F468;&#x200D;&#x2764;&#xFE0F;&#x200D;&#x1F468;",terms:"couple with heart: man, man"},{value:"&#x1F469;&#x200D;&#x2764;&#xFE0F;&#x200D;&#x1F469;",terms:"couple with heart: woman, woman"},{value:"&#x1F46A;",terms:"family"},{value:"&#x1F468;&#x200D;&#x1F469;&#x200D;&#x1F466;",terms:"family: man, woman, boy"},{value:"&#x1F468;&#x200D;&#x1F469;&#x200D;&#x1F467;",terms:"family: man, woman, girl"},{value:"&#x1F468;&#x200D;&#x1F469;&#x200D;&#x1F467;&#x200D;&#x1F466;",terms:"family: man, woman, girl, boy"},{value:"&#x1F468;&#x200D;&#x1F469;&#x200D;&#x1F466;&#x200D;&#x1F466;",terms:"family: man, woman, boy, boy"},{value:"&#x1F468;&#x200D;&#x1F469;&#x200D;&#x1F467;&#x200D;&#x1F467;",terms:"family: man, woman, girl, girl"},{value:"&#x1F468;&#x200D;&#x1F468;&#x200D;&#x1F466;",terms:"family: man, man, boy"},{value:"&#x1F468;&#x200D;&#x1F468;&#x200D;&#x1F467;",terms:"family: man, man, girl"},{value:"&#x1F468;&#x200D;&#x1F468;&#x200D;&#x1F467;&#x200D;&#x1F466;",terms:"family: man, man, girl, boy"},{value:"&#x1F468;&#x200D;&#x1F468;&#x200D;&#x1F466;&#x200D;&#x1F466;",terms:"family: man, man, boy, boy"},{value:"&#x1F468;&#x200D;&#x1F468;&#x200D;&#x1F467;&#x200D;&#x1F467;",terms:"family: man, man, girl, girl"},{value:"&#x1F469;&#x200D;&#x1F469;&#x200D;&#x1F466;",terms:"family: woman, woman, boy"},{value:"&#x1F469;&#x200D;&#x1F469;&#x200D;&#x1F467;",terms:"family: woman, woman, girl"},{value:"&#x1F469;&#x200D;&#x1F469;&#x200D;&#x1F467;&#x200D;&#x1F466;",terms:"family: woman, woman, girl, boy"},{value:"&#x1F469;&#x200D;&#x1F469;&#x200D;&#x1F466;&#x200D;&#x1F466;",terms:"family: woman, woman, boy, boy"},{value:"&#x1F469;&#x200D;&#x1F469;&#x200D;&#x1F467;&#x200D;&#x1F467;",terms:"family: woman, woman, girl, girl"},{value:"&#x1F468;&#x200D;&#x1F466;",terms:"family: man, boy"},{value:"&#x1F468;&#x200D;&#x1F466;&#x200D;&#x1F466;",terms:"family: man, boy, boy"},{value:"&#x1F468;&#x200D;&#x1F467;",terms:"family: man, girl"},{value:"&#x1F468;&#x200D;&#x1F467;&#x200D;&#x1F466;",terms:"family: man, girl, boy"},{value:"&#x1F468;&#x200D;&#x1F467;&#x200D;&#x1F467;",terms:"family: man, girl, girl"},{value:"&#x1F469;&#x200D;&#x1F466;",terms:"family: woman, boy"},{value:"&#x1F469;&#x200D;&#x1F466;&#x200D;&#x1F466;",terms:"family: woman, boy, boy"},{value:"&#x1F469;&#x200D;&#x1F467;",terms:"family: woman, girl"},{value:"&#x1F469;&#x200D;&#x1F467;&#x200D;&#x1F466;",terms:"family: woman, girl, boy"},{value:"&#x1F469;&#x200D;&#x1F467;&#x200D;&#x1F467;",terms:"family: woman, girl, girl"},{value:"&#x1F5E3;",terms:"speaking head"},{value:"&#x1F464;",terms:"bust in silhouette"},{value:"&#x1F465;",terms:"busts in silhouette"},{value:"&#x1F463;",terms:"footprints"}]},{title:"Животные и Природа",link:"animals",emojis:[{value:"&#x1F435;",terms:"monkey face"},{value:"&#x1F412;",terms:"monkey"},{value:"&#x1F98D;",terms:"gorilla"},{value:"&#x1F436;",terms:"dog face"},{value:"&#x1F415;",terms:"dog"},{value:"&#x1F429;",terms:"poodle"},{value:"&#x1F43A;",terms:"wolf face"},{value:"&#x1F98A;",terms:"fox face"},{value:"&#x1F431;",terms:"cat face"},{value:"&#x1F408;",terms:"cat"},{value:"&#x1F981;",terms:"lion face"},{value:"&#x1F42F;",terms:"tiger face"},{value:"&#x1F405;",terms:"tiger"},{value:"&#x1F406;",terms:"leopard"},{value:"&#x1F434;",terms:"horse face"},{value:"&#x1F40E;",terms:"horse"},{value:"&#x1F984;",terms:"unicorn face"},{value:"&#x1F993;",terms:"zebra"},{value:"&#x1F98C;",terms:"deer"},{value:"&#x1F42E;",terms:"cow face"},{value:"&#x1F402;",terms:"ox"},{value:"&#x1F403;",terms:"water buffalo"},{value:"&#x1F404;",terms:"cow"},{value:"&#x1F437;",terms:"pig face"},{value:"&#x1F416;",terms:"pig"},{value:"&#x1F417;",terms:"boar"},{value:"&#x1F43D;",terms:"pig nose"},{value:"&#x1F40F;",terms:"ram"},{value:"&#x1F411;",terms:"ewe"},{value:"&#x1F410;",terms:"goat"},{value:"&#x1F42A;",terms:"camel"},{value:"&#x1F42B;",terms:"two-hump camel"},{value:"&#x1F992;",terms:"giraffe"},{value:"&#x1F418;",terms:"elephant"},{value:"&#x1F98F;",terms:"rhinoceros"},{value:"&#x1F42D;",terms:"mouse face"},{value:"&#x1F401;",terms:"mouse"},{value:"&#x1F400;",terms:"rat"},{value:"&#x1F439;",terms:"hamster face"},{value:"&#x1F430;",terms:"rabbit face"},{value:"&#x1F407;",terms:"rabbit"},{value:"&#x1F43F;",terms:"chipmunk"},{value:"&#x1F994;",terms:"hedgehog"},{value:"&#x1F987;",terms:"bat"},{value:"&#x1F43B;",terms:"bear face"},{value:"&#x1F428;",terms:"koala"},{value:"&#x1F43C;",terms:"panda face"},{value:"&#x1F43E;",terms:"paw prints"},{value:"&#x1F983;",terms:"turkey"},{value:"&#x1F414;",terms:"chicken"},{value:"&#x1F413;",terms:"rooster"},{value:"&#x1F423;",terms:"hatching chick"},{value:"&#x1F424;",terms:"baby chick"},{value:"&#x1F425;",terms:"front-facing baby chick"},{value:"&#x1F426;",terms:"bird"},{value:"&#x1F427;",terms:"penguin"},{value:"&#x1F54A;",terms:"dove"},{value:"&#x1F985;",terms:"eagle"},{value:"&#x1F986;",terms:"duck"},{value:"&#x1F989;",terms:"owl"},{value:"&#x1F438;",terms:"frog face"},{value:"&#x1F40A;",terms:"crocodile"},{value:"&#x1F422;",terms:"turtle"},{value:"&#x1F98E;",terms:"lizard"},{value:"&#x1F40D;",terms:"snake"},{value:"&#x1F432;",terms:"dragon face"},{value:"&#x1F409;",terms:"dragon"},{value:"&#x1F995;",terms:"sauropod"},{value:"&#x1F996;",terms:"T-Rex"},{value:"&#x1F433;",terms:"spouting whale"},{value:"&#x1F40B;",terms:"whale"},{value:"&#x1F42C;",terms:"dolphin"},{value:"&#x1F41F;",terms:"fish"},{value:"&#x1F420;",terms:"tropical fish"},{value:"&#x1F421;",terms:"blowfish"},{value:"&#x1F988;",terms:"shark"},{value:"&#x1F419;",terms:"octopus"},{value:"&#x1F41A;",terms:"spiral shell"},{value:"&#x1F40C;",terms:"snail"},{value:"&#x1F98B;",terms:"butterfly"},{value:"&#x1F41B;",terms:"bug"},{value:"&#x1F41C;",terms:"ant"},{value:"&#x1F41D;",terms:"honeybee"},{value:"&#x1F41E;",terms:"lady beetle"},{value:"&#x1F997;",terms:"cricket"},{value:"&#x1F577;",terms:"spider"},{value:"&#x1F578;",terms:"spider web"},{value:"&#x1F982;",terms:"scorpion"},{value:"&#x1F490;",terms:"bouquet"},{value:"&#x1F338;",terms:"cherry blossom"},{value:"&#x1F4AE;",terms:"white flower"},{value:"&#x1F3F5;",terms:"rosette"},{value:"&#x1F339;",terms:"rose"},{value:"&#x1F940;",terms:"wilted flower"},{value:"&#x1F33A;",terms:"hibiscus"},{value:"&#x1F33B;",terms:"sunflower"},{value:"&#x1F33C;",terms:"blossom"},{value:"&#x1F337;",terms:"tulip"},{value:"&#x1F331;",terms:"seedling"},{value:"&#x1F332;",terms:"evergreen tree"},{value:"&#x1F333;",terms:"deciduous tree"},{value:"&#x1F334;",terms:"palm tree"},{value:"&#x1F335;",terms:"cactus"},{value:"&#x1F33E;",terms:"sheaf of rice"},{value:"&#x1F33F;",terms:"herb"},{value:"&#x2618;",terms:"shamrock"},{value:"&#x1F340;",terms:"four leaf clover"},{value:"&#x1F341;",terms:"maple leaf"},{value:"&#x1F342;",terms:"fallen leaf"},{value:"&#x1F343;",terms:"leaf fluttering in wind"}]},{title:"Еда и Напитки",link:"food",emojis:[{value:"&#x1F347;",terms:"grapes"},{value:"&#x1F348;",terms:"melon"},{value:"&#x1F349;",terms:"watermelon"},{value:"&#x1F34A;",terms:"tangerine"},{value:"&#x1F34B;",terms:"lemon"},{value:"&#x1F34C;",terms:"banana"},{value:"&#x1F34D;",terms:"pineapple"},{value:"&#x1F34E;",terms:"red apple"},{value:"&#x1F34F;",terms:"green apple"},{value:"&#x1F350;",terms:"pear"},{value:"&#x1F351;",terms:"peach"},{value:"&#x1F352;",terms:"cherries"},{value:"&#x1F353;",terms:"strawberry"},{value:"&#x1F95D;",terms:"kiwi fruit"},{value:"&#x1F345;",terms:"tomato"},{value:"&#x1F965;",terms:"coconut"},{value:"&#x1F951;",terms:"avocado"},{value:"&#x1F346;",terms:"eggplant"},{value:"&#x1F954;",terms:"potato"},{value:"&#x1F955;",terms:"carrot"},{value:"&#x1F33D;",terms:"ear of corn"},{value:"&#x1F336;",terms:"hot pepper"},{value:"&#x1F952;",terms:"cucumber"},{value:"&#x1F966;",terms:"broccoli"},{value:"&#x1F344;",terms:"mushroom"},{value:"&#x1F95C;",terms:"peanuts"},{value:"&#x1F330;",terms:"chestnut"},{value:"&#x1F35E;",terms:"bread"},{value:"&#x1F950;",terms:"croissant"},{value:"&#x1F956;",terms:"baguette bread"},{value:"&#x1F968;",terms:"pretzel"},{value:"&#x1F95E;",terms:"pancakes"},{value:"&#x1F9C0;",terms:"cheese wedge"},{value:"&#x1F356;",terms:"meat on bone"},{value:"&#x1F357;",terms:"poultry leg"},{value:"&#x1F969;",terms:"cut of meat"},{value:"&#x1F953;",terms:"bacon"},{value:"&#x1F354;",terms:"hamburger"},{value:"&#x1F35F;",terms:"french fries"},{value:"&#x1F355;",terms:"pizza"},{value:"&#x1F32D;",terms:"hot dog"},{value:"&#x1F96A;",terms:"sandwich"},{value:"&#x1F32E;",terms:"taco"},{value:"&#x1F32F;",terms:"burrito"},{value:"&#x1F959;",terms:"stuffed flatbread"},{value:"&#x1F95A;",terms:"egg"},{value:"&#x1F373;",terms:"cooking"},{value:"&#x1F958;",terms:"shallow pan of food"},{value:"&#x1F372;",terms:"pot of food"},{value:"&#x1F963;",terms:"bowl with spoon"},{value:"&#x1F957;",terms:"green salad"},{value:"&#x1F37F;",terms:"popcorn"},{value:"&#x1F96B;",terms:"canned food"},{value:"&#x1F371;",terms:"bento box"},{value:"&#x1F358;",terms:"rice cracker"},{value:"&#x1F359;",terms:"rice ball"},{value:"&#x1F35A;",terms:"cooked rice"},{value:"&#x1F35B;",terms:"curry rice"},{value:"&#x1F35C;",terms:"steaming bowl"},{value:"&#x1F35D;",terms:"spaghetti"},{value:"&#x1F360;",terms:"roasted sweet potato"},{value:"&#x1F362;",terms:"oden"},{value:"&#x1F363;",terms:"sushi"},{value:"&#x1F364;",terms:"fried shrimp"},{value:"&#x1F365;",terms:"fish cake with swirl"},{value:"&#x1F361;",terms:"dango"},{value:"&#x1F95F;",terms:"dumpling"},{value:"&#x1F960;",terms:"fortune cookie"},{value:"&#x1F961;",terms:"takeout box"},{value:"&#x1F980;",terms:"crab"},{value:"&#x1F990;",terms:"shrimp"},{value:"&#x1F991;",terms:"squid"},{value:"&#x1F366;",terms:"soft ice cream"},{value:"&#x1F367;",terms:"shaved ice"},{value:"&#x1F368;",terms:"ice cream"},{value:"&#x1F369;",terms:"doughnut"},{value:"&#x1F36A;",terms:"cookie"},{value:"&#x1F382;",terms:"birthday cake"},{value:"&#x1F370;",terms:"shortcake"},{value:"&#x1F967;",terms:"pie"},{value:"&#x1F36B;",terms:"chocolate bar"},{value:"&#x1F36C;",terms:"candy"},{value:"&#x1F36D;",terms:"lollipop"},{value:"&#x1F36E;",terms:"custard"},{value:"&#x1F36F;",terms:"honey pot"},{value:"&#x1F37C;",terms:"baby bottle"},{value:"&#x1F95B;",terms:"glass of milk"},{value:"&#x2615;",terms:"hot beverage"},{value:"&#x1F375;",terms:"teacup without handle"},{value:"&#x1F376;",terms:"sake"},{value:"&#x1F37E;",terms:"bottle with popping cork"},{value:"&#x1F377;",terms:"wine glass"},{value:"&#x1F378;",terms:"cocktail glass"},{value:"&#x1F379;",terms:"tropical drink"},{value:"&#x1F37A;",terms:"beer mug"},{value:"&#x1F37B;",terms:"clinking beer mugs"},{value:"&#x1F942;",terms:"clinking glasses"},{value:"&#x1F943;",terms:"tumbler glass"},{value:"&#x1F964;",terms:"cup with straw"},{value:"&#x1F962;",terms:"chopsticks"},{value:"&#x1F37D;",terms:"fork and knife with plate"},{value:"&#x1F374;",terms:"fork and knife"},{value:"&#x1F944;",terms:"spoon"},{value:"&#x1F52A;",terms:"kitchen knife"},{value:"&#x1F3FA;",terms:"amphora"}]},{title:"Путешествия и Места",link:"travel",emojis:[{value:"&#x1F30D;",terms:"globe showing Europe-Africa"},{value:"&#x1F30E;",terms:"globe showing Americas"},{value:"&#x1F30F;",terms:"globe showing Asia-Australia"},{value:"&#x1F310;",terms:"globe with meridians"},{value:"&#x1F5FA;",terms:"world map"},{value:"&#x1F5FE;",terms:"map of Japan"},{value:"&#x1F3D4;",terms:"snow-capped mountain"},{value:"&#x26F0;",terms:"mountain"},{value:"&#x1F30B;",terms:"volcano"},{value:"&#x1F5FB;",terms:"mount fuji"},{value:"&#x1F3D5;",terms:"camping"},{value:"&#x1F3D6;",terms:"beach with umbrella"},{value:"&#x1F3DC;",terms:"desert"},{value:"&#x1F3DD;",terms:"desert island"},{value:"&#x1F3DE;",terms:"national park"},{value:"&#x1F3DF;",terms:"stadium"},{value:"&#x1F3DB;",terms:"classical building"},{value:"&#x1F3D7;",terms:"building construction"},{value:"&#x1F3D8;",terms:"houses"},{value:"&#x1F3DA;",terms:"derelict house"},{value:"&#x1F3E0;",terms:"house"},{value:"&#x1F3E1;",terms:"house with garden"},{value:"&#x1F3E2;",terms:"office building"},{value:"&#x1F3E3;",terms:"Japanese post office"},{value:"&#x1F3E4;",terms:"post office"},{value:"&#x1F3E5;",terms:"hospital"},{value:"&#x1F3E6;",terms:"bank"},{value:"&#x1F3E8;",terms:"hotel"},{value:"&#x1F3E9;",terms:"love hotel"},{value:"&#x1F3EA;",terms:"convenience store"},{value:"&#x1F3EB;",terms:"school"},{value:"&#x1F3EC;",terms:"department store"},{value:"&#x1F3ED;",terms:"factory"},{value:"&#x1F3EF;",terms:"Japanese castle"},{value:"&#x1F3F0;",terms:"castle"},{value:"&#x1F492;",terms:"wedding"},{value:"&#x1F5FC;",terms:"Tokyo tower"},{value:"&#x1F5FD;",terms:"Statue of Liberty"},{value:"&#x26EA;",terms:"church"},{value:"&#x1F54C;",terms:"mosque"},{value:"&#x1F54D;",terms:"synagogue"},{value:"&#x26E9;",terms:"shinto shrine"},{value:"&#x1F54B;",terms:"kaaba"},{value:"&#x26F2;",terms:"fountain"},{value:"&#x26FA;",terms:"tent"},{value:"&#x1F301;",terms:"foggy"},{value:"&#x1F303;",terms:"night with stars"},{value:"&#x1F3D9;",terms:"cityscape"},{value:"&#x1F304;",terms:"sunrise over mountains"},{value:"&#x1F305;",terms:"sunrise"},{value:"&#x1F306;",terms:"cityscape at dusk"},{value:"&#x1F307;",terms:"sunset"},{value:"&#x1F309;",terms:"bridge at night"},{value:"&#x2668;",terms:"hot springs"},{value:"&#x1F30C;",terms:"milky way"},{value:"&#x1F3A0;",terms:"carousel horse"},{value:"&#x1F3A1;",terms:"ferris wheel"},{value:"&#x1F3A2;",terms:"roller coaster"},{value:"&#x1F488;",terms:"barber pole"},{value:"&#x1F3AA;",terms:"circus tent"},{value:"&#x1F682;",terms:"locomotive"},{value:"&#x1F683;",terms:"railway car"},{value:"&#x1F684;",terms:"high-speed train"},{value:"&#x1F685;",terms:"bullet train"},{value:"&#x1F686;",terms:"train"},{value:"&#x1F687;",terms:"metro"},{value:"&#x1F688;",terms:"light rail"},{value:"&#x1F689;",terms:"station"},{value:"&#x1F68A;",terms:"tram"},{value:"&#x1F69D;",terms:"monorail"},{value:"&#x1F69E;",terms:"mountain railway"},{value:"&#x1F68B;",terms:"tram car"},{value:"&#x1F68C;",terms:"bus"},{value:"&#x1F68D;",terms:"oncoming bus"},{value:"&#x1F68E;",terms:"trolleybus"},{value:"&#x1F690;",terms:"minibus"},{value:"&#x1F691;",terms:"ambulance"},{value:"&#x1F692;",terms:"fire engine"},{value:"&#x1F693;",terms:"police car"},{value:"&#x1F694;",terms:"oncoming police car"},{value:"&#x1F695;",terms:"taxi"},{value:"&#x1F696;",terms:"oncoming taxi"},{value:"&#x1F697;",terms:"automobile"},{value:"&#x1F698;",terms:"oncoming automobile"},{value:"&#x1F699;",terms:"sport utility vehicle"},{value:"&#x1F69A;",terms:"delivery truck"},{value:"&#x1F69B;",terms:"articulated lorry"},{value:"&#x1F69C;",terms:"tractor"},{value:"&#x1F3CE;",terms:"racing car"},{value:"&#x1F3CD;",terms:"motorcycle"},{value:"&#x1F6F5;",terms:"motor scooter"},{value:"&#x1F6B2;",terms:"bicycle"},{value:"&#x1F6F4;",terms:"kick scooter"},{value:"&#x1F68F;",terms:"bus stop"},{value:"&#x1F6E3;",terms:"motorway"},{value:"&#x1F6E4;",terms:"railway track"},{value:"&#x1F6E2;",terms:"oil drum"},{value:"&#x26FD;",terms:"fuel pump"},{value:"&#x1F6A8;",terms:"police car light"},{value:"&#x1F6A5;",terms:"horizontal traffic light"},{value:"&#x1F6A6;",terms:"vertical traffic light"},{value:"&#x1F6D1;",terms:"stop sign"},{value:"&#x1F6A7;",terms:"construction"},{value:"&#x2693;",terms:"anchor"},{value:"&#x26F5;",terms:"sailboat"},{value:"&#x1F6F6;",terms:"canoe"},{value:"&#x1F6A4;",terms:"speedboat"},{value:"&#x1F6F3;",terms:"passenger ship"},{value:"&#x26F4;",terms:"ferry"},{value:"&#x1F6E5;",terms:"motor boat"},{value:"&#x1F6A2;",terms:"ship"},{value:"&#x2708;",terms:"airplane"},{value:"&#x1F6E9;",terms:"small airplane"},{value:"&#x1F6EB;",terms:"airplane departure"},{value:"&#x1F6EC;",terms:"airplane arrival"},{value:"&#x1F4BA;",terms:"seat"},{value:"&#x1F681;",terms:"helicopter"},{value:"&#x1F69F;",terms:"suspension railway"},{value:"&#x1F6A0;",terms:"mountain cableway"},{value:"&#x1F6A1;",terms:"aerial tramway"},{value:"&#x1F6F0;",terms:"satellite"},{value:"&#x1F680;",terms:"rocket"},{value:"&#x1F6F8;",terms:"flying saucer"},{value:"&#x1F6CE;",terms:"bellhop bell"},{value:"&#x231B;",terms:"hourglass done"},{value:"&#x23F3;",terms:"hourglass not done"},{value:"&#x231A;",terms:"watch"},{value:"&#x23F0;",terms:"alarm clock"},{value:"&#x23F1;",terms:"stopwatch"},{value:"&#x23F2;",terms:"timer clock"},{value:"&#x1F570;",terms:"mantelpiece clock"},{value:"&#x1F55B;",terms:"twelve oвЂ™clock"},{value:"&#x1F567;",terms:"twelve-thirty"},{value:"&#x1F550;",terms:"one oвЂ™clock"},{value:"&#x1F55C;",terms:"one-thirty"},{value:"&#x1F551;",terms:"two oвЂ™clock"},{value:"&#x1F55D;",terms:"two-thirty"},{value:"&#x1F552;",terms:"three oвЂ™clock"},{value:"&#x1F55E;",terms:"three-thirty"},{value:"&#x1F553;",terms:"four oвЂ™clock"},{value:"&#x1F55F;",terms:"four-thirty"},{value:"&#x1F554;",terms:"five oвЂ™clock"},{value:"&#x1F560;",terms:"five-thirty"},{value:"&#x1F555;",terms:"six oвЂ™clock"},{value:"&#x1F561;",terms:"six-thirty"},{value:"&#x1F556;",terms:"seven oвЂ™clock"},{value:"&#x1F562;",terms:"seven-thirty"},{value:"&#x1F557;",terms:"eight oвЂ™clock"},{value:"&#x1F563;",terms:"eight-thirty"},{value:"&#x1F558;",terms:"nine oвЂ™clock"},{value:"&#x1F564;",terms:"nine-thirty"},{value:"&#x1F559;",terms:"ten oвЂ™clock"},{value:"&#x1F565;",terms:"ten-thirty"},{value:"&#x1F55A;",terms:"eleven oвЂ™clock"},{value:"&#x1F566;",terms:"eleven-thirty"},{value:"&#x1F311;",terms:"new moon"},{value:"&#x1F312;",terms:"waxing crescent moon"},{value:"&#x1F313;",terms:"first quarter moon"},{value:"&#x1F314;",terms:"waxing gibbous moon"},{value:"&#x1F315;",terms:"full moon"},{value:"&#x1F316;",terms:"waning gibbous moon"},{value:"&#x1F317;",terms:"last quarter moon"},{value:"&#x1F318;",terms:"waning crescent moon"},{value:"&#x1F319;",terms:"crescent moon"},{value:"&#x1F31A;",terms:"new moon face"},{value:"&#x1F31B;",terms:"first quarter moon face"},{value:"&#x1F31C;",terms:"last quarter moon face"},{value:"&#x1F321;",terms:"thermometer"},{value:"&#x2600;",terms:"sun"},{value:"&#x1F31D;",terms:"full moon face"},{value:"&#x1F31E;",terms:"sun with face"},{value:"&#x2B50;",terms:"star"},{value:"&#x1F31F;",terms:"glowing star"},{value:"&#x1F320;",terms:"shooting star"},{value:"&#x2601;",terms:"cloud"},{value:"&#x26C5;",terms:"sun behind cloud"},{value:"&#x26C8;",terms:"cloud with lightning and rain"},{value:"&#x1F324;",terms:"sun behind small cloud"},{value:"&#x1F325;",terms:"sun behind large cloud"},{value:"&#x1F326;",terms:"sun behind rain cloud"},{value:"&#x1F327;",terms:"cloud with rain"},{value:"&#x1F328;",terms:"cloud with snow"},{value:"&#x1F329;",terms:"cloud with lightning"},{value:"&#x1F32A;",terms:"tornado"},{value:"&#x1F32B;",terms:"fog"},{value:"&#x1F32C;",terms:"wind face"},{value:"&#x1F300;",terms:"cyclone"},{value:"&#x1F308;",terms:"rainbow"},{value:"&#x1F302;",terms:"closed umbrella"},{value:"&#x2602;",terms:"umbrella"},{value:"&#x2614;",terms:"umbrella with rain drops"},{value:"&#x26F1;",terms:"umbrella on ground"},{value:"&#x26A1;",terms:"high voltage"},{value:"&#x2744;",terms:"snowflake"},{value:"&#x2603;",terms:"snowman"},{value:"&#x26C4;",terms:"snowman without snow"},{value:"&#x2604;",terms:"comet"},{value:"&#x1F525;",terms:"fire"},{value:"&#x1F4A7;",terms:"droplet"},{value:"&#x1F30A;",terms:"water wave"}]},{title:"Мероприятия",link:"activities",emojis:[{value:"&#x1F383;",terms:"jack-o-lantern"},{value:"&#x1F384;",terms:"Christmas tree"},{value:"&#x1F386;",terms:"fireworks"},{value:"&#x1F387;",terms:"sparkler"},{value:"&#x2728;",terms:"sparkles"},{value:"&#x1F388;",terms:"balloon"},{value:"&#x1F389;",terms:"party popper"},{value:"&#x1F38A;",terms:"confetti ball"},{value:"&#x1F38B;",terms:"tanabata tree"},{value:"&#x1F38D;",terms:"pine decoration"},{value:"&#x1F38E;",terms:"Japanese dolls"},{value:"&#x1F38F;",terms:"carp streamer"},{value:"&#x1F390;",terms:"wind chime"},{value:"&#x1F391;",terms:"moon viewing ceremony"},{value:"&#x1F380;",terms:"ribbon"},{value:"&#x1F381;",terms:"wrapped gift"},{value:"&#x1F397;",terms:"reminder ribbon"},{value:"&#x1F39F;",terms:"admission tickets"},{value:"&#x1F3AB;",terms:"ticket"},{value:"&#x1F396;",terms:"military medal"},{value:"&#x1F3C6;",terms:"trophy"},{value:"&#x1F3C5;",terms:"sports medal"},{value:"&#x1F947;",terms:"1st place medal"},{value:"&#x1F948;",terms:"2nd place medal"},{value:"&#x1F949;",terms:"3rd place medal"},{value:"&#x26BD;",terms:"soccer ball"},{value:"&#x26BE;",terms:"baseball"},{value:"&#x1F3C0;",terms:"basketball"},{value:"&#x1F3D0;",terms:"volleyball"},{value:"&#x1F3C8;",terms:"american football"},{value:"&#x1F3C9;",terms:"rugby football"},{value:"&#x1F3BE;",terms:"tennis"},{value:"&#x1F3B3;",terms:"bowling"},{value:"&#x1F3CF;",terms:"cricket game"},{value:"&#x1F3D1;",terms:"field hockey"},{value:"&#x1F3D2;",terms:"ice hockey"},{value:"&#x1F3D3;",terms:"ping pong"},{value:"&#x1F3F8;",terms:"badminton"},{value:"&#x1F94A;",terms:"boxing glove"},{value:"&#x1F94B;",terms:"martial arts uniform"},{value:"&#x1F945;",terms:"goal net"},{value:"&#x26F3;",terms:"flag in hole"},{value:"&#x26F8;",terms:"ice skate"},{value:"&#x1F3A3;",terms:"fishing pole"},{value:"&#x1F3BD;",terms:"running shirt"},{value:"&#x1F3BF;",terms:"skis"},{value:"&#x1F6F7;",terms:"sled"},{value:"&#x1F94C;",terms:"curling stone"},{value:"&#x1F3AF;",terms:"direct hit"},{value:"&#x1F3B1;",terms:"pool 8 ball"},{value:"&#x1F52E;",terms:"crystal ball"},{value:"&#x1F3AE;",terms:"video game"},{value:"&#x1F579;",terms:"joystick"},{value:"&#x1F3B0;",terms:"slot machine"},{value:"&#x1F3B2;",terms:"game die"},{value:"&#x2660;",terms:"spade suit"},{value:"&#x2665;",terms:"heart suit"},{value:"&#x2666;",terms:"diamond suit"},{value:"&#x2663;",terms:"club suit"},{value:"&#x1F0CF;",terms:"joker"},{value:"&#x1F004;",terms:"mahjong red dragon"},{value:"&#x1F3B4;",terms:"flower playing cards"},{value:"&#x1F3AD;",terms:"performing arts"},{value:"&#x1F5BC;",terms:"framed picture"},{value:"&#x1F3A8;",terms:"artist palette"}]},{title:"Объекты",link:"objects",emojis:[{value:"&#x1F453;",terms:"glasses"},{value:"&#x1F576;",terms:"sunglasses"},{value:"&#x1F454;",terms:"necktie"},{value:"&#x1F455;",terms:"t-shirt"},{value:"&#x1F456;",terms:"jeans"},{value:"&#x1F9E3;",terms:"scarf"},{value:"&#x1F9E4;",terms:"gloves"},{value:"&#x1F9E5;",terms:"coat"},{value:"&#x1F9E6;",terms:"socks"},{value:"&#x1F457;",terms:"dress"},{value:"&#x1F458;",terms:"kimono"},{value:"&#x1F459;",terms:"bikini"},{value:"&#x1F45A;",terms:"womanвЂ™s clothes"},{value:"&#x1F45B;",terms:"purse"},{value:"&#x1F45C;",terms:"handbag"},{value:"&#x1F45D;",terms:"clutch bag"},{value:"&#x1F6CD;",terms:"shopping bags"},{value:"&#x1F392;",terms:"backpack"},{value:"&#x1F45E;",terms:"manвЂ™s shoe"},{value:"&#x1F45F;",terms:"running shoe"},{value:"&#x1F460;",terms:"high-heeled shoe"},{value:"&#x1F461;",terms:"womanвЂ™s sandal"},{value:"&#x1F462;",terms:"womanвЂ™s boot"},{value:"&#x1F451;",terms:"crown"},{value:"&#x1F452;",terms:"womanвЂ™s hat"},{value:"&#x1F3A9;",terms:"top hat"},{value:"&#x1F393;",terms:"graduation cap"},{value:"&#x1F9E2;",terms:"billed cap"},{value:"&#x26D1;",terms:"rescue workerвЂ™s helmet"},{value:"&#x1F4FF;",terms:"prayer beads"},{value:"&#x1F484;",terms:"lipstick"},{value:"&#x1F48D;",terms:"ring"},{value:"&#x1F48E;",terms:"gem stone"},{value:"&#x1F507;",terms:"muted speaker"},{value:"&#x1F508;",terms:"speaker low volume"},{value:"&#x1F509;",terms:"speaker medium volume"},{value:"&#x1F50A;",terms:"speaker high volume"},{value:"&#x1F4E2;",terms:"loudspeaker"},{value:"&#x1F4E3;",terms:"megaphone"},{value:"&#x1F4EF;",terms:"postal horn"},{value:"&#x1F514;",terms:"bell"},{value:"&#x1F515;",terms:"bell with slash"},{value:"&#x1F3BC;",terms:"musical score"},{value:"&#x1F3B5;",terms:"musical note"},{value:"&#x1F3B6;",terms:"musical notes"},{value:"&#x1F399;",terms:"studio microphone"},{value:"&#x1F39A;",terms:"level slider"},{value:"&#x1F39B;",terms:"control knobs"},{value:"&#x1F3A4;",terms:"microphone"},{value:"&#x1F3A7;",terms:"headphone"},{value:"&#x1F4FB;",terms:"radio"},{value:"&#x1F3B7;",terms:"saxophone"},{value:"&#x1F3B8;",terms:"guitar"},{value:"&#x1F3B9;",terms:"musical keyboard"},{value:"&#x1F3BA;",terms:"trumpet"},{value:"&#x1F3BB;",terms:"violin"},{value:"&#x1F941;",terms:"drum"},{value:"&#x1F4F1;",terms:"mobile phone"},{value:"&#x1F4F2;",terms:"mobile phone with arrow"},{value:"&#x260E;",terms:"telephone"},{value:"&#x1F4DE;",terms:"telephone receiver"},{value:"&#x1F4DF;",terms:"pager"},{value:"&#x1F4E0;",terms:"fax machine"},{value:"&#x1F50B;",terms:"battery"},{value:"&#x1F50C;",terms:"electric plug"},{value:"&#x1F4BB;",terms:"laptop computer"},{value:"&#x1F5A5;",terms:"desktop computer"},{value:"&#x1F5A8;",terms:"printer"},{value:"&#x2328;",terms:"keyboard"},{value:"&#x1F5B1;",terms:"computer mouse"},{value:"&#x1F5B2;",terms:"trackball"},{value:"&#x1F4BD;",terms:"computer disk"},{value:"&#x1F4BE;",terms:"floppy disk"},{value:"&#x1F4BF;",terms:"optical disk"},{value:"&#x1F4C0;",terms:"dvd"},{value:"&#x1F9EE;",terms:"вЉ› abacus"},{value:"&#x1F3A5;",terms:"movie camera"},{value:"&#x1F39E;",terms:"film frames"},{value:"&#x1F4FD;",terms:"film projector"},{value:"&#x1F3AC;",terms:"clapper board"},{value:"&#x1F4FA;",terms:"television"},{value:"&#x1F4F7;",terms:"camera"},{value:"&#x1F4F8;",terms:"camera with flash"},{value:"&#x1F4F9;",terms:"video camera"},{value:"&#x1F4FC;",terms:"videocassette"},{value:"&#x1F50D;",terms:"magnifying glass tilted left"},{value:"&#x1F50E;",terms:"magnifying glass tilted right"},{value:"&#x1F56F;",terms:"candle"},{value:"&#x1F4A1;",terms:"light bulb"},{value:"&#x1F526;",terms:"flashlight"},{value:"&#x1F3EE;",terms:"red paper lantern"},{value:"&#x1F4D4;",terms:"notebook with decorative cover"},{value:"&#x1F4D5;",terms:"closed book"},{value:"&#x1F4D6;",terms:"open book"},{value:"&#x1F4D7;",terms:"green book"},{value:"&#x1F4D8;",terms:"blue book"},{value:"&#x1F4D9;",terms:"orange book"},{value:"&#x1F4DA;",terms:"books"},{value:"&#x1F4D3;",terms:"notebook"},{value:"&#x1F4D2;",terms:"ledger"},{value:"&#x1F4C3;",terms:"page with curl"},{value:"&#x1F4DC;",terms:"scroll"},{value:"&#x1F4C4;",terms:"page facing up"},{value:"&#x1F4F0;",terms:"newspaper"},{value:"&#x1F5DE;",terms:"rolled-up newspaper"},{value:"&#x1F4D1;",terms:"bookmark tabs"},{value:"&#x1F516;",terms:"bookmark"},{value:"&#x1F3F7;",terms:"label"},{value:"&#x1F4B0;",terms:"money bag"},{value:"&#x1F4B4;",terms:"yen banknote"},{value:"&#x1F4B5;",terms:"dollar banknote"},{value:"&#x1F4B6;",terms:"euro banknote"},{value:"&#x1F4B7;",terms:"pound banknote"},{value:"&#x1F4B8;",terms:"money with wings"},{value:"&#x1F4B3;",terms:"credit card"},{value:"&#x1F9FE;",terms:"вЉ› receipt"},{value:"&#x1F4B9;",terms:"chart increasing with yen"},{value:"&#x1F4B1;",terms:"currency exchange"},{value:"&#x1F4B2;",terms:"heavy dollar sign"},{value:"&#x2709;",terms:"envelope"},{value:"&#x1F4E7;",terms:"e-mail"},{value:"&#x1F4E8;",terms:"incoming envelope"},{value:"&#x1F4E9;",terms:"envelope with arrow"},{value:"&#x1F4E4;",terms:"outbox tray"},{value:"&#x1F4E5;",terms:"inbox tray"},{value:"&#x1F4E6;",terms:"package"},{value:"&#x1F4EB;",terms:"closed mailbox with raised flag"},{value:"&#x1F4EA;",terms:"closed mailbox with lowered flag"},{value:"&#x1F4EC;",terms:"open mailbox with raised flag"},{value:"&#x1F4ED;",terms:"open mailbox with lowered flag"},{value:"&#x1F4EE;",terms:"postbox"},{value:"&#x1F5F3;",terms:"ballot box with ballot"},{value:"&#x270F;",terms:"pencil"},{value:"&#x2712;",terms:"black nib"},{value:"&#x1F58B;",terms:"fountain pen"},{value:"&#x1F58A;",terms:"pen"},{value:"&#x1F58C;",terms:"paintbrush"},{value:"&#x1F58D;",terms:"crayon"},{value:"&#x1F4DD;",terms:"memo"},{value:"&#x1F4BC;",terms:"briefcase"},{value:"&#x1F4C1;",terms:"file folder"},{value:"&#x1F4C2;",terms:"open file folder"},{value:"&#x1F5C2;",terms:"card index dividers"},{value:"&#x1F4C5;",terms:"calendar"},{value:"&#x1F4C6;",terms:"tear-off calendar"},{value:"&#x1F5D2;",terms:"spiral notepad"},{value:"&#x1F5D3;",terms:"spiral calendar"},{value:"&#x1F4C7;",terms:"card index"},{value:"&#x1F4C8;",terms:"chart increasing"},{value:"&#x1F4C9;",terms:"chart decreasing"},{value:"&#x1F4CA;",terms:"bar chart"},{value:"&#x1F4CB;",terms:"clipboard"},{value:"&#x1F4CC;",terms:"pushpin"},{value:"&#x1F4CD;",terms:"round pushpin"},{value:"&#x1F4CE;",terms:"paperclip"},{value:"&#x1F587;",terms:"linked paperclips"},{value:"&#x1F4CF;",terms:"straight ruler"},{value:"&#x1F4D0;",terms:"triangular ruler"},{value:"&#x2702;",terms:"scissors"},{value:"&#x1F5C3;",terms:"card file box"},{value:"&#x1F5C4;",terms:"file cabinet"},{value:"&#x1F5D1;",terms:"wastebasket"},{value:"&#x1F512;",terms:"locked"},{value:"&#x1F513;",terms:"unlocked"},{value:"&#x1F50F;",terms:"locked with pen"},{value:"&#x1F510;",terms:"locked with key"},{value:"&#x1F511;",terms:"key"},{value:"&#x1F5DD;",terms:"old key"},{value:"&#x1F528;",terms:"hammer"},{value:"&#x26CF;",terms:"pick"},{value:"&#x2692;",terms:"hammer and pick"},{value:"&#x1F6E0;",terms:"hammer and wrench"},{value:"&#x1F5E1;",terms:"dagger"},{value:"&#x2694;",terms:"crossed swords"},{value:"&#x1F52B;",terms:"pistol"},{value:"&#x1F3F9;",terms:"bow and arrow"},{value:"&#x1F6E1;",terms:"shield"},{value:"&#x1F527;",terms:"wrench"},{value:"&#x1F529;",terms:"nut and bolt"},{value:"&#x2699;",terms:"gear"},{value:"&#x1F5DC;",terms:"clamp"},{value:"&#x2696;",terms:"balance scale"},{value:"&#x1F517;",terms:"link"},{value:"&#x26D3;",terms:"chains"},{value:"&#x2697;",terms:"alembic"},{value:"&#x1F52C;",terms:"microscope"},{value:"&#x1F52D;",terms:"telescope"},{value:"&#x1F4E1;",terms:"satellite antenna"},{value:"&#x1F489;",terms:"syringe"},{value:"&#x1F48A;",terms:"pill"},{value:"&#x1F6AA;",terms:"door"},{value:"&#x1F6CF;",terms:"bed"},{value:"&#x1F6CB;",terms:"couch and lamp"},{value:"&#x1F6BD;",terms:"toilet"},{value:"&#x1F6BF;",terms:"shower"},{value:"&#x1F6C1;",terms:"bathtub"},{value:"&#x1F6D2;",terms:"shopping cart"},{value:"&#x1F6AC;",terms:"cigarette"},{value:"&#x26B0;",terms:"coffin"},{value:"&#x26B1;",terms:"funeral urn"},{value:"&#x1F5FF;",terms:"moai"}]},{title:"Символы",link:"symbols",emojis:[{value:"&#x1F3E7;",terms:"ATM sign"},{value:"&#x1F6AE;",terms:"litter in bin sign"},{value:"&#x1F6B0;",terms:"potable water"},{value:"&#x267F;",terms:"wheelchair symbol"},{value:"&#x1F6B9;",terms:"menвЂ™s room"},{value:"&#x1F6BA;",terms:"womenвЂ™s room"},{value:"&#x1F6BB;",terms:"restroom"},{value:"&#x1F6BC;",terms:"baby symbol"},{value:"&#x1F6BE;",terms:"water closet"},{value:"&#x1F6C2;",terms:"passport control"},{value:"&#x1F6C3;",terms:"customs"},{value:"&#x1F6C4;",terms:"baggage claim"},{value:"&#x1F6C5;",terms:"left luggage"},{value:"&#x26A0;",terms:"warning"},{value:"&#x1F6B8;",terms:"children crossing"},{value:"&#x26D4;",terms:"no entry"},{value:"&#x1F6AB;",terms:"prohibited"},{value:"&#x1F6B3;",terms:"no bicycles"},{value:"&#x1F6AD;",terms:"no smoking"},{value:"&#x1F6AF;",terms:"no littering"},{value:"&#x1F6B1;",terms:"non-potable water"},{value:"&#x1F6B7;",terms:"no pedestrians"},{value:"&#x1F4F5;",terms:"no mobile phones"},{value:"&#x1F51E;",terms:"no one under eighteen"},{value:"&#x2622;",terms:"radioactive"},{value:"&#x2623;",terms:"biohazard"},{value:"&#x2B06;",terms:"up arrow"},{value:"&#x2197;",terms:"up-right arrow"},{value:"&#x27A1;",terms:"right arrow"},{value:"&#x2198;",terms:"down-right arrow"},{value:"&#x2B07;",terms:"down arrow"},{value:"&#x2199;",terms:"down-left arrow"},{value:"&#x2B05;",terms:"left arrow"},{value:"&#x2196;",terms:"up-left arrow"},{value:"&#x2195;",terms:"up-down arrow"},{value:"&#x2194;",terms:"left-right arrow"},{value:"&#x21A9;",terms:"right arrow curving left"},{value:"&#x21AA;",terms:"left arrow curving right"},{value:"&#x2934;",terms:"right arrow curving up"},{value:"&#x2935;",terms:"right arrow curving down"},{value:"&#x1F503;",terms:"clockwise vertical arrows"},{value:"&#x1F504;",terms:"counterclockwise arrows button"},{value:"&#x1F519;",terms:"BACK arrow"},{value:"&#x1F51A;",terms:"END arrow"},{value:"&#x1F51B;",terms:"ON! arrow"},{value:"&#x1F51C;",terms:"SOON arrow"},{value:"&#x1F51D;",terms:"TOP arrow"},{value:"&#x1F6D0;",terms:"place of worship"},{value:"&#x269B;",terms:"atom symbol"},{value:"&#x1F549;",terms:"om"},{value:"&#x2721;",terms:"star of David"},{value:"&#x2638;",terms:"wheel of dharma"},{value:"&#x262F;",terms:"yin yang"},{value:"&#x271D;",terms:"latin cross"},{value:"&#x2626;",terms:"orthodox cross"},{value:"&#x262A;",terms:"star and crescent"},{value:"&#x262E;",terms:"peace symbol"},{value:"&#x1F54E;",terms:"menorah"},{value:"&#x1F52F;",terms:"dotted six-pointed star"},{value:"&#x2648;",terms:"Aries"},{value:"&#x2649;",terms:"Taurus"},{value:"&#x264A;",terms:"Gemini"},{value:"&#x264B;",terms:"Cancer"},{value:"&#x264C;",terms:"Leo"},{value:"&#x264D;",terms:"Virgo"},{value:"&#x264E;",terms:"Libra"},{value:"&#x264F;",terms:"Scorpio"},{value:"&#x2650;",terms:"Sagittarius"},{value:"&#x2651;",terms:"Capricorn"},{value:"&#x2652;",terms:"Aquarius"},{value:"&#x2653;",terms:"Pisces"},{value:"&#x26CE;",terms:"Ophiuchus"},{value:"&#x1F500;",terms:"shuffle tracks button"},{value:"&#x1F501;",terms:"repeat button"},{value:"&#x1F502;",terms:"repeat single button"},{value:"&#x25B6;",terms:"play button"},{value:"&#x23E9;",terms:"fast-forward button"},{value:"&#x23ED;",terms:"next track button"},{value:"&#x23EF;",terms:"play or pause button"},{value:"&#x25C0;",terms:"reverse button"},{value:"&#x23EA;",terms:"fast reverse button"},{value:"&#x23EE;",terms:"last track button"},{value:"&#x1F53C;",terms:"upwards button"},{value:"&#x23EB;",terms:"fast up button"},{value:"&#x1F53D;",terms:"downwards button"},{value:"&#x23EC;",terms:"fast down button"},{value:"&#x23F8;",terms:"pause button"},{value:"&#x23F9;",terms:"stop button"},{value:"&#x23FA;",terms:"record button"},{value:"&#x23CF;",terms:"eject button"},{value:"&#x1F3A6;",terms:"cinema"},{value:"&#x1F505;",terms:"dim button"},{value:"&#x1F506;",terms:"bright button"},{value:"&#x1F4F6;",terms:"antenna bars"},{value:"&#x1F4F3;",terms:"vibration mode"},{value:"&#x1F4F4;",terms:"mobile phone off"},{value:"&#x2640;",terms:"female sign"},{value:"&#x2642;",terms:"male sign"},{value:"&#x2695;",terms:"medical symbol"},{value:"&#x267B;",terms:"recycling symbol"},{value:"&#x269C;",terms:"fleur-de-lis"},{value:"&#x1F531;",terms:"trident emblem"},{value:"&#x1F4DB;",terms:"name badge"},{value:"&#x1F530;",terms:"Japanese symbol for beginner"},{value:"&#x2B55;",terms:"heavy large circle"},{value:"&#x2705;",terms:"white heavy check mark"},{value:"&#x2611;",terms:"ballot box with check"},{value:"&#x2714;",terms:"heavy check mark"},{value:"&#x2716;",terms:"heavy multiplication x"},{value:"&#x274C;",terms:"cross mark"},{value:"&#x274E;",terms:"cross mark button"},{value:"&#x2795;",terms:"heavy plus sign"},{value:"&#x2796;",terms:"heavy minus sign"},{value:"&#x2797;",terms:"heavy division sign"},{value:"&#x27B0;",terms:"curly loop"},{value:"&#x27BF;",terms:"double curly loop"},{value:"&#x303D;",terms:"part alternation mark"},{value:"&#x2733;",terms:"eight-spoked asterisk"},{value:"&#x2734;",terms:"eight-pointed star"},{value:"&#x2747;",terms:"sparkle"},{value:"&#x203C;",terms:"double exclamation mark"},{value:"&#x2049;",terms:"exclamation question mark"},{value:"&#x2753;",terms:"question mark"},{value:"&#x2754;",terms:"white question mark"},{value:"&#x2755;",terms:"white exclamation mark"},{value:"&#x2757;",terms:"exclamation mark"},{value:"&#x3030;",terms:"wavy dash"},{value:"&#x00A9;",terms:"copyright"},{value:"&#x00AE;",terms:"registered"},{value:"&#x2122;",terms:"trade mark"},{value:"&#x0023;&#xFE0F;&#x20E3;",terms:"keycap: #"},{value:"&#x002A;&#xFE0F;&#x20E3;",terms:"keycap: *"},{value:"&#x0030;&#xFE0F;&#x20E3;",terms:"keycap: 0"},{value:"&#x0031;&#xFE0F;&#x20E3;",terms:"keycap: 1"},{value:"&#x0032;&#xFE0F;&#x20E3;",terms:"keycap: 2"},{value:"&#x0033;&#xFE0F;&#x20E3;",terms:"keycap: 3"},{value:"&#x0034;&#xFE0F;&#x20E3;",terms:"keycap: 4"},{value:"&#x0035;&#xFE0F;&#x20E3;",terms:"keycap: 5"},{value:"&#x0036;&#xFE0F;&#x20E3;",terms:"keycap: 6"},{value:"&#x0037;&#xFE0F;&#x20E3;",terms:"keycap: 7"},{value:"&#x0038;&#xFE0F;&#x20E3;",terms:"keycap: 8"},{value:"&#x0039;&#xFE0F;&#x20E3;",terms:"keycap: 9"},{value:"&#x1F51F;",terms:"keycap: 10"},{value:"&#x1F520;",terms:"input latin uppercase"},{value:"&#x1F521;",terms:"input latin lowercase"},{value:"&#x1F522;",terms:"input numbers"},{value:"&#x1F523;",terms:"input symbols"},{value:"&#x1F524;",terms:"input latin letters"},{value:"&#x1F170;",terms:"A button (blood type)"},{value:"&#x1F18E;",terms:"AB button (blood type)"},{value:"&#x1F171;",terms:"B button (blood type)"},{value:"&#x1F191;",terms:"CL button"},{value:"&#x1F192;",terms:"COOL button"},{value:"&#x1F193;",terms:"FREE button"},{value:"&#x2139;",terms:"information"},{value:"&#x1F194;",terms:"ID button"},{value:"&#x24C2;",terms:"circled M"},{value:"&#x1F195;",terms:"NEW button"},{value:"&#x1F196;",terms:"NG button"},{value:"&#x1F17E;",terms:"O button (blood type)"},{value:"&#x1F197;",terms:"OK button"},{value:"&#x1F17F;",terms:"P button"},{value:"&#x1F198;",terms:"SOS button"},{value:"&#x1F199;",terms:"UP! button"},{value:"&#x1F19A;",terms:"VS button"},{value:"&#x1F201;",terms:"Japanese вЂњhereвЂќ button"},{value:"&#x1F202;",terms:"Japanese вЂњservice chargeвЂќ button"},{value:"&#x1F237;",terms:"Japanese вЂњmonthly amountвЂќ button"},{value:"&#x1F236;",terms:"Japanese вЂњnot free of chargeвЂќ button"},{value:"&#x1F22F;",terms:"Japanese вЂњreservedвЂќ button"},{value:"&#x1F250;",terms:"Japanese вЂњbargainвЂќ button"},{value:"&#x1F239;",terms:"Japanese вЂњdiscountвЂќ button"},{value:"&#x1F21A;",terms:"Japanese вЂњfree of chargeвЂќ button"},{value:"&#x1F232;",terms:"Japanese вЂњprohibitedвЂќ button"},{value:"&#x1F251;",terms:"Japanese вЂњacceptableвЂќ button"},{value:"&#x1F238;",terms:"Japanese вЂњapplicationвЂќ button"},{value:"&#x1F234;",terms:"Japanese вЂњpassing gradeвЂќ button"},{value:"&#x1F233;",terms:"Japanese вЂњvacancyвЂќ button"},{value:"&#x3297;",terms:"Japanese вЂњcongratulationsвЂќ button"},{value:"&#x3299;",terms:"Japanese вЂњsecretвЂќ button"},{value:"&#x1F23A;",terms:"Japanese вЂњopen for businessвЂќ button"},{value:"&#x1F235;",terms:"Japanese вЂњno vacancyвЂќ button"},{value:"&#x1F534;",terms:"red circle"},{value:"&#x1F535;",terms:"blue circle"},{value:"&#x26AA;",terms:"white circle"},{value:"&#x26AB;",terms:"black circle"},{value:"&#x2B1C;",terms:"white large square"},{value:"&#x2B1B;",terms:"black large square"},{value:"&#x25FC;",terms:"black medium square"},{value:"&#x25FB;",terms:"white medium square"},{value:"&#x25FD;",terms:"white medium-small square"},{value:"&#x25FE;",terms:"black medium-small square"},{value:"&#x25AB;",terms:"white small square"},{value:"&#x25AA;",terms:"black small square"},{value:"&#x1F536;",terms:"large orange diamond"},{value:"&#x1F537;",terms:"large blue diamond"},{value:"&#x1F538;",terms:"small orange diamond"},{value:"&#x1F539;",terms:"small blue diamond"},{value:"&#x1F53A;",terms:"red triangle pointed up"},{value:"&#x1F53B;",terms:"red triangle pointed down"},{value:"&#x1F4A0;",terms:"diamond with a dot"},{value:"&#x1F518;",terms:"radio button"},{value:"&#x1F532;",terms:"black square button"},{value:"&#x1F533;",terms:"white square button"}]},{title:"Флаги",link:"flags",emojis:[{value:"&#x1F3C1;",terms:"chequered flag"},{value:"&#x1F6A9;",terms:"triangular flag"},{value:"&#x1F38C;",terms:"crossed flags"},{value:"&#x1F3F4;",terms:"black flag"},{value:"&#x1F3F3;",terms:"white flag"},{value:"&#x1F3F3;&#xFE0F;&#x200D;&#x1F308;",terms:"rainbow flag"},{value:"&#x1F3F4;&#x200D;&#x2620;&#xFE0F;",terms:"вЉ› pirate flag"},{value:"&#x1F1E6;&#x1F1E8;",terms:"flag: Ascension Island"},{value:"&#x1F1E6;&#x1F1E9;",terms:"flag: Andorra"},{value:"&#x1F1E6;&#x1F1EA;",terms:"flag: United Arab Emirates"},{value:"&#x1F1E6;&#x1F1EB;",terms:"flag: Afghanistan"},{value:"&#x1F1E6;&#x1F1EC;",terms:"flag: Antigua & Barbuda"},{value:"&#x1F1E6;&#x1F1EE;",terms:"flag: Anguilla"},{value:"&#x1F1E6;&#x1F1F1;",terms:"flag: Albania"},{value:"&#x1F1E6;&#x1F1F2;",terms:"flag: Armenia"},{value:"&#x1F1E6;&#x1F1F4;",terms:"flag: Angola"},{value:"&#x1F1E6;&#x1F1F6;",terms:"flag: Antarctica"},{value:"&#x1F1E6;&#x1F1F7;",terms:"flag: Argentina"},{value:"&#x1F1E6;&#x1F1F8;",terms:"flag: American Samoa"},{value:"&#x1F1E6;&#x1F1F9;",terms:"flag: Austria"},{value:"&#x1F1E6;&#x1F1FA;",terms:"flag: Australia"},{value:"&#x1F1E6;&#x1F1FC;",terms:"flag: Aruba"},{value:"&#x1F1E6;&#x1F1FD;",terms:"flag: Г…land Islands"},{value:"&#x1F1E6;&#x1F1FF;",terms:"flag: Azerbaijan"},{value:"&#x1F1E7;&#x1F1E6;",terms:"flag: Bosnia & Herzegovina"},{value:"&#x1F1E7;&#x1F1E7;",terms:"flag: Barbados"},{value:"&#x1F1E7;&#x1F1E9;",terms:"flag: Bangladesh"},{value:"&#x1F1E7;&#x1F1EA;",terms:"flag: Belgium"},{value:"&#x1F1E7;&#x1F1EB;",terms:"flag: Burkina Faso"},{value:"&#x1F1E7;&#x1F1EC;",terms:"flag: Bulgaria"},{value:"&#x1F1E7;&#x1F1ED;",terms:"flag: Bahrain"},{value:"&#x1F1E7;&#x1F1EE;",terms:"flag: Burundi"},{value:"&#x1F1E7;&#x1F1EF;",terms:"flag: Benin"},{value:"&#x1F1E7;&#x1F1F1;",terms:"flag: St. BarthГ©lemy"},{value:"&#x1F1E7;&#x1F1F2;",terms:"flag: Bermuda"},{value:"&#x1F1E7;&#x1F1F3;",terms:"flag: Brunei"},{value:"&#x1F1E7;&#x1F1F4;",terms:"flag: Bolivia"},{value:"&#x1F1E7;&#x1F1F6;",terms:"flag: Caribbean Netherlands"},{value:"&#x1F1E7;&#x1F1F7;",terms:"flag: Brazil"},{value:"&#x1F1E7;&#x1F1F8;",terms:"flag: Bahamas"},{value:"&#x1F1E7;&#x1F1F9;",terms:"flag: Bhutan"},{value:"&#x1F1E7;&#x1F1FB;",terms:"flag: Bouvet Island"},{value:"&#x1F1E7;&#x1F1FC;",terms:"flag: Botswana"},{value:"&#x1F1E7;&#x1F1FE;",terms:"flag: Belarus"},{value:"&#x1F1E7;&#x1F1FF;",terms:"flag: Belize"},{value:"&#x1F1E8;&#x1F1E6;",terms:"flag: Canada"},{value:"&#x1F1E8;&#x1F1E8;",terms:"flag: Cocos (Keeling) Islands"},{value:"&#x1F1E8;&#x1F1E9;",terms:"flag: Congo - Kinshasa"},{value:"&#x1F1E8;&#x1F1EB;",terms:"flag: Central African Republic"},{value:"&#x1F1E8;&#x1F1EC;",terms:"flag: Congo - Brazzaville"},{value:"&#x1F1E8;&#x1F1ED;",terms:"flag: Switzerland"},{value:"&#x1F1E8;&#x1F1EE;",terms:"flag: CГґte dвЂ™Ivoire"},{value:"&#x1F1E8;&#x1F1F0;",terms:"flag: Cook Islands"},{value:"&#x1F1E8;&#x1F1F1;",terms:"flag: Chile"},{value:"&#x1F1E8;&#x1F1F2;",terms:"flag: Cameroon"},{value:"&#x1F1E8;&#x1F1F3;",terms:"flag: China"},{value:"&#x1F1E8;&#x1F1F4;",terms:"flag: Colombia"},{value:"&#x1F1E8;&#x1F1F5;",terms:"flag: Clipperton Island"},{value:"&#x1F1E8;&#x1F1F7;",terms:"flag: Costa Rica"},{value:"&#x1F1E8;&#x1F1FA;",terms:"flag: Cuba"},{value:"&#x1F1E8;&#x1F1FB;",terms:"flag: Cape Verde"},{value:"&#x1F1E8;&#x1F1FC;",terms:"flag: CuraГ§ao"},{value:"&#x1F1E8;&#x1F1FD;",terms:"flag: Christmas Island"},{value:"&#x1F1E8;&#x1F1FE;",terms:"flag: Cyprus"},{value:"&#x1F1E8;&#x1F1FF;",terms:"flag: Czechia"},{value:"&#x1F1E9;&#x1F1EA;",terms:"flag: Germany"},{value:"&#x1F1E9;&#x1F1EC;",terms:"flag: Diego Garcia"},{value:"&#x1F1E9;&#x1F1EF;",terms:"flag: Djibouti"},{value:"&#x1F1E9;&#x1F1F0;",terms:"flag: Denmark"},{value:"&#x1F1E9;&#x1F1F2;",terms:"flag: Dominica"},{value:"&#x1F1E9;&#x1F1F4;",terms:"flag: Dominican Republic"},{value:"&#x1F1E9;&#x1F1FF;",terms:"flag: Algeria"},{value:"&#x1F1EA;&#x1F1E6;",terms:"flag: Ceuta & Melilla"},{value:"&#x1F1EA;&#x1F1E8;",terms:"flag: Ecuador"},{value:"&#x1F1EA;&#x1F1EA;",terms:"flag: Estonia"},{value:"&#x1F1EA;&#x1F1EC;",terms:"flag: Egypt"},{value:"&#x1F1EA;&#x1F1ED;",terms:"flag: Western Sahara"},{value:"&#x1F1EA;&#x1F1F7;",terms:"flag: Eritrea"},{value:"&#x1F1EA;&#x1F1F8;",terms:"flag: Spain"},{value:"&#x1F1EA;&#x1F1F9;",terms:"flag: Ethiopia"},{value:"&#x1F1EA;&#x1F1FA;",terms:"flag: European Union"},{value:"&#x1F1EB;&#x1F1EE;",terms:"flag: Finland"},{value:"&#x1F1EB;&#x1F1EF;",terms:"flag: Fiji"},{value:"&#x1F1EB;&#x1F1F0;",terms:"flag: Falkland Islands"},{value:"&#x1F1EB;&#x1F1F2;",terms:"flag: Micronesia"},{value:"&#x1F1EB;&#x1F1F4;",terms:"flag: Faroe Islands"},{value:"&#x1F1EB;&#x1F1F7;",terms:"flag: France"},{value:"&#x1F1EC;&#x1F1E6;",terms:"flag: Gabon"},{value:"&#x1F1EC;&#x1F1E7;",terms:"flag: United Kingdom"},{value:"&#x1F1EC;&#x1F1E9;",terms:"flag: Grenada"},{value:"&#x1F1EC;&#x1F1EA;",terms:"flag: Georgia"},{value:"&#x1F1EC;&#x1F1EB;",terms:"flag: French Guiana"},{value:"&#x1F1EC;&#x1F1EC;",terms:"flag: Guernsey"},{value:"&#x1F1EC;&#x1F1ED;",terms:"flag: Ghana"},{value:"&#x1F1EC;&#x1F1EE;",terms:"flag: Gibraltar"},{value:"&#x1F1EC;&#x1F1F1;",terms:"flag: Greenland"},{value:"&#x1F1EC;&#x1F1F2;",terms:"flag: Gambia"},{value:"&#x1F1EC;&#x1F1F3;",terms:"flag: Guinea"},{value:"&#x1F1EC;&#x1F1F5;",terms:"flag: Guadeloupe"},{value:"&#x1F1EC;&#x1F1F6;",terms:"flag: Equatorial Guinea"},{value:"&#x1F1EC;&#x1F1F7;",terms:"flag: Greece"},{value:"&#x1F1EC;&#x1F1F8;",terms:"flag: South Georgia & South Sandwich Islands"},{value:"&#x1F1EC;&#x1F1F9;",terms:"flag: Guatemala"},{value:"&#x1F1EC;&#x1F1FA;",terms:"flag: Guam"},{value:"&#x1F1EC;&#x1F1FC;",terms:"flag: Guinea-Bissau"},{value:"&#x1F1EC;&#x1F1FE;",terms:"flag: Guyana"},{value:"&#x1F1ED;&#x1F1F0;",terms:"flag: Hong Kong SAR China"},{value:"&#x1F1ED;&#x1F1F2;",terms:"flag: Heard & McDonald Islands"},{value:"&#x1F1ED;&#x1F1F3;",terms:"flag: Honduras"},{value:"&#x1F1ED;&#x1F1F7;",terms:"flag: Croatia"},{value:"&#x1F1ED;&#x1F1F9;",terms:"flag: Haiti"},{value:"&#x1F1ED;&#x1F1FA;",terms:"flag: Hungary"},{value:"&#x1F1EE;&#x1F1E8;",terms:"flag: Canary Islands"},{value:"&#x1F1EE;&#x1F1E9;",terms:"flag: Indonesia"},{value:"&#x1F1EE;&#x1F1EA;",terms:"flag: Ireland"},{value:"&#x1F1EE;&#x1F1F1;",terms:"flag: Israel"},{value:"&#x1F1EE;&#x1F1F2;",terms:"flag: Isle of Man"},{value:"&#x1F1EE;&#x1F1F3;",terms:"flag: India"},{value:"&#x1F1EE;&#x1F1F4;",terms:"flag: British Indian Ocean Territory"},{value:"&#x1F1EE;&#x1F1F6;",terms:"flag: Iraq"},{value:"&#x1F1EE;&#x1F1F7;",terms:"flag: Iran"},{value:"&#x1F1EE;&#x1F1F8;",terms:"flag: Iceland"},{value:"&#x1F1EE;&#x1F1F9;",terms:"flag: Italy"},{value:"&#x1F1EF;&#x1F1EA;",terms:"flag: Jersey"},{value:"&#x1F1EF;&#x1F1F2;",terms:"flag: Jamaica"},{value:"&#x1F1EF;&#x1F1F4;",terms:"flag: Jordan"},{value:"&#x1F1EF;&#x1F1F5;",terms:"flag: Japan"},{value:"&#x1F1F0;&#x1F1EA;",terms:"flag: Kenya"},{value:"&#x1F1F0;&#x1F1EC;",terms:"flag: Kyrgyzstan"},{value:"&#x1F1F0;&#x1F1ED;",terms:"flag: Cambodia"},{value:"&#x1F1F0;&#x1F1EE;",terms:"flag: Kiribati"},{value:"&#x1F1F0;&#x1F1F2;",terms:"flag: Comoros"},{value:"&#x1F1F0;&#x1F1F3;",terms:"flag: St. Kitts & Nevis"},{value:"&#x1F1F0;&#x1F1F5;",terms:"flag: North Korea"},{value:"&#x1F1F0;&#x1F1F7;",terms:"flag: South Korea"},{value:"&#x1F1F0;&#x1F1FC;",terms:"flag: Kuwait"},{value:"&#x1F1F0;&#x1F1FE;",terms:"flag: Cayman Islands"},{value:"&#x1F1F0;&#x1F1FF;",terms:"flag: Kazakhstan"},{value:"&#x1F1F1;&#x1F1E6;",terms:"flag: Laos"},{value:"&#x1F1F1;&#x1F1E7;",terms:"flag: Lebanon"},{value:"&#x1F1F1;&#x1F1E8;",terms:"flag: St. Lucia"},{value:"&#x1F1F1;&#x1F1EE;",terms:"flag: Liechtenstein"},{value:"&#x1F1F1;&#x1F1F0;",terms:"flag: Sri Lanka"},{value:"&#x1F1F1;&#x1F1F7;",terms:"flag: Liberia"},{value:"&#x1F1F1;&#x1F1F8;",terms:"flag: Lesotho"},{value:"&#x1F1F1;&#x1F1F9;",terms:"flag: Lithuania"},{value:"&#x1F1F1;&#x1F1FA;",terms:"flag: Luxembourg"},{value:"&#x1F1F1;&#x1F1FB;",terms:"flag: Latvia"},{value:"&#x1F1F1;&#x1F1FE;",terms:"flag: Libya"},{value:"&#x1F1F2;&#x1F1E6;",terms:"flag: Morocco"},{value:"&#x1F1F2;&#x1F1E8;",terms:"flag: Monaco"},{value:"&#x1F1F2;&#x1F1E9;",terms:"flag: Moldova"},{value:"&#x1F1F2;&#x1F1EA;",terms:"flag: Montenegro"},{value:"&#x1F1F2;&#x1F1EB;",terms:"flag: St. Martin"},{value:"&#x1F1F2;&#x1F1EC;",terms:"flag: Madagascar"},{value:"&#x1F1F2;&#x1F1ED;",terms:"flag: Marshall Islands"},{value:"&#x1F1F2;&#x1F1F0;",terms:"flag: Macedonia"},{value:"&#x1F1F2;&#x1F1F1;",terms:"flag: Mali"},{value:"&#x1F1F2;&#x1F1F2;",terms:"flag: Myanmar (Burma)"},{value:"&#x1F1F2;&#x1F1F3;",terms:"flag: Mongolia"},{value:"&#x1F1F2;&#x1F1F4;",terms:"flag: Macau SAR China"},{value:"&#x1F1F2;&#x1F1F5;",terms:"flag: Northern Mariana Islands"},{value:"&#x1F1F2;&#x1F1F6;",terms:"flag: Martinique"},{value:"&#x1F1F2;&#x1F1F7;",terms:"flag: Mauritania"},{value:"&#x1F1F2;&#x1F1F8;",terms:"flag: Montserrat"},{value:"&#x1F1F2;&#x1F1F9;",terms:"flag: Malta"},{value:"&#x1F1F2;&#x1F1FA;",terms:"flag: Mauritius"},{value:"&#x1F1F2;&#x1F1FB;",terms:"flag: Maldives"},{value:"&#x1F1F2;&#x1F1FC;",terms:"flag: Malawi"},{value:"&#x1F1F2;&#x1F1FD;",terms:"flag: Mexico"},{value:"&#x1F1F2;&#x1F1FE;",terms:"flag: Malaysia"},{value:"&#x1F1F2;&#x1F1FF;",terms:"flag: Mozambique"},{value:"&#x1F1F3;&#x1F1E6;",terms:"flag: Namibia"},{value:"&#x1F1F3;&#x1F1E8;",terms:"flag: New Caledonia"},{value:"&#x1F1F3;&#x1F1EA;",terms:"flag: Niger"},{value:"&#x1F1F3;&#x1F1EB;",terms:"flag: Norfolk Island"},{value:"&#x1F1F3;&#x1F1EC;",terms:"flag: Nigeria"},{value:"&#x1F1F3;&#x1F1EE;",terms:"flag: Nicaragua"},{value:"&#x1F1F3;&#x1F1F1;",terms:"flag: Netherlands"},{value:"&#x1F1F3;&#x1F1F4;",terms:"flag: Norway"},{value:"&#x1F1F3;&#x1F1F5;",terms:"flag: Nepal"},{value:"&#x1F1F3;&#x1F1F7;",terms:"flag: Nauru"},{value:"&#x1F1F3;&#x1F1FA;",terms:"flag: Niue"},{value:"&#x1F1F3;&#x1F1FF;",terms:"flag: New Zealand"},{value:"&#x1F1F4;&#x1F1F2;",terms:"flag: Oman"},{value:"&#x1F1F5;&#x1F1E6;",terms:"flag: Panama"},{value:"&#x1F1F5;&#x1F1EA;",terms:"flag: Peru"},{value:"&#x1F1F5;&#x1F1EB;",terms:"flag: French Polynesia"},{value:"&#x1F1F5;&#x1F1EC;",terms:"flag: Papua New Guinea"},{value:"&#x1F1F5;&#x1F1ED;",terms:"flag: Philippines"},{value:"&#x1F1F5;&#x1F1F0;",terms:"flag: Pakistan"},{value:"&#x1F1F5;&#x1F1F1;",terms:"flag: Poland"},{value:"&#x1F1F5;&#x1F1F2;",terms:"flag: St. Pierre & Miquelon"},{value:"&#x1F1F5;&#x1F1F3;",terms:"flag: Pitcairn Islands"},{value:"&#x1F1F5;&#x1F1F7;",terms:"flag: Puerto Rico"},{value:"&#x1F1F5;&#x1F1F8;",terms:"flag: Palestinian Territories"},{value:"&#x1F1F5;&#x1F1F9;",terms:"flag: Portugal"},{value:"&#x1F1F5;&#x1F1FC;",terms:"flag: Palau"},{value:"&#x1F1F5;&#x1F1FE;",terms:"flag: Paraguay"},{value:"&#x1F1F6;&#x1F1E6;",terms:"flag: Qatar"},{value:"&#x1F1F7;&#x1F1EA;",terms:"flag: RГ©union"},{value:"&#x1F1F7;&#x1F1F4;",terms:"flag: Romania"},{value:"&#x1F1F7;&#x1F1F8;",terms:"flag: Serbia"},{value:"&#x1F1F7;&#x1F1FA;",terms:"flag: Russia"},{value:"&#x1F1F7;&#x1F1FC;",terms:"flag: Rwanda"},{value:"&#x1F1F8;&#x1F1E6;",terms:"flag: Saudi Arabia"},{value:"&#x1F1F8;&#x1F1E7;",terms:"flag: Solomon Islands"},{value:"&#x1F1F8;&#x1F1E8;",terms:"flag: Seychelles"},{value:"&#x1F1F8;&#x1F1E9;",terms:"flag: Sudan"},{value:"&#x1F1F8;&#x1F1EA;",terms:"flag: Sweden"},{value:"&#x1F1F8;&#x1F1EC;",terms:"flag: Singapore"},{value:"&#x1F1F8;&#x1F1ED;",terms:"flag: St. Helena"},{value:"&#x1F1F8;&#x1F1EE;",terms:"flag: Slovenia"},{value:"&#x1F1F8;&#x1F1EF;",terms:"flag: Svalbard & Jan Mayen"},{value:"&#x1F1F8;&#x1F1F0;",terms:"flag: Slovakia"},{value:"&#x1F1F8;&#x1F1F1;",terms:"flag: Sierra Leone"},{value:"&#x1F1F8;&#x1F1F2;",terms:"flag: San Marino"},{value:"&#x1F1F8;&#x1F1F3;",terms:"flag: Senegal"},{value:"&#x1F1F8;&#x1F1F4;",terms:"flag: Somalia"},{value:"&#x1F1F8;&#x1F1F7;",terms:"flag: Suriname"},{value:"&#x1F1F8;&#x1F1F8;",terms:"flag: South Sudan"},{value:"&#x1F1F8;&#x1F1F9;",terms:"flag: SГЈo TomГ© & PrГ­ncipe"},{value:"&#x1F1F8;&#x1F1FB;",terms:"flag: El Salvador"},{value:"&#x1F1F8;&#x1F1FD;",terms:"flag: Sint Maarten"},{value:"&#x1F1F8;&#x1F1FE;",terms:"flag: Syria"},{value:"&#x1F1F8;&#x1F1FF;",terms:"flag: Swaziland"},{value:"&#x1F1F9;&#x1F1E6;",terms:"flag: Tristan da Cunha"},{value:"&#x1F1F9;&#x1F1E8;",terms:"flag: Turks & Caicos Islands"},{value:"&#x1F1F9;&#x1F1E9;",terms:"flag: Chad"},{value:"&#x1F1F9;&#x1F1EB;",terms:"flag: French Southern Territories"},{value:"&#x1F1F9;&#x1F1EC;",terms:"flag: Togo"},{value:"&#x1F1F9;&#x1F1ED;",terms:"flag: Thailand"},{value:"&#x1F1F9;&#x1F1EF;",terms:"flag: Tajikistan"},{value:"&#x1F1F9;&#x1F1F0;",terms:"flag: Tokelau"},{value:"&#x1F1F9;&#x1F1F1;",terms:"flag: Timor-Leste"},{value:"&#x1F1F9;&#x1F1F2;",terms:"flag: Turkmenistan"},{value:"&#x1F1F9;&#x1F1F3;",terms:"flag: Tunisia"},{value:"&#x1F1F9;&#x1F1F4;",terms:"flag: Tonga"},{value:"&#x1F1F9;&#x1F1F7;",terms:"flag: Turkey"},{value:"&#x1F1F9;&#x1F1F9;",terms:"flag: Trinidad & Tobago"},{value:"&#x1F1F9;&#x1F1FB;",terms:"flag: Tuvalu"},{value:"&#x1F1F9;&#x1F1FC;",terms:"flag: Taiwan"},{value:"&#x1F1F9;&#x1F1FF;",terms:"flag: Tanzania"},{value:"&#x1F1FA;&#x1F1E6;",terms:"flag: Ukraine"},{value:"&#x1F1FA;&#x1F1EC;",terms:"flag: Uganda"},{value:"&#x1F1FA;&#x1F1F2;",terms:"flag: U.S. Outlying Islands"},{value:"&#x1F1FA;&#x1F1F3;",terms:"flag: United Nations"},{value:"&#x1F1FA;&#x1F1F8;",terms:"flag: United States"},{value:"&#x1F1FA;&#x1F1FE;",terms:"flag: Uruguay"},{value:"&#x1F1FA;&#x1F1FF;",terms:"flag: Uzbekistan"},{value:"&#x1F1FB;&#x1F1E6;",terms:"flag: Vatican City"},{value:"&#x1F1FB;&#x1F1E8;",terms:"flag: St. Vincent & Grenadines"},{value:"&#x1F1FB;&#x1F1EA;",terms:"flag: Venezuela"},{value:"&#x1F1FB;&#x1F1EC;",terms:"flag: British Virgin Islands"},{value:"&#x1F1FB;&#x1F1EE;",terms:"flag: U.S. Virgin Islands"},{value:"&#x1F1FB;&#x1F1F3;",terms:"flag: Vietnam"},{value:"&#x1F1FB;&#x1F1FA;",terms:"flag: Vanuatu"},{value:"&#x1F1FC;&#x1F1EB;",terms:"flag: Wallis & Futuna"},{value:"&#x1F1FC;&#x1F1F8;",terms:"flag: Samoa"},{value:"&#x1F1FD;&#x1F1F0;",terms:"flag: Kosovo"},{value:"&#x1F1FE;&#x1F1EA;",terms:"flag: Yemen"},{value:"&#x1F1FE;&#x1F1F9;",terms:"flag: Mayotte"},{value:"&#x1F1FF;&#x1F1E6;",terms:"flag: South Africa"},{value:"&#x1F1FF;&#x1F1F2;",terms:"flag: Zambia"},{value:"&#x1F1FF;&#x1F1FC;",terms:"flag: Zimbabwe"},{value:"&#x1F3F4;&#xE0067;&#xE0062;&#xE0065;&#xE006E;&#xE0067;&#xE007F;",terms:"flag: England"},{value:"&#x1F3F4;&#xE0067;&#xE0062;&#xE0073;&#xE0063;&#xE0074;&#xE007F;",terms:"flag: Scotland"},{value:"&#x1F3F4;&#xE0067;&#xE0062;&#xE0077;&#xE006C;&#xE0073;&#xE007F;",terms:"flag: Wales"}]}];let i=ce("div",{className:"vkh_textarea_emoji_content"});each(e,(e,t)=>{let a=ce("div",{innerHTML:`
						<div class="vkh_textarea_emoji_content_title"></div>
						<div class="vkh_textarea_emoji_content_items"></div>
					`});a.querySelector("div.vkh_textarea_emoji_content_title").innerText=t.title;let o=a.querySelector("div.vkh_textarea_emoji_content_items");each(t.emojis,(e,t)=>{o.append(ce("span",{innerHTML:t.value,onmousedown:()=>{if(document.activeElement===n){r=c(n)}},onclick:function(e){s(r,l.querySelector('div[contenteditable="true"]'),e.target.textContent)}}))});i.append(a)});let t=ce("div",{className:"vkh_textarea_emoji_icon"});l.querySelector("div.vkh_textarea_icons").append(t);VKH_Tooltip.create(t,i,{type:"hover",left:-7,margin_vertical:-6});o.focus(l)};let a=function(){let a=ce("div");each(t.tags,(e,t)=>{a.append(ce("div",{innerText:t[1],className:"VKH_tooltip_menu_item",onmousedown:()=>{if(document.activeElement===n){r=c(n)}},onclick:()=>{s(r,l.querySelector('div[contenteditable="true"]'),"{"+t[0]+"}")}}))});let e=ce("div",{className:"vkh_textarea_tags_icon"});l.querySelector("div.vkh_textarea_icons").append(e);VKH_Tooltip.create(e,a,{"class":"VKH_tooltip_menu",type:"hover",left:-7,margin_vertical:-6})};t=t||{};if(false!==t.emoji){t.emoji=true}addClass(l,"vkh_textarea");l.innerHTML=`
			<div class="vkh_textarea_icons"></div>
			<div contenteditable="true"></div>
		`;if(t.emoji){e()}if(t.tags){a()}let n=l.querySelector('div[contenteditable="true"]');l.querySelectorAll("div.vkh_textarea_icons > div").forEach(e=>{e.addEventListener("mousedown",()=>{r=c(n)})});if(t.content){o.set(l,t.content)}};o.get=function(e){if("string"===typeof e){e=geById(e);if(!e){return}}let t=e.querySelector('div[contenteditable="true"]');if(!t){return}return t.innerText.trim()};o.set=function(e,t){let a=e.querySelector('div[contenteditable="true"]');if(!a){return}a.innerHTML="";t.split("\n").forEach(e=>{a.append(""==e.trim()?ce("div",{innerHTML:"<br>"}):ce("div",{innerText:e}))});o.focus(e)};o.focus=function(e){let t=e.querySelector('div[contenteditable="true"]');if(!t){return}t.focus()};return o}();setTimeout(()=>{jQuery("<style>").attr("id","my_ext_style___media").text(`
	div.vkh_media_icons input[type="file"] {
		display: none;
	}
	div.vkh_media_items {

	}
	div.vkh_media_items_prev div.vkh_media_item {
		display: inline-block;
	    position: relative;
		margin-right: 4px;
		margin-bottom: 4px;
	}
	div.vkh_media_items_prev div.vkh_media_item_prev {
	}
	div.vkh_media_item_type_photo div.vkh_media_item_prev > img,
	div.vkh_media_item_type_video div.vkh_media_item_prev > img {
		max-width: 100%;
		max-height: 100%;
		padding: 0;
		margin: auto;
		top: 0;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: auto;
    	width: auto;
	}

	div.vkh_media_item_type_video .vkh_media_item_prev,
	div.vkh_media_item_type_photo .vkh_media_item_prev {
	    width: 150px;
		height: 100px;
		background-color: #6d6d6d24;
	}
	div.vkh_media_item_type_video .vkh_media_item_prev > div {
		position: absolute;
	    width: 150px;
		height: 100px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: 60px;
		z-index: 2;
		background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIyLjg4IDEyMi44OCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTIyLjg4IDEyMi44OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO308L3N0eWxlPjxnPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02MS40NCwwYzMzLjkzLDAsNjEuNDQsMjcuNTEsNjEuNDQsNjEuNDRzLTI3LjUxLDYxLjQ0LTYxLjQ0LDYxLjQ0UzAsOTUuMzcsMCw2MS40NFMyNy41MSwwLDYxLjQ0LDBMNjEuNDQsMHogTTgzLjMxLDY1LjI0YzMuMTMtMi4wMiwzLjEyLTQuMjcsMC02LjA2TDUwLjk4LDQwLjZjLTIuNTUtMS42LTUuMjEtMC42Ni01LjE0LDIuNjdsMC4xLDM3LjU1YzAuMjIsMy42MSwyLjI4LDQuNiw1LjMyLDIuOTMgTDgzLjMxLDY1LjI0TDgzLjMxLDY1LjI0eiBNNjEuNDQsMTIuNDhjMjcuMDQsMCw0OC45NiwyMS45Miw0OC45Niw0OC45NmMwLDI3LjA0LTIxLjkyLDQ4Ljk2LTQ4Ljk2LDQ4Ljk2UzEyLjQ4LDg4LjQ4LDEyLjQ4LDYxLjQ0IEMxMi40OCwzNC40LDM0LjQsMTIuNDgsNjEuNDQsMTIuNDhMNjEuNDQsMTIuNDh6Ii8+PC9nPjwvc3ZnPg==")
	}
	div.vkh_media_item_type_video .vkh_media_item_prev > img {
	    /* 
		height: 100px;
		padding: 0;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		margin: auto;
		position: absolute;
		*/

		height: 100px;
		max-width: 100%;
		max-height: 100%;
		padding: 0;
		margin: auto;
	}

	div.vkh_media_items_prev div.vkh_media_item_del {
		display: none;
		cursor: pointer;
		position: absolute;
		top: 0;
		right: 0;
		background: #9f9f9f;
		padding: 2px 6px;
		color: white;
		border: 1px solid #e6e6e6;
		border-top: none;
		border-right: none;
		z-index: 2;
	}

	div.vkh_media_items_docs div.vkh_media_item {
		position: relative;
		background: #e4e4e44a;
		padding: 10px;
		border-radius: 4px;
		margin-bottom: 4px;
	}

	div.vkh_media_items_docs div.vkh_media_item_prev {
		width: 40px;
		height: 40px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: 30px;
		background-color: #6d6d6d14;
		border-radius: 4px;
	}

	div.vkh_media_item_type_doc div.vkh_media_item_prev {
		background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0naXNvLTg4NTktMSc/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICdodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQnPgo8IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIGZpbGw9IiMwMDAwMDAiIGhlaWdodD0iODAwcHgiIHdpZHRoPSI4MDBweCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMzEuMzA2IDIzMS4zMDYiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMzEuMzA2IDIzMS4zMDYiPgogIDxnPgogICAgPHBhdGggZD0iTTIyOS41NDgsNjcuNzQzTDE2My41NjMsMS43NTdDMTYyLjQzOCwwLjYzMiwxNjAuOTEyLDAsMTU5LjMyLDBINDAuNzQ3QzE4LjI3OSwwLDAsMTguMjc5LDAsNDAuNzQ3djE0OS44MTMgICBjMCwyMi40NjgsMTguMjc5LDQwLjc0Nyw0MC43NDcsNDAuNzQ3aDE0OS44MTNjMjIuNDY4LDAsNDAuNzQ3LTE4LjI3OSw0MC43NDctNDAuNzQ3VjcxLjk4NSAgIEMyMzEuMzA2LDcwLjM5NCwyMzAuNjczLDY4Ljg2OCwyMjkuNTQ4LDY3Ljc0M3ogTTE2NC4zMiwxOS40ODVsNDcuNSw0Ny41aC00Ny41VjE5LjQ4NXogTTE5MC41NTksMjE5LjMwNkg0MC43NDcgICBDMjQuODk2LDIxOS4zMDYsMTIsMjA2LjQxLDEyLDE5MC41NTlWNDAuNzQ3QzEyLDI0Ljg5NiwyNC44OTYsMTIsNDAuNzQ3LDEySDE1Mi4zMnY2MC45ODVjMCwzLjMxMywyLjY4Nyw2LDYsNmg2MC45ODV2MTExLjU3NCAgIEMyMTkuMzA2LDIwNi40MSwyMDYuNDEsMjE5LjMwNiwxOTAuNTU5LDIxOS4zMDZ6Ii8+CiAgICA8cGF0aCBkPSJtMTAzLjgyNiw1Mi4zOTljLTUuODY3LTUuODY3LTEzLjY2Ny05LjA5OC0yMS45NjQtOS4wOThzLTE2LjA5NywzLjIzMS0yMS45NjQsOS4wOThjLTUuODY3LDUuODY3LTkuMDk4LDEzLjY2Ny05LjA5OCwyMS45NjQgMCw4LjI5NyAzLjIzMSwxNi4wOTcgOS4wOTgsMjEuOTY0bDYxLjUzNiw2MS41MzZjNy45NTcsNy45NTYgMjAuOSw3Ljk1NCAyOC44NTUsMCA3Ljk1NS03Ljk1NiA3Ljk1NS0yMC44OTkgMC0yOC44NTVsLTYwLjkyOC02MC45MjZjLTIuMzQzLTIuMzQzLTYuMTQzLTIuMzQzLTguNDg1LDAtMi4zNDMsMi4zNDMtMi4zNDMsNi4xNDIgMCw4LjQ4NWw2MC45MjcsNjAuOTI3YzMuMjc2LDMuMjc2IDMuMjc2LDguNjA4IDAsMTEuODg0cy04LjYwNywzLjI3Ni0xMS44ODQsMGwtNjEuNTM2LTYxLjUzNWMtMy42MDEtMy42MDEtNS41ODMtOC4zODgtNS41ODMtMTMuNDc5IDAtNS4wOTIgMS45ODMtOS44NzkgNS41ODMtMTMuNDc5IDcuNDMzLTcuNDMzIDE5LjUyNS03LjQzMyAyNi45NTgsMGw2NC40NzYsNjQuNDc2YzExLjU2NywxMS41NjcgMTEuNTY3LDMwLjM4OCAwLDQxLjk1NS01LjYwMyw1LjYwMy0xMy4wNTMsOC42ODktMjAuOTc3LDguNjg5cy0xNS4zNzQtMy4wODYtMjAuOTc3LTguNjg5bC00OS41NzMtNDkuNTc0Yy0yLjM0My0yLjM0My02LjE0My0yLjM0My04LjQ4NSwwLTIuMzQzLDIuMzQzLTIuMzQzLDYuMTQyIDAsOC40ODVsNDkuNTczLDQ5LjU3M2M3Ljg3LDcuODcgMTguMzMzLDEyLjIwNCAyOS40NjIsMTIuMjA0czIxLjU5My00LjMzNCAyOS40NjItMTIuMjA0IDEyLjIwNC0xOC4zMzMgMTIuMjA0LTI5LjQ2M2MwLTExLjEyOS00LjMzNC0yMS41OTMtMTIuMjA0LTI5LjQ2MmwtNjQuNDc2LTY0LjQ3NnoiLz4KICA8L2c+Cjwvc3ZnPg==)
	}
	div.vkh_media_item_type_audio div.vkh_media_item_prev {
		background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik05IDE5QzkgMjAuMTA0NiA3LjY1Njg1IDIxIDYgMjFDNC4zNDMxNSAyMSAzIDIwLjEwNDYgMyAxOUMzIDE3Ljg5NTQgNC4zNDMxNSAxNyA2IDE3QzcuNjU2ODUgMTcgOSAxNy44OTU0IDkgMTlaTTkgMTlWNUwyMSAzVjE3TTIxIDE3QzIxIDE4LjEwNDYgMTkuNjU2OSAxOSAxOCAxOUMxNi4zNDMxIDE5IDE1IDE4LjEwNDYgMTUgMTdDMTUgMTUuODk1NCAxNi4zNDMxIDE1IDE4IDE1QzE5LjY1NjkgMTUgMjEgMTUuODk1NCAyMSAxN1pNOSA5TDIxIDciIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCjwvc3ZnPg==)
	}
	div.vkh_media_item_type_audio_playlist div.vkh_media_item_prev {
		background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIGZpbGw9IiMwMDAwMDAiIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDIwIDIwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNiAxN2EzIDMgMCAwIDEtMyAzaC0yYTMgMyAwIDAgMSAwLTZoMmEzIDMgMCAwIDEgMSAuMTdWMWw2LTF2NGwtNCAuNjdWMTd6TTAgM2gxMnYySDBWM3ptMCA0aDEydjJIMFY3em0wIDRoMTJ2Mkgwdi0yem0wIDRoNnYySDB2LTJ6Ii8+PC9zdmc+)
	}
	div.vkh_media_item_type_link div.vkh_media_item_prev {
		background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xNS4xOTcgMy4zNTQ2MkMxNi44NzAzIDEuNjc0ODMgMTkuNDQ3NiAxLjUzODY1IDIwLjk1MzYgMy4wNTA0NkMyMi40NTk2IDQuNTYyMjggMjIuMzIzOSA3LjE0OTU2IDIwLjY1MDYgOC44MjkzNUwxOC4yMjY4IDExLjI2MjZNMTAuMDQ2NCAxNEM4LjU0MDQ0IDEyLjQ4ODIgOC42NzYwOSA5LjkwMDg3IDEwLjM0OTQgOC4yMjEwOEwxMi41IDYuMDYyMTIiIHN0cm9rZT0iIzFDMjc0QyIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPg0KPHBhdGggZD0iTTEzLjk1MzYgMTBDMTUuNDU5NiAxMS41MTE4IDE1LjMyMzkgMTQuMDk5MSAxMy42NTA2IDE1Ljc3ODlMMTEuMjI2OCAxOC4yMTIxTDguODAyOTkgMjAuNjQ1NEM3LjEyOTY5IDIyLjMyNTIgNC41NTIzNyAyMi40NjEzIDMuMDQ2NCAyMC45NDk1QzEuNTQwNDMgMTkuNDM3NyAxLjY3NjA5IDE2Ljg1MDQgMy4zNDkzOSAxNS4xNzA2TDUuNzczMjMgMTIuNzM3MyIgc3Ryb2tlPSIjMUMyNzRDIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+DQo8L3N2Zz4=)
	}
	div.vkh_media_item_type_map div.vkh_media_item_prev {
		background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik01LjcgMTVDNC4wMzM3NyAxNS42MzUzIDMgMTYuNTIwNSAzIDE3LjQ5OTdDMyAxOS40MzI5IDcuMDI5NDQgMjEgMTIgMjFDMTYuOTcwNiAyMSAyMSAxOS40MzI5IDIxIDE3LjQ5OTdDMjEgMTYuNTIwNSAxOS45NjYyIDE1LjYzNTMgMTguMyAxNU0xMiA5SDEyLjAxTTE4IDlDMTggMTMuMDYzNyAxMy41IDE1IDEyIDE4QzEwLjUgMTUgNiAxMy4wNjM3IDYgOUM2IDUuNjg2MjkgOC42ODYyOSAzIDEyIDNDMTUuMzEzNyAzIDE4IDUuNjg2MjkgMTggOVpNMTMgOUMxMyA5LjU1MjI4IDEyLjU1MjMgMTAgMTIgMTBDMTEuNDQ3NyAxMCAxMSA5LjU1MjI4IDExIDlDMTEgOC40NDc3MiAxMS40NDc3IDggMTIgOEMxMi41NTIzIDggMTMgOC40NDc3MiAxMyA5WiIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPg0KPC9zdmc+)
	}

	div.vkh_media_items_docs .vkh_media_item_type_audio_playlist div.vkh_media_item_title,
	div.vkh_media_items_docs .vkh_media_item_type_link div.vkh_media_item_title,
	div.vkh_media_items_docs .vkh_media_item_type_map div.vkh_media_item_title {
		line-height: 44px;
	}

	div.vkh_media_items_docs div.vkh_media_item_title {
		position: absolute;
		top: 0;
		line-height: 60px;
		left: 60px;
		overflow: hidden;
    	width: calc(100% - 100px);
		white-space: nowrap;
	}
	div.vkh_media_items_docs div.vkh_media_item_del {
		display: none;
		cursor: pointer;
		position: absolute;
		top: 0;
		right: 0;
		line-height: 60px;
		padding: 0 10px;
		background: #b0b0b021;
		border: 0;
		border-radius: 0 4px 4px 0;
		color: black;
	}

	div.vkh_media_item:hover div.vkh_media_item_del {
		display: block;
	}
	div.vkh_media_items_prev div.vkh_media_item_title {
		color: black;
		position: absolute;
		bottom: 0;
		left: 0;
		background: #e4e4e4;
		font-size: 12px;
		padding: 0px 4px;
		white-space: nowrap;
		max-width: calc(100% - 8px);
		min-width: 40px;
		overflow-x: hidden;
	}
	div.vkh_media_items_prev div.vkh_media_item_title:empty {
		display: none;
	}

	.vkh_media_items_poll input[type="text"] {
		width: 100%;
	}
	.vkh_media_items_poll_answers > div {
		margin-bottom: 10px;
		position: relative;
	}
	.vkh_media_items_poll_answers > div > span {
		display: none;
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		line-height: 30px;
		padding: 0 10px;
		color: gray;
		cursor: pointer;
	}
	.vkh_media_items_poll_answers > div:hover > span {
		display: block;
	}
	.vkh_media_items_poll_label {
	    font-weight: 600;
    	margin: 10px 0;
	}
	.vkh_media_items_poll {
		position: relative;
	}
	.vkh_media_item_poll_del {
		display: none;
	    position: absolute;
		right: 0px;
		padding: 2px 4px;
		cursor: pointer;
	}
	.vkh_media_items_poll:hover .vkh_media_item_poll_del {
		display: block;
	}
	.vkh_media_items_poll_answers_add {
		display: none;
	}
	.vkh_media_items_poll_answers_add.show {
		display: block;
	}

	.vkh_media_icons > span {
		color: #929090;
		margin-right: 10px;
		width: 20px;
		height: 20px;
		display: inline-block;
	}
	.vkh_media_icons {
		margin-bottom: 10px;
	}
`).appendTo("head")},10);let VKH_media=function(){let e={};e.create=function(e,i){i=i||{};i.max_media=i.max_media||10;i.attachs=i.attachs||[];const l=function(){let e=s.querySelectorAll("div.vkh_media_item_type_photo, div.vkh_media_item_type_video, div.vkh_media_item_type_doc, div.vkh_media_item_type_audio, div.vkh_media_item_type_audio_playlist, div.vkh_media_item_type_link").length;let t=""!=s.querySelector(".vkh_media_items_poll").innerHTML?1:0;return e+t};const t=function(e){if(l()>=i.max_media){return}e=e||{};const a=e=>{let t=o.querySelector(".vkh_media_items_poll_answers");if(t.childNodes.length>=10){return}let a=ce("div",{innerHTML:`
						<input type="text" class="dark">
						<span>X</span>
					`});a.querySelector("input").value=e;a.querySelector("span").onclick=()=>{a.remove();o.querySelector(".vkh_media_items_poll_answers_add").classList.toggle("show",t.childNodes.length<10)};t.append(a);setTimeout(()=>{a.querySelector("input").focus()},10);o.querySelector(".vkh_media_items_poll_answers_add").classList.toggle("show",t.childNodes.length<10)};let o=s.querySelector(".vkh_media_items_poll");if(""!=o.innerHTML){return}o.innerHTML=`
				<div class="vkh_media_item_poll_del"><span>X</span></div>
				<div class="vkh_media_items_poll_label">Тема опроса</div>
				<div class="vkh_media_items_poll_title">
					<input type="text" class="dark">
				</div>
				<div class="vkh_media_items_poll_label">Варианты ответа</div>
				<div class="vkh_media_items_poll_answers"></div>
				<div class="vkh_media_items_poll_answers_add">
					<a href="#">Добавить вариант</a>
				</div>

				<div data-anonymous>
					Анонимный опрос
				</div>
				<div data-multiple>
					Выбор нескольких вариантов
				</div>
			`;o.querySelector(".vkh_media_item_poll_del").onclick=()=>{o.innerHTML=""};o.querySelector(".vkh_media_items_poll_answers_add > a").onclick=function(e){e.stopPropagation();a("");return false};if(e.title){o.querySelector(".vkh_media_items_poll_title input").value=e.title}VKH_checkbox.create(o.querySelector("div[data-anonymous]"),e.anonymous?true:false);VKH_checkbox.create(o.querySelector("div[data-multiple]"),e.multiple?true:false);if(e.answers&&e.answers.length>=2){each(e.answers,(e,t)=>{a(t)})}else{a("");a("")}setTimeout(()=>{o.querySelector(".vkh_media_items_poll_title input").focus()},20)};const r=function(e){if(l()>=i.max_media){return}let t=ce("div",{className:"vkh_media_item"});if(e.vk_owner_id){t.dataset.vk_owner_id=e.vk_owner_id}if(e.vk_id){t.dataset.vk_id=e.vk_id}if(e.vk_access){t.dataset.vk_access=e.vk_access}if(e.blob){t.dataset.blob_file=e.blob}if(e.file_name){t.dataset.file_name=e.file_name}if("photo"==e.type){addClass(t,"vkh_media_item_type_photo");if(e.orig){t.dataset.url_file=e.orig}t.innerHTML=`
					<div class="vkh_media_item_prev"><img src=""></div>
					<div class="vkh_media_item_title"></div>
					<div class="vkh_media_item_del"><span>X</span></div>
				`;t.querySelector("div.vkh_media_item_prev img").src=e.prev||e.blob;t.querySelector("div.vkh_media_item_title").innerText=e.file_name||"";s.querySelector("div.vkh_media_items_prev").append(t)}if("video"==e.type){addClass(t,"vkh_media_item_type_video");t.innerHTML=`
					<div class="vkh_media_item_prev">
						<div></div>
					</div>
					<div class="vkh_media_item_title"></div>
					<div class="vkh_media_item_del"><span>X</span></div>
				`;if(e.prev){t.querySelector("div.vkh_media_item_prev").append(ce("img",{src:e.prev}))}t.querySelector("div.vkh_media_item_title").innerText=e.file_name||"";s.querySelector("div.vkh_media_items_prev").append(t)}if("doc"==e.type){addClass(t,"vkh_media_item_type_doc");t.innerHTML=`
					<div class="vkh_media_item_prev"></div>
					<div class="vkh_media_item_title"></div>
					<div class="vkh_media_item_del"><span>X</span></div>
				`;t.querySelector("div.vkh_media_item_title").innerText=e.file_name||"";s.querySelector("div.vkh_media_items_docs").append(t)}if("audio"==e.type){addClass(t,"vkh_media_item_type_audio");t.innerHTML=`
					<div class="vkh_media_item_prev"></div>
					<div class="vkh_media_item_title"></div>
					<div class="vkh_media_item_del"><span>X</span></div>
				`;t.querySelector("div.vkh_media_item_title").innerText=e.title+" - "+e.artist;s.querySelector("div.vkh_media_items_docs").append(t)}if("audio_playlist"==e.type){addClass(t,"vkh_media_item_type_audio_playlist");t.innerHTML=`
					<div class="vkh_media_item_prev"></div>
					<div class="vkh_media_item_title"><span data-title></span><span style="position: absolute; top: 15px; left: 0; color: gray;">Плейлист</span></div>
					<div class="vkh_media_item_del"><span>X</span></div>
				`;t.querySelector("div.vkh_media_item_title span[data-title]").innerText=e.title;s.querySelector("div.vkh_media_items_docs").append(t)}if("link"==e.type){addClass(t,"vkh_media_item_type_link");t.innerHTML=`
					<div class="vkh_media_item_prev"></div>
					<div class="vkh_media_item_title"><span data-title></span><span style="position: absolute; top: 15px; left: 0; color: gray;" data-url></span></div>
					<div class="vkh_media_item_del"><span>X</span></div>
				`;t.dataset.url=e.url;t.querySelector("div.vkh_media_item_title span[data-title]").innerText=e.title;t.querySelector("div.vkh_media_item_title span[data-url]").innerText=e.url;s.querySelector("div.vkh_media_items_docs").append(t)}if("map"==e.type){addClass(t,"vkh_media_item_type_map");t.innerHTML=`
					<div class="vkh_media_item_prev"></div>
					<div class="vkh_media_item_title"><span>Местоположение:</span><span style="position: absolute; top: 15px; left: 0; color: gray;" data-coords></span></div>
					<div class="vkh_media_item_del"><span>X</span></div>
				`;t.querySelector("div.vkh_media_item_title span[data-coords]").innerText=e.lat+", "+e["long"];t.dataset.lat=e.lat;t.dataset["long"]=e["long"];s.querySelector("div.vkh_media_items_docs").append(t)}t.querySelector(".vkh_media_item_del").onclick=()=>{t.remove();VKH_Tooltip.closeAll()};VKH_Tooltip.create(t.querySelector(".vkh_media_item_del"),"Не прикреплять",{mode:"black",left:-2})};const a=function(a,o){const e=i.max_media-l();let t=0;if(a.length>e){t=a.length;a=Array.from(a).slice(0,e)}for(let t=0;t<a.length;t++){let e=new FileReader;e.onload=e=>{r({type:o,blob:e.target.result,file_name:a[t].name})};e.readAsDataURL(a[t])}if(t>a.length){vkh_func.alert(`Добавлено вложений: ${a.length} из ${t}`)}};let o=ce("div",{className:"vkh_media_icons",innerHTML:`
				<input type="file" multiple="multiple">
				<span data-upload_type="photo" data-upload_accept=".png, .jpg, .jpeg, .gif">
					<svg fill="none" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.5 5.5c.57 0 1-.2 1.34-.52.24-.24.43-.54.55-.74l.06-.1c.15-.23.26-.37.39-.47.11-.08.3-.17.66-.17h3c.36 0 .55.09.66.17.13.1.24.24.4.48l.05.09c.12.2.3.5.55.74.33.32.77.52 1.34.52.73 0 .99 0 1.19.04.9.18 1.59.88 1.77 1.77.04.2.04.46.04 1.19v3.45c0 .85 0 1.45-.04 1.9-.04.46-.1.72-.2.92-.22.42-.57.77-.99.98-.2.1-.46.17-.91.21-.46.04-1.06.04-1.91.04h-6.9c-.85 0-1.45 0-1.91-.04a2.4 2.4 0 0 1-.91-.2 2.25 2.25 0 0 1-.99-.99 2.4 2.4 0 0 1-.2-.91c-.04-.46-.04-1.06-.04-1.91V8.5c0-.73 0-.99.04-1.19.18-.9.88-1.59 1.77-1.77.2-.04.46-.04 1.19-.04zm3-3.5c-.64 0-1.14.16-1.54.46-.39.27-.62.63-.78.9l-.08.11c-.13.22-.2.34-.3.43-.06.05-.12.1-.3.1h-.09c-.61 0-1.03 0-1.4.07a3.75 3.75 0 0 0-2.94 2.95C1 7.38 1 7.8 1 8.42v3.56c0 .81 0 1.47.04 2 .05.55.14 1.03.37 1.47.36.7.93 1.28 1.64 1.64.44.23.92.32 1.47.37.53.04 1.18.04 2 .04H13.48c.81 0 1.47 0 2-.04a3.84 3.84 0 0 0 1.47-.37c.7-.36 1.28-.93 1.64-1.64.23-.44.32-.92.37-1.47.04-.53.04-1.19.04-2V8.41c0-.61 0-1.03-.07-1.4a3.75 3.75 0 0 0-2.95-2.94 7.5 7.5 0 0 0-1.4-.07h-.08c-.18 0-.24-.05-.3-.1-.1-.1-.17-.2-.3-.43l-.08-.12c-.16-.26-.4-.62-.78-.9-.4-.29-.9-.45-1.54-.45zm3.75 8.25a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0zm1.5 0a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0z" fill="currentColor" fill-rule="evenodd"></path></svg>
				</span> 
				<span data-upload_type="video" data-upload_accept=".avi, .mp4, .3gp, .mpeg, .mov, .mp3, .flv, .wmv">
					<svg fill="none" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M10 17a7 7 0 1 1 0-14 7 7 0 0 1 0 14zm-8.5-7a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0zm8.65 3.38 2.7-1.56a2.1 2.1 0 0 0 0-3.64l-2.7-1.56A2.1 2.1 0 0 0 7 8.44v3.12a2.1 2.1 0 0 0 3.15 1.82zm1.95-3.9c.4.23.4.8 0 1.04l-2.7 1.56a.6.6 0 0 1-.9-.52V8.44c0-.46.5-.75.9-.52z" fill="currentColor" fill-rule="evenodd"></path></svg>
				</span> 
				<span data-upload_type="doc" data-upload_accept="">
					<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M10.18 1.5H9c-.8 0-1.47 0-2.01.05-.63.05-1.17.16-1.67.41a4.25 4.25 0 0 0-1.86 1.86c-.25.5-.36 1.04-.41 1.67C3 6.1 3 6.86 3 7.82v4.36c0 .95 0 1.71.05 2.33.05.63.16 1.17.41 1.67a4.25 4.25 0 0 0 1.86 1.86c.5.25 1.04.36 1.67.4.61.06 1.37.06 2.33.06h1.36c.96 0 1.72 0 2.33-.05a4.39 4.39 0 0 0 1.67-.41 4.25 4.25 0 0 0 1.86-1.86c.25-.5.36-1.04.41-1.67.05-.62.05-1.38.05-2.33V8.32c0-.48 0-.73-.06-.96-.05-.2-.13-.4-.24-.58-.12-.2-.3-.37-.64-.72l-3.62-3.62a4.27 4.27 0 0 0-.72-.65 2 2 0 0 0-.58-.24c-.23-.05-.48-.05-.96-.05Zm5.32 10.65c0 1 0 1.7-.04 2.24a2.9 2.9 0 0 1-.26 1.1A2.75 2.75 0 0 1 14 16.7c-.25.13-.57.21-1.11.26-.55.04-1.25.04-2.24.04h-1.3c-1 0-1.7 0-2.24-.04a2.9 2.9 0 0 1-1.1-.26 2.75 2.75 0 0 1-1.21-1.2 2.94 2.94 0 0 1-.26-1.11c-.04-.55-.04-1.25-.04-2.24v-4.3c0-1 0-1.7.04-2.24.05-.53.13-.86.26-1.1A2.75 2.75 0 0 1 6 3.3c.25-.13.57-.21 1.11-.26C7.66 3 8.36 3 9.35 3H10v2.35c0 .4 0 .76.02 1.05.03.3.09.61.24.9.21.4.54.73.94.94.29.15.6.21.9.24.29.02.64.02 1.05.02h2.35v3.65ZM14.88 7 11.5 3.62v1.7c0 .45 0 .74.02.95.02.22.05.3.07.33a.75.75 0 0 0 .3.31c.05.02.12.05.33.07.22.02.51.02.96.02h1.7Z" clip-rule="evenodd"></path></svg>
				</span>
				<span data-add_poll>
					<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 20 20"><path d="M10.75 6.41a.75.75 0 0 0-1.5 0v7.18a.75.75 0 0 0 1.5 0V6.4ZM6.5 8.3a.75.75 0 0 1 .75.75v4.55a.75.75 0 0 1-1.5 0V9.04a.75.75 0 0 1 .75-.75Zm7.75 2.5a.75.75 0 0 0-1.5 0v2.8a.75.75 0 0 0 1.5 0v-2.8Zm-10.5-8.8c.8-.43 1.57-.61 3.38-.61h5.74c1.8 0 2.58.18 3.38.6a4.26 4.26 0 0 1 1.77 1.77c.42.8.6 1.57.6 3.38v5.74c0 1.8-.18 2.58-.6 3.38a4.26 4.26 0 0 1-1.77 1.77c-.8.42-1.57.6-3.38.6H7.13c-1.8 0-2.58-.18-3.38-.6a4.26 4.26 0 0 1-1.77-1.77c-.42-.8-.6-1.57-.6-3.38V7.13c0-1.8.18-2.58.6-3.38a4.26 4.26 0 0 1 1.77-1.77Zm3.38.89c-1.7 0-2.19.17-2.67.43-.5.26-.89.65-1.15 1.15-.26.48-.44.98-.44 2.67v5.74c0 1.7.18 2.19.43 2.67.27.5.66.89 1.16 1.15.48.26.98.43 2.67.43h5.74c1.7 0 2.19-.17 2.67-.43a2.76 2.76 0 0 0 1.15-1.15c.26-.48.43-.98.43-2.67V7.13c0-1.7-.17-2.19-.43-2.67a2.76 2.76 0 0 0-1.15-1.15c-.48-.26-.98-.44-2.67-.44H7.13Z" clip-rule="evenodd"></path></svg>
				</span>
			`});let n=o.querySelector('input[type="file"]');o.querySelectorAll("span[data-upload_type]").forEach(e=>{e.onclick=()=>{if(l()>=i.max_media){vkh_func.alert(`Максимальное количество вложений: ${i.max_media}`);return false}n.dataset.type=e.dataset.upload_type;n.accept=e.dataset.upload_accept;n.click()}});n.addEventListener("change",()=>{a(n.files,n.dataset.type)});o.querySelector("[data-add_poll]").onclick=()=>{if(l()>=i.max_media){vkh_func.alert(`Максимальное количество вложений: ${i.max_media}`);return false}t()};let s=ce("div",{className:"vkh_media_items",innerHTML:`
				<div class="vkh_media_items_prev"></div>
				<div class="vkh_media_items_docs"></div>
				<div class="vkh_media_items_poll"></div>
			`});each(i.attachs,(e,i)=>{if("poll"==i[0]){t({title:i[2][0],answers:i[2][5],anonymous:i[2][1],multiple:i[2][2]})}else if("photo"==i[0]){let a=null;each(["w","z","y","x","m","s","r","q","p","o"],(e,t)=>{if(undefined!==i[2][2][t]){a=i[2][2][t][0];return false}});let o=null;each(["z","y","x","r","q","p","o","m","s","w"],(e,t)=>{if(undefined!==i[2][2][t]){o=i[2][2][t][0];return false}});r({type:"photo",vk_owner_id:i[2][0],vk_id:i[2][1],vk_access:i[2][3],prev:o,orig:a})}else if("video"==i[0]){r({type:"video",vk_owner_id:i[2][0],vk_id:i[2][1],vk_access:i[2][4],prev:i[3]})}else if("doc"==i[0]){r({type:"doc",vk_owner_id:i[2][0],vk_id:i[2][1],vk_access:i[2][6],file_name:i[2][5]})}else if("audio"==i[0]){r({type:"audio",vk_owner_id:i[2][0],vk_id:i[2][1],vk_access:i[2][6],duration:i[2][2],artist:i[2][3],title:i[2][4],subtitle:i[2][5]})}else if("audio_playlist"==i[0]){r({type:"audio_playlist",vk_owner_id:i[2][0],vk_id:i[2][1],title:i[2][2]})}else if("link"==i[0]){r({type:"link",url:i[2][0],title:i[2][1],caption:i[2][2]})}else if("map"==i[0]){r({type:"map",lat:i[2][0],"long":i[2][1]})}});addClass(e,"vkh_media");e.append(o);e.append(s);VKH_Tooltip.create(o.querySelector('span[data-upload_type="photo"]'),"Фотография",{mode:"black",left:-5});VKH_Tooltip.create(o.querySelector('span[data-upload_type="video"]'),"Видеозапись",{mode:"black",left:-5});VKH_Tooltip.create(o.querySelector('span[data-upload_type="doc"]'),"Документ",{mode:"black",left:-5});VKH_Tooltip.create(o.querySelector("span[data-add_poll]"),"Опрос",{mode:"black",left:-5})};e.get=function(e){let o=[];let t=e.querySelector(".vkh_media_items_poll");if(t&&""!=t.innerHTML){let a={question:t.querySelector(".vkh_media_items_poll_title input").value.trim(),is_anonymous:VKH_checkbox.getSatus(t.querySelector("div[data-anonymous]"))?1:0,is_multiple:VKH_checkbox.getSatus(t.querySelector("div[data-multiple]"))?1:0,end_date:0,photo_id:0,background_id:0,add_answers:[]};t.querySelectorAll(".vkh_media_items_poll_answers input").forEach(e=>{let t=e.value.trim();if(t){a.add_answers.push(t)}});o.push(["poll",a])}e.querySelectorAll("div.vkh_media_items_prev > div").forEach(e=>{let t=e.dataset.vk_access?"_"+e.dataset.vk_access:"";if(e.classList.contains("vkh_media_item_type_video")){if(e.dataset.vk_owner_id){o.push(["video","vk",e.dataset.vk_owner_id+"_"+e.dataset.vk_id+t])}else{o.push(["video","blob",e.dataset.blob_file,e.dataset.file_name])}}else if(e.classList.contains("vkh_media_item_type_photo")){if(e.dataset.vk_owner_id){o.push(["photo","vk",e.dataset.vk_owner_id+"_"+e.dataset.vk_id+t,e.dataset.url_file])}else{o.push(["photo","blob",e.dataset.blob_file,e.dataset.file_name])}}});e.querySelectorAll("div.vkh_media_items_docs > div").forEach(e=>{let t=e.dataset.vk_access?"_"+e.dataset.vk_access:"";if(e.classList.contains("vkh_media_item_type_doc")){if(e.dataset.vk_owner_id){o.push(["doc","vk",e.dataset.vk_owner_id+"_"+e.dataset.vk_id+t])}else{o.push(["doc","blob",e.dataset.blob_file,e.dataset.file_name])}}else if(e.classList.contains("vkh_media_item_type_audio")){if(e.dataset.vk_owner_id){o.push(["audio",e.dataset.vk_id+"_"+e.dataset.vk_owner_id+t])}}else if(e.classList.contains("vkh_media_item_type_audio_playlist")){if(e.dataset.vk_owner_id){o.push(["audio_playlist",e.dataset.vk_owner_id+"_"+e.dataset.vk_id+t])}}else if(e.classList.contains("vkh_media_item_type_link")){o.push(["link",e.dataset.url])}});return o};e.getMapLat=function(e){return e.querySelector(".vkh_media_item_type_map")?.dataset?.lat||false};e.getMapLong=function(e){return e.querySelector(".vkh_media_item_type_map")?.dataset?.["long"]||false};return e}();var vf=e=>my_ext.plugins.list[e].vk.f,vp=e=>my_ext.plugins.list[e].vk.p;var my_ext_plugins_list={};my_ext_plugins_list["system"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},css:function(){return`

		.VKH_help_icon {
			margin: 0 20px 0 4px;
			position: relative;
		}
		.VKH_help_icon::after {
			content: "";
			-webkit-mask-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D%22none%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20width%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%238C8E94FF%22%3E%3Cpath%20d%3D%22m9.99998%206.25c-.58142%200-1.07186.39765-1.21067.93694-.10324.40114-.51213.64263-.91327.53939-.40114-.10325-.64263-.51213-.53938-.91327.30524-1.18594%201.3809-2.06306%202.66332-2.06306%201.51882%200%202.75002%201.23121%202.75002%202.75%200%201.21116-.6539%201.84041-1.1445%202.29829l-.0082.00764c-.478.44607-.772.72057-.8548%201.30017-.0586.41-.4385.6949-.84857.6364-.41005-.0586-.69497-.4385-.63639-.8486.15867-1.11068.80306-1.70843%201.25686-2.12939l.0676-.0628c.4469-.41712.668-.66287.668-1.20171%200-.69035-.5597-1.25-1.25002-1.25z%22%2F%3E%3Cpath%20d%3D%22m10%2015c.5523%200%201-.4477%201-1s-.4477-1-1-1c-.55228%200-1%20.4477-1%201s.44772%201%201%201z%22%2F%3E%3Cpath%20clip-rule%3D%22evenodd%22%20d%3D%22m10%201.5c-4.69442%200-8.5%203.80558-8.5%208.5%200%204.6944%203.80558%208.5%208.5%208.5%204.6944%200%208.5-3.8056%208.5-8.5%200-4.69442-3.8056-8.5-8.5-8.5zm-7%208.5c0%203.866%203.13401%207%207%207%203.866%200%207-3.134%207-7%200-3.86599-3.134-7-7-7-3.86599%200-7%203.13401-7%207z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
			mask-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D%22none%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20width%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%238C8E94FF%22%3E%3Cpath%20d%3D%22m9.99998%206.25c-.58142%200-1.07186.39765-1.21067.93694-.10324.40114-.51213.64263-.91327.53939-.40114-.10325-.64263-.51213-.53938-.91327.30524-1.18594%201.3809-2.06306%202.66332-2.06306%201.51882%200%202.75002%201.23121%202.75002%202.75%200%201.21116-.6539%201.84041-1.1445%202.29829l-.0082.00764c-.478.44607-.772.72057-.8548%201.30017-.0586.41-.4385.6949-.84857.6364-.41005-.0586-.69497-.4385-.63639-.8486.15867-1.11068.80306-1.70843%201.25686-2.12939l.0676-.0628c.4469-.41712.668-.66287.668-1.20171%200-.69035-.5597-1.25-1.25002-1.25z%22%2F%3E%3Cpath%20d%3D%22m10%2015c.5523%200%201-.4477%201-1s-.4477-1-1-1c-.55228%200-1%20.4477-1%201s.44772%201%201%201z%22%2F%3E%3Cpath%20clip-rule%3D%22evenodd%22%20d%3D%22m10%201.5c-4.69442%200-8.5%203.80558-8.5%208.5%200%204.6944%203.80558%208.5%208.5%208.5%204.6944%200%208.5-3.8056%208.5-8.5%200-4.69442-3.8056-8.5-8.5-8.5zm-7%208.5c0%203.866%203.13401%207%207%207%203.866%200%207-3.134%207-7%200-3.86599-3.134-7-7-7-3.86599%200-7%203.13401-7%207z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
			-webkit-mask-repeat: no-repeat;
			mask-repeat: no-repeat;
			-webkit-mask-position: center;
			mask-position: center;
			-webkit-mask-size: 100%;
			mask-size: 100%;
			background-color: var(--vkui--color_icon_secondary);
			width: 17px;
			height: 17px;
			position: absolute;
			top: 0;
			left: 0;
			opacity: 1;
			cursor: pointer;
			transition: opacity .15s ease-out;
		}

		div.radiobtn {
			-moz-user-select: none;
			-khtml-user-select: none;
			user-select: none; 
			margin-bottom: 8px;
		}



		div.vkh_leftboard + div {
			display: none;
		}
		div.vkh_leftboard.hide + div,
		div.vkh_leftboard.on.hide.on + div {
			display: none;
		}
		div.vkh_leftboard.on + div {
			display: block;
		}
			
		div.leftborder {
			border-left: 3px solid #e8e8e8;
			padding-left: 15px;
			margin-left: 5px;
		}
		.settings_tt {
			width: 215px
		}
		.my_ext_icon_five { 
			display: inline-block; 
			width: 48px; 
			height: 48px; 
			background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHtUlEQVR4nO2ZeVCW1xXGT1VUgohLUNHgrlMTp1Pr2EzT6TQzWca22RARBIw1iVVxSdo6oVaT2qY1ahorMdamVRMtgguIgKAIRBaDkoBLkIlg3UATtbU0CQm2hu/XOe+5ojZ/lo/gDHfmHdD5Pt/z3PMs515FOlbHan+LGPk3kyRXbtfF04L3TJVmpslguZ0WEyWUOQI/E5gtECsQIWFyuyyipYIFAksFlggkWCfkdlnEio+FAisFXhH4pcAsgUmSLO198bgM9bi/WGC1wHqB5QI/F4gTn7T3RYxcZb6jzzqBLQJ/EfiVwEyB6dJL2usiQn7k7f7zbtc3CmzrbCB+L/CcJ+aSls9HyiPSXhbjJcDj/rNu95MENgtsD4DUTrDBaWGafNHynXhp9h6Rr321xX9fuhAtzZ51Lnbi/ZPA1s6Q3h22BUCyo9G0GzpghviYeyuoti9+vnQjRpo9fv9C4HcCa9zup3WFXT0grTukCPxW4Bmh5bszxccigXkCUfLPr4Y2mrTPCJ5tviTwmuN+SifIuAOye0JGEGztAisE7VLL9+c5UEudzUZIYtsCmCLXvBcvdEWobb6p1BHY0RWyQiCnF2T2gO1d4VXBc6gICWOSpHjWutrpRfUx/QY4/xcfIYeZ4caF68Xrzqeq83SBjEDI7QN77oTsEEjvBn9wn1exP+00sc7R7WUHLlKy/F98vIzkSWeLWsQqMZfRnVfBqnB19/eGQl4/yO1rdPqjwAsu1Ba5lN6koDuZ6FVDT7ZB2DFFmrwhLVGM15q2Kc4ytfiMYNjdFwoGQH5/68KuIKOX5sEy9/MNBR1gHdvsOqlm8JAE+a/4eAkiTuCn7oWvu7TVItIDIUuL7wN7+8Hbg6BwoHUhs6fR66+Oapsc6PTuppctzn51CIyUl/wH4AnZ6LlOonvhmy5t1Sp1l7N7GXUKwqB4CBSFQ34Y7A6xQjUbtnayn2kBJnAFoTRa5QBMlir/AYiST7zwedH5ve7ijm6QGQS7exld8gfA/nAoHQ6lQ+HtuyCnj3Voh9txLXpXsNnszjsM0Gon8ig55U8AzR6A37i01d3XArJc8fv6G3VKhkPZaCgdAUVDYE+o0Sujh4VbVk/IvdNA69+ldrEOKDWjpM5/AOLE57V5mXOe636vTpM3AAoGQfFQKBsJ5ePg4CgoHWbAtAtasNIsp/cNh8oMhtTOlhPqbJMlzX8AporPa/PLTojK/d29YV8/E6zy/p2R8N634MgD8N44+7MCyws1cee5TqlO9oQalVKco+np7RGZ4D8A0eLzdklfptan/q7U8UQ7GA4Mh/J74NhEqI6Gow/BodGwf7CJWT9XMBAKw00n+/rZqLHZdXWmH9KYyZJ+E4BrXhCtcJaofM5Xywy34g+OgcP3Q3U81CZAdSxU3Gs0Kg63zxUNhpKhpo29CiDQ6Ki2/JQBYIocaz0APxaIllXe7zHyn5YOXAewLwxKRsA7o6Hyu1AdCbXPwpmlUDMPjj1sglaAJcPsOTASShRAKOwINEPQC4DpAjHyoc5YrQdAZxQtOlaaW0Js5XUAwZa4B0ZB5b1Q9RjUzIGzv4b6tXD6RaiOg/JvGoiyUXBwNJSPMYvd09dCcK07SyS44TCxNQEkuPYucsUvcqNAsuuA2qYWdHQi1DwFZ16A82/ApRSoT4ITP4Ej9xuVKsYbxSq/bYLP6W0Wuta9Y6nr7vOtCWC6+LzBK8m5jz76Qh0N1AILB0HFONvpM4vhfBJcTocrhXA5Gf62EKpjoOpxOB4D1dOg8j4TcWawhdh6F4yvuxkpoRWHOmKkwTt4vOW8X5/NLsS0AHWVwxOgdhbUrYCLW+BfRfDpUbiSa1qoXQA18+H0EqiZZZ0oDLNM0FFbN0PnIT346L8dJTWtByBO7vZo402cXY2zGmA7u0NOCOQPhIoJcHI+XFgPV/Kh8QNoOgsfH4L6NXBuOVxYY7+fmA0H77ZsyNVJNdhmIh34NFe0EyKdWg2AB2KW+Lwp0hsbQmw4y+5tItRZp/wb5jwXk+GTI9B0Dq7WQ+P7cGkrXNwO/8iG82uheiqUjTE7zQ+zLMjrbwcg3ZgFfjgTEC1ZnsD0Bd7AFmZDmwaS+vm7Y6EmAS5ug89OWvH6fF4LDSXQWAkfl0Ldq6YHFbQmdOkIKB7u9NDTTmiR8oNWB+CBmC0+T2Dagf1DbNrUIsq/DkcfgJq5cDkVms7cAKCdaDoNV89BQzGcfQVqZsPxCDjyIBz+Hhy6xw4+StHZfrwEJl7u8y6u1P81QZUGVU/AiZlwciHULYO/Z9wK4GYgDQXw4QaoWwmnVNhz4f2JUDQMtgdakPn7kosoSfPOteoURXfZrHMqET7aYBT5/CQ01X0ZwNU6aKyChv1wOQ3qVsEHM6BsLOwMMv+PlfF+Lf4mELu8+08VtWZA1aOWvFcKzHm+VPxNID49Bh+9BSfmQPlYczW9GIiVB9uk+BYQsTJew8a7xE0Phnc1B56DS1ugsdY4/7/Ff3YcLrwG1ZNh3yD4s5fsPr2abNPibwEyVQrV9rykVlqpmxx/GE4tgfp1ZqvnkizIKr9jh5qN7kgaJ5ukvSymyA+ZIde8HVU+6/FQ74HUtTSYlrf8H8EX7epavWN1rI7VseT/Xf8FZJqZGyGZ0kQAAAAASUVORK5CYII=') 50% 50% no-repeat; 
			background-size: 100%; 
		}


		div.VKH_profile_right_menu_item:first-child {
			margin-top: 16px;
		}
		div.VKH_profile_right_menu_item {
			background: #fff;
			margin-bottom: 10px;
			padding: 10px;
			border-radius: 10px;
			border: 1px solid #e1e3e6;
			text-align: center;
			cursor: pointer
		}
		div.VKH_profile_right_menu_item:hover {
			background: #f9f9f9;
		}
		div.VKH_profile_right_menu_item.VKH_profile_right_menu_item_no_hover:hover  {
			background: #fff;
		}
		body[scheme="vkcom_dark"] div.VKH_profile_right_menu_item.VKH_profile_right_menu_item_no_hover:hover  {
			background: #282828;
		}
		body[scheme="vkcom_dark"] div.VKH_profile_right_menu_item {
			background: #252525;
			border-color: #343434;
		}
		body[scheme="vkcom_dark"] div.VKH_profile_right_menu_item:hover {
			background: #282828;
		}

		#my_ext_leftMenu li a span {
			color: black;
		}
		body[scheme="vkcom_dark"] #my_ext_leftMenu li a span {
			color: #c8c8c8;
		}
		


		.wallToStories_bg_box {
			width: 100%;
			position: relative;
		}
		.wallToStories_bg_box div[data-items] {
			width: 100%;
		}
		.wallToStories_bg_box div[data-items] > div {
			width: 50px;
			height: 89px;
			border-radius: 10px;
			display: none;
			margin: 0px;
			border: 2px solid white;
			background-size: 50px 89px;
		}
		.wallToStories_bg_box div[data-items] > div.wallToStories_bg_box_select {
			border-color: black;
		}
		
		.wallToStories_bg_box div[data-items] > div:nth-child(-n+5) {
			display: inline-block;
		}
		.wallToStories_bg_box.wallToStories_bg_box_show_all_bg div[data-items] > div {
			display: inline-block;
		}
		.wallToStories_bg_box.wallToStories_bg_box_show_all_bg a[data-show-all] {
			display: none;
		}






		.lds-spinner {
			color: official;
			display: inline-block;
			position: relative;
			width: 80px;
			height: 80px;
		  }
		  .lds-spinner div {
			transform-origin: 40px 40px;
			animation: lds-spinner 1.2s linear infinite;
		  }
		  .lds-spinner div:after {
			content: " ";
			display: block;
			position: absolute;
			top: 3px;
			left: 37px;
			width: 6px;
			height: 18px;
			border-radius: 20%;
			background: #d5d5d5;
		  }
		  .lds-spinner div:nth-child(1) {
			transform: rotate(0deg);
			animation-delay: -1.1s;
		  }
		  .lds-spinner div:nth-child(2) {
			transform: rotate(30deg);
			animation-delay: -1s;
		  }
		  .lds-spinner div:nth-child(3) {
			transform: rotate(60deg);
			animation-delay: -0.9s;
		  }
		  .lds-spinner div:nth-child(4) {
			transform: rotate(90deg);
			animation-delay: -0.8s;
		  }
		  .lds-spinner div:nth-child(5) {
			transform: rotate(120deg);
			animation-delay: -0.7s;
		  }
		  .lds-spinner div:nth-child(6) {
			transform: rotate(150deg);
			animation-delay: -0.6s;
		  }
		  .lds-spinner div:nth-child(7) {
			transform: rotate(180deg);
			animation-delay: -0.5s;
		  }
		  .lds-spinner div:nth-child(8) {
			transform: rotate(210deg);
			animation-delay: -0.4s;
		  }
		  .lds-spinner div:nth-child(9) {
			transform: rotate(240deg);
			animation-delay: -0.3s;
		  }
		  .lds-spinner div:nth-child(10) {
			transform: rotate(270deg);
			animation-delay: -0.2s;
		  }
		  .lds-spinner div:nth-child(11) {
			transform: rotate(300deg);
			animation-delay: -0.1s;
		  }
		  .lds-spinner div:nth-child(12) {
			transform: rotate(330deg);
			animation-delay: 0s;
		  }
		  @keyframes lds-spinner {
			0% {
			  opacity: 1;
			}
			100% {
			  opacity: 0;
			}
		  }
		`},vk:{messages:{ext_pluginToggle:function(e){my_ext.plugins.toggle(e.plugin_name,e.plugin_status)},my_ext_doneBox:function(e){vkh_func.alert(e.text)},my_ext_alertError:function(e){vkh_func.alert("Ошибка",e.text)}},on:function(){},f:{}}};my_ext_plugins_list["vkh"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},css:function(){return`
			#ext_vkh_disconnect {
				display: block;
				position: fixed;
				bottom: 20px;
				left: 20px;
				z-index: 999;
				background-color: #ff6565;
				padding: 5px 10px;
				border-radius: 5px;
				letter-spacing: 1px;
				font-size: 20px;
				color: rgb(245,245,245);
			}
		`},vk:{messages:{ext_vkh_disconnect:function(e){let t=geById("ext_vkh_disconnect");if(!t){t=ce("div",{id:"ext_vkh_disconnect",innerText:`Восстанавливаем соединение с сервером ${ext_name_string}... Ожидайте...`});document.body.after(t)}t.style.display=e.connect?"none":"block"}}}};my_ext_plugins_list["accounts"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},css:function(){return`
			#VKH_vk_proxy {
				display: block;
				position: fixed;
				bottom: 20px;
				left: 20px;
				color: red;
				z-index: 11;
			}
			.proxy_log_content_cat_top {
				overflow-wrap: break-word;
				color: red;
			}
			.proxy_log_content_cat_sub {
				color: gray;
				margin-bottom: 20px;
			}
		`},vk:{on:function(){document.body.after(ce("div",{id:"VKH_vk_proxy",innerText:"...",onclick:function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"my_ext_get_proxy_log"},l=>{let e=ce("div",{innerHTML:`
								Выберите вкладку:
								<div id="proxy_log_tab_selector"></div>

								<h4 class="VKH_subheader_border">Информация по проксированию запросов с вкладок</h4>
								<div id="proxy_log_tab_content"></div>
							`});MBox.create({title:`Проксирвоание запросов через расширение ${ext_name_string}`,content:e,btns:[{close:true,html:"Закрыть"}]});let o=[];each(Object.keys(l.tabs),(e,t)=>{t=Number(t);let a=t;if(-1==t){a="Фоновые запросы"}else if(t==Number(l.tab_id)){a=`${t} - текущая вкладка`}if(-1==t||t==Number(l.tab_id)){o.unshift([t,a])}else{o.push([t,a])}});VKH_selector.create("proxy_log_tab_selector",o,{selectItem:l.tab_id||undefined,onChange:e=>{let a=false;let o=ce("div");let i="";each(l.tabs[e],(e,t)=>{if(false===a||JSON.stringify([t[0],t[1],t[2]])!==JSON.stringify([a[0],a[1],a[2]])){a=t;i=ce("div",{className:"proxy_log_content_cat_sub",dataset:{cnt:0}});let e=ce("div",{className:"proxy_log_content_cat_top",innerText:JSON.stringify(t)});o.append(e);o.append(i)}else{i.dataset.cnt=Number(i.dataset.cnt)+1;i.innerText="Проксировано запросов по данному правилу: "+i.dataset.cnt}});geById("proxy_log_tab_content").innerHTML="";geById("proxy_log_tab_content").append(o);MBox.updatePosition()}})});return false}}));if(window.location.pathname=="/auth"&&("https://id.vk.com"==window.location.origin||"https://id.vk.ru"==window.location.origin)&&/(state=my_ext_add_account;|state=my_ext_readding_account;)/.test(decodeURIComponent(window.location.href))){my_ext.messages.sendToBG({type:"my_ext_add_accounts_get_opts"},e=>{let l=e.proxy_auth||{};my_ext.mutationObserver.add("my_ext_add_accounts",function(){jQuery(".vkc__AuthRoot__contentIn form:not([my_ext_add_accounts])").each(function(){jQuery(this).attr("my_ext_add_accounts","1");let t=jQuery("<div>").html(`

								<style>

									.vkc__StepInfo__avatar {
										display: none;
									}
									.my_ext_add_account_proxy_box {
										font-size: 14px;
										background: #80808024;
										border-radius: 10px;
										margin-bottom: 10px;
										padding: 10px;
										margin-top: -6px;
										display: none;
									}
									.my_ext_add_account_proxy_box.show {
										display: block;
									}
									.my_ext_add_account_proxy_box_links {
										margin-top: 4px;
									}
									.my_ext_add_account_proxy_box_links > span {
										margin-top: 10px;
										color: #447bba;
										text-decoration: unset;
										font-size: 12px;
										font-weight: 500;
										cursor: pointer;
									}
									.my_ext_add_account_proxy_box_links > span:hover {
										color: #2c5e98;
									}

									.my_ext_add_account_proxy_box span[data-proxy-label] {
										color: red; word-break: break-all;
									}
								</style>

								<div style="position: relative;">

									<div class="my_ext_add_account_proxy_box" data-proxy-used>
										Аккаунт будет добавлен через прокси:<br>
										<span data-proxy-label></span>
										<div class="my_ext_add_account_proxy_box_links">
											<span class="my_ext_add_account_proxy_set">Указать другие прокси</span><br>
											<span class="my_ext_add_account_proxy_reset">Добавить аккаунт без прокси</span>
										</div>
									</div>

									<div class="my_ext_add_account_proxy_box" data-proxy-none>
										Аккаунт будет добавлен без прокси.
										<div class="my_ext_add_account_proxy_box_links">
											<span class="my_ext_add_account_proxy_set">Указать прокси для добавления аккаунта</span>
										</div>
									</div>

									<div class="my_ext_add_account_proxy_box" style="display: block;">
										<a href="${ext_url}/redirect/?type=account_add_multi" target="_blank" style="color: #e64646; font-size: 14px; text-align: center; font-weight: 500;">Добавить аккаунты списком</a>
									</div>

									<div style="margin-bottom: 10px">
										<label style="padding: 10px 10px 10px 0; font-size: 14px">
											<input type="checkbox" name="disabled_counters"> Скрыть <a href="${ext_url}/pages/disabled-counters-about.html" target="_blank" onclick="event.stopPropagation()" style="color: #447bba;">счетчики</a> аккаунта
										</label>
									</div>

								</div>
							`);let e=e=>{if(t.hasClass("is_click")){return}t.addClass("is_click");my_ext.messages.sendToBG({type:e},()=>{t.removeClass("is_click")})};t.find("span.my_ext_add_account_proxy_set").click(()=>{e("my_ext_add_account_proxy_set")});t.find("span.my_ext_add_account_proxy_reset").click(()=>{e("my_ext_add_account_proxy_reset")});let i=1;let a=decodeURIComponent(window.location.href);let o=a.match(/(state=my_ext_add_account(_auto)?(;(0|1))?|state=my_ext_readding_account;[0-9]+(;(0|1))?)/)?.[0];if(o){let e=o.split(";");let t=e[e.length-1];i=t==="1"?1:t==="0"?0:1}t.find('input[type="checkbox"][name="disabled_counters"]').prop("checked",1===i);t.find('input[type="checkbox"][name="disabled_counters"]').change(function(){i=this.checked?1:0;let o=decodeURIComponent(window.location.href).match(/(state=my_ext_add_account(_auto)?(;(0|1))?|state=my_ext_readding_account;[0-9]+(;(0|1))?)/)?.[0];if(o){let e=o.split(";");let t=e[e.length-1];if(t==="1"||t==="0"){e[e.length-1]=i}else{e.push(i)}let a=decodeURIComponent(window.location.href).replace(/(state=my_ext_add_account(_auto)?(;(0|1))?|state=my_ext_readding_account;[0-9]+(;(0|1))?)/gi,e.join(";"));if(window?.init?.data?.oauth?.state){window.init.data.oauth.state=e.join(";")}history.pushState(null,null,a)}});if(l&&l.ip&&l.port){let e=[l.ip,l.port];if(l.username&&l.password){e.push(l.username);e.push(l.password)}t.find("span[data-proxy-label]").text(e.join(":"));t.find("div[data-proxy-used]").addClass("show")}else{t.find("div[data-proxy-none]").addClass("show")}jQuery(this).find("section").after(t);return})})});return}},messages:{ext_proxy_editing:function(e){let t=geById("VKH_vk_proxy");if(t){t.innerText=e.host&&e.port?e.host+":"+e.port:"..."}},ext_add_account_auto_data:function(l){if(window.my_ext_auto_add_is_start){return}window.my_ext_auto_add_is_start=true;if(window.location.pathname=="/auth"&&("https://id.vk.com"==window.location.origin||"https://id.vk.ru"==window.location.origin)&&/state=my_ext_add_account_auto/.test(window.location.href)){if(undefined!==l.is_disabled_counters){let o=l.is_disabled_counters;let i=decodeURIComponent(window.location.href).match(/(state=my_ext_add_account(_auto)?(;(0|1))?|state=my_ext_readding_account;[0-9]+(;(0|1))?)/)?.[0];if(i){let e=i.split(";");let t=e[e.length-1];if(t==="1"||t==="0"){e[e.length-1]=o}else{e.push(o)}let a=decodeURIComponent(window.location.href).replace(/(state=my_ext_add_account(_auto)?(;(0|1))?|state=my_ext_readding_account;[0-9]+(;(0|1))?)/gi,e.join(";"));if(window?.init?.data?.oauth?.state){window.init.data.oauth.state=e.join(";")}history.pushState(null,null,a)}}let a=()=>{let o=false;let t=false;let i=e=>{if(false!==t){return}t=true;my_ext.messages.sendToBG({type:"my_ext_auto_add_error",details:{error:e}})};let a=false;my_ext.mutationObserver.add("my_ext_add_accounts_auto",function(){let e=l.vkh_auto_login.match(/^\+?([0-9]+)$/)?.[1];let t=e?"phone":"email";if("phone"==e){l.vkh_auto_login=`+${e}`}jQuery('input[name="login-view"][value="phone"]:not([my_ext_add_accounts_auto])').each(function(){jQuery(this).attr("my_ext_add_accounts_auto","1");ge('input[name="login-view"][value="'+t+'"]').click();a=true});if(a){jQuery('input[name="login"]:not([my_ext_add_accounts_auto])').each(function(){jQuery(this).attr("my_ext_add_accounts_auto","1");let t=this;let a=jQuery(this);setTimeout(()=>{let e=new DataTransfer;e.setData("text/plain",l.vkh_auto_login);t.dispatchEvent(new ClipboardEvent("paste",{dataType:"text/plain",data:l.vkh_auto_login,clipboardData:e,bubbles:true}));setTimeout(()=>{let t=a.closest("form");if(t){let e=t.find('button[type="submit"]:first');if(e){o=setTimeout(()=>{i("Не удалось найти поле для ввода пароля. Возможно логин/телефон введен не верно.")},4e3);e.click();return}}i("Не удалось найти и нажать кнопку ПРОДОЛЖИТЬ")},1e3)},1e3)})}jQuery('input[name="password"]:not([my_ext_add_accounts_auto])').each(function(){jQuery(this).attr("my_ext_add_accounts_auto","1");clearInterval(o);let e=this;let a=jQuery(this);setTimeout(()=>{e.value=l.vkh_auto_pass;setTimeout(()=>{let t=a.closest("form");if(t){let e=t.find('button[type="submit"]:first');if(e){o=setInterval(()=>{i("Возникла ошибка. Возможно логин или пароль введен не верно, установлена 2FA защита, либо отобразилась каптча. Попробуйте добавить этот аккаунт в ручную.")},4e3);e.removeAttr("disabled").click();return}}i("Не удалось найти и нажать кнопку ПРОДОЛЖИТЬ после ввода пароля")},1e3)},1e3)})})};if(l.vkh_auto_prx_ip){my_ext.messages.sendToBG({type:"my_ext_add_accounts_get_opts"},e=>{let t=e.proxy_auth||{};if(l.vkh_auto_prx_ip!=t?.ip||l.vkh_auto_prx_port!=t?.port||l.vkh_auto_prx_user&&l.vkh_auto_prx_user!=t?.username||l.vkh_auto_prx_pass&&l.vkh_auto_prx_pass!=t?.password){setTimeout(()=>{my_ext.messages.sendToBG({type:"my_ext_add_account_proxy_set"})},1e3);return}a()});return}a()}}}}};my_ext_plugins_list["control"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},css:function(){return`
			#my_ext_control_msg svg {
				color: #848484;
			}
			#my_ext_control_msg {
				background-color: transparent;
			}
			#my_ext_control_msg > a:hover {
				background-color: var(--steel_gray_200_alpha12);
			}
			
			#my_ext_control_msg.active > a {
				background-color: var(--steel_gray_200_alpha12);
			}

			#my_ext_control_msg.has_notify #my_ext_control_msg_noti_count {
				display: block;
			}
			#my_ext_control_msg_noti_count {
				display: none;
			}

			#my_ext_control_msg_content_tasks_noti {
				max-height: 525px;
				height: auto;
				overflow: auto;
			}

			#my_ext_control_msg_content_tasks .s_tabs > .noti nobr {
				color: red;
				font-weight: 600;
			}

			.control_log_error_item {
				padding: 3px 0;
			}
			.info_error {
				display: none;
				border: 1px solid red;
				padding: 5px;
				overflow: auto;
			}

			.vkh_control_task_item {
				height: 51px;
				width: 100%;
				border-bottom: 1px solid #e7e8ec;
			}


			.vkh_control_task_item:hover {
				background: #aa6d6d03;
			}

			.vkh_control_task_item.noti_no_read > .block > .title {
				color: red;
			}

			.vkh_control_task_item:nth-last-of-type(1) {
				border-bottom: none;
			}
			.vkh_control_task_item > .icon {
				float: left;
			}
			.vkh_control_task_item > .icon * {
				margin: 10px 10px 10px 0;
				height: 30px;
				width: 30px;
			}
			.vkh_control_task_item > .block {
				padding: 11px 10px 11px 40px
			}
			.vkh_control_task_item > .block > .title {
				font-weight: 600;
				color: #000;
			}
			.vkh_control_task_item > .block > .info {
			}
			.vkh_control_task_item > .block > .progress_box {
				float: right;
				margin-top: 2px;
				font-size: 20px;
				color: gray;
			}

			#my_ext_control_msg_content_tasks_local {
				max-height: 600px;
				overflow: auto;
			}
		


			#my_ext_control_fast_list {
				z-index: 999;
				position: absolute;
				top: 40px;
				left: 0px;
				width: 470px;
			}  	
			#my_ext_control_fast_list > div {
				margin-bottom: 10px;
				font-size: 15px;
				display:none;
				padding: 10px;
				border-radius: 6px;
				max-width: 470px;
				width: auto;
				left: 425px;
				background: #fff;
				z-index: 801;
				border: 1px solid #c5d0db;
				border-top: none;
				box-shadow: 0 0px 10px 0 rgba(0,0,0,.3);
				opacity: 1;
				cursor: default;
				pointer-events: auto;
			}	
			#my_ext_control_fast_list > div > span.icon {
			}
			#my_ext_control_fast_list > div > span.text {
				z-index: 99;
				margin-left: 7px;
			}


			#my_ext_control_msg_content:after {
				border-width: 5px;
				margin: 0 -5px;
				border-bottom-color: #fafbfc
			}

			#my_ext_control_msg_content {
				visibility: visible;
				opacity: 1;
				display:none;

				color: #656565;
				position: absolute;
				width: 470px;
				left: 0px;
				top: calc(var(--header-height) + 1px);
				pointer-events: auto;
				background: var(--white);
				border: 1px solid var(--steel_gray_140);
				border-top: none;
				border-radius: 0 0 4px 4px;
				box-shadow: 0 20px 40px 0 rgb(0 0 0 / 30%);
				cursor: default;
				transition: opacity 100ms linear,top 100ms linear,visibility 100ms linear;
				z-index: 800;
			}
			body[scheme="vkcom_dark"] #my_ext_control_msg_content {
				background: #232323;
				border-color: #5a5a5a;
			}
			#my_ext_control_msg_content > div[id^="my_ext"] {
				padding: 10px 20px;
			}

			#vkh_control_noti_more {
				margin-top: 10px;
				text-align: center;
			}		

			#my_ext_control_msg_content_tasks div.my_ext_control_tab span.control_tab_count_event {
				display: none;
				padding-left: 0px;
				font-size: inherit;
				color: inherit;
			}	
			#my_ext_control_msg_content_tasks div.my_ext_control_tab.noti span.control_tab_count_event {
				display: inline;
			}	

						
			#my_ext_control_buy_logout {
				display: none;
			}
			#my_ext_control_buy_logout .btns > div {
				width: 120px;
				display:inline-block;
			}
			#my_ext_control_buy_logout .btns > div.btn_green {
				background: #008e00;
				color: #e1f7e1;
			}
			#my_ext_control_buy_logout .btns > div.btn_green:hover {
				background: #008000;
			}
			#my_ext_control_buy_logout .btns > div.btn_red {
				background: #b90000;
				color: #ffecec;
			}
			#my_ext_control_buy_logout .btns > div.btn_red:hover {
				background: #a20000;
			}	
		
		
		
			div.control__log_box__content {
				font-size: 15px;
			}
			div.control__log_box__content ul {
				padding-left: 20px;
			}
			div.control__log_box__content li {
				margin-top: 5px;
			}
	
			div.control__log_box__content li > span.control__log__text {
			}
			div.control__log_box__content .control__log__style_default {
			}
			div.control__log_box__content .control__log__style_wait {
			}

			div.control__log_box__content li > div.control__log__more_link {
				display:inline-block;
			}
			div.control__log_box__content li > div.control__log__more_details {
				display:none;
				padding: 5px 10px;
				background-color: rgba(0,0,0,.1);
			}
			div.control__log_box__content li > div.control__log__more_link.control__log__more_link_hr::before {
				content: "|";
				color: #777;
				margin: 5px;
			}

			div.control__log_box__content .control__log__style_success::before {
				content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAaBJREFUOI2Nkr1Lm1EUxn/n5lq01dIOLlIcmmox6urYxUGMVXDQobRDKS5OfneUjm1Q/wRdFAQH8SMuQrs4ODgY21CwIKY4CA6C9kXI+97jEBLfmKTmbOc8z++5HxyhQnVujb1UMVEAY+VPqmfupJxPirrZWRPr+vdJRKeA1rDklN8R0cTP3vlFBC0JiH0frVevbs0IPZVulUsiWevqhw4GvngABgBFqoJzRNyz16to7nAD0LEz8bEquJDB2/btyfeFgEBluhrwTWNb6CVuCkBiG5+bxfqnD8ETr/vYPT8idZkpzAIJmozabEvY+PzRk7JwxrsoggGsSqu5b1ZVRqLdJfDa3/2SYBUjVvyaY6xfGF5mPbIuYCTaTYOtrQgDWN8dm/TA1wzOpcPC0skPntU85tq/qQg751KH/QtnFkAjkhBlMWxYOd0rC+YrYkhAfhMViSXHN0VM33+pu1r/FZ8bhPwmCloXPB12sPUgqmw0XLl3+VbuidKeHP+AMA2mIyw551Ji5Fs6Pr8cnhcHhKozOfPCSfAKcr992L9wVs53C/7TmVZYtZB1AAAAAElFTkSuQmCC");
				height: 16px;
				width: 16px;
				position: absolute;
				margin-left: -22px;
			}
			div.control__log_box__content .control__log__style_error::before {
				content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAT1JREFUOI2dk79qwlAUxr9zcKmxbyAWh0IIDqJrcchkX6ODrn2TDAWRPEkyKKVzBxHJkKFoySP0mlLhnA5NbIgmpf6my73n+853/xFKRLY9UJEpAy6Am2x6q8xLYZ73omhVrKd88DocNpvGPBHwUDYtIiL+9X7/2EmS9GiQiUMC7urER1RfLGPGnSRJGQCyzidiy/Nged6pAdHoo9XyAIAj2x78FfscBEw3jtNnFZn+V5zDIhPOTvsiFHAZv1d1SYIuXyrOaQDYArg9t3gIw1qxML81lHlJFQZfQVBrwKoLFuZ5VUHlO8ggVZ97UbQSEf9cwSEMq7ehOrPjeE0A8N5uXxnLCkA0qs2cIcBzM03vu7vdJwNAJ0lSy5hxVZJy51wMFH5jzsZx+iwyUcBlkS7wc9qsuiBV347jdbH+G/fth7AzHdiJAAAAAElFTkSuQmCC");
				height: 16px;
				width: 16px;
				position: absolute;
				margin-left: -22px;
			}
				
			#my_ext_control_msg_content_tasks .s_tab3 {
				color: var(--vkui--color_text_primary);
				line-height: 130%;
				max-width: 230px;
				height: 15px;
				overflow: hidden;
				text-overflow: ellipsis;
				padding: 0 3px;
			}

			#my_ext_control_msg_content_tasks .s_tab2 {
				padding: 12px 3px 11px;
				background-color: transparent;
				color: var(--vkui--color_text_subhead);
				line-height: 130%;
				border-radius: var(--vkui--size_check_border_radius--regular);
				display: block;
			}
			#my_ext_control_msg_content_tasks .s_tab2:hover {
				background-color: var(--vkui--vkontakte_background_hover_alpha);
				text-decoration: none;
			}

			#my_ext_control_msg_content_tasks [data-type] {
				float: none;
				display: inline-block;
				margin-bottom: -1px;
				padding: 0;
				margin-right: 4px;
				cursor: pointer;
				font-size: 12.5px;
				position: relative;
			}
			#my_ext_control_msg_content_tasks [data-type].summary_tab_sel {
				border-bottom: 2px solid var(--vkui--color_stroke_accent);
			}

			#my_ext_control_msg_content_tasks .s_tabs {
				margin: 0px;
				white-space: nowrap;
				position: relative;
				padding: 0;
				border-bottom: 1px solid var(--vkui--color_separator_primary);
				z-index: 1;
			}	
				
			.control__log__error_label {
				background: #f03838;
				color: #ffffff;
				padding: 10px;
				margin: 10px 0;
				border-radius: 8px;
			}
		`},vk:{p:{noti_open_box:false,noti_open_box_status:false,noti_open_id:false},f:{eventHideOnBg:function(e){let t=jQuery("#my_ext_control_msg, #box_layer_wrap");if(t.has(e.target).length===0)my_ext.plugins.list.control.vk.f.hide()},hide:function(){jQuery("#my_ext_control_msg").removeClass("active");jQuery("#my_ext_control_msg_content").hide();jQuery(document).unbind("mouseup",my_ext.plugins.list.control.vk.f.eventHideOnBg)},show:function(e){my_ext.messages.sendToBG({type:"control_open",details:{type:e}},function(e){vf("control").open(e.type)})},open:function(e){jQuery("#my_ext_control_fast_list > div").hide();jQuery("#my_ext_control_msg").addClass("active");jQuery("#my_ext_control_msg_content").show();jQuery("#my_ext_control_msg .control_msg_block").hide();my_ext.messages.sendToBG({type:"control_get_noti"});my_ext.plugins.list.control.vk.f.showTypeTast(e);jQuery(document).mouseup(my_ext.plugins.list.control.vk.f.eventHideOnBg)},showTypeTast:function(e){jQuery("#my_ext_control_msg_content_tasks .s_tabs > div[data-type]").removeClass("summary_tab_sel").addClass("summary_tab").closest("[data-type="+e+"]").removeClass("summary_tab").addClass("summary_tab_sel");jQuery("#my_ext_control_msg .control_msg_block").hide();jQuery("#my_ext_control_msg_content_tasks_"+e).html('<div style="text-align: center; padding: 20px 20px 15px;"><div class="progress" style="display:block;margin:auto;"></div></div>').show();my_ext.messages.sendToBG({type:"control_get_tab",details:{type:e}})},clickTab:function(e){if(!my_ext.plugins.list.control.vk.f.activateTab(e))return false;my_ext.plugins.list.control.vk.f.showTypeTast(e);return false},activateTab:function(e){let t=jQuery('#my_ext_control_msg_content_tasks div.my_ext_control_tab[data-type="'+e+'"]');if(t.hasClass("summary_tab_sel"))return false;t.closest("s_tabs").addClass("summary_tab").removeClass("summary_tab_sel");t.addClass("summary_tab_sel");return true},genHtmlTask:function(a,o){let e="",t="";switch(o.status){case"success":e='<i class="far fa-check-circle" style="color: green;"></i>';t="Завершено";break;case"started":e='<i class="far fa-play-circle" style="color: gray;"></i>';t="Выполняется";break;case"pause":e='<i class="far fa-pause-circle" style="color: red;"></i>';t="Пауза";break;case"break":e='<i class="far fa-times-circle" style="color: red;"></i>';t="Прервано";break}let i="",l=[];if(o.captcha){let e=ce("span",{innerHTML:'Для продолжения необходимо <a href="#">ввести каптчу</a>'});e.querySelector("a").onclick=function(e){e.stopPropagation();vf("control").captchaWrite(a);return false};l.push(e)}else{let e=o?.log?.rows||[];each(e,(e,t)=>{if("error"===t?.style){let e=ce("span",{innerHTML:'<a href="#" style="color:white; background: red; padding: 0 2px;">Есть ошибки</a>'});e.querySelector("a").onclick=function(e){e.stopPropagation();vf("control").log.open(a);return false};l.push(e);return false}});let t=ce("span",{innerHTML:'<a href="#">Отчет по выполнению</a>'});t.querySelector("a").onclick=function(e){e.stopPropagation();vf("control").log.open(a);return false};l.push(t)}if(o.progress_max&&o.progress_max!=o.progress_now&&(o.status=="started"||o.status=="pause")){o.progress_now=o.progress_now||0;let e=parseInt(o.progress_now*100/o.progress_max);e=Math.min(100,Math.max(0,e));i='<div class="progress_box">'+e+" %</div>"}if(o.allowed_to_break&&(o.status=="started"||o.status=="pause")){let e=ce("span",{innerHTML:'<a href="#"><i class="far fa-times-circle" style="color: red;"></i> Прервать задание</a>'});e.querySelector("a").onclick=function(e){e.stopPropagation();my_ext.plugins.list.control.vk.f.taskBreak(a);return false};l.push(e)}let r=ce("div",{className:"vkh_control_task_item",dataset:{task_id:a},innerHTML:`<div class="icon">${e}</div>
						<div class="block">
							${i}
							<div class="title">
								${o.title}
							</div>
							<div class="info"></div>
						</div>`});each(l,(e,t)=>{if(e!=0){r.querySelector("div.info").append(" | ")}r.querySelector("div.info").append(t)});VKH_Tooltip.create(r,"<center>"+t+"</center>",{position:"left",parent:r,parent_scroll:"#my_ext_control_msg_content_tasks_local"});return r},fastMessage:function(e){e=e||{};let t="";switch(e.status){case"success":t='<i class="far fa-check-circle" style="color: green;"></i>';break;case"error":t='<i class="fas fa-exclamation" style="color: red;"></i>';break;case"waiting":t='<i class="far fa-clock" style="color: gray;"></i>';break}if(jQuery("#my_ext_control_fast_list > div:gt(1)").length)jQuery("#my_ext_control_fast_list > div:gt(1)").fadeOut(100,function(){jQuery(this).remove()});let a=Math.random();let o=jQuery("<div/>",{"data-r":a,onclick:"jQuery(this).fadeOut(100);",style:"display: table",html:'<span class="icon">'+t+'</span><span class="text"></span>'});if(e.text instanceof Node){o.find("span.text").append(e.text)}else{o.find("span.text").html(e.text||"")}o.prependTo("#my_ext_control_fast_list");setTimeout(function(){let e=jQuery('#my_ext_control_fast_list > div[data-r="'+a+'"]');if(!e.length)return;e.fadeOut(100,function(){jQuery(this).remove()})},e.timeout||4e3)},taskBreak:function(e){my_ext.messages.sendToBG({type:"control_taskBreak",details:{task_id:e}})},notiInfoBox_getInfo:function(e){my_ext.messages.sendToBG({type:"control_notiInfoBox_getInfo",details:{noti_id:e}},function(e){MBox.create({title:e.title_box,width:550,bodyStyle:e.bodyStyle||"",content:e.html,btns:[{primary:true,close:true,html:"Закрыть"}]})})},genHtmlNoti:function(i){let e='<i class="'+i.icon+'" style="color: '+i.icon_color+';"></i>',l="";if(i.date!="0000-00-00 00:00:00"){let e=i.date.split(" "),t=e[0].split("-"),a=e[1].split(":"),o={1:"января",2:"февраля",3:"марта",4:"апреля",5:"мая",6:"июня",7:"июля",8:"августа",9:"сентября",10:"октября",11:"ноября",12:"декабря"};l=parseInt(t[2])+" "+o[parseInt(t[1])]+" в "+parseInt(a[0])+":"+a[1]+" | "}let t=ce("div",{dataset:{noti_id:i.id},className:"vkh_control_task_item "+(i.read!=1?"noti_no_read":""),onclick:function(){vf("control").notiInfoBox_getInfo(i.id)},innerHTML:'<div class="icon">'+e+'</div>\t\t\t\t\t\t<div class="block">\t\t\t\t\t\t\t<div class="title">\t\t\t\t\t\t\t\t'+i.title+'\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t<div class="info">\t\t\t\t\t\t\t\t'+l+' <a href="#" onclick="return false;">'+i.link_text+"</a>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>"});return t},notiGetMore:function(e){jQuery("#vkh_control_noti_more").html('<div class="progress" style="display:block;margin:-1px auto 0;"></div>').show();my_ext.messages.sendToBG({type:"control_noti_get_more",details:{last_id:e}},function(t){let a=false;let o=geById("my_ext_control_msg_content_tasks_noti");if(!o){return false}jQuery.each(t.items,function(e,t){if(t==false)return;a=true;o.append(vf("control").genHtmlNoti(t))});if(a){if(false===t.last){let e=ce("div",{id:"vkh_control_noti_more",innerHTML:'<a href="#">Показать еще</a>'});e.querySelector("a").onclick=function(e){e.stopPropagation();vf("control").notiGetMore(t.items.pop().id);return false};o.appendChild(e)}}jQuery("#vkh_control_noti_more").remove()})},captchaWrite:async function(t){my_ext.messages.sendToBG({type:"accounts_control_captcha_check_user",details:{task_id:t}},async function(e){if(e.uid_active!=e.uid_captcha){if(!await vkh_func.confirm('Чтобы ввести капчу, вы будете авторизованны под аккаунтом, где она возникла. <a href="'+getUrlVK()+"/id"+e.uid_captcha+'" target="_blank">'+getUrlVK()+"/id"+e.uid_captcha+"</a>")){return}}my_ext.messages.sendToBG({type:"accounts_control_captcha_for_task",details:{task_id:t}})})},log:{open:function(t){my_ext.messages.sendToBG({type:"control_log_open",details:{task_id:t}},function(e){vf("control").log.openBox(t,e.details)})},errors:{"One of the parameters specified was missing or invalid: invalid publish_date param":"Неверная дата публикации. Возможно указанная дата уже прошла.","One of the parameters specified was missing or invalid: object not found":"Объект, с которым вы пытаетесь взаимодействовать (например, пост, фотография, видео, пользователь или сообщество), возможно, не существует, был удален, перемещен, или ограничен в доступе.","Access denied: no access to call this method. It cannot be called with current scopes.":"Это постоянная ошибка. Удалите этот(проблемный) аккаунт из расширения и добавьте его повторно, после чего ошибка исчезнет.","User is deactivated: invalid access_token (8).":"Это постоянная ошибка. Удалите этот(проблемный) аккаунт из расширения и добавьте его повторно, после чего ошибка исчезнет.","User authorization failed: invalid session.":"Это постоянная ошибка. Удалите этот(проблемный) аккаунт из расширения и добавьте его повторно, после чего ошибка исчезнет.","Access denied: no access to call this method":"Это постоянная ошибка. Удалите этот(проблемный) аккаунт из расширения и добавьте его повторно, после чего ошибка исчезнет.","User authorization failed: access_token has expired.":"Это постоянная ошибка. Удалите этот(проблемный) аккаунт из расширения и добавьте его повторно, после чего ошибка исчезнет.","User authorization failed: user is blocked.":"Ваш аккаунт ВК заблокирован","Access denied: you are already in this community":"Вы уже подписаны на сообщество","Captcha needed":"Необходимо ввести каптчу","Access to adding post denied: a post is already scheduled for this time":"Доступ к добавлению поста запрещен: на это время уже запланирован пост","Donut is disabled: no access to donuts":'Донаты на странице отключены. При копировании/создании поста, уберите галочку "Для донов" и попробуйте сделать пост еще раз.',"Access denied: no access to this group":"У вашего аккаунта нет доступа к сообществу в котором вы пытаетесь выполнить действие.","Out of limits: max groups count":"Достигнут лимит ВК. Вы подписались на максимальное коилчество сообществ.","Access to adding post denied: access to the wall is closed":"Не удалось опубликовать пост. У вас нет доступа для публикации постов на этой странице.","Access denied: admin 2fa check fail":"Вы как администратор сообщества должны включить 2fa защиту на этом аккаунте, после чего сможете выполнить это действие","Access denied: can not publish this type of posts":"Доступ запрещен: нельзя публиковать этот тип сообщений","Access to status replies denied":"Доступ к комментариям запрещен","Access denied: group is blocked":"Сообщество заблокированно","Access to adding post denied: cannot postpone post":"Доступ к добавлению поста запрещен: невозможно отложить пост","Access denied: can't publish":"Невозможно опубликовать. Если вы делаете мульти-репост, то скорее всего ошибка в том, что нельзя репостить пост на ту страницу, на которой пост опубликован.","Advertisement post was recently added":"Рекламный пост был недавно добавлен"},gen_childr:function(e,t){let o=jQuery("<ul>");for(var i in t){var l=e[t[i]];if(!l.text){continue}var r=jQuery("<li>");let a=jQuery("<span>",{html:l.text,"class":"control__log__text control__log__style_"+(l.style||"default")});r.append(a);if(l.childr){r.append(vf("control").log.gen_childr(e,l.childr))}else if(l.more){let e=false;let t=l.more?.data?.error_details||l.more?.error_details||{};if(t.error_msg){e=true;a.append(ce("div",{className:"control__log__error_label",innerText:vf("control").log.errors[t.error_msg]||t.error_text||t.error_msg}))}r.append(jQuery("<div>",{"class":"control__log__more_link "+(e===false?"control__log__more_link_hr":"")}).append(jQuery("<a>",{href:"#",text:"Подробнее",onclick:'this.parentElement.nextElementSibling.style.display = (this.parentElement.nextElementSibling.style.display == "block" ? "none" : "block"); return false;'}))).append(jQuery("<div>",{"class":"control__log__more_details",text:JSON.stringify(l.more)}))}o.append(r)}return o},openBox:function(e,t){let a=jQuery("<div>",{"class":"control__log_box__content"});let o=[];if(t.log&&t.log.rows){for(let e in t.log.rows){if(t.log.rows[e].log_box){o.push(getUrlVK()+"/"+t.log.rows[e].log_box)}}}if(o.length){let e=jQuery("<textarea>",{style:"width: 100%; height: 100px;",readonly:"readonly",text:o.join("\n")});e.on("click",function(){jQuery(this).select()});a.append(jQuery("<h3>",{text:"Отчет успешного выполнения:"}));a.append(jQuery("<div>").append(e))}if(t.log&&t.log.root){a.append(vf("control").log.gen_childr(t.log.rows,t.log.root))}a=a[0];let i=ce("div");i.append(ce("div",{innerHTML:t.title}));i.append(a);MBox.create({title:"Отчет по выполнению задания",width:700,content:i})}}},messages:{control_task_need_captcha:function(t){let e=ce("span",{innerHTML:`Для выполнения задания необходимо <a href="#">ввести каптчу</a>`});e.querySelector("a").onclick=function(e){e.stopPropagation();vf("control").captchaWrite(t.task_id);return false};vf("control").fastMessage({status:"waiting",text:e,timeout:3e3})},control_captcha_write:function(e){vf("control").captchaWrite(e.task_id)},control_get_tab_response:function(l){if(l.type!=jQuery("#my_ext_control_msg_content_tasks .s_tabs > div[data-type].summary_tab_sel").data("type"))return;let e="";switch(l.type){case"local":let a=false;jQuery.each(l.items,function(e,t){if(t==false)return;if(!t.is_visible)return;if(false===a){a=true;jQuery("#my_ext_control_msg_content_tasks_"+l.type).html("")}jQuery("#my_ext_control_msg_content_tasks_"+l.type).prepend(my_ext.plugins.list.control.vk.f.genHtmlTask(e,t))});if(false===a){jQuery("#my_ext_control_msg_content_tasks_"+l.type).html('<div style="text-align: center; padding: 20px 20px 17px;">Нет заданий...</div>')}else{my_ext.messages.sendToBG({type:"my_ext_control_noti_edit",details:{tab:"local",type:"set",num:0}})}break;case"noti":let o=false;let i=geById("my_ext_control_msg_content_tasks_"+l.type);i.innerHTML="";jQuery.each(l.items,function(e,t){if(t==false)return;o=true;i.appendChild(vf("control").genHtmlNoti(t))});if(o){if(false===l.last){let e=ce("div",{id:"vkh_control_noti_more",innerHTML:'<a href="#">Показать еще</a>'});e.querySelector("a").onclick=function(e){e.stopPropagation();vf("control").notiGetMore(l.items.pop().id);return false};i.appendChild(e)}}else{i.innerHTML='<div style="text-align: center; padding: 20px 20px 17px;">Для Вас нет уведомлений</div>'}break;case"buy":if(!l.vkh){let e=ce("div",{innerHTML:'\t\t\t\t\t\t\t\t\t<div style="text-align: center; padding: 20px 20px 17px;">\t\t\t\t\t\t\t\t\t\t<div style="font-size: 30px;color: red;">\t\t\t\t\t\t\t\t\t\t\tВы не авторизованы в расширении!\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t<div style="padding-top: 15px;font-size: 15px;">\t\t\t\t\t\t\t\t\t\t\tДля использования расширения, необходимо привязать Ваш аккаунт VK к расширению!<br><br>\t\t\t\t\t\t\t\t\t\t\tДля этого перейдите по ссылке ниже и авторизуйтесь.\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t<div style="padding-top: 15px;font-size: 15px;">\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="vkh_control_buy_auth">Авторизоваться в расширении '+ext_name_string+"</a>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>"});e.querySelector(".vkh_control_buy_auth").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"my_ext_login"});my_ext.plugins.list.control.vk.f.hide();return false};jQuery("#my_ext_control_msg_content_tasks_"+l.type).html("");jQuery("#my_ext_control_msg_content_tasks_"+l.type).append(e)}else{let e="";if(3>=l.vkh.tarif.days)e="color:red; font-size: 20px;";else if(7>=l.vkh.tarif.days)e="color:#b17200;";let t="";if(0==l.vkh.tarif.days){t='активен <span style="'+e+'">последний день</style>'}else if(1==l.vkh.tarif.days){t='активен <span style="'+e+'">последний день</style>'}else{t='будет активен <span style="'+e+'">еще '+Number(l.vkh.tarif.days)+" "+vkh_func.declOfNum(Number(l.vkh.tarif.days),["день","дня","дней"])+"</style>"}let a=ce("div",{innerHTML:'<div style="text-align: center; padding: 20px 20px 0px;margin-bottom: -10px; font-size: 20px;">\t\t\t\t\t\t\t\t\tВы авторизовались в расширении как:<br>\t\t\t\t\t\t\t\t\t<div id="my_ext_control_buy_user">\t\t\t\t\t\t\t\t\t\t<a href="#" id="my_ext_control_buy_user__name"></a>\t\t\t\t\t\t\t\t\t\t<span class="vkh_logout_icon">\t\t\t\t\t\t\t\t\t\t\t<i class="fas fa-times" style="font-size: 10px; margin: 0 0 6px; color: 929eb0; cursor: pointer"></i>\t\t\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<div id="my_ext_control_buy_logout">\t\t\t\t\t\t\t\t\t\t<div class="btns" style="">\t\t\t\t\t\t\t\t\t\t\t<div class="btn_red">Выйти</div>\t\t\t\t\t\t\t\t\t\t\t<div class="btn_green">Отменить</div>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t<div style="text-align: center;  padding: 20px 20px 17px;">\t\t\t\t\t\t\t\t\t<hr style="border-top: 1px solid #cacaca6b; border-left: none; border-right: none; border-bottom: none;">\t\t\t\t\t\t\t\t\t<div style="font-size: 15px; margin-top: 15px; margin-bottom: 15px;">\t\t\t\t\t\t\t\t\t\tВаш тариф <span style="color: green;font-weight: 600;" id="my_ext_control_buy_user__tarif_name"></span><span style="margin-top: 10px; display: block;">'+t+'</span>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<hr style="border-top: 1px solid #cacaca6b; border-left: none; border-right: none; border-bottom: none;">\t\t\t\t\t\t\t\t\t<div style="padding-top: 15px;font-size: 15px;">\t\t\t\t\t\t\t\t\t\t<a href="#" class="vkh_buy_tarif">Хочу продлить/изменить тариф</a>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>'});a.querySelector("#my_ext_control_buy_user__name").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"ext_redirect_link",details:{type:"ext_vk_user",source:"control"}});return false};a.querySelector(".btn_red").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"vkh_ext_logout"});my_ext.plugins.list.control.vk.f.hide();return false};a.querySelector(".btn_green").onclick=function(e){e.stopPropagation();jQuery("#my_ext_control_buy_logout").hide();jQuery("#my_ext_control_buy_user").show();return false};a.querySelector(".vkh_logout_icon").onclick=function(e){e.stopPropagation();jQuery("#my_ext_control_buy_user").hide();jQuery("#my_ext_control_buy_logout").show();return false};a.querySelector(".vkh_buy_tarif").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"ext_redirect_link",details:{type:"tarif_table",source:"control"}});return false};jQuery("#my_ext_control_msg_content_tasks_"+l.type).html("");jQuery("#my_ext_control_msg_content_tasks_"+l.type).append(a);jQuery("#my_ext_control_buy_user__tarif_name").text(l.vkh.tarif.name);jQuery("#my_ext_control_buy_user__name").text(l.vkh.first_name+" "+l.vkh.last_name)}my_ext.messages.sendToBG({type:"my_ext_control_tap_buy_view"});break;case"contact":let e=ce("div",{innerHTML:`
								<div style="text-align: center; padding: 20px 20px 17px;">\
									<div style="font-size: 15px;">\
										<a data-link-redirect="link_site" href="#">Наш сайт</a>\
									</div>\
									<div style="padding-top: 15px; font-size: 15px;">\
										<a data-link-redirect="link_vk_group" href="#">Сообщество Вконтакте</a>\
									</div>\
									<div style="padding-top: 15px; font-size: 15px;">\
										<a data-link-redirect="link_youtube" href="#">YouTube канал</a>\
									</div>\
									<div style="padding-top: 15px; font-size: 15px;">\
										<a data-link-redirect="link_tg_channel" href="#">Telegram канал</a>\
									</div>\
								</div>`});e.querySelectorAll("a[data-link-redirect]").forEach(t=>{t.onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"ext_redirect_link",details:{type:t.dataset.linkRedirect,source:"control"}})}});jQuery("#my_ext_control_msg_content_tasks_"+l.type).html("");jQuery("#my_ext_control_msg_content_tasks_"+l.type).append(e);break}jQuery("#my_ext_control_msg .control_msg_block").hide();jQuery("#my_ext_control_msg_content_tasks_"+l.type).show()},control_set_noti:function(l){if(false===l.noti_open||-1===l.noti_open){if(false!==vp("control").noti_open_box&&vp("control").noti_open_box.close){vp("control").noti_open_box_status=true;vp("control").noti_open_box.close()}}else{if(vp("control").noti_open_id&&vp("control").noti_open_id!=l.noti_open.id){if(false!==vp("control").noti_open_box&&vp("control").noti_open_box.close){vp("control").noti_open_box_status=true;vp("control").noti_open_box.close()}}if(false===vp("control").noti_open_box){vp("control").noti_open_id=l.noti_open.id;let i="";if(l.noti_open.date!="0000-00-00 00:00:00"){let e=l.noti_open.date.split(" "),t=e[0].split("-"),a=e[1].split(":"),o={1:"января",2:"февраля",3:"марта",4:"апреля",5:"мая",6:"июня",7:"июля",8:"августа",9:"сентября",10:"октября",11:"ноября",12:"декабря"};i=parseInt(t[2])+" "+o[parseInt(t[1])]+" в "+parseInt(a[0])+":"+a[1]}vp("control").noti_open_box=MBox.create({title:ext_name_string+" | "+l.noti_open.title_box,width:550,bodyStyle:l.noti_open.bodyStyle||"",onCloseAttempt:()=>{if(!vp("control").noti_open_box_status){vkh_func.alert('Закрыть уведомление можно нажав на кнопку <span style="color:#db9797;font-weight: 600">Прочитать позже</span> или <span style="color:#db9797;font-weight: 600">Прочитано</span>')}return vp("control").noti_open_box_status},onClose:()=>{vp("control").noti_open_box_status=false;vp("control").noti_open_box=false;vp("control").noti_open_id=false},content:l.noti_open.html,footer_html:'<span style="color: #0000006e;">'+i+"</span>",btns:[{click:e=>{vp("control").noti_open_box_status=true;e.close();my_ext.messages.sendToBG({type:"my_ext_control_noti_view__read_mute"})},html:`<span data-vkh_tooltip=\'{\"content\":\"Старые уведомления не будут отображаться 24 часа.<br><br>Нажмите кнопку <b>Прочитано</b>, чтобы это уведомление больше не появлялось.\",\"opts\":{\"left\":-6,\"width\":300}}\'>Прочитать позже</span>`},{primary:true,html:"Прочитано",click:e=>{vp("control").noti_open_box_status=true;e.close();my_ext.messages.sendToBG({type:"my_ext_control_noti_view__read",details:{noti_id:l.noti_open.id}})}}]})}}if(!jQuery("#my_ext_control_msg_content:visible").length){let a=0;jQuery.each(l.noti,function(e,t){a+=Number(t)});jQuery("#my_ext_control_msg").toggleClass("has_notify",a>0);jQuery("#my_ext_control_msg_noti_count").text(a);return}let a=0,o=jQuery("#my_ext_control_msg_content_tasks div.my_ext_control_tab.summary_tab_sel").data("type");jQuery("#my_ext_control_msg_content .s_tabs > div").removeClass("noti");jQuery.each(l.noti,function(e,t){if(!t)return;if(e==o&&o=="local"){my_ext.messages.sendToBG({type:"my_ext_control_noti_edit",details:{tab:"local",type:"set",num:0}});return}a+=Number(t);jQuery('#my_ext_control_msg_content .s_tabs > div[data-type="'+e+'"]').addClass("noti");jQuery('#my_ext_control_msg_content .s_tabs > div[data-type="'+e+'"] span.control_tab_count_event').text("["+t+"]")});jQuery("#my_ext_control_msg").toggleClass("has_notify",a>0);jQuery("#my_ext_control_msg_noti_count").text(a)},control_fastMessage_view:function(e){vf("control").fastMessage(e)},control_taskHTML_update:function(e){if(!jQuery("#my_ext_control_msg_content_tasks_local:visible").length)return;jQuery('#my_ext_control_msg_content_tasks_local > div.vkh_control_task_item[data-task_id="'+e.task_id+'"]').replaceWith(my_ext.plugins.list.control.vk.f.genHtmlTask(e.task_id,e.task_details))},control_task_add:function(e){if(!jQuery("#my_ext_control_msg_content_tasks_local:visible").length)return;if(!jQuery("#my_ext_control_msg_content_tasks_local > div.vkh_control_task_item").length){jQuery("#my_ext_control_msg_content_tasks_local").html("");jQuery("#my_ext_control_msg_content_tasks_local").append(my_ext.plugins.list.control.vk.f.genHtmlTask(e.task_id,e.task_details))}else{jQuery("#my_ext_control_msg_content_tasks_local").prepend(my_ext.plugins.list.control.vk.f.genHtmlTask(e.task_id,e.task_details));jQuery("#my_ext_control_msg_content_tasks_local").scrollTop(0)}my_ext.messages.sendToBG({type:"my_ext_control_noti_edit",details:{is_activ_tab:true,tab:"local",type:"set",num:0}})},control_new_noti:function(e){if(!jQuery("#my_ext_control_msg_content_tasks_noti:visible").length)return;let a=geById("my_ext_control_msg_content_tasks_noti");if(jQuery("#my_ext_control_msg_content_tasks_noti > div.vkh_control_task_item").length){jQuery("#my_ext_control_msg_content_tasks_noti").scrollTop(0)}else{jQuery("#my_ext_control_msg_content_tasks_noti").html("")}jQuery.each(e.items,function(e,t){a.prepend(vf("control").genHtmlNoti(t))})},control_noti_read:function(e){if(!jQuery("#my_ext_control_msg_content_tasks_noti:visible").length)return;let t=jQuery("#my_ext_control_msg_content_tasks_noti > div.vkh_control_task_item[data-noti_id="+e.noti_id+"]");if(!t.length)return;t.removeClass("noti_no_read")},ext_api_captcha:function(a){let o=e=>{e=e||{};my_ext.messages.sendToBG({type:"ext_api_captcha_response",details:{vk_api_id:a.vk_api_id,...e}})};if(a.captcha.img){let e=ce("div",{innerHTML:`<img src="" style="width:100%"><br><input type="text" class="dark" style="width:100%; text-align: center">`});e.querySelector("img").src=a.captcha.img;e.querySelector("img").onclick=function(){let e=new URL(this.src);e.searchParams.set("__v",(new Date).getTime());this.src=e.toString()};let t=MBox.create({title:"Введите код с картинки",width:380,content:e,btns:[{close:true,html:"Отмена"},{primary:true,name:"send",html:"Отправить",click:()=>{o({key:t.node.querySelector('div.mbox_body input[type="text"]').value});t.close()}}]});return}const e=new URL(a.captcha.redirect_uri);e.searchParams.set("autofocus",1);e.searchParams.set("origin",window.location.origin);let i=ce("iframe",{src:e.toString(),style:{zIndex:999999999,position:"fixed",top:0,right:0,left:0,bottom:0,width:"100vw",height:"100vh",border:"none"}});i.onload=()=>{let t=()=>{window.removeEventListener("message",e);if(i){i.style.display="none";setTimeout(()=>{if(i){i.remove();i=null}},3e3)}};let e=function(e){if(e.source!==i.contentWindow){return}if(a){clearTimeout(a);a=false}if(e?.data?.handler=="VKCaptchaCloseCaptcha"){t();return}if(e?.data?.handler=="VKCaptchaGetResult"){if(e.data?.params?.token){t();o({token:e.data.params.token})}}};let a=setTimeout(async()=>{t();if(!await vkh_func.confirm("Не удалось прогрузить каптчу. Попробовать выполнить запрос без ввода каптчи?")){return}o()},3e3);window.addEventListener("message",e)};i.onerror=async()=>{if(i){i.remove();i=null}if(!await vkh_func.confirm("Не удалось прогрузить каптчу. Попробовать выполнить запрос без ввода каптчи?")){return}o()};document.body.append(i)},my_ext_control_open:function(e){my_ext.plugins.list.control.vk.f.show(e.type||false)}},on:function(){my_ext.mutationObserver.add("my_ext_control",function(){let e=ge("#top_nav > .HeaderNav__btns:not([VKH_control_mutation])");if(!e){return}e.setAttribute("VKH_control_mutation",1);let t=ce("div",{className:"TopNavBtn",id:"my_ext_control_msg",innerHTML:`

						<a class="top_nav_btn" style="text-align: center;width: 48px;height: 48px;" >
							<div id="my_ext_control_msg_noti_count" class="TopNavBtn__notifyCount">0</div>
							<i class="fas fa-tasks control_icon" style="margin: 13.5px auto; background: 50% / contain no-repeat; height: 21px; width: 21px;"></i>
						</a>
						
						<div id="my_ext_control_fast_list"></div>

						<div id="my_ext_control_msg_content">
							<div id="my_ext_control_msg_content_tasks">
								<div class="">
									<div class="s_tabs">
										<div class="my_ext_control_tab" data-type="local">
											<a class="s_tab2" id="my_ext_control_msg_tab_local">
												<div class="s_tab3">Задания <span class="control_tab_count_event"></span></div>
											</a>
										</div>
										<div class="my_ext_control_tab" data-type="noti">
											<a class="s_tab2" id="my_ext_control_msg_tab_noti">
												<div class="s_tab3">Уведомления <span class="control_tab_count_event"></span></div>
											</a>
										</div>
										<div class="my_ext_control_tab" data-type="buy">
											<a class="s_tab2"  id="my_ext_control_msg_tab_buy">
												<div class="s_tab3">Кабинет</div>
											</a>
										</div>
										<div class="my_ext_control_tab" data-type="contact">
											<a class="s_tab2" id="my_ext_control_msg_tab_contact">
												<div class="s_tab3">Контакты</div>
											</a>
										</div>
										<div class="my_ext_control_tab" data-type="settings">
											<a class="s_tab2" id="my_ext_control_msg_tab_opts">
												<div class="s_tab3" style="color: #af731a; font-weight: 600;font-size: 14px;">Настройки</div>
											</a>
										</div>
									</div>
								</div>
								<div class="control_msg_block" id="my_ext_control_msg_content_tasks_local"   style="display:none"></div>
								<div class="control_msg_block" id="my_ext_control_msg_content_tasks_noti"    style="display:none"></div>
								<div class="control_msg_block" id="my_ext_control_msg_content_tasks_buy"     style="display:none"></div>
								<div class="control_msg_block" id="my_ext_control_msg_content_tasks_contact" style="display:none"></div>
								<div class="control_msg_block" id="my_ext_control_msg_content_tasks_cloud"   style="display:none"></div>
							</div>
						</div>
					`});e.prepend(t);geById("my_ext_control_msg_tab_local").onclick=function(e){e.stopPropagation();my_ext.plugins.list.control.vk.f.clickTab("local");return false};geById("my_ext_control_msg_tab_noti").onclick=function(e){e.stopPropagation();my_ext.plugins.list.control.vk.f.clickTab("noti");return false};geById("my_ext_control_msg_tab_buy").onclick=function(e){e.stopPropagation();my_ext.plugins.list.control.vk.f.clickTab("buy");return false};geById("my_ext_control_msg_tab_contact").onclick=function(e){e.stopPropagation();my_ext.plugins.list.control.vk.f.clickTab("contact");return false};geById("my_ext_control_msg_tab_opts").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"ext_redirect_link",details:{type:"page_options",source:"",payload:""}});return false};jQuery("#my_ext_control_msg + .head_nav_btns").removeClass("head_nav_btns");jQuery("#my_ext_control_msg > a").click(function(){if(jQuery("#my_ext_control_msg").hasClass("active")){my_ext.plugins.list.control.vk.f.hide()}else{my_ext.plugins.list.control.vk.f.show()}return false})})}}};my_ext_plugins_list["changeAccountVKVideo"]={cat:"Аккаунты",title:"Переключать аккаунты vkvideo.ru",aboutLink:72,keys:"Переключать аккаунты vkvideo.ru",storage:{enabled:false},fields:{label_0:{type:"label",text:"При переключении аккаунта через "+ext_name_string+', будет переключаться аккаунт и на vkvideo.ru<br><br><span style="color:red">Важно!</span> На vkvideo.ru прокси не применяются.'}}};my_ext_plugins_list["listSelectedItem"]={save_storage:true,can_disabled:false,hidden:true,storage:{enabled:true,list:{accounts:{},groups:{}},tpls:{accounts:[],groups:[]}},css:function(){return`

			/* надпись "выбрано аккаунтов/сообществ: 100" */
			.VKH_change_pages_link {
				margin-bottom: 10px;
			}
			.VKH_change_pages_link span[data-link] {
				color: var(--vkui--color_text_link);
				text-decoration: none;
				cursor: pointer;
			}
			.VKH_change_pages_link span[data-link]:hover {
			    text-decoration: underline;
			}
			.VKH_change_pages_link span[data-count] {
				font-weight: 600;
			}






			.VKH_change_pages_modal_container div.mbox_body {
				padding: 0px;
			}
			.VKH_change_pages_modal_none_items {
				margin: 20px;
				text-align: center;
			}
			.VKH_change_pages_modal_items {
			}
			.VKH_change_pages_modal_item {
				padding: 0 10px 0 25px;
				height: 58px;
				border-bottom: 1px solid var(--vkui--color_separator_primary);
				-webkit-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
			}
			.VKH_change_pages_modal_item:hover {
				background-color: var(--vkui--vkontakte_background_hover_alpha);
			}
			.VKH_change_pages_modal_item:last-child {
				border-bottom: unset;
			}

			.VKH_change_pages_modal_item.search_invalid {
				display: none;
			}
			.VKH_change_pages_modal_item.search_invalid {
				display: none;
			}


			.VKH_change_pages_modal_item span[data-checkbox] {
				float: right;
				padding: 18px;
				width: 22px;
				height: 22px;
				background-repeat: no-repeat;
				background-position: center;
				background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%20width%3D%2222%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate\(-1074%20-1823\)%22%3E%3Crect%20fill%3D%22%23fff%22%20height%3D%2222%22%20rx%3D%2211%22%20width%3D%2222%22%20x%3D%221074%22%20y%3D%221823%22%2F%3E%3Crect%20height%3D%2221%22%20rx%3D%2210.5%22%20stroke%3D%22%23c1c9d1%22%20width%3D%2221%22%20x%3D%221074.5%22%20y%3D%221823.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
			}
			body[scheme=vkcom_dark] .VKH_change_pages_modal_item span[data-checkbox] {
				background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%20width%3D%2222%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate\(-1074%20-1823\)%22%3E%3Crect%20fill%3D%22%23222323%22%20height%3D%2222%22%20rx%3D%2211%22%20width%3D%2222%22%20x%3D%221074%22%20y%3D%221823%22%2F%3E%3Crect%20height%3D%2221%22%20rx%3D%2210.5%22%20stroke%3D%22%23424242%22%20width%3D%2221%22%20x%3D%221074.5%22%20y%3D%221823.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
			}
			div.VKH_change_pages_modal_item.VKH_change_pages_modal_item_on span[data-checkbox] {
				background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20width%3D%2222%22%20height%3D%2222%22%20fill%3D%22%235181B8%22%20rx%3D%2211%22%2F%3E%3Cpath%20stroke%3D%22%23FFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M6%2012l3%203%207-7%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
			}



			.VKH_change_pages_modal_item span[data-photo] {
			    display: block;
				width: 34px;
				height: 34px;
				border-radius: 50%;
				float: left;
				background-repeat: no-repeat;
				background-position: center;
				background-size: contain;
				margin: auto;
				margin-top: 12px;
			}
			.VKH_change_pages_modal_item span[data-title] {
				display: block;
				line-height: 58px;
				white-space: nowrap;
				text-overflow: ellipsis;
				float: left;
				font-weight: 500;
				-webkit-font-smoothing: subpixel-antialiased;
				-moz-osx-font-smoothing: auto;
				color: var(--vkui--color_text_link);
				overflow: hidden;
				width: 300px;
				margin: 0 10px;
			}

			.VKH_change_pages_modal_container span[data-random] {
				margin-right: 6px;
				cursor: pointer;
				display: block;
				float: left;
				width: 15px;
			    opacity: .6;
			}
			.VKH_change_pages_modal_container span[data-random]:hover {
			    opacity: 1;
			}

			.VKH_change_pages_modal_container div[data-templates] {
				margin-top: 25px;
			}
			.VKH_change_pages_modal_container span[data-select-all],
			.VKH_change_pages_modal_container span[data-reset-all] {
				margin: 0 4px;
				color: var(--vkui--color_text_link);
				text-decoration: none;
				cursor: pointer;
			}
			.VKH_change_pages_modal_container span[data-select-all]:hover,
			.VKH_change_pages_modal_container span[data-reset-all]:hover {
				text-decoration: underline;
			}


			.VKH_change_pages_modal_search {
				background-color: var(--expert--vkui--color_background_modal); 
				position: sticky; 
				top: 0px; 
				display: none; 
				border-bottom: 1px solid var(--vkui--color_separator_primary);
			}
			.VKH_change_pages_modal_search div[data-reset] {
				visibility: hidden;
				display: flex;
				align-items: center;
				justify-content: center;
				color: var(--vkui--color_icon_secondary);
				position: absolute;
				width: 38px;
				top: 0;
				bottom: 0;
				right: 20px;
				cursor: pointer;
				z-index: 3;
				transition: opacity .15s ease, visibility .15s ease;
				opacity: .75;
			}
			.VKH_change_pages_modal_search div[data-reset]:hover {
				opacity: 1;
			}
			.VKH_change_pages_modal_container.VKH_change_pages_modal_used_search .VKH_change_pages_modal_search div[data-reset] {
				visibility: visible; 
			}

			.VKH_change_pages_modal_search input {
				background: url(data:image/svg+xml;charset=utf-8,%3Csvg%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22m0%200h24v24h-24z%22%2F%3E%3Cpath%20d%3D%22m16.7602287%2014.6529231%202.8964446%202.649819c.3906074.357348.4073389.9469542.0332853%201.3210078l-.0662697.0662697c-.3722244.3722244-.9659303.3548319-1.320999-.0332942l-2.6497846-2.896483c-1.0116996.7775182-2.2783216%201.2397576-3.6529053%201.2397576-3.3137085%200-6-2.6862915-6-6s2.6862915-6%206-6%206%202.6862915%206%206c0%201.3745918-.4622448%202.6412205-1.2397713%203.6529231zm-4.7602287.3470769c2.209139%200%204-1.790861%204-4s-1.790861-4-4-4-4%201.790861-4%204%201.790861%204%204%204z%22%20fill%3D%22%2393a3bc%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E) no-repeat;
				background-position: -6px 50%;
				-ms-high-contrast-adjust: auto;
				padding-left: 28px;
				border-left: 20px solid transparent;
				color: var(--vkui--color_text_primary);
				padding: 14px 44px 13px 25px;
				box-sizing: border-box;
				width: calc(100% - 50px);
				border: 0;
				line-height: 18px;
				margin: 0 25px;
			}
		`},vk:{f:{createChangerAccounts:async function(t,e,a){if("string"===typeof t){t=geById(t);if(!t){return}}a=a||{};addClass(t,"VKH_change_pages_link");t.innerHTML=`<span data-link>Выбрано аккаунтов: <span data-count>...</span></a>`;t.querySelector("span[data-link]").onclick=()=>{vf("listSelectedItem").openBoxAccounts(e,a,function(e){t.querySelector("span[data-count]").innerText=e.ids.length;if(a.onChange){a.onChange(e.ids)}})};let o=await vf("listSelectedItem").getAccounts(e,a);t.querySelector("span[data-count]").innerText=o.length;if(a.onChange){a.onChange(o)}},createChangerGroups:async function(t,e,a){if("string"===typeof t){t=geById(t);if(!t){return}}a=a||{};addClass(t,"VKH_change_pages_link");t.innerHTML=`<span data-link>Выбрано сообществ: <span data-count>...</span></a>`;t.querySelector("span[data-link]").onclick=()=>{vf("listSelectedItem").openBoxGroups(e,a,function(e){t.querySelector("span[data-count]").innerText=e.ids.length;if(a.onChange){a.onChange(e.ids)}})};let o=await vf("listSelectedItem").getGroups(e,a);t.querySelector("span[data-count]").innerText=o.length;if(a.onChange){a.onChange(o)}},openBox:function(e,i,a){i.selectedItems=i.selectedItems||[];i.multi=false===i.multi?false:true;let t=ce("div");let o=()=>{if("INPUT"==document.activeElement.tagName)return;l.node.querySelector("input[data-search]").focus()};let l=MBox.create({title:i.title,width:480,containerClass:"VKH_change_pages_modal_container",onClose:()=>{document.removeEventListener("keydown",o)},footer_html:t,footer_sticky:true,content:`
						<div class="VKH_change_pages_modal_search">
							<div data-reset class="ui_search_reset">
								<svg fill="none" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4.72 4.72c.3-.3.77-.3 1.06 0L10 8.94l4.22-4.22a.75.75 0 1 1 1.06 1.06L11.06 10l4.22 4.22a.75.75 0 1 1-1.06 1.06L10 11.06l-4.22 4.22a.75.75 0 0 1-1.06-1.06L8.94 10 4.72 5.78a.75.75 0 0 1 0-1.06z" fill="currentColor" fill-rule="evenodd"></path></svg>
							</div>
							<input type="text" data-search autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
						</div>
						<div class="VKH_change_pages_modal_items"></div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,name:"send",html:"Продолжить",click:()=>{let{items:e,ids:t}=c();if(t.length>1&&true!==i.multi){vkh_func.alert("Необходимо выбрать только один элемент");return}l.close();a({ids:t,items:e});if(!i.typeChange){return}my_ext.messages.sendToBG({type:"ext_plugins_listSelectedItem_storage_save",details:{page:i.typeChangePage,type:i.typeChange,items:t}})}}]});let r=(e,t)=>{e.classList.toggle("VKH_change_pages_modal_item_on",t);let a=s.querySelectorAll(".VKH_change_pages_modal_item_on").length;l.editContentButton("send","Выбрано: "+a)};let n=false;let s=ce("div");each(e,(e,t)=>{let a=i.selectedItems.includes(t.id)&&(true!==n||true===i.multi)?true:false;if(true===a){n=true}let o=ce("div",{className:"VKH_change_pages_modal_item",dataset:{id:t.id,photo:t.photo,title:t.title,search:t.title.toUpperCase()},innerHTML:`
							<span data-checkbox></span>
							<span data-photo></span>
							<span data-title></span>
						`,onclick:()=>{let e=o.classList.contains("VKH_change_pages_modal_item_on")?false:true;if(true!==i.multi){s.querySelectorAll(".VKH_change_pages_modal_item_on").forEach(e=>{r(e,false)})}r(o,e)}});o.querySelector("[data-title]").innerText=t.title;o.querySelector("[data-photo]").style.backgroundImage=`url(${t.photo})`;s.append(o);r(o,a)});if(s.childNodes.length<1){s.append(ce("div",{className:"VKH_change_pages_modal_none_items",innerText:i.contentNone}))}if(s.childNodes.length&&true===i.multi){t.innerHTML=`
						<span data-random data-vkh_tooltip='{\"content\":\"${i.randomTooltip}\",\"opts\":{\"left\":-6,\"mode\":\"black\"}}'>
							<svg fill="currentColor" viewBox="0 -4 30 30" xmlns="http://www.w3.org/2000/svg"><path d="m24.983 8.539v-2.485h-4.902l-3.672 5.945-2.099 3.414-3.24 5.256c-.326.51-.889.844-1.53.845h-9.54v-3.568h8.538l3.673-5.946 2.099-3.414 3.24-5.256c.325-.509.886-.843 1.525-.845h5.904v-2.485l7.417 4.27-7.417 4.27z"></path><path d="m12.902 6.316-.63 1.022-1.468 2.39-2.265-3.675h-8.538v-3.568h9.54c.641.001 1.204.335 1.526.838l.004.007 1.836 2.985z"></path><path d="m24.983 24v-2.485h-5.904c-.639-.002-1.201-.336-1.521-.838l-.004-.007-1.836-2.985.63-1.022 1.468-2.39 2.264 3.675h4.902v-2.485l7.417 4.27-7.417 4.27z"></path></svg>
						</span> · 
						<span data-select-all>Выбрать все</span> · 
						<span data-reset-all>Снять все</span>
						<div data-templates></div>
					`;t.querySelector("span[data-select-all]").onclick=function(){let e=l.node.classList.contains("VKH_change_pages_modal_used_search")?".search_valid":"";s.querySelectorAll(".VKH_change_pages_modal_item"+e).forEach(e=>{r(e,true)})};t.querySelector("span[data-reset-all]").onclick=function(){let e=l.node.classList.contains("VKH_change_pages_modal_used_search")?".search_valid":"";s.querySelectorAll(".VKH_change_pages_modal_item_on"+e).forEach(e=>{r(e,false)})};t.querySelector("span[data-random]").onclick=async function(){let e=await storage.local.getItem("change_pages_random")||1;let t=await vkh_func.prompt(i.randomPrompt,e);if(null===t){return}t=Number(t);if(isNaN(t)||t<1){vkh_func.alert("Введено неверное значение");return}storage.local.setItem("change_pages_random",t);let a=s.querySelectorAll(".VKH_change_pages_modal_item");let o=randomArray(a,t);a.forEach(e=>{r(e,false)});o.forEach(e=>{r(e,true)})};VKH_Tooltip.create(t.querySelector("span[data-random]"),"Выбрать случайные элементы",{mode:"black",left:-5});vf("templates").create(t.querySelector("div[data-templates]"),i.typeTemplates,{onCreate:()=>{let{ids:e}=c();if(e.length<1){vkh_func.alert("Для создания шаблона необходимо выбрать хотя бы один элемент.");return false}return{ids:e}},onChange:t=>{l.node.querySelector(".VKH_change_pages_modal_search div[data-reset]").click();s.querySelectorAll(".VKH_change_pages_modal_item").forEach(e=>{r(e,(t.ids||[]).includes(Number(e.dataset.id)))})}})}let c=()=>{let a={},o=[];s.querySelectorAll(".VKH_change_pages_modal_item_on").forEach(e=>{let t=Number(e.dataset.id);o.push(t);a[t]={title:e.dataset.title,photo:e.dataset.photo}});return{items:a,ids:o}};if(s.childNodes.length>=1){l.node.querySelector(".VKH_change_pages_modal_search").style.display="block";document.addEventListener("keydown",o);let e=l.node.querySelector("div.VKH_change_pages_modal_search input");e.placeholder=i.searchPlaceholder||"Поиск";e.focus();let t=a=>{a=a.trim().toUpperCase();l.node.classList.toggle("VKH_change_pages_modal_used_search",a?true:false);if(!a){s.querySelectorAll(".VKH_change_pages_modal_item").forEach(e=>{e.classList.remove("search_valid","search_invalid")});return}s.querySelectorAll(".VKH_change_pages_modal_item").forEach(e=>{let t=-1===e.dataset.search.indexOf(a);e.classList.toggle("search_invalid",t);e.classList.toggle("search_valid",!t)})};let a=vkh_func.debounce(t,150);e.oninput=e=>{a(e.target.value,true)};l.node.querySelector(".VKH_change_pages_modal_search div[data-reset]").onclick=()=>{e.value="";t("");e.focus()}}l.node.querySelector("div.VKH_change_pages_modal_items").append(s);MBox.updatePosition()},openBoxAccounts:function(t,a,o){my_ext.messages.sendToBG({type:"ext_plugins_listSelectedItem_setListAccounts_load",details:{type:t}},function(e){if(undefined===e.items||!e.items.length)return;a.multi=undefined===a.multi?true:a.multi;vf("listSelectedItem").openBox(e.items,{selectedItems:e.selected_items,typeChangePage:"accounts",typeChange:t,typeTemplates:"accounts",multi:a.multi,title:a.multi?"Выберите аккаунты":"Выберите аккаунт",contentNone:"Нет аккаунтов которые можно использовать. Подключите аккаунты в расширение "+ext_name_string,searchPlaceholder:"Поиск по аккаунтам",randomTooltip:"Выбрать случайные аккаунты",randomPrompt:"Сколько выбрать аккаунтов?"},o)})},openBoxGroups:async function(t,a,o){let i=await getFromVK("vk.id");MBox.loader.show();my_ext.messages.sendToBG({type:"ext_plugins_listSelectedItem_setListGroups_load",details:{uid:i,type:t}},function(e){MBox.loader.hide();if(undefined===e.items||!e.items.length)return;a.multi=undefined===a.multi?true:a.multi;vf("listSelectedItem").openBox(e.items,{selectedItems:e.selected_items,typeChangePage:"groups",typeChange:t+"_"+i,typeTemplates:"groups_"+i,multi:a.multi,title:a.multi?"Выберите сообщества":"Выберите сообщество",contentNone:"У вас нет администрируемых сообществ",searchPlaceholder:"Поиск по сообществам",randomTooltip:"Выбрать случайные сообщества",randomPrompt:"Сколько выбрать сообществ?"},o)})},getGroups:async function(t,o){o=o||{};o.multi=undefined===o.multi?true:o.multi;return new Promise(async(a,e)=>{my_ext.messages.sendToBG({type:"ext_plugins_listSelectedItem_getGroups",details:{type:t+"_"+await getFromVK("vk.id")}},function(e){let t=e.items;if(true!==o.multi)t=t.slice(0,1);a(t)})})},getAccounts:async function(a,i){i=i||{};i.multi=undefined===i.multi?true:i.multi;return new Promise((t,e)=>{my_ext.messages.sendToBG({type:"ext_plugins_listSelectedItem_getAccounts",details:{type:a}},function(e){let a=e.items,o=[];each(e.accounts,function(e,t){if(-1===a.indexOf(t))return;o.push(t)});if(true!==i.multi)o=o.slice(0,1);t(o)})})}}}};my_ext_plugins_list["templates"]={save_storage:true,can_disabled:false,hidden:true,storage:{enabled:true},css:function(){return`
			.VKH_templates {
				position: relative;
			}
			.VKH_templates > div[data-selector] {
				width: calc(100% - 58px);
			}
			.VKH_templates > span[data-delete],
			.VKH_templates > span[data-create] {
				display: flex;
			    width: 22px;
				bottom: 0;
				top: 0;
				right: 0;
				position: absolute;
				margin: auto;
			}
			.VKH_templates > span[data-delete] {
				right: 28px;
			}
		`},vk:{f:{create:async(e,o,i)=>{let t=async()=>{return new Promise((t,e)=>{my_ext.messages.sendToBG({type:"VKH_templates_get",details:{}},e=>{t(e)})})};let a=async()=>{let e=(await t())?.[o]||[];let a=[];if(!Object.keys(e).length){a.push([-1,"Нет созданных шаблонов выбора"])}else{a.push([-1,"Шаблон не выбран"]);each(e,(e,t)=>{a.push([t.id,t.title])})}VKH_selector.destroy(l);VKH_selector.create(l,a,{onChange:t=>{if(-1==t){return}i.onChange(e.find(e=>e.id===t)?.params||{})}})};if("string"===typeof e){e=geById(e);if(!e){return}}addClass(e,"VKH_templates");e.innerHTML=`
					<div data-selector></div>
					<span data-delete>
						<svg viewBox="0 0 24 24" stroke="currentColor" fill="none" xmlns="http://www.w3.org/2000/svg">
							<path d="M4 7H20" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
							<path d="M6 10L7.70141 19.3578C7.87432 20.3088 8.70258 21 9.66915 21H14.3308C15.2974 21 16.1257 20.3087 16.2986 19.3578L18 10" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
							<path d="M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5V7H9V5Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
						</svg>
					</span> 
					<span data-create>
						<svg viewBox="0 0 24 24" stroke="currentColor" fill="none" xmlns="http://www.w3.org/2000/svg">
							<path id="Vector" d="M8 12H12M12 12H16M12 12V16M12 12V8M12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
						</svg>
					</span>
				`;let l=e.querySelector("div[data-selector]");await a();let r=e.querySelector("span[data-delete]");VKH_Tooltip.create(r,"Удалить выбранный шаблон",{mode:"black",left:-5});r.onclick=async function(){let e=Number(VKH_selector.getItem(l));if(isNaN(e)||e<=0){vkh_func.alert("Выберите шаблон для удаления");return}if(!await vkh_func.confirm("Удалить выбранный шаблон?")){return}my_ext.messages.sendToBG({type:"VKH_templates_delete",details:{type:o,tpl_id:e}},()=>{a()})};let n=e.querySelector("span[data-create]");VKH_Tooltip.create(n,"Создать новый шаблон",{mode:"black",left:-5});n.onclick=async function(){let e=i.onCreate();if("object"!==typeof e){return}let t=await vkh_func.prompt("Введите название для шаблона:");if(!t){vkh_func.alert("Вы не ввели название для шаблона");return}if(!/^[0-9a-zA-Z_\.\-а-яА-Я ]{1,50}$/i.test(t)){vkh_func.alert("Название может состоять из русских/английских букв, из символов _.- и пробела.<br>Максимальная длинна 1-50 символов");return}my_ext.messages.sendToBG({type:"VKH_templates_create",details:{title:t,type:o,params:e}},()=>{a()})}}}}};my_ext_plugins_list["watermarks"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},css:function(){return`
			#my_ext_watermarks_edit_box__header {
				border-bottom: 1px solid #e7e8ec; 
				padding-bottom: 20px;
			}
			#my_ext_watermarks_edit_box__header div.header_photo {
				float: left;
				width: 60px;
				border-radius: 50%;
				height: 60px;
				background-size: 60px;
			} 
			#my_ext_watermarks_edit_box__header .header_name {
				padding: 16px 0;
				font-size: 18px;
				margin-left: 20px;
				display: inline-block;
				white-space: nowrap;
				max-width: 380px;
				overflow: hidden;
				text-overflow: ellipsis;
			} 
			

			#my_ext_watermarks_edit_box__loading {
				margin-top: 20px;
				text-align: center;
			}
			#my_ext_watermarks_edit_box__setting {
				margin-top: 10px;
			}



			
			#my_ext_watermarks_edit_box__setting div.param_name {
				font-weight: 500;
				margin-bottom: 7px;
				margin-top: 15px;
			}
			#my_ext_watermarks_edit_box__setting div.param_name:first-child {
				margin-top: 0;
			}
			
			#my_ext_watermarks_edit_box__setting .radiobtn.on + div.radiobtn_opts {
				display: block;
			}
			#my_ext_watermarks_edit_box__setting .radiobtn + div.radiobtn_opts {
				display: none;
				margin-top: 5px; 
				margin-bottom: 5px; 
				padding-top: 5px; 
				padding-bottom: 5px;
			}
			
			#my_ext_watermarks_edit_box__text,
			#my_ext_watermarks_edit_box__position_align,
			#my_ext_watermarks_edit_box__position_valign {
				width: 100%;
			}
			#my_ext_watermarks_edit_box__font,
			#my_ext_watermarks_edit_box__font_size,
			#my_ext_watermarks_edit_box__color,
			#my_ext_watermarks_edit_box__opacity {
				width:300px;
			}
			
			#my_ext_watermarks_edit_box__setting div.params_align > div {
				display:inline-block;
				margin-left: 10px;
			}
			#my_ext_watermarks_edit_box__setting div.params_align > div:first-child {
				margin-left: 0;
			}
			
			#my_ext_watermarks_edit_box__file_prev {
				display:none;
			}
			#my_ext_watermarks_edit_box__file_prev img {
				max-width: 400px;
				max-height: 400px; 
				margin-top: 10px;
				border: 1px solid #e7e8ec;
			}
		`},vk:{f:{open:()=>{MBox.loader.show();my_ext.messages.sendToBG({type:"ext_plugins_watermarks_get_all"},e=>{let o=ce("div");if(!e.items.length){o.innerHTML=`<div style="padding: 20px 20px 20px 26px">Вы еще не настраивали водяные знаки</div>`}else{addClass(o,"VKH_change_pages_modal_items");each(e.items,(e,t)=>{let a=ce("div",{className:"VKH_change_pages_modal_item",innerHTML:`
									<span data-photo></span>
									<span data-title></span>
								`,onclick:function(){vf("watermarks").edit(t.id,{photo:t.photo,name:t.name})}});a.querySelector("[data-photo]").style.backgroundImage=`url(${t.photo})`;a.querySelector("[data-title]").innerText=t.name;o.append(a)})}MBox.loader.hide();MBox.create({title:"Настройка водяных знаков",bodyStyle:"padding: 0;",content:o,btns:[{close:true,html:"Отмена"},{primary:true,html:'<i class="fas fa-plus"></i> Сообщество',click:()=>{vf("listSelectedItem").openBoxGroups(false,{multi:false},e=>{if(1!==e.ids.length){return}vf("watermarks").edit(-e.ids[0],e.items[e.ids[0]])})}},{primary:true,html:'<i class="fas fa-plus"></i> Пользователь',click:()=>{vf("listSelectedItem").openBoxAccounts(false,{multi:false},e=>{if(1!==e.ids.length){return}vf("watermarks").edit(e.ids[0],e.items[e.ids[0]])})}}]})})},edit:(e,r)=>{let n=MBox.create({title:"Настройка водяных знаков",width:530,content:`
						<div id="my_ext_watermarks_edit_box__header">
							<div class="header_photo"></div>
							<a href="" target="_blank" class="header_name"></a>
						</div>

						<div id="my_ext_watermarks_edit_box__loading">Загрузка информации...</div>

						<div id="my_ext_watermarks_edit_box__setting" class="hide">
						
							<div class="param_name">Тип:</div>
							<div class="radiobtn" data-name="type" data-type="1">Надпись</div>
							<div class="radiobtn_opts leftborder">
								<div>Текст:</div>
								<input type="text" value="" id="my_ext_watermarks_edit_box__text" class="dark">
								<div style="margin-top: 10px;">Шрифт:</div>
								<div id="my_ext_watermarks_edit_box__font"></div>
								<div style="margin-top: 10px;">Размер шрифта:</div>
								<div id="my_ext_watermarks_edit_box__font_size"></div>
								<div style="margin-top: 10px;">Цвет текста:</div>
								<div id="my_ext_watermarks_edit_box__color"></div>
							</div>
							<div class="radiobtn" data-name="type" data-type="2" style="margin-top: 11px;">Изображение</div>
							<div class="radiobtn_opts leftborder">
								<div id="my_ext_watermarks_edit_box__file"><input type="file" accept="image/png,image/jpeg"></div>
								<div id="my_ext_watermarks_edit_box__file_prev"><img src=""></div>
							</div>
							
						
							<div class="param_name">Расположение:</div>
							<div class="radiobtn" data-name="position" data-type="1">Точное</div>
							<div class="radiobtn_opts leftborder">
							
								<div class="params_align">
									<div class="radiobtn" data-name="position_align" data-type="1">Отступ слева</div>
									<div class="radiobtn" data-name="position_align" data-type="2">Отступ справа</div>
									<div class="radiobtn" data-name="position_align" data-type="3">По центру</div>						
								</div>
								<div class="leftborder radiobtn_opts">
									<input type="text" value="0" id="my_ext_watermarks_edit_box__position_align" class="dark">
								</div>
							
								<div class="params_align" style="margin-top: 11px;">
									<div class="radiobtn" data-name="position_valign" data-type="1">Отступ сверху</div>
									<div class="radiobtn" data-name="position_valign" data-type="2">Отступ снизу</div>	
									<div class="radiobtn" data-name="position_valign" data-type="3">По центру</div>								
								</div>
								<div class="leftborder radiobtn_opts">
									<input type="text" value="0" id="my_ext_watermarks_edit_box__position_valign" class="dark">
								</div>
							
							</div>
							<div class="radiobtn" data-name="position" data-type="2" style="margin-top: 11px;">Случайное</div>
						
							<div class="param_name">Видимость:</div>
							<div id="my_ext_watermarks_edit_box__opacity"></div>
						
						</div>
					`,btns:[{close:true,html:"Отмена"}]});n.node.querySelector(".header_photo").style.backgroundImage=`url(${r.photo})`;n.node.querySelector(".header_name").innerText=r.name||r.title;n.node.querySelector(".header_name").href=getUrlVK()+"/"+(e>0?"id"+e:"club"+-e);my_ext.messages.sendToBG({type:"ext_plugins_watermarks_get",details:{id:e}},e=>{if(!n.node.parentNode){return}let a=e.id;let o=e.data||{};VKH_selector.create("my_ext_watermarks_edit_box__font",[["arial","Arial"],["helvetica","Helvetica"],["times","Times"]],{selectItem:o.font||undefined});VKH_selector.create("my_ext_watermarks_edit_box__font_size",[["15","15 pt"],["17","17 pt"],["19","19 pt"],["21","21 pt"],["23","23 pt"],["25","25 pt"],["27","27 pt"],["29","29 pt"],["31","31 pt"],["33","33 pt"],["35","35 pt"],["37","37 pt"],["39","39 pt"],["41","41 pt"],["43","43 pt"],["45","45 pt"],["47","47 pt"],["49","49 pt"],["51","51 pt"],["53","53 pt"],["55","55 pt"],["57","57 pt"],["59","59 pt"],["61","61 pt"],["63","63 pt"],["65","65 pt"],["67","67 pt"],["69","69 pt"]],{selectItem:o.font_size||45});VKH_selector.create("my_ext_watermarks_edit_box__color",[["red",ce("font",{innerText:"Красный",style:{color:"red"}})],["green",ce("font",{innerText:"Зеленый",style:{color:"green"}})],["blue",ce("font",{innerText:"Голубой",style:{color:"blue"}})],["gray",ce("font",{innerText:"Серый",style:{color:"gray"}})],["white",ce("font",{innerText:"Белый",style:{color:"white",textShadow:"0 0 3px black"}})],["black",ce("font",{innerText:"Черный",style:{color:"black"}})],["yellow",ce("font",{innerText:"Желтый",style:{color:"yellow"}})]],{selectItem:o.color||undefined});VKH_selector.create("my_ext_watermarks_edit_box__opacity",[["10","10%"],["20","20%"],["30","30%"],["40","40%"],["50","50%"],["60","60%"],["70","70%"],["80","80%"],["90","90%"],["100","100%"]],{selectItem:o.opacity||70});let i=e=>{ge("#my_ext_watermarks_edit_box__file_prev img").src=e;geById("my_ext_watermarks_edit_box__file_prev").style.display="block"};if(o.img){addClass(ge('#my_ext_watermarks_edit_box__setting div.radiobtn[data-name="type"][data-type="2"]'),"on");i(o.img);let e=o.height,t=o.width;if(t>400){e*=400/o.width;t*=400/o.width}if(t&&e){ge("#my_ext_watermarks_edit_box__file_prev img").width=t;ge("#my_ext_watermarks_edit_box__file_prev img").height=e}}else{addClass(ge('#my_ext_watermarks_edit_box__setting div.radiobtn[data-name="type"][data-type="1"]'),"on")}let l=(e,t)=>{let a=geById("my_ext_watermarks_edit_box__"+e);toggleClass(a,"disabled",3==t);a.disabled=3==t};if(o.pos_align){addClass(ge('#my_ext_watermarks_edit_box__setting div.radiobtn[data-name="position"][data-type="1"]'),"on")}else{addClass(ge('#my_ext_watermarks_edit_box__setting div.radiobtn[data-name="position"][data-type="2"]'),"on")}geById("my_ext_watermarks_edit_box__text").value=o.text||"vk.ru/"+(a>0?"id"+a:"club"+-a);ge("#my_ext_watermarks_edit_box__file input[type=file]").onchange=function(){if(this.files[0])i(URL.createObjectURL(this.files[0]))};addClass(ge('#my_ext_watermarks_edit_box__setting div.radiobtn[data-name="position_align"][data-type="'+Number(o.pos_align||3)+'"]'),"on");addClass(ge('#my_ext_watermarks_edit_box__setting div.radiobtn[data-name="position_valign"][data-type="'+Number(o.pos_valign||3)+'"]'),"on");l("position_align",Number(o.pos_align||3));l("position_valign",Number(o.pos_valign||3));geById("my_ext_watermarks_edit_box__position_align").value=o.pos_align_v||0;geById("my_ext_watermarks_edit_box__position_valign").value=o.pos_valign_v||0;geAll("#my_ext_watermarks_edit_box__setting .radiobtn").forEach(t=>{t.onclick=()=>{let e=t.dataset.name;geAll('#my_ext_watermarks_edit_box__setting .radiobtn[data-name="'+e+'"]').forEach(e=>{removeClass(e,"on")});addClass(t,"on");if("position_align"==e||"position_valign"==e)l(e,t.dataset.type)}});n.removeButtons();n.addButtons([{close:true,html:"Отменить"},{primary:true,html:"Сохранить",name:"save",click:()=>{n.lockButton("save");let t={id:a,name:r.name||r.title,photo:r.photo,type:ge('#my_ext_watermarks_edit_box__setting div.radiobtn.on[data-name="type"]').dataset.type,pos:ge('#my_ext_watermarks_edit_box__setting div.radiobtn.on[data-name="position"]').dataset.type,opacity:VKH_selector.getItem("my_ext_watermarks_edit_box__opacity")};if(1==t.type){t.text=geById("my_ext_watermarks_edit_box__text").value;t.font=VKH_selector.getItem("my_ext_watermarks_edit_box__font");t.font_size=VKH_selector.getItem("my_ext_watermarks_edit_box__font_size");t.color=VKH_selector.getItem("my_ext_watermarks_edit_box__color")}else{let e=ge("#my_ext_watermarks_edit_box__file input[type=file]").files[0];t.img=e?URL.createObjectURL(e):false}if(1==t.pos){t.pos_align=ge('#my_ext_watermarks_edit_box__setting div.radiobtn.on[data-name="position_align"]').dataset.type;t.pos_valign=ge('#my_ext_watermarks_edit_box__setting div.radiobtn.on[data-name="position_valign"]').dataset.type;t.pos_align_v=Number(geById("my_ext_watermarks_edit_box__position_align").value);t.pos_valign_v=Number(geById("my_ext_watermarks_edit_box__position_valign").value)}my_ext.messages.sendToBG({type:"ext_plugins_watermarks_edit",details:t},e=>{if("success"===e.status){n.close();vf("watermarks").open();return}n.unlockButton("save");vkh_func.alert(e.msg||"Возникла ошибка при сохранении водяного знака")})}}]);n.setFooterContent('<a href="#" id="my_ext_watermarks_edit_box__setting_remove">Удалить водяной знак</a>');addClass(geById("my_ext_watermarks_edit_box__loading"),"hide");removeClass(geById("my_ext_watermarks_edit_box__setting"),"hide");geById("my_ext_watermarks_edit_box__setting_remove").onclick=function(e){e.stopPropagation();MBox.create({title:"Подтверждение действия",content:'<div id="my_ext_watermarks_del_box">Удалить водяной знак?</div>',btns:[{close:true,html:"Отменить"},{primary:true,html:"Удалить",click:e=>{e.lockButton();my_ext.messages.sendToBG({type:"ext_plugins_watermarks_del",details:{id:a}},()=>{n.close();vf("watermarks").open()})}}]});return false};MBox.updatePosition()})}}}};my_ext_plugins_list["leftMenu"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},css:function(){return`

			.VKH_leftMenu_shortLink_menuItem {
				position: relative;
				cursor: pointer;
			}
			.VKH_leftMenu_shortLink_menuItem svg {
				position: absolute;
				color: #447bba;
				left: 6px;
				top: -2px;
				width: 20px;
				height: 20px;
			}
			.VKH_leftMenu_shortLink_menuItem > span {
				margin-left: 32px;
			}
			.VKH_leftMenu_shortLink_menuItem:hover > span {
				text-decoration: underline;
			}
				
			#my_ext_leftMenu hr { 
				background: currentColor; 
				border: 0; 
				height: 0.5px; 
				margin: 0; 
				transform-origin: center top; 
				color: #cbcccd; 
				margin: 9px 8px;
			}
		`},vk:{p:{items:{}},f:{remove:function(e){delete my_ext.plugins.list.leftMenu.vk.p.items[e];if(!Object.keys(vp("leftMenu").items).length){let e=geById("my_ext_leftMenu");if(e){e.remove()}return}let t=ge('#my_ext_leftMenu div[data-key="'+e+'"]');if(!t){return}t.previousElementSibling.remove();t.remove()},add:function(e,t){my_ext.plugins.list.leftMenu.vk.p.items[e]=t;if(1==Object.keys(vp("leftMenu").items).length){vf("leftMenu").render();return}vf("leftMenu").update(e)},render:function(){if(geById("my_ext_leftMenu"))return;let e=ge("#side_bar_inner ol");if(!e){return}let o=ce("div",{id:"my_ext_leftMenu"});let t=Object.keys(vp("leftMenu").items).sort();each(t,function(e,t){let a=ce("div",{dataset:{key:t}});a.append(vp("leftMenu").items[t]());o.append(ce("hr"));o.append(a)});e.append(o)},update:function(e){let t=geById("my_ext_leftMenu");if(!t){return}let a=t.querySelector('div[data-key="'+e+'"]');if(a){a.innerText="";a.append(vp("leftMenu").items[e]());return}let o=Object.keys(vp("leftMenu").items).map(Number).sort(function(e,t){return e-t}),i=o.indexOf(e);let l=ce("div",{dataset:{key:e}});l.append(vp("leftMenu").items[e]());if(0===i){t.prepend(l);t.prepend(ce("hr"));return}let r=t.querySelector('div[data-key="'+o[i-1]+'"]');if(!r){return}r.after(l);r.after(ce("hr"))}},on:function(){my_ext.mutationObserver.add("leftMenu",function(){vf("leftMenu").render()})},off:function(){my_ext.mutationObserver.remove("leftMenu")}}};my_ext_plugins_list["fastChangeAccount"]={cat:"Аккаунты",title:"Быстрое переключение аккаунтов",aboutLink:71,keys:"Быстрое переключение аккаунтов",storage:{enabled:true},css:function(){return`
			html:not(.my_ext_plugin___fastChangeAccount) #VKH_fast_change_account_right,
			html:not(.my_ext_plugin___fastChangeAccount) #VKH_fast_change_account_left {
				display: none;
			}

			#VKH_fast_change_account_right,
			#VKH_fast_change_account_left  {
				width: 20px;
				height: 100%;
				background: transparent;
				position: fixed;
				top: 0;
				bottom: 0;
				z-index: 998;
			}

			#VKH_fast_change_account_right:hover,
			#VKH_fast_change_account_left:hover {
				background: #ff000030;
			} 

			#VKH_fast_change_account_left {
				left: 0;
			}
			#VKH_fast_change_account_right {
				right: 0;
			}
		`},vk:{on:function(){let t=(e,t,a)=>{if(e.classList.contains("is_click")){return}addClass(e,"is_click");VKH_Tooltip.reload(e);let o=a==2?"/id0":(window.location.pathname||"")+(window.location.search||"")+(window.location.hash||"");my_ext.messages.sendToBG({type:"ext_plugins_fastChangeAccount_login",details:{uid:t,path:o}})};my_ext.messages.sendToBG({type:"ext_plugins_fastChangeAccount_get_accounts"},a=>{if(!a){return}document.body.append(ce("div",{id:"VKH_fast_change_account_left",vkh_tooltip:[e=>{if(e.classList.contains("is_click")){return"Идет авторизация... Ожидайте..."}let t=ce("div",{innerHTML:`
								<div style="padding-bottom: 4px;">Переход к аккаунту:<br><b data-user></b></div>
								<div><b>Левая</b> кнопка мыши - откроется эта же страница.</div>
								<div><b>Правая</b> кнопка мыши - откроется страница пользователя.</div>
							`});t.querySelector("[data-user]").innerText=a.left.name;return t},{type:"hover","class":"VKH_change_account_tooltip",position:"right",sleep:0}],onclick:function(e){e.stopPropagation();t(this,a.left.uid,1);return false},oncontextmenu:function(e){e.stopPropagation();t(this,a.left.uid,2);return false}}));document.body.append(ce("div",{id:"VKH_fast_change_account_right",vkh_tooltip:[e=>{if(e.classList.contains("is_click")){return"Идет авторизация... Ожидайте..."}let t=ce("div",{innerHTML:`
								<div style="padding-bottom: 4px;">Переход к аккаунту:<br><b data-user></b></div>
								<div><b>Левая</b> кнопка мыши - откроется эта же страница.</div>
								<div><b>Правая</b> кнопка мыши - откроется страница пользователя.</div>
							`});t.querySelector("[data-user]").innerText=a.right.name;return t},{type:"hover","class":"VKH_change_account_tooltip",position:"left",sleep:0}],onclick:function(e){e.stopPropagation();t(this,a.right.uid,1);return false},oncontextmenu:function(e){e.stopPropagation();t(this,a.right.uid,2);return false}}))})}}};my_ext_plugins_list["getPostInfo"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},vk:{f:{get:async function(t,a,o,i){o=o||{};o.show_load=true===o.show_load?true:false;o.is_extended=true===o.is_extended?true:false;if(o.show_load){MBox.loader.show()}my_ext.messages.sendToBG({type:"my_ext_getPostInfo",details:{uid:await getFromVK("vk.id"),owner:t,id:a,is_extended:o.is_extended}},function(e){if(o.show_load){MBox.loader.hide()}if(e.status!="success"){i({status:"fail",owner:t,id:a});return}i(e)})}}}};my_ext_plugins_list["postMenu"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true},css:()=>{return`
			span.VKH_postMenu_icon {
				width: 16px;
				cursor: pointer;
				margin-left: 6px;
				font-size: 16px;
				padding: 4px 10px;
				background: #83838336;
				border-radius: 10px;
				color: #00000073;
			}
			span.VKH_postMenu_icon:hover {
				background: #83838342;
			}
		`},vk:{p:{items:[]},f:{postMenuItemsRemove:function(t){let e=my_ext.plugins.list.postMenu.vk.p.items.findIndex(e=>{return e[0]==t});if(-1===e){return}my_ext.plugins.list.postMenu.vk.p.items.splice(e,1);if(Object.keys(vp("postMenu").items).length)return;my_ext.mutationObserver.remove("postMenu")},postMenuItemsAdd:function(t,e){let a=my_ext.plugins.list.postMenu.vk.p.items.findIndex(e=>{return e[0]==t});if(-1!==a){return}my_ext.plugins.list.postMenu.vk.p.items.push([t,e]);my_ext.plugins.list.postMenu.vk.p.items.sort(function(e,t){return e[1].priority-t[1].priority});my_ext.mutationObserver.add("postMenu",function(){vf("postMenu").addIcons()})},addIcons:function(){geAll("div.post[data-post-id]:not([VKH_postMenu_mutation]), #wl_post[data-post-id]:not([VKH_postMenu_mutation])").forEach(i=>{i.setAttribute("VKH_postMenu_mutation",1);let t=i.querySelector("div.like_btns");if(t){let e=ce("span",{className:"VKH_postMenu_icon",innerHTML:`
								<svg viewBox="0 0 20 20"  xmlns="http://www.w3.org/2000/svg">
									<path d="M19 4a1 1 0 01-1 1H2a1 1 0 010-2h16a1 1 0 011 1zm0 6a1 1 0 01-1 1H2a1 1 0 110-2h16a1 1 0 011 1zm-1 7a1 1 0 100-2H2a1 1 0 100 2h16z" fill="currentColor" fill-rule="nonzero"></path>
								</svg>
							`});VKH_Tooltip.create(e,()=>{let o=ce("div");each(vp("postMenu").items,(e,t)=>{let a=t[1];o.append(ce("div",{innerText:a.html,className:"VKH_tooltip_menu_item",onclick:()=>{VKH_Tooltip.closeAll();let e=i.getAttribute("data-post-id").split("_");if(2!=e.length)return;a.onChange(Number(e[0]),Number(e[1]))}}))});return o},{parent_scroll:i.closest("#wk_layer_wrap")||document,"class":"VKH_tooltip_menu",type:"hover",left:2,margin_vertical:-6});t.append(e)}})}}}};my_ext_plugins_list["multiFriends"]={cat:"Для быстрой работы",title:"Мульти-друг | Отправить заявку в друзья с нескольких страниц",aboutLink:67,keys:"мультидруг мульти-друг друг друзья",storage:{enabled:true,interval:"3000"},css:function(){return`
			html:not(.my_ext_plugin___multiFriends) .VKH_multiFriends_link {
				display: none;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("multiFriends",function(){let e=ge(".vkuiSplitLayout__inner > .ScrollStickyWrapper:not([VKH_multiFriends_mutation])");if(!e){return}e.setAttribute("VKH_multiFriends_mutation",1);e.prepend(ce("div",{className:"VKH_multiFriends_link VKH_profile_right_menu_item",innerHTML:`<span>Мульти-друг</span>`,onclick:async()=>{vf("multiFriends").openBox(await getFromVK("cur.oid"))}}))})},off:function(){my_ext.mutationObserver.remove("multiFriends")},f:{openBox:async function(e){MBox.create({title:"Мульти-друг",content:`
						<div id="multiFriends_box_accounts"></div>

						<div id="multiFriends_is_mix_checkbox">
							Заявки в друзья в случайном порядке <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все выбранные страницы будут перемешаны, и только после этого будут отправлены/удалены заявки в друзья.<br><br>Если эту функцию не включить, то добавление/удаление всегда будут делаться в одной и той же очередности.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
						</div>

						<div id="multiFriends_is_reverse_checkbox">
							Убрать заявки в друзья <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Если выбранные аккаунты отправляли заявки на добавление в друзья, то заявки от этих пользователей будут удалены.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
						</div>

						<div style="margin-top:15px">
							<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между действиями: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как отправить/удалить заявку в друзья со следующей страницы.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
							<div id="multiFriends_box_accounts_selector_interval" style="width:100px"></div>
						</div>
						<div style="margin-top:15px;color: #ff1100;">
							Обратите внимание, за использование данной функции, ВК может заблокировать ваш аккаунт
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Начать",click:async()=>{my_ext.messages.sendToBG({type:"my_ext_multiFriends_task",details:{users:await vf("listSelectedItem").getAccounts("multiFriends"),owner:e,uid:await getFromVK("vk.id"),is_mix:VKH_checkbox.getSatus("multiFriends_is_mix_checkbox"),is_reverse:VKH_checkbox.getSatus("multiFriends_is_reverse_checkbox"),interval:VKH_selector.getItem("multiFriends_box_accounts_selector_interval")}},e=>{if("run"===e){MBox.closeActive()}})}}]});VKH_checkbox.create("multiFriends_is_mix_checkbox",true);VKH_checkbox.create("multiFriends_is_reverse_checkbox",false);VKH_selector.create("multiFriends_box_accounts_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("multiFriends","interval")});vf("listSelectedItem").createChangerAccounts("multiFriends_box_accounts","multiFriends")}}}};my_ext_plugins_list["multiGroupJoin"]={cat:"Для быстрой работы",title:"Мульти-подписка | Подписка на сообщества с нескольких страниц",aboutLink:66,keys:"мультиподписка мульти-подписка подписка сообщества",storage:{enabled:true,interval:"3000"},css:function(){return`
			html:not(.my_ext_plugin___multiGroupJoin) .VKH_multiGroupJoin_link {
				display: none;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("multiGroupJoin",function(){let e=ge("#public:not([VKH_multiGroupJoin_mutation]), #group:not([VKH_multiGroupJoin_mutation])");if(!e){return}e.setAttribute("VKH_multiGroupJoin_mutation",1);let t=e.querySelector("#narrow_column");if(!t){return}t.prepend(ce("div",{className:"VKH_profile_right_menu_item VKH_multiGroupJoin_link",innerHTML:`<span>Мульти-подписка</span>`,onclick:async function(){let e=-Number(await getFromVK("cur.oid"));vf("multiGroupJoin").openBox(e)}}))})},off:function(){my_ext.mutationObserver.remove("multiGroupJoin")},f:{openBox:async function(e){MBox.create({title:"Мульти-подписка",content:`
						<div id="multiGroupJoin_box_accounts"></div>
						<div id="multiGroupJoin_is_mix_checkbox">
							В случайном порядке  <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все выбранные страницы будут перемешаны, и только после этого будут подписаны/отписаны от сообщество.<br><br>Если эту функцию не включить, то подписки/отписки всегда будут делаться в одной и той же очередности.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
						</div>
						<div id="multiGroupJoin_is_reverse_checkbox">
							Отписаться от сообщества <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Если выбранные аккаунты подписывались на это сообщество, то они отпишутся от него.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
						</div>
						<div style="margin-top:15px">
							<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между действиями: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как сделать следующую подписку/отписку.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
							<div id="multiGroupJoin_box_accounts_selector_interval" style="width:100px"></div>
						</div>
						<div style="margin-top:15px; color: #ff1100;">
							Обратите внимание, за использование данной функции, ВК может заблокировать ваш аккаунт
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Начать",click:async()=>{my_ext.messages.sendToBG({type:"my_ext_multiGroupJoin_task",details:{users:await vf("listSelectedItem").getAccounts("multiGroupJoin"),group_id:e,uid:await getFromVK("vk.id"),is_mix:VKH_checkbox.getSatus("multiGroupJoin_is_mix_checkbox"),is_reverse:VKH_checkbox.getSatus("multiGroupJoin_is_reverse_checkbox"),interval:VKH_selector.getItem("multiGroupJoin_box_accounts_selector_interval")}},e=>{if("run"===e){MBox.closeActive()}})}}]});VKH_checkbox.create("multiGroupJoin_is_mix_checkbox",true);VKH_checkbox.create("multiGroupJoin_is_reverse_checkbox",false);VKH_selector.create("multiGroupJoin_box_accounts_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("multiGroupJoin","interval")});vf("listSelectedItem").createChangerAccounts("multiGroupJoin_box_accounts","multiGroupJoin")}}}};my_ext_plugins_list["multiLike"]={cat:"Для быстрой работы",title:"Мульти-лайк | Лайк с нескольких страниц",aboutLink:54,keys:"мультилайк мульти-лайк лайк лайки",storage:{enabled:true,interval:"100"},css:function(){return`
			html:not(.my_ext_plugin___multiLike) .VKH_multiLike_reply {
				display: none;
			}
			.VKH_multiLike_reply {
				margin-right: 6px;
				color:rgba(255, 0, 0, 0.64);
			}
			.VKH_multiLike_reply:hover {
				color:rgba(255, 0, 0);
			}

			html:not(.my_ext_plugin___multiLike) .VKH_multiLike_photo {
				display: none;
			}
			.VKH_multiLike_photo {
				display: flex;
				align-items: center;
				margin-left: 21px;
				cursor: pointer;
				text-decoration: none !important;
				height: 24px;
				padding: 0 3px;
				box-sizing: border-box;
			}
			.VKH_multiLike_photo > [data-icon] {
				width: 24px;
				height: 24px;
				background: no-repeat center / contain;
				opacity: .7;
				flex: 0 0 auto;
				background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ctitle%3Elike_outline_24%3C%2Ftitle%3E%3Cpath%20d%3D%22M0%2C0H24V24H0Z%22%20fill%3D%22none%22%2F%3E%3Cpath%20d%3D%22M17%2C2.9A6.43%2C6.43%2C0%2C0%2C1%2C23.4%2C9.33c0%2C3.57-1.43%2C5.36-7.45%2C10l-2.78%2C2.16a1.9%2C1.9%2C0%2C0%2C1-2.33%2C0L8.05%2C19.37C2%2C14.69.6%2C12.9.6%2C9.33A6.43%2C6.43%2C0%2C0%2C1%2C7%2C2.9a6.46%2C6.46%2C0%2C0%2C1%2C5%2C2.54A6.46%2C6.46%2C0%2C0%2C1%2C17%2C2.9ZM7%2C4.7A4.63%2C4.63%2C0%2C0%2C0%2C2.4%2C9.33c0%2C2.82%2C1.15%2C4.26%2C6.76%2C8.63l2.78%2C2.16a.1.1%2C0%2C0%2C0%2C.12%2C0L14.84%2C18c5.61-4.36%2C6.76-5.8%2C6.76-8.63A4.63%2C4.63%2C0%2C0%2C0%2C17%2C4.7c-1.56%2C0-3%2C.88-4.23%2C2.73L12%2C8.5l-.74-1.07C10%2C5.58%2C8.58%2C4.7%2C7%2C4.7Z%22%20fill%3D%22%23ff0000%22%2F%3E%3C%2Fsvg%3E)
			}
			.VKH_multiLike_photo:hover > [data-icon] {
				opacity: 1;
			}
			.VKH_multiLike_photo > [data-label] {
				color: #828282;
				font-size: 12px;
				line-height: 1;
				height: auto;
				overflow: hidden;
				margin-left: 6px;
				font-weight: 500;
				-webkit-font-smoothing: subpixel-antialiased;
				-moz-osx-font-smoothing: auto;
				transition: margin-left 100ms linear;
			}

			.VKH_multiLike_video {
				position: absolute;
				bottom: -10px;
				background: #ff5050;
				padding: 2px 2px;
				color: white;
				border-radius: 4px;
			}
		`},vk:{on:function(){let r=async function(e,t,a){e=parseInt(e);t=parseInt(t);if(isNaN(e)||isNaN(t)||e==0||t==0){vkh_func.alert("Ошибка","Возникла ошибка, свяжитесь с поддержкой VK Expert. Ошибка 9627");return}MBox.create({title:"Мульти-лайк",content:`
						<div id="multiLike_box_accounts"></div>
						<div id="multiLike_is_mix_checkbox">
							Ставить/убирать лайки в случайном порядке  <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все выбранные страницы будут перемешаны, и только после этого будут поставлены/убраны лайки.<br><br>Если эту функцию не включить, то лайки всегда будут делаться в одной и той же очередности.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
						</div>
						<div id="multiLike_is_reverse_checkbox">
							Убрать лайки <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Если выбранные аккаунты ставили лайки, то эти лайки будут убраны.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
						</div>
						<div style="margin-top:15px">
							<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между действиями: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как поставить/убрать следующий лайк.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
							<div id="multiLike_box_accounts_selector_interval" style="width:100px"></div>
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Начать",click:async()=>{my_ext.messages.sendToBG({type:"my_ext_multiLike_task",details:{users:await vf("listSelectedItem").getAccounts("multiLike"),type:a,owner:e,id:t,uid:await getFromVK("vk.id"),is_mix:VKH_checkbox.getSatus("multiLike_is_mix_checkbox"),is_reverse:VKH_checkbox.getSatus("multiLike_is_reverse_checkbox"),interval:VKH_selector.getItem("multiLike_box_accounts_selector_interval")}},e=>{if("run"===e){MBox.closeActive()}})}}]});VKH_checkbox.create("multiLike_is_mix_checkbox",true);VKH_checkbox.create("multiLike_is_reverse_checkbox",await getDataFromStorage("multiLike","is_reverse")?true:false);VKH_selector.create("multiLike_box_accounts_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("multiLike","interval")});vf("listSelectedItem").createChangerAccounts("multiLike_box_accounts","multiLike")};my_ext.mutationObserver.add("multiLike",function(){let e=ge("#pv_narrow div.pv_author_block ~ div.like_wrap div.like_btns:not([VKH_multiLike_mutation])");if(e){e.setAttribute("VKH_multiLike_mutation",1);e.append(ce("span",{className:"VKH_multiLike_photo",innerHTML:`
							<div data-icon></div>
							<div data-label>Мульти<br>лайк</div>
						`,onclick:async function(e){e.stopPropagation();let t=await getFromVK("cur.pvCurPhoto.id");let a=(t&&t.length>3?JSON.parse(t):"").split("_");if(2!=a.length){return}let o=Number(a[0]);let i=Number(a[1]);r(o,i,"photo")}}))}let t=ge("#mv_main_info .like_btn.like:not([VKH_multiLike_mutation])");if(t){t.setAttribute("VKH_multiLike_mutation",1);t.append(ce("span",{className:"VKH_multiLike_video",innerHTML:`М-Лайк`,onclick:async function(e){e.stopPropagation();const t=window.location.href.match(/video(-?\d+)_(\d+)/);if(!t[1]||!t[2]){vkh_func.alert("Не удалось определить id и owner для видео");return}let a=Number(t[1]);let o=Number(t[2]);r(a,o,"video")}}))}geAll("div.post div.reply_footer a.like_btn:not([VKH_multiLike_mutation]), #wl_post div.reply_footer a.like_btn:not([VKH_multiLike_mutation])").forEach(l=>{l.setAttribute("VKH_multiLike_mutation",1);let e=ce("span",{className:"VKH_multiLike_reply",innerText:"Мульти-Лайк",onclick:function(e){e.stopPropagation();let t=l.closest("div.reply[data-post-id]");if(!t){return}let a=t.getAttribute("data-post-id").split("_");let o=a[0];let i=a[1];r(o,i,"comment")}});l.prepend(e)})});vf("postMenu").postMenuItemsAdd("multiLike",{html:"Мульти-лайк",onChange:function(e,t){r(e,t,"post")},priority:300})},off:function(){vf("postMenu").postMenuItemsRemove("multiLike");my_ext.mutationObserver.remove("multiLike")}}};my_ext_plugins_list["multiRepost"]={cat:"Для быстрой работы",title:"Мульти-репост | Репост записи на несколько страниц",aboutLink:53,keys:"мультирепост мульти-репост репост репосты",storage:{enabled:true,interval:"100"},vk:{on:function(){vf("postMenu").postMenuItemsAdd("multiRepost",{html:"Мульти-репост",onChange:async function(e,t){MBox.create({title:"Мульти-репост",content:`
								<div id="multiRepost_box_accounts"></div>
								<div id="multiRepost_box_groups"></div>

								<div id="multiRepost_is_mix_checkbox">
									Выполнять в случайном порядке  <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все выбранные страницы будут перемешаны, и только после этого будут сделаны репосты.<br><br>Если эту функцию не включить, то репосты всегда будут делаться в одной и той же очередности.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
								</div>

								<div id="multiRepost_is_reverse_checkbox">
									Удалить репосты <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Удалятся репосты данной записи на всех выбранных страницах. Репост удалится только если он в числе первых 300 записей на стене.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
								</div>
								
								<h4 class="VKH_subheader_border">Ваш комментарий:</h4>
								<div id="multiRepost_box_editable"></div>

								<div id="multiRepost_close_comments_checkbox">
									Отключить комментарии
								</div>

								<div id="multiRepost_is_ads_checkbox">
									Это реклама (для сообществ)
								</div>

								<div id="multiRepost_is_pin_checkbox">
									Закрепить запись
								</div>

								<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между действиями: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как сделать/удалить следующий репост.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
								<div id="multiRepost_box_selector_interval" style="width:100px"></div>
							`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Поделиться записью",click:async()=>{my_ext.messages.sendToBG({type:"my_ext_multiRepost_task",details:{uid:await getFromVK("vk.id"),owner:e,id:t,users:await vf("listSelectedItem").getAccounts("multiRepost"),groups:await vf("listSelectedItem").getGroups("multiRepost"),text:VKH_textarea.get("multiRepost_box_editable"),ads:VKH_checkbox.getSatus("multiRepost_is_ads_checkbox"),is_pin:VKH_checkbox.getSatus("multiRepost_is_pin_checkbox"),close_comments:VKH_checkbox.getSatus("multiRepost_close_comments_checkbox"),is_mix:VKH_checkbox.getSatus("multiRepost_is_mix_checkbox"),is_reverse:VKH_checkbox.getSatus("multiRepost_is_reverse_checkbox"),interval:VKH_selector.getItem("multiRepost_box_selector_interval")}},e=>{if("run"===e){MBox.closeActive()}})}}]});VKH_checkbox.create("multiRepost_is_ads_checkbox",false);VKH_checkbox.create("multiRepost_is_pin_checkbox",false);VKH_checkbox.create("multiRepost_close_comments_checkbox",false);VKH_checkbox.create("multiRepost_is_mix_checkbox",true);VKH_checkbox.create("multiRepost_is_reverse_checkbox",false);VKH_selector.create("multiRepost_box_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("multiRepost","interval")});vf("listSelectedItem").createChangerAccounts("multiRepost_box_accounts","multiRepost");vf("listSelectedItem").createChangerGroups("multiRepost_box_groups","multiRepost");VKH_textarea.init("multiRepost_box_editable");MBox.updatePosition()},priority:200})},off:function(){vf("postMenu").postMenuItemsRemove("multiRepost")},messages:{multiRepost_update:function(e){}}}};my_ext_plugins_list["multiComment"]={cat:"Для быстрой работы",title:"Мульти-комментарий | Комментарий к посту с нескольких страниц",aboutLink:70,keys:"мультикомментарий мульти-комментарий комментарий комментарии",storage:{enabled:true,interval:"200"},css:()=>{return`
			#multiComment_comments_box > div {
				margin-bottom: 10px;
				background: #80808017;
				padding: 10px 10px 0px 10px;
				border-radius: 10px;
			}
			
			#multiComment_comments_box div[data-delete-comment] {
				text-align: right;
				color: gray;
				margin: 4px;
				padding-bottom: 6px;
			}
			
			#multiComment_comments_box div[data-delete-comment] > a {
				color: gray;
			}
		`},vk:{f:{openBox:async function(e,t){MBox.create({title:"Мульти-комментарий",width:720,content:`
						<table><tr><td valign="top" style="width: 400px; padding-right: 20px;">
							
							<h4 class="VKH_subheader" style="margin-top: 0; padding-top: 0;">Варианты комментариев:</h4>
							<div id="multiComment_comments_box"></div>
							<div id="multiComment_comments_add" style="text-align: center;"><a href="#">Добавить еще один вариант комментария</a></div>
							<div style="background: #ff000014; color: red; padding: 10px; margin-top: 10px; text-align: center;">Каждый аккаунт будет выбирать случайный комментарий из предложенных и отправлять его.</div>
							
						</td><td valign="top" style="width: 270px;">

							<div id="multiComment_box_accounts"></div>
							<div id="multiComment_box_groups"></div>

							<div style="margin-top:15px; border-bottom: solid 1px #e4e6e9; margin-bottom: 15px; padding-bottom: 15px;">
								<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между комментариями: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как написать следующий комментарий.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
								<div id="multiComment_box_selector_interval" style="width:100px"></div>
							</div>
							
							<div id="multiComment_checkbox_uniq_msg" style="margin-top:15px; border-bottom: solid 1px #e4e6e9; margin-bottom: 15px; padding-bottom: 15px;">Минимум повторений <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Комментарии публикуются с минимальным повторением.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></div>

							<div id="multiComment_box_templates"></div>

						</td></tr></table>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Опубликовать комментарии",click:async()=>{my_ext.messages.sendToBG({type:"my_ext_multiComment_task",details:{uid:await getFromVK("vk.id"),owner:e,id:t,users:await vf("listSelectedItem").getAccounts("multiComment"),groups:await vf("listSelectedItem").getGroups("multiComment"),text:vf("multiComment").getComments(),interval:VKH_selector.getItem("multiComment_box_selector_interval"),uniq_msg:VKH_checkbox.getSatus("multiComment_checkbox_uniq_msg")}},e=>{if("run"===e){MBox.closeActive()}})}}]});vf("templates").create("multiComment_box_templates","multiComment",{onCreate:()=>{let e=vf("multiComment").getComments();if(e.length<1){vkh_func.alert("Для создания шаблона необходимо указать хотя бы один комментарий.");return false}return{comments:e}},onChange:e=>{vf("multiComment").addComments(e.comments||[],true)}});vf("multiComment").addComments();ge("#multiComment_comments_add > a").onclick=function(e){e.stopPropagation();vf("multiComment").addComments();return false};VKH_checkbox.create("multiComment_checkbox_uniq_msg",true);VKH_selector.create("multiComment_box_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("multiComment","interval")});vf("listSelectedItem").createChangerAccounts("multiComment_box_accounts","multiComment");vf("listSelectedItem").createChangerGroups("multiComment_box_groups","multiComment")},getComments:()=>{let a=[];geAll("#multiComment_comments_box div[data-editable-box]").forEach(e=>{let t=VKH_textarea.get(e);if(t){a.push(t)}});return a},addComments:(e,t)=>{let o=geById("multiComment_comments_box");e=e||[];let a=e=>{let t=ce("div",{innerHTML:`
							<div data-editable-box></div>
							<div data-delete-comment><a href="#">Удалить комментарий</a></div>
						`});let a=t.querySelector("div[data-editable-box]");t.querySelector("div[data-delete-comment] > a").onclick=function(e){e.stopPropagation();if(geAll("#multiComment_comments_box > div").length>1){t.remove()}else{VKH_textarea.set(a,"")}return false};o.append(t);VKH_textarea.init(a);VKH_textarea.set(a,e||"")};if(true===t){o.innerText=""}let i=false;each(e,(e,t)=>{t=t.trim();if(t){i=true;a(t)}});if(!i){a();return}}},on:function(){vf("postMenu").postMenuItemsAdd("multiComment",{html:"Мульти-комментарий",onChange:function(e,t){vf("multiComment").openBox(e,t)},priority:200})},off:function(){vf("postMenu").postMenuItemsRemove("multiComment")}}};my_ext_plugins_list["wallCopy"]={cat:"Для быстрой работы",title:"Копирование/публикация записей",aboutLink:21,keys:"копировать копирование скопировать публикация отправить",storage:{enabled:true,interval:"100",range:false,range_val:false,donut:false,donut_val:false,crop:false,crop_from:1,crop_to:25,quality:false,quality_from:20,quality_to:100,is_pin:false,wall_to_stories:false,is_close_comments:false,copyright:false,is_upload_img:false,is_uniq:false,is_uniq_text:false,is_img_mirror:false,is_mix_attach:false,is_img_watermark:false,mode_grid:true},css:function(){return`
			#wallCopy_create_new_post {
				cursor: pointer;
				margin-right: 10px;
				float: right;
				height: 26px;
				width: 26px;
				margin-top: 6px;
				color: red;
				opacity: .72;
			}
			#wallCopy_create_new_post:hover {
				opacity: 1;
			}
				
			#wallCopy_box div.VKH_checkbox { margin: 12px 0 0; }
		`},vk:{on:function(){my_ext.mutationObserver.add("wallCopy",function(){let e=ge('button[data-testid="posting_create_post_button"]:not([VHK_wallCopy_mutation])');if(!e){return}e.setAttribute("VHK_wallCopy_mutation",1);e.after(ce("span",{id:"wallCopy_create_new_post",onclick:async function(){vf("wallCopy").openBox({owner:await getFromVK("cur.oid")})},innerHTML:`
						<svg viewBox="0 0 24 24" stroke="currentColor" fill="none" xmlns="http://www.w3.org/2000/svg">
							<path d="M12 3.99997H6C4.89543 3.99997 4 4.8954 4 5.99997V18C4 19.1045 4.89543 20 6 20H18C19.1046 20 20 19.1045 20 18V12M18.4142 8.41417L19.5 7.32842C20.281 6.54737 20.281 5.28104 19.5 4.5C18.7189 3.71895 17.4526 3.71895 16.6715 4.50001L15.5858 5.58575M18.4142 8.41417L12.3779 14.4505C12.0987 14.7297 11.7431 14.9201 11.356 14.9975L8.41422 15.5858L9.00257 12.6441C9.08001 12.2569 9.27032 11.9013 9.54951 11.6221L15.5858 5.58575M18.4142 8.41417L15.5858 5.58575" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
						</svg>
					`,vkh_tooltip:["Создать запись через "+ext_name_string,{mode:"black",left:-5}]}))});vf("postMenu").postMenuItemsAdd("wallCopy",{html:"Копировать запись",onChange:(e,t)=>{vf("getPostInfo").get(e,t,{show_load:true},function(e){if("success"!==e.status)return;vf("wallCopy").openBox({text:e.text,attachs:e.attachs,owner:e.owner,id:e.id})})},priority:400})},off:function(){vf("postMenu").postMenuItemsRemove("wallCopy");my_ext.mutationObserver.remove("wallCopy")},f:{openBox:async function(t){let a=()=>{function e(e){return e<10?"0"+e:e}function t(e){let t={1:"Января",2:"Февраля",3:"Марта",4:"Апреля",5:"Мая",6:"Июня",7:"Июля",8:"Августа",9:"Сентября",10:"Октября",11:"Ноября",12:"Декабря"};return t[e]}let a=VKH_datepicker.getVal(geById("wallCopy_box_wrap_timer"));let o=Number(VKH_selector.getItem("wallCopy_box_selector_range"))*60;let i=new Date((a-o)*1e3);let l=i.getDate()+" "+t(i.getMonth()+1)+" "+i.getFullYear()+" "+i.getHours()+":"+e(i.getMinutes());let r=new Date((a+o)*1e3);let n=r.getDate()+" "+t(r.getMonth()+1)+" "+r.getFullYear()+" "+r.getHours()+":"+e(r.getMinutes());geById("wallCopy_box_rangeStart_label").innerText=l;geById("wallCopy_box_rangeEnd_label").innerText=n};let o=MBox.create({title:"Создание записи",width:960,content:`
						<div id="wallCopy_box">
							<table><tr><td style="padding-right: 20px; width: 510px; max-width: 510px; position: relative;" valign="top">

								<h4 class="VKH_subheader" style="margin-top: 0; padding-top: 0;">Запись для публикации:</h4>

								<div id="wallCopy_box_editable"></div>

								<div id="wallCopy_box_media" style="margin-top: 5px;"></div>

							</td><td valign="top" style="width: 370px;">

								<div class="radiobtn vkh_leftboard" id="wallCopy_box_pages_type_select">Опубликовать на своих страницах</div>
								<div class="leftborder" style="padding-top: 5px; padding-bottom: 5px; margin-bottom: 8px;">
									<div style="margin-top: 12px;">
										<div id="wallCopy_box_accounts"></div>
										<div id="wallCopy_box_groups"></div>
									</div> 
								</div> 

								<div class="radiobtn vkh_leftboard" id="wallCopy_box_pages_type_list">Опубликовать на страницах из списка</div>
								<div class="leftborder" style="padding-top: 5px; padding-bottom: 3px;">
									<textarea id="wallCopy_box_pages_type_list_val" class="dark" rows="3" style="width: 100%; resize: none;" placeholder="Укажите список страниц. Каждая страница с новой строки."></textarea>
								</div>


								<h4 class="VKH_subheader_border">Параметры публикации:</h4>

								<div class="vkh_leftboard" id="wallCopy_box_wallToStories" style="color: #e49a1f;">Опубликовать пост в историю  <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Опубликованный пост автоматически добавится в истории на целевых страницах. Благодаря этому можно увеличить охваты записи.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></div>
								<div class="leftborder" style="padding-bottom: 5px;">
									<div style="margin-top: 12px;">
										<h4 class="VKH_subheader" style="margin: 5px 0;">Выберите фон истории:</h4>
										<div data-stories-box></div>
										<div style="margin-top: 10px; color: #000000; background: #ff000042; padding: 4px 8px;">Истории создаются только из текста, фото и видео. Остальные вложения при создании историй не учитываются.</div>
									</div>		
								</div>

								<div class="vkh_leftboard" id="wallCopy_box_uniq" style="color: #e49a1f;">Уникализировать запись</div>
								<div class="leftborder">
									<div id="wallCopy_box_uniq_text">Замена похожих букв в тексте <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Если включить эту настройку, в тексе будут заменяться(с вероятностью 70%) все похожие русские символы на английские.<br><br>Пример: русская <b>o</b> будет заменена на английскую <b>о</b>, <b>p</b> на <b>p</b>, и т.д.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></div>								
									<div id="wallCopy_box_uniq_img_mirror">Отзеркалить изображения</div>
									<div id="wallCopy_box_uniq_img_watermark" class="vkh_leftboard">Нанести водяные знаки на изображения</div>
									<div class="leftborder">
										<div style="margin-top: 12px;">
											<a href="#" id="wallCopy_box_uniq_img_watermark_setting">Настроить водяные знаки</a>
										</div>
									</div>
									
									<div id="wallCopy_box_uniq_img_crop" class="vkh_leftboard">Обрезать изображения</div>
									<div class="leftborder" style="padding-bottom: 5px;">
										<div style="margin-top: 12px;">
											Обрезать 
											от <input type="text" class="dark" maxlength="3" style="width: 50px; text-align: center;" id="wallCopy_box_uniq_img_crop_from" value="0"> 
											до <input type="text" class="dark" maxlength="3" style="width: 50px; text-align: center;" id="wallCopy_box_uniq_img_crop_to" value="0"> px
											<br>с каждой стороны изображений
										</div>
									</div>
									
									<div id="wallCopy_box_uniq_img_quality" class="vkh_leftboard">Качество изображений</div>
									<div class="leftborder" style="padding-bottom: 5px;">
										<div style="margin-top: 12px;">
											Качество изображений 
											от <input type="text" class="dark" maxlength="3" style="width: 50px; text-align: center;" id="wallCopy_box_uniq_img_quality_from" value="0"> 
											до <input type="text" class="dark" maxlength="3" style="width: 50px; text-align: center;" id="wallCopy_box_uniq_img_quality_to" value="0">
											<br>где 0 - низкое качество, 100 - высокое качество
										</div>
									</div>
									
									<div id="wallCopy_box_uniq_mix_attach">Перемешать вложения <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все прикрепленные фотографии, видео, аудио, и т.д. будут меняться местами при публикации записи.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></div>
								</div>

								<div id="wallCopy_box_postpone" class="vkh_leftboard" style="color: #e49a1f;">Отложить публикацию</div>
								<div class="leftborder" style="padding-bottom: 5px; margin-top: 10px;">
									<div id="wallCopy_box_wrap_timer"></div>
									<div id="wallCopy_box_selector_range_checkbox" class="vkh_leftboard">Случайное время из диапазона</div>
									<div class="leftborder">
										<div style="margin-top: 12px;">
											<div id="wallCopy_box_selector_range" style="width:150px; margin-bottom: 5px;"></div>
											Запись будет опубликована в случайное время<br><span style="white-space: nowrap;">с <span style="color:red" id="wallCopy_box_rangeStart_label"></span></span> <span style="white-space: nowrap;">по <span style="color:red" id="wallCopy_box_rangeEnd_label"></span></span>
										</div>
									</div>
								</div>

								<div id="wallCopy_box_upload_img" class="vkh_leftboard" style="color: #e49a1f;">Загружать изображения от имени страницы <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все прикрепленные изображения будут загружаться от имени целевой(на которой публикуется запись) страницы.<br>Без этой функции изображения публикуются от имени страницы, которая загрузила это изображение Вконтакт.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></div>
								<div class="leftborder">
									<div id="wallCopy_box_photo_desc" class="vkh_leftboard">Указать описание для всех фото</div>					
									<div class="leftborder">
										<div style="margin-top: 12px;">
											<textarea class="dark" rows="3" style="width: 100%; resize: none;" id="wallCopy_box_photo_desc_val" placeholder="Укажите текст, который будет добавляться в описание каждой фотографии"></textarea>
										</div>
									</div>
								</div>

								<div id="wallCopy_box_check_mode_grid">Отобразить вложения сеткой  <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"По умолчанию вложения отображаются в карусели\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></div>

								<div id="wallCopy_box_for_groups">
									<div id="wallCopy_box_check_official">Опубликовать от имени группы</div>
									<div id="wallCopy_box_check_signed">Добавить подпись (для сообществ)</div>
									<div id="wallCopy_box_check_ads">Это реклама (для сообществ)</div>
								</div>

								<div id="wallCopy_box_is_pin">Закрепить запись на стене</div>
								<div id="wallCopy_box_is_close_comments">Отключить комментарии</div>
								<div id="wallCopy_box_copyright" class="vkh_leftboard">Указать источник</div>
								<div class="leftborder">
									<div style="margin-top: 12px;">
										<input type="text" class="dark" style="width: 100%;" id="wallCopy_box_copyright_val">
									</div>
								</div>

								<div id="wallCopy_box_selector_donut_checkbox" class="vkh_leftboard">Для донов</div>
								<div class="leftborder">
									<div style="margin-top: 12px;">
										<div id="wallCopy_box_selector_donut" style="width:230px"></div>
									</div>
								</div>

								<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между публикациями: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как опубликовать запись на следующую страницу.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
								<div id="wallCopy_box_selector_interval" style="width:100px"></div>

							</td></tr></table>
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,name:"send",html:"Опубликовать",click:async e=>{e.lockButton();let a={users:[],groups:[],list_pages:[],uid:await getFromVK("vk.id"),owner:t.owner,pages_type:geById("wallCopy_box_pages_type_list").classList.contains("on")?"list":"select",id:t.id||"",text:VKH_textarea.get("wallCopy_box_editable"),attachs:VKH_media.get(geById("wallCopy_box_media")),lat:VKH_media.getMapLat(geById("wallCopy_box_media")),"long":VKH_media.getMapLong(geById("wallCopy_box_media")),ads:VKH_checkbox.getSatus("wallCopy_box_check_ads"),signed:VKH_checkbox.getSatus("wallCopy_box_check_signed"),official:VKH_checkbox.getSatus("wallCopy_box_check_official"),mode_grid:VKH_checkbox.getSatus("wallCopy_box_check_mode_grid"),postpone:VKH_checkbox.getSatus("wallCopy_box_postpone")?VKH_datepicker.getVal(geById("wallCopy_box_wrap_timer")):false,range:VKH_checkbox.getSatus("wallCopy_box_selector_range_checkbox"),range_val:VKH_selector.getItem("wallCopy_box_selector_range"),donut:VKH_checkbox.getSatus("wallCopy_box_selector_donut_checkbox"),donut_val:VKH_selector.getItem("wallCopy_box_selector_donut"),upload_img:VKH_checkbox.getSatus("wallCopy_box_upload_img"),photo_desc:VKH_checkbox.getSatus("wallCopy_box_upload_img")&&VKH_checkbox.getSatus("wallCopy_box_photo_desc")?geById("wallCopy_box_photo_desc_val").value.trim():"",uniq:VKH_checkbox.getSatus("wallCopy_box_uniq"),uniq_text:VKH_checkbox.getSatus("wallCopy_box_uniq_text"),img_mirror:VKH_checkbox.getSatus("wallCopy_box_uniq_img_mirror"),mix_attach:VKH_checkbox.getSatus("wallCopy_box_uniq_mix_attach"),is_pin:VKH_checkbox.getSatus("wallCopy_box_is_pin"),copyright:VKH_checkbox.getSatus("wallCopy_box_copyright")?geById("wallCopy_box_copyright_val").value.trim():"",crop:VKH_checkbox.getSatus("wallCopy_box_uniq_img_crop"),crop_from:geById("wallCopy_box_uniq_img_crop_from").value.trim(),crop_to:geById("wallCopy_box_uniq_img_crop_to").value.trim(),quality:VKH_checkbox.getSatus("wallCopy_box_uniq_img_quality"),quality_from:geById("wallCopy_box_uniq_img_quality_from").value.trim(),quality_to:geById("wallCopy_box_uniq_img_quality_to").value.trim(),interval:VKH_selector.getItem("wallCopy_box_selector_interval"),img_watermark:VKH_checkbox.getSatus("wallCopy_box_uniq_img_watermark"),is_close_comments:VKH_checkbox.getSatus("wallCopy_box_is_close_comments"),wall_to_stories:VKH_checkbox.getSatus("wallCopy_box_wallToStories"),wall_to_stories_bg_id:vf("wallToStories").getBackgroundsBox(o.node.querySelector("div[data-stories-box]"))};if("select"===a.pages_type){if(a.postpone){let e=localStorage.getItem("VKH_wallCopy_date_last");let t=0;if(e)t=a.postpone-Number(e);if(t<300||t>1209600)t=a.postpone-Math.round((new Date).getTime()/1e3);if(t<300||t>1209600)localStorage.removeItem("VKH_wallCopy_interval");else localStorage.setItem("VKH_wallCopy_interval",t);localStorage.setItem("VKH_wallCopy_date_last",Number(a.postpone))}a.users=await vf("listSelectedItem").getAccounts("wallCopy");a.groups=await vf("listSelectedItem").getGroups("wallCopy")}else{a.list_pages=Array.from(new Set(geById("wallCopy_box_pages_type_list_val").value.trim().split("\n").map(e=>e.trim()).filter(Boolean)))}my_ext.messages.sendToBG({type:"my_ext_wallCopy_task",details:a},e=>{if("string"===typeof e&&"run"===e){o.close();return}o.unlockButton("send")})}}]});vf("listSelectedItem").createChangerAccounts("wallCopy_box_accounts","wallCopy");vf("listSelectedItem").createChangerGroups("wallCopy_box_groups","wallCopy",{onChange:e=>{geById("wallCopy_box_for_groups").classList.toggle("hide",e.length?false:true)}});VKH_textarea.init("wallCopy_box_editable",{content:t.text||"",tags:[["строка А | строка Б | Строка В","Рандом"],["[ А | Б | В ]","Перемешать"]]});VKH_media.create(geById("wallCopy_box_media"),{attachs:t.attachs||[]});let e=e=>{if("list"==e){addClass("wallCopy_box_pages_type_list","on");removeClass("wallCopy_box_pages_type_select","on");addClass("wallCopy_box_postpone","hide");addClass("wallCopy_box_is_pin","hide");addClass("wallCopy_box_wallToStories","hide");addClass("wallCopy_box_is_close_comments","hide");addClass("wallCopy_box_copyright","hide");addClass("wallCopy_box_upload_img","hide");addClass("wallCopy_box_uniq_img_watermark","hide");addClass("wallCopy_box_check_official","hide");addClass("wallCopy_box_check_signed","hide");addClass("wallCopy_box_check_ads","hide");return}addClass("wallCopy_box_pages_type_select","on");removeClass("wallCopy_box_pages_type_list","on");removeClass("wallCopy_box_postpone","hide");removeClass("wallCopy_box_is_pin","hide");removeClass("wallCopy_box_wallToStories","hide");removeClass("wallCopy_box_is_close_comments","hide");removeClass("wallCopy_box_copyright","hide");removeClass("wallCopy_box_upload_img","hide");removeClass("wallCopy_box_uniq_img_watermark","hide");removeClass("wallCopy_box_check_official","hide");removeClass("wallCopy_box_check_signed","hide");removeClass("wallCopy_box_check_ads","hide")};e(t.id?"select":"list");if(!t.id){geById("wallCopy_box_pages_type_list_val").value=getUrlVK()+"/"+(t.owner>0?"id"+t.owner:"club"+-t.owner)}geById("wallCopy_box_pages_type_select").onclick=function(){e("select")};geById("wallCopy_box_pages_type_list").onclick=function(){e("list")};VKH_selector.create("wallCopy_box_selector_donut",[["-1","исключительно для донов"],["86400","на 1 день"],["172800","на 2 дня"],["259200","на 3 дня"],["345600","на 4 дня"],["432000","на 5 дней"],["518400","на 6 дней"],["604800","на 7 дней"]],{selectItem:await getDataFromStorage("wallCopy","donut_val")});VKH_selector.create("wallCopy_box_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("wallCopy","interval")});VKH_selector.create("wallCopy_box_selector_range",[["5","± 5 мин."],["10","± 10 мин."],["15","± 15 мин."],["20","± 20 мин."],["25","± 25 мин."],["30","± 30 мин."],["40","± 40 мин."],["50","± 50 мин."],["60","± 1 час"],["120","± 2 часа"],["180","± 3 часа"],["240","± 4 часа"],["300","± 5 часов"],["360","± 6 часов"],["720","± 12 часов"],["1440","± 24 часа"],["2880","± 2 дня"],["4320","± 3 дня"],["5760","± 4 дня"],["7200","± 5 дней"]],{selectItem:await getDataFromStorage("wallCopy","range_val"),onChange:function(e){a()}});VKH_checkbox.create("wallCopy_box_wallToStories",await getDataFromStorage("wallCopy","wall_to_stories")?true:false);VKH_checkbox.create("wallCopy_box_is_pin",await getDataFromStorage("wallCopy","is_pin")?true:false);VKH_checkbox.create("wallCopy_box_is_close_comments",await getDataFromStorage("wallCopy","is_close_comments")?true:false);VKH_checkbox.create("wallCopy_box_copyright",await getDataFromStorage("wallCopy","copyright")?true:false,()=>{geById("wallCopy_box_copyright_val").select()});VKH_checkbox.create("wallCopy_box_uniq_img_mirror",await getDataFromStorage("wallCopy","is_img_mirror")?true:false);VKH_checkbox.create("wallCopy_box_uniq_mix_attach",await getDataFromStorage("wallCopy","is_mix_attach")?true:false);VKH_checkbox.create("wallCopy_box_uniq_img_watermark",await getDataFromStorage("wallCopy","is_img_watermark")?true:false);VKH_checkbox.create("wallCopy_box_selector_range_checkbox",await getDataFromStorage("wallCopy","range")?true:false);VKH_checkbox.create("wallCopy_box_selector_donut_checkbox",await getDataFromStorage("wallCopy","donut")?true:false);VKH_checkbox.create("wallCopy_box_uniq",await getDataFromStorage("wallCopy","is_uniq")?true:false);VKH_checkbox.create("wallCopy_box_uniq_img_crop",await getDataFromStorage("wallCopy","crop")?true:false);VKH_checkbox.create("wallCopy_box_uniq_img_quality",await getDataFromStorage("wallCopy","quality")?true:false);VKH_checkbox.create("wallCopy_box_upload_img",await getDataFromStorage("wallCopy","is_upload_img")?true:false,()=>{geById("wallCopy_box_photo_desc_val").select()});VKH_checkbox.create("wallCopy_box_uniq_text",await getDataFromStorage("wallCopy","is_uniq_text")?true:false);VKH_checkbox.create("wallCopy_box_postpone",false);VKH_checkbox.create("wallCopy_box_check_official",true);VKH_checkbox.create("wallCopy_box_check_mode_grid",await getDataFromStorage("wallCopy","mode_grid")?true:false);VKH_checkbox.create("wallCopy_box_check_signed",false);VKH_checkbox.create("wallCopy_box_check_ads",false);VKH_checkbox.create("wallCopy_box_photo_desc",false,()=>{geById("wallCopy_box_photo_desc_val").select()});geById("wallCopy_box_uniq_img_crop_from").value=await getDataFromStorage("wallCopy","crop_from")||"";geById("wallCopy_box_uniq_img_crop_to").value=await getDataFromStorage("wallCopy","crop_to")||"";geById("wallCopy_box_uniq_img_quality_from").value=await getDataFromStorage("wallCopy","quality_from")||"";geById("wallCopy_box_uniq_img_quality_to").value=await getDataFromStorage("wallCopy","quality_to")||"";geById("wallCopy_box_copyright_val").value=getUrlVK()+"/"+(t.id?"wall"+t.owner+"_"+Number(t.id):t.owner>0?"id"+t.owner:"club"+-t.owner);geById("wallCopy_box_uniq_img_watermark_setting").onclick=function(e){e.stopPropagation();vf("watermarks").open();return false};let i=localStorage.getItem("VKH_wallCopy_interval");i=i?Number(i):0;let l=localStorage.getItem("VKH_wallCopy_date_last");l=l?Number(l):0;let r=l&&i?i+l:false;VKH_datepicker.create(geById("wallCopy_box_wrap_timer"),{date:r||Math.round(((new Date).getTime()+864e5)/1e3),onUpdate:function(){a()}});if(!Number(await getAccess("plugin_wallCopy__upload_img"))){addClass("wallCopy_box_upload_img","disabled");VKH_Tooltip.create(geById("wallCopy_box_upload_img"),"Для использования этой функции необходимо<br>повысить тариф в расширении "+ext_name_string,{left:-9})}if(!Number(await getAccess("plugin_wallCopy__uniq_text"))){addClass("wallCopy_box_uniq_text","disabled");VKH_Tooltip.create(geById("wallCopy_box_uniq_text"),"Для использования этой функции необходимо<br>повысить тариф в расширении "+ext_name_string,{left:-9})}vf("wallToStories").createBackgroundsBox(o.node.querySelector("div[data-stories-box]"));MBox.updatePosition();VKH_textarea.focus(geById("wallCopy_box_editable"))}}}};my_ext_plugins_list["syncMultiAccounts"]={cat:"Аккаунты",title:"Синхронизация друзей",aboutLink:68,fields:{interval:{lang:"Интервал для синхронизации",type:"select",items:[{value:1,lang:"1 час"},{value:2,lang:"2 часа"},{value:3,lang:"3 часа"},{value:4,lang:"4 часа"},{value:5,lang:"5 часов"},{value:6,lang:"6 часов"},{value:9,lang:"9 часов"},{value:12,lang:"12 часов"},{value:18,lang:"18 часов"},{value:24,lang:"1 день"},{value:48,lang:"2 дня"},{value:72,lang:"3 дня"}]},label_0:{type:"label",text:()=>{let a=document.createElement("div");a.innerHTML='<span style="color: gray; font-size: .8em;">Дата последней синхронизации:</span> <span data-time style="color: black; font-size: .8em;">не определено</span>';chrome.storage.local.get("syncMultiAccounts_lastTime",t=>{if("number"===typeof t.syncMultiAccounts_lastTime){let e=new Date(t.syncMultiAccounts_lastTime);a.querySelector("span[data-time]").innerText=e.toISOString().split("T")[0]+" "+e.toTimeString().split(" ")[0]}});return a}}},storage:{enabled:false,interval:4},css:function(){return`
			span.syncMultiAccounts_box_loading {
				display: inline-block;
			}
			span.syncMultiAccounts_box {
				white-space: nowrap;
			}

			.syncMultiAccounts_friends_box {
				display: inline-block;
				border: 1px solid #ff000078;
				border-radius: 2px;
				padding: 0 4px 0 4px;
				margin-right: 4px;
				background: white;
				color: red;
			}
			.syncMultiAccounts_friends_box.syncMultiAccounts_friends_box_empty {
				opacity: .2;
			}
			.syncMultiAccounts_friends_icon {
			}
			.syncMultiAccounts_friends_cnt {
				margin-left: 4px;
			}
			
			.syncMultiAccounts_dialogs_box {
				display: none !important;
				display: inline-block;
				border: 1px solid #ff000078;
				border-radius: 2px;
				padding: 0 4px 0 4px;
				margin-right: 4px;
				background: white;
				color: red;
			}
			.syncMultiAccounts_dialogs_box.syncMultiAccounts_dialogs_box_empty {
				opacity: .2;
			}
			.syncMultiAccounts_dialogs_icon {
			}
			.syncMultiAccounts_dialogs_cnt {
				margin-left: 4px;
			}

			span.syncMultiAccounts_box_post,
			span.syncMultiAccounts_box_comments {
				margin-left: 4px;
			}
			span.syncMultiAccounts_box_profile {
				margin-left: 10px;
				position: absolute;
			}
			span.syncMultiAccounts_box_friends_list {
				margin-left: 10px;
			}
		`},vk:{on:function(){let i=(e,t)=>{let a=ce("span",{innerHTML:`<div>&#8226;&#8226;&#8226;</div>`,className:"syncMultiAccounts_box syncMultiAccounts_box_loading "+(t||""),dataset:{user_name:e}});VKH_Tooltip.create(a.querySelector("div"),"Загружаем данные синхронизации...");return a};let l=(e,t,a)=>{let o=(+new Date-a)/1e3;let i=parseInt(o/60/60);let l=parseInt((o-i*60*60)/60);let r=o-i*60*60-l*60;let n=[];if(i>0){n.push(i+" ч.")}if(l>0){n.push(l+" мин.")}if(n.length){n="Последняя синхронизация "+n.join(" ")+" назад"}else if(r>0){n="Аккаунты только что синхронизированны"}else{n="Аккаунты не синхронизированны"}let s="<div><small>"+n+"</small></div>";let c=t.dialogs||[];let _=t.friends||[];let d=ce("span");let u="";if(_.length){u+="В друзьях на аккаунтах:<ul>";for(let e of _){u+="<li>"+e+"</li>"}u+="</ul>"}else{u+="Данного пользователя нет в друзьях на ваших аккаунтах"}u+=s;let m=ce("div",{className:"syncMultiAccounts_friends_box "+(_.length?"":"syncMultiAccounts_friends_box_empty")});VKH_Tooltip.create(m,u);m.append(ce("i",{className:"fas fa-user syncMultiAccounts_friends_icon"}));m.append(ce("span",{className:"syncMultiAccounts_friends_cnt",innerText:_.length}));d.append(m);let p="<div>";if(c.length){p+="Есть переписки на аккаунтах:<ul>";for(let e of c){p+="<li>"+e+"</li>"}p+="</ul>"}else{p+="На ваших аккаунтах нет переписки с данным пользователям"}p+=s;p+="</div>";let x=ce("div",{className:"syncMultiAccounts_dialogs_box "+(c.length?"":"syncMultiAccounts_dialogs_box_empty")});VKH_Tooltip.create(x,p);x.append(ce("i",{className:"fas fa-comment-alt syncMultiAccounts_dialogs_icon"}));x.append(ce("span",{className:"syncMultiAccounts_dialogs_cnt",innerText:c.length}));d.append(x);removeClass(e,"syncMultiAccounts_box_loading");e.innerText="";e.append(d)};my_ext.mutationObserver.add("syncMultiAccounts",async function(){let o=new Set;geAll("a.PostHeaderTitle__authorLink[data-from-id]:not([VKH_syncMultiAccounts_mutation])").forEach(t=>{t.setAttribute("VKH_syncMultiAccounts_mutation",1);if(Number(t.dataset.fromId)>0){let e="id"+t.dataset.fromId;o.add(e);t.after(i(e,"syncMultiAccounts_box_post"))}});geAll("div.reply_author > a.author[data-from-id]:not([VKH_syncMultiAccounts_mutation])").forEach(t=>{t.setAttribute("VKH_syncMultiAccounts_mutation",1);if(Number(t.dataset.fromId)>0){let e="id"+t.dataset.fromId;o.add(e);t.after(i(e,"syncMultiAccounts_box_comments"))}});let a=ge("#owner_page_name:not([VKH_syncMultiAccounts_mutation])");if(a){a.setAttribute("VKH_syncMultiAccounts_mutation",1);let t=Number(await getFromVK("cur.oid"));if(t>0){let e="id"+t;o.add(e);a.append(i(e,"syncMultiAccounts_box_profile"))}}geAll('div[data-testid="userrichcell"] a[class*="vkitUserRichCell__link"]:not([VKH_syncMultiAccounts_mutation])').forEach(e=>{e.setAttribute("VKH_syncMultiAccounts_mutation",1);let t=e.href.match(/^(https:\/\/vk\.(com|ru))?\/([a-zA-Z0-9_]*)(\?.+?)?/)?.[3];if(!t){return}o.add(t);let a=e.querySelector('div[data-testid="userrichcell-name"]');if(a){a.append(i(t,"syncMultiAccounts_box_friends_list"))}});geAll("div.ConvoList__itemsWrapper div[data-itemkey^=convo_]:not([VKH_syncMultiAccounts_mutation])").forEach(e=>{e.setAttribute("VKH_syncMultiAccounts_mutation",1);let t=e.dataset.itemkey?.match(/^convo_([0-9]*)$/)?.[1];if(!t){return}t="id"+t;o.add(t);let a=e.querySelector("div.ConvoTitle");if(a){a.append(i(t))}});if(o.size){my_ext.messages.sendToBG({type:"ext_plugins_syncMultiAccounts_get_status_ids",details:{users:[...o]}},function(t){geAll("span.syncMultiAccounts_box_loading").forEach(e=>{l(e,t.info[e.dataset.user_name]||{},t.last_time)})})}})},off:function(){my_ext.mutationObserver.remove("syncMultiAccounts")}}};my_ext_plugins_list["wallToStories"]={cat:"Для быстрой работы",title:"Отправить пост в историю",aboutLink:69,keys:"отправить пост в историю создание истории запись записи опубликовать публикация сторис",storage:{enabled:true,interval:"100",type_pages:"select",bg_sort:""},css:function(){return`
			#wallToStories_box {
				position: relative;
			}
			#wallToStories_box_img {
				width: 300px; 
				height: 534px; 
				border: 1px solid rgba(0,20,51,.12);
			}
			#wallToStories_img { 
				display: block;
				width: 100%; 
				height: 100%; 
			}
			#wallToStories_img_loading {
				display: none;
				position: absolute;
				margin:auto;
				left:0;
				right:0;
				top:0;
				bottom:0;
				width: 100%;
				height: 100%;
				background: #ebecef1c;
			}
			#wallToStories_img_loading > div {
				position: absolute;
				margin: auto;
				left: 0;
				right: 0;
				top: 0;
				bottom: 0;
			}
			#wallToStories_box.wallToStories_loading #wallToStories_img_loading {
				display: block;
			}
			#wallToStories_box.wallToStories_loading #wallToStories_img {
				display: none;
			}
		`},vk:{f:{createBackgroundsBox:function(i,l){my_ext.messages.sendToBG({type:"ext_plugins_wallToStories_getBgItems"},e=>{addClass(i,"wallToStories_bg_box");let t=ce("div",{innerHTML:`
							<div data-items></div>
							<a data-show-all>Показать все фоны</a>
						`});let a=t.querySelector("div[data-items]");let o=0;for(let t of e.items){let e=ce("div");if(o==0){addClass(e,"wallToStories_bg_box_select");o++}e.dataset.bgId=t.id;e.style.backgroundImage="url("+t.image+")";e.onclick=()=>{if(e.classList.contains("wallToStories_bg_box_select")){return}removeClass(i.querySelector("div.wallToStories_bg_box_select"),"wallToStories_bg_box_select");addClass(e,"wallToStories_bg_box_select");if(l){l(t.id)}};a.append(e)}t.querySelector("a[data-show-all]").onclick=()=>{addClass(i,"wallToStories_bg_box_show_all_bg");return false};i.append(t);if(l){l(vf("wallToStories").getBackgroundsBox(i))}})},getBackgroundsBox:function(e){return e.querySelector(".wallToStories_bg_box_select").dataset.bgId},openBox:async function(o){let t=t=>{i.node.querySelectorAll("div[data-type_pages]").forEach(e=>{e.classList.toggle("on",t==e.dataset.type_pages)})};let i=MBox.create({title:"Опубликовать пост в историю",width:660,content:`
						<div id="wallToStories_box" class="wallToStories_loading">
							<table><tr><td style="padding-right: 20px; width: 310px; position: relative;" valign="top">

								<div style="position: relative; margin-top: 0px;" id="wallToStories_box_img">
									<img id="wallToStories_img">
									<div id="wallToStories_img_loading">
										<div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
									</div>
								</div>

							</td><td valign="top">

								<h4 class="VKH_subheader" style="margin-top: 0;">Куда опубликовать:</h4>
								<div data-type_pages="select" class="radiobtn vkh_leftboard">Выбрать страницы</div>
								<div class="leftborder" style="padding-top: 5px; padding-bottom: 5px; margin-bottom: 8px;">
									<div id="wallToStories_box_accounts"></div>
									<div id="wallToStories_box_groups"></div>
								</div>
								<div data-type_pages="user" class="radiobtn">.</div>
								<div data-type_pages="group" class="radiobtn" style="display: none;">.</div>

								<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Выберите фон:</h4>
								<div data-stories-box></div>

								<div id="wallToStories_is_mix_checkbox">
									Перемешать страницы <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все выбранные страницы будут перемешаны, и только после этого будут опубликованы истории.<br><br>Если эту функцию не включить, то истории всегда будут публиковаться в одной и той же очередности.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
								</div>

								<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между публикациями: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как опубликовать историю на следующую страницу.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
								<div id="wallToStories_selector_interval" style="width:100px"></div>

							</td></tr></table>
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Опубликовать",name:"send",click:async t=>{t.lockButton();let e=i.node.querySelector("#wallToStories_img");let a={uid:await getFromVK("vk.id"),post_owner:o.post_owner,post_id:o.post_id,type_pages:i.node.querySelector("div[data-type_pages].on").dataset.type_pages,users:[],groups:[],image:e.src,image_height:e.dataset.height,image_width:e.dataset.width,is_mix:VKH_checkbox.getSatus("wallToStories_is_mix_checkbox"),interval:VKH_selector.getItem("wallToStories_selector_interval"),bg_id:vf("wallToStories").getBackgroundsBox(i.node.querySelector("div[data-stories-box]"))};if("select"==a.type_pages){a.users=await vf("listSelectedItem").getAccounts("wallToStories");a.groups=await vf("listSelectedItem").getGroups("wallToStories")}else if("user"==a.type_pages){a.users=[i.node.querySelector('div[data-type_pages="user"]').dataset.id]}else if("group"==a.type_pages){a.groups=[i.node.querySelector('div[data-type_pages="group"]').dataset.id]}t.unlockButton("send");if(!a.users.length&&!a.groups.length){vkh_func.alert("Вы не указали, куда публиковать историю");return}my_ext.messages.sendToBG({type:"ext_plugins_wallToStories_task",details:a},e=>{if("run"===e){t.close()}})}}]});i.node.querySelectorAll("div[data-type_pages]").forEach(e=>{e.onclick=function(){t(e.dataset.type_pages)}});vf("listSelectedItem").createChangerAccounts("wallToStories_box_accounts","wallToStories");vf("listSelectedItem").createChangerGroups("wallToStories_box_groups","wallToStories");VKH_checkbox.create("wallToStories_is_mix_checkbox",true);VKH_selector.create("wallToStories_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("wallToStories","interval")});let a=false;if(o.user?.uid>0){let e=i.node.querySelector('div[data-type_pages="user"]');e.dataset.id=o.user.uid;e.innerText=o.user.name;e.style.display="block";if("user"==o.type_pages){t("user");a=true}}if(o?.group?.id>0){let e=i.node.querySelector('div[data-type_pages="group"]');e.dataset.id=o.group.id;e.innerText=o.group.name;e.style.display="block";if(!a&&"group"==o.type_pages){t("group");a=true}}if(!a){t("select")}vf("wallToStories").createBackgroundsBox(i.node.querySelector("div[data-stories-box]"),t=>{i.lockButton("send");addClass("wallToStories_box","wallToStories_loading");vf("getPostInfo").get(o.post_owner,o.post_id,{is_extended:true},e=>{e.bg_id=t;my_ext.messages.sendToBG({type:"ext_plugins_wallToStories_gen",details:{data:e}},function(e){if(o.post_owner!=e.owner||o.post_id!=e.id){return}if(e.error){vkh_func.alert("Возникла ошибка",e.error);return}geById("wallToStories_img").src=e.url;geById("wallToStories_img").dataset.height=1280;geById("wallToStories_img").dataset.width=720;i.unlockButton("send");removeClass("wallToStories_box","wallToStories_loading")})})})}},on:function(){vf("postMenu").postMenuItemsAdd("wallToStories",{html:"Опубликовать в историю",onChange:async function(e,t){MBox.loader.show();my_ext.messages.sendToBG({type:"ext_plugins_wallToStories_getData",details:{uid:await getFromVK("vk.id"),oid:e<0?e:0,post_owner:e,post_id:t}},function(e){MBox.loader.hide();vf("wallToStories").openBox(e)})},priority:500})},off:function(){vf("postMenu").postMenuItemsRemove("wallToStories")}}};my_ext_plugins_list["shortLinkLeftMenu"]={cat:"Для быстрой работы",title:"Быстрый доступ к vk.cc из левого меню",aboutLink:45,storage:{enabled:false},vk:{on:function(){let o=function(){MBox.create({title:"Сократить ссылку через vk.cc",content:`
						Cсылка, которую Вы хотите сократить:
						<input type="text" id="my_ext_shortLinkLeftMenu_link" style="width: 100%" class="dark">
						
						<div id="my_ext_shortLinkLeftMenu_private" style="margin-top: 10px;"> 
							Статистика ссылки видна только Вам
						</div>
					`,footer_html:'<a href="https://vk.cc" target=_blank">Все сокращенные ссылки</a>',btns:[{close:true,html:"Отмена"},{primary:true,html:"Сократить",click:async t=>{let e=geById("my_ext_shortLinkLeftMenu_link").value.trim();let a=/^(https?:\/\/)?(www\.)?[a-zа-яё0-9]+([\-\.]{1}[a-zа-яё0-9]+)*\.[a-zа-яё]{2,10}(:[0-9]{1,10})?(\/.*)?$/gi;if(e==""||!a.test(e)){vkh_func.alert("Неверная ссылка");return}t.lockButton();my_ext.messages.sendToBG({type:"ext_plugins_shortLinkLeftMenu_short",details:{uid:await getFromVK("vk.id"),link:e,private_link:VKH_checkbox.getSatus("my_ext_shortLinkLeftMenu_private")}},e=>{t.close();if("fail"===e.status){MBox.create({title:"Сократить ссылку",content:`Возникла ошибка при сокращении ссылки`,btns:[{close:true,html:"Закрыть"},{primary:true,html:"Сократить другую ссылку",click:e=>{e.close();o()}}]});return}MBox.create({title:"Сокращенная ссылка",content:`<input type="text" class="dark" id="my_ext_shortLinkLeftMenu_inputSuccess" style="width:100%; text-align:center">`,btns:[{close:true,html:"Закрыть"},{primary:true,html:"Сократить еще одну ссылку",click:e=>{e.close();o()}}]});geById("my_ext_shortLinkLeftMenu_inputSuccess").value=e.link;geById("my_ext_shortLinkLeftMenu_inputSuccess").select()})}}]});VKH_checkbox.create("my_ext_shortLinkLeftMenu_private",false);geById("my_ext_shortLinkLeftMenu_link").focus()};vf("leftMenu").add(900,function(){return ce("span",{className:"VKH_leftMenu_shortLink_menuItem",innerHTML:`
						<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
							<path fill="none" stroke="currentColor" fill-rule="nonzero" stroke-width="2" stroke-linecap="round" d="M9.16488 17.6505C8.92513 17.8743 8.73958 18.0241 8.54996 18.1336C7.62175 18.6695 6.47816 18.6695 5.54996 18.1336C5.20791 17.9361 4.87912 17.6073 4.22153 16.9498C3.56394 16.2922 3.23514 15.9634 3.03767 15.6213C2.50177 14.6931 2.50177 13.5495 3.03767 12.6213C3.23514 12.2793 3.56394 11.9505 4.22153 11.2929L7.04996 8.46448C7.70755 7.80689 8.03634 7.47809 8.37838 7.28062C9.30659 6.74472 10.4502 6.74472 11.3784 7.28061C11.7204 7.47809 12.0492 7.80689 12.7068 8.46448C13.3644 9.12207 13.6932 9.45086 13.8907 9.7929C14.4266 10.7211 14.4266 11.8647 13.8907 12.7929C13.7812 12.9825 13.6314 13.1681 13.4075 13.4078M10.5919 10.5922C10.368 10.8319 10.2182 11.0175 10.1087 11.2071C9.57284 12.1353 9.57284 13.2789 10.1087 14.2071C10.3062 14.5492 10.635 14.878 11.2926 15.5355C11.9502 16.1931 12.279 16.5219 12.621 16.7194C13.5492 17.2553 14.6928 17.2553 15.621 16.7194C15.9631 16.5219 16.2919 16.1931 16.9495 15.5355L19.7779 12.7071C20.4355 12.0495 20.7643 11.7207 20.9617 11.3787C21.4976 10.4505 21.4976 9.30689 20.9617 8.37869C20.7643 8.03665 20.4355 7.70785 19.7779 7.05026C19.1203 6.39267 18.7915 6.06388 18.4495 5.8664C17.5212 5.3305 16.3777 5.3305 15.4495 5.8664C15.2598 5.97588 15.0743 6.12571 14.8345 6.34955"></path>
						</svg>
						<span>Сократить ссылку</span>
					`,onclick:function(){o()}})})},off:function(){vf("leftMenu").remove(900)}}};my_ext_plugins_list["myLinkLeftMenu"]={cat:"Для быстрой работы",title:"Добавление своих ссылок в левое меню",aboutLink:46,storage:{enabled:false,list:[]},css:function(){return`
			.VKH_leftMenu_myLinkLeftMenu_items_box > * {
			    margin-bottom: 10px;
    			display: block;
			}
			div.VKH_leftMenu_myLinkLeftMenu_items_box .VKH_leftMenu_shortLink_menuItem [data-remove] {
				display: none;
				position: absolute;
				right: 15px;
				top: 0;
				background: white;
				padding: 0px 4px;
				text-decoration: none;
				cursor: pointer;
			}
			div.VKH_leftMenu_myLinkLeftMenu_items_box .VKH_leftMenu_shortLink_menuItem:hover [data-remove] {
				display: block;
			}
			div.VKH_leftMenu_myLinkLeftMenu_items_box [data-title] {
				margin-left: 35px;
				overflow: hidden; 
				white-space: nowrap; 
				display: block;
				max-width: 90px;
			}
			div.VKH_leftMenu_myLinkLeftMenu_items_box .VKH_leftMenu_shortLink_menuItem {
				cursor: default;
			}	
		`},vk:{on:function(){vf("leftMenu").add(1e3,function(){let a=function(e){if(!e.title||!e.link)return"";let t=e.link.substr(0,7);let o=ce("span",{className:"VKH_leftMenu_shortLink_menuItem",dataset:{link:1},innerHTML:`
							<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
								<path d="M50 37.45c-6.89 0-12.55 5.66-12.55 12.549c0 6.89 5.66 12.55 12.55 12.55c6.655 0 12.112-5.294 12.48-11.862a3.5 3.5 0 0 0 .07-.688a3.5 3.5 0 0 0-.07-.691C62.11 42.74 56.653 37.45 50 37.45zm0 7c3.107 0 5.55 2.442 5.55 5.549s-2.443 5.55-5.55 5.55c-3.107 0-5.55-2.443-5.55-5.55c0-3.107 2.443-5.549 5.55-5.549z"></path>
							</svg>
							<a data-title target="${true===e.target?"_blank":""}"></a>
							<span data-remove>x</span>
						`});o.querySelector("[data-title]").href=t=="https:/"||t=="http://"?e.link:"http://"+e.link;o.querySelector("[data-title]").innerText=e.title;o.querySelector("[data-remove]").onclick=async function(e){e.stopPropagation();if(!await vkh_func.confirm("Удалить ссылку?"))return false;let a=-1;i.querySelectorAll(".VKH_leftMenu_shortLink_menuItem[data-link").forEach((e,t)=>{if(o===e){a=t;return false}});my_ext.messages.sendToBG({type:"ext_plugins_myLinkLeftMenu_remove",details:{id:a}});o.remove();return false};return o};let i=ce("div",{className:"VKH_leftMenu_myLinkLeftMenu_items_box"});my_ext.messages.sendToBG({type:"my_ext_myLinkLeftMenu___get_links"},function(e){if(e.length){each(e,function(e,t){i.append(a(t))})}i.append(ce("span",{className:"VKH_leftMenu_shortLink_menuItem",dataset:{add:1},innerHTML:`
							<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
								<path d="M4 12H20M12 4V20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
							</svg>
							<span>Добавить ссылку</span>
						`,onclick:function(){let t=MBox.create({title:"Добавить ссылку в левое меню",content:`
									Название ссылки для отображения в левом меню:
									<input type="text" data-title style="width: 100%; margin-bottom: 15px;" maxlength="100" class="dark">
									
									Cсылка для перехода:
									<input type="text" data-link style="width: 100%" maxlength="500" class="dark">
									
									<div data-target>
										Открывать ссылку в новом окне
									</div>
								`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Добавить",name:"send",click:e=>{e.lockButton();my_ext.messages.sendToBG({type:"ext_plugins_myLinkLeftMenu_add",details:{link:t.node.querySelector("input[data-link]").value.trim(),title:t.node.querySelector("input[data-title]").value.trim(),target:VKH_checkbox.getSatus(t.node.querySelector("div[data-target]"))}},t=>{if(undefined!==t.link){e.close();i.querySelector("span[data-add]").before(a(t));return}e.unlockButton();if(t.error){vkh_func.alert(t.error);return}if(t.low_tarif){let e=ce("span",{innerHTML:"Ваш тариф в расширении "+ext_name_string+' позволяет добавлять только <span style="font-weight:900">'+Number((t.showDoneBox_fields||{}).max_count||0)+'</span> ссылку в левое меню.<div style="margin-top:10px"></div>Ознакомьтесь с <a href="#">таблицей тарифов</a>.'});e.querySelector("a").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"ext_redirect_link",details:{type:"tarif_table",source:"plugin",payload:"myLinkLeftMenu;max_count"}});return false};vkh_func.alert(e)}})}}]});VKH_checkbox.create(t.node.querySelector("div[data-target]"),true);t.node.querySelector("input[data-title]").focus()}}))});return i})},off:function(){vf("leftMenu").remove(1e3)}}};my_ext_plugins_list["photoURIcopy"]={cat:"Для быстрой работы",title:"Открывать оригинал изображения",aboutLink:41,storage:{enabled:false},css:function(){return`

			div.attachmentCarousel div.VKH_photoURIcopy_box {
				right: 72px;
			}

			div.VKH_photoURIcopy_box {
				position: absolute;
				top: 2px;
				right: 2px;
				display: none;
			}

			html.my_ext_plugin___photoURIcopy div.photos_row:hover > div.VKH_photoURIcopy_box, 		
			html.my_ext_plugin___photoURIcopy a:hover > div.VKH_photoURIcopy_box, 
			html.my_ext_plugin___photoURIcopy div.page_cover:hover > div.VKH_photoURIcopy_box,
			html.my_ext_plugin___photoURIcopy div:hover > div.VKH_photoURIcopy_box {
				display: block;
			}

			div.VKH_photoURIcopy_box > div {
				width: 16px; 
				height: 16px;
				opacity: .8;    
				display: inline-block;
    			margin-left: 6px;
			}
			div.VKH_photoURIcopy_box > div:hover {
				opacity: 1;
			}

			div.my_ext_photoURIcopy_openLink {
				background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGnSURBVDjLnZOxilNBGIW/mXt3CZsYQQtjJYqPkE4L8Q20WARbmxWEFQvBXrByQdDKF3CL1QcQH8DOKmVIkWIFbdybTe7M/x+Lm+zeFELcAz/DwJnD4eOf8OD5p4d37w2f/qrUwR25k3PG5cgMl5AZ5k5/O81Ho+mHo7e7RyxVDu8M97c63TjosIk61cz2gfOAWVKc/T5hU50mxfa9lInXj29vHPDkzYT1ADkAi2x8/jq6fpy7N37+8eJfPHqX+zx7/1397VSNRtOXJRIAMcB4tnOr19thcHWjMt1qZu9KcwMghEBVi+o/eZSW81nARXiUOaXzgBYPuTCH7I65Y1nNyKlN3BxcwtwoLTUNItDmoRhQECWRECIhGKEQhUfK3Pg8G+V0PPm2d5Du5zpxZXDtrA0BCoEkCkEMBWUAC8Ji09TNG8NqXnz8IUnK7sruSmaqzTQ30yIlndZJszrpZJ4kSY9efVnfqjaP9hmBECNFEQkxEIuVP1O2A9Z4LB8Xy3OlrbbfbD1gOp4c7h2k3VwnzAx3Jy0WzY90Q6ZmK93xBsNh0JL8RfUXD1Ut4VHY1QEAAAAASUVORK5CYII=');
			}
			div.my_ext_photoURIcopy_copyLink {
				background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAThJREFUeNqUk7+uREAUxg/ZygPovIlolBsRzW4hkWgkNvEoCg0FUSj0XmBbvIk/T+DPxnUmGRmx3Hu/5DPIOT/fjBluWRbIsiwEABeuFVmW9Tq8RUCapsvn87k01qwOsZ41j5B5ngms73vouo64bVtomoYYpWka1rlxHIdsAAKYpok8cBy3M8/zZESN4wiGYWCtG646BZRlSVxVFXFd10BrEPJ4PAgkCAICuVE6BciyTOZG14feS5K0xfY8D3zfx0V/HQDv93tr+iZFUUAUxa2HAIZh2ACqqu4SfBvZnl0CXLSiKC4T3O93YHsOCXRdP/36rwkQkOf5IS6r5/N5ncA0zcv503GXgO4DVJIklwfCtm1gew5TcBxnF/8swW4KeBbwDwiCAH8R1tLzQwHRus9d+J8ivPwIMACvvBTYMz6bygAAAABJRU5ErkJggg==');
			}
			div.my_ext_photoURIcopy_downloadLink {
				background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABW0lEQVR4Xp2TPUjDQBiG34RrAykFyVLFRASlgwVB1NXNRZycShfBIm5ODroU7FJB/KG7hYKoODgJDp1cXHTQpS6itHEwoCEYq2haYvjgoD8mlj7L+8HdPfnuJ8LwXO4YQBIeZ8oGumHBzPHyhAFIFrbSkCWG8fIFuqEwkqZcWj9IMq46vapgIlVCN5wflTE/OUg1QxuGYSCIWCwGTocgFApBURQE4TiOr4DQdR1BaJoWLKAJwQQLZFnuXbBWvKPsWfD1VsG39Qw/pD4VibEEHo0PH8H7K1IzcUQiERKoqopwOAzLslDVdRxePuHhZQij/dG/BUL9ky/Gfn6Xcmd7D6ZpAq4L5v5AQCtii0AA/3L7tVInnA7B7X0V8YEoX0wPqplGowHbtn0PMZsvljKri7PUniiKtOfl9AoJarUaXNeFJEnemEBdMi85VHm/9CaAzHT0Bv9xbU+hiewvJx5hJ9oSrKMAAAAASUVORK5CYII=');
			}
		`},vk:{f:{getImg:async function(e,o){let t=await getFromVK("cur.gid");let a=await getFromVK("cur.oid");let i=jQuery(e).parent();if(i.is("[data-options]")&&i.is("[data-photo-id]")){var l=i.data("options").temp;let a="";jQuery.each(["w","z","y","x","m","s"],function(e,t){if(l[t]){a=l[t];return false}});o({url:a,filename:"photo"+i.data("photo-id")+".jpg"});return}if(i.hasClass("page_cover")){o({url:i.css("background-image").replace("url(","").replace(")","").replace(/\"/gi,""),filename:"cover"+a+".jpg"});return}if(i.hasClass("photos_row")){var r=i.children("a");if(r){i=i.children("a")}}let n=false;try{n=JSON.parse(i.attr("onclick").match(/{(.+)}/)[0]).temp}catch(c){}if(false===n){let a=false;try{a=jQuery(i).data("photo-id");if(undefined===a){a=jQuery(i).attr("onclick").match(/return showPhoto\('(-?[0-9]*_[0-9]*)'/)[1]}}catch(c){}if(false===a||undefined===a){try{a=i.attr("href").match(/^\/photo(-?[0-9]*_[0-9]*)/)[1]}catch(c){}}if(false===a||undefined===a){o(false);return false}let e="";try{e=i.attr("onclick").match(/return showPhoto\(\'\d+_\d+\', \'(.+)\',/)[1]}catch(c){}fetch(getUrlVK()+"/al_photos.php?act=show",{headers:{accept:"*/*","content-type":"application/x-www-form-urlencoded","x-requested-with":"XMLHttpRequest"},body:"act=show&al=1&al_ad=0&dmcah=&gid="+t+"&list="+e+"&module=im&photo="+a,method:"POST"}).then(e=>{return e.json()}).then(e=>{let t="";if(e.payload&&e.payload[1]&&e.payload[1][3]&&e.payload[1][3][0]){e.payload[1][3].forEach(e=>{if(e.id==a){if(e.w_src){t=e.w_src}else if(e.z_src){t=e.z_src}else if(e.y_src){t=e.y_src}else if(e.x_src){t=e.x_src}}})}if(""==t){o(false);return}o({filename:a,url:t})});return false}let s="";jQuery.each(["w","z","y","x","m","s"],function(e,t){if(n[t]){s=n[t];return false}});o({url:s,filename:"photo"+i.attr("onclick").match(/return showPhoto\('(-?[0-9]*_[0-9]*)'/)[1]+".jpg"})},eventHover:function(){let e=this;e.setAttribute("VKH_photoURIcopy",1);let t=ce("div",{className:"VKH_photoURIcopy_box"});t.append(ce("div",{className:"my_ext_photoURIcopy_copyLink",vkh_tooltip:["Скопировать URL изображения",{left:-8,mode:"black"}],onclick:function(e){e.stopPropagation();vf("photoURIcopy").getImg(t,e=>{if(false===e){return}let t=ce("div",{innerHTML:`<input type="text" class="dark", style="width:100%; text-align:center">`});vkh_func.alert("Ссылка на изображение",t);t.querySelector("input").value=e.url;t.querySelector("input").focus();t.querySelector("input").select()});return false}}));t.append(ce("div",{className:"my_ext_photoURIcopy_openLink",vkh_tooltip:["Открыть оригинал изображения в новой вкладке",{left:-8,mode:"black"}],onclick:function(e){e.stopPropagation();vf("photoURIcopy").getImg(t,e=>{if(false===e){return}window.open(e.url)});return false}}));t.append(ce("div",{className:"my_ext_photoURIcopy_downloadLink",vkh_tooltip:["Скачать оригинал изображения",{left:-8,mode:"black"}],onclick:function(e){e.stopPropagation();vf("photoURIcopy").getImg(t,e=>{if(false===e){return}my_ext.messages.sendToBG({type:"ext_plugins_photoURIcopy_download",details:{filename:e.filename,url:e.url}})});return false}}));e.append(t)}},on:function(){jQuery(document).on("mouseover",`div[data-task-click="WallPost/openPhoto"][data-options][data-photo-id]:not([VKH_photoURIcopy]), 
				a.PagePostLimitedThumbLink[onclick^="return showPhoto("]:not([VKH_photoURIcopy]), 
				a.image_cover[onclick^="return showPhoto("][style*="background-image: url("]:not([VKH_photoURIcopy]), 
				div.page_cover:not([VKH_photoURIcopy]), div.photos_row:not([VKH_photoURIcopy]),
				div.PostContentContainer a[href^="/photo"]:not([VKH_photoURIcopy])`,vf("photoURIcopy").eventHover)},off:function(){jQuery(document).off("mouseover",'div[data-task-click="WallPost/openPhoto"]:not([VKH_photoURIcopy]), a.PagePostLimitedThumbLink[onclick^="return showPhoto("]:not([VKH_photoURIcopy]),a.image_cover[onclick^="return showPhoto("][style*="background-image: url("]:not([VKH_photoURIcopy]), div.page_cover:not([VKH_photoURIcopy]), div.photos_row:not([VKH_photoURIcopy]), div.PostContentContainer a[href^="/photo"]:not([VKH_photoURIcopy])',vf("photoURIcopy").eventHover)}}};my_ext_plugins_list["away"]={cat:"Другое",title:"Обходить страницу перенаправления (away.php)",aboutLink:30,storage:{enabled:false},vk:{f:{eventHover:function(e){let t='a[href^="/away.php?to="]:not(VKH_away_link)';if(e.target.matches(t)){e.target.setAttribute("VKH_away_link",1);e.target.href=new URL(e.target.href).searchParams.get("to");return}let a=e.target.closest(t);if(a){a.setAttribute("VKH_away_link",1);a.href=new URL(a.href).searchParams.get("to");return}}},on:function(){document.addEventListener("mouseover",vf("away").eventHover)},off:function(){document.removeEventListener("mouseover",vf("away").eventHover)}}};my_ext_plugins_list["clearAccountFunc"]={cat:"Для быстрой работы",title:"Набор функций для быстрого управления страницей",aboutLink:51,keys:"быстрое удаление диалогов Одобрение всех заявок в друзья заявки в друзья Удаление друзей удалить друзей Удаление исходящих заявок и интересных людей Добавление подписчиков в друзья добавить подписчиков Удалить диалоги удаление диалогов удалить сообщения удаление сообщений Удаление записей на стене Удалеть записи на стене Очистка списка понравившихся фотографий Очистить список понравившихся фотографий удалить лайки убрать лайки видеозаписей записей Очистка списка сообществ удалить сообщества Очистить список сообществ",storage:{enabled:false},vk:{on:function(){vf("leftMenu").add(800,function(){return ce("span",{className:"VKH_leftMenu_shortLink_menuItem",innerHTML:`
						<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
							<path d="M16 7C16 6.07003 16 5.60504 15.8978 5.22354C15.6204 4.18827 14.8117 3.37962 13.7765 3.10222C13.395 3 12.93 3 12 3C11.07 3 10.605 3 10.2235 3.10222C9.18827 3.37962 8.37962 4.18827 8.10222 5.22354C8 5.60504 8 6.07003 8 7M5.2 21H18.8C19.9201 21 20.4802 21 20.908 20.782C21.2843 20.5903 21.5903 20.2843 21.782 19.908C22 19.4802 22 18.9201 22 17.8V10.2C22 9.07989 22 8.51984 21.782 8.09202C21.5903 7.71569 21.2843 7.40973 20.908 7.21799C20.4802 7 19.9201 7 18.8 7H5.2C4.07989 7 3.51984 7 3.09202 7.21799C2.71569 7.40973 2.40973 7.71569 2.21799 8.09202C2 8.51984 2 9.07989 2 10.2V17.8C2 18.9201 2 19.4802 2.21799 19.908C2.40973 20.2843 2.71569 20.5903 3.09202 20.782C3.51984 21 4.0799 21 5.2 21Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
						</svg>
						<span>Управление</span>
					`,onclick:function(){vf("clearAccountFunc").openBox()}})})},off:function(){vf("leftMenu").remove(800)},p:{box_main:false},f:{openBox:function(){my_ext.plugins.get("clearAccountFunc").vk.p.box_main=MBox.create({title:"Управление страницей",content:`
						Друзья:<br>
						- <a href="#" id="ext_plugins_clearAccountFunc_friendsRequestInpJoin_openBox">Одобрение всех заявок в друзья</a><br>
						- <a href="#" id="ext_plugins_clearAccountFunc_friendsDelete_openBox">Удаление друзей</a><br>
						- <a href="#" id="ext_plugins_clearAccountFunc_friendDeleteRequestOut_openBox">Удаление исходящих заявок и интересных людей</a><br>
						- <a href="#" id="ext_plugins_clearAccountFunc_subscribeToFriends_openBox">Добавление подписчиков в друзья</a><br><br>	
						
						Личные сообщения:<br>
						- <a href="#" id="ext_plugins_clearAccountFunc_dialogsDelete_openBox">Удаление диалогов</a><br><br>
						
						Стена:<br>
						- <a href="#" id="ext_plugins_clearAccountFunc_wallDelete_openBox">Удаление записей на стене (и для сообществ)</a><br><br>
						
						Закладки:<br>
						<span style="display:none">- <a href="#" class="ext_plugins_clearAccountFunc_faveRemoveLikes_openBox" data-type="photo">Очистка списка понравившихся фотографий</a><br></span>
						- <a href="#" class="ext_plugins_clearAccountFunc_faveRemoveLikes_openBox" data-type="video">Очистка списка понравившихся видеозаписей</a><br>
						- <a href="#" class="ext_plugins_clearAccountFunc_faveRemoveLikes_openBox" data-type="wall">Очистка списка понравившихся записей</a><br><br>
						
						Сообщества:<br>
						- <a href="#" id="ext_plugins_clearAccountFunc_groupsLeave_openBox">Очистка списка сообществ</a><br>
					`});geAll(".ext_plugins_clearAccountFunc_faveRemoveLikes_openBox").forEach(t=>{t.onclick=function(e){e.stopPropagation();vf("clearAccountFunc").faveRemoveLikes_openBox(t.dataset.type);return false}});geById("ext_plugins_clearAccountFunc_friendsDelete_openBox").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").friendsDelete_openBox();return false};geById("ext_plugins_clearAccountFunc_friendDeleteRequestOut_openBox").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").friendDeleteRequestOut_openBox();return false};geById("ext_plugins_clearAccountFunc_friendsRequestInpJoin_openBox").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").friendsRequestInpJoin_openBox();return false};geById("ext_plugins_clearAccountFunc_subscribeToFriends_openBox").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").subscribeToFriends_openBox();return false};geById("ext_plugins_clearAccountFunc_groupsLeave_openBox").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").groupsLeave_openBox();return false};geById("ext_plugins_clearAccountFunc_wallDelete_openBox").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").wallDelete_openBox();return false};geById("ext_plugins_clearAccountFunc_dialogsDelete_openBox").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").dialogsDelete_openBox();return false}},friendsDelete_openBox:function(){MBox.create({title:"Удаление друзей",content:`
						<h4 class="VKH_subheader" style="padding-top: 0; margin-top: 0;">Параметры удаления</h4>
			
						<div id="ext_plugins_clearAccountFunc_friendsDelete_openBox_radio">
							<div class="radiobtn on" data-type="1">Всех друзей</div>
							<div class="radiobtn" data-type="2">Удаленных друзей</div>
							<div class="radiobtn" data-type="3">Заблокированных друзей</div>
							<div class="radiobtn" data-type="4">Кто давно не заходил на свою страницу</div>
							<div style="margin:10px 0 10px 20px; display:none">
								кто не посещал соц. сеть в течении <input type="text" size="2" value="30" id="ext_plugins_clearAccountFunc_friendsDelete_openBox_radio_4_days" class="dark" autocomplete="off"> дней
							</div>
							<div class="radiobtn" data-type="5">У кого закрыты личные сообщения</div>
							<div class="radiobtn" data-type="6">У кого закрыта стена</div>
							<div class="radiobtn" data-type="7">С одинаковым именем и фамилией</div>
							<div class="radiobtn" data-type="8">Без фотографии</div>
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Удалить",click:async e=>{var t={type:ge("#ext_plugins_clearAccountFunc_friendsDelete_openBox_radio .radiobtn.on").dataset.type};if(t.type==4){t.days=ge("#ext_plugins_clearAccountFunc_friendsDelete_openBox_radio_4_days").value;if(parseInt(t.days,10)!=t.days||t.days<1){vkh_func.alert("Возникла ошибка","Укажите количество дней");return}}var a;switch(Number(t.type)){case 1:a="удалить всех друзей";break;case 2:a="удалить удаленных друзей";break;case 3:a="удалить заблокированных друзей";break;case 4:a="удалить друзей, которые не заходили на свою страницу в течении "+t.days+" дней";break;case 5:a="удалить друзей, у которых закрыты личные сообщения";break;case 6:a="удалить друзей, у которых закрыта стена";break;case 7:a="удалить друзей, у которых имя совпадает с фамилией";break;case 8:a="удалить друзей, у которых не установлена фотография";break}if(!a)return;if(!await vkh_func.confirm("Вы действительно хотите <b>"+a+"</b>?")){return}e.close();vp("clearAccountFunc").box_main.close();t.uid=await getFromVK("vk.id");my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_friendsDelete",details:t})}}]});geAll("#ext_plugins_clearAccountFunc_friendsDelete_openBox_radio .radiobtn").forEach(e=>{e.onclick=function(){geAll("#ext_plugins_clearAccountFunc_friendsDelete_openBox_radio .radiobtn").forEach(e=>{removeClass(e,"on")});addClass(e,"on");if(4==e.dataset.type){e.nextElementSibling.style.display="block";e.nextElementSibling.querySelector("input").select();e.nextElementSibling.querySelector("input").focus();return}ge('#ext_plugins_clearAccountFunc_friendsDelete_openBox_radio .radiobtn[data-type="4"]').nextElementSibling.style.display="none"}})},friendDeleteRequestOut_openBox:async function(){if(!await vkh_func.confirm("Вы действительно хотите <b>удалить исходящие заявки и интересных людей</b>")){return}vp("clearAccountFunc").box_main.close();my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_friendDeleteRequestOut",details:{uid:await getFromVK("vk.id")}})},friendsRequestInpJoin_openBox:async function(){if(!await vkh_func.confirm("Вы действительно хотите <b>принять все заявки в друзья</b>?")){return}vp("clearAccountFunc").box_main.close();my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_friendsRequestInpJoin",details:{uid:await getFromVK("vk.id")}})},subscribeToFriends_openBox:async function(){if(!await vkh_func.confirm("Вы действительно хотите <b>добавить подписчиков в друзья</b>?")){return}vp("clearAccountFunc").box_main.close();my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_subscribeToFriends",details:{uid:await getFromVK("vk.id")}})},faveRemoveLikes_openBox:async function(e){var t={photo:["Очистка списка понравившихся фотографий","Вы действительно хотите <b>очистить список понравившихся фотографий</b>?"],video:["Очистка списка понравившихся видеозаписей","Вы действительно хотите <b>очистить список понравившихся видеозаписей</b>?"],wall:["Очистка списка понравившихся записей","Вы действительно хотите <b>очистить список понравившихся записей</b>?"]};if(!t[e])return;if(!await vkh_func.confirm(t[e][1])){return}vp("clearAccountFunc").box_main.close();my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_faveRemoveLikes",details:{uid:await getFromVK("vk.id"),type:e}})},groupsLeave_openBox:function(){MBox.create({title:"Очистка списка сообществ",content:`
						Вы действительно хотите <b>очистить список сообществ</b>?
						<div id="ext_plugins_clearAccountFunc_groupsLeave_openBox_isAdmin">
							<b>НЕ</b> удалять сообщества, в которых Вы являетесь администратором, редактором или модератором
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Очистить",click:async e=>{e.close();vp("clearAccountFunc").box_main.close();my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_groupsLeave",details:{uid:await getFromVK("vk.id"),is_admin:VKH_checkbox.getSatus("ext_plugins_clearAccountFunc_groupsLeave_openBox_isAdmin")?1:0}})}}]});VKH_checkbox.create("ext_plugins_clearAccountFunc_groupsLeave_openBox_isAdmin",true)},dialogsDelete_openBox:function(){MBox.create({title:"Удаление диалогов",content:`
						<h4 class="VKH_subheader" style="margin-top:0; padding-top:0;">Параметры удаления</h4>
						<div id="ext_plugins_clearAccountFunc_dialogsDelete_openBox_unread">
							Удалить только диалоги, в которых есть непрочитанные входящие сообщения.
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Удалить",click:async e=>{var t={unread:VKH_checkbox.getSatus("ext_plugins_clearAccountFunc_dialogsDelete_openBox_unread")?1:0};var a=t.unread==1?"удалить диалоги, в которых есть непрочитанные входящие сообщения":"удалить все диалоги";if(!await vkh_func.confirm("Вы действительно хотите <b>"+a+"</b> на личной странице?")){return}e.close();vp("clearAccountFunc").box_main.close();t.uid=await getFromVK("vk.id");my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_dialogsDelete",details:t})}}]});VKH_checkbox.create("ext_plugins_clearAccountFunc_dialogsDelete_openBox_unread",false)},wallDelete_select_group:function(){vf("listSelectedItem").openBoxGroups("clearAccountFunc",{multi:false},function(e){let t="Сообщество не выбрано",a=0;if(e.ids.length){a=e.ids[0];t=e.items[e.ids[0]].title}geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete").dataset.gid=a;geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete").innerText=t;geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete").style.display="block";removeClass(ge('#ext_plugins_clearAccountFunc_wallDelete_openBox_radio .radiobtn[data-type="1"]'),"on");addClass(ge('#ext_plugins_clearAccountFunc_wallDelete_openBox_radio .radiobtn[data-type="2"]'),"on")})},wallDelete_openBox:function(){MBox.create({title:"Удаление записей на стене",content:`
						<h4 class="VKH_subheader" style="margin-top: 0; padding-top: 0;">Выберите страницу</h4>
						<div id="ext_plugins_clearAccountFunc_wallDelete_openBox_radio">
							<div class="radiobtn on" data-type="1">Личная страница</div>
							<div class="radiobtn" data-type="2">Сообщество</div>
							<a href="#" style="display: none; margin: 11px 0 0 20px" id="ext_plugins_clearAccountFunc_selectGroup_wallDelete"></a>
						</div>
						
						<h4 class="VKH_subheader" style="margin-top: 0;">Параметры удаления</h4>
						<div id="ext_plugins_clearAccountFunc_wallDelete_openBox_params_radio">
							<div class="radiobtn on" data-type="1">Удалить все записи на стене</div>
							<div class="radiobtn" data-type="2">Удалить записи владельца стены</div>
							<div class="radiobtn" data-type="3">Удалить записи не от владельца стены</div>
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Удалить",click:async t=>{let a={owner:0,type:Number(ge("#ext_plugins_clearAccountFunc_wallDelete_openBox_params_radio .radiobtn.on").dataset.type)};switch(Number(ge("#ext_plugins_clearAccountFunc_wallDelete_openBox_radio .radiobtn.on").dataset.type)){case 1:a.owner=await getFromVK("vk.id");break;case 2:a.owner=-Number(geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete").dataset.gid);break}if(a.owner==0){vkh_func.alert("Выберите страницу на которой необходимо удалить записи");return}let e="";switch(a.type){case 1:e="удалить все записи на стене";break;case 2:e="удалить записи владельца стены";break;case 3:e="удалить записи не от владельца стены";break}let o=a.owner>0?"личной страницы":'сообществе <span id="ext_plugins_clearAccountFunc_selectGroup_wallDelete__group_name" style="font-weight: 700;"></span>';if(!e)return;if(!await vkh_func.confirm("Вы действительно хотите <b>"+e+"</b> "+o+"?")){return}MBox.create({title:"Удаление записей на стене",content:"Вы действительно хотите <b>"+e+"</b> "+o+"?",btns:[{close:true,html:"Отмена"},{primary:true,html:"Удалить",click:async e=>{e.close();t.close();vp("clearAccountFunc").box_main.close();a.uid=await getFromVK("vk.id");my_ext.messages.sendToBG({type:"ext_plugins_clearAccountFunc_wallDelete",details:a})}}]});geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete__group_name").innerText=geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete").innerText}}]});geAll("#ext_plugins_clearAccountFunc_wallDelete_openBox_radio .radiobtn").forEach(e=>{e.onclick=function(){if(hasClass(e,"disabled")||hasClass(e,"on")){return}if(2==e.dataset.type){vf("clearAccountFunc").wallDelete_select_group();return}geAll("#ext_plugins_clearAccountFunc_wallDelete_openBox_radio .radiobtn").forEach(e=>{removeClass(e,"on")});addClass(e,"on");geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete").style.display="none"}});geAll("#ext_plugins_clearAccountFunc_wallDelete_openBox_params_radio .radiobtn").forEach(e=>{e.onclick=function(){if(hasClass(e,"disabled")||hasClass(e,"on")){return}geAll("#ext_plugins_clearAccountFunc_wallDelete_openBox_params_radio .radiobtn").forEach(e=>{removeClass(e,"on")});addClass(e,"on")}});geById("ext_plugins_clearAccountFunc_selectGroup_wallDelete").onclick=function(e){e.stopPropagation();vf("clearAccountFunc").wallDelete_select_group();return false}}}}};my_ext_plugins_list["dialogHideTyping"]={cat:"Диалоги",title:"Не показывать собеседнику, когда вы набираете сообщение",aboutLink:23,fields:{label_0:{type:"label",text:'<span style="color:red">Важно!</span> Если собеседник видит когда вы набираете сообщение, то прочитайте описание этой функции на странице настроек, там написано, почему это происходит.'}},storage:{enabled:false,on:true},css:function(){return`
			html.my_ext_plugin___dialogHideTyping #ext_plugins_dialogHideTyping_icon {
				display:block;
			}
			#ext_plugins_dialogHideTyping_icon {
				height: 34px;
				display:none;
			}
			#ext_plugins_dialogHideTyping_icon > label {
				background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACLklEQVR42mNgAIIWBgZ5EGbAAioqKqJbWlo+19bWfgKyXTAUdDAw6LczMPwH4TYGhnhkubKysui+vr4vv379+v/gwYO/tTk5X6t8fKLQDfCHGQA1xB4kXlRUFNfd3Q3WDAJ7urrgaqpsbNJQDAEKzkcy4H2Fi0t1e3s7XPPpTZv+I1tS4ev7LTc31wXdkP1wQzg4/j85fRqhmZMTrnl5cPD/NWvW/Kuvr/+VmZnpguwV/hYOjgcwhdMUFP4fX7ECRfM0Tc3/e/fu/T9x4sT/a9eu/ZuVlfUJbkBCQoJqTUnJlzn6+gjnsrKiaN65ceP/SZMm/V+wYMH/FUDDy8vLv8INiImJ6QUK/Nm8ePH/Lh4eUFjANU9VVwdrBtkM0rx8+fL/dXV134B6qsCaQ0NDOePi4j6dPXsWrKhKTAw5Vv5Pt7RE0VxVVfUtIiKiCm57YGBgKFDyJyjQ1kdHo4Q4DE+wsQFrBrryW0hISBVKDPj5+W2+ffv2v83x8SiaGk1NUfi1hoa/fX19UTU7OzsrxcbGfjk3Zw6K4k0NDf937dr1vzkw8D9aQkNJrQxubm4N89vafiMrWl9b+//EiRNgPHXq1H8lFhYo8qDkDzfA2tr6wc7+/n8wyXleXqCE8rexsfFHUFDQFycnp6NAnIicWkHJH26AhobGT2AY/J+dkfGv0d//F5D9xc7O7oitrW2pubm5DLJrQc7H8IKsrOwdVVXVn2ZmZmeArsHQRAgAALtVemfCF61VAAAAAElFTkSuQmCC') 50% no-repeat;
				width: 24px;
				height: 24px;
				padding: 6px 7px 6px 5px;
				opacity: 0.7;
				cursor: pointer;
				display: block;
			}
			#ext_plugins_dialogHideTyping_icon:not(.my_ext_dialogHideTyping_icon_on) > label {
				background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmNJREFUeNqMUrtrWnEUPlevj8RgNL4HMxQcDCLBIQmKg6CQwanBxYAUpFAJCIFI/gFrJldpodCxFEMfS3XopIODSJQmJKiDb0wQdYhefMWe3wWD1jTkwIF7f+d85/F9h5pOpzBv4XB44b/T6Ryurq5+GAwG08lk8loqlf6ej3PgGWu1WodyufxjIBBY83q9Ig6H8wPf7C8q0Gw2PQR8dHQk4vF4MBqNOEqlUkRR1HeM2Z8tUKvVCDji9/tZcLFYhFgsBnt7e3BwcLCCa3/DHPuTBUqlkkehUESOj48fwfF4HHZ3d0EikRDnms3mNeTiF+baFwr4fD4WfHJyIuLz+Y/gnZ0dQACbUy6XyYSU0Wjkkklo8uhyuWB9fV2n0Wgip6enS+CNjQ0WXKlU4OrqiuQCqsIRi8VcetZ9OBy+G4/HwkQiAUgWJJPJJfDl5SULFggEcH19zdTr9ffsCrjrCkr0FifhYgDOzs5ge3v7v2D8ZvL5fBDXCLEToETO/f19gclkAp1OB41GA/r9/pPgXC7H4HpBVCRE4rMCHovFwsNLg2q1Cpubm3B+fg4qlQru7+/BYDAA4SWTyTCFQiFotVpDs9Vpp9P5SiaT2bRaLUW6MQzDSka83W5DKpUCUjidTrNj22y20LxyNBLnwfH5pNPd3d3CTSDLgLJOsfMQ5Qs6HI7Qv3dD93q9N1tbWzSRjXQidnt7+4ByjbLZ7Ljb7ebw6RPewWe1Wr10tZRerx8gcXy32/1wc3Mzuri4IKAsxn6if8EJarPkaDS6XAAJKwqFQi2e6B8k6isB4Q3U4IX2V4ABABLtJ0KgAjIKAAAAAElFTkSuQmCC') 50% no-repeat;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("dialogHideTyping",function(){let e=ge("div.ConvoComposer__inputPanel:not([VKH_dialogHideTyping_mutation])");if(!e){return}e.setAttribute("VKH_dialogHideTyping_mutation",1);(async()=>{e.append(ce("div",{id:"ext_plugins_dialogHideTyping_icon",className:await getDataFromStorage("dialogHideTyping","on")?"my_ext_dialogHideTyping_icon_on":"",innerHTML:"<label></label>",vkh_tooltip:[e=>{return e.classList.contains("my_ext_dialogHideTyping_icon_on")?"Собеседник НЕ видит, когда вы набираете сообщение":"Собеседник видит, когда вы набираете сообщение"},{mode:"black",left:-4}],onclick:function(e){e.stopPropagation();var t=this.classList.contains("my_ext_dialogHideTyping_icon_on");my_ext.messages.sendToBG({type:"ext_plugins_dialogHideTyping_toggle",details:{stat:t?false:true}});toggleClass(this,"my_ext_dialogHideTyping_icon_on",!t);VKH_Tooltip.reload(this);return false}}))})()})},off:function(){my_ext.mutationObserver.remove("dialogHideTyping")}}};my_ext_plugins_list["dialogPassword"]={cat:"Диалоги",title:"Пароль на диалоги",aboutLink:26,fields:{pin:{lang:"Пароль",type:"input_password",maxlength:100}},css:function(){return`

		html.my_ext_plugin___dialogPassword:not(.my_ext_plugin_dialogPassword_success) #fastchat-reforged,
		html:not(.my_ext_plugin___dialogPassword) #my_ext_dialogPassword_block,
		html.my_ext_plugin___dialogPassword.my_ext_plugin_dialogPassword_success #my_ext_dialogPassword_block {
			display: none;
		}

		#my_ext_dialogPassword_block {
			padding:40px;
			color:#656565;
			text-align:center;
			font-size:2.5em
		}
		#my_ext_dialogPassword_block input {
			text-align:center;
			font-size:.8em
		}
	`},storage:{enabled:false,pin:""},vk:{on:function(){my_ext.mutationObserver.add("dialogPassword",function(){if("/im"!==window.location.pathname)return;let e=ge("#spa_root:not([VKH_dialogPassword_mutation])");if(!e){return}e.setAttribute("VKH_dialogPassword_mutation",1);e.style.display="none";e.after(ce("div",{id:"my_ext_dialogPassword_block",innerHTML:`
						Для доступа к странице введите пароль:<br><br>
						<input type="password" class="text" autocomplete="off">
					`}));let t=ge("#my_ext_dialogPassword_block input");t.onkeydown=vkh_func.debounce(async function(){if(t.value===await getDataFromStorage("dialogPassword","pin")){e.style.display="block";addClass(document.documentElement,"my_ext_plugin_dialogPassword_success")}},250);t.focus()})},off:function(){my_ext.mutationObserver.remove("dialogPassword")}}};my_ext_plugins_list["profileMessageOpenDialog"]={cat:"Другое",title:"Обходить окно написания сообщения, сразу открывать диалог",aboutLink:34,storage:{enabled:false},vk:{f:{eventHover:function(e){let t='a[href^="/im?sel="]:not([VKH_profileMessageOpenDialog_link])';let a='a[href^="/write"]:not([VKH_profileMessageOpenDialog_link])';if(e.target.matches(t+", "+a)){e.target.setAttribute("VKH_profileMessageOpenDialog_link",1);e.target.onclick=function(e){e.stopPropagation();if(e.ctrlKey||e.metaKey){window.open(o.href)}else{window.location.href=o.href}return false};return}let o=e.target.closest(t+", "+a);if(o){o.setAttribute("VKH_profileMessageOpenDialog_link",1);o.onclick=function(e){e.stopPropagation();if(e.ctrlKey||e.metaKey){window.open(o.href)}else{window.location.href=o.href}return false};return}}},on:function(){document.addEventListener("mouseover",vf("profileMessageOpenDialog").eventHover)},off:function(){document.removeEventListener("mouseover",vf("profileMessageOpenDialog").eventHover)}}};my_ext_plugins_list["linkMentionsClub"]={cat:"Для админов",title:'Кнопка "Упоминания сообщества"',aboutLink:50,storage:{enabled:false},css:function(){return`
			html:not(.my_ext_plugin___linkMentionsClub) .VKH_linkMentionsClub_link {
				display: none;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("linkMentionsClub",function(){let e=ge("#public:not([VKH_linkMentionsClub_mutation]), #group:not([VKH_linkMentionsClub_mutation])");if(!e){return}e.setAttribute("VKH_linkMentionsClub_mutation",1);let t=e.querySelector("#narrow_column");if(!t){return}t.prepend(ce("div",{className:"VKH_profile_right_menu_item VKH_linkMentionsClub_link",innerHTML:`<span>Упоминания страницы</span>`,onclick:async function(){let e=Number(await getFromVK("cur.oid"));window.open(`/feed?section=mentions&obj=${e}`)}}))})},off:function(){my_ext.mutationObserver.remove("linkMentionsClub")}}};my_ext_plugins_list["authorPostPoned"]={cat:"Для админов",title:"Отображать автора отложенной записи",aboutLink:43,storage:{enabled:false},css:function(){return`
			html.my_ext_plugin___authorPostPoned .VKH_authorPostPoned_link {
				display: block;
			}
			.VKH_authorPostPoned_link {
				display: none;
			}
			.VKH_authorPostPoned_link::before {
				content : "•";
				margin: 0 7px;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("authorPostPoned",function(){let e=geAll("#public #page_postponed_posts > div.postponed:not([VKH_authorPostPoned_mutation]), #group #page_postponed_posts > div.postponed:not([VKH_authorPostPoned_mutation])");if(!e.length){return}let t=[];e.forEach(e=>{e.setAttribute("VKH_authorPostPoned_mutation",1);if(!e.dataset.postId){return}t.push(e.dataset.postId)});if(t.length){(async()=>{my_ext.messages.sendToBG({type:"ext_plugins_authorPostPoned_list",details:{items:t,uid:await getFromVK("vk.id"),oid:await getFromVK("cur.oid")}},function(e){each(e.items,function(e,t){let a=ge('div.wall_module:has(#page_wall_postponed > a.ui_tab_sel) #page_postponed_posts > div.postponed[data-post-id="'+t.post_id+'"] .PostHeaderSubtitle');if(!a){return}let o=ce("span",{className:"VKH_authorPostPoned_link",innerHTML:`<a target="_blank"></a>`});o.querySelector("a").href="/id"+t.uid;o.querySelector("a").innerText=t.name;a.append(o)})})})()}})},off:function(){my_ext.mutationObserver.remove("authorPostPoned")}}};my_ext_plugins_list["wallBlockInfo"]={cat:"Для админов",title:"Информер количества записей сообщества",aboutLink:31,storage:{enabled:false},css:function(){return`
			html:not(.my_ext_plugin___wallBlockInfo) .VKH_wallBlockInfo_link {
				display: none;
			}
			.VKH_wallBlockInfo_link {
			    cursor: default !important;
			}
			.VKH_wallBlockInfo_link > div {
				margin-top: 10px;
			}
			.VKH_wallBlockInfo_link > div > span {
				margin: 0 5px;
				font-size: 1.2em;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("wallBlockInfo",function(){let e=ge("#public:not([VKH_wallBlockInfo_mutation]), #group:not([VKH_wallBlockInfo_mutation])");if(!e){return}e.setAttribute("VKH_wallBlockInfo_mutation",1);let t=e.querySelector("#narrow_column");if(!t){return}let s=ce("div",{className:"VKH_profile_right_menu_item VKH_profile_right_menu_item_no_hover VKH_wallBlockInfo_link",innerHTML:`
						<span>Публикации на стене за текущий день:</span>
						<div>
							<span data-s1>--</span> · 
							<span data-s2>--</span> · 
							<span data-s3>--</span>
						</div>`});VKH_Tooltip.create(s.querySelector("[data-s1]"),"Опубликовано постов",{mode:"black",left:-10});VKH_Tooltip.create(s.querySelector("[data-s2]"),"Отложено постов",{mode:"black",left:-10});VKH_Tooltip.create(s.querySelector("[data-s3]"),"Сколько еще можно разместить постов",{mode:"black",left:-10});t.prepend(s);(async()=>{my_ext.messages.sendToBG({type:"ext_plugins_wallBlockInfo_getCounts",details:{uid:await getFromVK("vk.id"),club_id:-Number(await getFromVK("cur.oid"))}},function(e){if(!s)return;var t=0;var a=0;var o=new Date;var i=(180+o.getTimezoneOffset())*60*1e3;var l=new Date(o.getTime()+i-864e5);l.setHours(23);l.setMinutes(59);l.setSeconds(59);var r=0;for(var n=0;n<e.counts.used.length;n++){if(new Date(e.counts.used[n]*1e3+i)>l)t++}var l=new Date(o.getTime()+i+864e5);l.setHours(0);l.setMinutes(0);l.setSeconds(0);l.setMilliseconds(0);for(var n=0;n<e.counts.postponed.length;n++){if(new Date(e.counts.postponed[n]*1e3+i)<l){a++}}s.querySelector("[data-s1]").innerText=t;s.querySelector("[data-s2]").innerText=a;s.querySelector("[data-s3]").innerText=50-t-a})})()})},off:function(){my_ext.mutationObserver.remove("wallBlockInfo")}}};my_ext_plugins_list["photoCopySearch"]={cat:"Другое",title:"Поиск похожих фотографий",aboutLink:59,storage:{enabled:false},css:function(){return`
			.VKH_photoCopySearch_link {
				margin: 0 15px;
				color: var(--vkui--color_text_link);
				cursor: pointer;
			}
			.VKH_photoCopySearch_link:hover {
				text-decoration: underline;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("photoCopySearch",function(){let e=ge("#pv_narrow div.pv_author_block ~ div.like_wrap:not([VKH_photoCopySearch_mutation])");if(!e){return}e.setAttribute("VKH_photoCopySearch_mutation",1);let a=ge("#pv_photo img");if(!a){return}a=encodeURIComponent(a.getAttribute("src").trim());let o=ce("div");each([["Искать в Google","https://lens.google.com/uploadbyurl?url="],["Искать в Yandex","https://yandex.ru/images/search?rpt=imageview&url="],["Искать в TinEye","http://www.tineye.com/search?url="]],(e,t)=>{o.append(ce("div",{innerText:t[0],className:"VKH_tooltip_menu_item",onclick:()=>{VKH_Tooltip.closeAll();window.open(t[1]+a)}}))});e.after(ce("span",{className:"VKH_photoCopySearch_link",innerText:"Найти похожие фотографии в интернете",vkh_tooltip:[o,{"class":"VKH_tooltip_menu",type:"hover",left:-7,margin_vertical:-6}]}))})},off:function(){my_ext.mutationObserver.remove("photoCopySearch")}}};my_ext_plugins_list["selectSubscribeClub"]={cat:"Для админов",title:"Выделять подписчиков сообщества",aboutLink:38,keys:"цвета",storage:{enabled:false},css:function(){return`
			html.my_ext_plugin___selectSubscribeClub a.author.my_ext_selectSubscribeClub_not,
			html.my_ext_plugin___selectSubscribeClub a.PostHeaderTitle__authorLink.my_ext_selectSubscribeClub_not {
				color: red;
			}
			html.my_ext_plugin___selectSubscribeClub a.author.my_ext_selectSubscribeClub_has,
			html.my_ext_plugin___selectSubscribeClub a.PostHeaderTitle__authorLink.my_ext_selectSubscribeClub_has {
				color: blue;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("selectSubscribeClub",function(){let e=geAll("a.author[data-from-id]:not([VKH_selectSubscribeClub_mutation]),a.PostHeaderTitle__authorLink[data-from-id]:not([VKH_selectSubscribeClub_mutation])");if(!e.length)return;let a=new Set;e.forEach(e=>{e.setAttribute("VKH_selectSubscribeClub_mutation",1);let t=Number(e.getAttribute("data-from-id"));if(t>0)a.add(t)});a["delete"](0);if(!a.size)return;(async()=>{let e={uid:await getFromVK("vk.id"),page_id:parseInt(await getFromVK("cur.oid")),ids:Array.from(a)};if(!isNaN(e.page_id)&&e.page_id<0){my_ext.messages.sendToBG({type:"ext_plugins_selectSubscribeClub_list",details:e})}})()})},off:function(){my_ext.mutationObserver.remove("selectSubscribeClub")},messages:{ext_plugins_selectSubscribeClub_list_get:async function(e){let t=await getFromVK("cur.oid");if(!t)return;if(Number(t)!==e.page_id)return;each(e.ids,function(e,t){geAll('a.author[data-from-id="'+Number(e)+'"], a.PostHeaderTitle__authorLink[data-from-id="'+Number(e)+'"]').forEach(e=>{e.classList.toggle("my_ext_selectSubscribeClub_has",t==1);e.classList.toggle("my_ext_selectSubscribeClub_not",t==0)})})}}}};my_ext_plugins_list["searchPostInWall"]={cat:"Для админов",title:"Поиск записей на стене по пользователю",aboutLink:42,storage:{enabled:false},css:function(){return`
			#my_ext_searchPostInWall_stop_box {
				display: none;
			}
			#my_ext_searchPostInWall_stop_label.label_error {
				color: red;
			}
			#my_ext_searchPostInWall_stop_label.label_success {
				color: green;
			}
			
			#my_ext_searchPostInWall_table {
				width: 100%;
				border-collapse: collapse;
			}
			#my_ext_searchPostInWall_table td, #my_ext_searchPostInWall_table th {
				padding: 3px;
				border: 1px solid #bdb7b7;
				text-align:center;
			}
			#my_ext_searchPostInWall_table th {
				
			}
			#my_ext_searchPostInWall_table tr[name='not'] {
				display: none;
			}
			#my_ext_searchPostInWall_table tr[name='loading'] {
			}
			#my_ext_searchPostInWall_table tr[name='search_butt'] {
				display: none;
				background-color: green;
				font-size: 1.1em;
				color: white;
				cursor: pointer;
			}
			#my_ext_searchPostInWall_count {
				font-weight: bold;
			}
			#my_ext_searchPostInWall_count_all {
				font-weight: bold;
			}


			html.my_ext_plugin___searchPostInWall .VKH_searchPostInWall_icon {
				display: block;
			}
			.VKH_searchPostInWall_icon {
				display:none;
				opacity: 0.5;
				position: absolute;
				right: 50px;
				top: 22px;
				width: 20px;
				height: 20px;
				cursor: pointer;
			}
			.VKH_searchPostInWall_icon:hover {
				opacity: 1;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("searchPostInWall",function(){let e=ge("#wall_tabs .ui_tab_search_wrap .ui_tab_search:not([VKH_searchPostInWall_mutation])");if(!e){return}e.setAttribute("VKH_searchPostInWall_mutation",1);e.after(ce("span",{className:"VKH_searchPostInWall_icon",innerHTML:`
						<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
							<path d="M12 12C14.7614 12 17 9.76142 17 7C17 4.23858 14.7614 2 12 2C9.23858 2 7 4.23858 7 7C7 9.76142 9.23858 12 12 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> 
							<path d="M3.40991 22C3.40991 18.13 7.25994 15 11.9999 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> 
							<path d="M18.2 21.4C19.9673 21.4 21.4 19.9673 21.4 18.2C21.4 16.4327 19.9673 15 18.2 15C16.4327 15 15 16.4327 15 18.2C15 19.9673 16.4327 21.4 18.2 21.4Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> 
							<path d="M22 22L21 21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
						</svg>
					`,vkh_tooltip:["Найти записи размещенные пользователем",{mode:"black",left:-6}],onclick:()=>{vf("searchPostInWall").openBox()}}))})},off:function(){my_ext.mutationObserver.remove("searchPostInWall")},f:{openBox:function(){let n=MBox.create({title:"Расширенный поиск записей",content:`
						<div style="text-align: center">
							ID или ссылка на страницу автора:
							<input type="text" style="text-align:center; width: 100%" class="dark">
						</div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Продолжить",click:async()=>{let e={};let t=n.node.querySelector('input[type="text"]').value.trim();if(/^-?[0-9]{1,10}$/i.test(t)){e.id=Number(t)}else if(/^((https?:\/\/)?(www\.)?vk\.(com|ru)\/)?id[0-9]{1,10}$/i.test(t)){e.id=Number(t.replace(/^((https?:\/\/)?(www\.)?vk\.(com|ru)\/)?id([0-9]{1,10})$/i,"$5"))}else if(/^((https?:\/\/)?(www\.)?vk\.(com|ru)\/)?club[0-9]{1,10}$/i.test(t)){e.id=-Number(t.replace(/^((https?:\/\/)?(www\.)?vk\.(com|ru)\/)?club([0-9]{1,10})$/i,"$5"))}else if(/^[A-z]{1}[A-z0-9_]{4,}$/i.test(t)){e.screen_name=t}else if(/^((https?:\/\/)?(www\.)?vk\.(com|ru)\/)?([A-z]{1}[A-z0-9_\.]{4,})$/i.test(t)){e.screen_name=t.replace(/^((https?:\/\/)?(www\.)?vk\.(com|ru)\/)?([A-z]{1}[A-z0-9_\.]{4,})$/i,"$5")}if((!e.id||e.id==0)&&(!e.screen_name||e.screen_name=="")){vkh_func.alert("Введите ссылку на пользователя, либо ID пользователя");return}n.close();let a=false;let o=MBox.create({title:"Результаты расширенного поиска записей",width:900,content:`
									<table id="my_ext_searchPostInWall_table">
										<thead>
											<tr>
												<th>Текст</th>
												<th>Вложения</th>
												<th>Дата</th>
												<th>Лайки</th>
												<th>Репосты</th>
												<th>Комментарии</th>
												<th>Действия</th>
											</tr>
										</thead>
										<tbody>
											<tr name="not"><td colspan="7">Записи не найдены</td></tr>
											<tr name="loading"><td colspan="7">Идет поиск записей...</td></tr>
										</tbody>
									</table>
								`,footer_html:`
									Обработано записей: <span id="my_ext_searchPostInWall_count">0</span> из <span id="my_ext_searchPostInWall_count_all">0</span>
									<span id="my_ext_searchPostInWall_stop_box"> &#160;&#183;&#160; <span id="my_ext_searchPostInWall_stop_label"></span></span>
								`,btns:[{primary:true,html:"Остановить поиск",click:()=>{a=true;addClass("my_ext_searchPostInWall_stop_label","label_error");geById("my_ext_searchPostInWall_stop_label").innerText="Поиск остановлен пользователем";geById("my_ext_searchPostInWall_stop_box").style.display="inline-block";ge('#my_ext_searchPostInWall_table tr[name="loading"]').style.display="none";if(!ge("#my_ext_searchPostInWall_table tbody > tr[data-item]"))ge('#my_ext_searchPostInWall_table tbody > tr[name="not"]').style.display="table-row";o.removeButtons()}}]});let i=await getFromVK("vk.id");let l=await getFromVK("cur.oid");let r=function(t){if(a){return}let s=geById("my_ext_searchPostInWall_table");if(!o.node||!o.node.parentNode||!s||!s.checkVisibility())return;if("success"!==t.status){geById("my_ext_searchPostInWall_count").innerText=0;addClass("my_ext_searchPostInWall_stop_label","label_error");geById("my_ext_searchPostInWall_stop_label").innerText="Проверьте, правильно ли указана ссылка на автора";geById("my_ext_searchPostInWall_stop_box").style.display="inline-block";o.removeButtons();s.querySelector('tr[name="loading"]').style.display="none";s.querySelector('tbody > tr[name="not"]').style.display="table-row";return}let e=Math.min(t.offset*100+100,t.count);geById("my_ext_searchPostInWall_count").innerText=e;geById("my_ext_searchPostInWall_count_all").innerText=t.count;each(t.items,function(e,t){let a=new Date(t.date*1e3);let o=a.getDate()+"."+(a.getMonth()+1)+"."+a.getFullYear()+" "+a.getHours()+":"+a.getMinutes();var i=t.text||"---",l=i.slice(0,200);if(l.length<i.length)l+="...";let r=ce("td");r.append(ce("a",{href:getUrlVK()+"/wall"+t.owner_id+"_"+t.id,innerText:"Смотреть",target:"_blank"}));let n=ce("tr",{dataset:{item:1}});n.append(ce("td",{innerText:l}));n.append(ce("td",{innerText:t.attachments?t.attachments.length:0}));n.append(ce("td",{innerText:o}));n.append(ce("td",{innerText:t.likes?t.likes.count:0}));n.append(ce("td",{innerText:t.reposts?t.reposts.count:0}));n.append(ce("td",{innerText:t.comments?t.comments.count:0}));n.append(r);s.querySelector("tbody > tr").before(n)});if(e==t.count){addClass("my_ext_searchPostInWall_stop_label","label_success");geById("my_ext_searchPostInWall_stop_label").innerText="Поиск завершен";geById("my_ext_searchPostInWall_stop_box").style.display="inline-block";o.removeButtons();s.querySelector('tr[name="loading"]').style.display="none";if(!s.querySelector("tbody > tr[data-item"))s.querySelector('tbody > tr[name="not"]').style.display="table-row";return}if(e>=t.max_count){let e=ce("span",{innerHTML:'<a href="#">Ваш тариф '+ext_name_string+" позволяет проверять только "+t.max_count+" записей.</a>"});e.querySelector("a").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"ext_redirect_link",details:{type:"tarif_table",source:"plugin",payload:"searchPostInWall;max_count"}});return false};addClass("my_ext_searchPostInWall_stop_label","label_error");geById("my_ext_searchPostInWall_stop_label").innerText="";geById("my_ext_searchPostInWall_stop_label").append(e);geById("my_ext_searchPostInWall_stop_box").style.display="inline-block";o.removeButtons();s.querySelector('tr[name="loading"]').style.display="none";if(!s.querySelector("tbody > tr[data-item]"))s.querySelector('tbody > tr[name="not"]').style.display="table-row";return}my_ext.messages.sendToBG({type:"ext_plugins_searchPostInWall_getListPost",details:{uid:i,oid:l,filter:{id:t.id},offset:t.offset+1}},r)};my_ext.messages.sendToBG({type:"ext_plugins_searchPostInWall_getListPost",details:{uid:i,oid:l,filter:e}},r)}}]});n.node.querySelector('input[type="text"]').focus()}}}};my_ext_plugins_list["suggestsWall"]={cat:"Для админов",title:"Список всех предлагаемых новостей в одном месте",aboutLink:56,storage:{enabled:false},css:function(){return`
			.VKH_suggestsWall_link {
				cursor: default !important;
				margin-top: 10px;
				text-align: left !important;
				cursor: default;
			}
			.VKH_suggestsWall_link span[data-label] {
				margin-left: 10px;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: clip;
				display: inline-block;
				width: 260px;
			}
			.VKH_suggestsWall_link span[data-count] {
				float: right;
    			margin-right: 10px;
			}

			.VKH_suggestsWall_link > div[data-item] {
				display: none;
				padding: 10px 0;
			}
			.VKH_suggestsWall_link > div[data-item]:hover {
				opacity: .7;
			}
			.VKH_suggestsWall_link > div[data-item],
			.VKH_suggestsWall_link > div[data-item-main] {
				cursor: pointer;
			}
			.VKH_suggestsWall_link.VKH_suggestsWall_link_show > div[data-item] {
				display: block;
			}
			.VKH_suggestsWall_link.VKH_suggestsWall_link_show > div[data-item-main] {
				border-bottom: 1px solid var(--vkui--color_separator_primary);
				padding-bottom: 15px;
				margin-bottom: 10px;
			}
			.VKH_suggestsWall_link > div[data-item-main] {	
				padding: 10px 0;
			}
			.VKH_suggestsWall_link > div[data-has="1"] span[data-count] {
				font-weight: 900;
    			color: red;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("suggestsWall",function(){if("/club"===window.location.pathname.substring(0,5)&&"?suggested=1"===window.location.search){let e=document.querySelector("#page_wall_suggest > a");if(e){if(e.dataset.is_open_suggested){return}e.dataset.is_open_suggested=1;e.click();e.scrollIntoView({block:"center",inline:"center"})}return}if("/groups"!==window.location.pathname)return false;geAll('a[href="'+getUrlVK()+'/groups/events_interesting"]:not([VKH_suggestsWall_mutation])').forEach(async e=>{e.setAttribute("VKH_suggestsWall_mutation",1);let t=e.closest("section");if(!t){return}my_ext.messages.sendToBG({type:"ext_plugins_suggestsWall_init",details:{uid:await getFromVK("vk.id")}},function(o){if(!o.groups||!o.groups.length){return}if(!t){return}let i=ce("div",{className:"VKH_suggestsWall_link VKH_profile_right_menu_item VKH_profile_right_menu_item_no_hover",innerHTML:`<div data-item-main><span data-label>Предлагаемые посты</span> <span data-count>-</span></div>`});t.after(i);i.querySelector("div[data-item-main]").onclick=()=>{i.classList.toggle("VKH_suggestsWall_link_show")};let l=0,e=0;each(o.groups,function(e,t){let a=ce("div",{innerHTML:`
									<span data-label></span> 
									<span data-count></span>
								`,dataset:{item:1,has:t.count?1:0},onclick:()=>{if(e<o.max_groups){if("group"==t.type){window.open(`${getUrlVK()}/club${t.id}?suggested=1`)}else{window.open(`${getUrlVK()}/wall-${t.id}?suggested=1`)}}else{let e=ce("span",{innerHTML:"Ваш тариф в расширении "+ext_name_string+" позволяет просматривать предложенные записи только первых <b>"+o.max_groups+'</b> сообществ. Смотреть <a href="#">таблицу тарифов</a>.'});e.querySelector("a").onclick=function(e){e.stopPropagation();my_ext.messages.sendToBG({type:"ext_redirect_link",details:{type:"tarif_table",source:"plugin",payload:"suggestsWall;max_groups"}});return false};vkh_func.alert(e)}}});a.querySelector("span[data-label]").innerText=t.name;a.querySelector("span[data-count]").innerText=t.count;i.append(a);l+=Number(t.count)});i.querySelector("div[data-item-main] span[data-count]").innerText=l;if(l>0){i.querySelector("div[data-item-main]").dataset.has=1}})})})},off:function(){my_ext.mutationObserver.remove("suggestsWall")}}};my_ext_plugins_list["leftMenuDownLinksHide"]={cat:"Интерфейс",title:"Скрывать ссылки под левым меню (Блог, Разработчикам, ...)",aboutLink:7,css:function(){return`
		html.my_ext_plugin___leftMenuDownLinksHide #side_bar_inner div.left_menu_nav_wrap,
		html.my_ext_plugin___leftMenuDownLinksHide #side_bar_inner div.LegalRecommendationsLinkLeftMenuAuthorized {
			display: none;
		}`},storage:{enabled:false}};my_ext_plugins_list["adsLeftHide"]={cat:"Интерфейс",title:"Скрывать рекламу слева",aboutLink:9,css:function(){return`
		html.my_ext_plugin___adsLeftHide #ads_left,
		html.my_ext_plugin___adsLeftHide #ads_left * { 
			display: none !important; 
		}`},storage:{enabled:true}};my_ext_plugins_list["feedAdvPost"]={cat:"Интерфейс",title:"Скрывать рекламные записи от ВК в ленте новостей",aboutLink:10,css:function(){return`
			html.my_ext_plugin___feedAdvPost #content div.page_block[data-ad-view] { 
				display: none !important; 
				visibility: hidden !important;
				height: 0 !important;
			}
		`},storage:{enabled:true}};my_ext_plugins_list["friendsHistory"]={cat:"Интерфейс",title:'Скрыть "Истории друзей" из ленты новостей',aboutLink:12,css:function(){return`
		html.my_ext_plugin___friendsHistory .stories_feed_wrap { 
			display: none !important; 
		}`},storage:{enabled:false}};my_ext_plugins_list["hideComment"]={cat:"Интерфейс",title:"Скрывать комментарии на стене",aboutLink:47,storage:{enabled:false},css:function(){return`
			html.my_ext_plugin___hideComment div.replies,
			html.my_ext_plugin___hideComment div.post_replies_header { 
				display: none; 
			}
			html.my_ext_plugin___hideComment div.post_info.my_ext_plugin___hideComment__show div.replies,
			html.my_ext_plugin___hideComment div.post_info.my_ext_plugin___hideComment__show div.post_replies_header { 
				display: block; 
			}
		`},vk:{f:{eventHover:function(e){let t="#content .post .wall_text+.like_wrap div.like_btns > .like_btn.comment, #content .post .wall_text~.like_wrap div.like_btns > div.PostBottomAction.comment";if(!e.target.matches(t+", "+t+" *")){return}e.target.closest(".post_info").classList.toggle("my_ext_plugin___hideComment__show")}},on:function(){document.addEventListener("click",vf("hideComment").eventHover)},off:function(){document.removeEventListener("click",vf("hideComment").eventHover)}}};my_ext_plugins_list["historyCreate"]={cat:"Истории",title:"Создание историй",aboutLink:35,storage:{enabled:false},css:function(){return`
			html:not(.my_ext_plugin___historyCreate) .VKH_historyCreate_link {
				display: none;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("historyCreate",function(){let e=ge(".vkuiSplitLayout__inner > .ScrollStickyWrapper:not([VKH_historyCreate_mutation])");if(!e){return}e.setAttribute("VKH_historyCreate_mutation",1);e.prepend(ce("div",{className:"VKH_historyCreate_link VKH_profile_right_menu_item",innerHTML:`<span>Добавить историю</span>`,onclick:()=>{vf("historyCreate").openBox()}}))})},off:function(){my_ext.mutationObserver.remove("historyCreate")},f:{openBox:function(){MBox.create({title:"Создание истории",width:550,content:`
						<center>
							Выберите файл для создания истории.<br>Ниже описаны поддерживаемые форматы файлов.<br><br><b>Фото:</b><br> JPG, JPEG, GIF или PNG.<br><br><b>Видео:</b><br> AVI, MP4, 3GP, MPEG, MOV, FLV, F4V, WMV, MKV, WEBM, VOB, RM, RMVB, M4V, MPG, OGV, TS, M2TS, MTS.<br><br>				
							<b>Ссылка для перехода:</b><br><input type="text" class="dark" id="ext_plugins_historyCreate_link" style="width: 300px;text-align: center;"><br><br>
							<button class="flat_button upload_btn " onclick="this.nextElementSibling.click()">Выбрать файл</button>
							<input class="file" type="file" accept="image/*,video/*" size="28" multiple id="ext_plugins_historyCreate_inputFile" style="visibility: hidden; position: absolute;">	
							<div style="color:red;margin-top:20px">Также имеется функция КОПИРОВАНИЯ уже загруженных историй. Включить эту функцию можно в <a href="'+ ext_url +'/redirect/?type=page_options" target="_blank">настройках расширения</a></div>
						</center>
					`});geById("ext_plugins_historyCreate_inputFile").onchange=function(){if(this.files.length>10){vkh_func.alert("Можно выбрать не более 10 файлов");return}let r=geById("ext_plugins_historyCreate_link").value.trim();let n=this.files;if(n.length){vf("control").fastMessage({status:"waiting",text:"Подготавливаем выбранные файлы к загрузке"});let i=[];let l=async t=>{if(t==n.length){my_ext.messages.sendToBG({type:"ext_plugins_historyCreate_upload",details:{uid:await getFromVK("vk.id"),page_id:await getFromVK("vk.id"),stories:i}});return}var e=n[t];var a=n[t].type.split("/");var o=new FileReader;o.readAsDataURL(e);o.onload=function(e){i.push({type:a[0],file_exp:a[1],file_base64:e.target.result,add_to_news:1,link_url:r});l(++t)}};l(0)}MBox.closeActive()}}}}};my_ext_plugins_list["historyDownload"]={cat:"Истории",title:"Скачивание историй",aboutLink:61,storage:{enabled:false},css:function(){return`
			html:not(.my_ext_plugin___historyDownload) .VKH_historyDownload_icon {
				display: none;
			}
			.VKH_historyDownload_icon {
				cursor: pointer;
				top:10px;
				cursor: pointer;
				position: absolute;
				width: 72px;
				height: 72px;
				opacity: .5;
				right: calc(100% + 72px);
			}
			.VKH_historyDownload_icon:hover {
				opacity: 1;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("historyDownload",function(){let e=ge("div.stories_layer div.stories_volume_control_container:not([VKH_historyDownload_mutation])");if(!e){return}e.setAttribute("VKH_historyDownload_mutation",1);e.append(ce("div",{className:"VKH_historyDownload_icon",innerHTML:`
						<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
							<path d="M12 12V19M12 19L9.75 16.6667M12 19L14.25 16.6667M6.6 17.8333C4.61178 17.8333 3 16.1917 3 14.1667C3 12.498 4.09438 11.0897 5.59198 10.6457C5.65562 10.6268 5.7 10.5675 5.7 10.5C5.7 7.46243 8.11766 5 11.1 5C14.0823 5 16.5 7.46243 16.5 10.5C16.5 10.5582 16.5536 10.6014 16.6094 10.5887C16.8638 10.5306 17.1284 10.5 17.4 10.5C19.3882 10.5 21 12.1416 21 14.1667C21 16.1917 19.3882 17.8333 17.4 17.8333"></path>
						</svg>
					`,vkh_tooltip:["Скачать историю",{mode:"black",left:20}],onclick:async()=>{let e=(window?.location?.search||"").match(/story(\-?\d+_\d+)/i);if(!e){return}my_ext.messages.sendToBG({type:"ext_plugins_historyDownload_download",details:{story_id:e[1],uid:await getFromVK("vk.id")}})}}))})},off:function(){my_ext.mutationObserver.remove("historyDownload")}}};my_ext_plugins_list["historyCopy"]={cat:"Истории",title:"Копирование историй",aboutLink:62,storage:{enabled:true,interval:"100"},css:function(){return`
			html:not(.my_ext_plugin___historyCopy) .VKH_historyCopy_icon {
				display: none;
			}
			.VKH_historyCopy_icon {
				cursor: pointer;
				top:10px;
				cursor: pointer;
				position: absolute;
				width: 72px;
				height: 72px;
				opacity: .5;
				right: 100%;
			}
			.VKH_historyCopy_icon:hover {
				opacity: 1;
			}
		`},vk:{on:function(){my_ext.mutationObserver.add("historyCopy",function(){let e=ge("div.stories_layer div.stories_volume_control_container:not([VKH_historyCopy_mutation])");if(!e){return}e.setAttribute("VKH_historyCopy_mutation",1);e.append(ce("div",{className:"VKH_historyCopy_icon",innerHTML:`
						<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
							<path d="M19.5 16.5L19.5 4.5L18.75 3.75H9L8.25 4.5L8.25 7.5L5.25 7.5L4.5 8.25V20.25L5.25 21H15L15.75 20.25V17.25H18.75L19.5 16.5ZM15.75 15.75L15.75 8.25L15 7.5L9.75 7.5V5.25L18 5.25V15.75H15.75ZM6 9L14.25 9L14.25 19.5L6 19.5L6 9Z"></path>
						</svg>
					`,vkh_tooltip:["Скопировать историю",{mode:"black",left:20}],onclick:()=>{let e=(window?.location?.search||"").match(/story(\-?\d+_\d+)/i);if(e){vf("historyCopy").openBox(e[1])}}}))})},off:function(){my_ext.mutationObserver.remove("historyCopy")},f:{openBox:async function(e){MBox.create({title:"Копирование истории",width:500,content:`
						<div id="historyCopy_box_accounts"></div>
						<div id="historyCopy_box_groups"></div>
						
						<div id="historyCopy_is_mix_checkbox">
							Выполнять в случайном порядке  <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"Все выбранные страницы будут перемешаны, и только после этого будут опубликованы истории.<br><br>Если эту функцию не включить, то репосты всегда будут делаться в одной и той же очередности.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span>
						</div>
						<h4 class="VKH_subheader_border" style="margin-bottom: 5px;">Интервал между копированием: <span class="VKH_help_icon" data-vkh_tooltip=\'{\"content\":\"На какое время расширение будет останавливаться, перед тем как скопировать историю на следующую страницу.<br><br>Если вы не используете прокси, то рекомендуется выставлять максимальный интервал.\",\"opts\":{\"left\":-6,\"width\":300}}\'></span></h4>
						<div id="historyCopy_box_selector_interval" style="width:100px"></div>
					`,btns:[{close:true,html:"Отмена"},{primary:true,html:"Копировать",click:async()=>{my_ext.messages.sendToBG({type:"my_ext_historyCopy_task",details:{uid:await getFromVK("vk.id"),story_id:e,is_mix:VKH_checkbox.getSatus("historyCopy_is_mix_checkbox"),interval:VKH_selector.getItem("historyCopy_box_selector_interval"),users:await vf("listSelectedItem").getAccounts("historyCopy"),groups:await vf("listSelectedItem").getGroups("historyCopy")}},e=>{if("run"===e){MBox.closeActive()}})}}]});VKH_checkbox.create("historyCopy_is_mix_checkbox",true);VKH_selector.create("historyCopy_box_selector_interval",[["100","1 сек."],["150","1,5 сек."],["200","2 сек."],["500","5 сек."],["1000","10 сек."],["3000","30 сек."],["6000","1 мин."],["12000","2 мин."],["30000","5 мин."],["60000","10 мин."],["90000","15 мин."],["120000","20 мин."]],{selectItem:await getDataFromStorage("historyCopy","interval")});vf("listSelectedItem").createChangerAccounts("historyCopy_box_accounts","historyCopy");vf("listSelectedItem").createChangerGroups("historyCopy_box_groups","historyCopy")}}}};my_ext_plugins_list["accountOnline"]={storage:{enabled:true}};my_ext_plugins_list["popupIcons"]={cat:"Аккаунты",title:"Изменить иконки в окне пользователей",aboutLink:64,fields:{friends:{lang:"Друзья",type:"input_checkbox",name:"items",max_items:3},notifications:{lang:"Уведомления",type:"input_checkbox",name:"items",max_items:3},feed:{lang:"Новости",type:"input_checkbox",name:"items",max_items:3},groups:{lang:"Сообщества",type:"input_checkbox",name:"items",max_items:3},photos:{lang:"Фотографии",type:"input_checkbox",name:"items",max_items:3},music:{lang:"Музыка",type:"input_checkbox",name:"items",max_items:3},video:{lang:"Видео",type:"input_checkbox",name:"items",max_items:3},games:{lang:"Игры",type:"input_checkbox",name:"items",max_items:3},market:{lang:"Товары",type:"input_checkbox",name:"items",max_items:3},bookmarks:{lang:"Закладки",type:"input_checkbox",name:"items",max_items:3},docs:{lang:"Документы",type:"input_checkbox",name:"items",max_items:3}},storage:{enabled:false,friends:true,notifications:true}};my_ext_plugins_list["page_options"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true}};my_ext_plugins_list["page_popup"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true}};my_ext_plugins_list["newAccountToTab"]={cat:"Аккаунты",title:"Привязывать аккаунт к вкладке",aboutLink:65,fields:{label_0:{type:"label",text:'<span style="color:red">Важно!</span> Данная функция может работать не стабильно и подвисать.'},tabName:{lang:"Наименование вкладок",type:"radio",items:[{lang:"Инициалы аккаунта",value:"initials"},{lang:"Название аккаунта",value:"full"},{lang:"Номер аккаунта",value:"number"},{lang:"ID аккаунта",value:"id"},{lang:"Не изменять",value:"none"}]}},storage:{enabled:false,tabName:"initials"}};my_ext_plugins_list["proxy"]={cat:"Аккаунты",title:"Прокси по умолчанию",aboutLink:37,fields:{proxy_ip:{lang:"IP",type:"input_text",maxlength:20},proxy_port:{lang:"PORT",type:"input_text",maxlength:5},proxy_username:{lang:"USERNAME",type:"input_text",maxlength:50},proxy_password:{lang:"PASSWORD",type:"input_text",maxlength:50}},storage:{enabled:false}};my_ext_plugins_list["nightTheme"]={cat:"Устаревшие",title:"Ночная тема",aboutLink:57,storage:{enabled:false},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}}};my_ext_plugins_list["profileFullInfo"]={cat:"Устаревшие",title:"Разворачивать подробную информацию о пользователе",aboutLink:16,fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},storage:{enabled:false}};my_ext_plugins_list["feedPostHide"]={cat:"Устаревшие",title:'Скрывать форму "Что у Вас нового?" в ленте новостей',aboutLink:5,css:function(){return`
		html.my_ext_plugin___feedPostHide #main_feed > .feed_post_field_wrap { 
			display: none;
		}`},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},storage:{enabled:false}};my_ext_plugins_list["informer"]={title:"Отображать информер сообщений",aboutLink:2,cat:"Устаревшие",fields:{label_0:{type:"label",text:'<span style="color:red">ДАННАЯ ФУНКЦИЯ НЕ РАБОТАЕТ И БОЛЬШЕ НЕ БУДЕТ РАБОТАТЬ!!!</span><br>Мы приняли решение отключить данную функцию, так как она может провоцировать блокировки аккаунтов.'},zero_view:{type:"input_checkbox",lang:"Прятать информер, если нет сообщений"}},storage:{enabled:false}};my_ext_plugins_list["synonyms"]={save_storage:false,can_disabled:false,hidden:true,storage:{enabled:true}};my_ext_plugins_list["messageTemplates"]={cat:"Для быстрой работы",title:"Шаблоны сообщений",aboutLink:52,keys:"шаблоны сообщений шаблон",storage:{enabled:true},fields:{label_0:{type:"label",text:()=>{return'<span style="color:red">Шаблоны больше не работают в расширении '+ext_name_string+'<br><br>Пользоваться шаблонами вы можете в нашем другом расширении <a href="https://formix.pro" target="_blank">https://formix.pro</a></span>'}}}};my_ext_plugins_list["possibleFriendsBlockHide"]={cat:"Устаревшие",title:'Скрыть блок "Возможные друзья"',aboutLink:14,css:function(){return`
		html.my_ext_plugin___possibleFriendsBlockHide #friends_possible_block,
		html.my_ext_plugin___possibleFriendsBlockHide #friends_right_blocks_root { 
			display: none; 
		}`},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},storage:{enabled:false}};my_ext_plugins_list["leftMenuSettingHide"]={cat:"Устаревшие",title:"Скрыть шестеренку в левом меню",aboutLink:15,css:function(){return`
		html.my_ext_plugin___leftMenuSettingHide #react_rootLeftMenuRoot li button[class^="LeftMenuItem-module__settings"] { 
			display: none; 
		}`},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},storage:{enabled:false}};my_ext_plugins_list["recomendGroupBlockHide"]={cat:"Устаревшие",title:'Скрыть блок "Рекомендуемые сообщества"',aboutLink:13,css:function(){return`
		html.my_ext_plugin___recomendGroupBlockHide #groups_filters_wrap { 
			display: none; 
		}`},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},storage:{enabled:false}};my_ext_plugins_list["groupWallAdsHide"]={cat:"Устаревшие",title:"Скрывать рекламные записи сообществ",aboutLink:11,storage:{enabled:true},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},vk:{on:function(){return;my_ext.mutationObserver.add("groupWallAdsHide",function(){if(!window.cur)return;if(cur.wallInited)jQuery(".post:has(div.wall_marked_as_ads)").hide(0)})},off:function(){return;jQuery(".post:has(div.wall_marked_as_ads)").show(0);my_ext.mutationObserver.remove("groupWallAdsHide")}}};my_ext_plugins_list["backgroundWhite"]={cat:"Устаревшие",title:"Белый фон",aboutLink:8,css:function(){return`
		html.my_ext_plugin___backgroundWhite body,
		html.my_ext_plugin___backgroundWhite .im-page.im-page_classic.im-page_group .im-group-online {
			background-color: white; 
		}\
		html.my_ext_plugin___backgroundWhite .im-page_classic.im-page .im-page--header,
		html.my_ext_plugin___backgroundWhite .im-page--chat-header  { 
			border-top-color: white; 
		}`},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},storage:{enabled:false}};my_ext_plugins_list["superBan"]={cat:"Устаревшие",title:"Супер-БАН пользователей по комментариям",aboutLink:28,fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'},action:{lang:"Событие",type:"radio",items:[{value:0,lang:"Бан без удаления комментариев"},{value:1,lang:"Бан и удаление выбранного комментария"}]},reason:{lang:"Причина блокировки",type:"select",items:[{value:0,lang:"Другое"},{value:1,lang:"Спам"},{value:2,lang:"Оскорбление участников"},{value:3,lang:"Нецензурные выражения"},{value:4,lang:"Сообщения не по теме"}]},end_date:{lang:"Время блокировки",type:"select",items:[{value:0,lang:"Год"},{value:1,lang:"Месяц"},{value:2,lang:"Неделя"},{value:3,lang:"День"},{value:4,lang:"Час"}]},comment:{lang:"Комментарий",type:"input_text",maxlength:200},comment_visible:{type:"input_checkbox",lang:"Показывать этот комментарий заблокированному пользователю"}},storage:{enabled:false,action:0,reason:0,end_date:0,comment:"",comment_visible:false},css:function(){return`
		html.my_ext_plugin___superBan .my_ext_superBan_link {
			display: block;
			background: none !important;
			background-image: !important;
		}
		.reply_dived .my_ext_superBan_link {
			display: none;
			background-image: none;
			width: auto;
			margin-top: -1px;
			font-weight: bold;
			color: #607B8B;
		}
	`},vk:{f:{eventHover:function(){return;let e=ce("div",{className:"reply_action fl_r my_ext_superBan_link",innerText:"BAN",onclick:function(){vf("superBan").go(this)}});VKH_Tooltip.create(e,"Супер-БАН",{mode:"black",left:-5});jQuery(this).attr("my_ext_superBan","1").find(".post_actions").append(e)},go:function(e){return;let t=jQuery(e).closest("div.reply[data-post-id]"),a=Number(t.find("a.author").attr("data-from-id")),o=Number(t.attr("data-post-id").split("_")[0]),i=Number(t.attr("data-post-id").split("_")[1]);my_ext.messages.sendToBG({type:"ext_plugins_superBan_start",details:{uid:vk.id,from_id:a,page_id:o,comment_id:i}})}},on:function(){return;jQuery(document).on("mouseover",".reply_dived[data-post-id]:not([my_ext_superBan])",vf("superBan").eventHover)},off:function(){return;jQuery(document).off("mouseover",".reply_dived[data-post-id]:not([my_ext_superBan])",vf("superBan").eventHover)}}};my_ext_plugins_list["wikiPagesInClub"]={cat:"Устаревшие",title:"Управление Wiki-страницами",aboutLink:40,storage:{enabled:false},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},css:function(){return`
		html:not(.my_ext_plugin___wikiPagesInClub) .my_ext_wikiPagesInClub_link {
			display: none;
		}
		#my_ext_wikiPagesInClub_table {
			width: 100%;
			border-collapse: collapse;
		}
		#my_ext_wikiPagesInClub_table td, #my_ext_wikiPagesInClub_table th {
			padding: 3px;
			border: 1px solid #bdb7b7;
			text-align:center;
		}
		#my_ext_wikiPagesInClub_table th {
			background: #c5d3e2;
		}
		#my_ext_wikiPagesInClub_table tr > td:nth-child(1) {
			max-width: 400px;
			overflow-wrap: break-word;
		}
	`},vk:{on:function(){return;my_ext.mutationObserver.add("wikiPagesInClub",function(){if(!window.cur||!(cur.oid<0))return;jQuery("#public:not([my_ext_plugin_wikiPagesInClub]), #group:not([my_ext_plugin_wikiPagesInClub])").each(function(){var e=jQuery(this).attr("my_ext_plugin_wikiPagesInClub","1");let t=ce("div",{className:"my_ext_linkStatClub_link VKH_profile_right_menu_item",onclick:function(){vf("wikiPagesInClub").openBox()},innerHTML:`<span>Список Wiki-страниц</span>`});e.find("#narrow_column").prepend(t)})})},off:function(){return;my_ext.mutationObserver.remove("wikiPagesInClub")},f:{create:function(){return;var e=prompt("Укажите заголовок страницы:");if(e&&e.trim()!="")window.open(getUrlVK()+"/pages?oid="+Number(cur.oid)+"&p="+e)},openBox:function(){return;let e=MBox.create({title:'Управление Wiki-страницами <button style="margin: 12px;" class="flat_button vkh_create_wikipage">Создать новую страницу</button>',width:900,content:'<div id="my_ext_wikiPagesInClub_BoxContent">Загрузка...</div>'});e.node.querySelector(".vkh_create_wikipage").onclick=function(e){e.stopPropagation();vf("wikiPagesInClub").create();return false};my_ext.messages.sendToBG({type:"ext_plugins_wikiPagesInClub_getListPages",details:{uid:vk.id,club_id:-cur.oid}},function(e){if(!e.items.length){jQuery("#my_ext_wikiPagesInClub_BoxContent").html("<b>В сообществе нет Wiki-страниц</b>");return}jQuery("#my_ext_wikiPagesInClub_BoxContent").html('\t\t\t\t\t\t<table id="my_ext_wikiPagesInClub_table">\t\t\t\t\t\t\t<thead>\t\t\t\t\t\t\t\t<tr>\t\t\t\t\t\t\t\t\t<th>Заголовок</th>\t\t\t\t\t\t\t\t\t<th>Просмотры</th>\t\t\t\t\t\t\t\t\t<th>Создание</th>\t\t\t\t\t\t\t\t\t<th>Редактирование</th>\t\t\t\t\t\t\t\t\t<th>Действия</th>\t\t\t\t\t\t\t\t</tr>\t\t\t\t\t\t\t</thead>\t\t\t\t\t\t\t<tbody>\t\t\t\t\t\t\t</tbody>\t\t\t\t\t\t</table>');var r=jQuery("#my_ext_wikiPagesInClub_table > tbody");jQuery.each(e.items,function(e,t){var a=new Date(t.created*1e3);var o=a.getDate()+"."+(a.getMonth()+1)+"."+a.getFullYear()+" "+a.getHours()+":"+a.getMinutes();var i=new Date(t.edited*1e3);var l=i.getDate()+"."+(i.getMonth()+1)+"."+i.getFullYear()+" "+i.getHours()+":"+i.getMinutes();r.append(jQuery("<tr>").append(jQuery("<td>").append(jQuery("<a>",{href:getUrlVK()+"/page-"+t.group_id+"_"+t.id,target:"_blank",text:t.title}))).append(jQuery("<td>",{text:t.views})).append(jQuery("<td>").append(jQuery("<span>",{text:o})).append(t.creator_id&&t.creator_name?jQuery("<div>").append(jQuery("<a>",{text:t.creator_name,href:getUrlVK()+"/id"+t.creator_id,target:"_blank"})):"")).append(jQuery("<td>").append(jQuery("<span>",{text:l})).append(t.editor_id&&t.editor_name?jQuery("<div>").append(jQuery("<a>",{text:t.editor_name,href:getUrlVK()+"/id"+t.editor_id,target:"_blank"})):"")).append(jQuery("<td>").append(jQuery("<a>",{href:"#",onclick:"showFastBox('Скопировать ссылку на Wiki-страницу', '<input id=\\'my_ext_wiki_copy\\' type=\\'text\\' value=\\'page-"+t.group_id+"_"+t.id+"\\' class=\\'dark\\' style=\\'width:100%; text-align:center\\'>'); jQuery('#my_ext_wiki_copy').focus().select(); return false;",text:"Copy"}))))})})}}}};my_ext_plugins_list["linkStatClub"]={cat:"Устаревшие",title:'Кнопка "Статистика сообщества"',aboutLink:39,storage:{enabled:false},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция устарела и больше не работает</span>'}},css:function(){return`
		html.my_ext_plugin___linkStatClub .my_ext_linkStatClub_button {
			display:block;
		}
		.my_ext_linkStatClub_button {
			display:none;
		}
	`},vk:{on:function(){return;my_ext.mutationObserver.add("linkStatClub",function(){if(!window.cur||!(cur.oid<0))return;jQuery("#public:not([my_ext_plugin_linkStatClub]), #group:not([my_ext_plugin_linkStatClub])").each(function(){var e=jQuery(this).attr("my_ext_plugin_linkStatClub","1");let t=ce("div",{className:"my_ext_linkStatClub_link VKH_profile_right_menu_item",onclick:function(){window.open("/stats?gid="+-cur.oid)},innerHTML:`<span>Статистика</span>`});e.find("#narrow_column").prepend(t)})})},off:function(){return;my_ext.mutationObserver.remove("linkStatClub")}}};my_ext_plugins_list["saveAudionMessage"]={cat:"Диалоги",title:"Скачивание голосовых сообщений",aboutLink:27,fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция временно не работает!</span>'},ext:{lang:"Формат скачивания",type:"radio",items:[{value:"mp3",lang:"mp3"},{value:"ogg",lang:"ogg"}]}},storage:{enabled:false,ext:"mp3"},css:function(){return`
		html.my_ext_plugin___saveAudionMessage .audio-msg-track .audio-msg-track--wave-wrapper .audio-msg-track--wave {
			width: 270px;
		}
		html.my_ext_plugin___saveAudionMessage .my_ext_saveAudionMessage_link {
			border: block;
		}		
		.my_ext_saveAudionMessage_link {
			border: none;
			display: block;
			cursor: pointer;
			width: 24px;
			height: 24px;
			float: left;
			margin-top: 12px;
			margin-right: 5px;
			background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABW0lEQVR4Xp2TPUjDQBiG34RrAykFyVLFRASlgwVB1NXNRZycShfBIm5ODroU7FJB/KG7hYKoODgJDp1cXHTQpS6itHEwoCEYq2haYvjgoD8mlj7L+8HdPfnuJ8LwXO4YQBIeZ8oGumHBzPHyhAFIFrbSkCWG8fIFuqEwkqZcWj9IMq46vapgIlVCN5wflTE/OUg1QxuGYSCIWCwGTocgFApBURQE4TiOr4DQdR1BaJoWLKAJwQQLZFnuXbBWvKPsWfD1VsG39Qw/pD4VibEEHo0PH8H7K1IzcUQiERKoqopwOAzLslDVdRxePuHhZQij/dG/BUL9ky/Gfn6Xcmd7D6ZpAq4L5v5AQCtii0AA/3L7tVInnA7B7X0V8YEoX0wPqplGowHbtn0PMZsvljKri7PUniiKtOfl9AoJarUaXNeFJEnemEBdMi85VHm/9CaAzHT0Bv9xbU+hiewvJx5hJ9oSrKMAAAAASUVORK5CYII=');
			background-repeat: no-repeat;
			background-position: center center;
			background-size: 60%;
		}
	`},vk:{on:function(){return;my_ext.mutationObserver.add("saveAudionMessage",function(){if(!window.cur)return;if("im"!==window.cur.module||!window.cur.peer)return;jQuery("div.im_msg_audiomsg:not([my_ext_saveAudionMessage])").each(function(){jQuery(this).attr("my_ext_saveAudionMessage",1).before('<span class="my_ext_saveAudionMessage_link"></span>').prev(".my_ext_saveAudionMessage_link").click(function(){let e=jQuery(this).next(".im_msg_audiomsg").find('div[id^="audiomsgpl_"]');my_ext.messages.sendToBG({type:"ext_plugins_saveAudionMessage_download",details:{ext:{mp3:e.data("mp3"),ogg:e.data("ogg")},filename:e.attr("id")}});return false})})})},off:function(){return;my_ext.mutationObserver.remove("saveAudionMessage")}}};my_ext_plugins_list["updatePhoto"]={cat:"Другое",title:"Замена фотографий без потери лайков",aboutLink:60,storage:{enabled:false},fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция временно не работает!</span>'}},css:function(){return`
		.my_ext_updatePhoto__menu_item,
		.my_ext_updatePhoto__desc {
			display: none;
		}
		html.my_ext_plugin___updatePhoto .my_ext_updatePhoto__menu_item,
		html.my_ext_plugin___updatePhoto .my_ext_updatePhoto__desc {
			display: block;
		}
		#my_ext_owner_photo_error {
			display: none;
			overflow: visible; 
			margin-top: 18px; 
			margin-bottom: 2px; 
			padding-top: 7px; 
			padding-bottom: 9px;
		}
		#my_ext_owner_photo_upload_desc {
			font-size: 14px; 
			padding: 12px 0 15px; 
			text-align: center; 
			line-height: 150%;
		}
	`},vk:{on:function(){return;my_ext.mutationObserver.add("updatePhoto",function(){if(!window.cur){return}if(undefined!==cur.ownerPhotoOptions){jQuery("#owner_photo_upload_desc:not([updatePhoto])").each(function(){var e=jQuery(this).attr("updatePhoto","1");let t=ce("div",{innerHTML:'\t\t\t\t\t\t\t\t<div class="owner_photo_desc my_ext_updatePhoto__desc">\t\t\t\t\t\t\t\t\t<a href="#">\t\t\t\t\t\t\t\t\t\tОбновить текущую фотографию БЕЗ ПОТЕРИ ЛАЙКОВ\t\t\t\t\t\t\t\t\t</a>\t\t\t\t\t\t\t\t</div>'});t.querySelector("a").onclick=function(e){e.stopPropagation();vf("updatePhoto").openBox(jQuery("#profile_photo_link").attr("href").substr(6));return false};e.after(t)})}if(!window.cur.pvShown||!window.cur.pvCurPhoto||!window.cur.pvCurPhoto.actions)return;jQuery("#pv_more_act_download:not([updatePhoto])").each(function(){var e=jQuery(this).attr("updatePhoto","1");let t=ce("div",{innerHTML:'\t\t\t\t\t\t\t<div id="pv_more_act_as_title" class="pv_more_act_item my_ext_updatePhoto__menu_item" onmouseover="">\t\t\t\t\t\t\t\tОбновить фотографию без потери лайков\t\t\t\t\t\t\t</div>'});t.querySelector("div").onclick=function(e){e.stopPropagation();vf("updatePhoto").openBox(cur.pvCurPhoto.id);return false};e.before(t)})})},off:function(){return;my_ext.mutationObserver.remove("updatePhoto")},f:{openBox:function(e){MBox.create({title:"Обновить фотографию без потери лайков",width:600,content:'\t\t\t\t\t\t<div class="owner_photo_box ">\t\t\t\t\t\t\t<div class="owner_photo_content">\t\t\t\t\t\t\t\t<div id="my_ext_owner_photo_error" class="error">\t\t\t\t\t\t\t\t\t<div class="msg_text">\t\t\t\t\t\t\t\t\t\t<b>К сожалению, произошла ошибка</b><br><br>Скорее всего, эта фотография когда-то была установлена на аватаре(главная фотография).<br><br>Для устранения этой ошибки, вам необходимо поставить эту фотографию на аватар, и выбрать миниатюру - левый верхний угол. После этого вы можете поставить нужный аватар, а эту фотографию сможете менять без потери лайков.\t\t\t\t\t\t\t\t\t\t<br><br>\t\t\t\t\t\t\t\t\t\t<div data-info="1"></div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t<div id="my_ext_owner_photo_upload_desc" class="owner_photo_desc">\t\t\t\t\t\t\t\t\t<span style="color: red; font-size: 1.5em">Данная функция не работает. И больше не будет работать.</span><br><br>\t\t\t\t\t\t\t\t\tВыберите изображение в формате JPG, GIF или PNG.\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t<div class="owner_photo_input_wrap" style="margin: 20px auto; text-align: center;">\t\t\t\t\t\t\t\t\t<div id="my_ext_owner_photo_input"><center><img src="/images/progress7.gif"></center></div>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t<div id="my_ext_upd_photo_progress" style="display:none">\t\t\t\t\t\t\t\t\t<center><img src="/images/progress7.gif"></center><br>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>'})},init:function(l,e){var t=e.match(/"upload_url":"(.*)"/),r=e.match(/', '([a-f0-9]{18})'\)/),n=e.match(/selectedItems:\s*\[(-?\d+)\]/)[1],t=t[1].replace(/\\\//g,"/").split('"')[0];Upload.init("my_ext_owner_photo_input",t,{},{file_name:"photo",file_size_limit:1024*1024*5,file_types_description:"Image files (*.jpg, *.jpeg, *.png, *.gif)",file_types:"*.jpg;*.JPG;*.jpeg;*.JPEG;*.png;*.PNG;*.gif;*.GIF",onUploadStart:function(){jQuery("#my_ext_upd_photo_progress").show();jQuery("#my_ext_owner_photo_input").hide();jQuery("#my_ext_owner_photo_error").hide();my_ext.messages.sendToBG({type:"ext_plugins_updatePhoto_upload",details:{photo:l}})},onUploadComplete:function(e,t){var a={};try{a=JSON.parse(t)}catch(i){}if(a.error){jQuery("#my_ext_upd_photo_progress").hide();jQuery("#my_ext_owner_photo_input").show();jQuery("#my_ext_owner_photo_error").show();jQuery('#my_ext_owner_photo_error div[data-info="1"]').html(a.error);Upload.onUploadError(a.error);return}var o={_query:t,act:"save_desc",aid:n,al:1,conf:"///",cover:"",filter_num:0,hash:r[1],photo:l,text:""};ajax.post("/al_photos.php",o,{onDone:function(e,t,a,o){if(curBox())curBox().hide();location.href=location.href}})},lang:{button_browse:"Выбрать изображение"}})}}}};my_ext_plugins_list["dialogMessageStatRead"]={cat:"Диалоги",title:"Не помечать сообщения как прочитанные",aboutLink:24,keys:"не показывать собеседнику",fields:{label_0:{type:"label",text:'<span style="color:red">Данная функция больше не работает!</span>'}},storage:{enabled:false,on:true},css:function(){return`
		html.my_ext_plugin___dialogMessageStatRead #ext_plugins_dialogMessageStatRead_icon {
			display:block;
		}
		#ext_plugins_dialogMessageStatRead_icon {
			display:none;
   			background: url(/images/icons/im_actions.png?6) -2px -460px no-repeat;
    		width: 18px;
    		height: 18px;
    		display: block;
    		float: right;
    		margin: 14px 5px;
    		animation: none;
   			cursor: pointer;
    	}
    	#ext_plugins_dialogMessageStatRead_icon:not(.my_ext_dialogMessageStatRead_icon_on) {
			background: url(/images/icons/im_actions.png?6) -2px -440px no-repeat;
		}
		#content div.im-page.im-page_classic #ext_plugins_dialogMessageStatRead_icon {
    	}
	`},vk:{on:function(){},off:function(){return;my_ext.mutationObserver.remove("dialogMessageStatRead")}}};