PageSourceSearch

https://seedance2.live/_next/static/chunks/1389-27e0a2597fc6f657.js

js seedance2.live collected 2026-10-04 02:18:18 UTC 9,632 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1389,4599],{47407:(e,t,r)=>{r.d(t,{Zr:()=>o});let n=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>n(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}},o=(e,t)=>(r,o,a)=>{let i,l={storage:function(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var t;let n=e=>null===e?null:JSON.parse(e,void 0),o=null!=(t=r.getItem(e))?t:null;return o instanceof Promise?o.then(n):n(o)},setItem:(e,t)=>r.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>r.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,u=0,d=new Set,c=new Set,p=l.storage;if(!p)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),r(...e)},o,a);let f=()=>{let e=l.partialize({...o()});return p.setItem(l.name,{state:e,version:l.version})},v=a.setState;a.setState=(e,t)=>(v(e,t),f());let h=e((...e)=>(r(...e),f()),o,a);a.getInitialState=()=>h;let m=()=>{var e,t;if(!p)return;let a=++u;s=!1,d.forEach(e=>{var t;return e(null!=(t=o())?t:h)});let v=(null==(t=l.onRehydrateStorage)?void 0:t.call(l,null!=(e=o())?e:h))||void 0;return n(p.getItem.bind(p))(l.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===l.version)return[!1,e.state];else{if(l.migrate){let t=l.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(a!==u)return;let[n,s]=e;if(r(i=l.merge(s,null!=(t=o())?t:h),!0),n)return f()}).then(()=>{a===u&&(null==v||v(i,void 0),i=o(),s=!0,c.forEach(e=>e(i)))}).catch(e=>{a===u&&(null==v||v(void 0,e))})};return a.persist={setOptions:e=>{l={...l,...e},e.storage&&(p=e.storage)},clearStorage:()=>{null==p||p.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>m(),hasHydrated:()=>s,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},l.skipHydration||m(),i||h}},67864:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(49016);function o(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},75260:(e,t,r)=>{r.d(t,{s6:()=>l});var n=r(49016),o=r(37652),a=r(2100),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.span,{...e,ref:t,style:{...i,...e.style}}));l.displayName="VisuallyHidden"},80428:(e,t,r)=>{r.d(t,{UC:()=>Z,ZL:()=>U,bL:()=>H,l9:()=>L});var n=r(49016),o=r(82537),a=r(94057),i=r(81381),l=r(4149),s=r(2622),u=r(25379),d=r(41052),c=r(7721),p=r(3494),f=r(44916),v=r(25403),h=r(55879),m=r(99972),g=r(59069),b=r(8898),C=r(2100),x="Popover",[y,w]=(0,i.A)(x,[c.Bk]),R=(0,c.Bk)(),[j,P]=y(x),N=e=>{let{__scopePopover:t,children:r,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=e,s=R(t),u=n.useRef(null),[p,f]=n.useState(!1),[v,h]=(0,m.i)({prop:o,defaultProp:a??!1,onChange:i,caller:x});return(0,C.jsx)(c.bL,{...s,children:(0,C.jsx)(j,{scope:t,contentId:(0,d.B)(),triggerRef:u,open:v,onOpenChange:h,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:p,onCustomAnchorAdd:n.useCallback(()=>f(!0),[]),onCustomAnchorRemove:n.useCallback(()=>f(!1),[]),modal:l,children:r})})};N.displayName=x;var O="PopoverAnchor";n.forwardRef((e,t)=>{let{__scopePopover:r,...o}=e,a=P(O,r),i=R(r),{onCustomAnchorAdd:l,onCustomAnchorRemove:s}=a;return n.useEffect(()=>(l(),()=>s()),[l,s]),(0,C.jsx)(c.Mz,{...i,...o,ref:t})}).displayName=O;var k="PopoverTrigger",I=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=P(k,r),l=R(r),s=(0,a.s)(t,i.triggerRef),u=(0,C.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":B(i.open),...n,ref:s,onClick:(0,o.mK)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?u:(0,C.jsx)(c.Mz,{asChild:!0,...l,children:u})});I.displayName=k;var A="PopoverPortal",[D,F]=y(A,{forceMount:void 0}),S=e=>{let{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=P(A,t);return(0,C.jsx)(D,{scope:t,forceMount:r,children:(0,C.jsx)(f.C,{present:r||a.open,children:(0,C.jsx)(p.Z,{asChild:!0,container:o,children:n})})})};S.displayName=A;var _="PopoverContent",E=n.forwardRef((e,t)=>
1{let r=F(_,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=P(_,e.__scopePopover);return(0,C.jsx)(f.C,{present:n||a.open,children:a.modal?(0,C.jsx)(z,{...o,ref:t}):(0,C.jsx)(T,{...o,ref:t})})});E.displayName=_;var K=(0,h.TL)("PopoverContent.RemoveScroll"),z=n.forwardRef((e,t)=>{let r=P(_,e.__scopePopover),i=n.useRef(null),l=(0,a.s)(t,i),s=n.useRef(!1);return n.useEffect(()=>{let e=i.current;if(e)return(0,g.Eq)(e)},[]),(0,C.jsx)(b.A,{as:K,allowPinchZoom:!0,children:(0,C.jsx)(G,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),T=n.forwardRef((e,t)=>{let r=P(_,e.__scopePopover),o=n.useRef(!1),a=n.useRef(!1);return(0,C.jsx)(G,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),G=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:v,...h}=e,m=P(_,r),g=R(r);return(0,s.Oh)(),(0,C.jsx)(u.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,C.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:v,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>m.onOpenChange(!1),children:(0,C.jsx)(c.UC,{"data-state":B(m.open),role:"dialog",id:m.contentId,...g,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),M="PopoverClose";function B(e){return e?"open":"closed"}n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,a=P(M,r);return(0,C.jsx)(v.sG.button,{type:"button",...n,ref:t,onClick:(0,o.mK)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=M,n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=R(r);return(0,C.jsx)(c.i3,{...o,...n,ref:t})}).displayName="PopoverArrow";var H=N,L=I,U=S,Z=E},87386:(e,t,r)=>{r.d(t,{Ke:()=>w,R6:()=>x,UC:()=>O,bL:()=>P,l9:()=>N,z3:()=>h});var n=r(49016),o=r(82537),a=r(81381),i=r(99972),l=r(37512),s=r(94057),u=r(25403),d=r
1(44916),c=r(41052),p=r(2100),f="Collapsible",[v,h]=(0,a.A)(f),[m,g]=v(f),b=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:o,defaultOpen:a,disabled:l,onOpenChange:s,...d}=e,[v,h]=(0,i.i)({prop:o,defaultProp:a??!1,onChange:s,caller:f});return(0,p.jsx)(m,{scope:r,disabled:l,contentId:(0,c.B)(),open:v,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),children:(0,p.jsx)(u.sG.div,{"data-state":j(v),"data-disabled":l?"":void 0,...d,ref:t})})});b.displayName=f;var C="CollapsibleTrigger",x=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,a=g(C,r);return(0,p.jsx)(u.sG.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":j(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...n,ref:t,onClick:(0,o.mK)(e.onClick,a.onOpenToggle)})});x.displayName=C;var y="CollapsibleContent",w=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=g(y,e.__scopeCollapsible);return(0,p.jsx)(d.C,{present:r||o.open,children:({present:e})=>(0,p.jsx)(R,{...n,ref:t,present:e})})});w.displayName=y;var R=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:o,children:a,...i}=e,d=g(y,r),[c,f]=n.useState(o),v=n.useRef(null),h=(0,s.s)(t,v),m=n.useRef(0),b=m.current,C=n.useRef(0),x=C.current,w=d.open||c,R=n.useRef(w),P=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.N)(()=>{let e=v.current;if(e){P.current=P.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();m.current=t.height,C.current=t.width,R.current||(e.style.transitionDuration=P.current.transitionDuration,e.style.animationName=P.current.animationName),f(o)}},[d.open,o]),(0,p.jsx)(u.sG.div,{"data-state":j(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...i,ref:h,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:w&&a})});function j(e){return e?"open":"closed"}var P=b,N=x,O=w}}]);

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.