huhaa-myskills 0.2.13 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/README.md +9 -375
  2. package/bin/huhaa-myskills.mjs +194 -12
  3. package/{scripts → build}/verify.mjs +3 -1
  4. package/docs/Frontend-Spec.md +1149 -0
  5. package/docs/assets/layout-wireframe.png +0 -0
  6. package/docs/assets/theme-reference.png +0 -0
  7. package/docs/scan_rules.md +172 -0
  8. package/package.json +33 -9
  9. package/packages/scanner/src/adapters/directory-skill.mjs +239 -0
  10. package/packages/scanner/src/adapters/skill-adapter.mjs +345 -0
  11. package/packages/scanner/src/icon/brand-map.mjs +84 -0
  12. package/packages/scanner/src/icon/icon-extractor.mjs +246 -0
  13. package/packages/scanner/src/index.mjs +107 -82
  14. package/packages/scanner/src/types.d.ts +18 -0
  15. package/packages/scanner/test/icon.test.mjs +61 -0
  16. package/packages/scanner/test/scanner.test.mjs +37 -41
  17. package/packages/scanner/test/skill-adapter.test.mjs +70 -0
  18. package/packages/scanner/tests/directory-skill.test.mjs +93 -0
  19. package/packages/scanner/tests/scanner-integration.test.mjs +139 -0
  20. package/packages/server/src/index.mjs +164 -12
  21. package/packages/server/src/labels.mjs +62 -0
  22. package/packages/server/test/server.test.mjs +1 -1
  23. package/packages/web/README.md +33 -2
  24. package/packages/web/dist/assets/index-BCY2cRaO.js +175 -0
  25. package/packages/web/dist/assets/index-DALKjJPi.css +1 -0
  26. package/packages/web/dist/favicon-16x16.png +0 -0
  27. package/packages/web/dist/favicon-192x192.png +0 -0
  28. package/packages/web/dist/favicon-32x32.png +0 -0
  29. package/packages/web/dist/favicon-512x512.png +0 -0
  30. package/packages/web/dist/favicon-source.svg +5 -0
  31. package/packages/web/dist/index.html +23 -9
  32. package/packages/web/index.html +22 -8
  33. package/packages/web/package-lock.json +2989 -0
  34. package/packages/web/package.json +21 -8
  35. package/packages/web/postcss.config.js +6 -0
  36. package/packages/web/public/favicon-16x16.png +0 -0
  37. package/packages/web/public/favicon-192x192.png +0 -0
  38. package/packages/web/public/favicon-32x32.png +0 -0
  39. package/packages/web/public/favicon-512x512.png +0 -0
  40. package/packages/web/public/favicon-source.svg +5 -0
  41. package/packages/web/src/App.test.ts +40 -0
  42. package/packages/web/src/App.tsx +177 -0
  43. package/packages/web/src/components/ComingSoon.tsx +14 -0
  44. package/packages/web/src/components/layout/Sidebar.test.tsx +74 -0
  45. package/packages/web/src/components/layout/Sidebar.tsx +114 -0
  46. package/packages/web/src/components/layout/Topbar.tsx +74 -0
  47. package/packages/web/src/components/ui/ActionButton.tsx +48 -0
  48. package/packages/web/src/components/ui/button.tsx +48 -0
  49. package/packages/web/src/components/ui/card.tsx +45 -0
  50. package/packages/web/src/components/views/DashboardView.tsx +122 -0
  51. package/packages/web/src/components/views/OtherSkillsView.test.tsx +126 -0
  52. package/packages/web/src/components/views/OtherSkillsView.tsx +306 -0
  53. package/packages/web/src/components/views/SettingsView.tsx +95 -0
  54. package/packages/web/src/components/views/SkillDetail.test.tsx +57 -0
  55. package/packages/web/src/components/views/SkillDetail.tsx +81 -0
  56. package/packages/web/src/components/views/SkillsView.test.ts +28 -0
  57. package/packages/web/src/components/views/SkillsView.tsx +226 -0
  58. package/packages/web/src/hooks/QUICK_REFERENCE.md +165 -0
  59. package/packages/web/src/hooks/README.md +378 -0
  60. package/packages/web/src/hooks/__tests__/useOtherSkills.test.ts +422 -0
  61. package/packages/web/src/hooks/__tests__/useSkillIcons.test.ts +272 -0
  62. package/packages/web/src/hooks/useLiveReload.ts +20 -0
  63. package/packages/web/src/hooks/useOtherSkills.ts +387 -0
  64. package/packages/web/src/hooks/useSkillIcons.ts +248 -0
  65. package/packages/web/src/hooks/useTheme.ts +36 -0
  66. package/packages/web/src/index.css +161 -0
  67. package/packages/web/src/lib/api.test.ts +47 -0
  68. package/packages/web/src/lib/api.ts +77 -0
  69. package/packages/web/src/lib/cn.ts +7 -0
  70. package/packages/web/src/lib/editors.test.ts +30 -0
  71. package/packages/web/src/lib/editors.ts +70 -0
  72. package/packages/web/src/lib/markdown.test.ts +27 -0
  73. package/packages/web/src/lib/markdown.ts +14 -0
  74. package/packages/web/src/main.tsx +13 -0
  75. package/packages/web/src/types/index.ts +62 -0
  76. package/packages/web/src/types/other-skill.ts +88 -0
  77. package/packages/web/src/types/skill.ts +136 -0
  78. package/packages/web/src/types.ts +47 -0
  79. package/packages/web/src/vite-env.d.ts +1 -0
  80. package/packages/web/tailwind.config.ts +66 -0
  81. package/packages/web/tsconfig.json +28 -0
  82. package/packages/web/vite.config.ts +36 -0
  83. package/packages/web/vitest.config.ts +21 -0
  84. package/packages/web/vitest.setup.ts +1 -0
  85. package/scripts/activate-data-sources.sh +223 -0
  86. package/scripts/brand-completion.py +586 -0
  87. package/scripts/init-nextjs-project.sh +421 -0
  88. package/scripts/install-and-sync.sh +209 -0
  89. package/scripts/start-dev.sh +72 -0
  90. package/docs/GUIDE.md +0 -190
  91. package/docs/PLAN.md +0 -359
  92. package/docs/RULES.md +0 -329
  93. package/docs/RUNBOOK-myskills.md +0 -258
  94. package/docs/SYNC-SKILLS.md +0 -259
  95. package/docs/releases/README.md +0 -47
  96. package/docs/releases/v0.1.0.md +0 -256
  97. package/docs/releases/v0.1.1.md +0 -297
  98. package/docs/releases/v0.1.2.md +0 -207
  99. package/docs/releases/v0.1.3.md +0 -269
  100. package/docs/todo/v0.1.2.md +0 -98
  101. package/docs/todo/v0.1.3.md +0 -40
  102. package/docs/todo/v0.1.4.md +0 -36
  103. package/docs/todo/v0.1.5.md +0 -41
  104. package/docs/todo/v0.1.6.md +0 -43
  105. package/docs/todo/v0.1.7.md +0 -38
  106. package/docs/todo/v0.1.8.md +0 -36
  107. package/docs/todo/v0.1.9.md +0 -54
  108. package/packages/web/dist/assets/index-BPepSb3q.js +0 -36
  109. package/packages/web/dist/assets/index-CIGkgT5w.css +0 -1
  110. package/packages/web/src/App.vue +0 -483
  111. package/packages/web/src/components/AppTree.vue +0 -230
  112. package/packages/web/src/components/DirectoryTree.vue +0 -263
  113. package/packages/web/src/components/SkillTree.vue +0 -208
  114. package/packages/web/src/lib/api.js +0 -43
  115. package/packages/web/src/main.js +0 -6
  116. package/packages/web/src/stores/i18n.js +0 -161
  117. package/packages/web/src/stores/skills.js +0 -287
  118. package/packages/web/src/styles.css +0 -365
  119. package/packages/web/vite.config.js +0 -17
  120. /package/{scripts → build}/build-web.mjs +0 -0
  121. /package/{scripts → build}/prepare-publish.mjs +0 -0
@@ -0,0 +1,175 @@
1
+ (function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const d of a.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function o(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function l(s){if(s.ep)return;s.ep=!0;const a=o(s);fetch(s.href,a)}})();var Hl={exports:{}},tr={},Vl={exports:{}},le={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var D0;function ph(){if(D0)return le;D0=1;var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),b=Symbol.iterator;function C(S){return S===null||typeof S!="object"?null:(S=b&&S[b]||S["@@iterator"],typeof S=="function"?S:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,z={};function F(S,T,ie){this.props=S,this.context=T,this.refs=z,this.updater=ie||y}F.prototype.isReactComponent={},F.prototype.setState=function(S,T){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,T,"setState")},F.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function P(){}P.prototype=F.prototype;function I(S,T,ie){this.props=S,this.context=T,this.refs=z,this.updater=ie||y}var $=I.prototype=new P;$.constructor=I,_($,F.prototype),$.isPureReactComponent=!0;var O=Array.isArray,Q=Object.prototype.hasOwnProperty,Z={current:null},ne={key:!0,ref:!0,__self:!0,__source:!0};function pe(S,T,ie){var se,fe={},de=null,ke=null;if(T!=null)for(se in T.ref!==void 0&&(ke=T.ref),T.key!==void 0&&(de=""+T.key),T)Q.call(T,se)&&!ne.hasOwnProperty(se)&&(fe[se]=T[se]);var ge=arguments.length-2;if(ge===1)fe.children=ie;else if(1<ge){for(var De=Array(ge),su=0;su<ge;su++)De[su]=arguments[su+2];fe.children=De}if(S&&S.defaultProps)for(se in ge=S.defaultProps,ge)fe[se]===void 0&&(fe[se]=ge[se]);return{$$typeof:t,type:S,key:de,ref:ke,props:fe,_owner:Z.current}}function oe(S,T){return{$$typeof:t,type:S.type,key:T,ref:S.ref,props:S.props,_owner:S._owner}}function ce(S){return typeof S=="object"&&S!==null&&S.$$typeof===t}function ye(S){var T={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(ie){return T[ie]})}var ue=/\/+/g;function Me(S,T){return typeof S=="object"&&S!==null&&S.key!=null?ye(""+S.key):T.toString(36)}function ve(S,T,ie,se,fe){var de=typeof S;(de==="undefined"||de==="boolean")&&(S=null);var ke=!1;if(S===null)ke=!0;else switch(de){case"string":case"number":ke=!0;break;case"object":switch(S.$$typeof){case t:case r:ke=!0}}if(ke)return ke=S,fe=fe(ke),S=se===""?"."+Me(ke,0):se,O(fe)?(ie="",S!=null&&(ie=S.replace(ue,"$&/")+"/"),ve(fe,T,ie,"",function(su){return su})):fe!=null&&(ce(fe)&&(fe=oe(fe,ie+(!fe.key||ke&&ke.key===fe.key?"":(""+fe.key).replace(ue,"$&/")+"/")+S)),T.push(fe)),1;if(ke=0,se=se===""?".":se+":",O(S))for(var ge=0;ge<S.length;ge++){de=S[ge];var De=se+Me(de,ge);ke+=ve(de,T,ie,De,fe)}else if(De=C(S),typeof De=="function")for(S=De.call(S),ge=0;!(de=S.next()).done;)de=de.value,De=se+Me(de,ge++),ke+=ve(de,T,ie,De,fe);else if(de==="object")throw T=String(S),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.");return ke}function me(S,T,ie){if(S==null)return S;var se=[],fe=0;return ve(S,se,"","",function(de){return T.call(ie,de,fe++)}),se}function we(S){if(S._status===-1){var T=S._result;T=T(),T.then(function(ie){(S._status===0||S._status===-1)&&(S._status=1,S._result=ie)},function(ie){(S._status===0||S._status===-1)&&(S._status=2,S._result=ie)}),S._status===-1&&(S._status=0,S._result=T)}if(S._status===1)return S._result.default;throw S._result}var be={current:null},B={transition:null},K={ReactCurrentDispatcher:be,ReactCurrentBatchConfig:B,ReactCurrentOwner:Z};function H(){throw Error("act(...) is not supported in production builds of React.")}return le.Children={map:me,forEach:function(S,T,ie){me(S,function(){T.apply(this,arguments)},ie)},count:function(S){var T=0;return me(S,function(){T++}),T},toArray:function(S){return me(S,function(T){return T})||[]},only:function(S){if(!ce(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},le.Component=F,le.Fragment=o,le.Profiler=s,le.PureComponent=I,le.StrictMode=l,le.Suspense=p,le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K,le.act=H,le.cloneElement=function(S,T,ie){if(S==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+S+".");var se=_({},S.props),fe=S.key,de=S.ref,ke=S._owner;if(T!=null){if(T.ref!==void 0&&(de=T.ref,ke=Z.current),T.key!==void 0&&(fe=""+T.key),S.type&&S.type.defaultProps)var ge=S.type.defaultProps;for(De in T)Q.call(T,De)&&!ne.hasOwnProperty(De)&&(se[De]=T[De]===void 0&&ge!==void 0?ge[De]:T[De])}var De=arguments.length-2;if(De===1)se.children=ie;else if(1<De){ge=Array(De);for(var su=0;su<De;su++)ge[su]=arguments[su+2];se.children=ge}return{$$typeof:t,type:S.type,key:fe,ref:de,props:se,_owner:ke}},le.createContext=function(S){return S={$$typeof:d,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},S.Provider={$$typeof:a,_context:S},S.Consumer=S},le.createElement=pe,le.createFactory=function(S){var T=pe.bind(null,S);return T.type=S,T},le.createRef=function(){return{current:null}},le.forwardRef=function(S){return{$$typeof:h,render:S}},le.isValidElement=ce,le.lazy=function(S){return{$$typeof:x,_payload:{_status:-1,_result:S},_init:we}},le.memo=function(S,T){return{$$typeof:g,type:S,compare:T===void 0?null:T}},le.startTransition=function(S){var T=B.transition;B.transition={};try{S()}finally{B.transition=T}},le.unstable_act=H,le.useCallback=function(S,T){return be.current.useCallback(S,T)},le.useContext=function(S){return be.current.useContext(S)},le.useDebugValue=function(){},le.useDeferredValue=function(S){return be.current.useDeferredValue(S)},le.useEffect=function(S,T){return be.current.useEffect(S,T)},le.useId=function(){return be.current.useId()},le.useImperativeHandle=function(S,T,ie){return be.current.useImperativeHandle(S,T,ie)},le.useInsertionEffect=function(S,T){return be.current.useInsertionEffect(S,T)},le.useLayoutEffect=function(S,T){return be.current.useLayoutEffect(S,T)},le.useMemo=function(S,T){return be.current.useMemo(S,T)},le.useReducer=function(S,T,ie){return be.current.useReducer(S,T,ie)},le.useRef=function(S){return be.current.useRef(S)},le.useState=function(S){return be.current.useState(S)},le.useSyncExternalStore=function(S,T,ie){return be.current.useSyncExternalStore(S,T,ie)},le.useTransition=function(){return be.current.useTransition()},le.version="18.3.1",le}var F0;function xs(){return F0||(F0=1,Vl.exports=ph()),Vl.exports}/**
10
+ * @license React
11
+ * react-jsx-runtime.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var N0;function mh(){if(N0)return tr;N0=1;var t=xs(),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function d(h,p,g){var x,b={},C=null,y=null;g!==void 0&&(C=""+g),p.key!==void 0&&(C=""+p.key),p.ref!==void 0&&(y=p.ref);for(x in p)l.call(p,x)&&!a.hasOwnProperty(x)&&(b[x]=p[x]);if(h&&h.defaultProps)for(x in p=h.defaultProps,p)b[x]===void 0&&(b[x]=p[x]);return{$$typeof:r,type:h,key:C,ref:y,props:b,_owner:s.current}}return tr.Fragment=o,tr.jsx=d,tr.jsxs=d,tr}var z0;function gh(){return z0||(z0=1,Hl.exports=mh()),Hl.exports}var k=gh(),te=xs(),Ao={},ql={exports:{}},iu={},Wl={exports:{}},Ql={};/**
18
+ * @license React
19
+ * scheduler.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var M0;function xh(){return M0||(M0=1,(function(t){function r(B,K){var H=B.length;B.push(K);e:for(;0<H;){var S=H-1>>>1,T=B[S];if(0<s(T,K))B[S]=K,B[H]=T,H=S;else break e}}function o(B){return B.length===0?null:B[0]}function l(B){if(B.length===0)return null;var K=B[0],H=B.pop();if(H!==K){B[0]=H;e:for(var S=0,T=B.length,ie=T>>>1;S<ie;){var se=2*(S+1)-1,fe=B[se],de=se+1,ke=B[de];if(0>s(fe,H))de<T&&0>s(ke,fe)?(B[S]=ke,B[de]=H,S=de):(B[S]=fe,B[se]=H,S=se);else if(de<T&&0>s(ke,H))B[S]=ke,B[de]=H,S=de;else break e}}return K}function s(B,K){var H=B.sortIndex-K.sortIndex;return H!==0?H:B.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var d=Date,h=d.now();t.unstable_now=function(){return d.now()-h}}var p=[],g=[],x=1,b=null,C=3,y=!1,_=!1,z=!1,F=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(B){for(var K=o(g);K!==null;){if(K.callback===null)l(g);else if(K.startTime<=B)l(g),K.sortIndex=K.expirationTime,r(p,K);else break;K=o(g)}}function O(B){if(z=!1,$(B),!_)if(o(p)!==null)_=!0,we(Q);else{var K=o(g);K!==null&&be(O,K.startTime-B)}}function Q(B,K){_=!1,z&&(z=!1,P(pe),pe=-1),y=!0;var H=C;try{for($(K),b=o(p);b!==null&&(!(b.expirationTime>K)||B&&!ye());){var S=b.callback;if(typeof S=="function"){b.callback=null,C=b.priorityLevel;var T=S(b.expirationTime<=K);K=t.unstable_now(),typeof T=="function"?b.callback=T:b===o(p)&&l(p),$(K)}else l(p);b=o(p)}if(b!==null)var ie=!0;else{var se=o(g);se!==null&&be(O,se.startTime-K),ie=!1}return ie}finally{b=null,C=H,y=!1}}var Z=!1,ne=null,pe=-1,oe=5,ce=-1;function ye(){return!(t.unstable_now()-ce<oe)}function ue(){if(ne!==null){var B=t.unstable_now();ce=B;var K=!0;try{K=ne(!0,B)}finally{K?Me():(Z=!1,ne=null)}}else Z=!1}var Me;if(typeof I=="function")Me=function(){I(ue)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,me=ve.port2;ve.port1.onmessage=ue,Me=function(){me.postMessage(null)}}else Me=function(){F(ue,0)};function we(B){ne=B,Z||(Z=!0,Me())}function be(B,K){pe=F(function(){B(t.unstable_now())},K)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(B){B.callback=null},t.unstable_continueExecution=function(){_||y||(_=!0,we(Q))},t.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):oe=0<B?Math.floor(1e3/B):5},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return o(p)},t.unstable_next=function(B){switch(C){case 1:case 2:case 3:var K=3;break;default:K=C}var H=C;C=K;try{return B()}finally{C=H}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(B,K){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var H=C;C=B;try{return K()}finally{C=H}},t.unstable_scheduleCallback=function(B,K,H){var S=t.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?S+H:S):H=S,B){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=H+T,B={id:x++,callback:K,priorityLevel:B,startTime:H,expirationTime:T,sortIndex:-1},H>S?(B.sortIndex=H,r(g,B),o(p)===null&&B===o(g)&&(z?(P(pe),pe=-1):z=!0,be(O,H-S))):(B.sortIndex=T,r(p,B),_||y||(_=!0,we(Q))),B},t.unstable_shouldYield=ye,t.unstable_wrapCallback=function(B){var K=C;return function(){var H=C;C=K;try{return B.apply(this,arguments)}finally{C=H}}}})(Ql)),Ql}var T0;function yh(){return T0||(T0=1,Wl.exports=xh()),Wl.exports}/**
26
+ * @license React
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var j0;function bh(){if(j0)return iu;j0=1;var t=xs(),r=yh();function o(e){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)u+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,s={};function a(e,u){d(e,u),d(e+"Capture",u)}function d(e,u){for(s[e]=u,e=0;e<u.length;e++)l.add(u[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,g=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,x={},b={};function C(e){return p.call(b,e)?!0:p.call(x,e)?!1:g.test(e)?b[e]=!0:(x[e]=!0,!1)}function y(e,u,n,i){if(n!==null&&n.type===0)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _(e,u,n,i){if(u===null||typeof u>"u"||y(e,u,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case 3:return!u;case 4:return u===!1;case 5:return isNaN(u);case 6:return isNaN(u)||1>u}return!1}function z(e,u,n,i,c,f,m){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=u,this.sanitizeURL=f,this.removeEmptyString=m}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){F[e]=new z(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var u=e[0];F[u]=new z(u,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new z(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new z(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){F[e]=new z(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new z(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new z(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new z(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new z(e,5,!1,e.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function I(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var u=e.replace(P,I);F[u]=new z(u,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var u=e.replace(P,I);F[u]=new z(u,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var u=e.replace(P,I);F[u]=new z(u,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new z(e,1,!1,e.toLowerCase(),null,!1,!1)}),F.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new z(e,1,!1,e.toLowerCase(),null,!0,!0)});function $(e,u,n,i){var c=F.hasOwnProperty(u)?F[u]:null;(c!==null?c.type!==0:i||!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(_(u,n,c,i)&&(n=null),i||c===null?C(u)&&(n===null?e.removeAttribute(u):e.setAttribute(u,""+n)):c.mustUseProperty?e[c.propertyName]=n===null?c.type===3?!1:"":n:(u=c.attributeName,i=c.attributeNamespace,n===null?e.removeAttribute(u):(c=c.type,n=c===3||c===4&&n===!0?"":""+n,i?e.setAttributeNS(i,u,n):e.setAttribute(u,n))))}var O=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q=Symbol.for("react.element"),Z=Symbol.for("react.portal"),ne=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),ye=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),me=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),be=Symbol.for("react.offscreen"),B=Symbol.iterator;function K(e){return e===null||typeof e!="object"?null:(e=B&&e[B]||e["@@iterator"],typeof e=="function"?e:null)}var H=Object.assign,S;function T(e){if(S===void 0)try{throw Error()}catch(n){var u=n.stack.trim().match(/\n( *(at )?)/);S=u&&u[1]||""}return`
34
+ `+S+e}var ie=!1;function se(e,u){if(!e||ie)return"";ie=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(u)if(u=function(){throw Error()},Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(N){var i=N}Reflect.construct(e,[],u)}else{try{u.call()}catch(N){i=N}e.call(u.prototype)}else{try{throw Error()}catch(N){i=N}e()}}catch(N){if(N&&i&&typeof N.stack=="string"){for(var c=N.stack.split(`
35
+ `),f=i.stack.split(`
36
+ `),m=c.length-1,v=f.length-1;1<=m&&0<=v&&c[m]!==f[v];)v--;for(;1<=m&&0<=v;m--,v--)if(c[m]!==f[v]){if(m!==1||v!==1)do if(m--,v--,0>v||c[m]!==f[v]){var w=`
37
+ `+c[m].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=m&&0<=v);break}}}finally{ie=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?T(e):""}function fe(e){switch(e.tag){case 5:return T(e.type);case 16:return T("Lazy");case 13:return T("Suspense");case 19:return T("SuspenseList");case 0:case 2:case 15:return e=se(e.type,!1),e;case 11:return e=se(e.type.render,!1),e;case 1:return e=se(e.type,!0),e;default:return""}}function de(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ne:return"Fragment";case Z:return"Portal";case oe:return"Profiler";case pe:return"StrictMode";case Me:return"Suspense";case ve:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ye:return(e.displayName||"Context")+".Consumer";case ce:return(e._context.displayName||"Context")+".Provider";case ue:var u=e.render;return e=e.displayName,e||(e=u.displayName||u.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case me:return u=e.displayName||null,u!==null?u:de(e.type)||"Memo";case we:u=e._payload,e=e._init;try{return de(e(u))}catch{}}return null}function ke(e){var u=e.type;switch(e.tag){case 24:return"Cache";case 9:return(u.displayName||"Context")+".Consumer";case 10:return(u._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=u.render,e=e.displayName||e.name||"",u.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return u;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return de(u);case 8:return u===pe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u}return null}function ge(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function De(e){var u=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function su(e){var u=De(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,u),i=""+e[u];if(!e.hasOwnProperty(u)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var c=n.get,f=n.set;return Object.defineProperty(e,u,{configurable:!0,get:function(){return c.call(this)},set:function(m){i=""+m,f.call(this,m)}}),Object.defineProperty(e,u,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(m){i=""+m},stopTracking:function(){e._valueTracker=null,delete e[u]}}}}function gr(e){e._valueTracker||(e._valueTracker=su(e))}function js(e){if(!e)return!1;var u=e._valueTracker;if(!u)return!0;var n=u.getValue(),i="";return e&&(i=De(e)?e.checked?"true":"false":e.value),e=i,e!==n?(u.setValue(e),!0):!1}function xr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ko(e,u){var n=u.checked;return H({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rs(e,u){var n=u.defaultValue==null?"":u.defaultValue,i=u.checked!=null?u.checked:u.defaultChecked;n=ge(u.value!=null?u.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null}}function Ls(e,u){u=u.checked,u!=null&&$(e,"checked",u,!1)}function Yo(e,u){Ls(e,u);var n=ge(u.value),i=u.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}u.hasOwnProperty("value")?Xo(e,u.type,n):u.hasOwnProperty("defaultValue")&&Xo(e,u.type,ge(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(e.defaultChecked=!!u.defaultChecked)}function Is(e,u,n){if(u.hasOwnProperty("value")||u.hasOwnProperty("defaultValue")){var i=u.type;if(!(i!=="submit"&&i!=="reset"||u.value!==void 0&&u.value!==null))return;u=""+e._wrapperState.initialValue,n||u===e.value||(e.value=u),e.defaultValue=u}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Xo(e,u,n){(u!=="number"||xr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var xn=Array.isArray;function Lt(e,u,n,i){if(e=e.options,u){u={};for(var c=0;c<n.length;c++)u["$"+n[c]]=!0;for(n=0;n<e.length;n++)c=u.hasOwnProperty("$"+e[n].value),e[n].selected!==c&&(e[n].selected=c),c&&i&&(e[n].defaultSelected=!0)}else{for(n=""+ge(n),u=null,c=0;c<e.length;c++){if(e[c].value===n){e[c].selected=!0,i&&(e[c].defaultSelected=!0);return}u!==null||e[c].disabled||(u=e[c])}u!==null&&(u.selected=!0)}}function Jo(e,u){if(u.dangerouslySetInnerHTML!=null)throw Error(o(91));return H({},u,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ps(e,u){var n=u.value;if(n==null){if(n=u.children,u=u.defaultValue,n!=null){if(u!=null)throw Error(o(92));if(xn(n)){if(1<n.length)throw Error(o(93));n=n[0]}u=n}u==null&&(u=""),n=u}e._wrapperState={initialValue:ge(n)}}function Bs(e,u){var n=ge(u.value),i=ge(u.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),u.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),i!=null&&(e.defaultValue=""+i)}function Os(e){var u=e.textContent;u===e._wrapperState.initialValue&&u!==""&&u!==null&&(e.value=u)}function $s(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ei(e,u){return e==null||e==="http://www.w3.org/1999/xhtml"?$s(u):e==="http://www.w3.org/2000/svg"&&u==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var yr,Us=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(u,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(u,n,i,c)})}:e})(function(e,u){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=u;else{for(yr=yr||document.createElement("div"),yr.innerHTML="<svg>"+u.valueOf().toString()+"</svg>",u=yr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;u.firstChild;)e.appendChild(u.firstChild)}});function yn(e,u){if(u){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=u;return}}e.textContent=u}var bn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yd=["Webkit","ms","Moz","O"];Object.keys(bn).forEach(function(e){yd.forEach(function(u){u=u+e.charAt(0).toUpperCase()+e.substring(1),bn[u]=bn[e]})});function Hs(e,u,n){return u==null||typeof u=="boolean"||u===""?"":n||typeof u!="number"||u===0||bn.hasOwnProperty(e)&&bn[e]?(""+u).trim():u+"px"}function Vs(e,u){e=e.style;for(var n in u)if(u.hasOwnProperty(n)){var i=n.indexOf("--")===0,c=Hs(n,u[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,c):e[n]=c}}var bd=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ui(e,u){if(u){if(bd[e]&&(u.children!=null||u.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(u.dangerouslySetInnerHTML!=null){if(u.children!=null)throw Error(o(60));if(typeof u.dangerouslySetInnerHTML!="object"||!("__html"in u.dangerouslySetInnerHTML))throw Error(o(61))}if(u.style!=null&&typeof u.style!="object")throw Error(o(62))}}function ti(e,u){if(e.indexOf("-")===-1)return typeof u.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ni=null;function ri(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oi=null,It=null,Pt=null;function qs(e){if(e=$n(e)){if(typeof oi!="function")throw Error(o(280));var u=e.stateNode;u&&(u=$r(u),oi(e.stateNode,e.type,u))}}function Ws(e){It?Pt?Pt.push(e):Pt=[e]:It=e}function Qs(){if(It){var e=It,u=Pt;if(Pt=It=null,qs(e),u)for(e=0;e<u.length;e++)qs(u[e])}}function Gs(e,u){return e(u)}function Zs(){}var ii=!1;function Ks(e,u,n){if(ii)return e(u,n);ii=!0;try{return Gs(e,u,n)}finally{ii=!1,(It!==null||Pt!==null)&&(Zs(),Qs())}}function vn(e,u){var n=e.stateNode;if(n===null)return null;var i=$r(n);if(i===null)return null;n=i[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(o(231,u,typeof n));return n}var li=!1;if(h)try{var kn={};Object.defineProperty(kn,"passive",{get:function(){li=!0}}),window.addEventListener("test",kn,kn),window.removeEventListener("test",kn,kn)}catch{li=!1}function vd(e,u,n,i,c,f,m,v,w){var N=Array.prototype.slice.call(arguments,3);try{u.apply(n,N)}catch(j){this.onError(j)}}var _n=!1,br=null,vr=!1,si=null,kd={onError:function(e){_n=!0,br=e}};function _d(e,u,n,i,c,f,m,v,w){_n=!1,br=null,vd.apply(kd,arguments)}function Cd(e,u,n,i,c,f,m,v,w){if(_d.apply(this,arguments),_n){if(_n){var N=br;_n=!1,br=null}else throw Error(o(198));vr||(vr=!0,si=N)}}function _t(e){var u=e,n=e;if(e.alternate)for(;u.return;)u=u.return;else{e=u;do u=e,(u.flags&4098)!==0&&(n=u.return),e=u.return;while(e)}return u.tag===3?n:null}function Ys(e){if(e.tag===13){var u=e.memoizedState;if(u===null&&(e=e.alternate,e!==null&&(u=e.memoizedState)),u!==null)return u.dehydrated}return null}function Xs(e){if(_t(e)!==e)throw Error(o(188))}function wd(e){var u=e.alternate;if(!u){if(u=_t(e),u===null)throw Error(o(188));return u!==e?null:e}for(var n=e,i=u;;){var c=n.return;if(c===null)break;var f=c.alternate;if(f===null){if(i=c.return,i!==null){n=i;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===n)return Xs(c),e;if(f===i)return Xs(c),u;f=f.sibling}throw Error(o(188))}if(n.return!==i.return)n=c,i=f;else{for(var m=!1,v=c.child;v;){if(v===n){m=!0,n=c,i=f;break}if(v===i){m=!0,i=c,n=f;break}v=v.sibling}if(!m){for(v=f.child;v;){if(v===n){m=!0,n=f,i=c;break}if(v===i){m=!0,i=f,n=c;break}v=v.sibling}if(!m)throw Error(o(189))}}if(n.alternate!==i)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:u}function Js(e){return e=wd(e),e!==null?ec(e):null}function ec(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var u=ec(e);if(u!==null)return u;e=e.sibling}return null}var uc=r.unstable_scheduleCallback,tc=r.unstable_cancelCallback,Ed=r.unstable_shouldYield,Sd=r.unstable_requestPaint,je=r.unstable_now,Ad=r.unstable_getCurrentPriorityLevel,ci=r.unstable_ImmediatePriority,nc=r.unstable_UserBlockingPriority,kr=r.unstable_NormalPriority,Dd=r.unstable_LowPriority,rc=r.unstable_IdlePriority,_r=null,Nu=null;function Fd(e){if(Nu&&typeof Nu.onCommitFiberRoot=="function")try{Nu.onCommitFiberRoot(_r,e,void 0,(e.current.flags&128)===128)}catch{}}var _u=Math.clz32?Math.clz32:Md,Nd=Math.log,zd=Math.LN2;function Md(e){return e>>>=0,e===0?32:31-(Nd(e)/zd|0)|0}var Cr=64,wr=4194304;function Cn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Er(e,u){var n=e.pendingLanes;if(n===0)return 0;var i=0,c=e.suspendedLanes,f=e.pingedLanes,m=n&268435455;if(m!==0){var v=m&~c;v!==0?i=Cn(v):(f&=m,f!==0&&(i=Cn(f)))}else m=n&~c,m!==0?i=Cn(m):f!==0&&(i=Cn(f));if(i===0)return 0;if(u!==0&&u!==i&&(u&c)===0&&(c=i&-i,f=u&-u,c>=f||c===16&&(f&4194240)!==0))return u;if((i&4)!==0&&(i|=n&16),u=e.entangledLanes,u!==0)for(e=e.entanglements,u&=i;0<u;)n=31-_u(u),c=1<<n,i|=e[n],u&=~c;return i}function Td(e,u){switch(e){case 1:case 2:case 4:return u+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jd(e,u){for(var n=e.suspendedLanes,i=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes;0<f;){var m=31-_u(f),v=1<<m,w=c[m];w===-1?((v&n)===0||(v&i)!==0)&&(c[m]=Td(v,u)):w<=u&&(e.expiredLanes|=v),f&=~v}}function ai(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function oc(){var e=Cr;return Cr<<=1,(Cr&4194240)===0&&(Cr=64),e}function fi(e){for(var u=[],n=0;31>n;n++)u.push(e);return u}function wn(e,u,n){e.pendingLanes|=u,u!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,u=31-_u(u),e[u]=n}function Rd(e,u){var n=e.pendingLanes&~u;e.pendingLanes=u,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=u,e.mutableReadLanes&=u,e.entangledLanes&=u,u=e.entanglements;var i=e.eventTimes;for(e=e.expirationTimes;0<n;){var c=31-_u(n),f=1<<c;u[c]=0,i[c]=-1,e[c]=-1,n&=~f}}function di(e,u){var n=e.entangledLanes|=u;for(e=e.entanglements;n;){var i=31-_u(n),c=1<<i;c&u|e[i]&u&&(e[i]|=u),n&=~c}}var xe=0;function ic(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var lc,hi,sc,cc,ac,pi=!1,Sr=[],Ku=null,Yu=null,Xu=null,En=new Map,Sn=new Map,Ju=[],Ld="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function fc(e,u){switch(e){case"focusin":case"focusout":Ku=null;break;case"dragenter":case"dragleave":Yu=null;break;case"mouseover":case"mouseout":Xu=null;break;case"pointerover":case"pointerout":En.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":Sn.delete(u.pointerId)}}function An(e,u,n,i,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:u,domEventName:n,eventSystemFlags:i,nativeEvent:f,targetContainers:[c]},u!==null&&(u=$n(u),u!==null&&hi(u)),e):(e.eventSystemFlags|=i,u=e.targetContainers,c!==null&&u.indexOf(c)===-1&&u.push(c),e)}function Id(e,u,n,i,c){switch(u){case"focusin":return Ku=An(Ku,e,u,n,i,c),!0;case"dragenter":return Yu=An(Yu,e,u,n,i,c),!0;case"mouseover":return Xu=An(Xu,e,u,n,i,c),!0;case"pointerover":var f=c.pointerId;return En.set(f,An(En.get(f)||null,e,u,n,i,c)),!0;case"gotpointercapture":return f=c.pointerId,Sn.set(f,An(Sn.get(f)||null,e,u,n,i,c)),!0}return!1}function dc(e){var u=Ct(e.target);if(u!==null){var n=_t(u);if(n!==null){if(u=n.tag,u===13){if(u=Ys(n),u!==null){e.blockedOn=u,ac(e.priority,function(){sc(n)});return}}else if(u===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ar(e){if(e.blockedOn!==null)return!1;for(var u=e.targetContainers;0<u.length;){var n=gi(e.domEventName,e.eventSystemFlags,u[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);ni=i,n.target.dispatchEvent(i),ni=null}else return u=$n(n),u!==null&&hi(u),e.blockedOn=n,!1;u.shift()}return!0}function hc(e,u,n){Ar(e)&&n.delete(u)}function Pd(){pi=!1,Ku!==null&&Ar(Ku)&&(Ku=null),Yu!==null&&Ar(Yu)&&(Yu=null),Xu!==null&&Ar(Xu)&&(Xu=null),En.forEach(hc),Sn.forEach(hc)}function Dn(e,u){e.blockedOn===u&&(e.blockedOn=null,pi||(pi=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Pd)))}function Fn(e){function u(c){return Dn(c,e)}if(0<Sr.length){Dn(Sr[0],e);for(var n=1;n<Sr.length;n++){var i=Sr[n];i.blockedOn===e&&(i.blockedOn=null)}}for(Ku!==null&&Dn(Ku,e),Yu!==null&&Dn(Yu,e),Xu!==null&&Dn(Xu,e),En.forEach(u),Sn.forEach(u),n=0;n<Ju.length;n++)i=Ju[n],i.blockedOn===e&&(i.blockedOn=null);for(;0<Ju.length&&(n=Ju[0],n.blockedOn===null);)dc(n),n.blockedOn===null&&Ju.shift()}var Bt=O.ReactCurrentBatchConfig,Dr=!0;function Bd(e,u,n,i){var c=xe,f=Bt.transition;Bt.transition=null;try{xe=1,mi(e,u,n,i)}finally{xe=c,Bt.transition=f}}function Od(e,u,n,i){var c=xe,f=Bt.transition;Bt.transition=null;try{xe=4,mi(e,u,n,i)}finally{xe=c,Bt.transition=f}}function mi(e,u,n,i){if(Dr){var c=gi(e,u,n,i);if(c===null)Ti(e,u,i,Fr,n),fc(e,i);else if(Id(c,e,u,n,i))i.stopPropagation();else if(fc(e,i),u&4&&-1<Ld.indexOf(e)){for(;c!==null;){var f=$n(c);if(f!==null&&lc(f),f=gi(e,u,n,i),f===null&&Ti(e,u,i,Fr,n),f===c)break;c=f}c!==null&&i.stopPropagation()}else Ti(e,u,i,null,n)}}var Fr=null;function gi(e,u,n,i){if(Fr=null,e=ri(i),e=Ct(e),e!==null)if(u=_t(e),u===null)e=null;else if(n=u.tag,n===13){if(e=Ys(u),e!==null)return e;e=null}else if(n===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;e=null}else u!==e&&(e=null);return Fr=e,null}function pc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ad()){case ci:return 1;case nc:return 4;case kr:case Dd:return 16;case rc:return 536870912;default:return 16}default:return 16}}var et=null,xi=null,Nr=null;function mc(){if(Nr)return Nr;var e,u=xi,n=u.length,i,c="value"in et?et.value:et.textContent,f=c.length;for(e=0;e<n&&u[e]===c[e];e++);var m=n-e;for(i=1;i<=m&&u[n-i]===c[f-i];i++);return Nr=c.slice(e,1<i?1-i:void 0)}function zr(e){var u=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&u===13&&(e=13)):e=u,e===10&&(e=13),32<=e||e===13?e:0}function Mr(){return!0}function gc(){return!1}function cu(e){function u(n,i,c,f,m){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=f,this.target=m,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(n=e[v],this[v]=n?n(f):f[v]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Mr:gc,this.isPropagationStopped=gc,this}return H(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Mr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Mr)},persist:function(){},isPersistent:Mr}),u}var Ot={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yi=cu(Ot),Nn=H({},Ot,{view:0,detail:0}),$d=cu(Nn),bi,vi,zn,Tr=H({},Nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_i,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==zn&&(zn&&e.type==="mousemove"?(bi=e.screenX-zn.screenX,vi=e.screenY-zn.screenY):vi=bi=0,zn=e),bi)},movementY:function(e){return"movementY"in e?e.movementY:vi}}),xc=cu(Tr),Ud=H({},Tr,{dataTransfer:0}),Hd=cu(Ud),Vd=H({},Nn,{relatedTarget:0}),ki=cu(Vd),qd=H({},Ot,{animationName:0,elapsedTime:0,pseudoElement:0}),Wd=cu(qd),Qd=H({},Ot,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gd=cu(Qd),Zd=H({},Ot,{data:0}),yc=cu(Zd),Kd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Xd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jd(e){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(e):(e=Xd[e])?!!u[e]:!1}function _i(){return Jd}var e1=H({},Nn,{key:function(e){if(e.key){var u=Kd[e.key]||e.key;if(u!=="Unidentified")return u}return e.type==="keypress"?(e=zr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Yd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_i,charCode:function(e){return e.type==="keypress"?zr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?zr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),u1=cu(e1),t1=H({},Tr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bc=cu(t1),n1=H({},Nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_i}),r1=cu(n1),o1=H({},Ot,{propertyName:0,elapsedTime:0,pseudoElement:0}),i1=cu(o1),l1=H({},Tr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),s1=cu(l1),c1=[9,13,27,32],Ci=h&&"CompositionEvent"in window,Mn=null;h&&"documentMode"in document&&(Mn=document.documentMode);var a1=h&&"TextEvent"in window&&!Mn,vc=h&&(!Ci||Mn&&8<Mn&&11>=Mn),kc=" ",_c=!1;function Cc(e,u){switch(e){case"keyup":return c1.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $t=!1;function f1(e,u){switch(e){case"compositionend":return wc(u);case"keypress":return u.which!==32?null:(_c=!0,kc);case"textInput":return e=u.data,e===kc&&_c?null:e;default:return null}}function d1(e,u){if($t)return e==="compositionend"||!Ci&&Cc(e,u)?(e=mc(),Nr=xi=et=null,$t=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return vc&&u.locale!=="ko"?null:u.data;default:return null}}var h1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ec(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u==="input"?!!h1[e.type]:u==="textarea"}function Sc(e,u,n,i){Ws(i),u=Pr(u,"onChange"),0<u.length&&(n=new yi("onChange","change",null,n,i),e.push({event:n,listeners:u}))}var Tn=null,jn=null;function p1(e){Vc(e,0)}function jr(e){var u=Wt(e);if(js(u))return e}function m1(e,u){if(e==="change")return u}var Ac=!1;if(h){var wi;if(h){var Ei="oninput"in document;if(!Ei){var Dc=document.createElement("div");Dc.setAttribute("oninput","return;"),Ei=typeof Dc.oninput=="function"}wi=Ei}else wi=!1;Ac=wi&&(!document.documentMode||9<document.documentMode)}function Fc(){Tn&&(Tn.detachEvent("onpropertychange",Nc),jn=Tn=null)}function Nc(e){if(e.propertyName==="value"&&jr(jn)){var u=[];Sc(u,jn,e,ri(e)),Ks(p1,u)}}function g1(e,u,n){e==="focusin"?(Fc(),Tn=u,jn=n,Tn.attachEvent("onpropertychange",Nc)):e==="focusout"&&Fc()}function x1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jr(jn)}function y1(e,u){if(e==="click")return jr(u)}function b1(e,u){if(e==="input"||e==="change")return jr(u)}function v1(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var Cu=typeof Object.is=="function"?Object.is:v1;function Rn(e,u){if(Cu(e,u))return!0;if(typeof e!="object"||e===null||typeof u!="object"||u===null)return!1;var n=Object.keys(e),i=Object.keys(u);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var c=n[i];if(!p.call(u,c)||!Cu(e[c],u[c]))return!1}return!0}function zc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mc(e,u){var n=zc(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=u&&i>=u)return{node:n,offset:u-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zc(n)}}function Tc(e,u){return e&&u?e===u?!0:e&&e.nodeType===3?!1:u&&u.nodeType===3?Tc(e,u.parentNode):"contains"in e?e.contains(u):e.compareDocumentPosition?!!(e.compareDocumentPosition(u)&16):!1:!1}function jc(){for(var e=window,u=xr();u instanceof e.HTMLIFrameElement;){try{var n=typeof u.contentWindow.location.href=="string"}catch{n=!1}if(n)e=u.contentWindow;else break;u=xr(e.document)}return u}function Si(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u&&(u==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||u==="textarea"||e.contentEditable==="true")}function k1(e){var u=jc(),n=e.focusedElem,i=e.selectionRange;if(u!==n&&n&&n.ownerDocument&&Tc(n.ownerDocument.documentElement,n)){if(i!==null&&Si(n)){if(u=i.start,e=i.end,e===void 0&&(e=u),"selectionStart"in n)n.selectionStart=u,n.selectionEnd=Math.min(e,n.value.length);else if(e=(u=n.ownerDocument||document)&&u.defaultView||window,e.getSelection){e=e.getSelection();var c=n.textContent.length,f=Math.min(i.start,c);i=i.end===void 0?f:Math.min(i.end,c),!e.extend&&f>i&&(c=i,i=f,f=c),c=Mc(n,f);var m=Mc(n,i);c&&m&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(u=u.createRange(),u.setStart(c.node,c.offset),e.removeAllRanges(),f>i?(e.addRange(u),e.extend(m.node,m.offset)):(u.setEnd(m.node,m.offset),e.addRange(u)))}}for(u=[],e=n;e=e.parentNode;)e.nodeType===1&&u.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<u.length;n++)e=u[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var _1=h&&"documentMode"in document&&11>=document.documentMode,Ut=null,Ai=null,Ln=null,Di=!1;function Rc(e,u,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Di||Ut==null||Ut!==xr(i)||(i=Ut,"selectionStart"in i&&Si(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ln&&Rn(Ln,i)||(Ln=i,i=Pr(Ai,"onSelect"),0<i.length&&(u=new yi("onSelect","select",null,u,n),e.push({event:u,listeners:i}),u.target=Ut)))}function Rr(e,u){var n={};return n[e.toLowerCase()]=u.toLowerCase(),n["Webkit"+e]="webkit"+u,n["Moz"+e]="moz"+u,n}var Ht={animationend:Rr("Animation","AnimationEnd"),animationiteration:Rr("Animation","AnimationIteration"),animationstart:Rr("Animation","AnimationStart"),transitionend:Rr("Transition","TransitionEnd")},Fi={},Lc={};h&&(Lc=document.createElement("div").style,"AnimationEvent"in window||(delete Ht.animationend.animation,delete Ht.animationiteration.animation,delete Ht.animationstart.animation),"TransitionEvent"in window||delete Ht.transitionend.transition);function Lr(e){if(Fi[e])return Fi[e];if(!Ht[e])return e;var u=Ht[e],n;for(n in u)if(u.hasOwnProperty(n)&&n in Lc)return Fi[e]=u[n];return e}var Ic=Lr("animationend"),Pc=Lr("animationiteration"),Bc=Lr("animationstart"),Oc=Lr("transitionend"),$c=new Map,Uc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ut(e,u){$c.set(e,u),a(u,[e])}for(var Ni=0;Ni<Uc.length;Ni++){var zi=Uc[Ni],C1=zi.toLowerCase(),w1=zi[0].toUpperCase()+zi.slice(1);ut(C1,"on"+w1)}ut(Ic,"onAnimationEnd"),ut(Pc,"onAnimationIteration"),ut(Bc,"onAnimationStart"),ut("dblclick","onDoubleClick"),ut("focusin","onFocus"),ut("focusout","onBlur"),ut(Oc,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var In="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),E1=new Set("cancel close invalid load scroll toggle".split(" ").concat(In));function Hc(e,u,n){var i=e.type||"unknown-event";e.currentTarget=n,Cd(i,u,void 0,e),e.currentTarget=null}function Vc(e,u){u=(u&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],c=i.event;i=i.listeners;e:{var f=void 0;if(u)for(var m=i.length-1;0<=m;m--){var v=i[m],w=v.instance,N=v.currentTarget;if(v=v.listener,w!==f&&c.isPropagationStopped())break e;Hc(c,v,N),f=w}else for(m=0;m<i.length;m++){if(v=i[m],w=v.instance,N=v.currentTarget,v=v.listener,w!==f&&c.isPropagationStopped())break e;Hc(c,v,N),f=w}}}if(vr)throw e=si,vr=!1,si=null,e}function Ee(e,u){var n=u[Bi];n===void 0&&(n=u[Bi]=new Set);var i=e+"__bubble";n.has(i)||(qc(u,e,2,!1),n.add(i))}function Mi(e,u,n){var i=0;u&&(i|=4),qc(n,e,i,u)}var Ir="_reactListening"+Math.random().toString(36).slice(2);function Pn(e){if(!e[Ir]){e[Ir]=!0,l.forEach(function(n){n!=="selectionchange"&&(E1.has(n)||Mi(n,!1,e),Mi(n,!0,e))});var u=e.nodeType===9?e:e.ownerDocument;u===null||u[Ir]||(u[Ir]=!0,Mi("selectionchange",!1,u))}}function qc(e,u,n,i){switch(pc(u)){case 1:var c=Bd;break;case 4:c=Od;break;default:c=mi}n=c.bind(null,u,n,e),c=void 0,!li||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(c=!0),i?c!==void 0?e.addEventListener(u,n,{capture:!0,passive:c}):e.addEventListener(u,n,!0):c!==void 0?e.addEventListener(u,n,{passive:c}):e.addEventListener(u,n,!1)}function Ti(e,u,n,i,c){var f=i;if((u&1)===0&&(u&2)===0&&i!==null)e:for(;;){if(i===null)return;var m=i.tag;if(m===3||m===4){var v=i.stateNode.containerInfo;if(v===c||v.nodeType===8&&v.parentNode===c)break;if(m===4)for(m=i.return;m!==null;){var w=m.tag;if((w===3||w===4)&&(w=m.stateNode.containerInfo,w===c||w.nodeType===8&&w.parentNode===c))return;m=m.return}for(;v!==null;){if(m=Ct(v),m===null)return;if(w=m.tag,w===5||w===6){i=f=m;continue e}v=v.parentNode}}i=i.return}Ks(function(){var N=f,j=ri(n),R=[];e:{var M=$c.get(e);if(M!==void 0){var U=yi,q=e;switch(e){case"keypress":if(zr(n)===0)break e;case"keydown":case"keyup":U=u1;break;case"focusin":q="focus",U=ki;break;case"focusout":q="blur",U=ki;break;case"beforeblur":case"afterblur":U=ki;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=xc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=Hd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=r1;break;case Ic:case Pc:case Bc:U=Wd;break;case Oc:U=i1;break;case"scroll":U=$d;break;case"wheel":U=s1;break;case"copy":case"cut":case"paste":U=Gd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=bc}var W=(u&4)!==0,Re=!W&&e==="scroll",A=W?M!==null?M+"Capture":null:M;W=[];for(var E=N,D;E!==null;){D=E;var L=D.stateNode;if(D.tag===5&&L!==null&&(D=L,A!==null&&(L=vn(E,A),L!=null&&W.push(Bn(E,L,D)))),Re)break;E=E.return}0<W.length&&(M=new U(M,q,null,n,j),R.push({event:M,listeners:W}))}}if((u&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",U=e==="mouseout"||e==="pointerout",M&&n!==ni&&(q=n.relatedTarget||n.fromElement)&&(Ct(q)||q[Bu]))break e;if((U||M)&&(M=j.window===j?j:(M=j.ownerDocument)?M.defaultView||M.parentWindow:window,U?(q=n.relatedTarget||n.toElement,U=N,q=q?Ct(q):null,q!==null&&(Re=_t(q),q!==Re||q.tag!==5&&q.tag!==6)&&(q=null)):(U=null,q=N),U!==q)){if(W=xc,L="onMouseLeave",A="onMouseEnter",E="mouse",(e==="pointerout"||e==="pointerover")&&(W=bc,L="onPointerLeave",A="onPointerEnter",E="pointer"),Re=U==null?M:Wt(U),D=q==null?M:Wt(q),M=new W(L,E+"leave",U,n,j),M.target=Re,M.relatedTarget=D,L=null,Ct(j)===N&&(W=new W(A,E+"enter",q,n,j),W.target=D,W.relatedTarget=Re,L=W),Re=L,U&&q)u:{for(W=U,A=q,E=0,D=W;D;D=Vt(D))E++;for(D=0,L=A;L;L=Vt(L))D++;for(;0<E-D;)W=Vt(W),E--;for(;0<D-E;)A=Vt(A),D--;for(;E--;){if(W===A||A!==null&&W===A.alternate)break u;W=Vt(W),A=Vt(A)}W=null}else W=null;U!==null&&Wc(R,M,U,W,!1),q!==null&&Re!==null&&Wc(R,Re,q,W,!0)}}e:{if(M=N?Wt(N):window,U=M.nodeName&&M.nodeName.toLowerCase(),U==="select"||U==="input"&&M.type==="file")var G=m1;else if(Ec(M))if(Ac)G=b1;else{G=x1;var Y=g1}else(U=M.nodeName)&&U.toLowerCase()==="input"&&(M.type==="checkbox"||M.type==="radio")&&(G=y1);if(G&&(G=G(e,N))){Sc(R,G,n,j);break e}Y&&Y(e,M,N),e==="focusout"&&(Y=M._wrapperState)&&Y.controlled&&M.type==="number"&&Xo(M,"number",M.value)}switch(Y=N?Wt(N):window,e){case"focusin":(Ec(Y)||Y.contentEditable==="true")&&(Ut=Y,Ai=N,Ln=null);break;case"focusout":Ln=Ai=Ut=null;break;case"mousedown":Di=!0;break;case"contextmenu":case"mouseup":case"dragend":Di=!1,Rc(R,n,j);break;case"selectionchange":if(_1)break;case"keydown":case"keyup":Rc(R,n,j)}var X;if(Ci)e:{switch(e){case"compositionstart":var ee="onCompositionStart";break e;case"compositionend":ee="onCompositionEnd";break e;case"compositionupdate":ee="onCompositionUpdate";break e}ee=void 0}else $t?Cc(e,n)&&(ee="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(ee="onCompositionStart");ee&&(vc&&n.locale!=="ko"&&($t||ee!=="onCompositionStart"?ee==="onCompositionEnd"&&$t&&(X=mc()):(et=j,xi="value"in et?et.value:et.textContent,$t=!0)),Y=Pr(N,ee),0<Y.length&&(ee=new yc(ee,e,null,n,j),R.push({event:ee,listeners:Y}),X?ee.data=X:(X=wc(n),X!==null&&(ee.data=X)))),(X=a1?f1(e,n):d1(e,n))&&(N=Pr(N,"onBeforeInput"),0<N.length&&(j=new yc("onBeforeInput","beforeinput",null,n,j),R.push({event:j,listeners:N}),j.data=X))}Vc(R,u)})}function Bn(e,u,n){return{instance:e,listener:u,currentTarget:n}}function Pr(e,u){for(var n=u+"Capture",i=[];e!==null;){var c=e,f=c.stateNode;c.tag===5&&f!==null&&(c=f,f=vn(e,n),f!=null&&i.unshift(Bn(e,f,c)),f=vn(e,u),f!=null&&i.push(Bn(e,f,c))),e=e.return}return i}function Vt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Wc(e,u,n,i,c){for(var f=u._reactName,m=[];n!==null&&n!==i;){var v=n,w=v.alternate,N=v.stateNode;if(w!==null&&w===i)break;v.tag===5&&N!==null&&(v=N,c?(w=vn(n,f),w!=null&&m.unshift(Bn(n,w,v))):c||(w=vn(n,f),w!=null&&m.push(Bn(n,w,v)))),n=n.return}m.length!==0&&e.push({event:u,listeners:m})}var S1=/\r\n?/g,A1=/\u0000|\uFFFD/g;function Qc(e){return(typeof e=="string"?e:""+e).replace(S1,`
38
+ `).replace(A1,"")}function Br(e,u,n){if(u=Qc(u),Qc(e)!==u&&n)throw Error(o(425))}function Or(){}var ji=null,Ri=null;function Li(e,u){return e==="textarea"||e==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var Ii=typeof setTimeout=="function"?setTimeout:void 0,D1=typeof clearTimeout=="function"?clearTimeout:void 0,Gc=typeof Promise=="function"?Promise:void 0,F1=typeof queueMicrotask=="function"?queueMicrotask:typeof Gc<"u"?function(e){return Gc.resolve(null).then(e).catch(N1)}:Ii;function N1(e){setTimeout(function(){throw e})}function Pi(e,u){var n=u,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===8)if(n=c.data,n==="/$"){if(i===0){e.removeChild(c),Fn(u);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=c}while(n);Fn(u)}function tt(e){for(;e!=null;e=e.nextSibling){var u=e.nodeType;if(u===1||u===3)break;if(u===8){if(u=e.data,u==="$"||u==="$!"||u==="$?")break;if(u==="/$")return null}}return e}function Zc(e){e=e.previousSibling;for(var u=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(u===0)return e;u--}else n==="/$"&&u++}e=e.previousSibling}return null}var qt=Math.random().toString(36).slice(2),zu="__reactFiber$"+qt,On="__reactProps$"+qt,Bu="__reactContainer$"+qt,Bi="__reactEvents$"+qt,z1="__reactListeners$"+qt,M1="__reactHandles$"+qt;function Ct(e){var u=e[zu];if(u)return u;for(var n=e.parentNode;n;){if(u=n[Bu]||n[zu]){if(n=u.alternate,u.child!==null||n!==null&&n.child!==null)for(e=Zc(e);e!==null;){if(n=e[zu])return n;e=Zc(e)}return u}e=n,n=e.parentNode}return null}function $n(e){return e=e[zu]||e[Bu],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Wt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function $r(e){return e[On]||null}var Oi=[],Qt=-1;function nt(e){return{current:e}}function Se(e){0>Qt||(e.current=Oi[Qt],Oi[Qt]=null,Qt--)}function _e(e,u){Qt++,Oi[Qt]=e.current,e.current=u}var rt={},Ge=nt(rt),uu=nt(!1),wt=rt;function Gt(e,u){var n=e.type.contextTypes;if(!n)return rt;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===u)return i.__reactInternalMemoizedMaskedChildContext;var c={},f;for(f in n)c[f]=u[f];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=c),c}function tu(e){return e=e.childContextTypes,e!=null}function Ur(){Se(uu),Se(Ge)}function Kc(e,u,n){if(Ge.current!==rt)throw Error(o(168));_e(Ge,u),_e(uu,n)}function Yc(e,u,n){var i=e.stateNode;if(u=u.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var c in i)if(!(c in u))throw Error(o(108,ke(e)||"Unknown",c));return H({},n,i)}function Hr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rt,wt=Ge.current,_e(Ge,e),_e(uu,uu.current),!0}function Xc(e,u,n){var i=e.stateNode;if(!i)throw Error(o(169));n?(e=Yc(e,u,wt),i.__reactInternalMemoizedMergedChildContext=e,Se(uu),Se(Ge),_e(Ge,e)):Se(uu),_e(uu,n)}var Ou=null,Vr=!1,$i=!1;function Jc(e){Ou===null?Ou=[e]:Ou.push(e)}function T1(e){Vr=!0,Jc(e)}function ot(){if(!$i&&Ou!==null){$i=!0;var e=0,u=xe;try{var n=Ou;for(xe=1;e<n.length;e++){var i=n[e];do i=i(!0);while(i!==null)}Ou=null,Vr=!1}catch(c){throw Ou!==null&&(Ou=Ou.slice(e+1)),uc(ci,ot),c}finally{xe=u,$i=!1}}return null}var Zt=[],Kt=0,qr=null,Wr=0,mu=[],gu=0,Et=null,$u=1,Uu="";function St(e,u){Zt[Kt++]=Wr,Zt[Kt++]=qr,qr=e,Wr=u}function ea(e,u,n){mu[gu++]=$u,mu[gu++]=Uu,mu[gu++]=Et,Et=e;var i=$u;e=Uu;var c=32-_u(i)-1;i&=~(1<<c),n+=1;var f=32-_u(u)+c;if(30<f){var m=c-c%5;f=(i&(1<<m)-1).toString(32),i>>=m,c-=m,$u=1<<32-_u(u)+c|n<<c|i,Uu=f+e}else $u=1<<f|n<<c|i,Uu=e}function Ui(e){e.return!==null&&(St(e,1),ea(e,1,0))}function Hi(e){for(;e===qr;)qr=Zt[--Kt],Zt[Kt]=null,Wr=Zt[--Kt],Zt[Kt]=null;for(;e===Et;)Et=mu[--gu],mu[gu]=null,Uu=mu[--gu],mu[gu]=null,$u=mu[--gu],mu[gu]=null}var au=null,fu=null,Fe=!1,wu=null;function ua(e,u){var n=vu(5,null,null,0);n.elementType="DELETED",n.stateNode=u,n.return=e,u=e.deletions,u===null?(e.deletions=[n],e.flags|=16):u.push(n)}function ta(e,u){switch(e.tag){case 5:var n=e.type;return u=u.nodeType!==1||n.toLowerCase()!==u.nodeName.toLowerCase()?null:u,u!==null?(e.stateNode=u,au=e,fu=tt(u.firstChild),!0):!1;case 6:return u=e.pendingProps===""||u.nodeType!==3?null:u,u!==null?(e.stateNode=u,au=e,fu=null,!0):!1;case 13:return u=u.nodeType!==8?null:u,u!==null?(n=Et!==null?{id:$u,overflow:Uu}:null,e.memoizedState={dehydrated:u,treeContext:n,retryLane:1073741824},n=vu(18,null,null,0),n.stateNode=u,n.return=e,e.child=n,au=e,fu=null,!0):!1;default:return!1}}function Vi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function qi(e){if(Fe){var u=fu;if(u){var n=u;if(!ta(e,u)){if(Vi(e))throw Error(o(418));u=tt(n.nextSibling);var i=au;u&&ta(e,u)?ua(i,n):(e.flags=e.flags&-4097|2,Fe=!1,au=e)}}else{if(Vi(e))throw Error(o(418));e.flags=e.flags&-4097|2,Fe=!1,au=e}}}function na(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;au=e}function Qr(e){if(e!==au)return!1;if(!Fe)return na(e),Fe=!0,!1;var u;if((u=e.tag!==3)&&!(u=e.tag!==5)&&(u=e.type,u=u!=="head"&&u!=="body"&&!Li(e.type,e.memoizedProps)),u&&(u=fu)){if(Vi(e))throw ra(),Error(o(418));for(;u;)ua(e,u),u=tt(u.nextSibling)}if(na(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,u=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(u===0){fu=tt(e.nextSibling);break e}u--}else n!=="$"&&n!=="$!"&&n!=="$?"||u++}e=e.nextSibling}fu=null}}else fu=au?tt(e.stateNode.nextSibling):null;return!0}function ra(){for(var e=fu;e;)e=tt(e.nextSibling)}function Yt(){fu=au=null,Fe=!1}function Wi(e){wu===null?wu=[e]:wu.push(e)}var j1=O.ReactCurrentBatchConfig;function Un(e,u,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(o(309));var i=n.stateNode}if(!i)throw Error(o(147,e));var c=i,f=""+e;return u!==null&&u.ref!==null&&typeof u.ref=="function"&&u.ref._stringRef===f?u.ref:(u=function(m){var v=c.refs;m===null?delete v[f]:v[f]=m},u._stringRef=f,u)}if(typeof e!="string")throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Gr(e,u){throw e=Object.prototype.toString.call(u),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":e))}function oa(e){var u=e._init;return u(e._payload)}function ia(e){function u(A,E){if(e){var D=A.deletions;D===null?(A.deletions=[E],A.flags|=16):D.push(E)}}function n(A,E){if(!e)return null;for(;E!==null;)u(A,E),E=E.sibling;return null}function i(A,E){for(A=new Map;E!==null;)E.key!==null?A.set(E.key,E):A.set(E.index,E),E=E.sibling;return A}function c(A,E){return A=ht(A,E),A.index=0,A.sibling=null,A}function f(A,E,D){return A.index=D,e?(D=A.alternate,D!==null?(D=D.index,D<E?(A.flags|=2,E):D):(A.flags|=2,E)):(A.flags|=1048576,E)}function m(A){return e&&A.alternate===null&&(A.flags|=2),A}function v(A,E,D,L){return E===null||E.tag!==6?(E=Il(D,A.mode,L),E.return=A,E):(E=c(E,D),E.return=A,E)}function w(A,E,D,L){var G=D.type;return G===ne?j(A,E,D.props.children,L,D.key):E!==null&&(E.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===we&&oa(G)===E.type)?(L=c(E,D.props),L.ref=Un(A,E,D),L.return=A,L):(L=bo(D.type,D.key,D.props,null,A.mode,L),L.ref=Un(A,E,D),L.return=A,L)}function N(A,E,D,L){return E===null||E.tag!==4||E.stateNode.containerInfo!==D.containerInfo||E.stateNode.implementation!==D.implementation?(E=Pl(D,A.mode,L),E.return=A,E):(E=c(E,D.children||[]),E.return=A,E)}function j(A,E,D,L,G){return E===null||E.tag!==7?(E=jt(D,A.mode,L,G),E.return=A,E):(E=c(E,D),E.return=A,E)}function R(A,E,D){if(typeof E=="string"&&E!==""||typeof E=="number")return E=Il(""+E,A.mode,D),E.return=A,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Q:return D=bo(E.type,E.key,E.props,null,A.mode,D),D.ref=Un(A,null,E),D.return=A,D;case Z:return E=Pl(E,A.mode,D),E.return=A,E;case we:var L=E._init;return R(A,L(E._payload),D)}if(xn(E)||K(E))return E=jt(E,A.mode,D,null),E.return=A,E;Gr(A,E)}return null}function M(A,E,D,L){var G=E!==null?E.key:null;if(typeof D=="string"&&D!==""||typeof D=="number")return G!==null?null:v(A,E,""+D,L);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case Q:return D.key===G?w(A,E,D,L):null;case Z:return D.key===G?N(A,E,D,L):null;case we:return G=D._init,M(A,E,G(D._payload),L)}if(xn(D)||K(D))return G!==null?null:j(A,E,D,L,null);Gr(A,D)}return null}function U(A,E,D,L,G){if(typeof L=="string"&&L!==""||typeof L=="number")return A=A.get(D)||null,v(E,A,""+L,G);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Q:return A=A.get(L.key===null?D:L.key)||null,w(E,A,L,G);case Z:return A=A.get(L.key===null?D:L.key)||null,N(E,A,L,G);case we:var Y=L._init;return U(A,E,D,Y(L._payload),G)}if(xn(L)||K(L))return A=A.get(D)||null,j(E,A,L,G,null);Gr(E,L)}return null}function q(A,E,D,L){for(var G=null,Y=null,X=E,ee=E=0,Ue=null;X!==null&&ee<D.length;ee++){X.index>ee?(Ue=X,X=null):Ue=X.sibling;var he=M(A,X,D[ee],L);if(he===null){X===null&&(X=Ue);break}e&&X&&he.alternate===null&&u(A,X),E=f(he,E,ee),Y===null?G=he:Y.sibling=he,Y=he,X=Ue}if(ee===D.length)return n(A,X),Fe&&St(A,ee),G;if(X===null){for(;ee<D.length;ee++)X=R(A,D[ee],L),X!==null&&(E=f(X,E,ee),Y===null?G=X:Y.sibling=X,Y=X);return Fe&&St(A,ee),G}for(X=i(A,X);ee<D.length;ee++)Ue=U(X,A,ee,D[ee],L),Ue!==null&&(e&&Ue.alternate!==null&&X.delete(Ue.key===null?ee:Ue.key),E=f(Ue,E,ee),Y===null?G=Ue:Y.sibling=Ue,Y=Ue);return e&&X.forEach(function(pt){return u(A,pt)}),Fe&&St(A,ee),G}function W(A,E,D,L){var G=K(D);if(typeof G!="function")throw Error(o(150));if(D=G.call(D),D==null)throw Error(o(151));for(var Y=G=null,X=E,ee=E=0,Ue=null,he=D.next();X!==null&&!he.done;ee++,he=D.next()){X.index>ee?(Ue=X,X=null):Ue=X.sibling;var pt=M(A,X,he.value,L);if(pt===null){X===null&&(X=Ue);break}e&&X&&pt.alternate===null&&u(A,X),E=f(pt,E,ee),Y===null?G=pt:Y.sibling=pt,Y=pt,X=Ue}if(he.done)return n(A,X),Fe&&St(A,ee),G;if(X===null){for(;!he.done;ee++,he=D.next())he=R(A,he.value,L),he!==null&&(E=f(he,E,ee),Y===null?G=he:Y.sibling=he,Y=he);return Fe&&St(A,ee),G}for(X=i(A,X);!he.done;ee++,he=D.next())he=U(X,A,ee,he.value,L),he!==null&&(e&&he.alternate!==null&&X.delete(he.key===null?ee:he.key),E=f(he,E,ee),Y===null?G=he:Y.sibling=he,Y=he);return e&&X.forEach(function(hh){return u(A,hh)}),Fe&&St(A,ee),G}function Re(A,E,D,L){if(typeof D=="object"&&D!==null&&D.type===ne&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case Q:e:{for(var G=D.key,Y=E;Y!==null;){if(Y.key===G){if(G=D.type,G===ne){if(Y.tag===7){n(A,Y.sibling),E=c(Y,D.props.children),E.return=A,A=E;break e}}else if(Y.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===we&&oa(G)===Y.type){n(A,Y.sibling),E=c(Y,D.props),E.ref=Un(A,Y,D),E.return=A,A=E;break e}n(A,Y);break}else u(A,Y);Y=Y.sibling}D.type===ne?(E=jt(D.props.children,A.mode,L,D.key),E.return=A,A=E):(L=bo(D.type,D.key,D.props,null,A.mode,L),L.ref=Un(A,E,D),L.return=A,A=L)}return m(A);case Z:e:{for(Y=D.key;E!==null;){if(E.key===Y)if(E.tag===4&&E.stateNode.containerInfo===D.containerInfo&&E.stateNode.implementation===D.implementation){n(A,E.sibling),E=c(E,D.children||[]),E.return=A,A=E;break e}else{n(A,E);break}else u(A,E);E=E.sibling}E=Pl(D,A.mode,L),E.return=A,A=E}return m(A);case we:return Y=D._init,Re(A,E,Y(D._payload),L)}if(xn(D))return q(A,E,D,L);if(K(D))return W(A,E,D,L);Gr(A,D)}return typeof D=="string"&&D!==""||typeof D=="number"?(D=""+D,E!==null&&E.tag===6?(n(A,E.sibling),E=c(E,D),E.return=A,A=E):(n(A,E),E=Il(D,A.mode,L),E.return=A,A=E),m(A)):n(A,E)}return Re}var Xt=ia(!0),la=ia(!1),Zr=nt(null),Kr=null,Jt=null,Qi=null;function Gi(){Qi=Jt=Kr=null}function Zi(e){var u=Zr.current;Se(Zr),e._currentValue=u}function Ki(e,u,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&u)!==u?(e.childLanes|=u,i!==null&&(i.childLanes|=u)):i!==null&&(i.childLanes&u)!==u&&(i.childLanes|=u),e===n)break;e=e.return}}function en(e,u){Kr=e,Qi=Jt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&u)!==0&&(nu=!0),e.firstContext=null)}function xu(e){var u=e._currentValue;if(Qi!==e)if(e={context:e,memoizedValue:u,next:null},Jt===null){if(Kr===null)throw Error(o(308));Jt=e,Kr.dependencies={lanes:0,firstContext:e}}else Jt=Jt.next=e;return u}var At=null;function Yi(e){At===null?At=[e]:At.push(e)}function sa(e,u,n,i){var c=u.interleaved;return c===null?(n.next=n,Yi(u)):(n.next=c.next,c.next=n),u.interleaved=n,Hu(e,i)}function Hu(e,u){e.lanes|=u;var n=e.alternate;for(n!==null&&(n.lanes|=u),n=e,e=e.return;e!==null;)e.childLanes|=u,n=e.alternate,n!==null&&(n.childLanes|=u),n=e,e=e.return;return n.tag===3?n.stateNode:null}var it=!1;function Xi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ca(e,u){e=e.updateQueue,u.updateQueue===e&&(u.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vu(e,u){return{eventTime:e,lane:u,tag:0,payload:null,callback:null,next:null}}function lt(e,u,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(ae&2)!==0){var c=i.pending;return c===null?u.next=u:(u.next=c.next,c.next=u),i.pending=u,Hu(e,n)}return c=i.interleaved,c===null?(u.next=u,Yi(i)):(u.next=c.next,c.next=u),i.interleaved=u,Hu(e,n)}function Yr(e,u,n){if(u=u.updateQueue,u!==null&&(u=u.shared,(n&4194240)!==0)){var i=u.lanes;i&=e.pendingLanes,n|=i,u.lanes=n,di(e,n)}}function aa(e,u){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var c=null,f=null;if(n=n.firstBaseUpdate,n!==null){do{var m={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};f===null?c=f=m:f=f.next=m,n=n.next}while(n!==null);f===null?c=f=u:f=f.next=u}else c=f=u;n={baseState:i.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=u:e.next=u,n.lastBaseUpdate=u}function Xr(e,u,n,i){var c=e.updateQueue;it=!1;var f=c.firstBaseUpdate,m=c.lastBaseUpdate,v=c.shared.pending;if(v!==null){c.shared.pending=null;var w=v,N=w.next;w.next=null,m===null?f=N:m.next=N,m=w;var j=e.alternate;j!==null&&(j=j.updateQueue,v=j.lastBaseUpdate,v!==m&&(v===null?j.firstBaseUpdate=N:v.next=N,j.lastBaseUpdate=w))}if(f!==null){var R=c.baseState;m=0,j=N=w=null,v=f;do{var M=v.lane,U=v.eventTime;if((i&M)===M){j!==null&&(j=j.next={eventTime:U,lane:0,tag:v.tag,payload:v.payload,callback:v.callback,next:null});e:{var q=e,W=v;switch(M=u,U=n,W.tag){case 1:if(q=W.payload,typeof q=="function"){R=q.call(U,R,M);break e}R=q;break e;case 3:q.flags=q.flags&-65537|128;case 0:if(q=W.payload,M=typeof q=="function"?q.call(U,R,M):q,M==null)break e;R=H({},R,M);break e;case 2:it=!0}}v.callback!==null&&v.lane!==0&&(e.flags|=64,M=c.effects,M===null?c.effects=[v]:M.push(v))}else U={eventTime:U,lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},j===null?(N=j=U,w=R):j=j.next=U,m|=M;if(v=v.next,v===null){if(v=c.shared.pending,v===null)break;M=v,v=M.next,M.next=null,c.lastBaseUpdate=M,c.shared.pending=null}}while(!0);if(j===null&&(w=R),c.baseState=w,c.firstBaseUpdate=N,c.lastBaseUpdate=j,u=c.shared.interleaved,u!==null){c=u;do m|=c.lane,c=c.next;while(c!==u)}else f===null&&(c.shared.lanes=0);Nt|=m,e.lanes=m,e.memoizedState=R}}function fa(e,u,n){if(e=u.effects,u.effects=null,e!==null)for(u=0;u<e.length;u++){var i=e[u],c=i.callback;if(c!==null){if(i.callback=null,i=n,typeof c!="function")throw Error(o(191,c));c.call(i)}}}var Hn={},Mu=nt(Hn),Vn=nt(Hn),qn=nt(Hn);function Dt(e){if(e===Hn)throw Error(o(174));return e}function Ji(e,u){switch(_e(qn,u),_e(Vn,e),_e(Mu,Hn),e=u.nodeType,e){case 9:case 11:u=(u=u.documentElement)?u.namespaceURI:ei(null,"");break;default:e=e===8?u.parentNode:u,u=e.namespaceURI||null,e=e.tagName,u=ei(u,e)}Se(Mu),_e(Mu,u)}function un(){Se(Mu),Se(Vn),Se(qn)}function da(e){Dt(qn.current);var u=Dt(Mu.current),n=ei(u,e.type);u!==n&&(_e(Vn,e),_e(Mu,n))}function el(e){Vn.current===e&&(Se(Mu),Se(Vn))}var Ne=nt(0);function Jr(e){for(var u=e;u!==null;){if(u.tag===13){var n=u.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var ul=[];function tl(){for(var e=0;e<ul.length;e++)ul[e]._workInProgressVersionPrimary=null;ul.length=0}var eo=O.ReactCurrentDispatcher,nl=O.ReactCurrentBatchConfig,Ft=0,ze=null,Pe=null,Oe=null,uo=!1,Wn=!1,Qn=0,R1=0;function Ze(){throw Error(o(321))}function rl(e,u){if(u===null)return!1;for(var n=0;n<u.length&&n<e.length;n++)if(!Cu(e[n],u[n]))return!1;return!0}function ol(e,u,n,i,c,f){if(Ft=f,ze=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,eo.current=e===null||e.memoizedState===null?B1:O1,e=n(i,c),Wn){f=0;do{if(Wn=!1,Qn=0,25<=f)throw Error(o(301));f+=1,Oe=Pe=null,u.updateQueue=null,eo.current=$1,e=n(i,c)}while(Wn)}if(eo.current=ro,u=Pe!==null&&Pe.next!==null,Ft=0,Oe=Pe=ze=null,uo=!1,u)throw Error(o(300));return e}function il(){var e=Qn!==0;return Qn=0,e}function Tu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oe===null?ze.memoizedState=Oe=e:Oe=Oe.next=e,Oe}function yu(){if(Pe===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=Pe.next;var u=Oe===null?ze.memoizedState:Oe.next;if(u!==null)Oe=u,Pe=e;else{if(e===null)throw Error(o(310));Pe=e,e={memoizedState:Pe.memoizedState,baseState:Pe.baseState,baseQueue:Pe.baseQueue,queue:Pe.queue,next:null},Oe===null?ze.memoizedState=Oe=e:Oe=Oe.next=e}return Oe}function Gn(e,u){return typeof u=="function"?u(e):u}function ll(e){var u=yu(),n=u.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var i=Pe,c=i.baseQueue,f=n.pending;if(f!==null){if(c!==null){var m=c.next;c.next=f.next,f.next=m}i.baseQueue=c=f,n.pending=null}if(c!==null){f=c.next,i=i.baseState;var v=m=null,w=null,N=f;do{var j=N.lane;if((Ft&j)===j)w!==null&&(w=w.next={lane:0,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),i=N.hasEagerState?N.eagerState:e(i,N.action);else{var R={lane:j,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null};w===null?(v=w=R,m=i):w=w.next=R,ze.lanes|=j,Nt|=j}N=N.next}while(N!==null&&N!==f);w===null?m=i:w.next=v,Cu(i,u.memoizedState)||(nu=!0),u.memoizedState=i,u.baseState=m,u.baseQueue=w,n.lastRenderedState=i}if(e=n.interleaved,e!==null){c=e;do f=c.lane,ze.lanes|=f,Nt|=f,c=c.next;while(c!==e)}else c===null&&(n.lanes=0);return[u.memoizedState,n.dispatch]}function sl(e){var u=yu(),n=u.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var i=n.dispatch,c=n.pending,f=u.memoizedState;if(c!==null){n.pending=null;var m=c=c.next;do f=e(f,m.action),m=m.next;while(m!==c);Cu(f,u.memoizedState)||(nu=!0),u.memoizedState=f,u.baseQueue===null&&(u.baseState=f),n.lastRenderedState=f}return[f,i]}function ha(){}function pa(e,u){var n=ze,i=yu(),c=u(),f=!Cu(i.memoizedState,c);if(f&&(i.memoizedState=c,nu=!0),i=i.queue,cl(xa.bind(null,n,i,e),[e]),i.getSnapshot!==u||f||Oe!==null&&Oe.memoizedState.tag&1){if(n.flags|=2048,Zn(9,ga.bind(null,n,i,c,u),void 0,null),$e===null)throw Error(o(349));(Ft&30)!==0||ma(n,u,c)}return c}function ma(e,u,n){e.flags|=16384,e={getSnapshot:u,value:n},u=ze.updateQueue,u===null?(u={lastEffect:null,stores:null},ze.updateQueue=u,u.stores=[e]):(n=u.stores,n===null?u.stores=[e]:n.push(e))}function ga(e,u,n,i){u.value=n,u.getSnapshot=i,ya(u)&&ba(e)}function xa(e,u,n){return n(function(){ya(u)&&ba(e)})}function ya(e){var u=e.getSnapshot;e=e.value;try{var n=u();return!Cu(e,n)}catch{return!0}}function ba(e){var u=Hu(e,1);u!==null&&Du(u,e,1,-1)}function va(e){var u=Tu();return typeof e=="function"&&(e=e()),u.memoizedState=u.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:e},u.queue=e,e=e.dispatch=P1.bind(null,ze,e),[u.memoizedState,e]}function Zn(e,u,n,i){return e={tag:e,create:u,destroy:n,deps:i,next:null},u=ze.updateQueue,u===null?(u={lastEffect:null,stores:null},ze.updateQueue=u,u.lastEffect=e.next=e):(n=u.lastEffect,n===null?u.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,u.lastEffect=e)),e}function ka(){return yu().memoizedState}function to(e,u,n,i){var c=Tu();ze.flags|=e,c.memoizedState=Zn(1|u,n,void 0,i===void 0?null:i)}function no(e,u,n,i){var c=yu();i=i===void 0?null:i;var f=void 0;if(Pe!==null){var m=Pe.memoizedState;if(f=m.destroy,i!==null&&rl(i,m.deps)){c.memoizedState=Zn(u,n,f,i);return}}ze.flags|=e,c.memoizedState=Zn(1|u,n,f,i)}function _a(e,u){return to(8390656,8,e,u)}function cl(e,u){return no(2048,8,e,u)}function Ca(e,u){return no(4,2,e,u)}function wa(e,u){return no(4,4,e,u)}function Ea(e,u){if(typeof u=="function")return e=e(),u(e),function(){u(null)};if(u!=null)return e=e(),u.current=e,function(){u.current=null}}function Sa(e,u,n){return n=n!=null?n.concat([e]):null,no(4,4,Ea.bind(null,u,e),n)}function al(){}function Aa(e,u){var n=yu();u=u===void 0?null:u;var i=n.memoizedState;return i!==null&&u!==null&&rl(u,i[1])?i[0]:(n.memoizedState=[e,u],e)}function Da(e,u){var n=yu();u=u===void 0?null:u;var i=n.memoizedState;return i!==null&&u!==null&&rl(u,i[1])?i[0]:(e=e(),n.memoizedState=[e,u],e)}function Fa(e,u,n){return(Ft&21)===0?(e.baseState&&(e.baseState=!1,nu=!0),e.memoizedState=n):(Cu(n,u)||(n=oc(),ze.lanes|=n,Nt|=n,e.baseState=!0),u)}function L1(e,u){var n=xe;xe=n!==0&&4>n?n:4,e(!0);var i=nl.transition;nl.transition={};try{e(!1),u()}finally{xe=n,nl.transition=i}}function Na(){return yu().memoizedState}function I1(e,u,n){var i=ft(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},za(e))Ma(u,n);else if(n=sa(e,u,n,i),n!==null){var c=Je();Du(n,e,i,c),Ta(n,u,i)}}function P1(e,u,n){var i=ft(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(za(e))Ma(u,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=u.lastRenderedReducer,f!==null))try{var m=u.lastRenderedState,v=f(m,n);if(c.hasEagerState=!0,c.eagerState=v,Cu(v,m)){var w=u.interleaved;w===null?(c.next=c,Yi(u)):(c.next=w.next,w.next=c),u.interleaved=c;return}}catch{}finally{}n=sa(e,u,c,i),n!==null&&(c=Je(),Du(n,e,i,c),Ta(n,u,i))}}function za(e){var u=e.alternate;return e===ze||u!==null&&u===ze}function Ma(e,u){Wn=uo=!0;var n=e.pending;n===null?u.next=u:(u.next=n.next,n.next=u),e.pending=u}function Ta(e,u,n){if((n&4194240)!==0){var i=u.lanes;i&=e.pendingLanes,n|=i,u.lanes=n,di(e,n)}}var ro={readContext:xu,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useInsertionEffect:Ze,useLayoutEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useMutableSource:Ze,useSyncExternalStore:Ze,useId:Ze,unstable_isNewReconciler:!1},B1={readContext:xu,useCallback:function(e,u){return Tu().memoizedState=[e,u===void 0?null:u],e},useContext:xu,useEffect:_a,useImperativeHandle:function(e,u,n){return n=n!=null?n.concat([e]):null,to(4194308,4,Ea.bind(null,u,e),n)},useLayoutEffect:function(e,u){return to(4194308,4,e,u)},useInsertionEffect:function(e,u){return to(4,2,e,u)},useMemo:function(e,u){var n=Tu();return u=u===void 0?null:u,e=e(),n.memoizedState=[e,u],e},useReducer:function(e,u,n){var i=Tu();return u=n!==void 0?n(u):u,i.memoizedState=i.baseState=u,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},i.queue=e,e=e.dispatch=I1.bind(null,ze,e),[i.memoizedState,e]},useRef:function(e){var u=Tu();return e={current:e},u.memoizedState=e},useState:va,useDebugValue:al,useDeferredValue:function(e){return Tu().memoizedState=e},useTransition:function(){var e=va(!1),u=e[0];return e=L1.bind(null,e[1]),Tu().memoizedState=e,[u,e]},useMutableSource:function(){},useSyncExternalStore:function(e,u,n){var i=ze,c=Tu();if(Fe){if(n===void 0)throw Error(o(407));n=n()}else{if(n=u(),$e===null)throw Error(o(349));(Ft&30)!==0||ma(i,u,n)}c.memoizedState=n;var f={value:n,getSnapshot:u};return c.queue=f,_a(xa.bind(null,i,f,e),[e]),i.flags|=2048,Zn(9,ga.bind(null,i,f,n,u),void 0,null),n},useId:function(){var e=Tu(),u=$e.identifierPrefix;if(Fe){var n=Uu,i=$u;n=(i&~(1<<32-_u(i)-1)).toString(32)+n,u=":"+u+"R"+n,n=Qn++,0<n&&(u+="H"+n.toString(32)),u+=":"}else n=R1++,u=":"+u+"r"+n.toString(32)+":";return e.memoizedState=u},unstable_isNewReconciler:!1},O1={readContext:xu,useCallback:Aa,useContext:xu,useEffect:cl,useImperativeHandle:Sa,useInsertionEffect:Ca,useLayoutEffect:wa,useMemo:Da,useReducer:ll,useRef:ka,useState:function(){return ll(Gn)},useDebugValue:al,useDeferredValue:function(e){var u=yu();return Fa(u,Pe.memoizedState,e)},useTransition:function(){var e=ll(Gn)[0],u=yu().memoizedState;return[e,u]},useMutableSource:ha,useSyncExternalStore:pa,useId:Na,unstable_isNewReconciler:!1},$1={readContext:xu,useCallback:Aa,useContext:xu,useEffect:cl,useImperativeHandle:Sa,useInsertionEffect:Ca,useLayoutEffect:wa,useMemo:Da,useReducer:sl,useRef:ka,useState:function(){return sl(Gn)},useDebugValue:al,useDeferredValue:function(e){var u=yu();return Pe===null?u.memoizedState=e:Fa(u,Pe.memoizedState,e)},useTransition:function(){var e=sl(Gn)[0],u=yu().memoizedState;return[e,u]},useMutableSource:ha,useSyncExternalStore:pa,useId:Na,unstable_isNewReconciler:!1};function Eu(e,u){if(e&&e.defaultProps){u=H({},u),e=e.defaultProps;for(var n in e)u[n]===void 0&&(u[n]=e[n]);return u}return u}function fl(e,u,n,i){u=e.memoizedState,n=n(i,u),n=n==null?u:H({},u,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var oo={isMounted:function(e){return(e=e._reactInternals)?_t(e)===e:!1},enqueueSetState:function(e,u,n){e=e._reactInternals;var i=Je(),c=ft(e),f=Vu(i,c);f.payload=u,n!=null&&(f.callback=n),u=lt(e,f,c),u!==null&&(Du(u,e,c,i),Yr(u,e,c))},enqueueReplaceState:function(e,u,n){e=e._reactInternals;var i=Je(),c=ft(e),f=Vu(i,c);f.tag=1,f.payload=u,n!=null&&(f.callback=n),u=lt(e,f,c),u!==null&&(Du(u,e,c,i),Yr(u,e,c))},enqueueForceUpdate:function(e,u){e=e._reactInternals;var n=Je(),i=ft(e),c=Vu(n,i);c.tag=2,u!=null&&(c.callback=u),u=lt(e,c,i),u!==null&&(Du(u,e,i,n),Yr(u,e,i))}};function ja(e,u,n,i,c,f,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,f,m):u.prototype&&u.prototype.isPureReactComponent?!Rn(n,i)||!Rn(c,f):!0}function Ra(e,u,n){var i=!1,c=rt,f=u.contextType;return typeof f=="object"&&f!==null?f=xu(f):(c=tu(u)?wt:Ge.current,i=u.contextTypes,f=(i=i!=null)?Gt(e,c):rt),u=new u(n,f),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=oo,e.stateNode=u,u._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=f),u}function La(e,u,n,i){e=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(n,i),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(n,i),u.state!==e&&oo.enqueueReplaceState(u,u.state,null)}function dl(e,u,n,i){var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},Xi(e);var f=u.contextType;typeof f=="object"&&f!==null?c.context=xu(f):(f=tu(u)?wt:Ge.current,c.context=Gt(e,f)),c.state=e.memoizedState,f=u.getDerivedStateFromProps,typeof f=="function"&&(fl(e,u,f,n),c.state=e.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(u=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),u!==c.state&&oo.enqueueReplaceState(c,c.state,null),Xr(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function tn(e,u){try{var n="",i=u;do n+=fe(i),i=i.return;while(i);var c=n}catch(f){c=`
39
+ Error generating stack: `+f.message+`
40
+ `+f.stack}return{value:e,source:u,stack:c,digest:null}}function hl(e,u,n){return{value:e,source:null,stack:n??null,digest:u??null}}function pl(e,u){try{console.error(u.value)}catch(n){setTimeout(function(){throw n})}}var U1=typeof WeakMap=="function"?WeakMap:Map;function Ia(e,u,n){n=Vu(-1,n),n.tag=3,n.payload={element:null};var i=u.value;return n.callback=function(){ho||(ho=!0,Fl=i),pl(e,u)},n}function Pa(e,u,n){n=Vu(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var c=u.value;n.payload=function(){return i(c)},n.callback=function(){pl(e,u)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(n.callback=function(){pl(e,u),typeof i!="function"&&(ct===null?ct=new Set([this]):ct.add(this));var m=u.stack;this.componentDidCatch(u.value,{componentStack:m!==null?m:""})}),n}function Ba(e,u,n){var i=e.pingCache;if(i===null){i=e.pingCache=new U1;var c=new Set;i.set(u,c)}else c=i.get(u),c===void 0&&(c=new Set,i.set(u,c));c.has(n)||(c.add(n),e=th.bind(null,e,u,n),u.then(e,e))}function Oa(e){do{var u;if((u=e.tag===13)&&(u=e.memoizedState,u=u!==null?u.dehydrated!==null:!0),u)return e;e=e.return}while(e!==null);return null}function $a(e,u,n,i,c){return(e.mode&1)===0?(e===u?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(u=Vu(-1,1),u.tag=2,lt(n,u,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=c,e)}var H1=O.ReactCurrentOwner,nu=!1;function Xe(e,u,n,i){u.child=e===null?la(u,null,n,i):Xt(u,e.child,n,i)}function Ua(e,u,n,i,c){n=n.render;var f=u.ref;return en(u,c),i=ol(e,u,n,i,f,c),n=il(),e!==null&&!nu?(u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~c,qu(e,u,c)):(Fe&&n&&Ui(u),u.flags|=1,Xe(e,u,i,c),u.child)}function Ha(e,u,n,i,c){if(e===null){var f=n.type;return typeof f=="function"&&!Ll(f)&&f.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(u.tag=15,u.type=f,Va(e,u,f,i,c)):(e=bo(n.type,null,i,u,u.mode,c),e.ref=u.ref,e.return=u,u.child=e)}if(f=e.child,(e.lanes&c)===0){var m=f.memoizedProps;if(n=n.compare,n=n!==null?n:Rn,n(m,i)&&e.ref===u.ref)return qu(e,u,c)}return u.flags|=1,e=ht(f,i),e.ref=u.ref,e.return=u,u.child=e}function Va(e,u,n,i,c){if(e!==null){var f=e.memoizedProps;if(Rn(f,i)&&e.ref===u.ref)if(nu=!1,u.pendingProps=i=f,(e.lanes&c)!==0)(e.flags&131072)!==0&&(nu=!0);else return u.lanes=e.lanes,qu(e,u,c)}return ml(e,u,n,i,c)}function qa(e,u,n){var i=u.pendingProps,c=i.children,f=e!==null?e.memoizedState:null;if(i.mode==="hidden")if((u.mode&1)===0)u.memoizedState={baseLanes:0,cachePool:null,transitions:null},_e(rn,du),du|=n;else{if((n&1073741824)===0)return e=f!==null?f.baseLanes|n:n,u.lanes=u.childLanes=1073741824,u.memoizedState={baseLanes:e,cachePool:null,transitions:null},u.updateQueue=null,_e(rn,du),du|=e,null;u.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=f!==null?f.baseLanes:n,_e(rn,du),du|=i}else f!==null?(i=f.baseLanes|n,u.memoizedState=null):i=n,_e(rn,du),du|=i;return Xe(e,u,c,n),u.child}function Wa(e,u){var n=u.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(u.flags|=512,u.flags|=2097152)}function ml(e,u,n,i,c){var f=tu(n)?wt:Ge.current;return f=Gt(u,f),en(u,c),n=ol(e,u,n,i,f,c),i=il(),e!==null&&!nu?(u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~c,qu(e,u,c)):(Fe&&i&&Ui(u),u.flags|=1,Xe(e,u,n,c),u.child)}function Qa(e,u,n,i,c){if(tu(n)){var f=!0;Hr(u)}else f=!1;if(en(u,c),u.stateNode===null)lo(e,u),Ra(u,n,i),dl(u,n,i,c),i=!0;else if(e===null){var m=u.stateNode,v=u.memoizedProps;m.props=v;var w=m.context,N=n.contextType;typeof N=="object"&&N!==null?N=xu(N):(N=tu(n)?wt:Ge.current,N=Gt(u,N));var j=n.getDerivedStateFromProps,R=typeof j=="function"||typeof m.getSnapshotBeforeUpdate=="function";R||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(v!==i||w!==N)&&La(u,m,i,N),it=!1;var M=u.memoizedState;m.state=M,Xr(u,i,m,c),w=u.memoizedState,v!==i||M!==w||uu.current||it?(typeof j=="function"&&(fl(u,n,j,i),w=u.memoizedState),(v=it||ja(u,n,v,i,M,w,N))?(R||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(u.flags|=4194308)):(typeof m.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=i,u.memoizedState=w),m.props=i,m.state=w,m.context=N,i=v):(typeof m.componentDidMount=="function"&&(u.flags|=4194308),i=!1)}else{m=u.stateNode,ca(e,u),v=u.memoizedProps,N=u.type===u.elementType?v:Eu(u.type,v),m.props=N,R=u.pendingProps,M=m.context,w=n.contextType,typeof w=="object"&&w!==null?w=xu(w):(w=tu(n)?wt:Ge.current,w=Gt(u,w));var U=n.getDerivedStateFromProps;(j=typeof U=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(v!==R||M!==w)&&La(u,m,i,w),it=!1,M=u.memoizedState,m.state=M,Xr(u,i,m,c);var q=u.memoizedState;v!==R||M!==q||uu.current||it?(typeof U=="function"&&(fl(u,n,U,i),q=u.memoizedState),(N=it||ja(u,n,N,i,M,q,w)||!1)?(j||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(i,q,w),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(i,q,w)),typeof m.componentDidUpdate=="function"&&(u.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof m.componentDidUpdate!="function"||v===e.memoizedProps&&M===e.memoizedState||(u.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&M===e.memoizedState||(u.flags|=1024),u.memoizedProps=i,u.memoizedState=q),m.props=i,m.state=q,m.context=w,i=N):(typeof m.componentDidUpdate!="function"||v===e.memoizedProps&&M===e.memoizedState||(u.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&M===e.memoizedState||(u.flags|=1024),i=!1)}return gl(e,u,n,i,f,c)}function gl(e,u,n,i,c,f){Wa(e,u);var m=(u.flags&128)!==0;if(!i&&!m)return c&&Xc(u,n,!1),qu(e,u,f);i=u.stateNode,H1.current=u;var v=m&&typeof n.getDerivedStateFromError!="function"?null:i.render();return u.flags|=1,e!==null&&m?(u.child=Xt(u,e.child,null,f),u.child=Xt(u,null,v,f)):Xe(e,u,v,f),u.memoizedState=i.state,c&&Xc(u,n,!0),u.child}function Ga(e){var u=e.stateNode;u.pendingContext?Kc(e,u.pendingContext,u.pendingContext!==u.context):u.context&&Kc(e,u.context,!1),Ji(e,u.containerInfo)}function Za(e,u,n,i,c){return Yt(),Wi(c),u.flags|=256,Xe(e,u,n,i),u.child}var xl={dehydrated:null,treeContext:null,retryLane:0};function yl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ka(e,u,n){var i=u.pendingProps,c=Ne.current,f=!1,m=(u.flags&128)!==0,v;if((v=m)||(v=e!==null&&e.memoizedState===null?!1:(c&2)!==0),v?(f=!0,u.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),_e(Ne,c&1),e===null)return qi(u),e=u.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((u.mode&1)===0?u.lanes=1:e.data==="$!"?u.lanes=8:u.lanes=1073741824,null):(m=i.children,e=i.fallback,f?(i=u.mode,f=u.child,m={mode:"hidden",children:m},(i&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=m):f=vo(m,i,0,null),e=jt(e,i,n,null),f.return=u,e.return=u,f.sibling=e,u.child=f,u.child.memoizedState=yl(n),u.memoizedState=xl,e):bl(u,m));if(c=e.memoizedState,c!==null&&(v=c.dehydrated,v!==null))return V1(e,u,m,i,v,c,n);if(f){f=i.fallback,m=u.mode,c=e.child,v=c.sibling;var w={mode:"hidden",children:i.children};return(m&1)===0&&u.child!==c?(i=u.child,i.childLanes=0,i.pendingProps=w,u.deletions=null):(i=ht(c,w),i.subtreeFlags=c.subtreeFlags&14680064),v!==null?f=ht(v,f):(f=jt(f,m,n,null),f.flags|=2),f.return=u,i.return=u,i.sibling=f,u.child=i,i=f,f=u.child,m=e.child.memoizedState,m=m===null?yl(n):{baseLanes:m.baseLanes|n,cachePool:null,transitions:m.transitions},f.memoizedState=m,f.childLanes=e.childLanes&~n,u.memoizedState=xl,i}return f=e.child,e=f.sibling,i=ht(f,{mode:"visible",children:i.children}),(u.mode&1)===0&&(i.lanes=n),i.return=u,i.sibling=null,e!==null&&(n=u.deletions,n===null?(u.deletions=[e],u.flags|=16):n.push(e)),u.child=i,u.memoizedState=null,i}function bl(e,u){return u=vo({mode:"visible",children:u},e.mode,0,null),u.return=e,e.child=u}function io(e,u,n,i){return i!==null&&Wi(i),Xt(u,e.child,null,n),e=bl(u,u.pendingProps.children),e.flags|=2,u.memoizedState=null,e}function V1(e,u,n,i,c,f,m){if(n)return u.flags&256?(u.flags&=-257,i=hl(Error(o(422))),io(e,u,m,i)):u.memoizedState!==null?(u.child=e.child,u.flags|=128,null):(f=i.fallback,c=u.mode,i=vo({mode:"visible",children:i.children},c,0,null),f=jt(f,c,m,null),f.flags|=2,i.return=u,f.return=u,i.sibling=f,u.child=i,(u.mode&1)!==0&&Xt(u,e.child,null,m),u.child.memoizedState=yl(m),u.memoizedState=xl,f);if((u.mode&1)===0)return io(e,u,m,null);if(c.data==="$!"){if(i=c.nextSibling&&c.nextSibling.dataset,i)var v=i.dgst;return i=v,f=Error(o(419)),i=hl(f,i,void 0),io(e,u,m,i)}if(v=(m&e.childLanes)!==0,nu||v){if(i=$e,i!==null){switch(m&-m){case 4:c=2;break;case 16:c=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:c=32;break;case 536870912:c=268435456;break;default:c=0}c=(c&(i.suspendedLanes|m))!==0?0:c,c!==0&&c!==f.retryLane&&(f.retryLane=c,Hu(e,c),Du(i,e,c,-1))}return Rl(),i=hl(Error(o(421))),io(e,u,m,i)}return c.data==="$?"?(u.flags|=128,u.child=e.child,u=nh.bind(null,e),c._reactRetry=u,null):(e=f.treeContext,fu=tt(c.nextSibling),au=u,Fe=!0,wu=null,e!==null&&(mu[gu++]=$u,mu[gu++]=Uu,mu[gu++]=Et,$u=e.id,Uu=e.overflow,Et=u),u=bl(u,i.children),u.flags|=4096,u)}function Ya(e,u,n){e.lanes|=u;var i=e.alternate;i!==null&&(i.lanes|=u),Ki(e.return,u,n)}function vl(e,u,n,i,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(f.isBackwards=u,f.rendering=null,f.renderingStartTime=0,f.last=i,f.tail=n,f.tailMode=c)}function Xa(e,u,n){var i=u.pendingProps,c=i.revealOrder,f=i.tail;if(Xe(e,u,i.children,n),i=Ne.current,(i&2)!==0)i=i&1|2,u.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=u.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ya(e,n,u);else if(e.tag===19)Ya(e,n,u);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===u)break e;for(;e.sibling===null;){if(e.return===null||e.return===u)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(_e(Ne,i),(u.mode&1)===0)u.memoizedState=null;else switch(c){case"forwards":for(n=u.child,c=null;n!==null;)e=n.alternate,e!==null&&Jr(e)===null&&(c=n),n=n.sibling;n=c,n===null?(c=u.child,u.child=null):(c=n.sibling,n.sibling=null),vl(u,!1,c,n,f);break;case"backwards":for(n=null,c=u.child,u.child=null;c!==null;){if(e=c.alternate,e!==null&&Jr(e)===null){u.child=c;break}e=c.sibling,c.sibling=n,n=c,c=e}vl(u,!0,n,null,f);break;case"together":vl(u,!1,null,null,void 0);break;default:u.memoizedState=null}return u.child}function lo(e,u){(u.mode&1)===0&&e!==null&&(e.alternate=null,u.alternate=null,u.flags|=2)}function qu(e,u,n){if(e!==null&&(u.dependencies=e.dependencies),Nt|=u.lanes,(n&u.childLanes)===0)return null;if(e!==null&&u.child!==e.child)throw Error(o(153));if(u.child!==null){for(e=u.child,n=ht(e,e.pendingProps),u.child=n,n.return=u;e.sibling!==null;)e=e.sibling,n=n.sibling=ht(e,e.pendingProps),n.return=u;n.sibling=null}return u.child}function q1(e,u,n){switch(u.tag){case 3:Ga(u),Yt();break;case 5:da(u);break;case 1:tu(u.type)&&Hr(u);break;case 4:Ji(u,u.stateNode.containerInfo);break;case 10:var i=u.type._context,c=u.memoizedProps.value;_e(Zr,i._currentValue),i._currentValue=c;break;case 13:if(i=u.memoizedState,i!==null)return i.dehydrated!==null?(_e(Ne,Ne.current&1),u.flags|=128,null):(n&u.child.childLanes)!==0?Ka(e,u,n):(_e(Ne,Ne.current&1),e=qu(e,u,n),e!==null?e.sibling:null);_e(Ne,Ne.current&1);break;case 19:if(i=(n&u.childLanes)!==0,(e.flags&128)!==0){if(i)return Xa(e,u,n);u.flags|=128}if(c=u.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),_e(Ne,Ne.current),i)break;return null;case 22:case 23:return u.lanes=0,qa(e,u,n)}return qu(e,u,n)}var Ja,kl,e0,u0;Ja=function(e,u){for(var n=u.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===u)break;for(;n.sibling===null;){if(n.return===null||n.return===u)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},kl=function(){},e0=function(e,u,n,i){var c=e.memoizedProps;if(c!==i){e=u.stateNode,Dt(Mu.current);var f=null;switch(n){case"input":c=Ko(e,c),i=Ko(e,i),f=[];break;case"select":c=H({},c,{value:void 0}),i=H({},i,{value:void 0}),f=[];break;case"textarea":c=Jo(e,c),i=Jo(e,i),f=[];break;default:typeof c.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=Or)}ui(n,i);var m;n=null;for(N in c)if(!i.hasOwnProperty(N)&&c.hasOwnProperty(N)&&c[N]!=null)if(N==="style"){var v=c[N];for(m in v)v.hasOwnProperty(m)&&(n||(n={}),n[m]="")}else N!=="dangerouslySetInnerHTML"&&N!=="children"&&N!=="suppressContentEditableWarning"&&N!=="suppressHydrationWarning"&&N!=="autoFocus"&&(s.hasOwnProperty(N)?f||(f=[]):(f=f||[]).push(N,null));for(N in i){var w=i[N];if(v=c!=null?c[N]:void 0,i.hasOwnProperty(N)&&w!==v&&(w!=null||v!=null))if(N==="style")if(v){for(m in v)!v.hasOwnProperty(m)||w&&w.hasOwnProperty(m)||(n||(n={}),n[m]="");for(m in w)w.hasOwnProperty(m)&&v[m]!==w[m]&&(n||(n={}),n[m]=w[m])}else n||(f||(f=[]),f.push(N,n)),n=w;else N==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,v=v?v.__html:void 0,w!=null&&v!==w&&(f=f||[]).push(N,w)):N==="children"?typeof w!="string"&&typeof w!="number"||(f=f||[]).push(N,""+w):N!=="suppressContentEditableWarning"&&N!=="suppressHydrationWarning"&&(s.hasOwnProperty(N)?(w!=null&&N==="onScroll"&&Ee("scroll",e),f||v===w||(f=[])):(f=f||[]).push(N,w))}n&&(f=f||[]).push("style",n);var N=f;(u.updateQueue=N)&&(u.flags|=4)}},u0=function(e,u,n,i){n!==i&&(u.flags|=4)};function Kn(e,u){if(!Fe)switch(e.tailMode){case"hidden":u=e.tail;for(var n=null;u!==null;)u.alternate!==null&&(n=u),u=u.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?u||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ke(e){var u=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(u)for(var c=e.child;c!==null;)n|=c.lanes|c.childLanes,i|=c.subtreeFlags&14680064,i|=c.flags&14680064,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)n|=c.lanes|c.childLanes,i|=c.subtreeFlags,i|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=i,e.childLanes=n,u}function W1(e,u,n){var i=u.pendingProps;switch(Hi(u),u.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(u),null;case 1:return tu(u.type)&&Ur(),Ke(u),null;case 3:return i=u.stateNode,un(),Se(uu),Se(Ge),tl(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Qr(u)?u.flags|=4:e===null||e.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,wu!==null&&(Ml(wu),wu=null))),kl(e,u),Ke(u),null;case 5:el(u);var c=Dt(qn.current);if(n=u.type,e!==null&&u.stateNode!=null)e0(e,u,n,i,c),e.ref!==u.ref&&(u.flags|=512,u.flags|=2097152);else{if(!i){if(u.stateNode===null)throw Error(o(166));return Ke(u),null}if(e=Dt(Mu.current),Qr(u)){i=u.stateNode,n=u.type;var f=u.memoizedProps;switch(i[zu]=u,i[On]=f,e=(u.mode&1)!==0,n){case"dialog":Ee("cancel",i),Ee("close",i);break;case"iframe":case"object":case"embed":Ee("load",i);break;case"video":case"audio":for(c=0;c<In.length;c++)Ee(In[c],i);break;case"source":Ee("error",i);break;case"img":case"image":case"link":Ee("error",i),Ee("load",i);break;case"details":Ee("toggle",i);break;case"input":Rs(i,f),Ee("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!f.multiple},Ee("invalid",i);break;case"textarea":Ps(i,f),Ee("invalid",i)}ui(n,f),c=null;for(var m in f)if(f.hasOwnProperty(m)){var v=f[m];m==="children"?typeof v=="string"?i.textContent!==v&&(f.suppressHydrationWarning!==!0&&Br(i.textContent,v,e),c=["children",v]):typeof v=="number"&&i.textContent!==""+v&&(f.suppressHydrationWarning!==!0&&Br(i.textContent,v,e),c=["children",""+v]):s.hasOwnProperty(m)&&v!=null&&m==="onScroll"&&Ee("scroll",i)}switch(n){case"input":gr(i),Is(i,f,!0);break;case"textarea":gr(i),Os(i);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(i.onclick=Or)}i=c,u.updateQueue=i,i!==null&&(u.flags|=4)}else{m=c.nodeType===9?c:c.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=$s(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=m.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=m.createElement(n,{is:i.is}):(e=m.createElement(n),n==="select"&&(m=e,i.multiple?m.multiple=!0:i.size&&(m.size=i.size))):e=m.createElementNS(e,n),e[zu]=u,e[On]=i,Ja(e,u,!1,!1),u.stateNode=e;e:{switch(m=ti(n,i),n){case"dialog":Ee("cancel",e),Ee("close",e),c=i;break;case"iframe":case"object":case"embed":Ee("load",e),c=i;break;case"video":case"audio":for(c=0;c<In.length;c++)Ee(In[c],e);c=i;break;case"source":Ee("error",e),c=i;break;case"img":case"image":case"link":Ee("error",e),Ee("load",e),c=i;break;case"details":Ee("toggle",e),c=i;break;case"input":Rs(e,i),c=Ko(e,i),Ee("invalid",e);break;case"option":c=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},c=H({},i,{value:void 0}),Ee("invalid",e);break;case"textarea":Ps(e,i),c=Jo(e,i),Ee("invalid",e);break;default:c=i}ui(n,c),v=c;for(f in v)if(v.hasOwnProperty(f)){var w=v[f];f==="style"?Vs(e,w):f==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,w!=null&&Us(e,w)):f==="children"?typeof w=="string"?(n!=="textarea"||w!=="")&&yn(e,w):typeof w=="number"&&yn(e,""+w):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(s.hasOwnProperty(f)?w!=null&&f==="onScroll"&&Ee("scroll",e):w!=null&&$(e,f,w,m))}switch(n){case"input":gr(e),Is(e,i,!1);break;case"textarea":gr(e),Os(e);break;case"option":i.value!=null&&e.setAttribute("value",""+ge(i.value));break;case"select":e.multiple=!!i.multiple,f=i.value,f!=null?Lt(e,!!i.multiple,f,!1):i.defaultValue!=null&&Lt(e,!!i.multiple,i.defaultValue,!0);break;default:typeof c.onClick=="function"&&(e.onclick=Or)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(u.flags|=4)}u.ref!==null&&(u.flags|=512,u.flags|=2097152)}return Ke(u),null;case 6:if(e&&u.stateNode!=null)u0(e,u,e.memoizedProps,i);else{if(typeof i!="string"&&u.stateNode===null)throw Error(o(166));if(n=Dt(qn.current),Dt(Mu.current),Qr(u)){if(i=u.stateNode,n=u.memoizedProps,i[zu]=u,(f=i.nodeValue!==n)&&(e=au,e!==null))switch(e.tag){case 3:Br(i.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Br(i.nodeValue,n,(e.mode&1)!==0)}f&&(u.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[zu]=u,u.stateNode=i}return Ke(u),null;case 13:if(Se(Ne),i=u.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&fu!==null&&(u.mode&1)!==0&&(u.flags&128)===0)ra(),Yt(),u.flags|=98560,f=!1;else if(f=Qr(u),i!==null&&i.dehydrated!==null){if(e===null){if(!f)throw Error(o(318));if(f=u.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(o(317));f[zu]=u}else Yt(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Ke(u),f=!1}else wu!==null&&(Ml(wu),wu=null),f=!0;if(!f)return u.flags&65536?u:null}return(u.flags&128)!==0?(u.lanes=n,u):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(u.child.flags|=8192,(u.mode&1)!==0&&(e===null||(Ne.current&1)!==0?Be===0&&(Be=3):Rl())),u.updateQueue!==null&&(u.flags|=4),Ke(u),null);case 4:return un(),kl(e,u),e===null&&Pn(u.stateNode.containerInfo),Ke(u),null;case 10:return Zi(u.type._context),Ke(u),null;case 17:return tu(u.type)&&Ur(),Ke(u),null;case 19:if(Se(Ne),f=u.memoizedState,f===null)return Ke(u),null;if(i=(u.flags&128)!==0,m=f.rendering,m===null)if(i)Kn(f,!1);else{if(Be!==0||e!==null&&(e.flags&128)!==0)for(e=u.child;e!==null;){if(m=Jr(e),m!==null){for(u.flags|=128,Kn(f,!1),i=m.updateQueue,i!==null&&(u.updateQueue=i,u.flags|=4),u.subtreeFlags=0,i=n,n=u.child;n!==null;)f=n,e=i,f.flags&=14680066,m=f.alternate,m===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=m.childLanes,f.lanes=m.lanes,f.child=m.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=m.memoizedProps,f.memoizedState=m.memoizedState,f.updateQueue=m.updateQueue,f.type=m.type,e=m.dependencies,f.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _e(Ne,Ne.current&1|2),u.child}e=e.sibling}f.tail!==null&&je()>on&&(u.flags|=128,i=!0,Kn(f,!1),u.lanes=4194304)}else{if(!i)if(e=Jr(m),e!==null){if(u.flags|=128,i=!0,n=e.updateQueue,n!==null&&(u.updateQueue=n,u.flags|=4),Kn(f,!0),f.tail===null&&f.tailMode==="hidden"&&!m.alternate&&!Fe)return Ke(u),null}else 2*je()-f.renderingStartTime>on&&n!==1073741824&&(u.flags|=128,i=!0,Kn(f,!1),u.lanes=4194304);f.isBackwards?(m.sibling=u.child,u.child=m):(n=f.last,n!==null?n.sibling=m:u.child=m,f.last=m)}return f.tail!==null?(u=f.tail,f.rendering=u,f.tail=u.sibling,f.renderingStartTime=je(),u.sibling=null,n=Ne.current,_e(Ne,i?n&1|2:n&1),u):(Ke(u),null);case 22:case 23:return jl(),i=u.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(u.flags|=8192),i&&(u.mode&1)!==0?(du&1073741824)!==0&&(Ke(u),u.subtreeFlags&6&&(u.flags|=8192)):Ke(u),null;case 24:return null;case 25:return null}throw Error(o(156,u.tag))}function Q1(e,u){switch(Hi(u),u.tag){case 1:return tu(u.type)&&Ur(),e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 3:return un(),Se(uu),Se(Ge),tl(),e=u.flags,(e&65536)!==0&&(e&128)===0?(u.flags=e&-65537|128,u):null;case 5:return el(u),null;case 13:if(Se(Ne),e=u.memoizedState,e!==null&&e.dehydrated!==null){if(u.alternate===null)throw Error(o(340));Yt()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 19:return Se(Ne),null;case 4:return un(),null;case 10:return Zi(u.type._context),null;case 22:case 23:return jl(),null;case 24:return null;default:return null}}var so=!1,Ye=!1,G1=typeof WeakSet=="function"?WeakSet:Set,V=null;function nn(e,u){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){Te(e,u,i)}else n.current=null}function _l(e,u,n){try{n()}catch(i){Te(e,u,i)}}var t0=!1;function Z1(e,u){if(ji=Dr,e=jc(),Si(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var c=i.anchorOffset,f=i.focusNode;i=i.focusOffset;try{n.nodeType,f.nodeType}catch{n=null;break e}var m=0,v=-1,w=-1,N=0,j=0,R=e,M=null;u:for(;;){for(var U;R!==n||c!==0&&R.nodeType!==3||(v=m+c),R!==f||i!==0&&R.nodeType!==3||(w=m+i),R.nodeType===3&&(m+=R.nodeValue.length),(U=R.firstChild)!==null;)M=R,R=U;for(;;){if(R===e)break u;if(M===n&&++N===c&&(v=m),M===f&&++j===i&&(w=m),(U=R.nextSibling)!==null)break;R=M,M=R.parentNode}R=U}n=v===-1||w===-1?null:{start:v,end:w}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ri={focusedElem:e,selectionRange:n},Dr=!1,V=u;V!==null;)if(u=V,e=u.child,(u.subtreeFlags&1028)!==0&&e!==null)e.return=u,V=e;else for(;V!==null;){u=V;try{var q=u.alternate;if((u.flags&1024)!==0)switch(u.tag){case 0:case 11:case 15:break;case 1:if(q!==null){var W=q.memoizedProps,Re=q.memoizedState,A=u.stateNode,E=A.getSnapshotBeforeUpdate(u.elementType===u.type?W:Eu(u.type,W),Re);A.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var D=u.stateNode.containerInfo;D.nodeType===1?D.textContent="":D.nodeType===9&&D.documentElement&&D.removeChild(D.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(L){Te(u,u.return,L)}if(e=u.sibling,e!==null){e.return=u.return,V=e;break}V=u.return}return q=t0,t0=!1,q}function Yn(e,u,n){var i=u.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&e)===e){var f=c.destroy;c.destroy=void 0,f!==void 0&&_l(u,n,f)}c=c.next}while(c!==i)}}function co(e,u){if(u=u.updateQueue,u=u!==null?u.lastEffect:null,u!==null){var n=u=u.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==u)}}function Cl(e){var u=e.ref;if(u!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof u=="function"?u(e):u.current=e}}function n0(e){var u=e.alternate;u!==null&&(e.alternate=null,n0(u)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(u=e.stateNode,u!==null&&(delete u[zu],delete u[On],delete u[Bi],delete u[z1],delete u[M1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function r0(e){return e.tag===5||e.tag===3||e.tag===4}function o0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||r0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function wl(e,u,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,u?n.nodeType===8?n.parentNode.insertBefore(e,u):n.insertBefore(e,u):(n.nodeType===8?(u=n.parentNode,u.insertBefore(e,n)):(u=n,u.appendChild(e)),n=n._reactRootContainer,n!=null||u.onclick!==null||(u.onclick=Or));else if(i!==4&&(e=e.child,e!==null))for(wl(e,u,n),e=e.sibling;e!==null;)wl(e,u,n),e=e.sibling}function El(e,u,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,u?n.insertBefore(e,u):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(El(e,u,n),e=e.sibling;e!==null;)El(e,u,n),e=e.sibling}var qe=null,Su=!1;function st(e,u,n){for(n=n.child;n!==null;)i0(e,u,n),n=n.sibling}function i0(e,u,n){if(Nu&&typeof Nu.onCommitFiberUnmount=="function")try{Nu.onCommitFiberUnmount(_r,n)}catch{}switch(n.tag){case 5:Ye||nn(n,u);case 6:var i=qe,c=Su;qe=null,st(e,u,n),qe=i,Su=c,qe!==null&&(Su?(e=qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):qe.removeChild(n.stateNode));break;case 18:qe!==null&&(Su?(e=qe,n=n.stateNode,e.nodeType===8?Pi(e.parentNode,n):e.nodeType===1&&Pi(e,n),Fn(e)):Pi(qe,n.stateNode));break;case 4:i=qe,c=Su,qe=n.stateNode.containerInfo,Su=!0,st(e,u,n),qe=i,Su=c;break;case 0:case 11:case 14:case 15:if(!Ye&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){c=i=i.next;do{var f=c,m=f.destroy;f=f.tag,m!==void 0&&((f&2)!==0||(f&4)!==0)&&_l(n,u,m),c=c.next}while(c!==i)}st(e,u,n);break;case 1:if(!Ye&&(nn(n,u),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(v){Te(n,u,v)}st(e,u,n);break;case 21:st(e,u,n);break;case 22:n.mode&1?(Ye=(i=Ye)||n.memoizedState!==null,st(e,u,n),Ye=i):st(e,u,n);break;default:st(e,u,n)}}function l0(e){var u=e.updateQueue;if(u!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new G1),u.forEach(function(i){var c=rh.bind(null,e,i);n.has(i)||(n.add(i),i.then(c,c))})}}function Au(e,u){var n=u.deletions;if(n!==null)for(var i=0;i<n.length;i++){var c=n[i];try{var f=e,m=u,v=m;e:for(;v!==null;){switch(v.tag){case 5:qe=v.stateNode,Su=!1;break e;case 3:qe=v.stateNode.containerInfo,Su=!0;break e;case 4:qe=v.stateNode.containerInfo,Su=!0;break e}v=v.return}if(qe===null)throw Error(o(160));i0(f,m,c),qe=null,Su=!1;var w=c.alternate;w!==null&&(w.return=null),c.return=null}catch(N){Te(c,u,N)}}if(u.subtreeFlags&12854)for(u=u.child;u!==null;)s0(u,e),u=u.sibling}function s0(e,u){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Au(u,e),ju(e),i&4){try{Yn(3,e,e.return),co(3,e)}catch(W){Te(e,e.return,W)}try{Yn(5,e,e.return)}catch(W){Te(e,e.return,W)}}break;case 1:Au(u,e),ju(e),i&512&&n!==null&&nn(n,n.return);break;case 5:if(Au(u,e),ju(e),i&512&&n!==null&&nn(n,n.return),e.flags&32){var c=e.stateNode;try{yn(c,"")}catch(W){Te(e,e.return,W)}}if(i&4&&(c=e.stateNode,c!=null)){var f=e.memoizedProps,m=n!==null?n.memoizedProps:f,v=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{v==="input"&&f.type==="radio"&&f.name!=null&&Ls(c,f),ti(v,m);var N=ti(v,f);for(m=0;m<w.length;m+=2){var j=w[m],R=w[m+1];j==="style"?Vs(c,R):j==="dangerouslySetInnerHTML"?Us(c,R):j==="children"?yn(c,R):$(c,j,R,N)}switch(v){case"input":Yo(c,f);break;case"textarea":Bs(c,f);break;case"select":var M=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!f.multiple;var U=f.value;U!=null?Lt(c,!!f.multiple,U,!1):M!==!!f.multiple&&(f.defaultValue!=null?Lt(c,!!f.multiple,f.defaultValue,!0):Lt(c,!!f.multiple,f.multiple?[]:"",!1))}c[On]=f}catch(W){Te(e,e.return,W)}}break;case 6:if(Au(u,e),ju(e),i&4){if(e.stateNode===null)throw Error(o(162));c=e.stateNode,f=e.memoizedProps;try{c.nodeValue=f}catch(W){Te(e,e.return,W)}}break;case 3:if(Au(u,e),ju(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{Fn(u.containerInfo)}catch(W){Te(e,e.return,W)}break;case 4:Au(u,e),ju(e);break;case 13:Au(u,e),ju(e),c=e.child,c.flags&8192&&(f=c.memoizedState!==null,c.stateNode.isHidden=f,!f||c.alternate!==null&&c.alternate.memoizedState!==null||(Dl=je())),i&4&&l0(e);break;case 22:if(j=n!==null&&n.memoizedState!==null,e.mode&1?(Ye=(N=Ye)||j,Au(u,e),Ye=N):Au(u,e),ju(e),i&8192){if(N=e.memoizedState!==null,(e.stateNode.isHidden=N)&&!j&&(e.mode&1)!==0)for(V=e,j=e.child;j!==null;){for(R=V=j;V!==null;){switch(M=V,U=M.child,M.tag){case 0:case 11:case 14:case 15:Yn(4,M,M.return);break;case 1:nn(M,M.return);var q=M.stateNode;if(typeof q.componentWillUnmount=="function"){i=M,n=M.return;try{u=i,q.props=u.memoizedProps,q.state=u.memoizedState,q.componentWillUnmount()}catch(W){Te(i,n,W)}}break;case 5:nn(M,M.return);break;case 22:if(M.memoizedState!==null){f0(R);continue}}U!==null?(U.return=M,V=U):f0(R)}j=j.sibling}e:for(j=null,R=e;;){if(R.tag===5){if(j===null){j=R;try{c=R.stateNode,N?(f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(v=R.stateNode,w=R.memoizedProps.style,m=w!=null&&w.hasOwnProperty("display")?w.display:null,v.style.display=Hs("display",m))}catch(W){Te(e,e.return,W)}}}else if(R.tag===6){if(j===null)try{R.stateNode.nodeValue=N?"":R.memoizedProps}catch(W){Te(e,e.return,W)}}else if((R.tag!==22&&R.tag!==23||R.memoizedState===null||R===e)&&R.child!==null){R.child.return=R,R=R.child;continue}if(R===e)break e;for(;R.sibling===null;){if(R.return===null||R.return===e)break e;j===R&&(j=null),R=R.return}j===R&&(j=null),R.sibling.return=R.return,R=R.sibling}}break;case 19:Au(u,e),ju(e),i&4&&l0(e);break;case 21:break;default:Au(u,e),ju(e)}}function ju(e){var u=e.flags;if(u&2){try{e:{for(var n=e.return;n!==null;){if(r0(n)){var i=n;break e}n=n.return}throw Error(o(160))}switch(i.tag){case 5:var c=i.stateNode;i.flags&32&&(yn(c,""),i.flags&=-33);var f=o0(e);El(e,f,c);break;case 3:case 4:var m=i.stateNode.containerInfo,v=o0(e);wl(e,v,m);break;default:throw Error(o(161))}}catch(w){Te(e,e.return,w)}e.flags&=-3}u&4096&&(e.flags&=-4097)}function K1(e,u,n){V=e,c0(e)}function c0(e,u,n){for(var i=(e.mode&1)!==0;V!==null;){var c=V,f=c.child;if(c.tag===22&&i){var m=c.memoizedState!==null||so;if(!m){var v=c.alternate,w=v!==null&&v.memoizedState!==null||Ye;v=so;var N=Ye;if(so=m,(Ye=w)&&!N)for(V=c;V!==null;)m=V,w=m.child,m.tag===22&&m.memoizedState!==null?d0(c):w!==null?(w.return=m,V=w):d0(c);for(;f!==null;)V=f,c0(f),f=f.sibling;V=c,so=v,Ye=N}a0(e)}else(c.subtreeFlags&8772)!==0&&f!==null?(f.return=c,V=f):a0(e)}}function a0(e){for(;V!==null;){var u=V;if((u.flags&8772)!==0){var n=u.alternate;try{if((u.flags&8772)!==0)switch(u.tag){case 0:case 11:case 15:Ye||co(5,u);break;case 1:var i=u.stateNode;if(u.flags&4&&!Ye)if(n===null)i.componentDidMount();else{var c=u.elementType===u.type?n.memoizedProps:Eu(u.type,n.memoizedProps);i.componentDidUpdate(c,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var f=u.updateQueue;f!==null&&fa(u,f,i);break;case 3:var m=u.updateQueue;if(m!==null){if(n=null,u.child!==null)switch(u.child.tag){case 5:n=u.child.stateNode;break;case 1:n=u.child.stateNode}fa(u,m,n)}break;case 5:var v=u.stateNode;if(n===null&&u.flags&4){n=v;var w=u.memoizedProps;switch(u.type){case"button":case"input":case"select":case"textarea":w.autoFocus&&n.focus();break;case"img":w.src&&(n.src=w.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(u.memoizedState===null){var N=u.alternate;if(N!==null){var j=N.memoizedState;if(j!==null){var R=j.dehydrated;R!==null&&Fn(R)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}Ye||u.flags&512&&Cl(u)}catch(M){Te(u,u.return,M)}}if(u===e){V=null;break}if(n=u.sibling,n!==null){n.return=u.return,V=n;break}V=u.return}}function f0(e){for(;V!==null;){var u=V;if(u===e){V=null;break}var n=u.sibling;if(n!==null){n.return=u.return,V=n;break}V=u.return}}function d0(e){for(;V!==null;){var u=V;try{switch(u.tag){case 0:case 11:case 15:var n=u.return;try{co(4,u)}catch(w){Te(u,n,w)}break;case 1:var i=u.stateNode;if(typeof i.componentDidMount=="function"){var c=u.return;try{i.componentDidMount()}catch(w){Te(u,c,w)}}var f=u.return;try{Cl(u)}catch(w){Te(u,f,w)}break;case 5:var m=u.return;try{Cl(u)}catch(w){Te(u,m,w)}}}catch(w){Te(u,u.return,w)}if(u===e){V=null;break}var v=u.sibling;if(v!==null){v.return=u.return,V=v;break}V=u.return}}var Y1=Math.ceil,ao=O.ReactCurrentDispatcher,Sl=O.ReactCurrentOwner,bu=O.ReactCurrentBatchConfig,ae=0,$e=null,Le=null,We=0,du=0,rn=nt(0),Be=0,Xn=null,Nt=0,fo=0,Al=0,Jn=null,ru=null,Dl=0,on=1/0,Wu=null,ho=!1,Fl=null,ct=null,po=!1,at=null,mo=0,er=0,Nl=null,go=-1,xo=0;function Je(){return(ae&6)!==0?je():go!==-1?go:go=je()}function ft(e){return(e.mode&1)===0?1:(ae&2)!==0&&We!==0?We&-We:j1.transition!==null?(xo===0&&(xo=oc()),xo):(e=xe,e!==0||(e=window.event,e=e===void 0?16:pc(e.type)),e)}function Du(e,u,n,i){if(50<er)throw er=0,Nl=null,Error(o(185));wn(e,n,i),((ae&2)===0||e!==$e)&&(e===$e&&((ae&2)===0&&(fo|=n),Be===4&&dt(e,We)),ou(e,i),n===1&&ae===0&&(u.mode&1)===0&&(on=je()+500,Vr&&ot()))}function ou(e,u){var n=e.callbackNode;jd(e,u);var i=Er(e,e===$e?We:0);if(i===0)n!==null&&tc(n),e.callbackNode=null,e.callbackPriority=0;else if(u=i&-i,e.callbackPriority!==u){if(n!=null&&tc(n),u===1)e.tag===0?T1(p0.bind(null,e)):Jc(p0.bind(null,e)),F1(function(){(ae&6)===0&&ot()}),n=null;else{switch(ic(i)){case 1:n=ci;break;case 4:n=nc;break;case 16:n=kr;break;case 536870912:n=rc;break;default:n=kr}n=_0(n,h0.bind(null,e))}e.callbackPriority=u,e.callbackNode=n}}function h0(e,u){if(go=-1,xo=0,(ae&6)!==0)throw Error(o(327));var n=e.callbackNode;if(ln()&&e.callbackNode!==n)return null;var i=Er(e,e===$e?We:0);if(i===0)return null;if((i&30)!==0||(i&e.expiredLanes)!==0||u)u=yo(e,i);else{u=i;var c=ae;ae|=2;var f=g0();($e!==e||We!==u)&&(Wu=null,on=je()+500,Mt(e,u));do try{eh();break}catch(v){m0(e,v)}while(!0);Gi(),ao.current=f,ae=c,Le!==null?u=0:($e=null,We=0,u=Be)}if(u!==0){if(u===2&&(c=ai(e),c!==0&&(i=c,u=zl(e,c))),u===1)throw n=Xn,Mt(e,0),dt(e,i),ou(e,je()),n;if(u===6)dt(e,i);else{if(c=e.current.alternate,(i&30)===0&&!X1(c)&&(u=yo(e,i),u===2&&(f=ai(e),f!==0&&(i=f,u=zl(e,f))),u===1))throw n=Xn,Mt(e,0),dt(e,i),ou(e,je()),n;switch(e.finishedWork=c,e.finishedLanes=i,u){case 0:case 1:throw Error(o(345));case 2:Tt(e,ru,Wu);break;case 3:if(dt(e,i),(i&130023424)===i&&(u=Dl+500-je(),10<u)){if(Er(e,0)!==0)break;if(c=e.suspendedLanes,(c&i)!==i){Je(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=Ii(Tt.bind(null,e,ru,Wu),u);break}Tt(e,ru,Wu);break;case 4:if(dt(e,i),(i&4194240)===i)break;for(u=e.eventTimes,c=-1;0<i;){var m=31-_u(i);f=1<<m,m=u[m],m>c&&(c=m),i&=~f}if(i=c,i=je()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Y1(i/1960))-i,10<i){e.timeoutHandle=Ii(Tt.bind(null,e,ru,Wu),i);break}Tt(e,ru,Wu);break;case 5:Tt(e,ru,Wu);break;default:throw Error(o(329))}}}return ou(e,je()),e.callbackNode===n?h0.bind(null,e):null}function zl(e,u){var n=Jn;return e.current.memoizedState.isDehydrated&&(Mt(e,u).flags|=256),e=yo(e,u),e!==2&&(u=ru,ru=n,u!==null&&Ml(u)),e}function Ml(e){ru===null?ru=e:ru.push.apply(ru,e)}function X1(e){for(var u=e;;){if(u.flags&16384){var n=u.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var i=0;i<n.length;i++){var c=n[i],f=c.getSnapshot;c=c.value;try{if(!Cu(f(),c))return!1}catch{return!1}}}if(n=u.child,u.subtreeFlags&16384&&n!==null)n.return=u,u=n;else{if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function dt(e,u){for(u&=~Al,u&=~fo,e.suspendedLanes|=u,e.pingedLanes&=~u,e=e.expirationTimes;0<u;){var n=31-_u(u),i=1<<n;e[n]=-1,u&=~i}}function p0(e){if((ae&6)!==0)throw Error(o(327));ln();var u=Er(e,0);if((u&1)===0)return ou(e,je()),null;var n=yo(e,u);if(e.tag!==0&&n===2){var i=ai(e);i!==0&&(u=i,n=zl(e,i))}if(n===1)throw n=Xn,Mt(e,0),dt(e,u),ou(e,je()),n;if(n===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=u,Tt(e,ru,Wu),ou(e,je()),null}function Tl(e,u){var n=ae;ae|=1;try{return e(u)}finally{ae=n,ae===0&&(on=je()+500,Vr&&ot())}}function zt(e){at!==null&&at.tag===0&&(ae&6)===0&&ln();var u=ae;ae|=1;var n=bu.transition,i=xe;try{if(bu.transition=null,xe=1,e)return e()}finally{xe=i,bu.transition=n,ae=u,(ae&6)===0&&ot()}}function jl(){du=rn.current,Se(rn)}function Mt(e,u){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,D1(n)),Le!==null)for(n=Le.return;n!==null;){var i=n;switch(Hi(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&Ur();break;case 3:un(),Se(uu),Se(Ge),tl();break;case 5:el(i);break;case 4:un();break;case 13:Se(Ne);break;case 19:Se(Ne);break;case 10:Zi(i.type._context);break;case 22:case 23:jl()}n=n.return}if($e=e,Le=e=ht(e.current,null),We=du=u,Be=0,Xn=null,Al=fo=Nt=0,ru=Jn=null,At!==null){for(u=0;u<At.length;u++)if(n=At[u],i=n.interleaved,i!==null){n.interleaved=null;var c=i.next,f=n.pending;if(f!==null){var m=f.next;f.next=c,i.next=m}n.pending=i}At=null}return e}function m0(e,u){do{var n=Le;try{if(Gi(),eo.current=ro,uo){for(var i=ze.memoizedState;i!==null;){var c=i.queue;c!==null&&(c.pending=null),i=i.next}uo=!1}if(Ft=0,Oe=Pe=ze=null,Wn=!1,Qn=0,Sl.current=null,n===null||n.return===null){Be=1,Xn=u,Le=null;break}e:{var f=e,m=n.return,v=n,w=u;if(u=We,v.flags|=32768,w!==null&&typeof w=="object"&&typeof w.then=="function"){var N=w,j=v,R=j.tag;if((j.mode&1)===0&&(R===0||R===11||R===15)){var M=j.alternate;M?(j.updateQueue=M.updateQueue,j.memoizedState=M.memoizedState,j.lanes=M.lanes):(j.updateQueue=null,j.memoizedState=null)}var U=Oa(m);if(U!==null){U.flags&=-257,$a(U,m,v,f,u),U.mode&1&&Ba(f,N,u),u=U,w=N;var q=u.updateQueue;if(q===null){var W=new Set;W.add(w),u.updateQueue=W}else q.add(w);break e}else{if((u&1)===0){Ba(f,N,u),Rl();break e}w=Error(o(426))}}else if(Fe&&v.mode&1){var Re=Oa(m);if(Re!==null){(Re.flags&65536)===0&&(Re.flags|=256),$a(Re,m,v,f,u),Wi(tn(w,v));break e}}f=w=tn(w,v),Be!==4&&(Be=2),Jn===null?Jn=[f]:Jn.push(f),f=m;do{switch(f.tag){case 3:f.flags|=65536,u&=-u,f.lanes|=u;var A=Ia(f,w,u);aa(f,A);break e;case 1:v=w;var E=f.type,D=f.stateNode;if((f.flags&128)===0&&(typeof E.getDerivedStateFromError=="function"||D!==null&&typeof D.componentDidCatch=="function"&&(ct===null||!ct.has(D)))){f.flags|=65536,u&=-u,f.lanes|=u;var L=Pa(f,v,u);aa(f,L);break e}}f=f.return}while(f!==null)}y0(n)}catch(G){u=G,Le===n&&n!==null&&(Le=n=n.return);continue}break}while(!0)}function g0(){var e=ao.current;return ao.current=ro,e===null?ro:e}function Rl(){(Be===0||Be===3||Be===2)&&(Be=4),$e===null||(Nt&268435455)===0&&(fo&268435455)===0||dt($e,We)}function yo(e,u){var n=ae;ae|=2;var i=g0();($e!==e||We!==u)&&(Wu=null,Mt(e,u));do try{J1();break}catch(c){m0(e,c)}while(!0);if(Gi(),ae=n,ao.current=i,Le!==null)throw Error(o(261));return $e=null,We=0,Be}function J1(){for(;Le!==null;)x0(Le)}function eh(){for(;Le!==null&&!Ed();)x0(Le)}function x0(e){var u=k0(e.alternate,e,du);e.memoizedProps=e.pendingProps,u===null?y0(e):Le=u,Sl.current=null}function y0(e){var u=e;do{var n=u.alternate;if(e=u.return,(u.flags&32768)===0){if(n=W1(n,u,du),n!==null){Le=n;return}}else{if(n=Q1(n,u),n!==null){n.flags&=32767,Le=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Be=6,Le=null;return}}if(u=u.sibling,u!==null){Le=u;return}Le=u=e}while(u!==null);Be===0&&(Be=5)}function Tt(e,u,n){var i=xe,c=bu.transition;try{bu.transition=null,xe=1,uh(e,u,n,i)}finally{bu.transition=c,xe=i}return null}function uh(e,u,n,i){do ln();while(at!==null);if((ae&6)!==0)throw Error(o(327));n=e.finishedWork;var c=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var f=n.lanes|n.childLanes;if(Rd(e,f),e===$e&&(Le=$e=null,We=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||po||(po=!0,_0(kr,function(){return ln(),null})),f=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||f){f=bu.transition,bu.transition=null;var m=xe;xe=1;var v=ae;ae|=4,Sl.current=null,Z1(e,n),s0(n,e),k1(Ri),Dr=!!ji,Ri=ji=null,e.current=n,K1(n),Sd(),ae=v,xe=m,bu.transition=f}else e.current=n;if(po&&(po=!1,at=e,mo=c),f=e.pendingLanes,f===0&&(ct=null),Fd(n.stateNode),ou(e,je()),u!==null)for(i=e.onRecoverableError,n=0;n<u.length;n++)c=u[n],i(c.value,{componentStack:c.stack,digest:c.digest});if(ho)throw ho=!1,e=Fl,Fl=null,e;return(mo&1)!==0&&e.tag!==0&&ln(),f=e.pendingLanes,(f&1)!==0?e===Nl?er++:(er=0,Nl=e):er=0,ot(),null}function ln(){if(at!==null){var e=ic(mo),u=bu.transition,n=xe;try{if(bu.transition=null,xe=16>e?16:e,at===null)var i=!1;else{if(e=at,at=null,mo=0,(ae&6)!==0)throw Error(o(331));var c=ae;for(ae|=4,V=e.current;V!==null;){var f=V,m=f.child;if((V.flags&16)!==0){var v=f.deletions;if(v!==null){for(var w=0;w<v.length;w++){var N=v[w];for(V=N;V!==null;){var j=V;switch(j.tag){case 0:case 11:case 15:Yn(8,j,f)}var R=j.child;if(R!==null)R.return=j,V=R;else for(;V!==null;){j=V;var M=j.sibling,U=j.return;if(n0(j),j===N){V=null;break}if(M!==null){M.return=U,V=M;break}V=U}}}var q=f.alternate;if(q!==null){var W=q.child;if(W!==null){q.child=null;do{var Re=W.sibling;W.sibling=null,W=Re}while(W!==null)}}V=f}}if((f.subtreeFlags&2064)!==0&&m!==null)m.return=f,V=m;else e:for(;V!==null;){if(f=V,(f.flags&2048)!==0)switch(f.tag){case 0:case 11:case 15:Yn(9,f,f.return)}var A=f.sibling;if(A!==null){A.return=f.return,V=A;break e}V=f.return}}var E=e.current;for(V=E;V!==null;){m=V;var D=m.child;if((m.subtreeFlags&2064)!==0&&D!==null)D.return=m,V=D;else e:for(m=E;V!==null;){if(v=V,(v.flags&2048)!==0)try{switch(v.tag){case 0:case 11:case 15:co(9,v)}}catch(G){Te(v,v.return,G)}if(v===m){V=null;break e}var L=v.sibling;if(L!==null){L.return=v.return,V=L;break e}V=v.return}}if(ae=c,ot(),Nu&&typeof Nu.onPostCommitFiberRoot=="function")try{Nu.onPostCommitFiberRoot(_r,e)}catch{}i=!0}return i}finally{xe=n,bu.transition=u}}return!1}function b0(e,u,n){u=tn(n,u),u=Ia(e,u,1),e=lt(e,u,1),u=Je(),e!==null&&(wn(e,1,u),ou(e,u))}function Te(e,u,n){if(e.tag===3)b0(e,e,n);else for(;u!==null;){if(u.tag===3){b0(u,e,n);break}else if(u.tag===1){var i=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(ct===null||!ct.has(i))){e=tn(n,e),e=Pa(u,e,1),u=lt(u,e,1),e=Je(),u!==null&&(wn(u,1,e),ou(u,e));break}}u=u.return}}function th(e,u,n){var i=e.pingCache;i!==null&&i.delete(u),u=Je(),e.pingedLanes|=e.suspendedLanes&n,$e===e&&(We&n)===n&&(Be===4||Be===3&&(We&130023424)===We&&500>je()-Dl?Mt(e,0):Al|=n),ou(e,u)}function v0(e,u){u===0&&((e.mode&1)===0?u=1:(u=wr,wr<<=1,(wr&130023424)===0&&(wr=4194304)));var n=Je();e=Hu(e,u),e!==null&&(wn(e,u,n),ou(e,n))}function nh(e){var u=e.memoizedState,n=0;u!==null&&(n=u.retryLane),v0(e,n)}function rh(e,u){var n=0;switch(e.tag){case 13:var i=e.stateNode,c=e.memoizedState;c!==null&&(n=c.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(o(314))}i!==null&&i.delete(u),v0(e,n)}var k0;k0=function(e,u,n){if(e!==null)if(e.memoizedProps!==u.pendingProps||uu.current)nu=!0;else{if((e.lanes&n)===0&&(u.flags&128)===0)return nu=!1,q1(e,u,n);nu=(e.flags&131072)!==0}else nu=!1,Fe&&(u.flags&1048576)!==0&&ea(u,Wr,u.index);switch(u.lanes=0,u.tag){case 2:var i=u.type;lo(e,u),e=u.pendingProps;var c=Gt(u,Ge.current);en(u,n),c=ol(null,u,i,e,c,n);var f=il();return u.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(u.tag=1,u.memoizedState=null,u.updateQueue=null,tu(i)?(f=!0,Hr(u)):f=!1,u.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Xi(u),c.updater=oo,u.stateNode=c,c._reactInternals=u,dl(u,i,e,n),u=gl(null,u,i,!0,f,n)):(u.tag=0,Fe&&f&&Ui(u),Xe(null,u,c,n),u=u.child),u;case 16:i=u.elementType;e:{switch(lo(e,u),e=u.pendingProps,c=i._init,i=c(i._payload),u.type=i,c=u.tag=ih(i),e=Eu(i,e),c){case 0:u=ml(null,u,i,e,n);break e;case 1:u=Qa(null,u,i,e,n);break e;case 11:u=Ua(null,u,i,e,n);break e;case 14:u=Ha(null,u,i,Eu(i.type,e),n);break e}throw Error(o(306,i,""))}return u;case 0:return i=u.type,c=u.pendingProps,c=u.elementType===i?c:Eu(i,c),ml(e,u,i,c,n);case 1:return i=u.type,c=u.pendingProps,c=u.elementType===i?c:Eu(i,c),Qa(e,u,i,c,n);case 3:e:{if(Ga(u),e===null)throw Error(o(387));i=u.pendingProps,f=u.memoizedState,c=f.element,ca(e,u),Xr(u,i,null,n);var m=u.memoizedState;if(i=m.element,f.isDehydrated)if(f={element:i,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},u.updateQueue.baseState=f,u.memoizedState=f,u.flags&256){c=tn(Error(o(423)),u),u=Za(e,u,i,n,c);break e}else if(i!==c){c=tn(Error(o(424)),u),u=Za(e,u,i,n,c);break e}else for(fu=tt(u.stateNode.containerInfo.firstChild),au=u,Fe=!0,wu=null,n=la(u,null,i,n),u.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yt(),i===c){u=qu(e,u,n);break e}Xe(e,u,i,n)}u=u.child}return u;case 5:return da(u),e===null&&qi(u),i=u.type,c=u.pendingProps,f=e!==null?e.memoizedProps:null,m=c.children,Li(i,c)?m=null:f!==null&&Li(i,f)&&(u.flags|=32),Wa(e,u),Xe(e,u,m,n),u.child;case 6:return e===null&&qi(u),null;case 13:return Ka(e,u,n);case 4:return Ji(u,u.stateNode.containerInfo),i=u.pendingProps,e===null?u.child=Xt(u,null,i,n):Xe(e,u,i,n),u.child;case 11:return i=u.type,c=u.pendingProps,c=u.elementType===i?c:Eu(i,c),Ua(e,u,i,c,n);case 7:return Xe(e,u,u.pendingProps,n),u.child;case 8:return Xe(e,u,u.pendingProps.children,n),u.child;case 12:return Xe(e,u,u.pendingProps.children,n),u.child;case 10:e:{if(i=u.type._context,c=u.pendingProps,f=u.memoizedProps,m=c.value,_e(Zr,i._currentValue),i._currentValue=m,f!==null)if(Cu(f.value,m)){if(f.children===c.children&&!uu.current){u=qu(e,u,n);break e}}else for(f=u.child,f!==null&&(f.return=u);f!==null;){var v=f.dependencies;if(v!==null){m=f.child;for(var w=v.firstContext;w!==null;){if(w.context===i){if(f.tag===1){w=Vu(-1,n&-n),w.tag=2;var N=f.updateQueue;if(N!==null){N=N.shared;var j=N.pending;j===null?w.next=w:(w.next=j.next,j.next=w),N.pending=w}}f.lanes|=n,w=f.alternate,w!==null&&(w.lanes|=n),Ki(f.return,n,u),v.lanes|=n;break}w=w.next}}else if(f.tag===10)m=f.type===u.type?null:f.child;else if(f.tag===18){if(m=f.return,m===null)throw Error(o(341));m.lanes|=n,v=m.alternate,v!==null&&(v.lanes|=n),Ki(m,n,u),m=f.sibling}else m=f.child;if(m!==null)m.return=f;else for(m=f;m!==null;){if(m===u){m=null;break}if(f=m.sibling,f!==null){f.return=m.return,m=f;break}m=m.return}f=m}Xe(e,u,c.children,n),u=u.child}return u;case 9:return c=u.type,i=u.pendingProps.children,en(u,n),c=xu(c),i=i(c),u.flags|=1,Xe(e,u,i,n),u.child;case 14:return i=u.type,c=Eu(i,u.pendingProps),c=Eu(i.type,c),Ha(e,u,i,c,n);case 15:return Va(e,u,u.type,u.pendingProps,n);case 17:return i=u.type,c=u.pendingProps,c=u.elementType===i?c:Eu(i,c),lo(e,u),u.tag=1,tu(i)?(e=!0,Hr(u)):e=!1,en(u,n),Ra(u,i,c),dl(u,i,c,n),gl(null,u,i,!0,e,n);case 19:return Xa(e,u,n);case 22:return qa(e,u,n)}throw Error(o(156,u.tag))};function _0(e,u){return uc(e,u)}function oh(e,u,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vu(e,u,n,i){return new oh(e,u,n,i)}function Ll(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ih(e){if(typeof e=="function")return Ll(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ue)return 11;if(e===me)return 14}return 2}function ht(e,u){var n=e.alternate;return n===null?(n=vu(e.tag,u,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=u,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,u=e.dependencies,n.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function bo(e,u,n,i,c,f){var m=2;if(i=e,typeof e=="function")Ll(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case ne:return jt(n.children,c,f,u);case pe:m=8,c|=8;break;case oe:return e=vu(12,n,u,c|2),e.elementType=oe,e.lanes=f,e;case Me:return e=vu(13,n,u,c),e.elementType=Me,e.lanes=f,e;case ve:return e=vu(19,n,u,c),e.elementType=ve,e.lanes=f,e;case be:return vo(n,c,f,u);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ce:m=10;break e;case ye:m=9;break e;case ue:m=11;break e;case me:m=14;break e;case we:m=16,i=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return u=vu(m,n,u,c),u.elementType=e,u.type=i,u.lanes=f,u}function jt(e,u,n,i){return e=vu(7,e,i,u),e.lanes=n,e}function vo(e,u,n,i){return e=vu(22,e,i,u),e.elementType=be,e.lanes=n,e.stateNode={isHidden:!1},e}function Il(e,u,n){return e=vu(6,e,null,u),e.lanes=n,e}function Pl(e,u,n){return u=vu(4,e.children!==null?e.children:[],e.key,u),u.lanes=n,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function lh(e,u,n,i,c){this.tag=u,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=fi(0),this.expirationTimes=fi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fi(0),this.identifierPrefix=i,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Bl(e,u,n,i,c,f,m,v,w){return e=new lh(e,u,n,v,w),u===1?(u=1,f===!0&&(u|=8)):u=0,f=vu(3,null,null,u),e.current=f,f.stateNode=e,f.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xi(f),e}function sh(e,u,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Z,key:i==null?null:""+i,children:e,containerInfo:u,implementation:n}}function C0(e){if(!e)return rt;e=e._reactInternals;e:{if(_t(e)!==e||e.tag!==1)throw Error(o(170));var u=e;do{switch(u.tag){case 3:u=u.stateNode.context;break e;case 1:if(tu(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break e}}u=u.return}while(u!==null);throw Error(o(171))}if(e.tag===1){var n=e.type;if(tu(n))return Yc(e,n,u)}return u}function w0(e,u,n,i,c,f,m,v,w){return e=Bl(n,i,!0,e,c,f,m,v,w),e.context=C0(null),n=e.current,i=Je(),c=ft(n),f=Vu(i,c),f.callback=u??null,lt(n,f,c),e.current.lanes=c,wn(e,c,i),ou(e,i),e}function ko(e,u,n,i){var c=u.current,f=Je(),m=ft(c);return n=C0(n),u.context===null?u.context=n:u.pendingContext=n,u=Vu(f,m),u.payload={element:e},i=i===void 0?null:i,i!==null&&(u.callback=i),e=lt(c,u,m),e!==null&&(Du(e,c,m,f),Yr(e,c,m)),m}function _o(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function E0(e,u){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<u?n:u}}function Ol(e,u){E0(e,u),(e=e.alternate)&&E0(e,u)}function ch(){return null}var S0=typeof reportError=="function"?reportError:function(e){console.error(e)};function $l(e){this._internalRoot=e}Co.prototype.render=$l.prototype.render=function(e){var u=this._internalRoot;if(u===null)throw Error(o(409));ko(e,u,null,null)},Co.prototype.unmount=$l.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var u=e.containerInfo;zt(function(){ko(null,e,null,null)}),u[Bu]=null}};function Co(e){this._internalRoot=e}Co.prototype.unstable_scheduleHydration=function(e){if(e){var u=cc();e={blockedOn:null,target:e,priority:u};for(var n=0;n<Ju.length&&u!==0&&u<Ju[n].priority;n++);Ju.splice(n,0,e),n===0&&dc(e)}};function Ul(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function wo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function A0(){}function ah(e,u,n,i,c){if(c){if(typeof i=="function"){var f=i;i=function(){var N=_o(m);f.call(N)}}var m=w0(u,i,e,0,null,!1,!1,"",A0);return e._reactRootContainer=m,e[Bu]=m.current,Pn(e.nodeType===8?e.parentNode:e),zt(),m}for(;c=e.lastChild;)e.removeChild(c);if(typeof i=="function"){var v=i;i=function(){var N=_o(w);v.call(N)}}var w=Bl(e,0,!1,null,null,!1,!1,"",A0);return e._reactRootContainer=w,e[Bu]=w.current,Pn(e.nodeType===8?e.parentNode:e),zt(function(){ko(u,w,n,i)}),w}function Eo(e,u,n,i,c){var f=n._reactRootContainer;if(f){var m=f;if(typeof c=="function"){var v=c;c=function(){var w=_o(m);v.call(w)}}ko(u,m,e,c)}else m=ah(n,u,e,c,i);return _o(m)}lc=function(e){switch(e.tag){case 3:var u=e.stateNode;if(u.current.memoizedState.isDehydrated){var n=Cn(u.pendingLanes);n!==0&&(di(u,n|1),ou(u,je()),(ae&6)===0&&(on=je()+500,ot()))}break;case 13:zt(function(){var i=Hu(e,1);if(i!==null){var c=Je();Du(i,e,1,c)}}),Ol(e,1)}},hi=function(e){if(e.tag===13){var u=Hu(e,134217728);if(u!==null){var n=Je();Du(u,e,134217728,n)}Ol(e,134217728)}},sc=function(e){if(e.tag===13){var u=ft(e),n=Hu(e,u);if(n!==null){var i=Je();Du(n,e,u,i)}Ol(e,u)}},cc=function(){return xe},ac=function(e,u){var n=xe;try{return xe=e,u()}finally{xe=n}},oi=function(e,u,n){switch(u){case"input":if(Yo(e,n),u=n.name,n.type==="radio"&&u!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+u)+'][type="radio"]'),u=0;u<n.length;u++){var i=n[u];if(i!==e&&i.form===e.form){var c=$r(i);if(!c)throw Error(o(90));js(i),Yo(i,c)}}}break;case"textarea":Bs(e,n);break;case"select":u=n.value,u!=null&&Lt(e,!!n.multiple,u,!1)}},Gs=Tl,Zs=zt;var fh={usingClientEntryPoint:!1,Events:[$n,Wt,$r,Ws,Qs,Tl]},ur={findFiberByHostInstance:Ct,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},dh={bundleType:ur.bundleType,version:ur.version,rendererPackageName:ur.rendererPackageName,rendererConfig:ur.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:O.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Js(e),e===null?null:e.stateNode},findFiberByHostInstance:ur.findFiberByHostInstance||ch,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var So=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!So.isDisabled&&So.supportsFiber)try{_r=So.inject(dh),Nu=So}catch{}}return iu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fh,iu.createPortal=function(e,u){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ul(u))throw Error(o(200));return sh(e,u,null,n)},iu.createRoot=function(e,u){if(!Ul(e))throw Error(o(299));var n=!1,i="",c=S0;return u!=null&&(u.unstable_strictMode===!0&&(n=!0),u.identifierPrefix!==void 0&&(i=u.identifierPrefix),u.onRecoverableError!==void 0&&(c=u.onRecoverableError)),u=Bl(e,1,!1,null,null,n,!1,i,c),e[Bu]=u.current,Pn(e.nodeType===8?e.parentNode:e),new $l(u)},iu.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var u=e._reactInternals;if(u===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Js(u),e=e===null?null:e.stateNode,e},iu.flushSync=function(e){return zt(e)},iu.hydrate=function(e,u,n){if(!wo(u))throw Error(o(200));return Eo(null,e,u,!0,n)},iu.hydrateRoot=function(e,u,n){if(!Ul(e))throw Error(o(405));var i=n!=null&&n.hydratedSources||null,c=!1,f="",m=S0;if(n!=null&&(n.unstable_strictMode===!0&&(c=!0),n.identifierPrefix!==void 0&&(f=n.identifierPrefix),n.onRecoverableError!==void 0&&(m=n.onRecoverableError)),u=w0(u,null,e,1,n??null,c,!1,f,m),e[Bu]=u.current,Pn(e),i)for(e=0;e<i.length;e++)n=i[e],c=n._getVersion,c=c(n._source),u.mutableSourceEagerHydrationData==null?u.mutableSourceEagerHydrationData=[n,c]:u.mutableSourceEagerHydrationData.push(n,c);return new Co(u)},iu.render=function(e,u,n){if(!wo(u))throw Error(o(200));return Eo(null,e,u,!1,n)},iu.unmountComponentAtNode=function(e){if(!wo(e))throw Error(o(40));return e._reactRootContainer?(zt(function(){Eo(null,null,e,!1,function(){e._reactRootContainer=null,e[Bu]=null})}),!0):!1},iu.unstable_batchedUpdates=Tl,iu.unstable_renderSubtreeIntoContainer=function(e,u,n,i){if(!wo(n))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return Eo(e,u,n,!1,i)},iu.version="18.3.1-next-f1338f8080-20240426",iu}var R0;function vh(){if(R0)return ql.exports;R0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),ql.exports=bh(),ql.exports}var L0;function kh(){if(L0)return Ao;L0=1;var t=vh();return Ao.createRoot=t.createRoot,Ao.hydrateRoot=t.hydrateRoot,Ao}var _h=kh();/**
41
+ * @license lucide-react v0.460.0 - ISC
42
+ *
43
+ * This source code is licensed under the ISC license.
44
+ * See the LICENSE file in the root directory of this source tree.
45
+ */const Ch=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),kf=(...t)=>t.filter((r,o,l)=>!!r&&r.trim()!==""&&l.indexOf(r)===o).join(" ").trim();/**
46
+ * @license lucide-react v0.460.0 - ISC
47
+ *
48
+ * This source code is licensed under the ISC license.
49
+ * See the LICENSE file in the root directory of this source tree.
50
+ */var wh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51
+ * @license lucide-react v0.460.0 - ISC
52
+ *
53
+ * This source code is licensed under the ISC license.
54
+ * See the LICENSE file in the root directory of this source tree.
55
+ */const Eh=te.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:s="",children:a,iconNode:d,...h},p)=>te.createElement("svg",{ref:p,...wh,width:r,height:r,stroke:t,strokeWidth:l?Number(o)*24/Number(r):o,className:kf("lucide",s),...h},[...d.map(([g,x])=>te.createElement(g,x)),...Array.isArray(a)?a:[a]]));/**
56
+ * @license lucide-react v0.460.0 - ISC
57
+ *
58
+ * This source code is licensed under the ISC license.
59
+ * See the LICENSE file in the root directory of this source tree.
60
+ */const Ie=(t,r)=>{const o=te.forwardRef(({className:l,...s},a)=>te.createElement(Eh,{ref:a,iconNode:r,className:kf(`lucide-${Ch(t)}`,l),...s}));return o.displayName=`${t}`,o};/**
61
+ * @license lucide-react v0.460.0 - ISC
62
+ *
63
+ * This source code is licensed under the ISC license.
64
+ * See the LICENSE file in the root directory of this source tree.
65
+ */const Sh=Ie("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
66
+ * @license lucide-react v0.460.0 - ISC
67
+ *
68
+ * This source code is licensed under the ISC license.
69
+ * See the LICENSE file in the root directory of this source tree.
70
+ */const Vo=Ie("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
71
+ * @license lucide-react v0.460.0 - ISC
72
+ *
73
+ * This source code is licensed under the ISC license.
74
+ * See the LICENSE file in the root directory of this source tree.
75
+ */const Ah=Ie("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/**
76
+ * @license lucide-react v0.460.0 - ISC
77
+ *
78
+ * This source code is licensed under the ISC license.
79
+ * See the LICENSE file in the root directory of this source tree.
80
+ */const Dh=Ie("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
81
+ * @license lucide-react v0.460.0 - ISC
82
+ *
83
+ * This source code is licensed under the ISC license.
84
+ * See the LICENSE file in the root directory of this source tree.
85
+ */const Fh=Ie("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
86
+ * @license lucide-react v0.460.0 - ISC
87
+ *
88
+ * This source code is licensed under the ISC license.
89
+ * See the LICENSE file in the root directory of this source tree.
90
+ */const I0=Ie("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
91
+ * @license lucide-react v0.460.0 - ISC
92
+ *
93
+ * This source code is licensed under the ISC license.
94
+ * See the LICENSE file in the root directory of this source tree.
95
+ */const Nh=Ie("Ghost",[["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}],["path",{d:"M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z",key:"uwwb07"}]]);/**
96
+ * @license lucide-react v0.460.0 - ISC
97
+ *
98
+ * This source code is licensed under the ISC license.
99
+ * See the LICENSE file in the root directory of this source tree.
100
+ */const ns=Ie("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
101
+ * @license lucide-react v0.460.0 - ISC
102
+ *
103
+ * This source code is licensed under the ISC license.
104
+ * See the LICENSE file in the root directory of this source tree.
105
+ */const zh=Ie("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
106
+ * @license lucide-react v0.460.0 - ISC
107
+ *
108
+ * This source code is licensed under the ISC license.
109
+ * See the LICENSE file in the root directory of this source tree.
110
+ */const Mh=Ie("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
111
+ * @license lucide-react v0.460.0 - ISC
112
+ *
113
+ * This source code is licensed under the ISC license.
114
+ * See the LICENSE file in the root directory of this source tree.
115
+ */const P0=Ie("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
116
+ * @license lucide-react v0.460.0 - ISC
117
+ *
118
+ * This source code is licensed under the ISC license.
119
+ * See the LICENSE file in the root directory of this source tree.
120
+ */const Th=Ie("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
121
+ * @license lucide-react v0.460.0 - ISC
122
+ *
123
+ * This source code is licensed under the ISC license.
124
+ * See the LICENSE file in the root directory of this source tree.
125
+ */const jh=Ie("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
126
+ * @license lucide-react v0.460.0 - ISC
127
+ *
128
+ * This source code is licensed under the ISC license.
129
+ * See the LICENSE file in the root directory of this source tree.
130
+ */const Rh=Ie("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
131
+ * @license lucide-react v0.460.0 - ISC
132
+ *
133
+ * This source code is licensed under the ISC license.
134
+ * See the LICENSE file in the root directory of this source tree.
135
+ */const rs=Ie("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
136
+ * @license lucide-react v0.460.0 - ISC
137
+ *
138
+ * This source code is licensed under the ISC license.
139
+ * See the LICENSE file in the root directory of this source tree.
140
+ */const Lh=Ie("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
141
+ * @license lucide-react v0.460.0 - ISC
142
+ *
143
+ * This source code is licensed under the ISC license.
144
+ * See the LICENSE file in the root directory of this source tree.
145
+ */const Ih=Ie("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
146
+ * @license lucide-react v0.460.0 - ISC
147
+ *
148
+ * This source code is licensed under the ISC license.
149
+ * See the LICENSE file in the root directory of this source tree.
150
+ */const Ph=Ie("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
151
+ * @license lucide-react v0.460.0 - ISC
152
+ *
153
+ * This source code is licensed under the ISC license.
154
+ * See the LICENSE file in the root directory of this source tree.
155
+ */const Bh=Ie("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
156
+ * @license lucide-react v0.460.0 - ISC
157
+ *
158
+ * This source code is licensed under the ISC license.
159
+ * See the LICENSE file in the root directory of this source tree.
160
+ */const Oh=Ie("Wind",[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]]);function _f(t){var r,o,l="";if(typeof t=="string"||typeof t=="number")l+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(r=0;r<s;r++)t[r]&&(o=_f(t[r]))&&(l&&(l+=" "),l+=o)}else for(o in t)t[o]&&(l&&(l+=" "),l+=o);return l}function Cf(){for(var t,r,o=0,l="",s=arguments.length;o<s;o++)(t=arguments[o])&&(r=_f(t))&&(l&&(l+=" "),l+=r);return l}const ys="-",$h=t=>{const r=Hh(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:l}=t;return{getClassGroupId:d=>{const h=d.split(ys);return h[0]===""&&h.length!==1&&h.shift(),wf(h,r)||Uh(d)},getConflictingClassGroupIds:(d,h)=>{const p=o[d]||[];return h&&l[d]?[...p,...l[d]]:p}}},wf=(t,r)=>{var d;if(t.length===0)return r.classGroupId;const o=t[0],l=r.nextPart.get(o),s=l?wf(t.slice(1),l):void 0;if(s)return s;if(r.validators.length===0)return;const a=t.join(ys);return(d=r.validators.find(({validator:h})=>h(a)))==null?void 0:d.classGroupId},B0=/^\[(.+)\]$/,Uh=t=>{if(B0.test(t)){const r=B0.exec(t)[1],o=r==null?void 0:r.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},Hh=t=>{const{theme:r,prefix:o}=t,l={nextPart:new Map,validators:[]};return qh(Object.entries(t.classGroups),o).forEach(([a,d])=>{os(d,l,a,r)}),l},os=(t,r,o,l)=>{t.forEach(s=>{if(typeof s=="string"){const a=s===""?r:O0(r,s);a.classGroupId=o;return}if(typeof s=="function"){if(Vh(s)){os(s(l),r,o,l);return}r.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([a,d])=>{os(d,O0(r,a),o,l)})})},O0=(t,r)=>{let o=t;return r.split(ys).forEach(l=>{o.nextPart.has(l)||o.nextPart.set(l,{nextPart:new Map,validators:[]}),o=o.nextPart.get(l)}),o},Vh=t=>t.isThemeGetter,qh=(t,r)=>r?t.map(([o,l])=>{const s=l.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([d,h])=>[r+d,h])):a);return[o,s]}):t,Wh=t=>{if(t<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,l=new Map;const s=(a,d)=>{o.set(a,d),r++,r>t&&(r=0,l=o,o=new Map)};return{get(a){let d=o.get(a);if(d!==void 0)return d;if((d=l.get(a))!==void 0)return s(a,d),d},set(a,d){o.has(a)?o.set(a,d):s(a,d)}}},Ef="!",Qh=t=>{const{separator:r,experimentalParseClassName:o}=t,l=r.length===1,s=r[0],a=r.length,d=h=>{const p=[];let g=0,x=0,b;for(let F=0;F<h.length;F++){let P=h[F];if(g===0){if(P===s&&(l||h.slice(F,F+a)===r)){p.push(h.slice(x,F)),x=F+a;continue}if(P==="/"){b=F;continue}}P==="["?g++:P==="]"&&g--}const C=p.length===0?h:h.substring(x),y=C.startsWith(Ef),_=y?C.substring(1):C,z=b&&b>x?b-x:void 0;return{modifiers:p,hasImportantModifier:y,baseClassName:_,maybePostfixModifierPosition:z}};return o?h=>o({className:h,parseClassName:d}):d},Gh=t=>{if(t.length<=1)return t;const r=[];let o=[];return t.forEach(l=>{l[0]==="["?(r.push(...o.sort(),l),o=[]):o.push(l)}),r.push(...o.sort()),r},Zh=t=>({cache:Wh(t.cacheSize),parseClassName:Qh(t),...$h(t)}),Kh=/\s+/,Yh=(t,r)=>{const{parseClassName:o,getClassGroupId:l,getConflictingClassGroupIds:s}=r,a=[],d=t.trim().split(Kh);let h="";for(let p=d.length-1;p>=0;p-=1){const g=d[p],{modifiers:x,hasImportantModifier:b,baseClassName:C,maybePostfixModifierPosition:y}=o(g);let _=!!y,z=l(_?C.substring(0,y):C);if(!z){if(!_){h=g+(h.length>0?" "+h:h);continue}if(z=l(C),!z){h=g+(h.length>0?" "+h:h);continue}_=!1}const F=Gh(x).join(":"),P=b?F+Ef:F,I=P+z;if(a.includes(I))continue;a.push(I);const $=s(z,_);for(let O=0;O<$.length;++O){const Q=$[O];a.push(P+Q)}h=g+(h.length>0?" "+h:h)}return h};function Xh(){let t=0,r,o,l="";for(;t<arguments.length;)(r=arguments[t++])&&(o=Sf(r))&&(l&&(l+=" "),l+=o);return l}const Sf=t=>{if(typeof t=="string")return t;let r,o="";for(let l=0;l<t.length;l++)t[l]&&(r=Sf(t[l]))&&(o&&(o+=" "),o+=r);return o};function Jh(t,...r){let o,l,s,a=d;function d(p){const g=r.reduce((x,b)=>b(x),t());return o=Zh(g),l=o.cache.get,s=o.cache.set,a=h,h(p)}function h(p){const g=l(p);if(g)return g;const x=Yh(p,o);return s(p,x),x}return function(){return a(Xh.apply(null,arguments))}}const Ae=t=>{const r=o=>o[t]||[];return r.isThemeGetter=!0,r},Af=/^\[(?:([a-z-]+):)?(.+)\]$/i,ep=/^\d+\/\d+$/,up=new Set(["px","full","screen"]),tp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,np=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rp=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,op=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ip=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qu=t=>an(t)||up.has(t)||ep.test(t),mt=t=>mn(t,"length",pp),an=t=>!!t&&!Number.isNaN(Number(t)),Gl=t=>mn(t,"number",an),nr=t=>!!t&&Number.isInteger(Number(t)),lp=t=>t.endsWith("%")&&an(t.slice(0,-1)),re=t=>Af.test(t),gt=t=>tp.test(t),sp=new Set(["length","size","percentage"]),cp=t=>mn(t,sp,Df),ap=t=>mn(t,"position",Df),fp=new Set(["image","url"]),dp=t=>mn(t,fp,gp),hp=t=>mn(t,"",mp),rr=()=>!0,mn=(t,r,o)=>{const l=Af.exec(t);return l?l[1]?typeof r=="string"?l[1]===r:r.has(l[1]):o(l[2]):!1},pp=t=>np.test(t)&&!rp.test(t),Df=()=>!1,mp=t=>op.test(t),gp=t=>ip.test(t),xp=()=>{const t=Ae("colors"),r=Ae("spacing"),o=Ae("blur"),l=Ae("brightness"),s=Ae("borderColor"),a=Ae("borderRadius"),d=Ae("borderSpacing"),h=Ae("borderWidth"),p=Ae("contrast"),g=Ae("grayscale"),x=Ae("hueRotate"),b=Ae("invert"),C=Ae("gap"),y=Ae("gradientColorStops"),_=Ae("gradientColorStopPositions"),z=Ae("inset"),F=Ae("margin"),P=Ae("opacity"),I=Ae("padding"),$=Ae("saturate"),O=Ae("scale"),Q=Ae("sepia"),Z=Ae("skew"),ne=Ae("space"),pe=Ae("translate"),oe=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",re,r],ue=()=>[re,r],Me=()=>["",Qu,mt],ve=()=>["auto",an,re],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],we=()=>["solid","dashed","dotted","double","none"],be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",re],H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[an,re];return{cacheSize:500,separator:":",theme:{colors:[rr],spacing:[Qu,mt],blur:["none","",gt,re],brightness:S(),borderColor:[t],borderRadius:["none","","full",gt,re],borderSpacing:ue(),borderWidth:Me(),contrast:S(),grayscale:K(),hueRotate:S(),invert:K(),gap:ue(),gradientColorStops:[t],gradientColorStopPositions:[lp,mt],inset:ye(),margin:ye(),opacity:S(),padding:ue(),saturate:S(),scale:S(),sepia:K(),skew:S(),space:ue(),translate:ue()},classGroups:{aspect:[{aspect:["auto","square","video",re]}],container:["container"],columns:[{columns:[gt]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...me(),re]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[z]}],"inset-x":[{"inset-x":[z]}],"inset-y":[{"inset-y":[z]}],start:[{start:[z]}],end:[{end:[z]}],top:[{top:[z]}],right:[{right:[z]}],bottom:[{bottom:[z]}],left:[{left:[z]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",nr,re]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",re]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",nr,re]}],"grid-cols":[{"grid-cols":[rr]}],"col-start-end":[{col:["auto",{span:["full",nr,re]},re]}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":[rr]}],"row-start-end":[{row:["auto",{span:[nr,re]},re]}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",re]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",re]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[F]}],mx:[{mx:[F]}],my:[{my:[F]}],ms:[{ms:[F]}],me:[{me:[F]}],mt:[{mt:[F]}],mr:[{mr:[F]}],mb:[{mb:[F]}],ml:[{ml:[F]}],"space-x":[{"space-x":[ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",re,r]}],"min-w":[{"min-w":[re,r,"min","max","fit"]}],"max-w":[{"max-w":[re,r,"none","full","min","max","fit","prose",{screen:[gt]},gt]}],h:[{h:[re,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[re,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[re,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[re,r,"auto","min","max","fit"]}],"font-size":[{text:["base",gt,mt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Gl]}],"font-family":[{font:[rr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",re]}],"line-clamp":[{"line-clamp":["none",an,Gl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Qu,re]}],"list-image":[{"list-image":["none",re]}],"list-style-type":[{list:["none","disc","decimal",re]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Qu,mt]}],"underline-offset":[{"underline-offset":["auto",Qu,re]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ue()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),ap]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cp]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},dp]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[_]}],"gradient-via-pos":[{via:[_]}],"gradient-to-pos":[{to:[_]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...we(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:we()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...we()]}],"outline-offset":[{"outline-offset":[Qu,re]}],"outline-w":[{outline:[Qu,mt]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[Qu,mt]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",gt,hp]}],"shadow-color":[{shadow:[rr]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":be()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[l]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",gt,re]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[b]}],saturate:[{saturate:[$]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[l]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",re]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",re]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",re]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[nr,re]}],"translate-x":[{"translate-x":[pe]}],"translate-y":[{"translate-y":[pe]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",re]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ue()}],"scroll-mx":[{"scroll-mx":ue()}],"scroll-my":[{"scroll-my":ue()}],"scroll-ms":[{"scroll-ms":ue()}],"scroll-me":[{"scroll-me":ue()}],"scroll-mt":[{"scroll-mt":ue()}],"scroll-mr":[{"scroll-mr":ue()}],"scroll-mb":[{"scroll-mb":ue()}],"scroll-ml":[{"scroll-ml":ue()}],"scroll-p":[{"scroll-p":ue()}],"scroll-px":[{"scroll-px":ue()}],"scroll-py":[{"scroll-py":ue()}],"scroll-ps":[{"scroll-ps":ue()}],"scroll-pe":[{"scroll-pe":ue()}],"scroll-pt":[{"scroll-pt":ue()}],"scroll-pr":[{"scroll-pr":ue()}],"scroll-pb":[{"scroll-pb":ue()}],"scroll-pl":[{"scroll-pl":ue()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Qu,mt,Gl]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},yp=Jh(xp);function Qe(...t){return yp(Cf(t))}const bp=[{test:/claude|anthropic/i,color:"#D97757",icon:rs},{test:/codex|openai/i,color:"#10A37F",icon:Fh},{test:/hermes/i,color:"#4A5FC7",icon:Sh},{test:/cursor/i,color:"#1F2937",icon:Ah},{test:/windsurf/i,color:"#10B6C4",icon:Oh},{test:/kiro/i,color:"#8B5CF6",icon:Nh},{test:/copilot|github/i,color:"#24292F",icon:Ph},{test:/gemini/i,color:"#4285F4",icon:rs},{test:/mcp/i,color:"#2563EB",icon:Vo}],vp={color:"#6B7280",icon:Vo};function dn(t){return!t||t==="(none)"||t.toLowerCase()==="none"}function Ro(t){return t.editor||t.source||"(none)"}function kp(t){return dn(t)?"未分类":t}function Ff(t){const r=kp(t);for(const o of bp)if(o.test.test(t))return{label:r,color:o.color,icon:o.icon};return{label:r,...vp}}function _p({view:t,editorFilter:r,stats:o,onDashboard:l,onSettings:s,onOtherSkills:a,onEditor:d}){var C;const h=(o==null?void 0:o.byEditor)??{},p=Object.entries(h).filter(([y])=>!dn(y)).sort((y,_)=>_[1]-y[1]),g=((C=Object.entries(h).find(([y])=>dn(y)))==null?void 0:C[1])??0,x=(o==null?void 0:o.total)??0,b=y=>Qe("flex items-center justify-between gap-2 rounded-md px-3 py-2 text-body-sm transition-colors",y?"bg-primary-soft text-primary":"text-muted-foreground hover:bg-muted hover:text-foreground");return k.jsxs("aside",{className:"sidebar",children:[k.jsx("button",{onClick:l,className:b(t==="dashboard"),children:k.jsxs("span",{className:"flex items-center gap-2",children:[k.jsx(zh,{size:16}),"仪表盘"]})}),k.jsx("button",{onClick:a,className:b(t==="otherSkills"),children:k.jsxs("span",{className:"flex items-center gap-2",children:[k.jsx(rs,{size:16}),"其它技能"]})}),k.jsx("p",{className:"mt-3 px-3 text-caption text-muted-foreground/70",children:"技能来源"}),k.jsxs("button",{onClick:()=>d(null),className:b(t==="skills"&&r===null),children:[k.jsxs("span",{className:"flex items-center gap-2",children:[k.jsx(ns,{size:16}),"全部来源"]}),k.jsx("span",{className:"text-caption opacity-80",children:x})]}),p.map(([y,_])=>{const z=Ff(y),F=z.icon,P=t==="skills"&&r===y;return k.jsxs("button",{onClick:()=>d(y),className:b(P),children:[k.jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[k.jsx("span",{className:"grid h-5 w-5 shrink-0 place-items-center rounded",style:{backgroundColor:z.color+"1A",color:z.color},children:k.jsx(F,{size:13})}),k.jsx("span",{className:"truncate",children:z.label})]}),k.jsx("span",{className:"text-caption opacity-80",children:_})]},y)}),g>0&&k.jsxs("button",{onClick:()=>d("(none)"),className:b(t==="skills"&&r==="(none)"),children:[k.jsxs("span",{className:"flex items-center gap-2 text-muted-foreground",children:[k.jsx(ns,{size:16}),"未分类"]}),k.jsx("span",{className:"text-caption opacity-80",children:g})]}),k.jsx("button",{onClick:s,className:Qe(b(t==="settings"),"mt-auto"),children:k.jsxs("span",{className:"flex items-center gap-2",children:[k.jsx(Rh,{size:16}),"设置"]})})]})}const $0=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,U0=Cf,Cp=(t,r)=>o=>{var l;if((r==null?void 0:r.variants)==null)return U0(t,o==null?void 0:o.class,o==null?void 0:o.className);const{variants:s,defaultVariants:a}=r,d=Object.keys(s).map(g=>{const x=o==null?void 0:o[g],b=a==null?void 0:a[g];if(x===null)return null;const C=$0(x)||$0(b);return s[g][C]}),h=o&&Object.entries(o).reduce((g,x)=>{let[b,C]=x;return C===void 0||(g[b]=C),g},{}),p=r==null||(l=r.compoundVariants)===null||l===void 0?void 0:l.reduce((g,x)=>{let{class:b,className:C,...y}=x;return Object.entries(y).every(_=>{let[z,F]=_;return Array.isArray(F)?F.includes({...a,...h}[z]):{...a,...h}[z]===F})?[...g,b,C]:g},[]);return U0(t,d,p,o==null?void 0:o.class,o==null?void 0:o.className)},wp=Cp("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-body-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-muted hover:text-foreground",ghost:"hover:bg-muted hover:text-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 px-3",lg:"h-10 px-6",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),is=te.forwardRef(({className:t,variant:r,size:o,...l},s)=>k.jsx("button",{ref:s,className:Qe(wp({variant:r,size:o}),t),...l}));is.displayName="Button";const Ep="huhaa-theme";function Sp(){return typeof document<"u"&&document.documentElement.classList.contains("dark")?"dark":"light"}function Nf(){const[t,r]=te.useState(Sp);te.useEffect(()=>{document.documentElement.classList.toggle("dark",t==="dark");try{localStorage.setItem(Ep,t)}catch{}},[t]);const o=te.useCallback(()=>{r(l=>l==="dark"?"light":"dark")},[]);return{theme:t,toggle:o}}const Ap=[{key:"skills",label:"技能 Skills"},{key:"commands",label:"命令",soon:!0},{key:"editor",label:"编辑器",soon:!0}];function Dp({module:t,onModule:r,onReload:o,reloading:l}){const{theme:s,toggle:a}=Nf();return k.jsxs("header",{className:"topbar",children:[k.jsxs("div",{className:"flex items-center gap-2 pr-2",children:[k.jsx("span",{className:"grid h-8 w-8 place-items-center rounded-md bg-primary text-primary-foreground",children:k.jsx(Vo,{size:18})}),k.jsx("span",{className:"text-body-sm font-bold text-foreground",children:"HuHaa"})]}),k.jsx("nav",{className:"flex items-center gap-1",children:Ap.map(d=>{const h=t===d.key;return k.jsxs("button",{disabled:d.soon,onClick:()=>!d.soon&&r(d.key),className:Qe("rounded-md px-3 py-1.5 text-body-sm transition-colors",h?"bg-primary-soft text-primary":d.soon?"cursor-not-allowed text-muted-foreground/60":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:[d.label,d.soon&&k.jsx("span",{className:"ml-1 text-caption opacity-70",children:"待开发"})]},d.key)})}),k.jsxs("div",{className:"ml-auto flex items-center gap-1",children:[k.jsx(is,{variant:"ghost",size:"icon",onClick:o,"aria-label":"重新扫描",children:k.jsx(Th,{size:18,className:l?"animate-spin":void 0})}),k.jsx(is,{variant:"ghost",size:"icon",onClick:a,"aria-label":s==="dark"?"切换到亮色":"切换到暗色",children:s==="dark"?k.jsx(Lh,{size:18}):k.jsx(Mh,{size:18})})]})]})}const bs=te.forwardRef(({className:t,...r},o)=>k.jsx("div",{ref:o,className:Qe("rounded-lg border border-border bg-card text-card-foreground shadow-sm",t),...r}));bs.displayName="Card";const zf=te.forwardRef(({className:t,...r},o)=>k.jsx("div",{ref:o,className:Qe("flex flex-col gap-1 p-4",t),...r}));zf.displayName="CardHeader";const Mf=te.forwardRef(({className:t,...r},o)=>k.jsx("div",{ref:o,className:Qe("text-h4 font-semibold leading-tight",t),...r}));Mf.displayName="CardTitle";const Tf=te.forwardRef(({className:t,...r},o)=>k.jsx("p",{ref:o,className:Qe("text-body-sm text-muted-foreground",t),...r}));Tf.displayName="CardDescription";const Fp=te.forwardRef(({className:t,...r},o)=>k.jsx("div",{ref:o,className:Qe("p-4 pt-0",t),...r}));Fp.displayName="CardContent";function sn({icon:t,color:r,label:o,value:l}){return k.jsxs(bs,{className:"flex items-center gap-3 p-5 shadow-sm",children:[k.jsx("span",{className:"grid h-10 w-10 shrink-0 place-items-center rounded-lg",style:{backgroundColor:r+"1A",color:r},children:t}),k.jsxs("div",{className:"min-w-0",children:[k.jsx("p",{className:"truncate text-body-sm text-muted-foreground",children:o}),k.jsx("p",{className:"text-h3 font-bold tabular-nums",children:l})]})]})}const Np={skill:"技能 Skill",plugin:"插件 Plugin",mcp:"MCP","mcp-tool":"MCP 工具",runbook:"Runbook",instruction:"规则 Rule",config:"配置",doc:"文档","agent-rule":"Agent 规则"};function zp({stats:t,items:r}){if(!t)return k.jsx("p",{className:"text-body-sm text-muted-foreground",children:"暂无统计数据"});const o=r.filter(a=>a.parseError).length,l=Object.entries(t.byKind).sort((a,d)=>d[1]-a[1]),s=Object.entries(t.byEditor).filter(([a])=>!dn(a)).sort((a,d)=>d[1]-a[1]).slice(0,8);return k.jsxs("div",{className:"canvas-dotted -m-6 min-h-full p-6",children:[k.jsx("h1",{className:"mb-1 text-h3 font-bold text-foreground",children:"仪表盘"}),k.jsx("p",{className:"mb-5 text-body-sm text-muted-foreground",children:"本地聚合的技能 / 插件 / MCP 概览(数据来自磁盘扫描)"}),k.jsxs("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[k.jsx(sn,{icon:k.jsx(Vo,{size:20}),color:"#2563EB",label:"条目总数",value:t.total}),k.jsx(sn,{icon:k.jsx(ns,{size:20}),color:"#10A37F",label:"技能来源数",value:s.length}),k.jsx(sn,{icon:k.jsx(P0,{size:20}),color:"#8B5CF6",label:"类型数",value:Object.keys(t.byKind).length}),k.jsx(sn,{icon:k.jsx(Bh,{size:20}),color:o>0?"#EF4444":"#6B7280",label:"解析错误",value:o})]}),k.jsx("h2",{className:"mb-3 mt-8 text-h4 text-foreground",children:"按类型"}),k.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:l.map(([a,d])=>k.jsx(sn,{icon:k.jsx(P0,{size:20}),color:"#2563EB",label:Np[a]??a,value:d},a))}),k.jsx("h2",{className:"mb-3 mt-8 text-h4 text-foreground",children:"按来源(editor)"}),k.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:s.map(([a,d])=>{const h=Ff(a),p=h.icon;return k.jsx(sn,{icon:k.jsx(p,{size:20}),color:h.color,label:h.label,value:d},a)})})]})}function vt(t){return Array.isArray?Array.isArray(t):Rf(t)==="[object Array]"}function Mp(t){if(typeof t=="string")return t;if(typeof t=="bigint")return t.toString();const r=t+"";return r=="0"&&1/t==-1/0?"-0":r}function ls(t){return t==null?"":Mp(t)}function eu(t){return typeof t=="string"}function Lo(t){return typeof t=="number"}function Tp(t){return t===!0||t===!1||jp(t)&&Rf(t)=="[object Boolean]"}function jf(t){return typeof t=="object"}function jp(t){return jf(t)&&t!==null}function hu(t){return t!=null}function Do(t){return!t.trim().length}function Rf(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Rp="Incorrect 'index' type",ss="Invalid doc index: must be a non-negative integer within the bounds of the docs array",Lp=t=>`Invalid value for key ${t}`,Ip=t=>`Pattern length exceeds max of ${t}.`,Pp=t=>`Missing ${t} property in key`,Bp=t=>`Property 'weight' in key '${t}' must be a positive integer`,Op="Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.",H0=Object.prototype.hasOwnProperty;var $p=class{constructor(t){this._keys=[],this._keyMap={};let r=0;t.forEach(o=>{const l=Lf(o);this._keys.push(l),this._keyMap[l.id]=l,r+=l.weight}),this._keys.forEach(o=>{o.weight/=r})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function Lf(t){let r=null,o=null,l=null,s=1,a=null;if(eu(t)||vt(t))l=t,r=V0(t),o=Io(t);else{if(!H0.call(t,"name"))throw new Error(Pp("name"));const d=t.name;if(l=d,H0.call(t,"weight")&&t.weight!==void 0&&(s=t.weight,s<=0))throw new Error(Bp(Io(d)));r=V0(d),o=Io(d),a=t.getFn??null}return{path:r,id:o,weight:s,src:l,getFn:a}}function V0(t){return vt(t)?t:t.split(".")}function Io(t){return vt(t)?t.join("."):t}function Up(t,r){const o=[];let l=!1;const s=(a,d,h,p)=>{if(hu(a))if(!d[h])o.push(p!==void 0?{v:a,i:p}:a);else{const g=a[d[h]];if(!hu(g))return;if(h===d.length-1&&(eu(g)||Lo(g)||Tp(g)||typeof g=="bigint"))o.push(p!==void 0?{v:ls(g),i:p}:ls(g));else if(vt(g)){l=!0;for(let x=0,b=g.length;x<b;x+=1)s(g[x],d,h+1,x)}else d.length&&s(g,d,h+1,p)}};return s(t,eu(r)?r.split("."):r,0),l?o:o[0]}const Hp={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Vp={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,r)=>t.score===r.score?t.idx<r.idx?-1:1:t.score<r.score?-1:1},qp={location:0,threshold:.6,distance:100},Wp={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:Up,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},J=Object.freeze({...Vp,...Hp,...qp,...Wp});function Qp(t=1,r=3){const o=new Map,l=Math.pow(10,r);return{get(s){let a=1,d=!1;for(let p=0;p<s.length;p++)s.charCodeAt(p)===32?d||(a++,d=!0):d=!1;if(o.has(a))return o.get(a);const h=Math.round(l/Math.pow(a,.5*t))/l;return o.set(a,h),h},clear(){o.clear()}}}var vs=class{constructor({getFn:t=J.getFn,fieldNormWeight:r=J.fieldNormWeight}={}){this.norm=Qp(r,3),this.getFn=t,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((r,o)=>{this._keysMap[r.id]=o})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;const t=this.docs.length;this.records=new Array(t);let r=0;if(eu(this.docs[0]))for(let o=0;o<t;o++){const l=this._createStringRecord(this.docs[o],o);l&&(this.records[r++]=l)}else for(let o=0;o<t;o++)this.records[r++]=this._createObjectRecord(this.docs[o],o);this.records.length=r,this.norm.clear()}add(t,r){if(!Number.isInteger(r)||r<0)throw new Error(ss);if(eu(t)){const l=this._createStringRecord(t,r);return l&&this.records.push(l),l}const o=this._createObjectRecord(t,r);return this.records.push(o),o}removeAt(t){if(!Number.isInteger(t)||t<0)throw new Error(ss);for(let r=0,o=this.records.length;r<o;r+=1)if(this.records[r].i===t){this.records.splice(r,1);break}for(let r=0,o=this.records.length;r<o;r+=1)this.records[r].i>t&&(this.records[r].i-=1)}removeAll(t){const r=new Set;for(const l of t)Number.isInteger(l)&&l>=0&&r.add(l);if(r.size===0)return;this.records=this.records.filter(l=>!r.has(l.i));const o=Array.from(r).sort((l,s)=>l-s);for(const l of this.records){let s=0,a=o.length;for(;s<a;){const d=s+a>>>1;o[d]<l.i?s=d+1:a=d}l.i-=s}}getValueForItemAtKeyId(t,r){return t[this._keysMap[r]]}size(){return this.records.length}_createStringRecord(t,r){return!hu(t)||Do(t)?null:{v:t,i:r,n:this.norm.get(t)}}_createObjectRecord(t,r){const o={i:r,$:{}};for(let l=0,s=this.keys.length;l<s;l++){const a=this.keys[l],d=a.getFn?a.getFn(t):this.getFn(t,a.path);if(hu(d)){if(vt(d)){const h=[];for(let p=0,g=d.length;p<g;p+=1){const x=d[p];if(hu(x)){if(eu(x)){if(!Do(x)){const b={v:x,i:p,n:this.norm.get(x)};h.push(b)}}else if(hu(x.v)){const b=eu(x.v)?x.v:ls(x.v);if(!Do(b)){const C={v:b,i:x.i,n:this.norm.get(b)};h.push(C)}}}}o.$[l]=h}else if(eu(d)&&!Do(d)){const h={v:d,n:this.norm.get(d)};o.$[l]=h}}}return o}toJSON(){return{keys:this.keys.map(({getFn:t,...r})=>r),records:this.records}}};function If(t,r,{getFn:o=J.getFn,fieldNormWeight:l=J.fieldNormWeight}={}){const s=new vs({getFn:o,fieldNormWeight:l});return s.setKeys(t.map(Lf)),s.setSources(r),s.create(),s}function Gp(t,{getFn:r=J.getFn,fieldNormWeight:o=J.fieldNormWeight}={}){const{keys:l,records:s}=t,a=new vs({getFn:r,fieldNormWeight:o});return a.setKeys(l),a.setIndexRecords(s),a}function Zp(t=[],r=J.minMatchCharLength){const o=[];let l=-1,s=-1,a=0;for(let d=t.length;a<d;a+=1){const h=t[a];h&&l===-1?l=a:!h&&l!==-1&&(s=a-1,s-l+1>=r&&o.push([l,s]),l=-1)}return t[a-1]&&a-l>=r&&o.push([l,a-1]),o}function Kp(t,r,o,{location:l=J.location,distance:s=J.distance,threshold:a=J.threshold,findAllMatches:d=J.findAllMatches,minMatchCharLength:h=J.minMatchCharLength,includeMatches:p=J.includeMatches,ignoreLocation:g=J.ignoreLocation}={}){if(r.length>32)throw new Error(Ip(32));const x=r.length,b=t.length,C=Math.max(0,Math.min(l,b));let y=a,_=C;const z=(oe,ce)=>{const ye=oe/x;if(g)return ye;const ue=Math.abs(C-ce);return s?ye+ue/s:ue?1:ye},F=h>1||p,P=F?Array(b):[];let I;for(;(I=t.indexOf(r,_))>-1;){const oe=z(0,I);if(y=Math.min(oe,y),_=I+x,F){let ce=0;for(;ce<x;)P[I+ce]=1,ce+=1}}_=-1;let $=[],O=1,Q=0,Z=x+b;const ne=1<<x-1;for(let oe=0;oe<x;oe+=1){let ce=0,ye=Z;for(;ce<ye;)z(oe,C+ye)<=y?ce=ye:Z=ye,ye=Math.floor((Z-ce)/2+ce);Z=ye;let ue=Math.max(1,C-ye+1);const Me=d?b:Math.min(C+ye,b)+x,ve=Array(Me+2);ve[Me+1]=(1<<oe)-1;for(let me=Me;me>=ue;me-=1){const we=me-1,be=o[t[we]];if(ve[me]=(ve[me+1]<<1|1)&be,oe&&(ve[me]|=($[me+1]|$[me])<<1|1|$[me+1]),ve[me]&ne&&(O=z(oe,we),O<=y)){if(y=O,_=we,Q=oe,_<=C)break;ue=Math.max(1,2*C-_)}}if(z(oe+1,C)>y)break;$=ve}if(F&&_>=0){const oe=Math.min(b-1,_+x-1+Q);for(let ce=_;ce<=oe;ce+=1)o[t[ce]]&&(P[ce]=1)}const pe={isMatch:_>=0,score:Math.max(.001,O)};if(F){const oe=Zp(P,h);oe.length?p&&(pe.indices=oe):pe.isMatch=!1}return pe}function Yp(t){const r={};for(let o=0,l=t.length;o<l;o+=1){const s=t.charAt(o);r[s]=(r[s]||0)|1<<l-o-1}return r}function ks(t){if(t.length<=1)return t;t.sort((o,l)=>o[0]-l[0]||o[1]-l[1]);const r=[t[0]];for(let o=1,l=t.length;o<l;o+=1){const s=r[r.length-1],a=t[o];a[0]<=s[1]+1?s[1]=Math.max(s[1],a[1]):r.push(a)}return r}const Pf={ł:"l",Ł:"L",đ:"d",Đ:"D",ø:"o",Ø:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",ß:"ss"},Xp=new RegExp("["+Object.keys(Pf).join("")+"]","g"),lr=typeof String.prototype.normalize=="function"?t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(Xp,r=>Pf[r]):t=>t;var _s=class{constructor(t,{location:r=J.location,threshold:o=J.threshold,distance:l=J.distance,includeMatches:s=J.includeMatches,findAllMatches:a=J.findAllMatches,minMatchCharLength:d=J.minMatchCharLength,isCaseSensitive:h=J.isCaseSensitive,ignoreDiacritics:p=J.ignoreDiacritics,ignoreLocation:g=J.ignoreLocation}={}){if(this.options={location:r,threshold:o,distance:l,includeMatches:s,findAllMatches:a,minMatchCharLength:d,isCaseSensitive:h,ignoreDiacritics:p,ignoreLocation:g},t=h?t:t.toLowerCase(),t=p?lr(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const x=(C,y)=>{this.chunks.push({pattern:C,alphabet:Yp(C),startIndex:y})},b=this.pattern.length;if(b>32){let C=0;const y=b%32,_=b-y;for(;C<_;)x(this.pattern.substr(C,32),C),C+=32;if(y){const z=b-32;x(this.pattern.substr(z),z)}}else x(this.pattern,0)}searchIn(t){const{isCaseSensitive:r,ignoreDiacritics:o,includeMatches:l}=this.options;if(t=r?t:t.toLowerCase(),t=o?lr(t):t,this.pattern===t){const _={isMatch:!0,score:0};return l&&(_.indices=[[0,t.length-1]]),_}const{location:s,distance:a,threshold:d,findAllMatches:h,minMatchCharLength:p,ignoreLocation:g}=this.options,x=[];let b=0,C=!1;this.chunks.forEach(({pattern:_,alphabet:z,startIndex:F})=>{const{isMatch:P,score:I,indices:$}=Kp(t,_,z,{location:s+F,distance:a,threshold:d,findAllMatches:h,minMatchCharLength:p,includeMatches:l,ignoreLocation:g});P&&(C=!0),b+=I,P&&$&&x.push(...$)});const y={isMatch:C,score:C?b/this.chunks.length:1};return C&&l&&(y.indices=ks(x)),y}};const Jp=new Set(["fuzzy","include"]);function e2(t){return t.startsWith("inverse")}const cs=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:t=>({type:"exact",search(r){const o=r===t;return{isMatch:o,score:o?0:1,indices:[0,t.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:t=>({type:"include",search(r){let o=0,l;const s=[],a=t.length;for(;(l=r.indexOf(t,o))>-1;)o=l+a,s.push([l,o-1]);const d=!!s.length;return{isMatch:d,score:d?0:1,indices:s}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:t=>({type:"prefix-exact",search(r){const o=r.startsWith(t);return{isMatch:o,score:o?0:1,indices:[0,t.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:t=>({type:"inverse-prefix-exact",search(r){const o=!r.startsWith(t);return{isMatch:o,score:o?0:1,indices:[0,r.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:t=>({type:"inverse-suffix-exact",search(r){const o=!r.endsWith(t);return{isMatch:o,score:o?0:1,indices:[0,r.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:t=>({type:"suffix-exact",search(r){const o=r.endsWith(t);return{isMatch:o,score:o?0:1,indices:[r.length-t.length,r.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:t=>({type:"inverse-exact",search(r){const o=r.indexOf(t)===-1;return{isMatch:o,score:o?0:1,indices:[0,r.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(t,r={})=>{const o=new _s(t,{location:r.location??J.location,threshold:r.threshold??J.threshold,distance:r.distance??J.distance,includeMatches:r.includeMatches??J.includeMatches,findAllMatches:r.findAllMatches??J.findAllMatches,minMatchCharLength:r.minMatchCharLength??J.minMatchCharLength,isCaseSensitive:r.isCaseSensitive??J.isCaseSensitive,ignoreDiacritics:r.ignoreDiacritics??J.ignoreDiacritics,ignoreLocation:r.ignoreLocation??J.ignoreLocation});return{type:"fuzzy",search(l){return o.searchIn(l)}}}}],q0=cs.length,u2="\0",t2="|";function n2(t){const r=[],o=t.length;let l=0;for(;l<o;){for(;l<o&&t[l]===" ";)l++;if(l>=o)break;let s=l;for(;s<o&&t[s]!==" "&&t[s]!=='"';)s++;if(s<o&&t[s]==='"'){for(s++;s<o;){if(t[s]==='"'){const a=s+1;if(a>=o||t[a]===" "){s++;break}if(t[a]==="$"&&(a+1>=o||t[a+1]===" ")){s+=2;break}}s++}r.push(t.substring(l,s)),l=s}else{for(;s<o&&t[s]!==" ";)s++;r.push(t.substring(l,s)),l=s}}return r}function W0(t,r){const o=t.match(r);return o?o[1]:null}function r2(t,r={}){return t.replace(/\\\|/g,u2).split(t2).map(o=>{const l=n2(o.replace(/\u0000/g,"|").trim()).filter(a=>a&&!!a.trim()),s=[];for(let a=0,d=l.length;a<d;a+=1){const h=l[a];let p=!1,g=-1;for(;!p&&++g<q0;){const x=cs[g],b=W0(h,x.multiRegex);b&&(s.push(x.create(b,r)),p=!0)}if(!p)for(g=-1;++g<q0;){const x=cs[g],b=W0(h,x.singleRegex);if(b){s.push(x.create(b,r));break}}}return s})}var o2=class{constructor(t,{isCaseSensitive:r=J.isCaseSensitive,ignoreDiacritics:o=J.ignoreDiacritics,includeMatches:l=J.includeMatches,minMatchCharLength:s=J.minMatchCharLength,ignoreLocation:a=J.ignoreLocation,findAllMatches:d=J.findAllMatches,location:h=J.location,threshold:p=J.threshold,distance:g=J.distance}={}){this.query=null,this.options={isCaseSensitive:r,ignoreDiacritics:o,includeMatches:l,minMatchCharLength:s,findAllMatches:d,ignoreLocation:a,location:h,threshold:p,distance:g},t=r?t:t.toLowerCase(),t=o?lr(t):t,this.pattern=t,this.query=r2(this.pattern,this.options)}static condition(t,r){return r.useExtendedSearch}searchIn(t){const r=this.query;if(!r)return{isMatch:!1,score:1};const{includeMatches:o,isCaseSensitive:l,ignoreDiacritics:s}=this.options;t=l?t:t.toLowerCase(),t=s?lr(t):t;let a=0;const d=[];let h=0,p=!1;for(let g=0,x=r.length;g<x;g+=1){const b=r[g];d.length=0,a=0,p=!1;for(let C=0,y=b.length;C<y;C+=1){const _=b[C],{isMatch:z,indices:F,score:P}=_.search(t);if(z)a+=1,h+=P,e2(_.type)&&(p=!0),o&&(Jp.has(_.type)?d.push(...F):d.push(F));else{h=0,a=0,d.length=0,p=!1;break}}if(a){const C={isMatch:!0,score:h/a};return p&&(C.hasInverse=!0),o&&(C.indices=ks(d)),C}}return{isMatch:!1,score:1}}};const as=[];function Cs(...t){as.push(...t)}function Po(t,r){for(let o=0,l=as.length;o<l;o+=1){const s=as[o];if(s.condition(t,r))return new s(t,r)}return new _s(t,r)}const Bo={AND:"$and",OR:"$or"},fs={PATH:"$path",PATTERN:"$val"},ds=t=>!!(t[Bo.AND]||t[Bo.OR]),i2=t=>!!t[fs.PATH],l2=t=>!vt(t)&&jf(t)&&!ds(t),Q0=t=>({[Bo.AND]:Object.keys(t).map(r=>({[r]:t[r]}))});function Bf(t,r,{auto:o=!0}={}){const l=s=>{if(eu(s)){const p={keyId:null,pattern:s};return o&&(p.searcher=Po(s,r)),p}const a=Object.keys(s),d=i2(s);if(!d&&a.length>1&&!ds(s))return l(Q0(s));if(l2(s)){const p=d?s[fs.PATH]:a[0],g=d?s[fs.PATTERN]:s[p];if(!eu(g))throw new Error(Lp(p));const x={keyId:Io(p),pattern:g};return o&&(x.searcher=Po(g,r)),x}const h={children:[],operator:a[0]};return a.forEach(p=>{const g=s[p];vt(g)&&g.forEach(x=>{h.children.push(l(x))})}),h};return ds(t)||(t=Q0(t)),l(t)}function hs(t,{ignoreFieldNorm:r=J.ignoreFieldNorm}){let o=1;return t.forEach(({key:l,norm:s,score:a})=>{const d=l?l.weight:null;o*=Math.pow(a===0&&d?Number.EPSILON:a,(d||1)*(r?1:s))}),o}function s2(t,{ignoreFieldNorm:r=J.ignoreFieldNorm}){t.forEach(o=>{o.score=hs(o.matches,{ignoreFieldNorm:r})})}var c2=class{constructor(t){this.limit=t,this.heap=[]}get size(){return this.heap.length}shouldInsert(t){return this.size<this.limit||t<this.heap[0].score}insert(t){this.size<this.limit?(this.heap.push(t),this._bubbleUp(this.size-1)):t.score<this.heap[0].score&&(this.heap[0]=t,this._sinkDown(0))}extractSorted(t){return this.heap.sort(t)}_bubbleUp(t){const r=this.heap;for(;t>0;){const o=t-1>>1;if(r[t].score<=r[o].score)break;const l=r[t];r[t]=r[o],r[o]=l,t=o}}_sinkDown(t){const r=this.heap,o=r.length;let l=t;do{t=l;const s=2*t+1,a=2*t+2;if(s<o&&r[s].score>r[l].score&&(l=s),a<o&&r[a].score>r[l].score&&(l=a),l!==t){const d=r[t];r[t]=r[l],r[l]=d}}while(l!==t)}};function a2(t){const r=[];return t.matches.forEach(o=>{if(!hu(o.indices)||!o.indices.length)return;const l={indices:o.indices,value:o.value};o.key&&(l.key=o.key.id),o.idx>-1&&(l.refIndex=o.idx),r.push(l)}),r}function f2(t,r,{includeMatches:o=J.includeMatches,includeScore:l=J.includeScore}={}){return t.map(s=>{const{idx:a}=s,d={item:r[a],refIndex:a};return o&&(d.matches=a2(s)),l&&(d.score=s.score),d})}const d2=/[\p{L}\p{M}\p{N}_]+/gu,G0=new WeakSet;function h2(t){G0.has(t)||(G0.add(t),console.warn(`[Fuse] tokenize regex ${t} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function p2(t){if(typeof t=="function"){let r=!1;return o=>{const l=t(o);if(!r&&(r=!0,!Array.isArray(l)||l.some(s=>typeof s!="string")))throw new Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(l)?"array containing non-strings":typeof l}.`);return l}}return t instanceof RegExp?(t.global||h2(t),r=>r.match(t)||[]):r=>r.match(d2)||[]}function ps({isCaseSensitive:t=!1,ignoreDiacritics:r=!1,tokenize:o}={}){const l=p2(o);return{tokenize(s){return t||(s=s.toLowerCase()),r&&(s=lr(s)),l(s)}}}var m2=class{static condition(t,r){return r.useTokenSearch}constructor(t,r){this.options=r,this.analyzer=ps({isCaseSensitive:r.isCaseSensitive,ignoreDiacritics:r.ignoreDiacritics,tokenize:r.tokenize});const o=this.analyzer.tokenize(t),{df:l,fieldCount:s}=r._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(const a of o){this.termSearchers.push(new _s(a,{location:r.location,threshold:r.threshold,distance:r.distance,includeMatches:r.includeMatches,findAllMatches:r.findAllMatches,minMatchCharLength:r.minMatchCharLength,isCaseSensitive:r.isCaseSensitive,ignoreDiacritics:r.ignoreDiacritics,ignoreLocation:!0}));const d=l.get(a)||0,h=Math.log(1+(s-d+.5)/(d+.5));this.idfWeights.push(h)}this.combineAll=r.tokenMatch==="all",this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(t){if(!this.termSearchers.length)return{isMatch:!1,score:1};const r=[];let o=0,l=0,s=0,a=0;const d=this.combineAll&&!this.useMask?new Set:null;for(let g=0;g<this.termSearchers.length;g++){const x=this.termSearchers[g].searchIn(t),b=this.idfWeights[g];l+=b,x.isMatch&&(s++,o+=b*(1-x.score),x.indices&&r.push(...x.indices),this.combineAll&&(this.useMask?a|=1<<g:d.add(g)))}if(s===0)return{isMatch:!1,score:1};const h=l>0?1-o/l:0,p={isMatch:!0,score:Math.max(.001,h)};return this.options.includeMatches&&r.length&&(p.indices=ks(r)),this.combineAll&&(this.useMask?p.matchedMask=a:p.matchedTerms=d,p.termCount=this.numTerms),p}};function Zl(t,r,o,l){const s=l.tokenize(r);if(!s.length)return;t.fieldCount++,t.docFieldCount.set(o,(t.docFieldCount.get(o)||0)+1);const a=new Set(s);let d=t.docTermFieldHits.get(o);d||(d=new Map,t.docTermFieldHits.set(o,d));for(const h of a)d.set(h,(d.get(h)||0)+1),t.df.set(h,(t.df.get(h)||0)+1)}function Of(t,r,o,l){const{i:s,v:a,$:d}=r;if(a!==void 0){Zl(t,a,s,l);return}if(d)for(let h=0;h<o;h++){const p=d[h];if(p)if(Array.isArray(p))for(const g of p)Zl(t,g.v,s,l);else Zl(t,p.v,s,l)}}function g2(t,r,o){const l={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(const s of t)Of(l,s,r,o);return l}function x2(t,r,o,l){Of(t,r,o,l)}function y2(t,r){const o=t.docFieldCount.get(r);if(o===void 0)return;t.fieldCount-=o,t.docFieldCount.delete(r);const l=t.docTermFieldHits.get(r);if(l){for(const[s,a]of l){const d=(t.df.get(s)||0)-a;d<=0?t.df.delete(s):t.df.set(s,d)}t.docTermFieldHits.delete(r)}}function Z0(t,r){if(r.length===0)return;const o=Array.from(new Set(r)).sort((h,p)=>h-p);for(const h of o)y2(t,h);const l=h=>{let p=0,g=o.length;for(;p<g;){const x=p+g>>>1;o[x]<h?p=x+1:g=x}return h-p},s=o[0],a=new Map;for(const[h,p]of t.docFieldCount)a.set(h>s?l(h):h,p);t.docFieldCount=a;const d=new Map;for(const[h,p]of t.docTermFieldHits)d.set(h>s?l(h):h,p);t.docTermFieldHits=d}var kt=class{constructor(t,r,o){this.options={...J,...r},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new $p(this.options.keys),this._docs=t,this._myIndex=null,this._invertedIndex=null,this.setCollection(t,o),this._lastQuery=null,this._lastSearcher=null}_getSearcher(t){if(this._lastQuery===t)return this._lastSearcher;const r=Po(t,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=t,this._lastSearcher=r,r}setCollection(t,r){if(this._docs=t,r&&!(r instanceof vs))throw new Error(Rp);if(this._myIndex=r||If(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const o=ps({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=g2(this._myIndex.records,this._myIndex.keys.length,o)}this._invalidateSearcherCache()}add(t){if(!hu(t))return;this._docs.push(t);const r=this._myIndex.add(t,this._docs.length-1);if(this._invertedIndex&&r){const o=ps({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});x2(this._invertedIndex,r,this._myIndex.keys.length,o)}this._invalidateSearcherCache()}remove(t=()=>!1){const r=[],o=[];for(let l=0,s=this._docs.length;l<s;l+=1)t(this._docs[l],l)&&(r.push(this._docs[l]),o.push(l));if(o.length){this._invertedIndex&&Z0(this._invertedIndex,o);const l=new Set(o);this._docs=this._docs.filter((s,a)=>!l.has(a)),this._myIndex.removeAll(o),this._invalidateSearcherCache()}return r}removeAt(t){if(!Number.isInteger(t)||t<0||t>=this._docs.length)throw new Error(ss);this._invertedIndex&&Z0(this._invertedIndex,[t]);const r=this._docs.splice(t,1)[0];return this._myIndex.removeAt(t),this._invalidateSearcherCache(),r}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}search(t,r){const{limit:o=-1}=r||{},{includeMatches:l,includeScore:s,shouldSort:a,sortFn:d,ignoreFieldNorm:h}=this.options;if(eu(t)&&!t.trim()){let x=this._docs.map((b,C)=>({item:b,refIndex:C}));return Lo(o)&&o>-1&&(x=x.slice(0,o)),x}const p=Lo(o)&&o>0&&eu(t);let g;if(p){const x=new c2(o);eu(this._docs[0])?this._searchStringList(t,{heap:x,ignoreFieldNorm:h}):this._searchObjectList(t,{heap:x,ignoreFieldNorm:h}),g=x.extractSorted(d)}else g=eu(t)?eu(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t),s2(g,{ignoreFieldNorm:h}),a&&g.sort(d),Lo(o)&&o>-1&&(g=g.slice(0,o));return f2(g,this._docs,{includeMatches:l,includeScore:s})}_searchStringList(t,{heap:r,ignoreFieldNorm:o}={}){const l=this._getSearcher(t),s=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:a}=this._myIndex,d=r?null:[];return a.forEach(({v:h,i:p,n:g})=>{if(!hu(h))return;const x=l.searchIn(h);if(x.isMatch){const b={score:x.score,value:h,norm:g,indices:x.indices};s&&(b.matchedMask=x.matchedMask,b.matchedTerms=x.matchedTerms,b.termCount=x.termCount);const C=[b];if(!s||this._coversAllTokens(C)){const y={item:h,idx:p,matches:C};r?(y.score=hs(y.matches,{ignoreFieldNorm:o}),r.shouldInsert(y.score)&&r.insert(y)):d.push(y)}}}),d}_searchLogical(t){const r=Bf(t,this.options),o=(d,h,p)=>{if(!("children"in d)){const{keyId:C,searcher:y}=d;let _;return C===null?(_=[],this._myIndex.keys.forEach((z,F)=>{_.push(...this._findMatches({key:z,value:h[F],searcher:y}))})):_=this._findMatches({key:this._keyStore.get(C),value:this._myIndex.getValueForItemAtKeyId(h,C),searcher:y}),_&&_.length?[{idx:p,item:h,matches:_}]:[]}const{children:g,operator:x}=d,b=[];for(let C=0,y=g.length;C<y;C+=1){const _=g[C],z=o(_,h,p);if(z.length)b.push(...z);else if(x===Bo.AND)return[]}return b},l=this._myIndex.records,s=new Map,a=[];return l.forEach(({$:d,i:h})=>{if(hu(d)){const p=o(r,d,h);p.length&&(s.has(h)||(s.set(h,{idx:h,item:d,matches:[]}),a.push(s.get(h))),p.forEach(({matches:g})=>{s.get(h).matches.push(...g)}))}}),a}_searchObjectList(t,{heap:r,ignoreFieldNorm:o}={}){const l=this._getSearcher(t),s=this.options.useTokenSearch&&this.options.tokenMatch==="all",{keys:a,records:d}=this._myIndex,h=r?null:[];return d.forEach(({$:p,i:g})=>{if(!hu(p))return;const x=[];let b=!1,C=!1;if(a.forEach((y,_)=>{const z=this._findMatches({key:y,value:p[_],searcher:l});z.length?(x.push(...z),z[0].hasInverse&&(C=!0)):b=!0}),!(C&&b)&&x.length&&(!s||this._coversAllTokens(x))){const y={idx:g,item:p,matches:x};r?(y.score=hs(y.matches,{ignoreFieldNorm:o}),r.shouldInsert(y.score)&&r.insert(y)):h.push(y)}}),h}_findMatches({key:t,value:r,searcher:o}){if(!hu(r))return[];const l=[];if(vt(r))r.forEach(({v:s,i:a,n:d})=>{if(!hu(s))return;const h=o.searchIn(s);if(h.isMatch){const p={score:h.score,key:t,value:s,idx:a,norm:d,indices:h.indices,hasInverse:h.hasInverse};h.termCount!==void 0&&(p.matchedMask=h.matchedMask,p.matchedTerms=h.matchedTerms,p.termCount=h.termCount),l.push(p)}});else{const{v:s,n:a}=r,d=o.searchIn(s);if(d.isMatch){const h={score:d.score,key:t,value:s,norm:a,indices:d.indices,hasInverse:d.hasInverse};d.termCount!==void 0&&(h.matchedMask=d.matchedMask,h.matchedTerms=d.matchedTerms,h.termCount=d.termCount),l.push(h)}}return l}_coversAllTokens(t){const r=t.length?t[0].termCount:void 0;if(r===void 0)return!0;if(r<=31){let l=0;for(let s=0;s<t.length;s++)l|=t[s].matchedMask||0;return l===2**r-1}const o=new Set;for(let l=0;l<t.length;l++){const s=t[l].matchedTerms;if(s)for(const a of s)o.add(a)}return o.size===r}};kt.version="7.4.2";kt.createIndex=If;kt.parseIndex=Gp;kt.config=J;kt.match=function(t,r,o){if(o&&o.useTokenSearch)throw new Error(Op);return Po(t,{...J,...o}).searchIn(r)};kt.parseQuery=Bf;Cs(o2);Cs(m2);kt.use=function(...t){t.forEach(r=>Cs(r))};var b2=kt;function cn({label:t,onAction:r}){const[o,l]=te.useState("idle"),[s,a]=te.useState(!1);async function d(){a(!0);try{const h=await r();l(h.ok?"ok":"err")}catch{l("err")}finally{a(!1),setTimeout(()=>l("idle"),1400)}}return k.jsxs("button",{type:"button",onClick:d,disabled:s,className:Qe("rounded-md border px-2.5 py-1 text-caption transition-colors disabled:opacity-60",o==="ok"?"border-primary bg-primary-soft text-primary":o==="err"?"border-destructive text-destructive":"border-border bg-card text-muted-foreground hover:text-foreground"),children:[o==="ok"?"✓ ":o==="err"?"✗ ":"",t]})}const ws="/api";async function Es(t){const r=await fetch(`${ws}${t}`);if(!r.ok)throw new Error(`GET ${t} 失败: ${r.status}`);return r.json()}async function v2(t,r){const o=await fetch(`${ws}${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:void 0});if(!o.ok)throw new Error(`POST ${t} 失败: ${o.status}`);return o.json()}async function $f(t,r){return(await fetch(`${ws}${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:r?JSON.stringify(r):void 0})).json()}function K0(){return Es("/skills")}function k2(t){return Es(`/skills/${encodeURIComponent(t)}`)}function Y0(){return Es("/stats")}function _2(){return v2("/reload")}function Fo(t,r="path"){return $f("/copy",{id:t,what:r})}function X0(t,r="default"){return $f("/open",{id:t,with:r})}const J0={};function C2(t){let r=J0[t];if(r)return r;r=J0[t]=[];for(let o=0;o<128;o++){const l=String.fromCharCode(o);r.push(l)}for(let o=0;o<t.length;o++){const l=t.charCodeAt(o);r[l]="%"+("0"+l.toString(16).toUpperCase()).slice(-2)}return r}function hn(t,r){typeof r!="string"&&(r=hn.defaultChars);const o=C2(r);return t.replace(/(%[a-f0-9]{2})+/gi,function(l){let s="";for(let a=0,d=l.length;a<d;a+=3){const h=parseInt(l.slice(a+1,a+3),16);if(h<128){s+=o[h];continue}if((h&224)===192&&a+3<d){const p=parseInt(l.slice(a+4,a+6),16);if((p&192)===128){const g=h<<6&1984|p&63;g<128?s+="��":s+=String.fromCharCode(g),a+=3;continue}}if((h&240)===224&&a+6<d){const p=parseInt(l.slice(a+4,a+6),16),g=parseInt(l.slice(a+7,a+9),16);if((p&192)===128&&(g&192)===128){const x=h<<12&61440|p<<6&4032|g&63;x<2048||x>=55296&&x<=57343?s+="���":s+=String.fromCharCode(x),a+=6;continue}}if((h&248)===240&&a+9<d){const p=parseInt(l.slice(a+4,a+6),16),g=parseInt(l.slice(a+7,a+9),16),x=parseInt(l.slice(a+10,a+12),16);if((p&192)===128&&(g&192)===128&&(x&192)===128){let b=h<<18&1835008|p<<12&258048|g<<6&4032|x&63;b<65536||b>1114111?s+="����":(b-=65536,s+=String.fromCharCode(55296+(b>>10),56320+(b&1023))),a+=9;continue}}s+="�"}return s})}hn.defaultChars=";/?:@&=+$,#";hn.componentChars="";const ef={};function w2(t){let r=ef[t];if(r)return r;r=ef[t]=[];for(let o=0;o<128;o++){const l=String.fromCharCode(o);/^[0-9a-z]$/i.test(l)?r.push(l):r.push("%"+("0"+o.toString(16).toUpperCase()).slice(-2))}for(let o=0;o<t.length;o++)r[t.charCodeAt(o)]=t[o];return r}function hr(t,r,o){typeof r!="string"&&(o=r,r=hr.defaultChars),typeof o>"u"&&(o=!0);const l=w2(r);let s="";for(let a=0,d=t.length;a<d;a++){const h=t.charCodeAt(a);if(o&&h===37&&a+2<d&&/^[0-9a-f]{2}$/i.test(t.slice(a+1,a+3))){s+=t.slice(a,a+3),a+=2;continue}if(h<128){s+=l[h];continue}if(h>=55296&&h<=57343){if(h>=55296&&h<=56319&&a+1<d){const p=t.charCodeAt(a+1);if(p>=56320&&p<=57343){s+=encodeURIComponent(t[a]+t[a+1]),a++;continue}}s+="%EF%BF%BD";continue}s+=encodeURIComponent(t[a])}return s}hr.defaultChars=";/?:@&=+$,-_.!~*'()#";hr.componentChars="-_.!~*'()";function Ss(t){let r="";return r+=t.protocol||"",r+=t.slashes?"//":"",r+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?r+="["+t.hostname+"]":r+=t.hostname||"",r+=t.port?":"+t.port:"",r+=t.pathname||"",r+=t.search||"",r+=t.hash||"",r}function Oo(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const E2=/^([a-z0-9.+-]+:)/i,S2=/:[0-9]*$/,A2=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,D2=["<",">",'"',"`"," ","\r",`
161
+ `," "],F2=["{","}","|","\\","^","`"].concat(D2),N2=["'"].concat(F2),uf=["%","/","?",";","#"].concat(N2),tf=["/","?","#"],z2=255,nf=/^[+a-z0-9A-Z_-]{0,63}$/,M2=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,rf={javascript:!0,"javascript:":!0},of={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function As(t,r){if(t&&t instanceof Oo)return t;const o=new Oo;return o.parse(t,r),o}Oo.prototype.parse=function(t,r){let o,l,s,a=t;if(a=a.trim(),!r&&t.split("#").length===1){const g=A2.exec(a);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}let d=E2.exec(a);if(d&&(d=d[0],o=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(r||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s=a.substr(0,2)==="//",s&&!(d&&rf[d])&&(a=a.substr(2),this.slashes=!0)),!rf[d]&&(s||d&&!of[d])){let g=-1;for(let _=0;_<tf.length;_++)l=a.indexOf(tf[_]),l!==-1&&(g===-1||l<g)&&(g=l);let x,b;g===-1?b=a.lastIndexOf("@"):b=a.lastIndexOf("@",g),b!==-1&&(x=a.slice(0,b),a=a.slice(b+1),this.auth=x),g=-1;for(let _=0;_<uf.length;_++)l=a.indexOf(uf[_]),l!==-1&&(g===-1||l<g)&&(g=l);g===-1&&(g=a.length),a[g-1]===":"&&g--;const C=a.slice(0,g);a=a.slice(g),this.parseHost(C),this.hostname=this.hostname||"";const y=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!y){const _=this.hostname.split(/\./);for(let z=0,F=_.length;z<F;z++){const P=_[z];if(P&&!P.match(nf)){let I="";for(let $=0,O=P.length;$<O;$++)P.charCodeAt($)>127?I+="x":I+=P[$];if(!I.match(nf)){const $=_.slice(0,z),O=_.slice(z+1),Q=P.match(M2);Q&&($.push(Q[1]),O.unshift(Q[2])),O.length&&(a=O.join(".")+a),this.hostname=$.join(".");break}}}}this.hostname.length>z2&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const h=a.indexOf("#");h!==-1&&(this.hash=a.substr(h),a=a.slice(0,h));const p=a.indexOf("?");return p!==-1&&(this.search=a.substr(p),a=a.slice(0,p)),a&&(this.pathname=a),of[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Oo.prototype.parseHost=function(t){let r=S2.exec(t);r&&(r=r[0],r!==":"&&(this.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(this.hostname=t)};const T2=Object.freeze(Object.defineProperty({__proto__:null,decode:hn,encode:hr,format:Ss,parse:As},Symbol.toStringTag,{value:"Module"})),Uf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Hf=/[\0-\x1F\x7F-\x9F]/,j2=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ds=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Vf=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,qf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,R2=Object.freeze(Object.defineProperty({__proto__:null,Any:Uf,Cc:Hf,Cf:j2,P:Ds,S:Vf,Z:qf},Symbol.toStringTag,{value:"Module"})),L2=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),I2=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Kl;const P2=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),B2=(Kl=String.fromCodePoint)!==null&&Kl!==void 0?Kl:function(t){let r="";return t>65535&&(t-=65536,r+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),r+=String.fromCharCode(t),r};function O2(t){var r;return t>=55296&&t<=57343||t>1114111?65533:(r=P2.get(t))!==null&&r!==void 0?r:t}var Ve;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ve||(Ve={}));const $2=32;var yt;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(yt||(yt={}));function ms(t){return t>=Ve.ZERO&&t<=Ve.NINE}function U2(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_F||t>=Ve.LOWER_A&&t<=Ve.LOWER_F}function H2(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_Z||t>=Ve.LOWER_A&&t<=Ve.LOWER_Z||ms(t)}function V2(t){return t===Ve.EQUALS||H2(t)}var He;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(He||(He={}));var Gu;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Gu||(Gu={}));class q2{constructor(r,o,l){this.decodeTree=r,this.emitCodePoint=o,this.errors=l,this.state=He.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Gu.Strict}startEntity(r){this.decodeMode=r,this.state=He.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(r,o){switch(this.state){case He.EntityStart:return r.charCodeAt(o)===Ve.NUM?(this.state=He.NumericStart,this.consumed+=1,this.stateNumericStart(r,o+1)):(this.state=He.NamedEntity,this.stateNamedEntity(r,o));case He.NumericStart:return this.stateNumericStart(r,o);case He.NumericDecimal:return this.stateNumericDecimal(r,o);case He.NumericHex:return this.stateNumericHex(r,o);case He.NamedEntity:return this.stateNamedEntity(r,o)}}stateNumericStart(r,o){return o>=r.length?-1:(r.charCodeAt(o)|$2)===Ve.LOWER_X?(this.state=He.NumericHex,this.consumed+=1,this.stateNumericHex(r,o+1)):(this.state=He.NumericDecimal,this.stateNumericDecimal(r,o))}addToNumericResult(r,o,l,s){if(o!==l){const a=l-o;this.result=this.result*Math.pow(s,a)+parseInt(r.substr(o,a),s),this.consumed+=a}}stateNumericHex(r,o){const l=o;for(;o<r.length;){const s=r.charCodeAt(o);if(ms(s)||U2(s))o+=1;else return this.addToNumericResult(r,l,o,16),this.emitNumericEntity(s,3)}return this.addToNumericResult(r,l,o,16),-1}stateNumericDecimal(r,o){const l=o;for(;o<r.length;){const s=r.charCodeAt(o);if(ms(s))o+=1;else return this.addToNumericResult(r,l,o,10),this.emitNumericEntity(s,2)}return this.addToNumericResult(r,l,o,10),-1}emitNumericEntity(r,o){var l;if(this.consumed<=o)return(l=this.errors)===null||l===void 0||l.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(r===Ve.SEMI)this.consumed+=1;else if(this.decodeMode===Gu.Strict)return 0;return this.emitCodePoint(O2(this.result),this.consumed),this.errors&&(r!==Ve.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(r,o){const{decodeTree:l}=this;let s=l[this.treeIndex],a=(s&yt.VALUE_LENGTH)>>14;for(;o<r.length;o++,this.excess++){const d=r.charCodeAt(o);if(this.treeIndex=W2(l,s,this.treeIndex+Math.max(1,a),d),this.treeIndex<0)return this.result===0||this.decodeMode===Gu.Attribute&&(a===0||V2(d))?0:this.emitNotTerminatedNamedEntity();if(s=l[this.treeIndex],a=(s&yt.VALUE_LENGTH)>>14,a!==0){if(d===Ve.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Gu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var r;const{result:o,decodeTree:l}=this,s=(l[o]&yt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(o,s,this.consumed),(r=this.errors)===null||r===void 0||r.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(r,o,l){const{decodeTree:s}=this;return this.emitCodePoint(o===1?s[r]&~yt.VALUE_LENGTH:s[r+1],l),o===3&&this.emitCodePoint(s[r+2],l),l}end(){var r;switch(this.state){case He.NamedEntity:return this.result!==0&&(this.decodeMode!==Gu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case He.NumericDecimal:return this.emitNumericEntity(0,2);case He.NumericHex:return this.emitNumericEntity(0,3);case He.NumericStart:return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case He.EntityStart:return 0}}}function Wf(t){let r="";const o=new q2(t,l=>r+=B2(l));return function(s,a){let d=0,h=0;for(;(h=s.indexOf("&",h))>=0;){r+=s.slice(d,h),o.startEntity(a);const g=o.write(s,h+1);if(g<0){d=h+o.end();break}d=h+g,h=g===0?d+1:d}const p=r+s.slice(d);return r="",p}}function W2(t,r,o,l){const s=(r&yt.BRANCH_LENGTH)>>7,a=r&yt.JUMP_TABLE;if(s===0)return a!==0&&l===a?o:-1;if(a){const p=l-a;return p<0||p>=s?-1:t[o+p]-1}let d=o,h=d+s-1;for(;d<=h;){const p=d+h>>>1,g=t[p];if(g<l)d=p+1;else if(g>l)h=p-1;else return t[p+s]}return-1}const Qf=Wf(L2);Wf(I2);function Q2(t,r=Gu.Legacy){return Qf(t,r)}function G2(t){return Qf(t,Gu.Strict)}function Z2(t){return Object.prototype.toString.call(t)}function Fs(t){return Z2(t)==="[object String]"}const K2=Object.prototype.hasOwnProperty;function Y2(t,r){return K2.call(t,r)}function qo(t){return Array.prototype.slice.call(arguments,1).forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(l){t[l]=o[l]})}}),t}function Gf(t,r,o){return[].concat(t.slice(0,r),o,t.slice(r+1))}function Ns(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function sr(t){if(t>65535){t-=65536;const r=55296+(t>>10),o=56320+(t&1023);return String.fromCharCode(r,o)}return String.fromCharCode(t)}const Zf=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,X2=/&([a-z#][a-z0-9]{1,31});/gi,J2=new RegExp(Zf.source+"|"+X2.source,"gi"),em=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function um(t,r){if(r.charCodeAt(0)===35&&em.test(r)){const l=r[1].toLowerCase()==="x"?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return Ns(l)?sr(l):t}const o=Q2(t);return o!==t?o:t}function tm(t){return t.indexOf("\\")<0?t:t.replace(Zf,"$1")}function pn(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(J2,function(r,o,l){return o||um(r,l)})}const nm=/[&<>"]/,rm=/[&<>"]/g,om={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function im(t){return om[t]}function bt(t){return nm.test(t)?t.replace(rm,im):t}const lm=/[.?*+^$[\]\\(){}|-]/g;function sm(t){return t.replace(lm,"\\$&")}function Ce(t){switch(t){case 9:case 32:return!0}return!1}function cr(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Kf(t){return Ds.test(t)||Vf.test(t)}function ar(t){return Kf(sr(t))}function fr(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Wo(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}function lf(t){return t===32||t===9||t===10||t===13}function Qo(t){let r=0;for(;r<t.length&&lf(t.charCodeAt(r));r++);let o=t.length-1;for(;o>=r&&lf(t.charCodeAt(o));o--);return t.slice(r,o+1)}const cm={mdurl:T2,ucmicro:R2},am=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Gf,asciiTrim:Qo,assign:qo,escapeHtml:bt,escapeRE:sm,fromCodePoint:sr,has:Y2,isMdAsciiPunct:fr,isPunctChar:Kf,isPunctCharCode:ar,isSpace:Ce,isString:Fs,isValidEntityCode:Ns,isWhiteSpace:cr,lib:cm,normalizeReference:Wo,unescapeAll:pn,unescapeMd:tm},Symbol.toStringTag,{value:"Module"}));function fm(t,r,o){let l,s,a,d;const h=t.posMax,p=t.pos;for(t.pos=r+1,l=1;t.pos<h;){if(a=t.src.charCodeAt(t.pos),a===93&&(l--,l===0)){s=!0;break}if(d=t.pos,t.md.inline.skipToken(t),a===91){if(d===t.pos-1)l++;else if(o)return t.pos=p,-1}}let g=-1;return s&&(g=t.pos),t.pos=p,g}function dm(t,r,o){let l,s=r;const a={ok:!1,pos:0,str:""};if(t.charCodeAt(s)===60){for(s++;s<o;){if(l=t.charCodeAt(s),l===10||l===60)return a;if(l===62)return a.pos=s+1,a.str=pn(t.slice(r+1,s)),a.ok=!0,a;if(l===92&&s+1<o){s+=2;continue}s++}return a}let d=0;for(;s<o&&(l=t.charCodeAt(s),!(l===32||l<32||l===127));){if(l===92&&s+1<o){if(t.charCodeAt(s+1)===32)break;s+=2;continue}if(l===40&&(d++,d>32))return a;if(l===41){if(d===0)break;d--}s++}return r===s||d!==0||(a.str=pn(t.slice(r,s)),a.pos=s,a.ok=!0),a}function hm(t,r,o,l){let s,a=r;const d={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(l)d.str=l.str,d.marker=l.marker;else{if(a>=o)return d;let h=t.charCodeAt(a);if(h!==34&&h!==39&&h!==40)return d;r++,a++,h===40&&(h=41),d.marker=h}for(;a<o;){if(s=t.charCodeAt(a),s===d.marker)return d.pos=a+1,d.str+=pn(t.slice(r,a)),d.ok=!0,d;if(s===40&&d.marker===41)return d;s===92&&a+1<o&&a++,a++}return d.can_continue=!0,d.str+=pn(t.slice(r,a)),d}const pm=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:dm,parseLinkLabel:fm,parseLinkTitle:hm},Symbol.toStringTag,{value:"Module"})),Iu={};Iu.code_inline=function(t,r,o,l,s){const a=t[r];return"<code"+s.renderAttrs(a)+">"+bt(a.content)+"</code>"};Iu.code_block=function(t,r,o,l,s){const a=t[r];return"<pre"+s.renderAttrs(a)+"><code>"+bt(t[r].content)+`</code></pre>
162
+ `};Iu.fence=function(t,r,o,l,s){const a=t[r],d=a.info?pn(a.info).trim():"";let h="",p="";if(d){const x=d.split(/(\s+)/g);h=x[0],p=x.slice(2).join("")}let g;if(o.highlight?g=o.highlight(a.content,h,p)||bt(a.content):g=bt(a.content),g.indexOf("<pre")===0)return g+`
163
+ `;if(d){const x=a.attrIndex("class"),b=a.attrs?a.attrs.slice():[];x<0?b.push(["class",o.langPrefix+h]):(b[x]=b[x].slice(),b[x][1]+=" "+o.langPrefix+h);const C={attrs:b};return`<pre><code${s.renderAttrs(C)}>${g}</code></pre>
164
+ `}return`<pre><code${s.renderAttrs(a)}>${g}</code></pre>
165
+ `};Iu.image=function(t,r,o,l,s){const a=t[r];return a.attrs[a.attrIndex("alt")][1]=s.renderInlineAsText(a.children,o,l),s.renderToken(t,r,o)};Iu.hardbreak=function(t,r,o){return o.xhtmlOut?`<br />
166
+ `:`<br>
167
+ `};Iu.softbreak=function(t,r,o){return o.breaks?o.xhtmlOut?`<br />
168
+ `:`<br>
169
+ `:`
170
+ `};Iu.text=function(t,r){return bt(t[r].content)};Iu.html_block=function(t,r){return t[r].content};Iu.html_inline=function(t,r){return t[r].content};function gn(){this.rules=qo({},Iu)}gn.prototype.renderAttrs=function(r){let o,l,s;if(!r.attrs)return"";for(s="",o=0,l=r.attrs.length;o<l;o++)s+=" "+bt(r.attrs[o][0])+'="'+bt(r.attrs[o][1])+'"';return s};gn.prototype.renderToken=function(r,o,l){const s=r[o];let a="";if(s.hidden)return"";s.block&&s.nesting!==-1&&o&&r[o-1].hidden&&(a+=`
171
+ `),a+=(s.nesting===-1?"</":"<")+s.tag,a+=this.renderAttrs(s),s.nesting===0&&l.xhtmlOut&&(a+=" /");let d=!1;if(s.block&&(d=!0,s.nesting===1&&o+1<r.length)){const h=r[o+1];(h.type==="inline"||h.hidden||h.nesting===-1&&h.tag===s.tag)&&(d=!1)}return a+=d?`>
172
+ `:">",a};gn.prototype.renderInline=function(t,r,o){let l="";const s=this.rules;for(let a=0,d=t.length;a<d;a++){const h=t[a].type;typeof s[h]<"u"?l+=s[h](t,a,r,o,this):l+=this.renderToken(t,a,r)}return l};gn.prototype.renderInlineAsText=function(t,r,o){let l="";for(let s=0,a=t.length;s<a;s++)switch(t[s].type){case"text":l+=t[s].content;break;case"image":l+=this.renderInlineAsText(t[s].children,r,o);break;case"html_inline":case"html_block":l+=t[s].content;break;case"softbreak":case"hardbreak":l+=`
173
+ `;break}return l};gn.prototype.render=function(t,r,o){let l="";const s=this.rules;for(let a=0,d=t.length;a<d;a++){const h=t[a].type;h==="inline"?l+=this.renderInline(t[a].children,r,o):typeof s[h]<"u"?l+=s[h](t,a,r,o,this):l+=this.renderToken(t,a,r,o)}return l};function lu(){this.__rules__=[],this.__cache__=null}lu.prototype.__find__=function(t){for(let r=0;r<this.__rules__.length;r++)if(this.__rules__[r].name===t)return r;return-1};lu.prototype.__compile__=function(){const t=this,r=[""];t.__rules__.forEach(function(o){o.enabled&&o.alt.forEach(function(l){r.indexOf(l)<0&&r.push(l)})}),t.__cache__={},r.forEach(function(o){t.__cache__[o]=[],t.__rules__.forEach(function(l){l.enabled&&(o&&l.alt.indexOf(o)<0||t.__cache__[o].push(l.fn))})})};lu.prototype.at=function(t,r,o){const l=this.__find__(t),s=o||{};if(l===-1)throw new Error("Parser rule not found: "+t);this.__rules__[l].fn=r,this.__rules__[l].alt=s.alt||[],this.__cache__=null};lu.prototype.before=function(t,r,o,l){const s=this.__find__(t),a=l||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:r,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null};lu.prototype.after=function(t,r,o,l){const s=this.__find__(t),a=l||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:r,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null};lu.prototype.push=function(t,r,o){const l=o||{};this.__rules__.push({name:t,enabled:!0,fn:r,alt:l.alt||[]}),this.__cache__=null};lu.prototype.enable=function(t,r){Array.isArray(t)||(t=[t]);const o=[];return t.forEach(function(l){const s=this.__find__(l);if(s<0){if(r)return;throw new Error("Rules manager: invalid rule name "+l)}this.__rules__[s].enabled=!0,o.push(l)},this),this.__cache__=null,o};lu.prototype.enableOnly=function(t,r){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(o){o.enabled=!1}),this.enable(t,r)};lu.prototype.disable=function(t,r){Array.isArray(t)||(t=[t]);const o=[];return t.forEach(function(l){const s=this.__find__(l);if(s<0){if(r)return;throw new Error("Rules manager: invalid rule name "+l)}this.__rules__[s].enabled=!1,o.push(l)},this),this.__cache__=null,o};lu.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};function Fu(t,r,o){this.type=t,this.tag=r,this.attrs=null,this.map=null,this.nesting=o,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Fu.prototype.attrIndex=function(r){if(!this.attrs)return-1;const o=this.attrs;for(let l=0,s=o.length;l<s;l++)if(o[l][0]===r)return l;return-1};Fu.prototype.attrPush=function(r){this.attrs?this.attrs.push(r):this.attrs=[r]};Fu.prototype.attrSet=function(r,o){const l=this.attrIndex(r),s=[r,o];l<0?this.attrPush(s):this.attrs[l]=s};Fu.prototype.attrGet=function(r){const o=this.attrIndex(r);let l=null;return o>=0&&(l=this.attrs[o][1]),l};Fu.prototype.attrJoin=function(r,o){const l=this.attrIndex(r);l<0?this.attrPush([r,o]):this.attrs[l][1]=this.attrs[l][1]+" "+o};function Yf(t,r,o){this.src=t,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=r}Yf.prototype.Token=Fu;const mm=/\r\n?|\n/g,gm=/\0/g;function xm(t){let r;r=t.src.replace(mm,`
174
+ `),r=r.replace(gm,"�"),t.src=r}function ym(t){let r;t.inlineMode?(r=new t.Token("inline","",0),r.content=t.src,r.map=[0,1],r.children=[],t.tokens.push(r)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function bm(t){const r=t.tokens;for(let o=0,l=r.length;o<l;o++){const s=r[o];s.type==="inline"&&t.md.inline.parse(s.content,t.md,t.env,s.children)}}function vm(t){return/^<a[>\s]/i.test(t)}function km(t){return/^<\/a\s*>/i.test(t)}function _m(t){const r=t.tokens;if(t.md.options.linkify)for(let o=0,l=r.length;o<l;o++){if(r[o].type!=="inline"||!t.md.linkify.pretest(r[o].content))continue;let s=r[o].children,a=0;for(let d=s.length-1;d>=0;d--){const h=s[d];if(h.type==="link_close"){for(d--;s[d].level!==h.level&&s[d].type!=="link_open";)d--;continue}if(h.type==="html_inline"&&(vm(h.content)&&a>0&&a--,km(h.content)&&a++),!(a>0)&&h.type==="text"&&t.md.linkify.test(h.content)){const p=h.content;let g=t.md.linkify.match(p);const x=[];let b=h.level,C=0;g.length>0&&g[0].index===0&&d>0&&s[d-1].type==="text_special"&&(g=g.slice(1));for(let y=0;y<g.length;y++){const _=g[y].url,z=t.md.normalizeLink(_);if(!t.md.validateLink(z))continue;let F=g[y].text;g[y].schema?g[y].schema==="mailto:"&&!/^mailto:/i.test(F)?F=t.md.normalizeLinkText("mailto:"+F).replace(/^mailto:/,""):F=t.md.normalizeLinkText(F):F=t.md.normalizeLinkText("http://"+F).replace(/^http:\/\//,"");const P=g[y].index;if(P>C){const Q=new t.Token("text","",0);Q.content=p.slice(C,P),Q.level=b,x.push(Q)}const I=new t.Token("link_open","a",1);I.attrs=[["href",z]],I.level=b++,I.markup="linkify",I.info="auto",x.push(I);const $=new t.Token("text","",0);$.content=F,$.level=b,x.push($);const O=new t.Token("link_close","a",-1);O.level=--b,O.markup="linkify",O.info="auto",x.push(O),C=g[y].lastIndex}if(C<p.length){const y=new t.Token("text","",0);y.content=p.slice(C),y.level=b,x.push(y)}r[o].children=s=Gf(s,d,x)}}}}const Xf=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Cm=/\((c|tm|r)\)/i,wm=/\((c|tm|r)\)/ig,Em={c:"©",r:"®",tm:"™"};function Sm(t,r){return Em[r.toLowerCase()]}function Am(t){let r=0;for(let o=t.length-1;o>=0;o--){const l=t[o];l.type==="text"&&!r&&(l.content=l.content.replace(wm,Sm)),l.type==="link_open"&&l.info==="auto"&&r--,l.type==="link_close"&&l.info==="auto"&&r++}}function Dm(t){let r=0;for(let o=t.length-1;o>=0;o--){const l=t[o];l.type==="text"&&!r&&Xf.test(l.content)&&(l.content=l.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),l.type==="link_open"&&l.info==="auto"&&r--,l.type==="link_close"&&l.info==="auto"&&r++}}function Fm(t){let r;if(t.md.options.typographer)for(r=t.tokens.length-1;r>=0;r--)t.tokens[r].type==="inline"&&(Cm.test(t.tokens[r].content)&&Am(t.tokens[r].children),Xf.test(t.tokens[r].content)&&Dm(t.tokens[r].children))}const Nm=/['"]/,sf=/['"]/g,cf="’";function No(t,r,o,l){t[r]||(t[r]=[]),t[r].push({pos:o,ch:l})}function zm(t,r){let o="",l=0;r.sort((s,a)=>s.pos-a.pos);for(let s=0;s<r.length;s++){const a=r[s];o+=t.slice(l,a.pos)+a.ch,l=a.pos+1}return o+t.slice(l)}function Mm(t,r){let o;const l=[],s={};for(let a=0;a<t.length;a++){const d=t[a],h=t[a].level;for(o=l.length-1;o>=0&&!(l[o].level<=h);o--);if(l.length=o+1,d.type!=="text")continue;const p=d.content;let g=0;const x=p.length;e:for(;g<x;){sf.lastIndex=g;const b=sf.exec(p);if(!b)break;let C=!0,y=!0;g=b.index+1;const _=b[0]==="'";let z=32;if(b.index-1>=0)z=p.charCodeAt(b.index-1);else for(o=a-1;o>=0&&!(t[o].type==="softbreak"||t[o].type==="hardbreak");o--)if(t[o].content){z=t[o].content.charCodeAt(t[o].content.length-1);break}let F=32;if(g<x)F=p.charCodeAt(g);else for(o=a+1;o<t.length&&!(t[o].type==="softbreak"||t[o].type==="hardbreak");o++)if(t[o].content){F=t[o].content.charCodeAt(0);break}const P=fr(z)||ar(z),I=fr(F)||ar(F),$=cr(z),O=cr(F);if(O?C=!1:I&&($||P||(C=!1)),$?y=!1:P&&(O||I||(y=!1)),F===34&&b[0]==='"'&&z>=48&&z<=57&&(y=C=!1),C&&y&&(C=P,y=I),!C&&!y){_&&No(s,a,b.index,cf);continue}if(y)for(o=l.length-1;o>=0;o--){let Q=l[o];if(l[o].level<h)break;if(Q.single===_&&l[o].level===h){Q=l[o];let Z,ne;_?(Z=r.md.options.quotes[2],ne=r.md.options.quotes[3]):(Z=r.md.options.quotes[0],ne=r.md.options.quotes[1]),No(s,a,b.index,ne),No(s,Q.token,Q.pos,Z),l.length=o;continue e}}C?l.push({token:a,pos:b.index,single:_,level:h}):y&&_&&No(s,a,b.index,cf)}}Object.keys(s).forEach(function(a){t[a].content=zm(t[a].content,s[a])})}function Tm(t){if(t.md.options.typographer)for(let r=t.tokens.length-1;r>=0;r--)t.tokens[r].type!=="inline"||!Nm.test(t.tokens[r].content)||Mm(t.tokens[r].children,t)}function jm(t){let r,o;const l=t.tokens,s=l.length;for(let a=0;a<s;a++){if(l[a].type!=="inline")continue;const d=l[a].children,h=d.length;for(r=0;r<h;r++)d[r].type==="text_special"&&(d[r].type="text");for(r=o=0;r<h;r++)d[r].type==="text"&&r+1<h&&d[r+1].type==="text"?d[r+1].content=d[r].content+d[r+1].content:(r!==o&&(d[o]=d[r]),o++);r!==o&&(d.length=o)}}const Yl=[["normalize",xm],["block",ym],["inline",bm],["linkify",_m],["replacements",Fm],["smartquotes",Tm],["text_join",jm]];function zs(){this.ruler=new lu;for(let t=0;t<Yl.length;t++)this.ruler.push(Yl[t][0],Yl[t][1])}zs.prototype.process=function(t){const r=this.ruler.getRules("");for(let o=0,l=r.length;o<l;o++)r[o](t)};zs.prototype.State=Yf;function Pu(t,r,o,l){this.src=t,this.md=r,this.env=o,this.tokens=l,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const s=this.src;for(let a=0,d=0,h=0,p=0,g=s.length,x=!1;d<g;d++){const b=s.charCodeAt(d);if(!x)if(Ce(b)){h++,b===9?p+=4-p%4:p++;continue}else x=!0;(b===10||d===g-1)&&(b!==10&&d++,this.bMarks.push(a),this.eMarks.push(d),this.tShift.push(h),this.sCount.push(p),this.bsCount.push(0),x=!1,h=0,p=0,a=d+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Pu.prototype.push=function(t,r,o){const l=new Fu(t,r,o);return l.block=!0,o<0&&this.level--,l.level=this.level,o>0&&this.level++,this.tokens.push(l),l};Pu.prototype.isEmpty=function(r){return this.bMarks[r]+this.tShift[r]>=this.eMarks[r]};Pu.prototype.skipEmptyLines=function(r){for(let o=this.lineMax;r<o&&!(this.bMarks[r]+this.tShift[r]<this.eMarks[r]);r++);return r};Pu.prototype.skipSpaces=function(r){for(let o=this.src.length;r<o;r++){const l=this.src.charCodeAt(r);if(!Ce(l))break}return r};Pu.prototype.skipSpacesBack=function(r,o){if(r<=o)return r;for(;r>o;)if(!Ce(this.src.charCodeAt(--r)))return r+1;return r};Pu.prototype.skipChars=function(r,o){for(let l=this.src.length;r<l&&this.src.charCodeAt(r)===o;r++);return r};Pu.prototype.skipCharsBack=function(r,o,l){if(r<=l)return r;for(;r>l;)if(o!==this.src.charCodeAt(--r))return r+1;return r};Pu.prototype.getLines=function(r,o,l,s){if(r>=o)return"";const a=new Array(o-r);for(let d=0,h=r;h<o;h++,d++){let p=0;const g=this.bMarks[h];let x=g,b;for(h+1<o||s?b=this.eMarks[h]+1:b=this.eMarks[h];x<b&&p<l;){const C=this.src.charCodeAt(x);if(Ce(C))C===9?p+=4-(p+this.bsCount[h])%4:p++;else if(x-g<this.tShift[h])p++;else break;x++}p>l?a[d]=new Array(p-l+1).join(" ")+this.src.slice(x,b):a[d]=this.src.slice(x,b)}return a.join("")};Pu.prototype.Token=Fu;const Rm=65536;function Xl(t,r){const o=t.bMarks[r]+t.tShift[r],l=t.eMarks[r];return t.src.slice(o,l)}function af(t){const r=[],o=t.length;let l=0,s=t.charCodeAt(l),a=!1,d=0,h="";for(;l<o;)s===124&&(a?(h+=t.substring(d,l-1),d=l):(r.push(h+t.substring(d,l)),h="",d=l+1)),a=s===92,l++,s=t.charCodeAt(l);return r.push(h+t.substring(d)),r}function Lm(t,r,o,l){if(r+2>o)return!1;let s=r+1;if(t.sCount[s]<t.blkIndent||t.sCount[s]-t.blkIndent>=4)return!1;let a=t.bMarks[s]+t.tShift[s];if(a>=t.eMarks[s])return!1;const d=t.src.charCodeAt(a++);if(d!==124&&d!==45&&d!==58||a>=t.eMarks[s])return!1;const h=t.src.charCodeAt(a++);if(h!==124&&h!==45&&h!==58&&!Ce(h)||d===45&&Ce(h))return!1;for(;a<t.eMarks[s];){const O=t.src.charCodeAt(a);if(O!==124&&O!==45&&O!==58&&!Ce(O))return!1;a++}let p=Xl(t,r+1),g=p.split("|");const x=[];for(let O=0;O<g.length;O++){const Q=g[O].trim();if(!Q){if(O===0||O===g.length-1)continue;return!1}if(!/^:?-+:?$/.test(Q))return!1;Q.charCodeAt(Q.length-1)===58?x.push(Q.charCodeAt(0)===58?"center":"right"):Q.charCodeAt(0)===58?x.push("left"):x.push("")}if(p=Xl(t,r).trim(),p.indexOf("|")===-1||t.sCount[r]-t.blkIndent>=4)return!1;g=af(p),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop();const b=g.length;if(b===0||b!==x.length)return!1;if(l)return!0;const C=t.parentType;t.parentType="table";const y=t.md.block.ruler.getRules("blockquote"),_=t.push("table_open","table",1),z=[r,0];_.map=z;const F=t.push("thead_open","thead",1);F.map=[r,r+1];const P=t.push("tr_open","tr",1);P.map=[r,r+1];for(let O=0;O<g.length;O++){const Q=t.push("th_open","th",1);x[O]&&(Q.attrs=[["style","text-align:"+x[O]]]);const Z=t.push("inline","",0);Z.content=g[O].trim(),Z.children=[],t.push("th_close","th",-1)}t.push("tr_close","tr",-1),t.push("thead_close","thead",-1);let I,$=0;for(s=r+2;s<o&&!(t.sCount[s]<t.blkIndent);s++){let O=!1;for(let Z=0,ne=y.length;Z<ne;Z++)if(y[Z](t,s,o,!0)){O=!0;break}if(O||(p=Xl(t,s).trim(),!p)||t.sCount[s]-t.blkIndent>=4||(g=af(p),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop(),$+=b-g.length,$>Rm))break;if(s===r+2){const Z=t.push("tbody_open","tbody",1);Z.map=I=[r+2,0]}const Q=t.push("tr_open","tr",1);Q.map=[s,s+1];for(let Z=0;Z<b;Z++){const ne=t.push("td_open","td",1);x[Z]&&(ne.attrs=[["style","text-align:"+x[Z]]]);const pe=t.push("inline","",0);pe.content=g[Z]?g[Z].trim():"",pe.children=[],t.push("td_close","td",-1)}t.push("tr_close","tr",-1)}return I&&(t.push("tbody_close","tbody",-1),I[1]=s),t.push("table_close","table",-1),z[1]=s,t.parentType=C,t.line=s,!0}function Im(t,r,o){if(t.sCount[r]-t.blkIndent<4)return!1;let l=r+1,s=l;for(;l<o;){if(t.isEmpty(l)){l++;continue}if(t.sCount[l]-t.blkIndent>=4){l++,s=l;continue}break}t.line=s;const a=t.push("code_block","code",0);return a.content=t.getLines(r,s,4+t.blkIndent,!1)+`
175
+ `,a.map=[r,t.line],!0}function Pm(t,r,o,l){let s=t.bMarks[r]+t.tShift[r],a=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4||s+3>a)return!1;const d=t.src.charCodeAt(s);if(d!==126&&d!==96)return!1;let h=s;s=t.skipChars(s,d);let p=s-h;if(p<3)return!1;const g=t.src.slice(h,s),x=t.src.slice(s,a);if(d===96&&x.indexOf(String.fromCharCode(d))>=0)return!1;if(l)return!0;let b=r,C=!1;for(;b++,!(b>=o||(s=h=t.bMarks[b]+t.tShift[b],a=t.eMarks[b],s<a&&t.sCount[b]<t.blkIndent));)if(t.src.charCodeAt(s)===d&&!(t.sCount[b]-t.blkIndent>=4)&&(s=t.skipChars(s,d),!(s-h<p)&&(s=t.skipSpaces(s),!(s<a)))){C=!0;break}p=t.sCount[r],t.line=b+(C?1:0);const y=t.push("fence","code",0);return y.info=x,y.content=t.getLines(r+1,b,p,!0),y.markup=g,y.map=[r,t.line],!0}function Bm(t,r,o,l){let s=t.bMarks[r]+t.tShift[r],a=t.eMarks[r];const d=t.lineMax;if(t.sCount[r]-t.blkIndent>=4||t.src.charCodeAt(s)!==62)return!1;if(l)return!0;const h=[],p=[],g=[],x=[],b=t.md.block.ruler.getRules("blockquote"),C=t.parentType;t.parentType="blockquote";let y=!1,_;for(_=r;_<o;_++){const $=t.sCount[_]<t.blkIndent;if(s=t.bMarks[_]+t.tShift[_],a=t.eMarks[_],s>=a)break;if(t.src.charCodeAt(s++)===62&&!$){let Q=t.sCount[_]+1,Z,ne;t.src.charCodeAt(s)===32?(s++,Q++,ne=!1,Z=!0):t.src.charCodeAt(s)===9?(Z=!0,(t.bsCount[_]+Q)%4===3?(s++,Q++,ne=!1):ne=!0):Z=!1;let pe=Q;for(h.push(t.bMarks[_]),t.bMarks[_]=s;s<a;){const oe=t.src.charCodeAt(s);if(Ce(oe))oe===9?pe+=4-(pe+t.bsCount[_]+(ne?1:0))%4:pe++;else break;s++}y=s>=a,p.push(t.bsCount[_]),t.bsCount[_]=t.sCount[_]+1+(Z?1:0),g.push(t.sCount[_]),t.sCount[_]=pe-Q,x.push(t.tShift[_]),t.tShift[_]=s-t.bMarks[_];continue}if(y)break;let O=!1;for(let Q=0,Z=b.length;Q<Z;Q++)if(b[Q](t,_,o,!0)){O=!0;break}if(O){t.lineMax=_,t.blkIndent!==0&&(h.push(t.bMarks[_]),p.push(t.bsCount[_]),x.push(t.tShift[_]),g.push(t.sCount[_]),t.sCount[_]-=t.blkIndent);break}h.push(t.bMarks[_]),p.push(t.bsCount[_]),x.push(t.tShift[_]),g.push(t.sCount[_]),t.sCount[_]=-1}const z=t.blkIndent;t.blkIndent=0;const F=t.push("blockquote_open","blockquote",1);F.markup=">";const P=[r,0];F.map=P,t.md.block.tokenize(t,r,_);const I=t.push("blockquote_close","blockquote",-1);I.markup=">",t.lineMax=d,t.parentType=C,P[1]=t.line;for(let $=0;$<x.length;$++)t.bMarks[$+r]=h[$],t.tShift[$+r]=x[$],t.sCount[$+r]=g[$],t.bsCount[$+r]=p[$];return t.blkIndent=z,!0}function Om(t,r,o,l){const s=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return!1;let a=t.bMarks[r]+t.tShift[r];const d=t.src.charCodeAt(a++);if(d!==42&&d!==45&&d!==95)return!1;let h=1;for(;a<s;){const g=t.src.charCodeAt(a++);if(g!==d&&!Ce(g))return!1;g===d&&h++}if(h<3)return!1;if(l)return!0;t.line=r+1;const p=t.push("hr","hr",0);return p.map=[r,t.line],p.markup=Array(h+1).join(String.fromCharCode(d)),!0}function ff(t,r){const o=t.eMarks[r];let l=t.bMarks[r]+t.tShift[r];const s=t.src.charCodeAt(l++);if(s!==42&&s!==45&&s!==43)return-1;if(l<o){const a=t.src.charCodeAt(l);if(!Ce(a))return-1}return l}function df(t,r){const o=t.bMarks[r]+t.tShift[r],l=t.eMarks[r];let s=o;if(s+1>=l)return-1;let a=t.src.charCodeAt(s++);if(a<48||a>57)return-1;for(;;){if(s>=l)return-1;if(a=t.src.charCodeAt(s++),a>=48&&a<=57){if(s-o>=10)return-1;continue}if(a===41||a===46)break;return-1}return s<l&&(a=t.src.charCodeAt(s),!Ce(a))?-1:s}function $m(t,r){const o=t.level+2;for(let l=r+2,s=t.tokens.length-2;l<s;l++)t.tokens[l].level===o&&t.tokens[l].type==="paragraph_open"&&(t.tokens[l+2].hidden=!0,t.tokens[l].hidden=!0,l+=2)}function Um(t,r,o,l){let s,a,d,h,p=r,g=!0;if(t.sCount[p]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[p]-t.listIndent>=4&&t.sCount[p]<t.blkIndent)return!1;let x=!1;l&&t.parentType==="paragraph"&&t.sCount[p]>=t.blkIndent&&(x=!0);let b,C,y;if((y=df(t,p))>=0){if(b=!0,d=t.bMarks[p]+t.tShift[p],C=Number(t.src.slice(d,y-1)),x&&C!==1)return!1}else if((y=ff(t,p))>=0)b=!1;else return!1;if(x&&t.skipSpaces(y)>=t.eMarks[p])return!1;if(l)return!0;const _=t.src.charCodeAt(y-1),z=t.tokens.length;b?(h=t.push("ordered_list_open","ol",1),C!==1&&(h.attrs=[["start",C]])):h=t.push("bullet_list_open","ul",1);const F=[p,0];h.map=F,h.markup=String.fromCharCode(_);let P=!1;const I=t.md.block.ruler.getRules("list"),$=t.parentType;for(t.parentType="list";p<o;){a=y,s=t.eMarks[p];const O=t.sCount[p]+y-(t.bMarks[p]+t.tShift[p]);let Q=O;for(;a<s;){const me=t.src.charCodeAt(a);if(me===9)Q+=4-(Q+t.bsCount[p])%4;else if(me===32)Q++;else break;a++}const Z=a;let ne;Z>=s?ne=1:ne=Q-O,ne>4&&(ne=1);const pe=O+ne;h=t.push("list_item_open","li",1),h.markup=String.fromCharCode(_);const oe=[p,0];h.map=oe,b&&(h.info=t.src.slice(d,y-1));const ce=t.tight,ye=t.tShift[p],ue=t.sCount[p],Me=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=pe,t.tight=!0,t.tShift[p]=Z-t.bMarks[p],t.sCount[p]=Q,Z>=s&&t.isEmpty(p+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,p,o,!0),(!t.tight||P)&&(g=!1),P=t.line-p>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=Me,t.tShift[p]=ye,t.sCount[p]=ue,t.tight=ce,h=t.push("list_item_close","li",-1),h.markup=String.fromCharCode(_),p=t.line,oe[1]=p,p>=o||t.sCount[p]<t.blkIndent||t.sCount[p]-t.blkIndent>=4)break;let ve=!1;for(let me=0,we=I.length;me<we;me++)if(I[me](t,p,o,!0)){ve=!0;break}if(ve)break;if(b){if(y=df(t,p),y<0)break;d=t.bMarks[p]+t.tShift[p]}else if(y=ff(t,p),y<0)break;if(_!==t.src.charCodeAt(y-1))break}return b?h=t.push("ordered_list_close","ol",-1):h=t.push("bullet_list_close","ul",-1),h.markup=String.fromCharCode(_),F[1]=p,t.line=p,t.parentType=$,g&&$m(t,z),!0}function Hm(t,r,o,l){let s=t.bMarks[r]+t.tShift[r],a=t.eMarks[r],d=r+1;if(t.sCount[r]-t.blkIndent>=4||t.src.charCodeAt(s)!==91)return!1;function h(I){const $=t.lineMax;if(I>=$||t.isEmpty(I))return null;let O=!1;if(t.sCount[I]-t.blkIndent>3&&(O=!0),t.sCount[I]<0&&(O=!0),!O){const ne=t.md.block.ruler.getRules("reference"),pe=t.parentType;t.parentType="reference";let oe=!1;for(let ce=0,ye=ne.length;ce<ye;ce++)if(ne[ce](t,I,$,!0)){oe=!0;break}if(t.parentType=pe,oe)return null}const Q=t.bMarks[I]+t.tShift[I],Z=t.eMarks[I];return t.src.slice(Q,Z+1)}let p=t.src.slice(s,a+1);a=p.length;let g=-1;for(s=1;s<a;s++){const I=p.charCodeAt(s);if(I===91)return!1;if(I===93){g=s;break}else if(I===10){const $=h(d);$!==null&&(p+=$,a=p.length,d++)}else if(I===92&&(s++,s<a&&p.charCodeAt(s)===10)){const $=h(d);$!==null&&(p+=$,a=p.length,d++)}}if(g<0||p.charCodeAt(g+1)!==58)return!1;for(s=g+2;s<a;s++){const I=p.charCodeAt(s);if(I===10){const $=h(d);$!==null&&(p+=$,a=p.length,d++)}else if(!Ce(I))break}const x=t.md.helpers.parseLinkDestination(p,s,a);if(!x.ok)return!1;const b=t.md.normalizeLink(x.str);if(!t.md.validateLink(b))return!1;s=x.pos;const C=s,y=d,_=s;for(;s<a;s++){const I=p.charCodeAt(s);if(I===10){const $=h(d);$!==null&&(p+=$,a=p.length,d++)}else if(!Ce(I))break}let z=t.md.helpers.parseLinkTitle(p,s,a);for(;z.can_continue;){const I=h(d);if(I===null)break;p+=I,s=a,a=p.length,d++,z=t.md.helpers.parseLinkTitle(p,s,a,z)}let F;for(s<a&&_!==s&&z.ok?(F=z.str,s=z.pos):(F="",s=C,d=y);s<a;){const I=p.charCodeAt(s);if(!Ce(I))break;s++}if(s<a&&p.charCodeAt(s)!==10&&F)for(F="",s=C,d=y;s<a;){const I=p.charCodeAt(s);if(!Ce(I))break;s++}if(s<a&&p.charCodeAt(s)!==10)return!1;const P=Wo(p.slice(1,g));return P?(l||(typeof t.env.references>"u"&&(t.env.references={}),typeof t.env.references[P]>"u"&&(t.env.references[P]={title:F,href:b}),t.line=d),!0):!1}const Vm=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qm="[a-zA-Z_:][a-zA-Z0-9:._-]*",Wm="[^\"'=<>`\\x00-\\x20]+",Qm="'[^']*'",Gm='"[^"]*"',Zm="(?:"+Wm+"|"+Qm+"|"+Gm+")",Km="(?:\\s+"+qm+"(?:\\s*=\\s*"+Zm+")?)",Jf="<[A-Za-z][A-Za-z0-9\\-]*"+Km+"*\\s*\\/?>",ed="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ym="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Xm="<[?][\\s\\S]*?[?]>",Jm="<![A-Za-z][^>]*>",e3="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",u3=new RegExp("^(?:"+Jf+"|"+ed+"|"+Ym+"|"+Xm+"|"+Jm+"|"+e3+")"),t3=new RegExp("^(?:"+Jf+"|"+ed+")"),Rt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Vm.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(t3.source+"\\s*$"),/^$/,!1]];function n3(t,r,o,l){let s=t.bMarks[r]+t.tShift[r],a=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(s)!==60)return!1;let d=t.src.slice(s,a),h=0;for(;h<Rt.length&&!Rt[h][0].test(d);h++);if(h===Rt.length)return!1;if(l)return Rt[h][2];let p=r+1;const g=Rt[h][1].test("");if(!Rt[h][1].test(d)){for(;p<o&&!(t.sCount[p]<t.blkIndent&&(g||!t.isEmpty(p)));p++)if(s=t.bMarks[p]+t.tShift[p],a=t.eMarks[p],d=t.src.slice(s,a),Rt[h][1].test(d)){d.length!==0&&p++;break}}t.line=p;const x=t.push("html_block","",0);return x.map=[r,p],x.content=t.getLines(r,p,t.blkIndent,!0),!0}function r3(t,r,o,l){let s=t.bMarks[r]+t.tShift[r],a=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return!1;let d=t.src.charCodeAt(s);if(d!==35||s>=a)return!1;let h=1;for(d=t.src.charCodeAt(++s);d===35&&s<a&&h<=6;)h++,d=t.src.charCodeAt(++s);if(h>6||s<a&&!Ce(d))return!1;if(l)return!0;a=t.skipSpacesBack(a,s);const p=t.skipCharsBack(a,35,s);p>s&&Ce(t.src.charCodeAt(p-1))&&(a=p),t.line=r+1;const g=t.push("heading_open","h"+String(h),1);g.markup="########".slice(0,h),g.map=[r,t.line];const x=t.push("inline","",0);x.content=Qo(t.src.slice(s,a)),x.map=[r,t.line],x.children=[];const b=t.push("heading_close","h"+String(h),-1);return b.markup="########".slice(0,h),!0}function o3(t,r,o){const l=t.md.block.ruler.getRules("paragraph");if(t.sCount[r]-t.blkIndent>=4)return!1;const s=t.parentType;t.parentType="paragraph";let a=0,d,h=r+1;for(;h<o&&!t.isEmpty(h);h++){if(t.sCount[h]-t.blkIndent>3)continue;if(t.sCount[h]>=t.blkIndent){let y=t.bMarks[h]+t.tShift[h];const _=t.eMarks[h];if(y<_&&(d=t.src.charCodeAt(y),(d===45||d===61)&&(y=t.skipChars(y,d),y=t.skipSpaces(y),y>=_))){a=d===61?1:2;break}}if(t.sCount[h]<0)continue;let C=!1;for(let y=0,_=l.length;y<_;y++)if(l[y](t,h,o,!0)){C=!0;break}if(C)break}if(!a)return t.parentType=s,!1;const p=Qo(t.getLines(r,h,t.blkIndent,!1));t.line=h+1;const g=t.push("heading_open","h"+String(a),1);g.markup=String.fromCharCode(d),g.map=[r,t.line];const x=t.push("inline","",0);x.content=p,x.map=[r,t.line-1],x.children=[];const b=t.push("heading_close","h"+String(a),-1);return b.markup=String.fromCharCode(d),t.parentType=s,!0}function i3(t,r,o){const l=t.md.block.ruler.getRules("paragraph"),s=t.parentType;let a=r+1;for(t.parentType="paragraph";a<o&&!t.isEmpty(a);a++){if(t.sCount[a]-t.blkIndent>3||t.sCount[a]<0)continue;let g=!1;for(let x=0,b=l.length;x<b;x++)if(l[x](t,a,o,!0)){g=!0;break}if(g)break}const d=Qo(t.getLines(r,a,t.blkIndent,!1));t.line=a;const h=t.push("paragraph_open","p",1);h.map=[r,t.line];const p=t.push("inline","",0);return p.content=d,p.map=[r,t.line],p.children=[],t.push("paragraph_close","p",-1),t.parentType=s,!0}const zo=[["table",Lm,["paragraph","reference"]],["code",Im],["fence",Pm,["paragraph","reference","blockquote","list"]],["blockquote",Bm,["paragraph","reference","blockquote","list"]],["hr",Om,["paragraph","reference","blockquote","list"]],["list",Um,["paragraph","reference","blockquote"]],["reference",Hm],["html_block",n3,["paragraph","reference","blockquote"]],["heading",r3,["paragraph","reference","blockquote"]],["lheading",o3],["paragraph",i3]];function Go(){this.ruler=new lu;for(let t=0;t<zo.length;t++)this.ruler.push(zo[t][0],zo[t][1],{alt:(zo[t][2]||[]).slice()})}Go.prototype.tokenize=function(t,r,o){const l=this.ruler.getRules(""),s=l.length,a=t.md.options.maxNesting;let d=r,h=!1;for(;d<o&&(t.line=d=t.skipEmptyLines(d),!(d>=o||t.sCount[d]<t.blkIndent));){if(t.level>=a){t.line=o;break}const p=t.line;let g=!1;for(let x=0;x<s;x++)if(g=l[x](t,d,o,!1),g){if(p>=t.line)throw new Error("block rule didn't increment state.line");break}if(!g)throw new Error("none of the block rules matched");t.tight=!h,t.isEmpty(t.line-1)&&(h=!0),d=t.line,d<o&&t.isEmpty(d)&&(h=!0,d++,t.line=d)}};Go.prototype.parse=function(t,r,o,l){if(!t)return;const s=new this.State(t,r,o,l);this.tokenize(s,s.line,s.lineMax)};Go.prototype.State=Pu;function pr(t,r,o,l){this.src=t,this.env=o,this.md=r,this.tokens=l,this.tokens_meta=Array(l.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}pr.prototype.pushPending=function(){const t=new Fu("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};pr.prototype.push=function(t,r,o){this.pending&&this.pushPending();const l=new Fu(t,r,o);let s=null;return o<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),l.level=this.level,o>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(l),this.tokens_meta.push(s),l};pr.prototype.scanDelims=function(t,r){const o=this.posMax,l=this.src.charCodeAt(t);let s;if(t===0)s=32;else if(t===1)s=this.src.charCodeAt(0),(s&63488)===55296&&(s=65533);else if(s=this.src.charCodeAt(t-1),(s&64512)===56320){const F=this.src.charCodeAt(t-2);s=(F&64512)===55296?65536+(F-55296<<10)+(s-56320):65533}else(s&64512)===55296&&(s=65533);let a=t;for(;a<o&&this.src.charCodeAt(a)===l;)a++;const d=a-t;let h=a<o?this.src.charCodeAt(a):32;if((h&64512)===55296){const F=this.src.charCodeAt(a+1);h=(F&64512)===56320?65536+(h-55296<<10)+(F-56320):65533}else(h&64512)===56320&&(h=65533);const p=fr(s)||ar(s),g=fr(h)||ar(h),x=cr(s),b=cr(h),C=!b&&(!g||x||p),y=!x&&(!p||b||g);return{can_open:C&&(r||!y||p),can_close:y&&(r||!C||g),length:d}};pr.prototype.Token=Fu;function l3(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function s3(t,r){let o=t.pos;for(;o<t.posMax&&!l3(t.src.charCodeAt(o));)o++;return o===t.pos?!1:(r||(t.pending+=t.src.slice(t.pos,o)),t.pos=o,!0)}const c3=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function a3(t,r){if(!t.md.options.linkify||t.linkLevel>0)return!1;const o=t.pos,l=t.posMax;if(o+3>l||t.src.charCodeAt(o)!==58||t.src.charCodeAt(o+1)!==47||t.src.charCodeAt(o+2)!==47)return!1;const s=t.pending.match(c3);if(!s)return!1;const a=s[1],d=t.md.linkify.matchAtStart(t.src.slice(o-a.length));if(!d)return!1;let h=d.url;if(h.length<=a.length)return!1;let p=h.length;for(;p>0&&h.charCodeAt(p-1)===42;)p--;p!==h.length&&(h=h.slice(0,p));const g=t.md.normalizeLink(h);if(!t.md.validateLink(g))return!1;if(!r){t.pending=t.pending.slice(0,-a.length);const x=t.push("link_open","a",1);x.attrs=[["href",g]],x.markup="linkify",x.info="auto";const b=t.push("text","",0);b.content=t.md.normalizeLinkText(h);const C=t.push("link_close","a",-1);C.markup="linkify",C.info="auto"}return t.pos+=h.length-a.length,!0}function f3(t,r){let o=t.pos;if(t.src.charCodeAt(o)!==10)return!1;const l=t.pending.length-1,s=t.posMax;if(!r)if(l>=0&&t.pending.charCodeAt(l)===32)if(l>=1&&t.pending.charCodeAt(l-1)===32){let a=l-1;for(;a>=1&&t.pending.charCodeAt(a-1)===32;)a--;t.pending=t.pending.slice(0,a),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(o++;o<s&&Ce(t.src.charCodeAt(o));)o++;return t.pos=o,!0}const Ms=[];for(let t=0;t<256;t++)Ms.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Ms[t.charCodeAt(0)]=1});function d3(t,r){let o=t.pos;const l=t.posMax;if(t.src.charCodeAt(o)!==92||(o++,o>=l))return!1;let s=t.src.charCodeAt(o);if(s===10){for(r||t.push("hardbreak","br",0),o++;o<l&&(s=t.src.charCodeAt(o),!!Ce(s));)o++;return t.pos=o,!0}let a=t.src[o];if(s>=55296&&s<=56319&&o+1<l){const h=t.src.charCodeAt(o+1);h>=56320&&h<=57343&&(a+=t.src[o+1],o++)}const d="\\"+a;if(!r){const h=t.push("text_special","",0);s<256&&Ms[s]!==0?h.content=a:h.content=d,h.markup=d,h.info="escape"}return t.pos=o+1,!0}function h3(t,r){let o=t.pos;if(t.src.charCodeAt(o)!==96)return!1;const s=o;o++;const a=t.posMax;for(;o<a&&t.src.charCodeAt(o)===96;)o++;const d=t.src.slice(s,o),h=d.length;if(t.backticksScanned&&(t.backticks[h]||0)<=s)return r||(t.pending+=d),t.pos+=h,!0;let p=o,g;for(;(g=t.src.indexOf("`",p))!==-1;){for(p=g+1;p<a&&t.src.charCodeAt(p)===96;)p++;const x=p-g;if(x===h){if(!r){const b=t.push("code_inline","code",0);b.markup=d,b.content=t.src.slice(o,g).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return t.pos=p,!0}t.backticks[x]=g}return t.backticksScanned=!0,r||(t.pending+=d),t.pos+=h,!0}function p3(t,r){const o=t.pos,l=t.src.charCodeAt(o);if(r||l!==126)return!1;const s=t.scanDelims(t.pos,!0);let a=s.length;const d=String.fromCharCode(l);if(a<2)return!1;let h;a%2&&(h=t.push("text","",0),h.content=d,a--);for(let p=0;p<a;p+=2)h=t.push("text","",0),h.content=d+d,t.delimiters.push({marker:l,length:0,token:t.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return t.pos+=s.length,!0}function hf(t,r){let o;const l=[],s=r.length;for(let a=0;a<s;a++){const d=r[a];if(d.marker!==126||d.end===-1)continue;const h=r[d.end];o=t.tokens[d.token],o.type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",o=t.tokens[h.token],o.type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="",t.tokens[h.token-1].type==="text"&&t.tokens[h.token-1].content==="~"&&l.push(h.token-1)}for(;l.length;){const a=l.pop();let d=a+1;for(;d<t.tokens.length&&t.tokens[d].type==="s_close";)d++;d--,a!==d&&(o=t.tokens[d],t.tokens[d]=t.tokens[a],t.tokens[a]=o)}}function m3(t){const r=t.tokens_meta,o=t.tokens_meta.length;hf(t,t.delimiters);for(let l=0;l<o;l++)r[l]&&r[l].delimiters&&hf(t,r[l].delimiters)}const ud={tokenize:p3,postProcess:m3};function g3(t,r){const o=t.pos,l=t.src.charCodeAt(o);if(r||l!==95&&l!==42)return!1;const s=t.scanDelims(t.pos,l===42);for(let a=0;a<s.length;a++){const d=t.push("text","",0);d.content=String.fromCharCode(l),t.delimiters.push({marker:l,length:s.length,token:t.tokens.length-1,end:-1,open:s.can_open,close:s.can_close})}return t.pos+=s.length,!0}function pf(t,r){const o=r.length;for(let l=o-1;l>=0;l--){const s=r[l];if(s.marker!==95&&s.marker!==42||s.end===-1)continue;const a=r[s.end],d=l>0&&r[l-1].end===s.end+1&&r[l-1].marker===s.marker&&r[l-1].token===s.token-1&&r[s.end+1].token===a.token+1,h=String.fromCharCode(s.marker),p=t.tokens[s.token];p.type=d?"strong_open":"em_open",p.tag=d?"strong":"em",p.nesting=1,p.markup=d?h+h:h,p.content="";const g=t.tokens[a.token];g.type=d?"strong_close":"em_close",g.tag=d?"strong":"em",g.nesting=-1,g.markup=d?h+h:h,g.content="",d&&(t.tokens[r[l-1].token].content="",t.tokens[r[s.end+1].token].content="",l--)}}function x3(t){const r=t.tokens_meta,o=t.tokens_meta.length;pf(t,t.delimiters);for(let l=0;l<o;l++)r[l]&&r[l].delimiters&&pf(t,r[l].delimiters)}const td={tokenize:g3,postProcess:x3};function y3(t,r){let o,l,s,a,d="",h="",p=t.pos,g=!0;if(t.src.charCodeAt(t.pos)!==91)return!1;const x=t.pos,b=t.posMax,C=t.pos+1,y=t.md.helpers.parseLinkLabel(t,t.pos,!0);if(y<0)return!1;let _=y+1;if(_<b&&t.src.charCodeAt(_)===40){for(g=!1,_++;_<b&&(o=t.src.charCodeAt(_),!(!Ce(o)&&o!==10));_++);if(_>=b)return!1;if(p=_,s=t.md.helpers.parseLinkDestination(t.src,_,t.posMax),s.ok){for(d=t.md.normalizeLink(s.str),t.md.validateLink(d)?_=s.pos:d="",p=_;_<b&&(o=t.src.charCodeAt(_),!(!Ce(o)&&o!==10));_++);if(s=t.md.helpers.parseLinkTitle(t.src,_,t.posMax),_<b&&p!==_&&s.ok)for(h=s.str,_=s.pos;_<b&&(o=t.src.charCodeAt(_),!(!Ce(o)&&o!==10));_++);}(_>=b||t.src.charCodeAt(_)!==41)&&(g=!0),_++}if(g){if(typeof t.env.references>"u")return!1;if(_<b&&t.src.charCodeAt(_)===91?(p=_+1,_=t.md.helpers.parseLinkLabel(t,_),_>=0?l=t.src.slice(p,_++):_=y+1):_=y+1,l||(l=t.src.slice(C,y)),a=t.env.references[Wo(l)],!a)return t.pos=x,!1;d=a.href,h=a.title}if(!r){t.pos=C,t.posMax=y;const z=t.push("link_open","a",1),F=[["href",d]];z.attrs=F,h&&F.push(["title",h]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=_,t.posMax=b,!0}function b3(t,r){let o,l,s,a,d,h,p,g,x="";const b=t.pos,C=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const y=t.pos+2,_=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(_<0)return!1;if(a=_+1,a<C&&t.src.charCodeAt(a)===40){for(a++;a<C&&(o=t.src.charCodeAt(a),!(!Ce(o)&&o!==10));a++);if(a>=C)return!1;for(g=a,h=t.md.helpers.parseLinkDestination(t.src,a,t.posMax),h.ok&&(x=t.md.normalizeLink(h.str),t.md.validateLink(x)?a=h.pos:x=""),g=a;a<C&&(o=t.src.charCodeAt(a),!(!Ce(o)&&o!==10));a++);if(h=t.md.helpers.parseLinkTitle(t.src,a,t.posMax),a<C&&g!==a&&h.ok)for(p=h.str,a=h.pos;a<C&&(o=t.src.charCodeAt(a),!(!Ce(o)&&o!==10));a++);else p="";if(a>=C||t.src.charCodeAt(a)!==41)return t.pos=b,!1;a++}else{if(typeof t.env.references>"u")return!1;if(a<C&&t.src.charCodeAt(a)===91?(g=a+1,a=t.md.helpers.parseLinkLabel(t,a),a>=0?s=t.src.slice(g,a++):a=_+1):a=_+1,s||(s=t.src.slice(y,_)),d=t.env.references[Wo(s)],!d)return t.pos=b,!1;x=d.href,p=d.title}if(!r){l=t.src.slice(y,_);const z=[];t.md.inline.parse(l,t.md,t.env,z);const F=t.push("image","img",0),P=[["src",x],["alt",""]];F.attrs=P,F.children=z,F.content=l,p&&P.push(["title",p])}return t.pos=a,t.posMax=C,!0}const v3=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,k3=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function _3(t,r){let o=t.pos;if(t.src.charCodeAt(o)!==60)return!1;const l=t.pos,s=t.posMax;for(;;){if(++o>=s)return!1;const d=t.src.charCodeAt(o);if(d===60)return!1;if(d===62)break}const a=t.src.slice(l+1,o);if(k3.test(a)){const d=t.md.normalizeLink(a);if(!t.md.validateLink(d))return!1;if(!r){const h=t.push("link_open","a",1);h.attrs=[["href",d]],h.markup="autolink",h.info="auto";const p=t.push("text","",0);p.content=t.md.normalizeLinkText(a);const g=t.push("link_close","a",-1);g.markup="autolink",g.info="auto"}return t.pos+=a.length+2,!0}if(v3.test(a)){const d=t.md.normalizeLink("mailto:"+a);if(!t.md.validateLink(d))return!1;if(!r){const h=t.push("link_open","a",1);h.attrs=[["href",d]],h.markup="autolink",h.info="auto";const p=t.push("text","",0);p.content=t.md.normalizeLinkText(a);const g=t.push("link_close","a",-1);g.markup="autolink",g.info="auto"}return t.pos+=a.length+2,!0}return!1}function C3(t){return/^<a[>\s]/i.test(t)}function w3(t){return/^<\/a\s*>/i.test(t)}function E3(t){const r=t|32;return r>=97&&r<=122}function S3(t,r){if(!t.md.options.html)return!1;const o=t.posMax,l=t.pos;if(t.src.charCodeAt(l)!==60||l+2>=o)return!1;const s=t.src.charCodeAt(l+1);if(s!==33&&s!==63&&s!==47&&!E3(s))return!1;const a=t.src.slice(l).match(u3);if(!a)return!1;if(!r){const d=t.push("html_inline","",0);d.content=a[0],C3(d.content)&&t.linkLevel++,w3(d.content)&&t.linkLevel--}return t.pos+=a[0].length,!0}const A3=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,D3=/^&([a-z][a-z0-9]{1,31});/i;function F3(t,r){const o=t.pos,l=t.posMax;if(t.src.charCodeAt(o)!==38||o+1>=l)return!1;if(t.src.charCodeAt(o+1)===35){const a=t.src.slice(o).match(A3);if(a){if(!r){const d=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),h=t.push("text_special","",0);h.content=Ns(d)?sr(d):sr(65533),h.markup=a[0],h.info="entity"}return t.pos+=a[0].length,!0}}else{const a=t.src.slice(o).match(D3);if(a){const d=G2(a[0]);if(d!==a[0]){if(!r){const h=t.push("text_special","",0);h.content=d,h.markup=a[0],h.info="entity"}return t.pos+=a[0].length,!0}}}return!1}function mf(t){const r={},o=t.length;if(!o)return;let l=0,s=-2;const a=[];for(let d=0;d<o;d++){const h=t[d];if(a.push(0),(t[l].marker!==h.marker||s!==h.token-1)&&(l=d),s=h.token,h.length=h.length||0,!h.close)continue;r.hasOwnProperty(h.marker)||(r[h.marker]=[-1,-1,-1,-1,-1,-1]);const p=r[h.marker][(h.open?3:0)+h.length%3];let g=l-a[l]-1,x=g;for(;g>p;g-=a[g]+1){const b=t[g];if(b.marker===h.marker&&b.open&&b.end<0){let C=!1;if((b.close||h.open)&&(b.length+h.length)%3===0&&(b.length%3!==0||h.length%3!==0)&&(C=!0),!C){const y=g>0&&!t[g-1].open?a[g-1]+1:0;a[d]=d-g+y,a[g]=y,h.open=!1,b.end=d,b.close=!1,x=-1,s=-2;break}}}x!==-1&&(r[h.marker][(h.open?3:0)+(h.length||0)%3]=x)}}function N3(t){const r=t.tokens_meta,o=t.tokens_meta.length;mf(t.delimiters);for(let l=0;l<o;l++)r[l]&&r[l].delimiters&&mf(r[l].delimiters)}function z3(t){let r,o,l=0;const s=t.tokens,a=t.tokens.length;for(r=o=0;r<a;r++)s[r].nesting<0&&l--,s[r].level=l,s[r].nesting>0&&l++,s[r].type==="text"&&r+1<a&&s[r+1].type==="text"?s[r+1].content=s[r].content+s[r+1].content:(r!==o&&(s[o]=s[r]),o++);r!==o&&(s.length=o)}const Jl=[["text",s3],["linkify",a3],["newline",f3],["escape",d3],["backticks",h3],["strikethrough",ud.tokenize],["emphasis",td.tokenize],["link",y3],["image",b3],["autolink",_3],["html_inline",S3],["entity",F3]],es=[["balance_pairs",N3],["strikethrough",ud.postProcess],["emphasis",td.postProcess],["fragments_join",z3]];function mr(){this.ruler=new lu;for(let t=0;t<Jl.length;t++)this.ruler.push(Jl[t][0],Jl[t][1]);this.ruler2=new lu;for(let t=0;t<es.length;t++)this.ruler2.push(es[t][0],es[t][1])}mr.prototype.skipToken=function(t){const r=t.pos,o=this.ruler.getRules(""),l=o.length,s=t.md.options.maxNesting,a=t.cache;if(typeof a[r]<"u"){t.pos=a[r];return}let d=!1;if(t.level<s){for(let h=0;h<l;h++)if(t.level++,d=o[h](t,!0),t.level--,d){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;d||t.pos++,a[r]=t.pos};mr.prototype.tokenize=function(t){const r=this.ruler.getRules(""),o=r.length,l=t.posMax,s=t.md.options.maxNesting;for(;t.pos<l;){const a=t.pos;let d=!1;if(t.level<s){for(let h=0;h<o;h++)if(d=r[h](t,!1),d){if(a>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(d){if(t.pos>=l)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};mr.prototype.parse=function(t,r,o,l){const s=new this.State(t,r,o,l);this.tokenize(s);const a=this.ruler2.getRules(""),d=a.length;for(let h=0;h<d;h++)a[h](s)};mr.prototype.State=pr;function M3(t){const r={};t=t||{},r.src_Any=Uf.source,r.src_Cc=Hf.source,r.src_Z=qf.source,r.src_P=Ds.source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|");const o="[><|]";return r.src_pseudo_letter="(?:(?!"+o+"|"+r.src_ZPCc+")"+r.src_Any+")",r.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|"+o+"|"+r.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+r.src_ZCc+"|$)|;(?!"+r.src_ZCc+"|$)|\\!+(?!"+r.src_ZCc+"|[!]|$)|\\?(?!"+r.src_ZCc+"|[?]|$))+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r}function gs(t){return Array.prototype.slice.call(arguments,1).forEach(function(o){o&&Object.keys(o).forEach(function(l){t[l]=o[l]})}),t}function Zo(t){return Object.prototype.toString.call(t)}function T3(t){return Zo(t)==="[object String]"}function j3(t){return Zo(t)==="[object Object]"}function R3(t){return Zo(t)==="[object RegExp]"}function gf(t){return Zo(t)==="[object Function]"}function L3(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const nd={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function I3(t){return Object.keys(t||{}).reduce(function(r,o){return r||nd.hasOwnProperty(o)},!1)}const P3={"http:":{validate:function(t,r,o){const l=t.slice(r);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(l)?l.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,r,o){const l=t.slice(r);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(l)?r>=3&&t[r-3]===":"||r>=3&&t[r-3]==="/"?0:l.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(t,r,o){const l=t.slice(r);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(l)?l.match(o.re.mailto)[0].length:0}}},B3="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",O3="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function $3(t){return function(r,o){const l=r.slice(o);return t.test(l)?l.match(t)[0].length:0}}function xf(){return function(t,r){r.normalize(t)}}function $o(t){const r=t.re=M3(t.__opts__),o=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||o.push(B3),o.push(r.src_xn),r.src_tlds=o.join("|");function l(h){return h.replace("%TLDS%",r.src_tlds)}r.email_fuzzy=RegExp(l(r.tpl_email_fuzzy),"i"),r.email_fuzzy_global=RegExp(l(r.tpl_email_fuzzy),"ig"),r.link_fuzzy=RegExp(l(r.tpl_link_fuzzy),"i"),r.link_fuzzy_global=RegExp(l(r.tpl_link_fuzzy),"ig"),r.link_no_ip_fuzzy=RegExp(l(r.tpl_link_no_ip_fuzzy),"i"),r.link_no_ip_fuzzy_global=RegExp(l(r.tpl_link_no_ip_fuzzy),"ig"),r.host_fuzzy_test=RegExp(l(r.tpl_host_fuzzy_test),"i");const s=[];t.__compiled__={};function a(h,p){throw new Error('(LinkifyIt) Invalid schema "'+h+'": '+p)}Object.keys(t.__schemas__).forEach(function(h){const p=t.__schemas__[h];if(p===null)return;const g={validate:null,link:null};if(t.__compiled__[h]=g,j3(p)){R3(p.validate)?g.validate=$3(p.validate):gf(p.validate)?g.validate=p.validate:a(h,p),gf(p.normalize)?g.normalize=p.normalize:p.normalize?a(h,p):g.normalize=xf();return}if(T3(p)){s.push(h);return}a(h,p)}),s.forEach(function(h){t.__compiled__[t.__schemas__[h]]&&(t.__compiled__[h].validate=t.__compiled__[t.__schemas__[h]].validate,t.__compiled__[h].normalize=t.__compiled__[t.__schemas__[h]].normalize)}),t.__compiled__[""]={validate:null,normalize:xf()};const d=Object.keys(t.__compiled__).filter(function(h){return h.length>0&&t.__compiled__[h]}).map(L3).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+d+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+d+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i")}function rd(t,r,o,l){const s=t.slice(o,l);this.schema=r.toLowerCase(),this.index=o,this.lastIndex=l,this.raw=s,this.text=s,this.url=s}function pu(t,r){if(!(this instanceof pu))return new pu(t,r);r||I3(t)&&(r=t,t={}),this.__opts__=gs({},nd,r),this.__schemas__=gs({},P3,t),this.__compiled__={},this.__tlds__=O3,this.__tlds_replaced__=!1,this.re={},$o(this)}pu.prototype.add=function(r,o){return this.__schemas__[r]=o,$o(this),this};pu.prototype.set=function(r){return this.__opts__=gs(this.__opts__,r),this};pu.prototype.test=function(r){if(!r.length)return!1;let o,l;if(this.re.schema_test.test(r)){for(l=this.re.schema_search,l.lastIndex=0;(o=l.exec(r))!==null;)if(this.testSchemaAt(r,o[2],l.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&r.search(this.re.host_fuzzy_test)>=0&&r.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&r.indexOf("@")>=0&&r.match(this.re.email_fuzzy)!==null)};pu.prototype.pretest=function(r){return this.re.pretest.test(r)};pu.prototype.testSchemaAt=function(r,o,l){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(r,l,this):0};pu.prototype.match=function(r){const o=[],l=[],s=[],a=[];let d,h,p;function g(C,y){return C?y?C.index!==y.index?C.index<y.index?C:y:C.lastIndex>=y.lastIndex?C:y:C:y}if(!r.length)return null;if(this.re.schema_test.test(r))for(p=this.re.schema_search,p.lastIndex=0;(d=p.exec(r))!==null;)h=this.testSchemaAt(r,d[2],p.lastIndex),h&&l.push({schema:d[2],index:d.index+d[1].length,lastIndex:d.index+d[0].length+h});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(p=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,p.lastIndex=0;(d=p.exec(r))!==null;)s.push({schema:"",index:d.index+d[1].length,lastIndex:d.index+d[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(p=this.re.email_fuzzy_global,p.lastIndex=0;(d=p.exec(r))!==null;)a.push({schema:"mailto:",index:d.index+d[1].length,lastIndex:d.index+d[0].length});const x=[0,0,0];let b=0;for(;;){const C=[l[x[0]],a[x[1]],s[x[2]]],y=g(g(C[0],C[1]),C[2]);if(!y)break;if(y===C[0]?x[0]++:y===C[1]?x[1]++:x[2]++,y.index<b)continue;const _=new rd(r,y.schema,y.index,y.lastIndex);this.__compiled__[_.schema].normalize(_,this),o.push(_),b=y.lastIndex}return o.length?o:null};pu.prototype.matchAtStart=function(r){if(!r.length)return null;const o=this.re.schema_at_start.exec(r);if(!o)return null;const l=this.testSchemaAt(r,o[2],o[0].length);if(!l)return null;const s=new rd(r,o[2],o.index+o[1].length,o.index+o[0].length+l);return this.__compiled__[s.schema].normalize(s,this),s};pu.prototype.tlds=function(r,o){return r=Array.isArray(r)?r:[r],o?(this.__tlds__=this.__tlds__.concat(r).sort().filter(function(l,s,a){return l!==a[s-1]}).reverse(),$o(this),this):(this.__tlds__=r.slice(),this.__tlds_replaced__=!0,$o(this),this)};pu.prototype.normalize=function(r){r.schema||(r.url="http://"+r.url),r.schema==="mailto:"&&!/^mailto:/i.test(r.url)&&(r.url="mailto:"+r.url)};pu.prototype.onCompile=function(){};const fn=2147483647,Ru=36,Ts=1,dr=26,U3=38,H3=700,od=72,id=128,ld="-",V3=/^xn--/,q3=/[^\0-\x7F]/,W3=/[\x2E\u3002\uFF0E\uFF61]/g,Q3={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},us=Ru-Ts,Lu=Math.floor,ts=String.fromCharCode;function xt(t){throw new RangeError(Q3[t])}function G3(t,r){const o=[];let l=t.length;for(;l--;)o[l]=r(t[l]);return o}function sd(t,r){const o=t.split("@");let l="";o.length>1&&(l=o[0]+"@",t=o[1]),t=t.replace(W3,".");const s=t.split("."),a=G3(s,r).join(".");return l+a}function cd(t){const r=[];let o=0;const l=t.length;for(;o<l;){const s=t.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){const a=t.charCodeAt(o++);(a&64512)==56320?r.push(((s&1023)<<10)+(a&1023)+65536):(r.push(s),o--)}else r.push(s)}return r}const Z3=t=>String.fromCodePoint(...t),K3=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ru},yf=function(t,r){return t+22+75*(t<26)-((r!=0)<<5)},ad=function(t,r,o){let l=0;for(t=o?Lu(t/H3):t>>1,t+=Lu(t/r);t>us*dr>>1;l+=Ru)t=Lu(t/us);return Lu(l+(us+1)*t/(t+U3))},fd=function(t){const r=[],o=t.length;let l=0,s=id,a=od,d=t.lastIndexOf(ld);d<0&&(d=0);for(let h=0;h<d;++h)t.charCodeAt(h)>=128&&xt("not-basic"),r.push(t.charCodeAt(h));for(let h=d>0?d+1:0;h<o;){const p=l;for(let x=1,b=Ru;;b+=Ru){h>=o&&xt("invalid-input");const C=K3(t.charCodeAt(h++));C>=Ru&&xt("invalid-input"),C>Lu((fn-l)/x)&&xt("overflow"),l+=C*x;const y=b<=a?Ts:b>=a+dr?dr:b-a;if(C<y)break;const _=Ru-y;x>Lu(fn/_)&&xt("overflow"),x*=_}const g=r.length+1;a=ad(l-p,g,p==0),Lu(l/g)>fn-s&&xt("overflow"),s+=Lu(l/g),l%=g,r.splice(l++,0,s)}return String.fromCodePoint(...r)},dd=function(t){const r=[];t=cd(t);const o=t.length;let l=id,s=0,a=od;for(const p of t)p<128&&r.push(ts(p));const d=r.length;let h=d;for(d&&r.push(ld);h<o;){let p=fn;for(const x of t)x>=l&&x<p&&(p=x);const g=h+1;p-l>Lu((fn-s)/g)&&xt("overflow"),s+=(p-l)*g,l=p;for(const x of t)if(x<l&&++s>fn&&xt("overflow"),x===l){let b=s;for(let C=Ru;;C+=Ru){const y=C<=a?Ts:C>=a+dr?dr:C-a;if(b<y)break;const _=b-y,z=Ru-y;r.push(ts(yf(y+_%z,0))),b=Lu(_/z)}r.push(ts(yf(b,0))),a=ad(s,g,h===d),s=0,++h}++s,++l}return r.join("")},Y3=function(t){return sd(t,function(r){return V3.test(r)?fd(r.slice(4).toLowerCase()):r})},X3=function(t){return sd(t,function(r){return q3.test(r)?"xn--"+dd(r):r})},hd={version:"2.3.1",ucs2:{decode:cd,encode:Z3},decode:fd,encode:dd,toASCII:X3,toUnicode:Y3},J3={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},eg={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},ug={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},tg={default:J3,zero:eg,commonmark:ug},ng=/^(vbscript|javascript|file|data):/,rg=/^data:image\/(gif|png|jpeg|webp);/;function og(t){const r=t.trim().toLowerCase();return ng.test(r)?rg.test(r):!0}const pd=["http:","https:","mailto:"];function ig(t){const r=As(t,!0);if(r.hostname&&(!r.protocol||pd.indexOf(r.protocol)>=0))try{r.hostname=hd.toASCII(r.hostname)}catch{}return hr(Ss(r))}function lg(t){const r=As(t,!0);if(r.hostname&&(!r.protocol||pd.indexOf(r.protocol)>=0))try{r.hostname=hd.toUnicode(r.hostname)}catch{}return hn(Ss(r),hn.defaultChars+"%")}function ku(t,r){if(!(this instanceof ku))return new ku(t,r);r||Fs(t)||(r=t||{},t="default"),this.inline=new mr,this.block=new Go,this.core=new zs,this.renderer=new gn,this.linkify=new pu,this.validateLink=og,this.normalizeLink=ig,this.normalizeLinkText=lg,this.utils=am,this.helpers=qo({},pm),this.options={},this.configure(t),r&&this.set(r)}ku.prototype.set=function(t){return qo(this.options,t),this};ku.prototype.configure=function(t){const r=this;if(Fs(t)){const o=t;if(t=tg[o],!t)throw new Error('Wrong `markdown-it` preset "'+o+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&r.set(t.options),t.components&&Object.keys(t.components).forEach(function(o){t.components[o].rules&&r[o].ruler.enableOnly(t.components[o].rules),t.components[o].rules2&&r[o].ruler2.enableOnly(t.components[o].rules2)}),this};ku.prototype.enable=function(t,r){let o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.enable(t,!0))},this),o=o.concat(this.inline.ruler2.enable(t,!0));const l=t.filter(function(s){return o.indexOf(s)<0});if(l.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+l);return this};ku.prototype.disable=function(t,r){let o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.disable(t,!0))},this),o=o.concat(this.inline.ruler2.disable(t,!0));const l=t.filter(function(s){return o.indexOf(s)<0});if(l.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+l);return this};ku.prototype.use=function(t){const r=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,r),this};ku.prototype.parse=function(t,r){if(typeof t!="string")throw new Error("Input data should be a String");const o=new this.core.State(t,this,r);return this.core.process(o),o.tokens};ku.prototype.render=function(t,r){return r=r||{},this.renderer.render(this.parse(t,r),this.options,r)};ku.prototype.parseInline=function(t,r){const o=new this.core.State(t,this,r);return o.inlineMode=!0,this.core.process(o),o.tokens};ku.prototype.renderInline=function(t,r){return r=r||{},this.renderer.render(this.parseInline(t,r),this.options,r)};const sg=new ku({html:!1,linkify:!0,breaks:!1,langPrefix:"language-"});function cg(t){return sg.render(t??"")}function ag({item:t}){var a;const[r,o]=te.useState(""),[l,s]=te.useState("loading");return te.useEffect(()=>{let d=!0;return s("loading"),o(""),k2(t.id).then(h=>{d&&(o(h.raw??""),s("ready"))}).catch(()=>{d&&s("error")}),()=>{d=!1}},[t.id]),k.jsxs("div",{className:"detail",children:[k.jsx("h2",{className:"text-h3 text-foreground",children:t.title||t.name}),k.jsx("p",{className:"mt-2 text-body-sm text-muted-foreground",children:t.description||"(无描述)"}),k.jsxs("dl",{className:"mt-4 grid grid-cols-[auto_1fr] gap-x-4 gap-y-2 text-body-sm",children:[k.jsx("dt",{className:"text-muted-foreground",children:"类型"}),k.jsx("dd",{children:t.kind}),k.jsx("dt",{className:"text-muted-foreground",children:"来源"}),k.jsx("dd",{children:Ro(t)}),k.jsx("dt",{className:"text-muted-foreground",children:"路径"}),k.jsx("dd",{className:"break-all font-mono text-caption",children:(a=t.paths)==null?void 0:a.abs})]}),k.jsxs("div",{className:"mt-5 flex flex-wrap gap-2",children:[k.jsx(cn,{label:"复制路径",onAction:()=>Fo(t.id,"path")}),k.jsx(cn,{label:"复制名称",onAction:()=>Fo(t.id,"name")}),k.jsx(cn,{label:"复制正文",onAction:()=>Fo(t.id,"raw")}),k.jsx(cn,{label:"复制调用提示",onAction:()=>Fo(t.id,"prompt")}),k.jsx(cn,{label:"打开",onAction:()=>X0(t.id,"default")}),k.jsx(cn,{label:"在访达显示",onAction:()=>X0(t.id,"finder")})]}),k.jsxs("div",{className:"mt-6 border-t border-border pt-5",children:[l==="loading"&&k.jsx("p",{className:"text-body-sm text-muted-foreground",children:"加载正文…"}),l==="error"&&k.jsx("p",{className:"text-body-sm text-destructive",children:"正文加载失败"}),l==="ready"&&(r.trim()?k.jsx("div",{className:"markdown-body",dangerouslySetInnerHTML:{__html:cg(r)}}):k.jsx("p",{className:"text-body-sm text-muted-foreground",children:"(无正文内容)"}))]})]})}const fg={hermes:{icon:"⚡",label:"Hermes",colorClass:"text-purple-500"},claude:{icon:"🤖",label:"Claude",colorClass:"text-blue-500"},cursor:{icon:"📝",label:"Cursor",colorClass:"text-amber-500"},codex:{icon:"💡",label:"Codex",colorClass:"text-yellow-500"}},bf={tool:{icon:"🔧",label:"Official Tools",colorClass:"text-blue-600"},directory:{icon:"📁",label:"Custom Skills",colorClass:"text-emerald-600"},other:{icon:"⚙️",label:"Other Sources",colorClass:"text-slate-500"}},dg={tool:1,directory:2,other:3};function md(t){const r=t.tier||"other",o=t.brand||"other",l=t.dirName||t.name,s=bf[r]||bf.other,a=r==="tool"?fg[o]||{icon:"🔧"}:null;let d;return r==="tool"&&a?d=`${a.icon} ${t.name}`:r==="directory"?d=`${s.icon} ${l}`:d=`${s.icon} ${t.name}`,{tierIcon:s.icon,tierLabel:s.label,brandIcon:(a==null?void 0:a.icon)||s.icon,displayLabel:d,isTier1:r==="tool",isTier2:r==="directory",isTier3:r==="other",tierSort:dg[r]||99}}function hg({item:t,size:r=20}){const[o,l]=te.useState(!1),s=md(t),a=t.brand&&s.isTier1?`/api/icons/${encodeURIComponent(t.brand)}?size=${r}`:null;return a&&!o?k.jsx("img",{src:a,alt:"",width:r,height:r,loading:"lazy",onError:()=>l(!0),className:"shrink-0 rounded-sm object-contain",style:{width:r,height:r}}):k.jsx("span",{className:"inline-flex shrink-0 items-center justify-center",style:{width:r,height:r,fontSize:r*.85},children:s.brandIcon})}function pg({items:t,editorFilter:r,query:o,onQuery:l,kindFilter:s,onKind:a,selectedId:d,onSelect:h}){const p=te.useMemo(()=>r===null?t:dn(r)?t.filter(y=>dn(Ro(y))):t.filter(y=>Ro(y)===r),[t,r]),g=te.useMemo(()=>{const y=new Map;for(const _ of p)y.set(_.kind,(y.get(_.kind)??0)+1);return[...y.entries()].sort((_,z)=>z[1]-_[1])},[p]),x=te.useMemo(()=>new b2(p,{keys:["name","title","description","category","brand","dirName","tags"],threshold:.4,ignoreLocation:!0}),[p]),b=te.useMemo(()=>{let y=o.trim()?x.search(o).map(_=>_.item):p;return s&&(y=y.filter(_=>_.kind===s)),y},[p,x,o,s]),C=te.useMemo(()=>b.find(y=>y.id===d)??null,[b,d]);return k.jsxs("div",{className:"flex h-full flex-col gap-4",children:[k.jsx("input",{type:"search",value:o,onChange:y=>l(y.target.value),placeholder:"搜索技能、插件、自定义…",className:"h-10 w-full rounded-md border border-border bg-input px-3 text-body-sm text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"}),k.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[k.jsx("button",{onClick:()=>a(null),className:Qe("rounded-full px-2.5 py-0.5 text-caption transition-colors",s===null?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:text-foreground"),children:"全部类型"}),g.map(([y,_])=>k.jsxs("button",{onClick:()=>a(y),className:Qe("rounded-full px-2.5 py-0.5 text-caption transition-colors",s===y?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:text-foreground"),children:[y," (",_,")"]},y))]}),k.jsxs("div",{className:"grid min-h-0 flex-1 grid-cols-1 gap-4 lg:grid-cols-[1fr_1.2fr]",children:[k.jsxs("section",{className:"flex min-h-0 flex-col gap-2 overflow-y-auto pr-1",children:[k.jsxs("p",{className:"text-caption text-muted-foreground",children:["共 ",b.length," 项"]}),b.length===0&&k.jsx("p",{className:"text-body-sm text-muted-foreground",children:"没有匹配的条目"}),b.map(y=>{const _=md(y);return k.jsx("button",{onClick:()=>h(y.id),className:"text-left",children:k.jsx(bs,{className:Qe("cursor-pointer transition-colors hover:border-primary",y.id===d?"border-primary bg-primary-soft":""),children:k.jsxs(zf,{children:[k.jsxs(Mf,{className:"flex items-center gap-2",children:[k.jsx(hg,{item:y,size:24}),k.jsx("span",{children:y.title||y.name})]}),_.isTier2&&y.dirName&&k.jsxs("p",{className:"text-caption text-muted-foreground",children:["目录: ",k.jsx("code",{className:"rounded bg-muted px-1.5 py-0.5",children:y.dirName})]}),k.jsx(Tf,{children:y.description||y.preview||"(无描述)"}),k.jsxs("div",{className:"mt-1 flex flex-wrap gap-1.5",children:[k.jsx("span",{className:"rounded-sm bg-muted px-1.5 py-0.5 text-caption text-muted-foreground",children:y.kind}),k.jsx("span",{className:Qe("rounded-sm px-1.5 py-0.5 text-caption font-medium",_.isTier1&&"bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-200",_.isTier2&&"bg-emerald-100 text-emerald-700 dark:bg-emerald-900 dark:text-emerald-200",_.isTier3&&"bg-slate-100 text-slate-700 dark:bg-slate-800 dark:text-slate-300"),children:_.tierLabel}),k.jsx("span",{className:"rounded-sm bg-muted px-1.5 py-0.5 text-caption text-muted-foreground",children:Ro(y)})]})]})})},y.id)})]}),k.jsx("section",{className:"min-h-0 overflow-y-auto",children:C?k.jsx(ag,{item:C}):k.jsx("div",{className:"detail text-muted-foreground",children:k.jsx("p",{className:"text-body-sm",children:"从左侧选择一项查看详情"})})})]})]})}const mg=["通用","网络服务","数据管理","关于"];function Mo({title:t,subtitle:r,children:o}){return k.jsxs("div",{className:"flex items-center justify-between gap-4 border-b border-border py-4",children:[k.jsxs("div",{children:[k.jsx("p",{className:"text-body-sm text-foreground",children:t}),k.jsx("p",{className:"text-caption text-muted-foreground",children:r})]}),o]})}const To="h-9 rounded-md border border-border bg-input px-2 text-body-sm text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60";function gg(){const[t,r]=te.useState("通用"),{theme:o,toggle:l}=Nf();return k.jsxs("div",{children:[k.jsxs("div",{className:"mb-5 flex items-center justify-between",children:[k.jsx("h1",{className:"text-h3 font-bold text-foreground",children:"应用设置"}),k.jsx("div",{className:"inline-flex rounded-md bg-muted p-1 text-body-sm",children:mg.map(s=>k.jsx("button",{onClick:()=>r(s),className:Qe("rounded-sm px-3 py-1 transition-colors",t===s?"bg-card text-primary shadow-sm":"text-muted-foreground"),children:s},s))})]}),k.jsxs("div",{className:"rounded-lg border border-border bg-card px-5",children:[t==="通用"&&k.jsxs(k.Fragment,{children:[k.jsx(Mo,{title:"显示语言",subtitle:"选择界面的显示语言",children:k.jsx("select",{className:To,defaultValue:"zh-CN",disabled:!0,children:k.jsx("option",{value:"zh-CN",children:"简体中文"})})}),k.jsx(Mo,{title:"应用主题",subtitle:"切换深色或浅色模式",children:k.jsxs("select",{className:To,value:o,onChange:s=>{s.target.value!==o&&l()},children:[k.jsx("option",{value:"light",children:"浅色"}),k.jsx("option",{value:"dark",children:"深色"})]})}),k.jsx(Mo,{title:"界面缩放",subtitle:"调整界面缩放比例(待接入)",children:k.jsx("select",{className:To,defaultValue:"100",disabled:!0,children:k.jsx("option",{value:"100",children:"100%"})})}),k.jsx(Mo,{title:"侧边栏布局",subtitle:"切换图标导航或经典布局(待接入)",children:k.jsx("select",{className:To,defaultValue:"icon",disabled:!0,children:k.jsx("option",{value:"icon",children:"图标导航"})})})]}),t!=="通用"&&k.jsxs("p",{className:"py-10 text-center text-body-sm text-muted-foreground",children:["「",t,"」待开发,敬请期待"]})]})]})}var gd=(t=>(t.ASC="asc",t.DESC="desc",t))(gd||{}),or=(t=>(t.NAME="name",t.UPDATED="updatedAt",t.CATEGORY="category",t))(or||{}),Zu=(t=>(t.CATEGORY="category",t.BRAND="brand",t.SOURCE="source",t.NONE="none",t))(Zu||{});const xg="/api",ir={hermes:"⚡","claude-code":"🤖",cursor:"🖱️",codex:"📋","vs-code":"📝",vscode:"📝",obsidian:"🧠",docker:"🐳",mcp:"🔌",default:"⚙️"},Uo={command:"⌨️",editor:"📝",tool:"🔧",cloud:"☁️",ai:"🤖",automation:"🤖",development:"👨‍💻",devops:"🚀",default:"📌"},Ho={hermes:"⚡","claude-code":"🤖",cursor:"🖱️",codex:"📋",obsidian:"🧠","project-runbook":"📚","directory-skill":"📁","mcp-config":"🔌",default:"📌"};function yg(t,r){if(t.icon)return t.icon;switch(r){case Zu.BRAND:return ir[t.brand||"default"]||ir.default;case Zu.SOURCE:return Ho[t.source||"default"]||Ho.default;case Zu.CATEGORY:default:{const o=Array.isArray(t.category)?t.category[0]:t.category;return Uo[(o==null?void 0:o.toLowerCase())||"default"]||Uo.default}}}function bg(t){if(t.iconFallback)return t.iconFallback;if(t.icon&&!t.icon.includes(":"))return t.icon;if(t.brand&&ir[t.brand])return ir[t.brand];const r=Array.isArray(t.category)?t.category[0]:t.category;return r&&Uo[r.toLowerCase()]?Uo[r.toLowerCase()]:t.source&&Ho[t.source]?Ho[t.source]:ir.default}function vg(t,r){var l,s,a,d,h;if(!r)return!0;const o=r.toLowerCase();return t.name.toLowerCase().includes(o)||(((l=t.title)==null?void 0:l.toLowerCase().includes(o))??!1)||(((s=t.description)==null?void 0:s.toLowerCase().includes(o))??!1)||(((a=t.tags)==null?void 0:a.some(p=>p.toLowerCase().includes(o)))??!1)||(((d=t.brand)==null?void 0:d.toLowerCase().includes(o))??!1)||(((h=t.source)==null?void 0:h.toLowerCase().includes(o))??!1)}function kg(t,r,o){const l=o===gd.DESC?-1:1,s=r||or.NAME;return[...t].sort((a,d)=>{let h,p;switch(s){case or.NAME:h=(a.title||a.name).toLowerCase(),p=(d.title||d.name).toLowerCase();break;case or.UPDATED:h=a.updatedAt||"",p=d.updatedAt||"";break;case or.CATEGORY:{const g=Array.isArray(a.category)?a.category:a.category?[a.category]:[],x=Array.isArray(d.category)?d.category:d.category?[d.category]:[];h=g[0],p=x[0];break}default:h=a.name,p=d.name}return h<p?-1*l:h>p?1*l:0})}function _g(t,r=Zu.CATEGORY){if(r===Zu.NONE)return[{groupKey:"all",label:"All Skills",icon:"📌",items:t,count:t.length}];const o=new Map;return t.forEach(l=>{let s;switch(r){case Zu.BRAND:s=l.brand||"unknown";break;case Zu.SOURCE:s=l.source||"unknown";break;case Zu.CATEGORY:default:s=(Array.isArray(l.category)?l.category:l.category?[l.category]:["unclassified"])[0]||"unclassified"}o.has(s)||o.set(s,[]),o.get(s).push(l)}),Array.from(o.entries()).map(([l,s])=>{const a=s[0];return{groupKey:l,label:l.charAt(0).toUpperCase()+l.slice(1),icon:yg(a,r),items:s,count:s.length}}).filter(l=>l.count>0)}class jo extends Error{constructor(r,o,l){super(o),this.code=r,this.statusCode=l,this.name="OtherSkillsError"}}function Cg(t={}){const[r,o]=te.useState([]),[l,s]=te.useState(!0),[a,d]=te.useState(null),h=async b=>{const C="~/.hermes/skills",y=z=>{const F=new URL(`${window.location.origin}${xg}/other-skills`);return F.searchParams.set("roots",C),F.searchParams.set("fileGlob","**/SKILL.md"),F.searchParams.set("stage",z),F.toString()},_=async z=>{const F=await fetch(y(z),b!=null&&b.noStore?{cache:"no-store"}:void 0);if(!F.ok)throw new jo("FETCH_FAILED",`Failed to fetch skills: ${F.statusText}`,F.status);const P=await F.json();if(P.skills&&Array.isArray(P.skills))return P.skills;if(Array.isArray(P))return P;throw new jo("INVALID_FORMAT","Expected skills array or {ok, skills} response")};try{s(!0),d(null);const z=await _("mini");o(z),s(!1);try{const F=await _("full");o(F)}catch{}}catch(z){const F=z instanceof jo?z:new jo("UNKNOWN_ERROR",z instanceof Error?z.message:"Unknown error");d(F),o([]),s(!1)}};te.useEffect(()=>{h()},[]);const{items:p,groups:g}=te.useMemo(()=>{let b=r;if(t.query&&(b=b.filter(y=>vg(y,t.query))),t.filterBrand&&(b=b.filter(y=>y.brand===t.filterBrand)),t.filterCategory&&(b=b.filter(y=>(Array.isArray(y.category)?y.category:y.category?[y.category]:[]).includes(t.filterCategory))),t.filterSource&&(b=b.filter(y=>y.source===t.filterSource)),b=kg(b,t.sortBy,t.sortOrder),t.limit||t.offset){const y=t.offset||0,_=t.limit?y+t.limit:void 0;b=b.slice(y,_)}const C=_g(b,t.groupBy);return{items:b,groups:C}},[r,t.query,t.sortBy,t.sortOrder,t.groupBy,t.filterBrand,t.filterCategory,t.filterSource,t.limit,t.offset]);return{items:p,groups:g,isLoading:l,error:a,refetch:async()=>{await h({noStore:!0})},total:r.length,filtered:p.length}}function vf({skill:t,size:r=20}){const[o,l]=te.useState(!1),s=bg(t);return t.iconUrl&&!o?k.jsx("img",{src:t.iconUrl,alt:"",width:r,height:r,loading:"lazy",onError:()=>l(!0),className:"rounded-[4px] object-contain shrink-0",style:{width:r,height:r}}):k.jsx("span",{className:"inline-flex items-center justify-center shrink-0",style:{width:r,height:r,fontSize:r*.85},children:s})}function wg({query:t="",onQuery:r,selectedId:o=null,onSelect:l}){const s={query:t},{groups:a,isLoading:d,error:h,items:p}=Cg(s),[g,x]=te.useState(new Set(a.map(y=>y.groupKey))),b=y=>{const _=new Set(g);_.has(y)?_.delete(y):_.add(y),x(_)},C=o?p.find(y=>y.id===o)??null:null;return k.jsxs("div",{className:"flex h-full gap-4 p-4",children:[k.jsxs("div",{className:"flex w-full flex-col gap-4 sm:w-1/3",children:[k.jsxs("div",{className:"relative",children:[k.jsx(jh,{size:16,className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground"}),k.jsx("input",{type:"text",placeholder:"搜索其它技能…",value:t,onChange:y=>r==null?void 0:r(y.target.value),className:"w-full rounded-md border border-input bg-background pl-9 pr-3 py-2 text-body-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-primary/50"})]}),k.jsx("div",{className:"flex-1 overflow-y-auto space-y-3",children:d?k.jsx("p",{className:"text-center text-body-sm text-muted-foreground",children:"加载中…"}):h?k.jsx("p",{className:"text-center text-body-sm text-destructive",children:"加载失败"}):a.length===0?k.jsx("p",{className:"text-center text-body-sm text-muted-foreground",children:"无结果"}):a.map(y=>k.jsxs("div",{children:[k.jsxs("button",{onClick:()=>b(y.groupKey),className:Qe("flex w-full items-center gap-2 rounded-md px-3 py-2 text-body-sm font-medium transition-colors","hover:bg-muted"),children:[k.jsx("span",{children:y.icon}),k.jsx("span",{className:"flex-1 text-left",children:y.label}),k.jsx("span",{className:"text-caption text-muted-foreground",children:y.count})]}),g.has(y.groupKey)&&k.jsx("div",{className:"space-y-1 pl-6",children:y.items.map(_=>k.jsxs("button",{onClick:()=>l==null?void 0:l(_.id),className:Qe("flex w-full items-start gap-2 text-left rounded-md px-3 py-2 text-body-sm transition-colors",o===_.id?"bg-primary-soft text-primary":"text-foreground hover:bg-muted"),children:[k.jsx(vf,{skill:_,size:20}),k.jsxs("div",{className:"min-w-0 flex-1",children:[k.jsx("div",{className:"font-medium truncate",children:_.title||_.name}),_.description&&k.jsx("div",{className:"text-caption text-muted-foreground truncate",children:_.description})]})]},_.id))})]},y.groupKey))})]}),C?k.jsxs("div",{className:"hidden w-2/3 flex-col gap-4 overflow-y-auto rounded-md border border-input bg-muted/30 p-4 sm:flex",children:[k.jsxs("div",{children:[k.jsxs("div",{className:"flex items-center gap-3",children:[k.jsx(vf,{skill:C,size:32}),k.jsx("h2",{className:"text-heading-md",children:C.title||C.name})]}),C.description&&k.jsx("p",{className:"mt-2 text-body-sm text-muted-foreground",children:C.description})]}),k.jsxs("div",{className:"border-t border-border pt-4",children:[k.jsx("h3",{className:"text-caption font-semibold mb-3",children:"元数据"}),k.jsxs("dl",{className:"space-y-2 text-body-sm",children:[k.jsxs("div",{className:"flex gap-4",children:[k.jsx("dt",{className:"text-muted-foreground font-medium min-w-24",children:"名称"}),k.jsx("dd",{className:"font-mono",children:C.name})]}),C.brand&&k.jsxs("div",{className:"flex gap-4",children:[k.jsx("dt",{className:"text-muted-foreground font-medium min-w-24",children:"品牌"}),k.jsx("dd",{className:"font-mono",children:C.brand})]}),C.source&&k.jsxs("div",{className:"flex gap-4",children:[k.jsx("dt",{className:"text-muted-foreground font-medium min-w-24",children:"来源"}),k.jsx("dd",{className:"font-mono",children:C.source})]}),C.category&&k.jsxs("div",{className:"flex gap-4",children:[k.jsx("dt",{className:"text-muted-foreground font-medium min-w-24",children:"分类"}),k.jsx("dd",{children:Array.isArray(C.category)?C.category.join(", "):C.category})]}),C.updatedAt&&k.jsxs("div",{className:"flex gap-4",children:[k.jsx("dt",{className:"text-muted-foreground font-medium min-w-24",children:"更新于"}),k.jsx("dd",{className:"font-mono text-caption",children:new Date(C.updatedAt).toLocaleString("zh-CN")})]})]})]}),C.tags&&C.tags.length>0&&k.jsxs("div",{children:[k.jsxs("p",{className:"text-caption font-medium mb-2 flex items-center gap-2",children:[k.jsx(Ih,{size:14}),"标签"]}),k.jsx("div",{className:"flex flex-wrap gap-2",children:C.tags.map(y=>k.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-2.5 py-1 text-caption text-primary",children:y},y))})]}),C.docs&&k.jsx("div",{children:k.jsxs("a",{href:C.docs,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-body-sm text-primary hover:underline",children:[k.jsx(I0,{size:14}),"文档"]})}),C.links&&C.links.length>0&&k.jsxs("div",{children:[k.jsx("p",{className:"text-caption font-medium mb-2",children:"相关链接"}),k.jsx("ul",{className:"space-y-1",children:C.links.map((y,_)=>k.jsx("li",{children:k.jsxs("a",{href:y.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-body-sm text-primary hover:underline",children:[k.jsx(I0,{size:14}),y.label]})},_))})]}),C.examples&&C.examples.length>0&&k.jsxs("div",{children:[k.jsxs("p",{className:"text-caption font-medium mb-2 flex items-center gap-2",children:[k.jsx(Dh,{size:14}),"示例"]}),k.jsx("ul",{className:"space-y-1",children:C.examples.map((y,_)=>k.jsxs("li",{className:"text-body-sm font-mono text-muted-foreground bg-background rounded px-2 py-1",children:["$ ",y]},_))})]}),C.parseError&&k.jsxs("div",{className:"text-body-sm text-destructive bg-destructive/10 rounded px-3 py-2",children:[k.jsx("p",{className:"font-medium",children:"⚠️ 解析错误"}),k.jsx("p",{className:"text-caption mt-1",children:C.parseError})]})]}):k.jsx("div",{className:"hidden w-2/3 items-center justify-center rounded-md border border-input bg-muted/30 sm:flex",children:k.jsx("p",{className:"text-body-sm text-muted-foreground",children:"选择一个技能查看详情"})})]})}function Eg({title:t}){return k.jsx("div",{className:"grid h-full place-items-center text-muted-foreground",children:k.jsxs("div",{className:"text-center",children:[k.jsx("p",{className:"text-h4 text-foreground",children:t}),k.jsx("p",{className:"mt-1 text-body-sm",children:"待开发,敬请期待"})]})})}function Sg(t){te.useEffect(()=>{if(typeof EventSource>"u")return;const r=new EventSource("/api/events"),o=()=>t();return r.addEventListener("reload-done",o),()=>{r.removeEventListener("reload-done",o),r.close()}},[t])}const Ag={module:"skills",view:"dashboard",editorFilter:null,kindFilter:null,query:"",selectedId:null,otherSkillsQuery:""};function Dg(t,r){switch(r.type){case"module":return{...t,module:r.module};case"dashboard":return{...t,view:"dashboard"};case"settings":return{...t,view:"settings"};case"otherSkills":return{...t,view:"otherSkills"};case"otherSkillsQuery":return{...t,otherSkillsQuery:r.query};case"editor":return{...t,view:"skills",editorFilter:r.key,kindFilter:null,selectedId:null};case"query":return{...t,query:r.query};case"kind":return{...t,kindFilter:r.kind};case"select":return{...t,selectedId:r.id};default:return t}}function Fg(){const[t,r]=te.useState([]),[o,l]=te.useState(null),[s,a]=te.useState(!0),[d,h]=te.useState(null),[p,g]=te.useState(!1),[x,b]=te.useReducer(Dg,Ag);async function C(){a(!0),h(null);try{const[F,P]=await Promise.all([K0(),Y0()]);r(F),l(P)}catch(F){h(F instanceof Error?F.message:"加载失败")}finally{a(!1)}}te.useEffect(()=>{C()},[]);const y=te.useCallback(async()=>{try{const[F,P]=await Promise.all([K0(),Y0()]);r(F),l(P)}catch{}},[]);Sg(y);async function _(){g(!0);try{await _2(),await C()}finally{g(!1)}}function z(){return x.module!=="skills"?k.jsx(Eg,{title:x.module==="commands"?"命令":"编辑器"}):s?k.jsx("p",{className:"text-body-sm text-muted-foreground",children:"加载中…"}):d?k.jsx("div",{className:"detail border-destructive",children:k.jsxs("p",{className:"text-body-sm text-destructive",children:["加载失败:",d]})}):x.view==="dashboard"?k.jsx(zp,{stats:o,items:t}):x.view==="otherSkills"?k.jsx(wg,{query:x.otherSkillsQuery,onQuery:F=>b({type:"otherSkillsQuery",query:F}),selectedId:x.selectedId,onSelect:F=>b({type:"select",id:F})}):x.view==="settings"?k.jsx(gg,{}):k.jsx(pg,{items:t,editorFilter:x.editorFilter,query:x.query,onQuery:F=>b({type:"query",query:F}),kindFilter:x.kindFilter,onKind:F=>b({type:"kind",kind:F}),selectedId:x.selectedId,onSelect:F=>b({type:"select",id:F})})}return k.jsxs("div",{className:"app-shell",children:[k.jsx(Dp,{module:x.module,onModule:F=>b({type:"module",module:F}),onReload:_,reloading:p}),k.jsx(_p,{view:x.view,editorFilter:x.editorFilter,stats:o,onDashboard:()=>b({type:"dashboard"}),onSettings:()=>b({type:"settings"}),onOtherSkills:()=>b({type:"otherSkills"}),onEditor:F=>b({type:"editor",key:F})}),k.jsx("main",{className:"main-pane",children:z()})]})}const xd=document.getElementById("app");if(!xd)throw new Error("挂载节点 #app 不存在");_h.createRoot(xd).render(k.jsx(te.StrictMode,{children:k.jsx(Fg,{})}));