PageSourceSearch

https://cdn.hailuoai.com/hailuo-video-web/prod-zh-0.1.796/_next/static/chunks/7037.3b9a6270c7b90655.js

js hailuoai.com collected 2026-10-02 02:46:46 UTC 5,121 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7037,5828],{5828:function(t,e,n){n.r(e);var r=n(77804),o=n(88661),i=n(28733),a=n(71596),l=n(34492),c=n(54772);e.default=function(){let t=(0,i.T)(),e=(0,o.useSyncExternalStore)(c.jr,c.D,c.D),n=(0,o.useCallback)(()=>{(0,c.e1)()},[]),s=(0,o.useCallback)(t=>{t.target===t.currentTarget&&n()},[n]),u=(0,o.useCallback)(async()=>{if((0,l.x)(),await (0,c.eJ)()){a.Z.success(t("toast_copy_success"));return}a.Z.error(t("link_copy_failed"))},[t]);return e.visible?"wechat_qq"===e.variant?(0,r.jsx)("div",{className:"fixed inset-0 z-[1200] bg-black/55",onClick:s,role:"dialog","aria-modal":"true","aria-label":"请点击右上角,在浏览器中打开",children:(0,r.jsx)("img",{src:"/assets/img/share-landing/wechat-open-browser-guide.png",alt:"请点击右上角,在浏览器中打开",className:"pointer-events-none absolute right-0 top-0 h-[257px] w-[193px] select-none",draggable:!1})}):(0,r.jsx)("div",{className:"fixed inset-0 z-[1200] flex items-end justify-center bg-black/55 sm:items-center",onClick:s,role:"dialog","aria-modal":"true","aria-label":"Open in system browser",children:(0,r.jsxs)("div",{className:"bg-hl_bg_03 mx-4 mb-8 w-full max-w-[400px] rounded-2xl p-5 sm:mb-0",onClick:t=>t.stopPropagation(),children:[(0,r.jsx)("p",{className:"text-hl_text_00 cl_hl_H6_SB m-0",children:"Open in Safari or Chrome"}),(0,r.jsx)("p",{className:"text-hl_text_02 cl_hl_H8_R m-0 mt-2",children:"Google / Apple sign-in doesn't work reliably in this in-app browser. Tap the menu (\xb7\xb7\xb7) and choose Open in Browser, or copy the link below."}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[(0,r.jsx)("button",{type:"button",onClick:u,className:"new-color-btn-bg text-hl_text_05 cl_hl_H7_M flex h-11 w-full items-center justify-center rounded-[8px]",children:t("copy_link")}),(0,r.jsx)("button",{type:"button",onClick:n,className:"text-hl_text_02 cl_hl_H7_M flex h-11 w-full items-center justify-center rounded-[8px]",children:"Close"})]})]})}):null}},34492:function(t,e,n){n.d(e,{Q:function(){return r},x:function(){return o}});let r=()=>window.location.href,o=()=>{let t=navigator.userAgent.toLowerCase();if(t.includes("android")||t.includes("adr"))try{let t=new URL(window.location.href);if(t.origin!==window.location.origin||"https:"!==t.protocol&&"http:"!==t.protocol)return;let e="".concat(t.host).concat(t.pathname).concat(t.search),n="intent://".concat(e,"#Intent;scheme=").concat(t.protocol.replace(":",""),";action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;end");window.location.href=n}catch(t){}}},65717:function(t,e,n){n.d(e,{RM:function(){return u},Gv:function(){return d},Dd:function(){return h},tm:function(){return f}});var r=n(77269),o=n(32635),i=n(68444);let a=!1;function l(){return i.s1||i.Dt&&i.op||a}!function(){if("undefined"==typeof navigator||!i.Dt)return;let t=navigator.userAgentData;(null==t?void 0:t.getHighEntropyValues)&&t.getHighEntropyValues(["model"]).then(t=>{var e;let n=null!==(e=null==t?void 0:t.model)&&void 0!==e?e:"";/^(sm-|gt-|sch-)/i.test(n.trim())&&(a=!0)}).catch(()=>{})}();let c="com.hailuoai.video",s="https://sj.qq.com/appdetail/".concat(c);function u(t){if("ios"===t)return o.Fl;if(l())return r.a1?o.Iw:s;let e=r.a1?o.uP:c;return"market://details?id=".concat(e)}function d(){return!r.a1&&l()?s:o.Iw}function h(){return d()}async function f(t){try{var e;if(null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText)return await navigator.clipboard.writeText(t),!0}catch(t){}try{let e=document.createElement("textarea");e.value=t,e.style.cssText="position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none;",e.setAttribute("readonly",""),document.body.appendChild(e),e.select(),e.setSelectionRange(0,t.length);let n=document.execCommand("copy");return document.body.removeChild(e),n}catch(t){return!1}}},54772:function(t,e,n){n.d(e,{CF:function(){return f},D:function(){return u},e1:function(){return p},eJ:function(){return g},jr:function(){return d}});var r=n(68444),o=n(34492),i=n(65717);let a={visible:!1,variant:"generic",reason:""},l=a,c=new Set,s=()=>
1{c.forEach(t=>t(l))};function u(){return l}function d(t){return c.add(t),()=>{c.delete(t)}}function h(t){let e=(0,o.Q)(),n=t||e;if(!n)return n||"";let r=t=>{let e=new URL(t,window.location.origin);return e.origin!==window.location.origin||"https:"!==e.protocol&&"http:"!==e.protocol?"":(e.hash="",e.toString())};try{let t=r(n);if(t)return t;return e&&e!==n?r(e):""}catch(t){try{return e&&e!==n?r(e):""}catch(t){return""}}}async function f(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=null!==(t=n.variant)&&void 0!==t?t:function(t){let{isWechat:e,isQQInsideBrowser:n,isWorkWeixin:o}=(0,r.kD)(void 0);return e||o||n?"wechat_qq":"generic"}(),c=null!==(e=n.reason)&&void 0!==e?e:"generic",u=h(n.pageUrl),d=!0===n.autoAssist;l={visible:!0,variant:a,reason:c,pageUrl:u},s();let f=!1;return d&&((0,o.x)(),u&&(f=await (0,i.tm)(u))),{copied:f,variant:a}}function p(){l=a,s()}async function g(){let t=h(l.pageUrl||(0,o.Q)());return!!t&&(0,i.tm)(t)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.