PageSourceSearch

https://app.buzzsumo.com/build/assets/CollapsibleFilter-CdT0TVxd.js

js buzzsumo.com collected 2026-10-01 07:19:43 UTC 2,062 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-BYbx6iT9.js";import{At as t,C as n,G as r,H as i,S as a,T as o,_ as s,at as c,c as l,f as u,g as d,kt as f,ot as p,t as m,u as h,v as g,y as _}from"./vue.esm-bundler-CWyflgh3.js";import{t as v}from"./_plugin-vue_export-helper-BDLDbliA.js";import{t as y}from"./modes-DIJxqa1U.js";import{Di as b,Vr as x,fa as S,ga as C,ha as w}from"./app-9S6z4Irq.js";m();var T=o({components:{CheckIcon:C,ChevronDownIcon:w,ChevronUpIcon:S},inheritAttrs:!1,props:{active:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!0},mode:{type:String,default:y[0],validator(e){return y.includes(e)}},name:{type:String,required:!0},scrollable:{type:Boolean,default:!0},valueLabel:{type:String,default:null}},emits:[`reset`],data(){return{show:!1,toggled:!1}},computed:{open(){return this.show||!this.toggled&&!this.collapsed}},methods:{toggle(){this.toggled=!0,this.show=!this.show}}}),E=e({default:()=>M});m();var D={class:`flex items-center justify-between`},O={class:`text-muted-foreground`},k={class:`shrink-0 self-center`},A={style:{overflow:`hidden`}};function j(e,o,m,v,y,T){let E=C,j=x,M=b,N=S,P=w;return i(),_(u,null,[d(`div`,{class:`collapsible-filter pointer flex items-center justify-between border-b p-4`,onClick:o[1]||=(...t)=>e.toggle&&e.toggle(...t)},[d(`div`,D,[d(`span`,O,t(e.name),1),n(j,{content:e.valueLabel},{default:c(()=>[!e.open&&e.active?(i(),s(E,{key:0,class:`ml-auto`,size:16})):g(``,!0)]),_:1},8,[`content`])]),d(`div`,k,[e.active?(i(),s(M,{key:0,class:`mr-3 px-0 pt-0`,size:`sm`,"text-":``,variant:`tertiary`,onClick:o[0]||=h(t=>e.$emit(`reset`),[`prevent`,`stop`])},{default:c(()=>[...o[2]||=[a(` reset `,-1)]]),_:1})):g(``,!0),e.open?(i(),s(N,{class:`text-muted-foreground`,key:`open`})):(i(),s(P,{class:`text-muted-foreground`,key:`closed`}))])]),p(d(`div`,{id:`collapse-filter-content`,class:`p-4`,style:f({maxHeight:e.scrollable?`180px`:`auto`,overflowY:e.scrollable?`auto`:`visible`})},[d(`div`,A,[r(e.$slots,`default`,{shown:e.open})])],4),[[l,e.open]])],64)}var M=v(T,[[`render`,j]]);export{E as n,M as 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.