PageSourceSearch

https://vueuse.org/assets/shared_useDebounceFn_index.md.d4VMTB6r.js

js vueuse.org collected 2026-10-03 19:49:13 UTC 200,116 bytes, 127 lines download raw bytes

1import{i as ee,t as e}from"./chunks/vue-repl.Dm8MR0ff.js";import{Bt as t,Hn as n,Ht as r,Lt as i,Nn as a,Pt as o,Rn as s,Rt as c,gn as l,jt as u,sn as d,tn as f,zt as p}from"./chunks/framework.BTUFZKqX.js";import{Qn as m}from"./chunks/theme.BeXzzu1z.js";import{n as h,r as g,t as te}from"./chunks/FunctionInfo.D3oZzO5Q.js";import{t as _}from"./chunks/Note.DWE67XvX.js";var v=r({__name:`demo`,setup(ee){let e=a(0),r=a(0),c=m(()=>{e.value+=1},1e3,{maxWait:5e3});function d(){r.value+=1,c()}return(ee,a)=>{let m=_;return f(),i(u,null,[o(`button`,{onClick:d},` Smash me! `),o(`button`,{onClick:a[0]||=ee=>s(c).cancel()},` Cancel `),o(`button`,{onClick:a[1]||=ee=>s(c).flush()},` Flush `),t(m,null,{default:l(()=>[...a[2]||=[p(`Delay is set to 1000ms and maxWait is set to 5000ms for this demo.`,-1)]]),_:1}),o(`p`,null,`Pending: `+n(s(c).isPending),1),o(`p`,null,`Button clicked: `+n(r.value),1),o(`p`,null,`Event handler called: `+n(e.value),1)],64)}}}),y=`<script setup lang="ts">
2import { useDebounceFn } from '@vueuse/core'
3import { shallowRef } from 'vue'
4
5const updated = shallowRef(0)
6const clicked = shallowRef(0)
7const debouncedFn = useDebounceFn(() => {
8  updated.value += 1
9}, 1000, { maxWait: 5000 })
10
11function clickedFn() {
12  clicked.value += 1
13  debouncedFn()
14}
15<\/script>
16
17<template>
18  <button @click="clickedFn">
19    Smash me!
20  </button>
21  <button @click="debouncedFn.cancel()">
22    Cancel
23  </button>
24  <button @click="debouncedFn.flush()">
25    Flush
26  </button>
27  <note>Delay is set to 1000ms and maxWait is set to 5000ms for this demo.</note>
28
29  <p>Pending: {{ debouncedFn.isPending }}</p>
30  <p>Button clicked: {{ clicked }}</p>
31  <p>Event handler called: {{ updated }}</p>
32</template>
33`,b={class:`demo-source-link`},x=[`href`],S={class:`language-ts`},C={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},w={class:`line`},T={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},E={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},D={class:`line`},O={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},k={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},A={class:`line`},j={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},M={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},N={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},P={class:`language-ts`},F={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},I={class:`line`},L={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},R={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},z={class:`line`},B={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},V={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},H={class:`line`},U={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},W={class:`line`},G={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},K={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},q={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},J={class:`language-ts`},Y={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},X={class:`line`},Z={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Q={class:`line`},ne={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},re={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},ie={class:`line`},ae={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},oe={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},se={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ce={class:`line`},le={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ue={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},de={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},fe={class:`line`},pe={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},me={class:`line`},he={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ge={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},_e={class:`line`},ve={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ye={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},be={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},xe={class:`language-ts`},Se={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},Ce={class:`line`},we={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Te={class:`line`},Ee={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},De={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Oe={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},ke={class:`line`},Ae={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},je={class:`line`},Me={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Ne={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Pe={class:`line`},Fe={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Ie={class:`line`},Le={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Re={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ze={class:`language-ts`},Be={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},Ve={class:`line`},He={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Ue={class:`line`},We={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Ge={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Ke={class:`line`},qe={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Je={class:`line`},Ye={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Xe={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Ze={class:`language-ts`},Qe={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},$e={class:`line`},et={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},tt={class:`line`},nt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},rt={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},it={class:`line`},at={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},ot={class:`line`},st={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ct={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},lt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ut={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},dt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ft={class:`line`},pt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},mt={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},ht={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},gt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},_t={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},vt={class:`language-ts`},yt={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},bt={class:`line`},xt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},St={class:`line`},Ct={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},wt={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Tt={class:`line`},Et={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Dt={class:`line`},Ot={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},kt={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},At={class:`language-ts`},jt={class:`shiki shiki-themes vitesse-light vitesse-dark twoslash lsp`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`,dir:`ltr`},Mt={class:`line`},Nt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Pt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Ft={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},It={class:`line`},Lt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Rt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},zt={class:`line`},Bt={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},$={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Vt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Ht={class:`line`},Ut={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Wt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Gt={class:`line`},Kt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},qt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Jt={class:`line`},Yt={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Xt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},Zt={class:`line`},Qt={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},$t={style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},en=JSON.parse(`{"title":"useDebounceFn","description":"","frontmatter":{"category":"Utilities","related":"useThrottleFn"},"headers":[],"relativePath":"shared/useDebounceFn/index.md","filePath":"shared/useDebounceFn/index.md"}`),tn=Object.assign({name:`shared/useDebounceFn/index.md`},{setup(n){let r=e({template:{value:{welcomeSFC:y}}}).serialize();return(e,n)=>{let a=te,u=ee,m=d(`v-menu`),_=h,y=g;return f(),i(`div`,null,[n[431]||=o(`h1`,{id:`usedebouncefn`,tabindex:`-1`},[p(`useDebounceFn `),o(`a`,{class:`header-anchor`,href:`#usedebouncefn`,"aria-label":`Permalink to “useDebounceFn”`},`​`)],-1),t(a,{fn:`useDebounceFn`}),n[432]||=o(`p`,null,`Debounce execution of a function.`,-1),n[433]||=o(`blockquote`,null,[o(`p`,null,`Debounce is an overloaded waiter: if you keep asking, your requests will be ignored until you stop and give them some time to think about your latest inquiry.`)],-1),n[434]||=o(`h2`,{id:`demo`,tabindex:`-1`},[p(`Demo `),o(`a`,{class:`header-anchor`,href:`#demo`,"aria-label":`Permalink to “Demo”`},`​`)],-1),t(u,null,{default:l(()=>[o(`p`,b,[n[0]||=o(`a`,{href:`https://github.com/vueuse/vueuse/blob/main/packages/shared/useDebounceFn/demo.vue`,target:`_blank`},`source`,-1),o(`a`,{href:`https://playground.vueuse.org/?vueuse=15.0.0${s(r)}`,target:`_blank`},`playground (beta)`,8,x)]),t(v)]),_:1}),n[435]||=o(`h2`,{id:`usage`,tabindex:`-1`},[p(`Usage `),o(`a`,{class:`header-anchor`,href:`#usage`,"aria-label":`Permalink to “Usage”`},`​`)],-1),o(`div`,S,[n[34]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[35]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,C,[o(`code`,null,[o(`span`,w,[n[5]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),n[6]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),n[7]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,T,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
33[...n[1]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[2]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[8]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1),n[9]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,E,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[3]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`}
33,[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useEventListener`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`E`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` keyof`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` WindowEventMap`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`event`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`E`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` listener`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRef`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<(`),o(`span`,{style:{"--shiki-light":`#A65E2B`,"--shiki-dark":`#C99076`}},`this`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`, `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ev`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`WindowEventMap`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`E`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`]) => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`boolean`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` | `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`AddEventListenerOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`+`),o(`span`,{style:{"--shiki-light":`#2F798A`,"--shiki-dark":`#4C9A91`}},`6`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` overloads`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Register using addEventListener on mounted, and removeEventListener automatically on unmounted.`),p(`
34`),o(`p`,null,`Overload 1: Omitted Window target`)]),o(`div`,{class:`twoslash-p
34opup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useEventListener`},`https://vueuse.org/useEventListener`)])])])],-1)]]),default:l(()=>[n[4]||=o(`span`,null,`useEventListener`,-1)]),_:1})]),n[10]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),n[30]||=p(`
35`,-1),n[31]||=o(`span`,{class:`line`},null,-1),n[32]||=p(`
36`,-1),o(`span`,D,[n[15]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `,-1),o(`span`,O,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[11]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[12]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[16]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[17]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,k,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[13]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
36`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[14]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[18]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(()`,-1),n[19]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[20]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[33]||=c(`
37<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">  // do something</span></span>
38<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">},</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;"> 1000</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">)</span></span>
39<span class="line"></span>
40`,7),o(`span`,A,[o(`span`,j,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[21]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useEventListener`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`resize`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`target`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` event`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`resize`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`>>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` listener`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`MaybeRef`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<(`),o(`span`,{style:{"--shiki-light":`#A65E2B`,"--shiki-dark":`#C99076`}},`this`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ev`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UIEvent`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` any`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`>>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` AddEventListenerOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`Fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`+`),o(`span`,{style:{"--shiki-light":`#2F798A`,"--shiki-dark":`#4C9A91`}},`6`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` overloads`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}}
40,`)`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Register using addEventListener on mounted, and removeEventListener automatically on unmounted.`),p(`
41`),o(`p`,null,`Overload 2: Explicitly Window target`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useEventListener`},`https://vueuse.org/useEventListener`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`target`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`event`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`listener`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`)])])])],-1)]]),default:l(()=>[n[22]||=o(`span`,null,`useEventListener`,-1)]),_:1})]),n[27]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),o(`span`,M,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[23]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`var `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` & `),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`typeof`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` globalThis`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,[p(`The `),o(`strong`,null,[o(`code`,null,`window`)]),p(` property of a Window object points to the window object itself.`)]),p(`
42`),o(`p`,null,[o(`a`,{href:`https://developer.mozilla.org/docs/Web/API/Window/window`},`MDN Reference`)])])],-1)]]),default:l(()=>[n[24]||=o(`span`,null,`window`,-1)]),_:1})]),n[28]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">resize</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;"> </span>`,6),o(`span`,N,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[25]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[26]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[29]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1)])])])]),n[436]||=o(`p`,null,[p(`You can also pass a 3rd parameter to this, with a maximum wait time, similar to `),o(`a`,{href:`https://lodash.com/docs/4.17.15#debounce`,target:`_blank`,rel:`noreferrer`},`lodash debounce`)],-1),o(`div`,P,[n[81]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[82]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,F,[o(`code`,null,[o(`span`,I,[n[40]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),n[41]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),n[42]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,L,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
42[...n[36]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[37]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[43]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1),n[44]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,R,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[38]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`}
42,[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useEventListener`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`E`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` keyof`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` WindowEventMap`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`event`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`E`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` listener`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRef`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<(`),o(`span`,{style:{"--shiki-light":`#A65E2B`,"--shiki-dark":`#C99076`}},`this`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`, `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ev`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`WindowEventMap`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`E`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`]) => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`boolean`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` | `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`AddEventListenerOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`+`),o(`span`,{style:{"--shiki-light":`#2F798A`,"--shiki-dark":`#4C9A91`}},`6`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` overloads`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Register using addEventListener on mounted, and removeEventListener automatically on unmounted.`),p(`
43`),o(`p`,null,`Overload 1: Omitted Window target`)]),o(`div`,{class:`twoslash-p
43opup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useEventListener`},`https://vueuse.org/useEventListener`)])])])],-1)]]),default:l(()=>[n[39]||=o(`span`,null,`useEventListener`,-1)]),_:1})]),n[45]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),n[74]||=c(`
44<span class="line"></span>
45<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// If no invokation after 5000ms due to repeated input,</span></span>
46<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// the function will be called anyway.</span></span>
47`,7),o(`span`,z,[n[50]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `,-1),o(`span`,B,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[46]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[47]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[51]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[52]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,V,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[48]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
47`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[49]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[53]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(()`,-1),n[54]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[55]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[75]||=p(`
48`,-1),n[76]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`  // do something`)],-1),n[77]||=p(`
49`,-1),o(`span`,H,[n[58]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`},`,-1),n[59]||=o(`span`,{style:{"--shiki-light":`#2F798A`,"--shiki-dark":`#4C9A91`}},` 1000`,-1),n[60]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1),n[61]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` { `,-1),o(`span`,U,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[56]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`maxWait`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`The maximum time allowed to be delayed before it's invoked.
50In milliseconds.`)])],-1)]]),default:l(()=>[n[57]||=o(`span`,null,`maxWait`,-1)]),_:1})]),n[62]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),n[63]||=o(`span`,{style:{"--shiki-light":`#2F798A`,"--shiki-dark":`#4C9A91`}},`5000`,-1),n[64]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`,-1)]),n[78]||=p(`
51`,-1),n[79]||=o(`span`,{class:`line`},null,-1),n[80]||=p(`
52`,-1),o(`span`,W,[o(`span`,G,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[65]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`}
52,[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useEventListener`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`resize`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`target`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` event`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`resize`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`>>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` listener`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`MaybeRef`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Arrayable`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<(`),o(`span`,{style:{"--shiki-light":`#A65E2B`,"--shiki-dark":`#C99076`}},`this`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ev`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UIEvent`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` any`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`>>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` AddEventListenerOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`Fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`+`),o(`span`,{style:{"--shiki-light":`#2F798A`,"--shiki-dark":`#4C9A91`}},`6`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` overloads`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}}
52,`)`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Register using addEventListener on mounted, and removeEventListener automatically on unmounted.`),p(`
53`),o(`p`,null,`Overload 2: Explicitly Window target`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useEventListener`},`https://vueuse.org/useEventListener`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`target`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`event`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`listener`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`)])])])],-1)]]),default:l(()=>[n[66]||=o(`span`,null,`useEventListener`,-1)]),_:1})]),n[71]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),o(`span`,K,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[67]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`var `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Window`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` & `),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`typeof`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` globalThis`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,[p(`The `),o(`strong`,null,[o(`code`,null,`window`)]),p(` property of a Window object points to the window object itself.`)]),p(`
54`),o(`p`,null,[o(`a`,{href:`https://developer.mozilla.org/docs/Web/API/Window/window`},`MDN Reference`)])])],-1)]]),default:l(()=>[n[68]||=o(`span`,null,`window`,-1)]),_:1})]),n[72]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">resize</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;"> </span>`,6),o(`span`,q,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[69]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[70]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[73]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1)])])])]),n[437]||=o(`p`,null,`Optionally, you can get the return value of the function using promise operations.`,-1),o(`div`,J,[n[158]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[159]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,Y,[o(`code`,null,[o(`span`,X,[n[85]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),n[86]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),n[87]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,Z,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
54[...n[83]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[84]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[88]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),n[146]||=p(`
55`,-1),n[147]||=o(`span`,{class:`line`},null,-1),n[148]||=p(`
56`,-1),o(`span`,Q,[n[93]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `,-1),o(`span`,ne,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
56[...n[89]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[90]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[94]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[95]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,re,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[91]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`}
56,`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[92]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[96]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">(()</span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> =&gt;</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">response</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;"> 1000</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">)</span>`,8)]),n[149]||=p(`
57`,-1),n[150]||=o(`span`,{class:`line`},null,-1),n[151]||=p(`
58`,-1),o(`span`,ie,[o(`span`,ae,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[97]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: () => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Promisify`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[98]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[103]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`().`,-1),o(`span`,oe,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[99]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},`Promise`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>.`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`then`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` never`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`onfulfilled`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ((`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` PromiseLike`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>)`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` null`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` onrejected`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ((`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`reason`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` PromiseLike`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`never`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>)`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` null`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},`Promise`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
58`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Attaches callbacks for the resolution and/or rejection of the Promise.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`onfulfilled`),p(`  The callback to execute when the Promise is resolved.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`onrejected`),p(`  The callback to execute when the Promise is rejected.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@returns`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A Promise for the completion of which ever callback is executed.`)])])],-1)]]),default:l(()=>[n[100]||=o(`span`,null,`then`,-1)]),_:1})]),n[104]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`((`,-1),o(`span`,se,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[101]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:l(()=>[n[102]||=o(`span`,null,`value`,-1)]),_:1})]),n[105]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1),n[106]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[107]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[152]||=p(`
59`,-1),o(`span`,ce,[n[114]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`  `,-1),o(`span`,le,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[108]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`var `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Console`)])],-1)]]),default:l(()=>[n[109]||=o(`span`,null,`console`,-1)]),_:1})]),n[115]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,ue,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[110]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`log`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(...`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`data`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[])`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,[p(`The `),o(`strong`,null,[o(`code`,null,`console.log()`)]),p(` static method outputs a message to the console.`)]),p(`
60`),o(`p`,null,[o(`a`,{href:`https://developer.mozilla.org/docs/Web/API/console/log_static`},`MDN Reference`)])])],-1)]]),default:l(()=>[n[111]||=o(`span`,null,`log`,-1)]),_:1})]),n[116]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),o(`span`,de,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
60[...n[112]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:l(()=>[n[113]||=o(`span`,null,`value`,-1)]),_:1})]),n[117]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1),n[118]||=o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // 'response'`,-1)]),n[153]||=c(`
61<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">})</span></span>
62<span class="line"></span>
63<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// or use async/await</span></span>
64`,7),o(`span`,fe,[n[121]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`async`,-1),n[122]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` function`,-1),n[123]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,pe,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[119]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` doRequest`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`():`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Promise`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[120]||=o(`span`,null,`doRequest`,-1)]),_:1})]),n[124]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1),n[125]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[154]||=p(`
65`,-1),o(`span`,me,[n[130]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`  const `,-1),o(`span`,he,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[126]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`)])],-1)]]),default:l(()=>[n[127]||=o(`span`,null,`value`,-1)]),_:1})]),n[131]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[132]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` await`,-1),n[133]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,ge,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[128]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: () => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Promisify`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[129]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[134]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1)]),n[155]||=p(`
66`,-1),o(`span`,_e,[n[141]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`  `,-1),o(`span`,ve,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
66[...n[135]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`var `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Console`)])],-1)]]),default:l(()=>[n[136]||=o(`span`,null,`console`,-1)]),_:1})]),n[142]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,ye,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[137]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`log`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(...`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`data`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[])`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,[p(`The `),o(`strong`,null,[o(`code`,null,`console.log()`)]),p(` static method outputs a message to the console.`)]),p(`
67`),o(`p`,null,[o(`a`,{href:`https://developer.mozilla.org/docs/Web/API/console/log_static`},`MDN Reference`)])])],-1)]]),default:l(()=>[n[138]||=o(`span`,null,`log`,-1)]),_:1})]),n[143]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),o(`span`,be,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[139]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`)])],-1)]]),default:l(()=>[n[140]||=o(`span`,null,`value`,-1)]),_:1})]),n[144]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1),n[145]||=o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // 'response'`,-1)]),n[156]||=p(`
68`,-1),n[157]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`}`)],-1)])])]),n[438]||=o(`p`,null,[p(`Since unhandled rejection error is quite annoying when developer doesn't need the return value, the promise will `),o(`strong`,null,`NOT`),p(` be rejected if the function is canceled `),o(`strong`,null,`by default`),p(`. You need to specify the option `),o(`code`,null,`rejectOnCancel: true`),p(` to capture the rejection.`)],-1),o(`div`,xe,[n[218]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[219]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,Se,[o(`code`,null,[o(`span`,Ce,[n[162]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),n[163]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),n[164]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,we,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[160]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
68`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[161]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[165]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),n[205]||=p(`
69`,-1),n[206]||=o(`span`,{class:`line`},null,-1),n[207]||=p(`
70`,-1),o(`span`,Te,[n[172]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `,-1),o(`span`,Ee,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[166]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>
70[n[167]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[173]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[174]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,De,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[168]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[169]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[175]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">(()</span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> =&gt;</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">response</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;"> 1000</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> { </span>`,9),o(`span`,Oe,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
70[...n[170]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`rejectOnCancel`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Whether to reject the last call if it's been cancel.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@default`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`false`)])])],-1)]]),default:l(()=>[n[171]||=o(`span`,null,`rejectOnCancel`,-1)]),_:1})]),n[176]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),n[177]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`true`,-1),n[178]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`,-1)]),n[208]||=p(`
71`,-1),n[209]||=o(`span`,{class:`line`},null,-1),n[210]||=p(`
72`,-1),o(`span`,ke,[o(`span`,Ae,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[179]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: () => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Promisify`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[180]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[181]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1)]),n[211]||=p(`
73`,-1),o(`span`,je,[n[186]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`  .`,-1),o(`span`,Me,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[182]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},`Promise`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>.`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`then`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` never`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`onfulfilled`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ((`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` PromiseLike`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>)`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` null`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` onrejected`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ((`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`reason`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` PromiseLike`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`never`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>)`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` null`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},`Promise`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
73`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Attaches callbacks for the resolution and/or rejection of the Promise.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`onfulfilled`),p(`  The callback to execute when the Promise is resolved.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`onrejected`),p(`  The callback to execute when the Promise is rejected.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@returns`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A Promise for the completion of which ever callback is executed.`)])])],-1)]]),default:l(()=>[n[183]||=o(`span`,null,`then`,-1)]),_:1})]),n[187]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`((`,-1),o(`span`,Ne,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[184]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:l(()=>[n[185]||=o(`span`,null,`value`,-1)]),_:1})]),n[188]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1),n[189]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[190]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[212]||=p(`
74`,-1),n[213]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`    // do something`)],-1),n[214]||=p(`
75`,-1),n[215]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`  })`)],-1),n[216]||=p(`
76`,-1),o(`span`,Pe,[n[193]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`  .`,-1),o(`span`,Fe,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[191]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},`Promise`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>.`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`catch`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`onrejected`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ((`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`reason`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` PromiseLike`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>)`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` null`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},`Promise`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
76`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Attaches a callback for only the rejection of the Promise.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`onrejected`),p(`  The callback to execute when the Promise is rejected.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@returns`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A Promise for the completion of the callback.`)])])],-1)]]),default:l(()=>[n[192]||=o(`span`,null,`catch`,-1)]),_:1})]),n[194]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(()`,-1),n[195]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[196]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[217]||=c(`
77<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">    // do something when canceled</span></span>
78<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">  })</span></span>
79<span class="line"></span>
80<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// calling it again will cancel the previous request and gets rejected</span></span>
81`,9),o(`span`,Ie,[o(`span`,Le,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[197]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` setTimeout`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`handler`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`TimerHandler`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` timeout`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ...`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`arguments`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[]):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` number`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,[o(`a`,{href:`https://developer.mozilla.org/docs/Web/API/Window/setTimeout`},`MDN Reference`)])])],-1)]]),default:l(()=>[n[198]||=o(`span`,null,`setTimeout`,-1)]),_:1})]),n[201]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),o(`span`,Re,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[199]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[200]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[202]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1),n[203]||=o(`span`,{style:{"--shiki-light":`#2F798A`,"--shiki-dark":`#4C9A91`}},` 500`,-1),n[204]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1)])])])]),n[439]||=o(`h2`,{id:`cancel`,tabindex:`-1`},[p(`Cancel `),o(`a`,{class:`header-anchor`,href:`#cancel`,"aria-label":`Permalink to “Cancel”`}
81,`​`)],-1),n[440]||=o(`p`,null,[p(`You can cancel any pending execution by calling the `),o(`code`,null,`cancel`),p(` method.`)],-1),o(`div`,ze,[n[254]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[255]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,Be,[o(`code`,null,[o(`span`,Ve,[n[222]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),n[223]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),n[224]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,He,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[220]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-p
81opup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[221]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[225]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),n[245]||=p(`
82`,-1),n[246]||=o(`span`,{class:`line`},null,-1),n[247]||=p(`
83`,-1),o(`span`,Ue,[n[230]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `,-1),o(`span`,We,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[226]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[227]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[231]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[232]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,Ge,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[228]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
83`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[229]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[233]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(()`,-1),n[234]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[235]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[248]||=c(`
84<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">  // do something</span></span>
85<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">},</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;"> 1000</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">)</span></span>
86<span class="line"></span>
87`,7),o(`span`,Ke,[o(`span`,qe,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[236]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: () => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Promisify`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[237]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[238]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1)]),n[249]||=p(`
88`,-1),n[250]||=o(`span`,{class:`line`},null,-1),n[251]||=p(`
89`,-1),n[252]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// Cancel the pending execution before it runs`)],-1),n[253]||=p(`
90`,-1),o(`span`,Je,[o(`span`,Ye,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[239]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[240]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[243]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,Xe,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
90[...n[241]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`cancel`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`)])],-1)]]),default:l(()=>[n[242]||=o(`span`,null,`cancel`,-1)]),_:1})]),n[244]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1)])])])]),n[441]||=o(`p`,null,`This is useful when you need to prevent the debounced function from executing, for example, when a component is unmounted or when user input changes context.`,-1),n[442]||=o(`h2`,{id:`pending-state`,tabindex:`-1`},[p(`Pending State `),o(`a`,{class:`header-anchor`,href:`#pending-state`,"aria-label":`Permalink to “Pending State”`},`​`)],-1),n[443]||=o(`p`,null,[p(`You can check if there's a pending execution using the `),o(`code`,null,`isPending`),p(` ref.`)],-1),o(`div`,Ze,[n[317]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[318]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,Qe,[o(`code`,null,[o(`span`,$e,[n[258]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),n[259]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),n[260]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,et,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[256]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-p
90opup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[257]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[261]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),n[307]||=p(`
91`,-1),n[308]||=o(`span`,{class:`line`},null,-1),n[309]||=p(`
92`,-1),o(`span`,tt,[n[266]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `,-1),o(`span`,nt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[262]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[263]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[267]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[268]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,rt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[264]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>
92`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[265]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[269]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(()`,-1),n[270]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[271]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[310]||=c(`
93<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">  // do something</span></span>
94<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">},</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;"> 1000</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">)</span></span>
95<span class="line"></span>
96`,7),o(`span`,it,[o(`span`,at,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[272]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: () => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Promisify`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[273]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[274]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1)]),n[311]||=p(`
97`,-1),o(`span`,ot,[o(`span`,st,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[275]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`var `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Console`)])],-1)]]),default:l(()=>[n[276]||=o(`span`,null,`console`,-1)]),_:1})]),n[285]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,ct,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[277]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`log`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(...`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`data`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[])`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}}
97,`void`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,[p(`The `),o(`strong`,null,[o(`code`,null,`console.log()`)]),p(` static method outputs a message to the console.`)]),p(`
98`),o(`p`,null,[o(`a`,{href:`https://developer.mozilla.org/docs/Web/API/console/log_static`},`MDN Reference`)])])],-1)]]),default:l(()=>[n[278]||=o(`span`,null,`log`,-1)]),_:1})]),n[286]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),o(`span`,lt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[279]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[280]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[287]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,ut,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[281]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`isPending`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Readonly`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Ref`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`boolean`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`>>`)])],-1)]]),default:l(()=>[n[282]||=o(`span`,null,`isPending`,-1)]),_:1})]),n[288]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,dt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[283]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`)])],-1)]]),default:l(()=>[n[284]||=o(`span`,null,`value`,-1)]),_:1})]),n[289]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1),n[290]||=o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // true`,-1)]),n[312]||=p(`
99`,-1),n[313]||=o(`span`,{class:`line`},null,-1),n[314]||=p(`
100`,-1),n[315]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// After debounce time elapses or cancel is called`)],-1),n[316]||=p(`
101`,-1),o(`span`,ft,[o(`span`,pt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[291]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`var `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Console`)])],-1)]]),default:l(()=>[n[292]||=o(`span`,null,`console`,-1)]),_:1})]),n[301]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,mt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
101[...n[293]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Console`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`log`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(...`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`data`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[])`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`void`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,[p(`The `),o(`strong`,null,[o(`code`,null,`console.log()`)]),p(` static method outputs a message to the console.`)]),p(`
102`),o(`p`,null,[o(`a`,{href:`https://developer.mozilla.org/docs/Web/API/console/log_static`},`MDN Reference`)])])],-1)]]),default:l(()=>[n[294]||=o(`span`,null,`log`,-1)]),_:1})]),n[302]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),o(`span`,ht,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[295]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[296]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[303]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,gt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[297]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`isPending`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Readonly`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`Ref`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`boolean`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`>>`)])],-1)]]),default:l(()=>[n[298]||=o(`span`,null,`isPending`,-1)]),_:1})]),n[304]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,_t,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[299]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`value`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`)])],-1)]]),default:l(()=>[n[300]||=o(`span`,null,`value`,-1)]),_:1})]),n[305]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`,-1),n[306]||=o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // false`,-1)])])])]),n[444]||=o(`p`,null,`This is useful for showing loading indicators or disabling UI elements while waiting for the debounced function to execute.`,-1),n[445]||=o(`h2`,{id:`flush`,tabindex:`-1`},[p(`Flush `),o(`a`,{class:`header-anchor`,href:`#flush`,"aria-label":`Permalink to “Flush”`},`​`)],-1),n[446]||=o(`p`,null,[p(`You can immediately execute the pending invocation using the `),o(`code`,null,`flush`),p(` method.`)],-1),o(`div`,vt,[n[353]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[354]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,yt,[o(`code`,null,[o(`span`,bt,[n[321]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),n[322]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),n[323]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,xt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
102[...n[319]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[320]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[324]||=c(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),n[344]||=p(`
103`,-1),n[345]||=o(`span`,{class:`line`},null,-1),n[346]||=p(`
104`,-1),o(`span`,St,[n[329]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `,-1),o(`span`,Ct,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
104[...n[325]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[326]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[330]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),n[331]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,wt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[327]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`}
104,`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[328]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[332]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(()`,-1),n[333]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`,-1),n[334]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1)]),n[347]||=c(`
105<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">  // do something</span></span>
106<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">},</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;"> 1000</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">)</span></span>
107<span class="line"></span>
108`,7),o(`span`,Tt,[o(`span`,Et,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[335]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: () => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Promisify`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[336]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[337]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1)]),n[348]||=p(`
109`,-1),n[349]||=o(`span`,{class:`line`},null,-1),n[350]||=p(`
110`,-1),n[351]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// Execute the pending invocation immediately instead of waiting`)],-1),n[352]||=p(`
111`,-1),o(`span`,Dt,[o(`span`,Ot,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[338]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`debouncedFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<() => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`void`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[339]||=o(`span`,null,`debouncedFn`,-1)]),_:1})]),n[342]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),o(`span`,kt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[340]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`flush`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` ()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` void`)])],-1)]]),default:l(()=>[n[341]||=o(`span`,null,`flush`,-1)]),_:1})]),n[343]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`()`,-1)])])])]),n[447]||=c(`<p>This is useful when you need to ensure the debounced function runs right away, for example, before navigating away from a page or submitting a form.</p><h2 id="recommended-reading" tabindex="-1">
111Recommended Reading <a class="header-anchor" href="#recommended-reading" aria-label="Permalink to “Recommended Reading”">​</a></h2><ul><li><a href="https://kettanaito.com/blog/debounce-vs-throttle" target="_blank" rel="noreferrer"><strong>Debounce vs Throttle</strong>: Definitive Visual Guide</a></li></ul><h2 id="type-declarations" tabindex="-1">Type Declarations <a class="header-anchor" href="#type-declarations" aria-label="Permalink to “Type Declarations”">​</a></h2>`,4),o(`div`,At,[n[429]||=o(`button`,{title:`Copy code`,"data-copied":`Copied`,class:`copy`},null,-1),n[430]||=o(`span`,{class:`lang`},`ts`,-1),o(`pre`,jt,[o(`code`,null,[o(`span`,Mt,[n[361]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),n[362]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` type`,-1),n[363]||=o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` `,-1),o(`span`,Nt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[355]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`type`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` CancelablePromisifyFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[356]||=o(`span`,null,`UseDebounceFnReturn`,-1)]),_:1})]),n[364]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`,-1),o(`span`,Pt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[357]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` parameter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` T`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` in`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` type`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[358]||=o(`span`,null,`T`,-1)]),_:1})]),n[365]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`,-1),n[366]||=o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` `,-1),o(`span`,Ft,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
111[...n[359]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`type`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` /*unresolved*/`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` any`)])],-1)]]),default:l(()=>[n[360]||=o(`span`,null,`FunctionArgs`,-1)]),_:1})]),n[367]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`,-1),n[368]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1)]),n[423]||=p(`
112`,-1),o(`span`,It,[n[373]||=o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`  `,-1),o(`span`,Lt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[369]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`type`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` CancelablePromisifyFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` /*unresolved*/`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` any`)])],-1)]]),default:l(()=>[n[370]||=o(`span`,null,`CancelablePromisifyFn`,-1)]),_:1})]),n[374]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`,-1),o(`span`,Rt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[371]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` parameter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` T`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` in`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` type`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[372]||=o(`span`,null,`T`,-1)]),_:1})]),n[375]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`,-1)]),n[424]||=c(`
113<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">/**</span></span>
114<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> * Debounce execution of a function.</span></span>
115<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> *</span></span>
116<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> * </span><span style="--shiki-light:#999999;--shiki-dark:#666666;">@</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;">see</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;"> https://vueuse.org/useDebounceFn</span></span>
117<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> * </span><span style="--shiki-light:#999999;--shiki-dark:#666666;">@</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;">param</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;">  fn</span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">          A function to be executed after delay milliseconds debounced.</span></span>
118<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> * </span><span style="--shiki-light:#999999;--shiki-dark:#666666;">@</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;">param</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;">  ms</span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">          A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.</span></span>
119<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> * </span><span style="--shiki-light:#999999;--shiki-dark:#666666;">@</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;">param</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;">  options</span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">     Options</span></span>
120<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> *</span></span>
121<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> * </span><span style="--shiki-light:#999999;--shiki-dark:#666666;">@</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;">return</span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> A new, debounced, function with isPending, cancel, and flush properties.</span></span>
122<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> */</span></span>
123`,21),o(`span`,zt,[n[382]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),n[383]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` declare`,-1),n[384]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` function`,-1),n[385]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,Bt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
123[...n[376]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Debounce execution of a function.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@see`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`a`,{href:`https://vueuse.org/useDebounceFn`},`https://vueuse.org/useDebounceFn`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@return`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`A new, debounced, function with isPending, cancel, and flush properties.`)])])],-1)]]),default:l(()=>[n[377]||=o(`span`,null,`useDebounceFn`,-1)]),_:1})]),n[386]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`,-1),o(`span`,$,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[378]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` parameter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` T`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` in`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[379]||=o(`span`,null,`T`,-1)]),_:1})]),n[387]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`,-1),n[388]||=o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` `,-1),o(`span`,Vt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
123[...n[380]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`type`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` /*unresolved*/`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` any`)])],-1)]]),default:l(()=>[n[381]||=o(`span`,null,`FunctionArgs`,-1)]),_:1})]),n[389]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`,-1)]),n[425]||=p(`
124`,-1),o(`span`,Ht,[n[394]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`  `,-1),o(`span`,Ut,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[390]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` T`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` extends`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` FunctionArgs`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`A function to be executed after delay milliseconds debounced.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`fn`),p(`  A function to be executed after delay milliseconds debounced.`)])])])],-1)]]),default:l(()=>[n[391]||=o(`span`,null,`fn`,-1)]),_:1})]),n[395]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),o(`span`,Wt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[392]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` parameter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` T`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` in`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[393]||=o(`span`,null,`T`,-1)]),_:1})]),n[396]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1)]),n[426]||=p(`
125`,-1),o(`span`,Gt,[n[401]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`  `,-1),o(`span`,Kt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
125[...n[397]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`ms`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`ms`),p(`  A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.`)])])])],-1)]]),default:l(()=>[n[398]||=o(`span`,null,`ms`,-1)]),_:1})]),n[402]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`,-1),n[403]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),o(`span`,qt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[399]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`type`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` any`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` MaybeRef`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` |`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ComputedRef`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` |`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (()`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =>`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`)])],-1)]]),default:l(()=>[n[400]||=o(`span`,null,`MaybeRefOrGetter`,-1)]),_:1})]),n[404]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`,-1),n[405]||=o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`,-1),n[406]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`,-1)]),n[427]||=p(`
126`,-1),o(`span`,Jt,[n[411]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`  `,-1),o(`span`,Yt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>
126[...n[407]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`options`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` any`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`},[o(`p`,null,`Options`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),p(`  Options`)])])])],-1)]]),default:l(()=>[n[408]||=o(`span`,null,`options`,-1)]),_:1})]),n[412]||=o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`,-1),n[413]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),o(`span`,Xt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[409]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`type`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` /*unresolved*/`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` any`)])],-1)]]),default:l(()=>[n[410]||=o(`span`,null,`DebounceFilterOptions`,-1)]),_:1})]),n[414]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1)]),n[428]||=p(`
127`,-1),o(`span`,Zt,[n[419]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`,-1),n[420]||=o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` `,-1),o(`span`,Qt,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[415]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`type`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` CancelablePromisifyFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[416]||=o(`span`,null,`UseDebounceFnReturn`,-1)]),_:1})]),n[421]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`,-1),o(`span`,$t,[t(m,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore`,theme:`twoslash`},{popper:l(({})=>[...n[417]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` parameter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` T`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` in`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` useDebounceFn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` extends`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` FunctionArgs`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`fn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ms`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`MaybeRefOrGetter`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`number`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>,`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`DebounceFilterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UseDebounceFnReturn`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`T`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`)])],-1)]]),default:l(()=>[n[418]||=o(`span`,null,`T`,-1)]),_:1})]),n[422]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`,-1)])])])]),n[448]||=c(`<h2 id="source" tabindex="-1">Source <a class="header-anchor" href="#source" aria-label="Permalink to “Source”">​</a></h2><p><a href="https://github.com/vueuse/vueuse/blob/main/packages/shared/useDebounceFn/index.ts" target="_blank" rel="noreferrer">Source</a> • <a href="https://github.com/vueuse/vueuse/blob/main/packages/shared/useDebounceFn/demo.vue" target="_blank" rel="noreferrer">Demo</a> • <a href="https://github.com/vueuse/vueuse/blob/main/packages/shared/useDebounceFn/index.md" target="_blank" rel="noreferrer">Docs</a></p><h2 id="contributors" tabindex="-1">Contributors <a class="header-anchor" href="#contributors" aria-label="Permalink to “Contributors”">​</a></h2>`,3),t(_,{fn:`useDebounceFn`}),n[449]||=o(`h2`,{id:`changelog`,tabindex:`-1`},[p(`Changelog `),o(`a`,{class:`header-anchor`,href:`#changelog`,"aria-label":`Permalink to “Changelog”`},`​`)],-1),t(y,{fn:`useDebounceFn`})])}}});
127export{en as __pageData,tn as default};

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.