UNPKG

react-markdown-typewriter

Version:

React Markdown component where Typewriter effect with motion has been added.

1 lines 131 kB
'use strict';var react=require('react'),jsxRuntime=require('react/jsx-runtime');var ka=Object.create;var ni=Object.defineProperty;var Oa=Object.getOwnPropertyDescriptor;var Ia=Object.getOwnPropertyNames;var ja=Object.getPrototypeOf,Na=Object.prototype.hasOwnProperty;var Ua=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var Ka=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ga=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ia(e))!Na.call(t,i)&&i!==r&&ni(t,i,{get:()=>e[i],enumerable:!(o=Oa(e,i))||o.enumerable});return t};var Wa=(t,e,r)=>(r=t!=null?ka(ja(t)):{},Ga(!t||!t.__esModule?ni(r,"default",{value:t,enumerable:true}):r,t));var ai=Ka((Gm,si)=>{si.exports=function(){return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E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CBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\u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D1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303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uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g};});var Ra=Wa(ai());var Le=react.createContext({});function ui(t){let e=react.useRef(null);return e.current===null&&(e.current=t()),e.current}var Kt=typeof window<"u";var li=Kt?react.useLayoutEffect:react.useEffect;var Gt=react.createContext(null);var ke=react.createContext({transformPagePoint:t=>t,isStatic:false,reducedMotion:"never"});function mi(t=true){let e=react.useContext(Gt);if(e===null)return [true,null];let{isPresent:r,onExitComplete:o,register:i}=e,s=react.useId();react.useEffect(()=>{if(t)return i(s)},[t]);let n=react.useCallback(()=>t&&o&&o(s),[s,o,t]);return !r&&o?[false,n]:[true]}var ye=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Di(t,e){let r=new Set,o=new Set,i=false,s=false,n=new WeakSet,a={delta:0,timestamp:0,isProcessing:false};function m(D){n.has(D)&&(l.schedule(D),t()),D(a);}let l={schedule:(D,c=false,f=false)=>{let g=f&&i?r:o;return c&&n.add(D),g.has(D)||g.add(D),D},cancel:D=>{o.delete(D),n.delete(D);},process:D=>{if(a=D,i){s=true;return}i=true,[r,o]=[o,r],r.forEach(m),r.clear(),i=false,s&&(s=false,l.process(D));}};return l}var G={};var tu=40;function Oe(t,e){let r=false,o=true,i={delta:0,timestamp:0,isProcessing:false},s=()=>r=true,n=ye.reduce((h,T)=>(h[T]=Di(s),h),{}),{setup:a,read:u,resolveKeyframes:m,preUpdate:l,update:D,preRender:c,render:f,postRender:p}=n,g=()=>{let h=G.useManualTiming?i.timestamp:performance.now();r=false,G.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(h-i.timestamp,tu),1)),i.timestamp=h,i.isProcessing=true,a.process(i),u.process(i),m.process(i),l.process(i),D.process(i),c.process(i),f.process(i),p.process(i),i.isProcessing=false,r&&e&&(o=false,t(g));},F=()=>{r=true,o=true,i.isProcessing||t(g);};return {schedule:ye.reduce((h,T)=>{let y=n[T];return h[T]=(B,L=false,v=false)=>(r||F(),y.schedule(B,L,v)),h},{}),cancel:h=>{for(let T=0;T<ye.length;T++)n[ye[T]].cancel(h);},state:i,steps:n}}var P=t=>t;var{schedule:E,cancel:Y,state:M,steps:Ie}=Oe(typeof requestAnimationFrame<"u"?requestAnimationFrame:P,true);var je=react.createContext({strict:false});var ci={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ut={};for(let t in ci)ut[t]={isEnabled:e=>ci[t].some(r=>!!e[r])};function fi(t){for(let e in t)ut[e]={...ut[e],...t[e]};}var ru=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function xe(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ru.has(t)}var pi=t=>!xe(t);function ou(t){t&&(pi=e=>e.startsWith("on")?!xe(e):t(e));}try{ou(Ua("@emotion/is-prop-valid").default);}catch{}function hi(t,e,r){let o={};for(let i in t)i==="values"&&typeof t.values=="object"||(pi(i)||r===true&&xe(i)||!e&&!xe(i)||t.draggable&&i.startsWith("onDrag"))&&(o[i]=t[i]);return o}var di=new Set;function Wt(t,e,r){t||di.has(e)||(console.warn(e),di.add(e));}function gi(t){if(typeof Proxy>"u")return t;let e=new Map,r=(...o)=>(process.env.NODE_ENV!=="production"&&Wt(false,"motion() is deprecated. Use motion.create() instead."),t(...o));return new Proxy(r,{get:(o,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}var gt=react.createContext({});function Ct(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function lt(t){return typeof t=="string"||Array.isArray(t)}var Ne=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ee=["initial",...Ne];function Pt(t){return Ct(t.animate)||Ee.some(e=>lt(t[e]))}function Ue(t){return !!(Pt(t)||t.variants)}function Ci(t,e){if(Pt(t)){let{initial:r,animate:o}=t;return {initial:r===false||lt(r)?r:void 0,animate:lt(o)?o:void 0}}return t.inherit!==false?e:{}}function yi(t){let{initial:e,animate:r}=Ci(t,react.useContext(gt));return react.useMemo(()=>({initial:e,animate:r}),[Fi(e),Fi(r)])}function Fi(t){return Array.isArray(t)?t.join(" "):t}var xi=Symbol.for("motionComponentSymbol");function mt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Ei(t,e,r){return react.useCallback(o=>{o&&t.onMount&&t.onMount(o),e&&(o?e.mount(o):e.unmount()),r&&(typeof r=="function"?r(o):mt(r)&&(r.current=o));},[e])}var $t=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var uu="framerAppearId",Ke="data-"+$t(uu);var Ge=react.createContext({});var{schedule:zt}=Oe(queueMicrotask,false);function vi(t,e,r,o,i){let{visualElement:s}=react.useContext(gt),n=react.useContext(je),a=react.useContext(Gt),u=react.useContext(ke).reducedMotion,m=react.useRef(null);o=o||n.renderer,!m.current&&o&&(m.current=o(t,{visualState:e,parent:s,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===false:false,reducedMotionConfig:u}));let l=m.current,D=react.useContext(Ge);l&&!l.projection&&i&&(l.type==="html"||l.type==="svg")&&cu(m.current,r,i,D);let c=react.useRef(false);react.useInsertionEffect(()=>{l&&c.current&&l.update(r,a);});let f=r[Ke],p=react.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return li(()=>{l&&(c.current=true,window.MotionIsMounted=true,l.updateFeatures(),zt.render(l.render),p.current&&l.animationState&&l.animationState.animateChanges());}),react.useEffect(()=>{l&&(!p.current&&l.animationState&&l.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f);}),p.current=false));}),l}function cu(t,e,r,o){let{layoutId:i,layout:s,drag:n,dragConstraints:a,layoutScroll:u,layoutRoot:m,layoutCrossfade:l}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:Ai(t.parent)),t.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!n||a&&mt(a),visualElement:t,animationType:typeof s=="string"?s:"both",initialPromotionConfig:o,crossfade:l,layoutScroll:u,layoutRoot:m});}function Ai(t){if(t)return t.options.allowProjection!==false?t.projection:Ai(t.parent)}var Q=()=>{},N=()=>{};process.env.NODE_ENV!=="production"&&(Q=(t,e)=>{!t&&typeof console<"u"&&console.warn(e);},N=(t,e)=>{if(!t)throw new Error(e)});function Ti({preloadedFeatures:t,createVisualElement:e,useRender:r,useVisualState:o,Component:i}){t&&fi(t);function s(a,u){let m,l={...react.useContext(ke),...a,layoutId:du(a)},{isStatic:D}=l,c=yi(a),f=o(a,D);if(!D&&Kt){gu(l,t);let p=Cu(l);m=p.MeasureLayout,c.visualElement=vi(i,f,l,e,p.ProjectionNode);}return jsxRuntime.jsxs(gt.Provider,{value:c,children:[m&&c.visualElement?jsxRuntime.jsx(m,{visualElement:c.visualElement,...l}):null,r(i,a,Ei(f,c.visualElement,u),f,D,c.visualElement)]})}s.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;let n=react.forwardRef(s);return n[xi]=i,n}function du({layoutId:t}){let e=react.useContext(Le).id;return e&&t!==void 0?e+"-"+t:t}function gu(t,e){let r=react.useContext(je).strict;if(process.env.NODE_ENV!=="production"&&e&&r){let o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Q(false,o):N(false,o);}}function Cu(t){let{drag:e,layout:r}=ut;if(!e&&!r)return {};let o={...e,...r};return {MeasureLayout:e?.isEnabled(t)||r?.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}var Bi=t=>e=>typeof e=="string"&&e.startsWith(t),Ht=Bi("--"),Fu=Bi("var(--"),_t=t=>Fu(t)?yu.test(t.split("/*")[0].trim()):false,yu=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var Mt={};function Si(t){for(let e in t)Mt[e]=t[e],Ht(e)&&(Mt[e].isCSSVariable=true);}var et=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Z=new Set(et);function We(t,{layout:e,layoutId:r}){return Z.has(t)||t.startsWith("origin")||(e||r!==void 0)&&(!!Mt[t]||t==="opacity")}var S=t=>!!(t&&t.getVelocity);var $e=(t,e)=>e&&typeof t=="number"?e.transform(t):t;var j=(t,e,r)=>r>e?e:r<t?t:r;var rt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Dt={...rt,transform:t=>j(0,1,t)},Ae={...rt,default:1};var lo={...rt,transform:Math.round};var Te=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),ot=Te("deg"),W=Te("%"),C=Te("px"),Vi=Te("vh"),bi=Te("vw"),mo={...W,parse:t=>W.parse(t)/100,transform:t=>W.transform(t*100)};var Pi={rotate:ot,rotateX:ot,rotateY:ot,rotateZ:ot,scale:Ae,scaleX:Ae,scaleY:Ae,scaleZ:Ae,skew:ot,skewX:ot,skewY:ot,distance:C,translateX:C,translateY:C,translateZ:C,x:C,y:C,z:C,perspective:C,transformPerspective:C,opacity:Dt,originX:mo,originY:mo,originZ:C};var Yt={borderWidth:C,borderTopWidth:C,borderRightWidth:C,borderBottomWidth:C,borderLeftWidth:C,borderRadius:C,radius:C,borderTopLeftRadius:C,borderTopRightRadius:C,borderBottomRightRadius:C,borderBottomLeftRadius:C,width:C,maxWidth:C,height:C,maxHeight:C,top:C,right:C,bottom:C,left:C,padding:C,paddingTop:C,paddingRight:C,paddingBottom:C,paddingLeft:C,margin:C,marginTop:C,marginRight:C,marginBottom:C,marginLeft:C,backgroundPositionX:C,backgroundPositionY:C,...Pi,zIndex:lo,fillOpacity:Dt,strokeOpacity:Dt,numOctaves:lo};var xu={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Eu=et.length;function Mi(t,e,r){let o="",i=true;for(let s=0;s<Eu;s++){let n=et[s],a=t[n];if(a===void 0)continue;let u=true;if(typeof a=="number"?u=a===(n.startsWith("scale")?1:0):u=parseFloat(a)===0,!u||r){let m=$e(a,Yt[n]);if(!u){i=false;let l=xu[n]||n;o+=`${l}(${m}) `;}r&&(e[n]=m);}}return o=o.trim(),r?o=r(e,i?"":o):i&&(o="none"),o}function Xt(t,e,r){let{style:o,vars:i,transformOrigin:s}=t,n=false,a=false;for(let u in e){let m=e[u];if(Z.has(u)){n=true;continue}else if(Ht(u)){i[u]=m;continue}else {let l=$e(m,Yt[u]);u.startsWith("origin")?(a=true,s[u]=l):o[u]=l;}}if(e.transform||(n||r?o.transform=Mi(e,t.transform,r):o.transform&&(o.transform="none")),a){let{originX:u="50%",originY:m="50%",originZ:l=0}=s;o.transformOrigin=`${u} ${m} ${l}`;}}var qt=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Do(t,e,r){for(let o in e)!S(e[o])&&!We(o,r)&&(t[o]=e[o]);}function Au({transformTemplate:t},e){return react.useMemo(()=>{let r=qt();return Xt(r,e,t),Object.assign({},r.vars,r.style)},[e])}function Tu(t,e){let r=t.style||{},o={};return Do(o,r,t),Object.assign(o,Au(t,e)),o}function wi(t,e){let r={},o=Tu(t,e);return t.drag&&t.dragListener!==false&&(r.draggable=false,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===true?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r}var Ri=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Zt(t){return typeof t!="string"||t.includes("-")?false:!!(Ri.indexOf(t)>-1||/[A-Z]/u.test(t))}var Bu={offset:"stroke-dashoffset",array:"stroke-dasharray"},Su={offset:"strokeDashoffset",array:"strokeDasharray"};function Li(t,e,r=1,o=0,i=true){t.pathLength=1;let s=i?Bu:Su;t[s.offset]=C.transform(-o);let n=C.transform(e),a=C.transform(r);t[s.array]=`${n} ${a}`;}function ze(t,{attrX:e,attrY:r,attrScale:o,pathLength:i,pathSpacing:s=1,pathOffset:n=0,...a},u,m,l){if(Xt(t,a,m),u){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:D,style:c}=t;D.transform&&(c.transform=D.transform,delete D.transform),(c.transform||D.transformOrigin)&&(c.transformOrigin=D.transformOrigin??"50% 50%",delete D.transformOrigin),c.transform&&(c.transformBox=l?.transformBox??"fill-box",delete D.transformBox),e!==void 0&&(D.x=e),r!==void 0&&(D.y=r),o!==void 0&&(D.scale=o),i!==void 0&&Li(D,i,s,n,false);}var He=()=>({...qt(),attrs:{}});var _e=t=>typeof t=="string"&&t.toLowerCase()==="svg";function ki(t,e,r,o){let i=react.useMemo(()=>{let s=He();return ze(s,e,_e(o),t.transformTemplate,t.style),{...s.attrs,style:{...s.style}}},[e]);if(t.style){let s={};Do(s,t.style,t),i.style={...s,...i.style};}return i}function Oi(t=false){return (r,o,i,{latestValues:s},n)=>{let u=(Zt(r)?ki:wi)(o,s,n,r),m=hi(o,typeof r=="string",t),l=r!==react.Fragment?{...m,...u,ref:i}:{},{children:D}=o,c=react.useMemo(()=>S(D)?D.get():D,[D]);return react.createElement(r,{...l,children:c})}}function Ii(t){let e=[{},{}];return t?.values.forEach((r,o)=>{e[0][o]=r.get(),e[1][o]=r.getVelocity();}),e}function Jt(t,e,r,o){if(typeof e=="function"){let[i,s]=Ii(o);e=e(r!==void 0?r:t.custom,i,s);}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){let[i,s]=Ii(o);e=e(r!==void 0?r:t.custom,i,s);}return e}function Qt(t){return S(t)?t.get():t}function wu({scrapeMotionValuesFromProps:t,createRenderState:e},r,o,i){return {latestValues:Ru(r,o,i,t),renderState:e()}}var Ye=t=>(e,r)=>{let o=react.useContext(gt),i=react.useContext(Gt),s=()=>wu(t,e,o,i);return r?s():ui(s)};function Ru(t,e,r,o){let i={},s=o(t,{});for(let c in s)i[c]=Qt(s[c]);let{initial:n,animate:a}=t,u=Pt(t),m=Ue(t);e&&m&&!u&&t.inherit!==false&&(n===void 0&&(n=e.initial),a===void 0&&(a=e.animate));let l=r?r.initial===false:false;l=l||n===false;let D=l?a:n;if(D&&typeof D!="boolean"&&!Ct(D)){let c=Array.isArray(D)?D:[D];for(let f=0;f<c.length;f++){let p=Jt(t,c[f]);if(p){let{transitionEnd:g,transition:F,...d}=p;for(let x in d){let h=d[x];if(Array.isArray(h)){let T=l?h.length-1:0;h=h[T];}h!==null&&(i[x]=h);}for(let x in g)i[x]=g[x];}}}return i}function te(t,e,r){let{style:o}=t,i={};for(let s in o)(S(o[s])||e.style&&S(e.style[s])||We(s,t)||r?.getValue(s)?.liveStyle!==void 0)&&(i[s]=o[s]);return i}var Ni={useVisualState:Ye({scrapeMotionValuesFromProps:te,createRenderState:qt})};function Xe(t,e,r){let o=te(t,e,r);for(let i in t)if(S(t[i])||S(e[i])){let s=et.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[s]=t[i];}return o}var Ui={useVisualState:Ye({scrapeMotionValuesFromProps:Xe,createRenderState:He})};function Ki(t,e){return function(o,{forwardMotionProps:i}={forwardMotionProps:false}){let n={...Zt(o)?Ui:Ni,preloadedFeatures:t,useRender:Oi(i),createVisualElement:e,Component:o};return Ti(n)}}function ct(t,e,r){let o=t.getProps();return Jt(o,e,r!==void 0?r:o.custom,t)}var Be=t=>Array.isArray(t);var qe;function Lu(){qe=void 0;}var w={now:()=>(qe===void 0&&w.set(M.isProcessing||G.useManualTiming?M.timestamp:performance.now()),qe),set:t=>{qe=t,queueMicrotask(Lu);}};function ee(t,e){t.indexOf(e)===-1&&t.push(e);}function re(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1);}var Ft=class{constructor(){this.subscriptions=[];}add(e){return ee(this.subscriptions,e),()=>re(this.subscriptions,e)}notify(e,r,o){let i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,r,o);else for(let s=0;s<i;s++){let n=this.subscriptions[s];n&&n(e,r,o);}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0;}};function Ze(t,e){return e?t*(1e3/e):0}var Gi=30,ku=t=>!isNaN(parseFloat(t)),co=class{constructor(e,r={}){this.version="__VERSION__",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,i=true)=>{let s=w.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let n of this.dependents)n.dirty();i&&this.events.renderRequest?.notify(this.current);},this.hasAnimated=false,this.setCurrent(e),this.owner=r.owner;}setCurrent(e){this.current=e,this.updatedAt=w.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ku(this.current));}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt;}onChange(e){return process.env.NODE_ENV!=="production"&&Wt(false,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,r){this.events[e]||(this.events[e]=new Ft);let o=this.events[e].add(r);return e==="change"?()=>{o(),E.read(()=>{this.events.change.getSize()||this.stop();});}:o}clearListeners(){for(let e in this.events)this.events[e].clear();}attach(e,r){this.passiveEffect=e,this.stopPassiveEffect=r;}set(e,r=true){!r||!this.passiveEffect?this.updateAndNotify(e,r):this.passiveEffect(e,this.updateAndNotify);}setWithVelocity(e,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-o;}jump(e,r=true){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect();}dirty(){this.events.change?.notify(this.current);}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e);}removeDependent(e){this.dependents&&this.dependents.delete(e);}get(){return this.current}getPrevious(){return this.prev}getVelocity(){let e=w.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Gi)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,Gi);return Ze(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(e){return this.stop(),new Promise(r=>{this.hasAnimated=true,this.animation=e(r),this.events.animationStart&&this.events.animationStart.notify();}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation();})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation();}isAnimating(){return !!this.animation}clearAnimation(){delete this.animation;}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect();}};function tt(t,e){return new co(t,e)}function Ou(t,e,r){t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,tt(r));}function Iu(t){return Be(t)?t[t.length-1]||0:t}function $i(t,e){let r=ct(t,e),{transitionEnd:o={},transition:i={},...s}=r||{};s={...s,...o};for(let n in s){let a=Iu(s[n]);Ou(t,n,a);}}function zi(t){return !!(S(t)&&t.add)}function Se(t,e){let r=t.getValue("willChange");if(zi(r))return r.add(e);if(!r&&G.WillChange){let o=new G.WillChange("auto");t.addValue("willChange",o),o.add(e);}}function Je(t){return t.props[Ke]}var ju=t=>t!==null;function Hi(t,{repeat:e,repeatType:r="loop"},o){let i=t.filter(ju),s=e&&r!=="loop"&&e%2===1?0:i.length-1;return !s||o===void 0?i[s]:o}var Nu={type:"spring",stiffness:500,damping:25,restSpeed:10},Uu=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Ku={type:"keyframes",duration:.8},Gu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_i=(t,{keyframes:e})=>e.length>2?Ku:Z.has(t)?t.startsWith("scale")?Uu(e[1]):Nu:Gu;function Yi({when:t,delay:e,delayChildren:r,staggerChildren:o,staggerDirection:i,repeat:s,repeatType:n,repeatDelay:a,from:u,elapsed:m,...l}){return !!Object.keys(l).length}function oe(t,e){return t?.[e]??t?.default??t}var O=t=>t*1e3,U=t=>t/1e3;var yt=t=>Math.round(t*1e5)/1e5;var ie=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Xi(t){return t==null}var qi=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var ne=(t,e)=>r=>!!(typeof r=="string"&&qi.test(r)&&r.startsWith(t)||e&&!Xi(r)&&Object.prototype.hasOwnProperty.call(r,e)),Qe=(t,e,r)=>o=>{if(typeof o!="string")return o;let[i,s,n,a]=o.match(ie);return {[t]:parseFloat(i),[e]:parseFloat(s),[r]:parseFloat(n),alpha:a!==void 0?parseFloat(a):1}};var Wu=t=>j(0,255,t),fo={...rt,transform:t=>Math.round(Wu(t))},nt={test:ne("rgb","red"),parse:Qe("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:o=1})=>"rgba("+fo.transform(t)+", "+fo.transform(e)+", "+fo.transform(r)+", "+yt(Dt.transform(o))+")"};function $u(t){let e="",r="",o="",i="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),o=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),o=t.substring(3,4),i=t.substring(4,5),e+=e,r+=r,o+=o,i+=i),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}var Ve={test:ne("#"),parse:$u,transform:nt.transform};var xt={test:ne("hsl","hue"),parse:Qe("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:o=1})=>"hsla("+Math.round(t)+", "+W.transform(yt(e))+", "+W.transform(yt(r))+", "+yt(Dt.transform(o))+")"};var R={test:t=>nt.test(t)||Ve.test(t)||xt.test(t),parse:t=>nt.test(t)?nt.parse(t):xt.test(t)?xt.parse(t):Ve.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?nt.transform(t):xt.transform(t)};var Zi=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function zu(t){return isNaN(t)&&typeof t=="string"&&(t.match(ie)?.length||0)+(t.match(Zi)?.length||0)>0}var Qi="number",tn="color",Hu="var",_u="var(",Ji="${}",Yu=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function wt(t){let e=t.toString(),r=[],o={color:[],number:[],var:[]},i=[],s=0,a=e.replace(Yu,u=>(R.test(u)?(o.color.push(s),i.push(tn),r.push(R.parse(u))):u.startsWith(_u)?(o.var.push(s),i.push(Hu),r.push(u)):(o.number.push(s),i.push(Qi),r.push(parseFloat(u))),++s,Ji)).split(Ji);return {values:r,split:a,indexes:o,types:i}}function en(t){return wt(t).values}function rn(t){let{split:e,types:r}=wt(t),o=e.length;return i=>{let s="";for(let n=0;n<o;n++)if(s+=e[n],i[n]!==void 0){let a=r[n];a===Qi?s+=yt(i[n]):a===tn?s+=R.transform(i[n]):s+=i[n];}return s}}var Xu=t=>typeof t=="number"?0:t;function qu(t){let e=en(t);return rn(t)(e.map(Xu))}var $={test:zu,parse:en,createTransformer:rn,getAnimatableNone:qu};function po(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function on({hue:t,saturation:e,lightness:r,alpha:o}){t/=360,e/=100,r/=100;let i=0,s=0,n=0;if(!e)i=s=n=r;else {let a=r<.5?r*(1+e):r+e-r*e,u=2*r-a;i=po(u,a,t+1/3),s=po(u,a,t),n=po(u,a,t-1/3);}return {red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(n*255),alpha:o}}function se(t,e){return r=>r>0?e:t}var A=(t,e,r)=>t+(e-t)*r;var ho=(t,e,r)=>{let o=t*t,i=r*(e*e-o)+o;return i<0?0:Math.sqrt(i)},Zu=[Ve,nt,xt],Ju=t=>Zu.find(e=>e.test(t));function nn(t){let e=Ju(t);if(Q(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return false;let r=e.parse(t);return e===xt&&(r=on(r)),r}var go=(t,e)=>{let r=nn(t),o=nn(e);if(!r||!o)return se(t,e);let i={...r};return s=>(i.red=ho(r.red,o.red,s),i.green=ho(r.green,o.green,s),i.blue=ho(r.blue,o.blue,s),i.alpha=A(r.alpha,o.alpha,s),nt.transform(i))};var tr=new Set(["none","hidden"]);function sn(t,e){return tr.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}var Qu=(t,e)=>r=>e(t(r)),st=(...t)=>t.reduce(Qu);function tl(t,e){return r=>A(t,e,r)}function er(t){return typeof t=="number"?tl:typeof t=="string"?_t(t)?se:R.test(t)?go:ol:Array.isArray(t)?an:typeof t=="object"?R.test(t)?go:el:se}function an(t,e){let r=[...t],o=r.length,i=t.map((s,n)=>er(s)(s,e[n]));return s=>{for(let n=0;n<o;n++)r[n]=i[n](s);return r}}function el(t,e){let r={...t,...e},o={};for(let i in r)t[i]!==void 0&&e[i]!==void 0&&(o[i]=er(t[i])(t[i],e[i]));return i=>{for(let s in o)r[s]=o[s](i);return r}}function rl(t,e){let r=[],o={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){let s=e.types[i],n=t.indexes[s][o[s]],a=t.values[n]??0;r[i]=a,o[s]++;}return r}var ol=(t,e)=>{let r=$.createTransformer(e),o=wt(t),i=wt(e);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?tr.has(t)&&!i.values.length||tr.has(e)&&!o.values.length?sn(t,e):st(an(rl(o,i),i.values),r):(Q(true,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),se(t,e))};function rr(t,e,r){return typeof t=="number"&&typeof e=="number"&&typeof r=="number"?A(t,e,r):er(t)(t,e)}var un=t=>{let e=({timestamp:r})=>t(r);return {start:(r=true)=>E.update(e,r),stop:()=>Y(e),now:()=>M.isProcessing?M.timestamp:w.now()}};var or=(t,e,r=10)=>{let o="",i=Math.max(Math.round(e/r),2);for(let s=0;s<i;s++)o+=t(s/(i-1))+", ";return `linear(${o.substring(0,o.length-2)})`};function ae(t){let e=0,r=50,o=t.next(e);for(;!o.done&&e<2e4;)e+=r,o=t.next(e);return e>=2e4?1/0:e}function ln(t,e=100,r){let o=r({...t,keyframes:[0,e]}),i=Math.min(ae(o),2e4);return {type:"keyframes",ease:s=>o.next(i*s).value/e,duration:U(i)}}var il=5;function ir(t,e,r){let o=Math.max(e-il,0);return Ze(r-t(o),e-o)}var V={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var Fo=.001;function mn({duration:t=V.duration,bounce:e=V.bounce,velocity:r=V.velocity,mass:o=V.mass}){let i,s;Q(t<=O(V.maxDuration),"Spring duration must be 10 seconds or less");let n=1-e;n=j(V.minDamping,V.maxDamping,n),t=j(V.minDuration,V.maxDuration,U(t)),n<1?(i=m=>{let l=m*n,D=l*t,c=l-r,f=nr(m,n),p=Math.exp(-D);return Fo-c/f*p},s=m=>{let D=m*n*t,c=D*r+r,f=Math.pow(n,2)*Math.pow(m,2)*t,p=Math.exp(-D),g=nr(Math.pow(m,2),n);return (-i(m)+Fo>0?-1:1)*((c-f)*p)/g}):(i=m=>{let l=Math.exp(-m*t),D=(m-r)*t+1;return -1e-3+l*D},s=m=>{let l=Math.exp(-m*t),D=(r-m)*(t*t);return l*D});let a=5/t,u=sl(i,s,a);if(t=O(t),isNaN(u))return {stiffness:V.stiffness,damping:V.damping,duration:t};{let m=Math.pow(u,2)*o;return {stiffness:m,damping:n*2*Math.sqrt(o*m),duration:t}}}var nl=12;function sl(t,e,r){let o=r;for(let i=1;i<nl;i++)o=o-t(o)/e(o);return o}function nr(t,e){return t*Math.sqrt(1-e*e)}var al=["duration","bounce"],ul=["stiffness","damping","mass"];function Dn(t,e){return e.some(r=>t[r]!==void 0)}function ll(t){let e={velocity:V.velocity,stiffness:V.stiffness,damping:V.damping,mass:V.mass,isResolvedFromDuration:false,...t};if(!Dn(t,ul)&&Dn(t,al))if(t.visualDuration){let r=t.visualDuration,o=2*Math.PI/(r*1.2),i=o*o,s=2*j(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:V.mass,stiffness:i,damping:s};}else {let r=mn(t);e={...e,...r,mass:V.mass},e.isResolvedFromDuration=true;}return e}function ue(t=V.visualDuration,e=V.bounce){let r=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:o,restDelta:i}=r,s=r.keyframes[0],n=r.keyframes[r.keyframes.length-1],a={done:false,value:s},{stiffness:u,damping:m,mass:l,duration:D,velocity:c,isResolvedFromDuration:f}=ll({...r,velocity:-U(r.velocity||0)}),p=c||0,g=m/(2*Math.sqrt(u*l)),F=n-s,d=U(Math.sqrt(u/l)),x=Math.abs(F)<5;o||(o=x?V.restSpeed.granular:V.restSpeed.default),i||(i=x?V.restDelta.granular:V.restDelta.default);let h;if(g<1){let y=nr(d,g);h=B=>{let L=Math.exp(-g*d*B);return n-L*((p+g*d*F)/y*Math.sin(y*B)+F*Math.cos(y*B))};}else if(g===1)h=y=>n-Math.exp(-d*y)*(F+(p+d*F)*y);else {let y=d*Math.sqrt(g*g-1);h=B=>{let L=Math.exp(-g*d*B),v=Math.min(y*B,300);return n-L*((p+g*d*F)*Math.sinh(v)+y*F*Math.cosh(v))/y};}let T={calculatedDuration:f&&D||null,next:y=>{let B=h(y);if(f)a.done=y>=D;else {let L=y===0?p:0;g<1&&(L=y===0?O(p):ir(h,y,B));let v=Math.abs(L)<=o,z=Math.abs(n-B)<=i;a.done=v&&z;}return a.value=a.done?n:B,a},toString:()=>{let y=Math.min(ae(T),2e4),B=or(L=>T.next(y*L).value,y,30);return y+"ms "+B},toTransition:()=>{}};return T}ue.applyToOptions=t=>{let e=ln(t,100,ue);return t.ease=e.ease,t.duration=O(e.duration),t.type="keyframes",t};function be({keyframes:t,velocity:e=0,power:r=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:n,min:a,max:u,restDelta:m=.5,restSpeed:l}){let D=t[0],c={done:false,value:D},f=v=>a!==void 0&&v<a||u!==void 0&&v>u,p=v=>a===void 0?u:u===void 0||Math.abs(a-v)<Math.abs(u-v)?a:u,g=r*e,F=D+g,d=n===void 0?F:n(F);d!==F&&(g=d-D);let x=v=>-g*Math.exp(-v/o),h=v=>d+x(v),T=v=>{let z=x(v),q=h(v);c.done=Math.abs(z)<=m,c.value=c.done?d:q;},y,B,L=v=>{f(c.value)&&(y=v,B=ue({keyframes:[c.value,p(c.value)],velocity:ir(h,v,c.value),damping:i,stiffness:s,restDelta:m,restSpeed:l}));};return L(0),{calculatedDuration:null,next:v=>{let z=false;return !B&&y===void 0&&(z=true,T(v),L(v)),y!==void 0&&v>=y?B.next(v-y):(!z&&T(v),c)}}}var ft=(t,e,r)=>{let o=e-t;return o===0?1:(r-t)/o};function ml(t,e,r){let o=[],i=r||G.mix||rr,s=t.length-1;for(let n=0;n<s;n++){let a=i(t[n],t[n+1]);if(e){let u=Array.isArray(e)?e[n]||P:e;a=st(u,a);}o.push(a);}return o}function cn(t,e,{clamp:r=true,ease:o,mixer:i}={}){let s=t.length;if(N(s===e.length,"Both input and output ranges must be the same length"),s===1)return ()=>e[0];if(s===2&&e[0]===e[1])return ()=>e[1];let n=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=ml(e,o,i),u=a.length,m=l=>{if(n&&l<t[0])return e[0];let D=0;if(u>1)for(;D<t.length-2&&!(l<t[D+1]);D++);let c=ft(t[D],t[D+1],l);return a[D](c)};return r?l=>m(j(t[0],t[s-1],l)):m}function fn(t,e){let r=t[t.length-1];for(let o=1;o<=e;o++){let i=ft(0,e,o);t.push(A(r,1,i));}}function pn(t){let e=[0];return fn(e,t.length-1),e}function hn(t,e){return t.map(r=>r*e)}var dn=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t,Dl=1e-7,cl=12;function fl(t,e,r,o,i){let s,n,a=0;do n=e+(r-e)/2,s=dn(n,o,i)-t,s>0?r=n:e=n;while(Math.abs(s)>Dl&&++a<cl);return n}function Et(t,e,r,o){if(t===e&&r===o)return P;let i=s=>fl(s,0,1,t,r);return s=>s===0||s===1?s:dn(i(s),e,o)}var gn=Et(.42,0,1,1),Cn=Et(0,0,.58,1),sr=Et(.42,0,.58,1);var Fn=t=>Array.isArray(t)&&typeof t[0]!="number";var ar=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2;var ur=t=>e=>1-t(1-e);var yo=Et(.33,1.53,.69,.99),Pe=ur(yo),lr=ar(Pe);var mr=t=>(t*=2)<1?.5*Pe(t):.5*(2-Math.pow(2,-10*(t-1)));var Dr=t=>1-Math.sin(Math.acos(t)),cr=ur(Dr),fr=ar(Dr);var pr=t=>Array.isArray(t)&&typeof t[0]=="number";var yn={linear:P,easeIn:gn,easeInOut:sr,easeOut:Cn,circIn:Dr,circInOut:fr,circOut:cr,backIn:Pe,backInOut:lr,backOut:yo,anticipate:mr},pl=t=>typeof t=="string",xo=t=>{if(pr(t)){N(t.length===4,"Cubic bezier arrays must contain four numerical values.");let[e,r,o,i]=t;return Et(e,r,o,i)}else if(pl(t))return N(yn[t]!==void 0,`Invalid easing type '${t}'`),yn[t];return t};function hl(t,e){return t.map(()=>e||sr).splice(0,t.length-1)}function vt({duration:t=300,keyframes:e,times:r,ease:o="easeInOut"}){let i=Fn(o)?o.map(xo):xo(o),s={done:false,value:e[0]},n=hn(r&&r.length===e.length?r:pn(e),t),a=cn(n,e,{ease:Array.isArray(i)?i:hl(e,i)});return {calculatedDuration:t,next:u=>(s.value=a(u),s.done=u>=t,s)}}var dl=t=>t!==null;function le(t,{repeat:e,repeatType:r="loop"},o,i=1){let s=t.filter(dl),a=i<0||e&&r!=="loop"&&e%2===1?0:s.length-1;return !a||o===void 0?s[a]:o}var gl={decay:be,inertia:be,tween:vt,keyframes:vt,spring:ue};function hr(t){typeof t.type=="string"&&(t.type=gl[t.type]);}var At=class{constructor(){this.count=0,this.updateFinished();}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise(e=>{this.resolve=e;});}notifyFinished(){this.resolve();}then(e,r){return this.finished.then(e,r)}};var Cl=t=>t/100,Tt=class extends At{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=false,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=(r=true)=>{if(r){let{motionValue:i}=this.options;i&&i.updatedAt!==w.now()&&this.tick(w.now());}if(this.isStopped=true,this.state==="idle")return;this.teardown();let{onStop:o}=this.options;o&&o();},this.options=e,this.initAnimation(),this.play(),e.autoplay===false&&this.pause();}initAnimation(){let{options:e}=this;hr(e);let{type:r=vt,repeat:o=0,repeatDelay:i=0,repeatType:s,velocity:n=0}=e,{keyframes:a}=e,u=r||vt;process.env.NODE_ENV!=="production"&&u!==vt&&N(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`),u!==vt&&typeof a[0]!="number"&&(this.mixKeyframes=st(Cl,rr(a[0],a[1])),a=[0,100]);let m=u({...e,keyframes:a});s==="mirror"&&(this.mirroredGenerator=u({...e,keyframes:[...a].reverse(),velocity:-n})),m.calculatedDuration===null&&(m.calculatedDuration=ae(m));let{calculatedDuration:l}=m;this.calculatedDuration=l,this.resolvedDuration=l+i,this.totalDuration=this.resolvedDuration*(o+1)-i,this.generator=m;}updateTime(e){let r=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r;}tick(e,r=false){let{generator:o,totalDuration:i,mixKeyframes:s,mirroredGenerator:n,resolvedDuration:a,calculatedDuration:u}=this;if(this.startTime===null)return o.next(0);let{delay:m=0,keyframes:l,repeat:D,repeatType:c,repeatDelay:f,type:p,onUpdate:g,finalKeyframe:F}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),r?this.currentTime=e:this.updateTime(e);let d=th