PageSourceSearch

https://www.gv.com/_nuxt/BKlxeM83.js

js gv.com collected 2026-09-24 08:29:55 UTC 3,261 bytes, 1 lines download raw bytes

1import{a3 as _,a4 as T,a5 as $,a6 as N}from"./BnowyiiT.js";import{f as j}from"./Bh1tyPu7.js";import{z as d,a2 as g,a5 as h,a3 as f,a9 as m,C as i,aa as I,i as M,j as y,p as H,y as U,a6 as x,a7 as v,X as z,v as E}from"./DGxlnW41.js";const F={tag:{type:String,default:"div"},options:{type:Object,default:()=>({})},progress:{type:Number,default:0}},V={__name:"STimeline",props:F,emits:["updated","created"],setup(n,{emit:o}){const e=n,s=o,{addToTimeline:a}=j({options:d(()=>e.options),progress:d(()=>e.progress),emit:s});return(t,p)=>(g(),h(I(t.tag),{class:"s-timeline"},{default:f(()=>[m(t.$slots,"default",{addToTimeline:i(a)})]),_:3}))}},W=({index:n,forceOpen:o,individual:e,emit:s})=>{const a=M("a_currentIndex",0),t=y(!1),p=d(()=>o.value?!0:e?t.value:_(a?.value)||T(a?.value)?a.value===n:!1),r=(c,l)=>{if(e){t.value=c;return}s("changeActive",c?l:null)};return{toggleActive:c=>{r(!t.value,c)},setActive:r,isOpen:p}},D=["onUpdated","from","to"],G={__name:"SAccordionItem",props:{forceOpen:Boolean,hoverable:Boolean,index:[Number,String],individual:Boolean,hash:String,useHash:Boolean,useClick:{type:Boolean,default:!0},duration:{type:Number,default:.5},ease:{type:String,default:"Power2.easeInOut"},contentFromAnimation:{type:Object,default:()=>({opacity:0,y:0})},contentToAnimation:{type:Object,default:()=>({opacity:1,y:0,delay:.5,duration:.5})}},emits:["changeActive","update:isOpen"],setup(n,{emit:o}){const e=n,s=o,a=d(()=>e.useHash&&useSelectedHash(e.hash).value?!0:e.forceOpen),t=y(null),{height:p}=$(t),{isOpen:r,toggleActive:O,setActive:c}=W({emit:s,forceOpen:a,index:e.index,individual:e.individual});let l;const w=u=>{l=u};H(()=>{setTimeout(()=>l&&l.progress(r.value?1:0))});const C=()=>{e.hoverable&&c(!0,e.index)},S=()=>{e.hoverable&&c(!1,e.index)};return U(r,u=>{l&&(l[u?"play":"reverse"](),s("update:isOpen",u))}),(u,A)=>{const B=N,k=V;return g(),h(k,{onMouseenter:C,onMouseleave:S,onCreated:w,options:{paused:!0},class:v(["synchronized-accordion-item !block",{"is-active":i(r)}])},{default:f(({addToTimeline:b})=>[x("div",{onClick:A[0]||(A[0]=P=>n.useClick&&i(O)(n.index)),class:v([{"cursor-pointer":n.useClick},"contents"])},[m(u.$slots,"title",{isOpen:i(r)})],2),z(B,{from:{height:0},to:{height:i(p),ease:n.ease,duration:n.duration},class:v([{disabled:!i(r)},"content-wrapper overflow-hidden position-relative h-0"]),onUpdated:b},{default:f(()=>[x("div",{onUpdated:b,from:n.contentFromAnimation,to:n.contentToAnimation,class:"t-0 w-full position-absolute content-inner",ref_key:"collapsableContent",ref:t},[m(u.$slots,"content",{isOpen:i(r)})],40,D)]),_:2},1032,["to","class","onUpdated"])]),_:3},8,["class"])}}},L=({startIndex:n=!1,alwaysOneOpen:o=!1})=>{const e=y(n),s=t=>{e.value=t===e.value||typeof t==null?-1:t},a=t=>{o&&(!_(t)||t===e.value)||s(t)};return E("a_currentIndex",d(()=>e.value)),{changeActive:a,currentIndex:e}},J={__name:"SAccordionWrapper",props:{tag:{type:String,default:"div"},alwaysOneOpen:{type:Boolean,default:!1},startIndex:{type:Number}},setup(n){const o=n,{changeActive:e,currentIndex:s}=L({alwaysOneOpen:o.alwaysOneOpen,startIndex:o.startIndex});return(a,t)=>(g(),h(I(n.tag),{class:"s-accordion-wrapper"},{default:f(()=>[m(a.$slots,"default",{currentIndex:i(s),changeActive:i(e)})]),_:3}))}};export{G as _,J as a};

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.