[{"data":1,"prerenderedAt":2147},["ShallowReactive",2],{"navigation_docs":3,"i-nanime:logo":174,"-guides-performance":181,"-guides-performance-surround":2142},[4,20,90,115,150,164],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-ph-info",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-ph-download-simple",{"title":21,"icon":6,"path":22,"stem":23,"children":24,"page":6},"Composables","\u002Fcomposables","2.composables",[25,29,34,39,45,50,55,60,65,70,75,80,85],{"title":11,"path":26,"stem":27,"icon":28},"\u002Fcomposables\u002Fintroduction","2.composables\u002F0.introduction","i-ph-stack",{"title":30,"path":31,"stem":32,"icon":33},"useAnimate","\u002Fcomposables\u002Fuse-animate","2.composables\u002F1.use-animate","i-ph-play-circle",{"title":35,"path":36,"stem":37,"icon":38},"Composable lifecycle","\u002Fcomposables\u002Fcomposable-lifecycle","2.composables\u002F10.composable-lifecycle","i-ph-arrows-clockwise",{"title":40,"path":41,"stem":42,"icon":43,"badge":44},"useWaapiTimeline","\u002Fcomposables\u002Fuse-waapi-timeline","2.composables\u002F11.use-waapi-timeline","i-ph-flask","Experimental",{"title":46,"path":47,"stem":48,"icon":49},"useWaapiAnimate","\u002Fcomposables\u002Fuse-waapi-animate","2.composables\u002F2.use-waapi-animate","i-ph-lightning",{"title":51,"path":52,"stem":53,"icon":54},"useAnimatable","\u002Fcomposables\u002Fuse-animatable","2.composables\u002F3.use-animatable","i-ph-cube",{"title":56,"path":57,"stem":58,"icon":59},"useAnimeTimeline","\u002Fcomposables\u002Fuse-anime-timeline","2.composables\u002F4.use-anime-timeline","i-ph-list-numbers",{"title":61,"path":62,"stem":63,"icon":64},"useSplitText","\u002Fcomposables\u002Fuse-split-text","2.composables\u002F5.use-split-text","i-ph-text-t",{"title":66,"path":67,"stem":68,"icon":69},"useScrambleText","\u002Fcomposables\u002Fuse-scramble-text","2.composables\u002F6.use-scramble-text","i-ph-shuffle",{"title":71,"path":72,"stem":73,"icon":74},"useDraggable","\u002Fcomposables\u002Fuse-draggable","2.composables\u002F7.use-draggable","i-ph-hand-grabbing",{"title":76,"path":77,"stem":78,"icon":79},"useAnimeScroll","\u002Fcomposables\u002Fuse-anime-scroll","2.composables\u002F8.use-anime-scroll","i-ph-mouse-scroll",{"title":81,"path":82,"stem":83,"icon":84},"useAnimeLayout","\u002Fcomposables\u002Fuse-anime-layout","2.composables\u002F9.use-anime-layout","i-ph-layout",{"title":86,"path":87,"stem":88,"icon":89},"Utilities","\u002Fcomposables\u002Futilities","2.composables\u002F99.utilities","i-ph-puzzle-piece",{"title":91,"icon":6,"path":92,"stem":93,"children":94,"page":6},"Components","\u002Fcomponents","3.components",[95,100,105,110],{"title":96,"path":97,"stem":98,"icon":99},"Transition","\u002Fcomponents\u002Ftransition","3.components\u002F1.transition","i-ph-arrows-left-right",{"title":101,"path":102,"stem":103,"icon":104},"TransitionGroup","\u002Fcomponents\u002Ftransition-group","3.components\u002F2.transition-group","i-ph-list-dashes",{"title":106,"path":107,"stem":108,"icon":109},"Built-in styles","\u002Fcomponents\u002Ftransition-styles","3.components\u002F3.transition-styles","i-ph-palette",{"title":111,"path":112,"stem":113,"icon":114},"LayoutGroup","\u002Fcomponents\u002Flayout-group","3.components\u002F4.layout-group","i-ph-frame-corners",{"title":116,"icon":6,"path":117,"stem":118,"children":119,"page":6},"Guides","\u002Fguides","4.guides",[120,125,130,135,140,145],{"title":121,"path":122,"stem":123,"icon":124},"Configuration","\u002Fguides\u002Fconfiguration","4.guides\u002F1.configuration","i-ph-sliders-horizontal",{"title":126,"path":127,"stem":128,"icon":28,"badge":129},"Defaults","\u002Fguides\u002Fdefaults","4.guides\u002F2.defaults","New",{"title":131,"path":132,"stem":133,"icon":134,"badge":129},"Presets","\u002Fguides\u002Fpresets","4.guides\u002F3.presets","i-ph-magic-wand",{"title":136,"path":137,"stem":138,"icon":139},"Performance","\u002Fguides\u002Fperformance","4.guides\u002F4.performance","i-ph-gauge",{"title":141,"path":142,"stem":143,"icon":144},"Accessibility","\u002Fguides\u002Faccessibility","4.guides\u002F5.accessibility","i-ph-person-simple-circle",{"title":146,"path":147,"stem":148,"icon":149,"badge":129},"Vue without Nuxt","\u002Fguides\u002Fvue","4.guides\u002F6.vue","i-ph-browser",{"title":151,"icon":6,"path":152,"stem":153,"children":154,"page":6},"Comparisons","\u002Fcomparisons","5.comparisons",[155,160],{"title":156,"path":157,"stem":158,"icon":159},"Compared with Nuxt modules","\u002Fcomparisons\u002Fvs-nuxt-modules","5.comparisons\u002F1.vs-nuxt-modules","i-ph-scales",{"title":161,"path":162,"stem":163,"icon":159},"Compared with Vue packages","\u002Fcomparisons\u002Fvs-vue-packages","5.comparisons\u002F2.vs-vue-packages",{"title":165,"icon":6,"path":166,"stem":167,"children":168,"page":6},"Updates","\u002Fchanges","7.changes",[169],{"title":170,"path":171,"stem":172,"icon":173},"Changelog","\u002Fchanges\u002Fchangelog","7.changes\u002F1.changelog","i-ph-clock-counter-clockwise",{"left":175,"top":176,"width":177,"height":178,"rotate":179,"vFlip":6,"hFlip":6,"body":180},84,74,344,367,0,"\u003Cpath d=\"M124 401 V230 C124 144 186 114 256 114 C326 114 388 144 388 230 V304\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"80\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u002F>\n  \u003Crect x=\"348\" y=\"358\" width=\"80\" height=\"80\" rx=\"12\" fill=\"#ff4b4b\"\u002F>",{"id":182,"title":136,"body":183,"description":2133,"extension":2134,"links":2135,"meta":2136,"navigation":2137,"path":137,"seo":2138,"stem":138,"__hash__":2141},"docs\u002F4.guides\u002F4.performance.md",{"type":184,"value":185,"toc":2119},"minimark",[186,195,348,360,365,373,383,520,532,548,551,669,678,682,688,794,804,906,916,920,936,1116,1143,1154,1160,1168,1381,1385,1392,1651,1662,1666,1676,1840,1844,1879,1896,1900,1905,1915,2087,2097,2104,2115],[187,188,189,190,194],"p",{},"Each tip makes ",[191,192,193],"code",{},"nanime"," do less work.",[196,197,198,215],"table",{},[199,200,201],"thead",{},[202,203,204,209,212],"tr",{},[205,206,208],"th",{"align":207},"left","Tip",[205,210,211],{"align":207},"Applies to",[205,213,214],{"align":207},"What to do",[216,217,218,246,263,286,301,316,330],"tbody",{},[202,219,220,231,240],{},[221,222,223],"td",{"align":207},[224,225,227,228],"a",{"href":226},"#add-deps-to-groups","Group ",[191,229,230],{},"deps",[221,232,233,236,237],{"align":207},[191,234,235],{},"\u003CAnimeTransitionGroup>",", ",[191,238,239],{},"\u003CAnimeLayoutGroup>",[221,241,242,243,245],{"align":207},"Pass ",[191,244,230],{}," so a group measures only when its state changes.",[202,247,248,254,260],{},[221,249,250],{"align":207},[224,251,253],{"href":252},"#keep-group-items-small","Group size",[221,255,256,236,258],{"align":207},[191,257,235],{},[191,259,239],{},[221,261,262],{"align":207},"Keep the part that moves small.",[202,264,265,271,275],{},[221,266,267],{"align":207},[224,268,270],{"href":269},"#run-simple-animations-off-the-main-thread","WAAPI",[221,272,273],{"align":207},[191,274,46],{},[221,276,277,278,281,282,285],{"align":207},"Use it for ",[191,279,280],{},"transform"," and ",[191,283,284],{},"opacity"," animations.",[202,287,288,294,298],{},[221,289,290],{"align":207},[224,291,293],{"href":292},"#use-useanimatable-for-constant-values","Constant values",[221,295,296],{"align":207},[191,297,51],{},[221,299,300],{"align":207},"Tween from the current value instead of restarting an animation.",[202,302,303,309,313],{},[221,304,305],{"align":207},[224,306,308],{"href":307},"#split-text-by-words-or-lines","Text",[221,310,311],{"align":207},[191,312,61],{},[221,314,315],{"align":207},"Split headings by words or lines, not characters.",[202,317,318,324,327],{},[221,319,320],{"align":207},[224,321,323],{"href":322},"#target-elements-with-template-refs","Targets",[221,325,326],{"align":207},"Every composable",[221,328,329],{"align":207},"Pass a template ref, not a selector string.",[202,331,332,338,340],{},[221,333,334],{"align":207},[224,335,337],{"href":336},"#animate-transform-and-opacity","Properties",[221,339,326],{"align":207},[221,341,342,343,281,345,347],{"align":207},"Animate ",[191,344,280],{},[191,346,284],{},", not layout properties.",[349,350,351,352,355,356,359],"note",{},"A hidden tab is a correctness problem, not a performance one. AnimeJS\npauses every animation while the tab is hidden, so an exit can stay\nmid-way. Set ",[191,353,354],{},"completeOnTabHidden"," on a component when that matters.\n",[224,357,96],{"href":358},"\u002Fcomponents\u002Ftransition#finish-animations-when-the-tab-is-hidden","\ncovers the prop.",[361,362,364],"h2",{"id":363},"tips","Tips",[366,367,369,370,372],"h3",{"id":368},"add-deps-to-groups","Add ",[191,371,230],{}," to groups",[187,374,242,375,377,378,281,380,382],{},[191,376,230],{}," to every ",[191,379,235],{},[191,381,239],{},".\nWithout it, a transition group measures every element inside it, and a\nlayout group records and animates on every re-render, even when nothing\nmoved.",[384,385,391],"pre",{"className":386,"code":387,"filename":388,"language":389,"meta":390,"style":390},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CAnimeTransitionGroup :deps=\"[]\">\n    \u003CCard v-for=\"card in cards\" :key=\"card.id\" :card=\"card\" \u002F>\n  \u003C\u002FAnimeTransitionGroup>\n\u003C\u002Ftemplate>\n","CardList.vue","vue","",[191,392,393,409,437,500,510],{"__ignoreMap":390},[394,395,398,402,406],"span",{"class":396,"line":397},"line",1,[394,399,401],{"class":400},"sMK4o","\u003C",[394,403,405],{"class":404},"swJcz","template",[394,407,408],{"class":400},">\n",[394,410,412,415,418,421,424,427,430,433,435],{"class":396,"line":411},2,[394,413,414],{"class":400},"  \u003C",[394,416,417],{"class":404},"AnimeTransitionGroup",[394,419,420],{"class":400}," :",[394,422,230],{"class":423},"spNyl",[394,425,426],{"class":400},"=",[394,428,429],{"class":400},"\"",[394,431,432],{"class":400},"[]",[394,434,429],{"class":400},[394,436,408],{"class":400},[394,438,440,443,446,450,452,454,458,461,464,466,468,471,473,475,477,480,483,485,487,489,491,493,495,497],{"class":396,"line":439},3,[394,441,442],{"class":400},"    \u003C",[394,444,445],{"class":404},"Card",[394,447,449],{"class":448},"s7zQu"," v-for",[394,451,426],{"class":400},[394,453,429],{"class":400},[394,455,457],{"class":456},"sTEyZ","card",[394,459,460],{"class":400}," in ",[394,462,463],{"class":456},"cards",[394,465,429],{"class":400},[394,467,420],{"class":400},[394,469,470],{"class":423},"key",[394,472,426],{"class":400},[394,474,429],{"class":400},[394,476,457],{"class":456},[394,478,479],{"class":400},".",[394,481,482],{"class":456},"id",[394,484,429],{"class":400},[394,486,420],{"class":400},[394,488,457],{"class":423},[394,490,426],{"class":400},[394,492,429],{"class":400},[394,494,457],{"class":456},[394,496,429],{"class":400},[394,498,499],{"class":400}," \u002F>\n",[394,501,503,506,508],{"class":396,"line":502},4,[394,504,505],{"class":400},"  \u003C\u002F",[394,507,417],{"class":404},[394,509,408],{"class":400},[394,511,513,516,518],{"class":396,"line":512},5,[394,514,515],{"class":400},"\u003C\u002F",[394,517,405],{"class":404},[394,519,408],{"class":400},[187,521,522,523,236,525,528,529,479],{},"On an ",[191,524,235],{},[191,526,527],{},":deps=\"[]\""," makes the group measure only\nwhen items are added, removed or reordered. Add the values that change an\nitem's size to the list, such as ",[191,530,531],{},":deps=\"[view]\"",[187,533,534,535,537,538,540,541,544,545,547],{},"An ",[191,536,239],{}," animates only when a value in ",[191,539,230],{}," changes. List\nthe state that changes its layout, as in ",[191,542,543],{},":deps=\"[expanded]\"",". With\n",[191,546,527],{}," it never animates.",[187,549,550],{},"A function entry is read as a getter, so it follows the value it returns:",[384,552,555],{"className":386,"code":553,"filename":554,"language":389,"meta":390,"style":390},"\u003Ctemplate>\n  \u003CAnimeTransitionGroup :deps=\"[() => state.view]\" shallow>\n    \u003CCard v-for=\"card in cards\" :key=\"card.id\" :card=\"card\" \u002F>\n  \u003C\u002FAnimeTransitionGroup>\n\u003C\u002Ftemplate>\n","ViewToggle.vue",[191,556,557,565,603,653,661],{"__ignoreMap":390},[394,558,559,561,563],{"class":396,"line":397},[394,560,401],{"class":400},[394,562,405],{"class":404},[394,564,408],{"class":400},[394,566,567,569,571,573,575,577,579,582,585,588,590,593,596,598,601],{"class":396,"line":411},[394,568,414],{"class":400},[394,570,417],{"class":404},[394,572,420],{"class":400},[394,574,230],{"class":423},[394,576,426],{"class":400},[394,578,429],{"class":400},[394,580,581],{"class":400},"[() ",[394,583,584],{"class":423},"=>",[394,586,587],{"class":456}," state",[394,589,479],{"class":400},[394,591,592],{"class":456},"view",[394,594,595],{"class":400},"]",[394,597,429],{"class":400},[394,599,600],{"class":423}," shallow",[394,602,408],{"class":400},[394,604,605,607,609,611,613,615,617,619,621,623,625,627,629,631,633,635,637,639,641,643,645,647,649,651],{"class":396,"line":439},[394,606,442],{"class":400},[394,608,445],{"class":404},[394,610,449],{"class":448},[394,612,426],{"class":400},[394,614,429],{"class":400},[394,616,457],{"class":456},[394,618,460],{"class":400},[394,620,463],{"class":456},[394,622,429],{"class":400},[394,624,420],{"class":400},[394,626,470],{"class":423},[394,628,426],{"class":400},[394,630,429],{"class":400},[394,632,457],{"class":456},[394,634,479],{"class":400},[394,636,482],{"class":456},[394,638,429],{"class":400},[394,640,420],{"class":400},[394,642,457],{"class":423},[394,644,426],{"class":400},[394,646,429],{"class":400},[394,648,457],{"class":456},[394,650,429],{"class":400},[394,652,499],{"class":400},[394,654,655,657,659],{"class":396,"line":502},[394,656,505],{"class":400},[394,658,417],{"class":404},[394,660,408],{"class":400},[394,662,663,665,667],{"class":396,"line":512},[394,664,515],{"class":400},[394,666,405],{"class":404},[394,668,408],{"class":400},[187,670,369,671,674,675,677],{},[191,672,673],{},"shallow"," when a ",[191,676,230],{}," entry is a large object. The group then\nanimates when the entry is replaced, not when something inside it changes.",[366,679,681],{"id":680},"keep-group-items-small","Keep group items small",[187,683,684,685,687],{},"A group measures every element inside it each time its items move. In a\ngroup of 12 cards with about 20 elements each, one move measures all 240\nelements. If the items of an ",[191,686,235],{}," only enter and\nleave, turn moves off so the group measures nothing:",[384,689,692],{"className":386,"code":690,"filename":691,"language":389,"meta":390,"style":390},"\u003Ctemplate>\n  \u003CAnimeTransitionGroup :move-animation=\"false\">\n    \u003CPost v-for=\"post in posts\" :key=\"post.id\" :post=\"post\" \u002F>\n  \u003C\u002FAnimeTransitionGroup>\n\u003C\u002Ftemplate>\n","Feed.vue",[191,693,694,702,725,778,786],{"__ignoreMap":390},[394,695,696,698,700],{"class":396,"line":397},[394,697,401],{"class":400},[394,699,405],{"class":404},[394,701,408],{"class":400},[394,703,704,706,708,710,713,715,717,721,723],{"class":396,"line":411},[394,705,414],{"class":400},[394,707,417],{"class":404},[394,709,420],{"class":400},[394,711,712],{"class":423},"move-animation",[394,714,426],{"class":400},[394,716,429],{"class":400},[394,718,720],{"class":719},"sfNiH","false",[394,722,429],{"class":400},[394,724,408],{"class":400},[394,726,727,729,732,734,736,738,741,743,746,748,750,752,754,756,758,760,762,764,766,768,770,772,774,776],{"class":396,"line":439},[394,728,442],{"class":400},[394,730,731],{"class":404},"Post",[394,733,449],{"class":448},[394,735,426],{"class":400},[394,737,429],{"class":400},[394,739,740],{"class":456},"post",[394,742,460],{"class":400},[394,744,745],{"class":456},"posts",[394,747,429],{"class":400},[394,749,420],{"class":400},[394,751,470],{"class":423},[394,753,426],{"class":400},[394,755,429],{"class":400},[394,757,740],{"class":456},[394,759,479],{"class":400},[394,761,482],{"class":456},[394,763,429],{"class":400},[394,765,420],{"class":400},[394,767,740],{"class":423},[394,769,426],{"class":400},[394,771,429],{"class":400},[394,773,740],{"class":456},[394,775,429],{"class":400},[394,777,499],{"class":400},[394,779,780,782,784],{"class":396,"line":502},[394,781,505],{"class":400},[394,783,417],{"class":404},[394,785,408],{"class":400},[394,787,788,790,792],{"class":396,"line":512},[394,789,515],{"class":400},[394,791,405],{"class":404},[394,793,408],{"class":400},[187,795,796,797,799,800,803],{},"For an ",[191,798,239],{},", pass ",[191,801,802],{},"elements"," so only the cards animate\nwhile everything else in the group stays put:",[384,805,808],{"className":386,"code":806,"filename":807,"language":389,"meta":390,"style":390},"\u003Ctemplate>\n  \u003CAnimeLayoutGroup elements=\".card\">\n    \u003CCard v-for=\"card in cards\" :key=\"card.id\" :card=\"card\" \u002F>\n  \u003C\u002FAnimeLayoutGroup>\n\u003C\u002Ftemplate>\n","Dashboard.vue",[191,809,810,818,840,890,898],{"__ignoreMap":390},[394,811,812,814,816],{"class":396,"line":397},[394,813,401],{"class":400},[394,815,405],{"class":404},[394,817,408],{"class":400},[394,819,820,822,825,828,830,832,836,838],{"class":396,"line":411},[394,821,414],{"class":400},[394,823,824],{"class":404},"AnimeLayoutGroup",[394,826,827],{"class":423}," elements",[394,829,426],{"class":400},[394,831,429],{"class":400},[394,833,835],{"class":834},"sfazB",".card",[394,837,429],{"class":400},[394,839,408],{"class":400},[394,841,842,844,846,848,850,852,854,856,858,860,862,864,866,868,870,872,874,876,878,880,882,884,886,888],{"class":396,"line":439},[394,843,442],{"class":400},[394,845,445],{"class":404},[394,847,449],{"class":448},[394,849,426],{"class":400},[394,851,429],{"class":400},[394,853,457],{"class":456},[394,855,460],{"class":400},[394,857,463],{"class":456},[394,859,429],{"class":400},[394,861,420],{"class":400},[394,863,470],{"class":423},[394,865,426],{"class":400},[394,867,429],{"class":400},[394,869,457],{"class":456},[394,871,479],{"class":400},[394,873,482],{"class":456},[394,875,429],{"class":400},[394,877,420],{"class":400},[394,879,457],{"class":423},[394,881,426],{"class":400},[394,883,429],{"class":400},[394,885,457],{"class":456},[394,887,429],{"class":400},[394,889,499],{"class":400},[394,891,892,894,896],{"class":396,"line":502},[394,893,505],{"class":400},[394,895,824],{"class":404},[394,897,408],{"class":400},[394,899,900,902,904],{"class":396,"line":512},[394,901,515],{"class":400},[394,903,405],{"class":404},[394,905,408],{"class":400},[187,907,908,912,913,915],{},[224,909,911],{"href":910},"\u002Fcomponents\u002Flayout-group#choose-which-elements-animate","Choose which elements animate","\ncovers ",[191,914,802],{}," in full.",[366,917,919],{"id":918},"run-simple-animations-off-the-main-thread","Run simple animations off the main thread",[187,921,922,923,927,928,930,931,933,934,479],{},"Use ",[224,924,925],{"href":47},[191,926,46],{}," for ",[191,929,280],{}," and\n",[191,932,284],{}," animations, such as modals, dropdowns and page entrances. The\nbrowser runs them off the main thread, so they stay smooth during\nhydration. It also adds less to the bundle: 5.5 KB with gzip, against\n13.3 KB for ",[191,935,30],{},[384,937,940],{"className":386,"code":938,"filename":939,"language":389,"meta":390,"style":390},"\u003Cscript setup lang=\"ts\">\nconst modal = useTemplateRef('modal')\n\nuseWaapiAnimate(modal, {\n  transform: ['translateY(20px) scale(0.95)', 'translateY(0px) scale(1)'],\n  opacity: [0, 1],\n  duration: 300,\n  ease: 'cubic-bezier(0.2, 0, 0, 1)',\n})\n\u003C\u002Fscript>\n","Modal.vue",[191,941,942,966,994,1000,1013,1046,1069,1082,1099,1107],{"__ignoreMap":390},[394,943,944,946,949,952,955,957,959,962,964],{"class":396,"line":397},[394,945,401],{"class":400},[394,947,948],{"class":404},"script",[394,950,951],{"class":423}," setup",[394,953,954],{"class":423}," lang",[394,956,426],{"class":400},[394,958,429],{"class":400},[394,960,961],{"class":834},"ts",[394,963,429],{"class":400},[394,965,408],{"class":400},[394,967,968,971,974,976,980,983,986,989,991],{"class":396,"line":411},[394,969,970],{"class":423},"const",[394,972,973],{"class":456}," modal ",[394,975,426],{"class":400},[394,977,979],{"class":978},"s2Zo4"," useTemplateRef",[394,981,982],{"class":456},"(",[394,984,985],{"class":400},"'",[394,987,988],{"class":834},"modal",[394,990,985],{"class":400},[394,992,993],{"class":456},")\n",[394,995,996],{"class":396,"line":439},[394,997,999],{"emptyLinePlaceholder":998},true,"\n",[394,1001,1002,1004,1007,1010],{"class":396,"line":502},[394,1003,46],{"class":978},[394,1005,1006],{"class":456},"(modal",[394,1008,1009],{"class":400},",",[394,1011,1012],{"class":400}," {\n",[394,1014,1015,1018,1021,1024,1026,1029,1031,1033,1036,1039,1041,1043],{"class":396,"line":512},[394,1016,1017],{"class":404},"  transform",[394,1019,1020],{"class":400},":",[394,1022,1023],{"class":456}," [",[394,1025,985],{"class":400},[394,1027,1028],{"class":834},"translateY(20px) scale(0.95)",[394,1030,985],{"class":400},[394,1032,1009],{"class":400},[394,1034,1035],{"class":400}," '",[394,1037,1038],{"class":834},"translateY(0px) scale(1)",[394,1040,985],{"class":400},[394,1042,595],{"class":456},[394,1044,1045],{"class":400},",\n",[394,1047,1049,1052,1054,1056,1060,1062,1065,1067],{"class":396,"line":1048},6,[394,1050,1051],{"class":404},"  opacity",[394,1053,1020],{"class":400},[394,1055,1023],{"class":456},[394,1057,1059],{"class":1058},"sbssI","0",[394,1061,1009],{"class":400},[394,1063,1064],{"class":1058}," 1",[394,1066,595],{"class":456},[394,1068,1045],{"class":400},[394,1070,1072,1075,1077,1080],{"class":396,"line":1071},7,[394,1073,1074],{"class":404},"  duration",[394,1076,1020],{"class":400},[394,1078,1079],{"class":1058}," 300",[394,1081,1045],{"class":400},[394,1083,1085,1088,1090,1092,1095,1097],{"class":396,"line":1084},8,[394,1086,1087],{"class":404},"  ease",[394,1089,1020],{"class":400},[394,1091,1035],{"class":400},[394,1093,1094],{"class":834},"cubic-bezier(0.2, 0, 0, 1)",[394,1096,985],{"class":400},[394,1098,1045],{"class":400},[394,1100,1102,1105],{"class":396,"line":1101},9,[394,1103,1104],{"class":400},"}",[394,1106,993],{"class":456},[394,1108,1110,1112,1114],{"class":396,"line":1109},10,[394,1111,515],{"class":400},[394,1113,948],{"class":404},[394,1115,408],{"class":400},[187,1117,1118,1119,1123,1124,236,1127,1045,1130,1133,1134,1137,1138,1142],{},"Keep ",[224,1120,1121],{"href":31},[191,1122,30],{}," for what the browser cannot\nrun on its own: SVG proxies (",[191,1125,1126],{},"morphTo",[191,1128,1129],{},"createMotionPath",[191,1131,1132],{},"createDrawable","), text scrambling with ",[191,1135,1136],{},"scrambleText"," or\n",[224,1139,1140],{"href":67},[191,1141,66],{},", and plain JavaScript\nobjects and numbers.",[187,1144,1145,1147,1148,1153],{},[191,1146,46],{}," follows ",[224,1149,1150],{"href":142},[191,1151,1152],{},"reducedMotion"," too. It\ncannot animate SVG proxies or plain objects.",[366,1155,922,1157,1159],{"id":1156},"use-useanimatable-for-constant-values",[191,1158,51],{}," for constant values",[187,1161,1162,1163,1167],{},"For a value that changes many times a second, such as the cursor position,\n",[224,1164,1165],{"href":52},[191,1166,51],{}," creates one animation up\nfront, and each call tweens from the current value:",[384,1169,1172],{"className":386,"code":1170,"filename":1171,"language":389,"meta":390,"style":390},"\u003Cscript setup lang=\"ts\">\nconst circle = useTemplateRef('circle')\n\nconst animatable = useAnimatable(circle, {\n  translateX: 0,\n  translateY: 0,\n  ease: 'outExpo',\n  duration: 300,\n})\n\nfunction onMouseMove(event: MouseEvent) {\n  animatable.translateX(event.clientX)\n  animatable.translateY(event.clientY)\n}\n\u003C\u002Fscript>\n","Cursor.vue",[191,1173,1174,1194,1216,1220,1239,1251,1262,1277,1287,1293,1297,1323,1345,1366,1372],{"__ignoreMap":390},[394,1175,1176,1178,1180,1182,1184,1186,1188,1190,1192],{"class":396,"line":397},[394,1177,401],{"class":400},[394,1179,948],{"class":404},[394,1181,951],{"class":423},[394,1183,954],{"class":423},[394,1185,426],{"class":400},[394,1187,429],{"class":400},[394,1189,961],{"class":834},[394,1191,429],{"class":400},[394,1193,408],{"class":400},[394,1195,1196,1198,1201,1203,1205,1207,1209,1212,1214],{"class":396,"line":411},[394,1197,970],{"class":423},[394,1199,1200],{"class":456}," circle ",[394,1202,426],{"class":400},[394,1204,979],{"class":978},[394,1206,982],{"class":456},[394,1208,985],{"class":400},[394,1210,1211],{"class":834},"circle",[394,1213,985],{"class":400},[394,1215,993],{"class":456},[394,1217,1218],{"class":396,"line":439},[394,1219,999],{"emptyLinePlaceholder":998},[394,1221,1222,1224,1227,1229,1232,1235,1237],{"class":396,"line":502},[394,1223,970],{"class":423},[394,1225,1226],{"class":456}," animatable ",[394,1228,426],{"class":400},[394,1230,1231],{"class":978}," useAnimatable",[394,1233,1234],{"class":456},"(circle",[394,1236,1009],{"class":400},[394,1238,1012],{"class":400},[394,1240,1241,1244,1246,1249],{"class":396,"line":512},[394,1242,1243],{"class":404},"  translateX",[394,1245,1020],{"class":400},[394,1247,1248],{"class":1058}," 0",[394,1250,1045],{"class":400},[394,1252,1253,1256,1258,1260],{"class":396,"line":1048},[394,1254,1255],{"class":404},"  translateY",[394,1257,1020],{"class":400},[394,1259,1248],{"class":1058},[394,1261,1045],{"class":400},[394,1263,1264,1266,1268,1270,1273,1275],{"class":396,"line":1071},[394,1265,1087],{"class":404},[394,1267,1020],{"class":400},[394,1269,1035],{"class":400},[394,1271,1272],{"class":834},"outExpo",[394,1274,985],{"class":400},[394,1276,1045],{"class":400},[394,1278,1279,1281,1283,1285],{"class":396,"line":1084},[394,1280,1074],{"class":404},[394,1282,1020],{"class":400},[394,1284,1079],{"class":1058},[394,1286,1045],{"class":400},[394,1288,1289,1291],{"class":396,"line":1101},[394,1290,1104],{"class":400},[394,1292,993],{"class":456},[394,1294,1295],{"class":396,"line":1109},[394,1296,999],{"emptyLinePlaceholder":998},[394,1298,1300,1303,1306,1308,1312,1314,1318,1321],{"class":396,"line":1299},11,[394,1301,1302],{"class":423},"function",[394,1304,1305],{"class":978}," onMouseMove",[394,1307,982],{"class":400},[394,1309,1311],{"class":1310},"sHdIc","event",[394,1313,1020],{"class":400},[394,1315,1317],{"class":1316},"sBMFI"," MouseEvent",[394,1319,1320],{"class":400},")",[394,1322,1012],{"class":400},[394,1324,1326,1329,1331,1334,1336,1338,1340,1343],{"class":396,"line":1325},12,[394,1327,1328],{"class":456},"  animatable",[394,1330,479],{"class":400},[394,1332,1333],{"class":978},"translateX",[394,1335,982],{"class":404},[394,1337,1311],{"class":456},[394,1339,479],{"class":400},[394,1341,1342],{"class":456},"clientX",[394,1344,993],{"class":404},[394,1346,1348,1350,1352,1355,1357,1359,1361,1364],{"class":396,"line":1347},13,[394,1349,1328],{"class":456},[394,1351,479],{"class":400},[394,1353,1354],{"class":978},"translateY",[394,1356,982],{"class":404},[394,1358,1311],{"class":456},[394,1360,479],{"class":400},[394,1362,1363],{"class":456},"clientY",[394,1365,993],{"class":404},[394,1367,1369],{"class":396,"line":1368},14,[394,1370,1371],{"class":400},"}\n",[394,1373,1375,1377,1379],{"class":396,"line":1374},15,[394,1376,515],{"class":400},[394,1378,948],{"class":404},[394,1380,408],{"class":400},[366,1382,1384],{"id":1383},"split-text-by-words-or-lines","Split text by words or lines",[187,1386,1387,1391],{},[224,1388,1389],{"href":62},[191,1390,61],{}," wraps each piece in its own\nelement, so an article split into characters adds thousands of elements.\nSplit only headings and short callouts, and split by words or lines when\nthe effect allows it:",[384,1393,1396],{"className":386,"code":1394,"filename":1395,"language":389,"meta":390,"style":390},"\u003Cscript setup lang=\"ts\">\nimport { stagger } from '#nanime\u002Futils'\n\nconst heading = useTemplateRef('heading')\nconst { words } = useSplitText(heading, { words: true })\n\nuseAnimate(words, {\n  translateY: [20, 0],\n  opacity: [0, 1],\n  delay: stagger(60),\n  duration: 400,\n})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Ch2 ref=\"heading\">Ship it today\u003C\u002Fh2>\n\u003C\u002Ftemplate>\n","Heading.vue",[191,1397,1398,1418,1443,1447,1469,1505,1509,1520,1539,1557,1575,1586,1592,1600,1604,1612,1642],{"__ignoreMap":390},[394,1399,1400,1402,1404,1406,1408,1410,1412,1414,1416],{"class":396,"line":397},[394,1401,401],{"class":400},[394,1403,948],{"class":404},[394,1405,951],{"class":423},[394,1407,954],{"class":423},[394,1409,426],{"class":400},[394,1411,429],{"class":400},[394,1413,961],{"class":834},[394,1415,429],{"class":400},[394,1417,408],{"class":400},[394,1419,1420,1423,1426,1429,1432,1435,1437,1440],{"class":396,"line":411},[394,1421,1422],{"class":448},"import",[394,1424,1425],{"class":400}," {",[394,1427,1428],{"class":456}," stagger",[394,1430,1431],{"class":400}," }",[394,1433,1434],{"class":448}," from",[394,1436,1035],{"class":400},[394,1438,1439],{"class":834},"#nanime\u002Futils",[394,1441,1442],{"class":400},"'\n",[394,1444,1445],{"class":396,"line":439},[394,1446,999],{"emptyLinePlaceholder":998},[394,1448,1449,1451,1454,1456,1458,1460,1462,1465,1467],{"class":396,"line":502},[394,1450,970],{"class":423},[394,1452,1453],{"class":456}," heading ",[394,1455,426],{"class":400},[394,1457,979],{"class":978},[394,1459,982],{"class":456},[394,1461,985],{"class":400},[394,1463,1464],{"class":834},"heading",[394,1466,985],{"class":400},[394,1468,993],{"class":456},[394,1470,1471,1473,1475,1478,1480,1483,1486,1489,1491,1493,1496,1498,1501,1503],{"class":396,"line":512},[394,1472,970],{"class":423},[394,1474,1425],{"class":400},[394,1476,1477],{"class":456}," words ",[394,1479,1104],{"class":400},[394,1481,1482],{"class":400}," =",[394,1484,1485],{"class":978}," useSplitText",[394,1487,1488],{"class":456},"(heading",[394,1490,1009],{"class":400},[394,1492,1425],{"class":400},[394,1494,1495],{"class":404}," words",[394,1497,1020],{"class":400},[394,1499,1500],{"class":719}," true",[394,1502,1431],{"class":400},[394,1504,993],{"class":456},[394,1506,1507],{"class":396,"line":1048},[394,1508,999],{"emptyLinePlaceholder":998},[394,1510,1511,1513,1516,1518],{"class":396,"line":1071},[394,1512,30],{"class":978},[394,1514,1515],{"class":456},"(words",[394,1517,1009],{"class":400},[394,1519,1012],{"class":400},[394,1521,1522,1524,1526,1528,1531,1533,1535,1537],{"class":396,"line":1084},[394,1523,1255],{"class":404},[394,1525,1020],{"class":400},[394,1527,1023],{"class":456},[394,1529,1530],{"class":1058},"20",[394,1532,1009],{"class":400},[394,1534,1248],{"class":1058},[394,1536,595],{"class":456},[394,1538,1045],{"class":400},[394,1540,1541,1543,1545,1547,1549,1551,1553,1555],{"class":396,"line":1101},[394,1542,1051],{"class":404},[394,1544,1020],{"class":400},[394,1546,1023],{"class":456},[394,1548,1059],{"class":1058},[394,1550,1009],{"class":400},[394,1552,1064],{"class":1058},[394,1554,595],{"class":456},[394,1556,1045],{"class":400},[394,1558,1559,1562,1564,1566,1568,1571,1573],{"class":396,"line":1109},[394,1560,1561],{"class":404},"  delay",[394,1563,1020],{"class":400},[394,1565,1428],{"class":978},[394,1567,982],{"class":456},[394,1569,1570],{"class":1058},"60",[394,1572,1320],{"class":456},[394,1574,1045],{"class":400},[394,1576,1577,1579,1581,1584],{"class":396,"line":1299},[394,1578,1074],{"class":404},[394,1580,1020],{"class":400},[394,1582,1583],{"class":1058}," 400",[394,1585,1045],{"class":400},[394,1587,1588,1590],{"class":396,"line":1325},[394,1589,1104],{"class":400},[394,1591,993],{"class":456},[394,1593,1594,1596,1598],{"class":396,"line":1347},[394,1595,515],{"class":400},[394,1597,948],{"class":404},[394,1599,408],{"class":400},[394,1601,1602],{"class":396,"line":1368},[394,1603,999],{"emptyLinePlaceholder":998},[394,1605,1606,1608,1610],{"class":396,"line":1374},[394,1607,401],{"class":400},[394,1609,405],{"class":404},[394,1611,408],{"class":400},[394,1613,1615,1617,1619,1622,1624,1626,1628,1630,1633,1636,1638,1640],{"class":396,"line":1614},16,[394,1616,414],{"class":400},[394,1618,361],{"class":404},[394,1620,1621],{"class":423}," ref",[394,1623,426],{"class":400},[394,1625,429],{"class":400},[394,1627,1464],{"class":834},[394,1629,429],{"class":400},[394,1631,1632],{"class":400},">",[394,1634,1635],{"class":456},"Ship it today",[394,1637,515],{"class":400},[394,1639,361],{"class":404},[394,1641,408],{"class":400},[394,1643,1645,1647,1649],{"class":396,"line":1644},17,[394,1646,515],{"class":400},[394,1648,405],{"class":404},[394,1650,408],{"class":400},[187,1652,1653,1656,1657,1659,1660,479],{},[191,1654,1655],{},"stagger"," is not auto-imported. The auto-imports cover the composables, so\nimport helpers such as ",[191,1658,1655],{}," from ",[191,1661,1439],{},[366,1663,1665],{"id":1664},"target-elements-with-template-refs","Target elements with template refs",[187,1667,1668,1669,1672,1673,1675],{},"A selector such as ",[191,1670,1671],{},"'.card'"," matches every ",[191,1674,835],{}," on the page. When the\ncomponent renders three times, each copy animates the cards of all the\nothers, so each card runs three animations. A template ref targets only\nthe component's own element:",[384,1677,1680],{"className":386,"code":1678,"filename":1679,"language":389,"meta":390,"style":390},"\u003Cscript setup lang=\"ts\">\nconst card = useTemplateRef('card')\n\nuseAnimate(card, { scale: [0.9, 1], opacity: [0, 1], duration: 400 })\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv ref=\"card\">Content\u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","Card.vue",[191,1681,1682,1702,1723,1727,1784,1792,1796,1804,1832],{"__ignoreMap":390},[394,1683,1684,1686,1688,1690,1692,1694,1696,1698,1700],{"class":396,"line":397},[394,1685,401],{"class":400},[394,1687,948],{"class":404},[394,1689,951],{"class":423},[394,1691,954],{"class":423},[394,1693,426],{"class":400},[394,1695,429],{"class":400},[394,1697,961],{"class":834},[394,1699,429],{"class":400},[394,1701,408],{"class":400},[394,1703,1704,1706,1709,1711,1713,1715,1717,1719,1721],{"class":396,"line":411},[394,1705,970],{"class":423},[394,1707,1708],{"class":456}," card ",[394,1710,426],{"class":400},[394,1712,979],{"class":978},[394,1714,982],{"class":456},[394,1716,985],{"class":400},[394,1718,457],{"class":834},[394,1720,985],{"class":400},[394,1722,993],{"class":456},[394,1724,1725],{"class":396,"line":439},[394,1726,999],{"emptyLinePlaceholder":998},[394,1728,1729,1731,1734,1736,1738,1741,1743,1745,1748,1750,1752,1754,1756,1759,1761,1763,1765,1767,1769,1771,1773,1776,1778,1780,1782],{"class":396,"line":502},[394,1730,30],{"class":978},[394,1732,1733],{"class":456},"(card",[394,1735,1009],{"class":400},[394,1737,1425],{"class":400},[394,1739,1740],{"class":404}," scale",[394,1742,1020],{"class":400},[394,1744,1023],{"class":456},[394,1746,1747],{"class":1058},"0.9",[394,1749,1009],{"class":400},[394,1751,1064],{"class":1058},[394,1753,595],{"class":456},[394,1755,1009],{"class":400},[394,1757,1758],{"class":404}," opacity",[394,1760,1020],{"class":400},[394,1762,1023],{"class":456},[394,1764,1059],{"class":1058},[394,1766,1009],{"class":400},[394,1768,1064],{"class":1058},[394,1770,595],{"class":456},[394,1772,1009],{"class":400},[394,1774,1775],{"class":404}," duration",[394,1777,1020],{"class":400},[394,1779,1583],{"class":1058},[394,1781,1431],{"class":400},[394,1783,993],{"class":456},[394,1785,1786,1788,1790],{"class":396,"line":512},[394,1787,515],{"class":400},[394,1789,948],{"class":404},[394,1791,408],{"class":400},[394,1793,1794],{"class":396,"line":1048},[394,1795,999],{"emptyLinePlaceholder":998},[394,1797,1798,1800,1802],{"class":396,"line":1071},[394,1799,401],{"class":400},[394,1801,405],{"class":404},[394,1803,408],{"class":400},[394,1805,1806,1808,1811,1813,1815,1817,1819,1821,1823,1826,1828,1830],{"class":396,"line":1084},[394,1807,414],{"class":400},[394,1809,1810],{"class":404},"div",[394,1812,1621],{"class":423},[394,1814,426],{"class":400},[394,1816,429],{"class":400},[394,1818,457],{"class":834},[394,1820,429],{"class":400},[394,1822,1632],{"class":400},[394,1824,1825],{"class":456},"Content",[394,1827,515],{"class":400},[394,1829,1810],{"class":404},[394,1831,408],{"class":400},[394,1833,1834,1836,1838],{"class":396,"line":1101},[394,1835,515],{"class":400},[394,1837,405],{"class":404},[394,1839,408],{"class":400},[366,1841,1843],{"id":1842},"animate-transform-and-opacity","Animate transform and opacity",[187,1845,1846,1847,236,1850,1853,1854,1857,1858,236,1860,236,1862,236,1865,930,1868,1870,1871,1878],{},"Animating ",[191,1848,1849],{},"width",[191,1851,1852],{},"height"," or ",[191,1855,1856],{},"top"," makes the browser recompute the layout\non every frame. Prefer ",[191,1859,1333],{},[191,1861,1354],{},[191,1863,1864],{},"scale",[191,1866,1867],{},"rotate",[191,1869,284],{},", which the browser only composites.\n",[224,1872,1877],{"href":1873,"rel":1874,"target":1876},"https:\u002F\u002Fweb.dev\u002Farticles\u002Fanimations-and-performance",[1875],"nofollow","_blank","Animations and performance","\nexplains the difference.",[187,1880,1881,1882,281,1885,1888,1889,1891,1892,281,1894,479],{},"AnimeJS maps ",[191,1883,1884],{},"x",[191,1886,1887],{},"y"," to ",[191,1890,280],{},", so they are as cheap as\n",[191,1893,1333],{},[191,1895,1354],{},[361,1897,1899],{"id":1898},"check-what-each-api-adds-to-the-bundle","Check what each API adds to the bundle",[187,1901,1902,1904],{},[191,1903,193],{}," adds code only to the pages that call a composable or render a\ncomponent. The table lists what each one adds to the client bundle.",[187,1906,1907,1908,1910,1911,1914],{},"Sizes are what a page adds when it uses only that API, measured on\n",[191,1909,193],{}," 0.4.0 with AnimeJS 4.5.0 and Nuxt 4.5.2. Each number is the extra\nclient chunk size from ",[191,1912,1913],{},"nuxt build",", minified with esbuild, with Vue and\nNuxt excluded.",[196,1916,1917,1930],{},[199,1918,1919],{},[202,1920,1921,1924,1927],{},[205,1922,1923],{"align":207},"Composable or component",[205,1925,1926],{"align":207},"Minified",[205,1928,1929],{"align":207},"Minified + gzip",[216,1931,1932,1946,1960,1974,1988,2003,2017,2031,2045,2059,2073],{},[202,1933,1934,1940,1943],{},[221,1935,1936],{"align":207},[224,1937,1938],{"href":62},[191,1939,61],{},[221,1941,1942],{"align":207},"11.1 KB",[221,1944,1945],{"align":207},"4.2 KB",[202,1947,1948,1954,1957],{},[221,1949,1950],{"align":207},[224,1951,1952],{"href":47},[191,1953,46],{},[221,1955,1956],{"align":207},"13.9 KB",[221,1958,1959],{"align":207},"5.5 KB",[202,1961,1962,1968,1971],{},[221,1963,1964],{"align":207},[224,1965,1966],{"href":52},[191,1967,51],{},[221,1969,1970],{"align":207},"34.3 KB",[221,1972,1973],{"align":207},"13.1 KB",[202,1975,1976,1982,1985],{},[221,1977,1978],{"align":207},[224,1979,1980],{"href":31},[191,1981,30],{},[221,1983,1984],{"align":207},"35.0 KB",[221,1986,1987],{"align":207},"13.3 KB",[202,1989,1990,1997,2000],{},[221,1991,1992],{"align":207},[224,1993,1994],{"href":97},[191,1995,1996],{},"\u003CAnimeTransition>",[221,1998,1999],{"align":207},"37.5 KB",[221,2001,2002],{"align":207},"14.5 KB",[202,2004,2005,2011,2014],{},[221,2006,2007],{"align":207},[224,2008,2009],{"href":67},[191,2010,66],{},[221,2012,2013],{"align":207},"37.8 KB",[221,2015,2016],{"align":207},"14.8 KB",[202,2018,2019,2025,2028],{},[221,2020,2021],{"align":207},[224,2022,2023],{"href":57},[191,2024,56],{},[221,2026,2027],{"align":207},"39.7 KB",[221,2029,2030],{"align":207},"15.0 KB",[202,2032,2033,2039,2042],{},[221,2034,2035],{"align":207},[224,2036,2037],{"href":77},[191,2038,76],{},[221,2040,2041],{"align":207},"47.2 KB",[221,2043,2044],{"align":207},"17.5 KB",[202,2046,2047,2053,2056],{},[221,2048,2049],{"align":207},[224,2050,2051],{"href":72},[191,2052,71],{},[221,2054,2055],{"align":207},"58.8 KB",[221,2057,2058],{"align":207},"20.1 KB",[202,2060,2061,2067,2070],{},[221,2062,2063],{"align":207},[224,2064,2065],{"href":112},[191,2066,239],{},[221,2068,2069],{"align":207},"68.5 KB",[221,2071,2072],{"align":207},"23.8 KB",[202,2074,2075,2081,2084],{},[221,2076,2077],{"align":207},[224,2078,2079],{"href":102},[191,2080,235],{},[221,2082,2083],{"align":207},"75.1 KB",[221,2085,2086],{"align":207},"26.4 KB",[349,2088,2089,281,2091,2093,2094,2096],{},[191,2090,30],{},[191,2092,56],{}," on the same page add 40.8 KB\nminified, not 74.7 KB (35.0 KB + 39.7 KB), because they share the AnimeJS\nanimation engine. ",[191,2095,1996],{}," shares the same engine.",[187,2098,2099,2100,2103],{},"Imports from ",[191,2101,2102],{},"#nanime\u002Fcomposables"," add the same code as auto-imports.",[187,2105,2106,2107,2110,2111,2114],{},"A ",[224,2108,2109],{"href":132},"preset"," adds code only when you import it. The runtime\nnever imports the preset packages, so an app that sets no preset ships\nnone of them. A preset written in ",[191,2112,2113],{},"app.config.ts"," adds only the objects it\nsets.",[2116,2117,2118],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":390,"searchDepth":411,"depth":411,"links":2120},[2121,2132],{"id":363,"depth":411,"text":364,"children":2122},[2123,2125,2126,2127,2129,2130,2131],{"id":368,"depth":439,"text":2124},"Add deps to groups",{"id":680,"depth":439,"text":681},{"id":918,"depth":439,"text":919},{"id":1156,"depth":439,"text":2128},"Use useAnimatable for constant values",{"id":1383,"depth":439,"text":1384},{"id":1664,"depth":439,"text":1665},{"id":1842,"depth":439,"text":1843},{"id":1898,"depth":411,"text":1899},"Make nanime do less work on each render, each frame and each animation.","md",null,{},{"icon":139},{"title":2139,"description":2140},"Animation performance in Nuxt with Anime.js","Speed up nanime: add deps to list and layout groups, run simple animations through WAAPI, and split text by words instead of characters.","vbrqbeC5F79yWP34mzLOUrLdnfmhkcuG1r6ZVyd_JM8",[2143,2145],{"title":131,"path":132,"stem":133,"description":2144,"icon":134,"badge":129,"children":-1},"Set the motion of the whole app, or of part of it, from one object.",{"title":141,"path":142,"stem":143,"description":2146,"icon":144,"children":-1},"Make nanime animations jump to their end state for visitors who ask for less motion.",1794941724500]