const handle__stay_find_video_utils_5B9LJ41J = function o(){const t=window.__stay_utils||{},e={handleMergeVideoInfo:(t={},e={})=>{t.downloadUrl=e.downloadUrl,t.audioUrl=e.audioUrl,t.poster=e.poster,t.title=e.title,t.hostUrl=e.hostUrl,t.qualityList=e.qualityList,t.type=e.type,t.useDocTitle=e.useDocTitle,t.videoUuid=e.videoUuid,t.videoKey=e.videoKey,t.iframe=void 0==typeof e.iframe?window!=window.top:e.iframe},mergeVideoListToWindow:t=>{t&&0!=t.length&&(window.__stay_video_list&&0!=window.__stay_video_list.length?t.forEach((t=>{const n=window.__stay_video_list.some((e=>e.videoKey===t.videoKey));n?window.__stay_video_list.forEach((n=>{if(n.videoKey==t.videoKey)return e.handleMergeVideoInfo(n,t),n})):window.__stay_video_list.push(t)})):window.__stay_video_list=t)}};window.VideoUtils=e;const n='\n
\n ';window.__stay_insert_node("head",t.parseToDOM(n),"__stay_video_style")}
handle__stay_find_video_utils_5B9LJ41J(false);
const handle__stay_inject_find_video_js_4RU5BAMA = function r(t){const e=window.__stay_utils||{},o=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,i=[],r=new Set;class s{constructor(t,e){this.dom=t,this.timer=0,this.init(e)}init(t){this.touchstart(t),this.touchend(),this.touchmove(),this.bindLongPressEventFlag()}bindLongPressEventFlag(){this.dom.setAttribute("stay-long-press","yes")}touchstart(t){const e=this;e.dom.removeEventListener("touchstart",(function(n){e.handleLongPress(n,t)})),e.dom.addEventListener("touchstart",(function(n){return e.handleTargetTouchend(n.target),e.timer=setTimeout(((t,n)=>{e.handleLongPress(t,n)}),600,n,t),!1}),!1)}handleTargetTouchend(t){const e=this;t&&t.addEventListener("touchend",(n=>{e.handleTouchend(n,t)}))}handleLongPress(t,n){if(t.preventDefault(),t.stopPropagation(),e.isHidden(this.dom))return;let o=t.changedTouches[0];try{o.target.addEventListener("contextmenu",(function(t){t.preventDefault()}))}catch(i){}"function"===typeof n&&(n(),this.timer=0)}touchend(){const t=this;t.dom.removeEventListener("touchend",(function(e){t.handleTouchend(e,null)})),t.dom.addEventListener("touchend",(function(e){return t.handleTouchend(e,null),!1}))}handleTouchend(t,n){const o=this;if(!e.isHidden(this.dom)&&(clearTimeout(this.timer),0!=this.timer))try{n&&n.removeEventListener("touchend",(t=>{clearTimeout(o.timer)}))}catch(i){}}touchmove(){const t=this;function n(n){e.isHidden(t.dom)||(clearTimeout(t.timer),t.timer=0)}t.dom.removeEventListener("touchmove",(function(t){n(t)})),t.dom.addEventListener("touchmove",(function(t){return n(t),!1}))}}class a{constructor(t,e){this.callback=e,this.dom=t,this.stayLongPressTimer=0,this.distance=10,this.handleTouchStartEvent=this.handleTouchStartEvent.bind(this),this.touchmoveCallback=this.touchmoveCallback.bind(this),this.touchEndCallback=this.touchEndCallback.bind(this),this.init()}getDomPageStartX(){return this.dom.getBoundingClientRect().left}getDomPageStartY(){return(document.documentElement.scrollTop||window.pageYOffset)+this.dom.getBoundingClientRect().top}getDomPageEndX(){return this.getDomPageStartX()+this.dom.clientWidth}getDomPageEndY(){return this.getDomPageStartY()+this.dom.clientHeight}init(){this.stayLongPressTimer=0,this.distance=10,this.touchstart(),this.touchmove(),this.touchend(),this.bindLongPressEventFlag()}removeEvent(){this.stayLongPressTimer&&(clearTimeout(this.stayLongPressTimer),this.stayLongPressTimer=0),this.removeTouchstart(),this.removeTouchmove(),this.removeTouchend()}bindLongPressEventFlag(){this.dom.setAttribute("stay-long-press","yes")}touchstart(){this.removeTouchstart(),document.body.addEventListener("touchstart",this.handleTouchStartEvent)}removeTouchstart(){document.body.removeEventListener("touchstart",this.handleTouchStartEvent)}handleTouchStartEvent(t){const n=this;let o=t.changedTouches[0];if(!o)return;const i=o.pageX,r=o.pageY;!e.isHidden(n.dom)&&Math.abs(o.pageX-i)<=n.distance&&i>=n.getDomPageStartX()&&i<=n.getDomPageEndX()&&r>=n.getDomPageStartY()&&r<=n.getDomPageEndY()&&(t.stopPropagation(),t.preventDefault(),this.stayLongPressTimer=window.setTimeout((t=>{try{let n=t.target.classList;function o(e){e.preventDefault(),t.target.removeEventListener("contextmenu",o)}n.contains("__stay-unselect")||n.add("__stay-unselect"),n.contains("__stay-touch-action")||n.add("__stay-touch-action"),"function"===typeof this.callback&&this.callback(),t.target.addEventListener("contextmenu",o)}catch(e){}}),600,o)),n.handleTargetTouchend(t.target)}handleTargetTouchend(t){const e=this;function n(o){e.touchEndCallback(o),t.removeEventListener("touchend",n)}t&&t.addEventListener("touchend",n)}touchend(){this.removeTouchend(),document.body.addEventListener("touchend",this.touchEndCallback)}removeTouchend(){document.body.removeEventListener("touchend",this.touchEndCallback)}touchEndCallback(t){if(!e.isHidden(this.dom)&&0!=this.stayLongPressTimer)try{clearTimeout(this.stayLongPressTimer),this.stayLongPressTimer=0}catch(n){}}touchmove(){this.removeTouchmove(),document.body.addEventListener("touchmove",this.touchmoveCallback,{passive:!0})}removeTouchmove(){document.body.removeEventListener("touchmove",this.touchmoveCallback,{passive:!0})}touchmoveCallback(t){const n=this;e.isHidden(n.dom)||(window.clearTimeout(n.stayLongPressTimer),n.stayLongPressTimer=0)}}function c(){window===window.top&&window.addEventListener("message",(t=>{t.data.pid;let e=t.data.name;if("PUSH_IFRAME_VIDEO_INFO_TO_PARENT"===e){let e=t.data.videoReact,n=t.data.iframeVideoInfo;t.data.pageUrl;const o=document.querySelector("iframe");o&&o.getBoundingClientRect()&&(e.x=o.getBoundingClientRect().x,e.y=o.getBoundingClientRect().y),O(n),V(e,n.videoKey)}}))}async function l(){c(),d(),u()}function d(){if(document.body){const t=document.querySelectorAll("video");f(t)}else{const t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,e=new t(((t,n)=>{if(document.body){e.disconnect();const t=document.querySelectorAll("video");f(t)}}));e.observe(document.documentElement,{childList:!0,subtree:!0})}}function u(){const t=new o((function(t){try{t.map((function(t){if(t.addedNodes&&"childList"===t.type)t.addedNodes.forEach((t=>{if(t instanceof HTMLElement){let e=t.querySelectorAll("video");const n=Array.from(e);"VIDEO"===t.tagName.toUpperCase()&&n.push(t),f(n)}}));else if("attributes"===t.type){let e=t.target;if("VIDEO"===e.tagName&&"src"===t.attributeName){let t=e.getAttribute("stay-video-uuid");t&&r.delete(t),p(e)}}}))}catch(e){}})),e={attributes:!0,childList:!0,subtree:!0,attributeFilter:["src"]};t.observe(document,e)}function f(t){if(t&&t.length){let e=Array.from(t);e.forEach((t=>{p(t)}))}}function p(t){let n=t.getAttribute("stay-video-uuid");if(n||(n=e.generateUuid(),t.setAttribute("stay-video-uuid",n)),r.has(n))return;r.add(n);let o=t,i=t.getAttribute("src");if(!i){let e=t.querySelector("source");e&&e instanceof HTMLElement&&(o=e,i=e.getAttribute("src"))}if(!i&&window.location.host.indexOf("pornhub.com")<0)r.delete(n);else try{m(t,o,n)}catch(s){}}function m(t,n,o){let s=n,a={videoKey:o,hostUrl:window.location.href,protect:!1,audioUrl:"",qualityList:[]},c=t.getAttribute("poster")||t.getAttribute("data-poster"),l=t.getAttribute("title")||"",d=t.getAttribute("src"),u=window.location.host;if(d=e.completionSourceUrl(d),!c){let e=t.querySelector("source[type='image/webp'] img");e&&e instanceof HTMLElement&&(c=e.getAttribute("src")||"",l||(l=e.getAttribute("alt")||""))}if(a.poster=c,a.downloadUrl=d,a.title=l,u.indexOf("youtube.com")>-1){if(s=y.getLongPressDom()||n,y.getVideoInfo(a),!a.downloadUrl||""==a.downloadUrl||"https://www.youtube.com/"==a.downloadUrl||"https://m.youtube.com/"==a.downloadUrl)return}else if(u.indexOf("baidu.com")>-1)window.BaiduDomHandler.getVideoInfo(a,r,i);else if(u.indexOf("bilibili.com")>-1)a.title=a.title||h.getTitle();else if(u.indexOf("mobile.twitter.com")>-1||u.indexOf("x.com")>-1)a.title=a.title||A.getTitle(t);else if(u.indexOf("m.weibo.cn")>-1)v.getVideoInfo(a);else if(u.indexOf("iesdouyin.com")>-1);else if(u.indexOf("douyin.com")>-1){const e=window.location.pathname;e.indexOf("/video")>-1||b.getPCHomeDouyinVideoInfo(t,a)}else if(u.indexOf("m.toutiao.com")>-1)a.poster=a.poster||b.getToutiaoPoster(),a.title=a.title||b.getToutiaoTitle();else if(u.indexOf("m.v.qq.com")>-1)w.getMobileVideoInfo(a);else if(u.indexOf("www.reddit.com")>-1)a.title=a.title||x.getTitle();else if(u.indexOf("pornhub.com")>-1)s=window.PornhubDomHandler.getLongPressDom()||s,window.PornhubDomHandler.getVideoInfo(t,a);else if(u.indexOf("91porn.com")>-1)s=window.PornhubDomHandler.get91PornLongPressDom()||s,a.poster=window.PornhubDomHandler.get91PornPoster()||a.poster;else if(u.indexOf("facebook.com")>-1)T.getVideoInfo(t,a);else if(u.indexOf("instagram.com")>-1)S.getVideoInfo(t,a);else if(u.indexOf("xiaohongshu.com")>-1)E.getVideoInfo(a);else if(u.indexOf("jable.tv")>-1)a.title=a.title||_.getTitle();else if(u.indexOf("hxaa79.com")>-1)a.title=a.title||L.getTitle();else if(u.indexOf("555yy4.com")>-1||u.indexOf("fivezn.com")>-1||u.indexOf("wu5cn.com")>-1)a.title=a.title||M.getTitle();else if(u.indexOf("web.telegram.org")>-1&&d){const t=decodeURIComponent(d);let e=t.match(/"fileName":".*"/g);if(e&&e.length){let t=e[0];t=t.replace('"fileName":',""),l=t.replace(/"/g,"")}}a.downloadUrl&&""!=a.downloadUrl&&(g(a),O(a),U(s,a.videoKey))}function g(t){if(t.iframe=window!=window.top,t.useDocTitle=!1,!t.title){if(window==window.top)t.title=document.title;else{try{t.title=window.top.document.title}catch(n){t.title=document.title}t.title="[iframe]"+t.title}t.useDocTitle=!0}t.title||(t.title=e.getUrlPathName(t.downloadUrl),t.useDocTitle=!1),t.poster=e.completionSourceUrl(t.poster),t["title"]=t.type&&"ad"==t.type?"Ad·"+t.title:t.title,t.title=t.title?t.title.trim().replace(/\//g,"|"):"",t.downloadUrl=e.completionSourceUrl(t.downloadUrl)}l();class y{static setPlayerBgCss(){const t=document.querySelector("#player-control-overlay");t&&(t.classList.contains("__stay-touch-action")||t.classList.add("__stay-touch-action"),t.classList.contains("__stay-unselect")||t.classList.add("__stay-unselect"));const e=document.querySelector("#player-control-overlay .player-controls-background-container .player-controls-background");e&&(e.classList.contains("__stay-touch-action")||e.classList.add("__stay-touch-action"),e.classList.contains("__stay-unselect")||e.classList.add("__stay-unselect"));let n=document.querySelector("#player-control-container");n&&(n.classList.contains("__stay-unselect")||n.classList.add("__stay-unselect"))}static getLongPressDom(){let t=document.querySelector("#player-control-overlay .player-controls-background-container .player-controls-background");return t||(t=document.querySelector("#player-control-overlay")),t||(t=document.querySelector(".carousel-wrapper .video-wrapper .reel-player-overlay-main-content")),t}static getVideoId(){const t=window.location.href;let n=e.queryURLParams(t,"v")||e.getLastPathParameter(t);if(!n){let t=document.querySelector("#player-control-container > ytm-custom-control > div.inline-player-controls > a.inline-player-overlay");if(t){let o=t.getAttribute("href");n=e.queryParams(o,"v")}}return n}static getVideoInfo(t={}){t.title=this.getTitle(),t.videoUuid=this.getVideoId(),t.poster=t.poster&&""!=t.poster?t.poster:this.getPoster()}static getPoster(){const t=this.getImage();if(!t&&this.getVideoId())return`https://i.ytimg.com/vi/${this.getVideoId()}/hqdefault.jpg`}static getImage(){const t=document.querySelector(".ytp-cued-thumbnail-overlay-image");if(t){let n=t.getAttribute("style");if(n)return e.matchUrlInString(n)}const n=document.querySelector(".html5-video-player .ytp-cued-thumbnail-overlay .ytp-cued-thumbnail-overlay-image");if(n){let t=n.getAttribute("style");if(t)return e.matchUrlInString(t)}const o=document.querySelector(".video-wrapper .background-style-black");if(o){let t=o.getAttribute("style");if(t)return e.matchUrlInString(t)}return""}static getTitle(){const t=document.querySelector(".slim-video-metadata-header .slim-video-information-content .slim-video-information-title");if(t&&t.textContent&&""!=t.textContent.trim()&&!t.textContent.match(/^\s*$/))return t.textContent;const e=document.querySelector("#title h1.style-scope");return e?e.textContent?e.textContent.trim():"":window.ytplayer?.bootstrapPlayerResponse?.videoDetails?.title||document.title}}window.YoutubeDomHandler=y;class h{static getTitle(){let t="",e=document.querySelector(".main-container .ep-info-pre .ep-info-title");if(!e&&(e=document.querySelector(".video .share-video-info .title-wrapper .title .title-name span"),!e)){let n=setTimeout((function(){e=document.querySelector(".video .share-video-info .title-wrapper .title .title-name span"),e&&(t=e.textContent),clearTimeout(n),n=0}),200)}e&&(t=e.textContent);const n=document.querySelector("div.m-video-part-new > ul.list > li.part-item.on > span");if(n){let e=n.textContent;t=e}return t}}class A{static getTitle(t){let n="",o="",i=t.parentNode?.parentNode?.parentNode?.parentNode?.parentNode?.parentNode?.nextElementSibling;return i?o=i.querySelector("div > div > div > div > div > a[data-testid='tweetText'] span"):(i=t.closest('div[data-testid*="cellInnerDiv-tweet"]'),i&&(o=i.querySelector("div[data-testid*='immersive-tweet-ui-content-container'] a[data-testid='tweetText'] span"))),o&&(n=o.textContent),n=e.checkCharLengthAndSubStr(n),n}}class v{static getVideoInfo(t){let n="";if(t&&Object.keys(t)&&t.videoUuid){let o=document.querySelector(".weibo-main .weibo-text a");if(o&&(n=e.queryURLParams(o.getAttribute("href"),"fid"),n==t.videoUuid))return t}if(t.videoUuid=n,document.querySelector(".weibo-main .weibo-text a"),!t.poster){let e=document.querySelector(".weibo-media .weibo-media-wraps .card-video .mwb-video .m-img-box img");e&&(t.poster=e.getAttribute("src"))}window.location.href.match(/^.*\/detail\/.*/g)&&(t.title=e.checkCharLengthAndSubStr(document.querySelector(".weibo-main .weibo-text").textContent))}}class b{static getPCHomeDouyinVideoInfo(t,e={}){if(e.poster&&e.title)return;let n=t.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;if(n){let t=n.querySelector(".imgBackground img");t&&(e.poster=t.getAttribute("src")||e.poster);let o=n.querySelector(".video-info-detail .title span.e_h_fqNj");e.title=o?o.textContent||e.title:e.title||document.title}}static getToutiaoTitle(){const t=document.querySelector(".video .video-header .video-title-wrapper .video-title");if(t)return t.textContent}static getToutiaoPoster(){const t=document.querySelector(".video .xgplayer-placeholder .xgplayer-poster");if(t){let n=t.getAttribute("style");if(n){let t=e.matchUrlInString(n);return t}}}}class w{static getMobileVideoInfo(t={}){if(!t.poster){const n=document.querySelector(".mod_play .player_container .txp_poster_img");if(n){let o=n.getAttribute("src");o=e.completionSourceUrl(o),t.poster=o}}if(!t.title){const e=document.querySelector(".mod_box .mod_bd .mod_video_info .video_title");if(e){let n=e.textContent;n=n?n.trim():"";const o=document.querySelector(".mod_box .mod_bd .mod_list_slider .slider_box .item.current span");o&&(n+=o.textContent,n=n?n.trim():""),t.title=n}}}}class x{static getTitle(){const t=document.querySelector("shreddit-app shreddit-title");return t?t.getAttribute("title"):""}}class T{static getVideoInfo(t,e={}){let n=t.parentElement.parentElement.parentElement.parentElement.parentElement;if(n&&n.classList.contains("displayed")&&"container"==n.getAttribute("data-type")){let t=n.querySelector("div[data-type='video'] img.img");t&&(e.poster=e.poster||t.getAttribute("src"));let o=n.querySelector("div.displayed > div[data-type='container'] > div[data-type='container'] > div[data-type='container'] > div[data-type='text'] > div.native-text");o&&(e.title=e.title||o.textContent)}}}class S{static getVideoInfo(t,e={}){let n=t.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;if(n&&n.classList.contains("_ab8w")&&n.classList.contains("_ab94")&&n.classList.contains("_ab99")&&n.classList.contains("_ab9h")&&n.classList.contains("_ab9m")&&n.classList.contains("_ab9p")&&n.classList.contains("_abcm")){let t=n.querySelector("._aatk .x1uhb9sk .x10l6tqk .x78zum5 img.x5yr21d");t&&(e.poster=e.poster||t.getAttribute("src"));let o=n.querySelector("._ab9f div._ae1h._ae1i ._ae2s div._ae5q._akdn div div div");o&&o.textContent&&(e.title=e.title||o.textContent.replace("... more",""))}else if(n=t.parentNode.parentNode.parentNode.parentNode.parentNode,n&&n.classList.contains("_a8b4")&&n.classList.contains("_acjh")){let t=n.querySelector("div > div > div.x9f619.x1d8287x.xz4gly6 div.x6ikm8r.x10wlt62 span");t&&(e.title=e.title||t.textContent)}}}class E{static getVideoInfo(t={}){const n=document.querySelector(".video-container .video-banner .img-box");if(n){let o=n.getAttribute("style"),i=e.matchUrlInString(o);i&&(t.poster=t.poster||e.completionSourceUrl(i))}const o=document.querySelector(".video-container .stage-bottom .author-desc-wrapper .author-desc");if(o){let n=o.textContent;n&&(n=n.replace(/^展开/g,""),t.title=t.title||e.checkCharLengthAndSubStr(n))}}}class _{static getTitle(){const t=document.querySelector(".video-info .info-header .header-left h4");return t?t.textContent:""}}class L{static getTitle(){const t=document.querySelector(".play_main .play_main_1");return t?t.textContent:""}}class M{static getTitle(){let t=window.parent.document.title;return t||(t=window.parent.ep_title),t||(t=window.parent.MAC.Title),t}}async function O(t){let n=t.downloadUrl;if(!t.videoKey&&!t.videoUuid)return;t.videoKey&&!t.videoUuid&&(t.videoUuid=t.videoKey),e.isURL(n)||(t.downloadUrl=window.location.href);let o=!1;i.length&&i.forEach((e=>{(e.videoUuid&&t.videoUuid&&e.videoUuid==t.videoUuid||e.videoKey&&t.videoKey&&e.videoKey==t.videoKey||e.downloadUrl===t.downloadUrl)&&(window.VideoUtils.handleMergeVideoInfo(e,t),o=!0)})),o||(t.videoKey&&r.add(t.videoKey),i.push(t)),P(i)}function P(n){if(window.VideoUtils.mergeVideoListToWindow(n),!t){const t=e.generateUuid();window.postMessage({id:t,pid:t,videoList:n,name:"PUSH_VIDEO_LIST_TO_CONTENT"})}}function U(t,e){return new Promise(((n,o)=>{j().then((o=>{o&&"on"==o&&k(t).then((t=>{n(I(t,e))}))}))}))}function k(t){return new Promise(((e,n)=>{let o=window.location.host;o.indexOf("youtube.com")>-1?D((()=>{t=y.getLongPressDom()||t,e(t)})):o.indexOf("pornhub.com")>-1?D((()=>{t=window.PornhubDomHandler.getLongPressDom()||t,e(t)})):o.indexOf("91porn.com")>-1&&D((()=>{t=window.PornhubDomHandler.get91PornLongPressDom()||t,e(t)})),e(t)}))}function D(t){if("interactive"===document.readyState||"complete"===document.readyState)t();else{let e=setTimeout((()=>{t(),clearTimeout(e),e=null}),3e3)}}async function I(t,n){if(!t)return;if(!e.isMobile())return void q(t,n);let o=t.getAttribute("stay-long-press-key");if(o&&o==n)return;t.setAttribute("stay-long-press-key",n);const i=document.querySelector("#__style_sinffer_unselect");if(!i){let t='
';document.body.append(e.parseToDOM(t))}t.classList.add("__stay-unselect"),t.classList.add("__stay-touch-action");const r=window.location.href;if(r.indexOf("youtube.com")>-1)y.setPlayerBgCss(),new s(t,(()=>{N(t,n)}));else if(r.indexOf("pornhub.com")>-1)new s(t,(()=>{N(t,n)}));else if(r.indexOf("muiplayer.js.org")>-1){let e=document.querySelector("#mplayer-media-wrapper");e||(e=document.querySelector("#mplayer-cover")),e?new s(e,(()=>{N(t,n)})):new a(t,(()=>{N(t,n)}))}else new a(t,(()=>{N(t,n)}))}function N(t,e){q(t,e)}function j(){return new Promise(((o,i)=>{if(t)n.get("long_press_status").then((t=>{t=t||"on",o(t)}));else{const t=e.generateUuid(),n=e=>{e.data.pid===t&&"GET_LONG_PRESS_STATUS_RESP"===e.data.name&&(o(e.data.longPressStatusRes),window.removeEventListener("message",n))};window.postMessage({pid:t,name:"GET_LONG_PRESS_STATUS"}),window.addEventListener("message",n)}}))}function q(t,n){if(window===window.top){const e=t.getBoundingClientRect();let o=e.y,i=e.x;t.tagName&&"VIDEO"==t.tagName&&(o=t.parentNode.getBoundingClientRect().top,i=t.parentNode.getBoundingClientRect().left),i=10;let r={width:e.width,height:e.height,x:i,y:o};V(r,n)}else{const o=t.getBoundingClientRect();let r={x:o.x,y:o.y,width:o.width,height:o.height};const s=e.generateUuid(),a=i.find((t=>t.videoKey&&t.videoKey==n))||{};window.top.postMessage({pid:s,name:"PUSH_VIDEO_INFO_TO_CONTENT",videoInfo:a,videoReact:r,pageUrl:window.location.href},"*")}}function V(t,n){if(!e.isMobile())return;const o=i.find((t=>t.videoKey&&t.videoKey==n));if(!o)return;t.width;let r=t.height,s=t.y,a=t.x,c=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,l=window.innerWidth||document.documentElement.innerWidth||document.body.innerWidth,d=l,u=e.div(e.mul(d,9),16);r
`,f=o.qualityList;if(f&&f.length){let t="";l=0,f.forEach((i=>{let r=i.downloadUrl,s=i.audioUrl;n=[{title:o.title,downloadUrl:r,poster:o.poster,websiteUrl:o.hostUrl,hostUrl:e.getHostname(o.hostUrl),uuid:"",protect:!!i.protect&&i.protect,audioUrl:s,qualityLabel:i.qualityLabel}],r="stay://x-callback-url/snifferVideo?list="+encodeURIComponent(JSON.stringify(n));let a=i.qualityLabel,c="";if(a)try{a=a.replace(/[^0-9]/g,""),Number(a)>780&&(c='HD')}catch(d){}t+=`
`,l+=1})),d=t}let p=s,m=s;if(s<0)m=0,c<=r&&(m=e.div(e.sub(c,u),2));else if(0==s)c<=r&&(m=e.div(e.sub(c,u),2));else{let t=e.add(4,36),n=e.add(e.add(u,t),e.add(e.mul(l,38),36));s>e.sub(c,n)&&(m=e.sub(c,n))}let g="",y="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHIAAABLCAYAAAHbr+OOAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAcqADAAQAAAABAAAASwAAAADcT0jhAAANbUlEQVR4Ae2df5BVVR3Ad1l2W0GU2h1zSINUEib7Ax1JMxknp0kFNZ3AdAgbE2aIfgAJAgsFsQsI06CDQ4ZMKUrIUOOvVianNLTshyb0QykQqEnEWpDZSHbbn32+13cu5953znn3vXffj7v7zszde8735/l+v+ece865576tqso3LVmypJ/rRZucFL5X4Sn3qXyVIP2CJaNo1H3evHmnDbHQGsHCuGrVqmqFzIpZZxQBWTErjeqeFbOyNydmqbYuIJJmGO5U2pSA9evXd/ie0yUqQu2+EaY5WjmGrGicNWtWrUnU4sWLbw7XiPL2qK3qhAiFYY4IkSuSk/r7+zcLMbyY+16risQo2urq6mpgOlPykiIzLl++/FSvyYYxVVVPm/wZ6uccmerq6gvFNmEm/VlIh5AuCEszyLhWYMJMOi55r/VIpyWdFI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xwmMs51RiH9UglkIb1bRNmVQBbR2YVUVQlkjN5laD0zRnFZiaoEMit3uYmZ7HyVrbnjXHLesqipMmuN391yivBZgimz2Afb2trmyK+Tx68mKLHSI4P+iLXEUDuT4yJdBPXQsmXLMr39yEt3JZB5uS8y8xhe2v+JgPZxJmdJZK4sCCtDaxbOikDaQi98hSH1UWiHG+hBVbcQ0BZwL7MD9Dl2gN4y0GUNqvTIrF3mZuDNxhPsr55OkOTLsMCXbiHOS+WfEBBU+SXa20K4rIuReyQtrTZr6QOQgR4VyQ+pnibfXskJudXc5ecbTake4FZotnJ/krck03lLEunbLF1YoEdSSdmxNyZwnzUiBh/QdcDK5D/5ITJ5iVxNZ7gKd8m3JbZ0IweyThBU+cp+ko3IBA8EEkV/MxGlYNfSUgL0DtoBieK4qHxg6x0/NBmYwX9VDLu7CGgDZ3g+AO1zJhkpWCP4XQRUfoVO3mE6D14JT2Bo5RDuI7W1tfLVvinV0VpeAHEll/M1uIk56TD52T8C8AuHHUcJ1E4H3kdxQvw4Be8kP4H6Jnnxua2T1PiMoQyj5G51jjbAvG7durehvS9ErxevQPExeuZZOnCg57H5YiYm4nz90/aA2fQgWVZk3cDpoXLoW4IlJ/PeDAh1F+TczyxFYnztQsUfhmCGInLcn+Is7Fw+MzvkoEkkikPEl2Lb/VR+YiYDCOLd9EbbSJaJPYyv5vk4G5lrQIwII1Pl7zMpmk+HOqnwxkAKkmBO47ZdEVbuRg90Mtx+iqHyD0ZsEYHWQKbqIFPnReSbuQLDcBHrWI6q3qVSdzIkPlYulcsUSL+edOMzmOzMocvP5SE7qJ6RKSe8wf0ehrQt+ML4jaLvrBJkIgfSVjdmc+cw05X/stoAjXyUmcjfEKDuMs0/zp6orAWP1dfXHyJgR8knIv0fXM3HRzOTg3AAAAAASUVORK5CYII=",h='
'+e.getHostname(o.hostUrl)+"
";o.poster&&(g="border-radius: 15px;",h=`
`);let A=`
`,v=['
",'
",'
","
","
","
","
"];return document.head.append(e.parseToDOM(A)),document.body.append(e.parseToDOM(v.join(""))),document.querySelector("#__stay_sinffer_modal")}function h(t){t.preventDefault(),t.stopPropagation(),f.classList.remove("c2749e0-stay-show-modal"),p.style.animation="fadeout .5s;";let e=setTimeout((()=>{if(f){f.removeEventListener("touchstart",h);try{const t=document.querySelector("#__stay_sinffer_modal");t&&t.remove()}catch(t){}}try{const t=document.querySelector("#GuQKtnJA_stay_sinffer_style");t&&t instanceof Node&&t.remove()}catch(t){}C(n),clearTimeout(e),e=null}),200)}f.addEventListener("touchstart",h);const A=document.querySelectorAll("#__stay_sinffer_modal .yt7ec84-stay-quality-item");if(A&&A.length)for(let e=0;e
handle__stay_inject_find_video_js_4RU5BAMA(false);