@ttmg/cli 0.4.7 → 0.4.8

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 (123) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +42 -7
  3. package/dist/index.js +3241 -2928
  4. package/dist/index.js.map +1 -1
  5. package/dist/package.json +2 -2
  6. package/dist/public/assets/{Card-BC5ydRHh.js → Card-hIN4OSH3.js} +1 -1
  7. package/dist/public/assets/Detail-ySFmflhQ.js +1 -0
  8. package/dist/public/assets/Detail-ySFmflhQ.js.br +0 -0
  9. package/dist/public/assets/MonetizationMode-Cu52igtn.js +1 -0
  10. package/dist/public/assets/MonetizationModeSummary-OwjWh0LR.js +1 -0
  11. package/dist/public/assets/{SectionHeader-BQDU_6TX.js → SectionHeader-CnHCh7yA.js} +1 -1
  12. package/dist/public/assets/{baseForm-dqhahTXM.js → baseForm-t_NrFk0x.js} +2 -2
  13. package/dist/public/assets/baseForm-t_NrFk0x.js.br +0 -0
  14. package/dist/public/assets/chevron-right-GDVyTyUp.js +1 -0
  15. package/dist/public/assets/circle-check-CoS-kyHi.js +1 -0
  16. package/dist/public/assets/{compass-DfWJoWl3.js → compass-CeFvwCmG.js} +1 -1
  17. package/dist/public/assets/{index-BhTApVX6.js → index-B0tBBQNM.js} +1 -1
  18. package/dist/public/assets/index-B5YK1BrP.css +1 -0
  19. package/dist/public/assets/index-B5YK1BrP.css.br +0 -0
  20. package/dist/public/assets/{index-BoFbvk-8.css → index-BHIhYKfz.css} +1 -1
  21. package/dist/public/assets/index-BHIhYKfz.css.br +0 -0
  22. package/dist/public/assets/index-BHg_s4I9.js +1 -0
  23. package/dist/public/assets/{index-DS-Ah-pZ.js → index-BbAB3ylH.js} +1 -1
  24. package/dist/public/assets/index-C6lW7Zjz.js +1 -0
  25. package/dist/public/assets/index-C9BUllr0.js +1 -0
  26. package/dist/public/assets/index-C9BUllr0.js.br +0 -0
  27. package/dist/public/assets/index-C9h2if-G.js +1 -0
  28. package/dist/public/assets/index-CAlbYpul.js +1 -0
  29. package/dist/public/assets/index-CAlbYpul.js.br +0 -0
  30. package/dist/public/assets/{index-DKxf26_O.css → index-CCYAfkkd.css} +1 -1
  31. package/dist/public/assets/index-CEbZ4IEL.js +1 -0
  32. package/dist/public/assets/index-CEmEOml-.css +1 -0
  33. package/dist/public/assets/{index-BAmVtXgk.js → index-CHfngLxh.js} +1 -1
  34. package/dist/public/assets/index-CHfngLxh.js.br +0 -0
  35. package/dist/public/assets/index-CHvRzJfA.js +1 -0
  36. package/dist/public/assets/{index-3IxvKwO3.js → index-CIX6OSmR.js} +1 -1
  37. package/dist/public/assets/index-CN48pR5h.css +1 -0
  38. package/dist/public/assets/index-CTVCQm_e.js +1 -0
  39. package/dist/public/assets/index-CZP2ErD4.js +1 -0
  40. package/dist/public/assets/index-CaNXgeLN.css +1 -0
  41. package/dist/public/assets/index-Cc4ScSCv.js +1 -0
  42. package/dist/public/assets/index-CeDioqbo.js +1 -0
  43. package/dist/public/assets/index-D0ap_iEL.js +1 -0
  44. package/dist/public/assets/{index-BqslPc39.js → index-D88nGIrd.js} +1 -1
  45. package/dist/public/assets/index-DA4Kkz7E.js +1 -0
  46. package/dist/public/assets/index-DHe58AF2.css +1 -0
  47. package/dist/public/assets/index-DHe58AF2.css.br +0 -0
  48. package/dist/public/assets/{index-docEsXsM.css → index-DJgKNXSG.css} +1 -1
  49. package/dist/public/assets/index-DJgKNXSG.css.br +0 -0
  50. package/dist/public/assets/index-DQC7-8WJ.js +1 -0
  51. package/dist/public/assets/index-Dju1-uxC.js +1 -0
  52. package/dist/public/assets/index-Dju1-uxC.js.br +0 -0
  53. package/dist/public/assets/index-DusVz4qh.css +1 -0
  54. package/dist/public/assets/index-YJB7hrl4.js +21 -0
  55. package/dist/public/assets/index-YJB7hrl4.js.br +0 -0
  56. package/dist/public/assets/index-_E01H4Eg.js +1 -0
  57. package/dist/public/assets/index-_E01H4Eg.js.br +0 -0
  58. package/dist/public/assets/index-kykURETO.css +1 -0
  59. package/dist/public/assets/index-kykURETO.css.br +0 -0
  60. package/dist/public/assets/{index-CbUw1wBM.js → index-n-a8bnJy.js} +1 -1
  61. package/dist/public/assets/index-n-a8bnJy.js.br +0 -0
  62. package/dist/public/assets/{index-BmS73Skw.js → index-vJ1StYwi.js} +1 -1
  63. package/dist/public/assets/{index-BkbwTqmH.js → index-yEl03rPV.js} +1 -1
  64. package/dist/public/assets/index-zyypH9vs.css +1 -0
  65. package/dist/public/assets/info-CXVvw540.js +1 -0
  66. package/dist/public/assets/integrationMetadata-DJN4qhTl.js +1 -0
  67. package/dist/public/assets/layers-A_WDqv_u.js +1 -0
  68. package/dist/public/assets/{list-checks-Ce0l0Ylc.js → list-checks-DYOelRzb.js} +1 -1
  69. package/dist/public/assets/package-KM_YN61y.js +1 -0
  70. package/dist/public/assets/platformCapabilities-X9JVc715.js +1 -0
  71. package/dist/public/assets/refresh-cw-By5amaxb.js +1 -0
  72. package/dist/public/assets/smartphone-DFFbplpM.js +1 -0
  73. package/dist/public/assets/{sparkles-Dnyv9lnL.js → sparkles-BDWC6uCQ.js} +1 -1
  74. package/dist/public/assets/{triangle-alert-BaPLcm_f.js → triangle-alert-DHzwEo5k.js} +1 -1
  75. package/dist/public/assets/{zap-DyzOTCOX.js → zap-ByAYRk2l.js} +1 -1
  76. package/dist/public/index.html +2 -2
  77. package/dist/scripts/dev-remote-resources-smoke.js +2 -1
  78. package/dist/scripts/verify-agent-contract.js +13 -8
  79. package/package.json +2 -2
  80. package/dist/public/assets/Detail-DPCqXgFa.js +0 -1
  81. package/dist/public/assets/Detail-DPCqXgFa.js.br +0 -0
  82. package/dist/public/assets/MonetizationMode-BGXVb7wG.js +0 -1
  83. package/dist/public/assets/MonetizationModeSummary-LeYQ02Tv.js +0 -1
  84. package/dist/public/assets/baseForm-dqhahTXM.js.br +0 -0
  85. package/dist/public/assets/index-3FxbJxwu.css +0 -1
  86. package/dist/public/assets/index-AtMMzkp0.css +0 -1
  87. package/dist/public/assets/index-BAmVtXgk.js.br +0 -0
  88. package/dist/public/assets/index-BBHaV7vS.js +0 -1
  89. package/dist/public/assets/index-BIkx7MZA.js +0 -1
  90. package/dist/public/assets/index-BIkx7MZA.js.br +0 -0
  91. package/dist/public/assets/index-Ba7wrRXG.js +0 -1
  92. package/dist/public/assets/index-Ba7wrRXG.js.br +0 -0
  93. package/dist/public/assets/index-BdixrK5I.css +0 -1
  94. package/dist/public/assets/index-BdixrK5I.css.br +0 -0
  95. package/dist/public/assets/index-BoFbvk-8.css.br +0 -0
  96. package/dist/public/assets/index-C0-lsmcf.js +0 -1
  97. package/dist/public/assets/index-C947zURI.js +0 -1
  98. package/dist/public/assets/index-C947zURI.js.br +0 -0
  99. package/dist/public/assets/index-CC4YJwDI.js +0 -1
  100. package/dist/public/assets/index-CDxeVVlI.js +0 -1
  101. package/dist/public/assets/index-CF4RJ3VA.js +0 -1
  102. package/dist/public/assets/index-CSOt669g.js +0 -1
  103. package/dist/public/assets/index-CbUw1wBM.js.br +0 -0
  104. package/dist/public/assets/index-Czg0RYGI.css +0 -1
  105. package/dist/public/assets/index-Czg0RYGI.css.br +0 -0
  106. package/dist/public/assets/index-DRKEUX85.js +0 -1
  107. package/dist/public/assets/index-DRKEUX85.js.br +0 -0
  108. package/dist/public/assets/index-DcpswdR4.js +0 -21
  109. package/dist/public/assets/index-DcpswdR4.js.br +0 -0
  110. package/dist/public/assets/index-DfVst8q1.css +0 -1
  111. package/dist/public/assets/index-DpCdlpoj.js +0 -1
  112. package/dist/public/assets/index-FKgvaTum.js +0 -1
  113. package/dist/public/assets/index-FKgvaTum.js.br +0 -0
  114. package/dist/public/assets/index-HqjZ5P-l.css +0 -1
  115. package/dist/public/assets/index-WyNc-BTG.css +0 -1
  116. package/dist/public/assets/index-WyNc-BTG.css.br +0 -0
  117. package/dist/public/assets/index-_IVh5FZw.js +0 -1
  118. package/dist/public/assets/index-docEsXsM.css.br +0 -0
  119. package/dist/public/assets/index-ejkbZVVo.js +0 -1
  120. package/dist/public/assets/index-faRHENEQ.css +0 -1
  121. package/dist/public/assets/index-wGfWSqnF.js +0 -1
  122. package/dist/public/assets/index-xPCWyPvk.js +0 -2
  123. package/dist/public/assets/layers-kzl3dc3j.js +0 -1
@@ -1,21 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CC4YJwDI.js","assets/index-BkbwTqmH.js","assets/index-BPf4cmgA.css","assets/index-4NS2mMuQ.css","assets/index-DS-Ah-pZ.js","assets/index-BAmVtXgk.js","assets/index-BT67axp7.css","assets/index-C-tTmNa4.css","assets/index-BhTApVX6.js","assets/baseForm-dqhahTXM.js","assets/baseForm-3VpF68Sz.css","assets/index-D-GbEkoB.css","assets/index-3IxvKwO3.js","assets/index-Crx61Qjc.css","assets/index-DpCdlpoj.js","assets/index-DKxf26_O.css","assets/index-C0-lsmcf.js","assets/compass-DfWJoWl3.js","assets/zap-DyzOTCOX.js","assets/index-BlG-Rcwd.css","assets/index-Ba7wrRXG.js","assets/SectionHeader-BQDU_6TX.js","assets/Card-BC5ydRHh.js","assets/index-DRKEUX85.js","assets/index-BqslPc39.js","assets/index-ClU1uQYs.css","assets/triangle-alert-BaPLcm_f.js","assets/index-HqjZ5P-l.css","assets/index-xPCWyPvk.js","assets/index-CDxeVVlI.js","assets/index-DXFg6tGR.css","assets/index-3FxbJxwu.css","assets/index-FKgvaTum.js","assets/index-BdixrK5I.css","assets/index-CSOt669g.js","assets/index-faRHENEQ.css","assets/index-CbUw1wBM.js","assets/sparkles-Dnyv9lnL.js","assets/index-CoYWdJV1.css","assets/index-ejkbZVVo.js","assets/MonetizationModeSummary-LeYQ02Tv.js","assets/index-BBHaV7vS.js","assets/index-Czg0RYGI.css","assets/layers-kzl3dc3j.js","assets/Detail-DPCqXgFa.js","assets/index-BmS73Skw.js","assets/index-BaQ9eM95.css","assets/list-checks-Ce0l0Ylc.js","assets/MonetizationMode-BGXVb7wG.js","assets/index-wGfWSqnF.js","assets/index-AtMMzkp0.css","assets/index-C947zURI.js","assets/index-_IVh5FZw.js","assets/index-DLHXV9xo.css","assets/index-docEsXsM.css","assets/index-CF4RJ3VA.js","assets/index-DfVst8q1.css","assets/index-BIkx7MZA.js","assets/index-WyNc-BTG.css"])))=>i.map(i=>d[i]);
2
- (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var Ms=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xe(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var vu={exports:{}},Va={},Su={exports:{}},Ee={};var vv;function C_(){if(vv)return Ee;vv=1;var i=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function S(I){return I===null||typeof I!="object"?null:(I=v&&I[v]||I["@@iterator"],typeof I=="function"?I:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,b={};function w(I,H,ae){this.props=I,this.context=H,this.refs=b,this.updater=ae||D}w.prototype.isReactComponent={},w.prototype.setState=function(I,H){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,H,"setState")},w.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function E(){}E.prototype=w.prototype;function R(I,H,ae){this.props=I,this.context=H,this.refs=b,this.updater=ae||D}var O=R.prototype=new E;O.constructor=R,_(O,w.prototype),O.isPureReactComponent=!0;var M=Array.isArray,F=Object.prototype.hasOwnProperty,N={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function G(I,H,ae){var re,ie={},ke=null,ye=null;if(H!=null)for(re in H.ref!==void 0&&(ye=H.ref),H.key!==void 0&&(ke=""+H.key),H)F.call(H,re)&&!A.hasOwnProperty(re)&&(ie[re]=H[re]);var ve=arguments.length-2;if(ve===1)ie.children=ae;else if(1<ve){for(var Ce=Array(ve),Se=0;Se<ve;Se++)Ce[Se]=arguments[Se+2];ie.children=Ce}if(I&&I.defaultProps)for(re in ve=I.defaultProps,ve)ie[re]===void 0&&(ie[re]=ve[re]);return{$$typeof:i,type:I,key:ke,ref:ye,props:ie,_owner:N.current}}function U(I,H){return{$$typeof:i,type:I.type,key:H,ref:I.ref,props:I.props,_owner:I._owner}}function V(I){return typeof I=="object"&&I!==null&&I.$$typeof===i}function B(I){var H={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(ae){return H[ae]})}var te=/\/+/g;function ee(I,H){return typeof I=="object"&&I!==null&&I.key!=null?B(""+I.key):H.toString(36)}function oe(I,H,ae,re,ie){var ke=typeof I;(ke==="undefined"||ke==="boolean")&&(I=null);var ye=!1;if(I===null)ye=!0;else switch(ke){case"string":case"number":ye=!0;break;case"object":switch(I.$$typeof){case i:case e:ye=!0}}if(ye)return ye=I,ie=ie(ye),I=re===""?"."+ee(ye,0):re,M(ie)?(ae="",I!=null&&(ae=I.replace(te,"$&/")+"/"),oe(ie,H,ae,"",function(Se){return Se})):ie!=null&&(V(ie)&&(ie=U(ie,ae+(!ie.key||ye&&ye.key===ie.key?"":(""+ie.key).replace(te,"$&/")+"/")+I)),H.push(ie)),1;if(ye=0,re=re===""?".":re+":",M(I))for(var ve=0;ve<I.length;ve++){ke=I[ve];var Ce=re+ee(ke,ve);ye+=oe(ke,H,ae,Ce,ie)}else if(Ce=S(I),typeof Ce=="function")for(I=Ce.call(I),ve=0;!(ke=I.next()).done;)ke=ke.value,Ce=re+ee(ke,ve++),ye+=oe(ke,H,ae,Ce,ie);else if(ke==="object")throw H=String(I),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.");return ye}function se(I,H,ae){if(I==null)return I;var re=[],ie=0;return oe(I,re,"","",function(ke){return H.call(ae,ke,ie++)}),re}function he(I){if(I._status===-1){var H=I._result;H=H(),H.then(function(ae){(I._status===0||I._status===-1)&&(I._status=1,I._result=ae)},function(ae){(I._status===0||I._status===-1)&&(I._status=2,I._result=ae)}),I._status===-1&&(I._status=0,I._result=H)}if(I._status===1)return I._result.default;throw I._result}var ue={current:null},K={transition:null},J={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:K,ReactCurrentOwner:N};return Ee.Children={map:se,forEach:function(I,H,ae){se(I,function(){H.apply(this,arguments)},ae)},count:function(I){var H=0;return se(I,function(){H++}),H},toArray:function(I){return se(I,function(H){return H})||[]},only:function(I){if(!V(I))throw Error("React.Children.only expected to receive a single React element child.");return I}},Ee.Component=w,Ee.Fragment=n,Ee.Profiler=o,Ee.PureComponent=R,Ee.StrictMode=r,Ee.Suspense=p,Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,Ee.cloneElement=function(I,H,ae){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var re=_({},I.props),ie=I.key,ke=I.ref,ye=I._owner;if(H!=null){if(H.ref!==void 0&&(ke=H.ref,ye=N.current),H.key!==void 0&&(ie=""+H.key),I.type&&I.type.defaultProps)var ve=I.type.defaultProps;for(Ce in H)F.call(H,Ce)&&!A.hasOwnProperty(Ce)&&(re[Ce]=H[Ce]===void 0&&ve!==void 0?ve[Ce]:H[Ce])}var Ce=arguments.length-2;if(Ce===1)re.children=ae;else if(1<Ce){ve=Array(Ce);for(var Se=0;Se<Ce;Se++)ve[Se]=arguments[Se+2];re.children=ve}return{$$typeof:i,type:I.type,key:ie,ref:ke,props:re,_owner:ye}},Ee.createContext=function(I){return I={$$typeof:c,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:s,_context:I},I.Consumer=I},Ee.createElement=G,Ee.createFactory=function(I){var H=G.bind(null,I);return H.type=I,H},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(I){return{$$typeof:u,render:I}},Ee.isValidElement=V,Ee.lazy=function(I){return{$$typeof:y,_payload:{_status:-1,_result:I},_init:he}},Ee.memo=function(I,H){return{$$typeof:g,type:I,compare:H===void 0?null:H}},Ee.startTransition=function(I){var H=K.transition;K.transition={};try{I()}finally{K.transition=H}},Ee.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Ee.useCallback=function(I,H){return ue.current.useCallback(I,H)},Ee.useContext=function(I){return ue.current.useContext(I)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(I){return ue.current.useDeferredValue(I)},Ee.useEffect=function(I,H){return ue.current.useEffect(I,H)},Ee.useId=function(){return ue.current.useId()},Ee.useImperativeHandle=function(I,H,ae){return ue.current.useImperativeHandle(I,H,ae)},Ee.useInsertionEffect=function(I,H){return ue.current.useInsertionEffect(I,H)},Ee.useLayoutEffect=function(I,H){return ue.current.useLayoutEffect(I,H)},Ee.useMemo=function(I,H){return ue.current.useMemo(I,H)},Ee.useReducer=function(I,H,ae){return ue.current.useReducer(I,H,ae)},Ee.useRef=function(I){return ue.current.useRef(I)},Ee.useState=function(I){return ue.current.useState(I)},Ee.useSyncExternalStore=function(I,H,ae){return ue.current.useSyncExternalStore(I,H,ae)},Ee.useTransition=function(){return ue.current.useTransition()},Ee.version="18.2.0",Ee}var Sv;function mo(){return Sv||(Sv=1,Su.exports=C_()),Su.exports}var bv;function k_(){if(bv)return Va;bv=1;var i=mo(),e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(u,p,g){var y,v={},S=null,D=null;g!==void 0&&(S=""+g),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(D=p.ref);for(y in p)r.call(p,y)&&!s.hasOwnProperty(y)&&(v[y]=p[y]);if(u&&u.defaultProps)for(y in p=u.defaultProps,p)v[y]===void 0&&(v[y]=p[y]);return{$$typeof:e,type:u,key:S,ref:D,props:v,_owner:o.current}}return Va.Fragment=n,Va.jsx=c,Va.jsxs=c,Va}var wv;function P_(){return wv||(wv=1,vu.exports=k_()),vu.exports}var P=P_(),js={},bu={exports:{}},Ft={},wu={exports:{}},Cu={};var Cv;function D_(){return Cv||(Cv=1,(function(i){function e(K,J){var I=K.length;K.push(J);e:for(;0<I;){var H=I-1>>>1,ae=K[H];if(0<o(ae,J))K[H]=J,K[I]=ae,I=H;else break e}}function n(K){return K.length===0?null:K[0]}function r(K){if(K.length===0)return null;var J=K[0],I=K.pop();if(I!==J){K[0]=I;e:for(var H=0,ae=K.length,re=ae>>>1;H<re;){var ie=2*(H+1)-1,ke=K[ie],ye=ie+1,ve=K[ye];if(0>o(ke,I))ye<ae&&0>o(ve,ke)?(K[H]=ve,K[ye]=I,H=ye):(K[H]=ke,K[ie]=I,H=ie);else if(ye<ae&&0>o(ve,I))K[H]=ve,K[ye]=I,H=ye;else break e}}return J}function o(K,J){var I=K.sortIndex-J.sortIndex;return I!==0?I:K.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;i.unstable_now=function(){return s.now()}}else{var c=Date,u=c.now();i.unstable_now=function(){return c.now()-u}}var p=[],g=[],y=1,v=null,S=3,D=!1,_=!1,b=!1,w=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(K){for(var J=n(g);J!==null;){if(J.callback===null)r(g);else if(J.startTime<=K)r(g),J.sortIndex=J.expirationTime,e(p,J);else break;J=n(g)}}function M(K){if(b=!1,O(K),!_)if(n(p)!==null)_=!0,he(F);else{var J=n(g);J!==null&&ue(M,J.startTime-K)}}function F(K,J){_=!1,b&&(b=!1,E(G),G=-1),D=!0;var I=S;try{for(O(J),v=n(p);v!==null&&(!(v.expirationTime>J)||K&&!B());){var H=v.callback;if(typeof H=="function"){v.callback=null,S=v.priorityLevel;var ae=H(v.expirationTime<=J);J=i.unstable_now(),typeof ae=="function"?v.callback=ae:v===n(p)&&r(p),O(J)}else r(p);v=n(p)}if(v!==null)var re=!0;else{var ie=n(g);ie!==null&&ue(M,ie.startTime-J),re=!1}return re}finally{v=null,S=I,D=!1}}var N=!1,A=null,G=-1,U=5,V=-1;function B(){return!(i.unstable_now()-V<U)}function te(){if(A!==null){var K=i.unstable_now();V=K;var J=!0;try{J=A(!0,K)}finally{J?ee():(N=!1,A=null)}}else N=!1}var ee;if(typeof R=="function")ee=function(){R(te)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,se=oe.port2;oe.port1.onmessage=te,ee=function(){se.postMessage(null)}}else ee=function(){w(te,0)};function he(K){A=K,N||(N=!0,ee())}function ue(K,J){G=w(function(){K(i.unstable_now())},J)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(K){K.callback=null},i.unstable_continueExecution=function(){_||D||(_=!0,he(F))},i.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<K?Math.floor(1e3/K):5},i.unstable_getCurrentPriorityLevel=function(){return S},i.unstable_getFirstCallbackNode=function(){return n(p)},i.unstable_next=function(K){switch(S){case 1:case 2:case 3:var J=3;break;default:J=S}var I=S;S=J;try{return K()}finally{S=I}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(K,J){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var I=S;S=K;try{return J()}finally{S=I}},i.unstable_scheduleCallback=function(K,J,I){var H=i.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?H+I:H):I=H,K){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return ae=I+ae,K={id:y++,callback:J,priorityLevel:K,startTime:I,expirationTime:ae,sortIndex:-1},I>H?(K.sortIndex=I,e(g,K),n(p)===null&&K===n(g)&&(b?(E(G),G=-1):b=!0,ue(M,I-H))):(K.sortIndex=ae,e(p,K),_||D||(_=!0,he(F))),K},i.unstable_shouldYield=B,i.unstable_wrapCallback=function(K){var J=S;return function(){var I=S;S=J;try{return K.apply(this,arguments)}finally{S=I}}}})(Cu)),Cu}var kv;function __(){return kv||(kv=1,wu.exports=D_()),wu.exports}var Pv;function T_(){if(Pv)return Ft;Pv=1;var i=mo(),e=__();function n(t){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+t,l=1;l<arguments.length;l++)a+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+t+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,o={};function s(t,a){c(t,a),c(t+"Capture",a)}function c(t,a){for(o[t]=a,t=0;t<a.length;t++)r.add(a[t])}var u=!(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]*$/,y={},v={};function S(t){return p.call(v,t)?!0:p.call(y,t)?!1:g.test(t)?v[t]=!0:(y[t]=!0,!1)}function D(t,a,l,d){if(l!==null&&l.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return d?!1:l!==null?!l.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function _(t,a,l,d){if(a===null||typeof a>"u"||D(t,a,l,d))return!0;if(d)return!1;if(l!==null)switch(l.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function b(t,a,l,d,h,f,C){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=d,this.attributeNamespace=h,this.mustUseProperty=l,this.propertyName=t,this.type=a,this.sanitizeURL=f,this.removeEmptyString=C}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){w[t]=new b(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var a=t[0];w[a]=new b(a,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){w[t]=new b(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){w[t]=new b(t,2,!1,t,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(t){w[t]=new b(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){w[t]=new b(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){w[t]=new b(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){w[t]=new b(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){w[t]=new b(t,5,!1,t.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function R(t){return t[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(t){var a=t.replace(E,R);w[a]=new b(a,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var a=t.replace(E,R);w[a]=new b(a,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var a=t.replace(E,R);w[a]=new b(a,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){w[t]=new b(t,1,!1,t.toLowerCase(),null,!1,!1)}),w.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){w[t]=new b(t,1,!1,t.toLowerCase(),null,!0,!0)});function O(t,a,l,d){var h=w.hasOwnProperty(a)?w[a]:null;(h!==null?h.type!==0:d||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(_(a,l,h,d)&&(l=null),d||h===null?S(a)&&(l===null?t.removeAttribute(a):t.setAttribute(a,""+l)):h.mustUseProperty?t[h.propertyName]=l===null?h.type===3?!1:"":l:(a=h.attributeName,d=h.attributeNamespace,l===null?t.removeAttribute(a):(h=h.type,l=h===3||h===4&&l===!0?"":""+l,d?t.setAttributeNS(d,a,l):t.setAttribute(a,l))))}var M=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),N=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),B=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),ee=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),K=Symbol.iterator;function J(t){return t===null||typeof t!="object"?null:(t=K&&t[K]||t["@@iterator"],typeof t=="function"?t:null)}var I=Object.assign,H;function ae(t){if(H===void 0)try{throw Error()}catch(l){var a=l.stack.trim().match(/\n( *(at )?)/);H=a&&a[1]||""}return`
3
- `+H+t}var re=!1;function ie(t,a){if(!t||re)return"";re=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(q){var d=q}Reflect.construct(t,[],a)}else{try{a.call()}catch(q){d=q}t.call(a.prototype)}else{try{throw Error()}catch(q){d=q}t()}}catch(q){if(q&&d&&typeof q.stack=="string"){for(var h=q.stack.split(`
4
- `),f=d.stack.split(`
5
- `),C=h.length-1,$=f.length-1;1<=C&&0<=$&&h[C]!==f[$];)$--;for(;1<=C&&0<=$;C--,$--)if(h[C]!==f[$]){if(C!==1||$!==1)do if(C--,$--,0>$||h[C]!==f[$]){var L=`
6
- `+h[C].replace(" at new "," at ");return t.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",t.displayName)),L}while(1<=C&&0<=$);break}}}finally{re=!1,Error.prepareStackTrace=l}return(t=t?t.displayName||t.name:"")?ae(t):""}function ke(t){switch(t.tag){case 5:return ae(t.type);case 16:return ae("Lazy");case 13:return ae("Suspense");case 19:return ae("SuspenseList");case 0:case 2:case 15:return t=ie(t.type,!1),t;case 11:return t=ie(t.type.render,!1),t;case 1:return t=ie(t.type,!0),t;default:return""}}function ye(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case A:return"Fragment";case N:return"Portal";case U:return"Profiler";case G:return"StrictMode";case ee:return"Suspense";case oe:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case B:return(t.displayName||"Context")+".Consumer";case V:return(t._context.displayName||"Context")+".Provider";case te:var a=t.render;return t=t.displayName,t||(t=a.displayName||a.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case se:return a=t.displayName||null,a!==null?a:ye(t.type)||"Memo";case he:a=t._payload,t=t._init;try{return ye(t(a))}catch{}}return null}function ve(t){var a=t.type;switch(t.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=a.render,t=t.displayName||t.name||"",a.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ye(a);case 8:return a===G?"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 a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function Ce(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Se(t){var a=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function yt(t){var a=Se(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,a),d=""+t[a];if(!t.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var h=l.get,f=l.set;return Object.defineProperty(t,a,{configurable:!0,get:function(){return h.call(this)},set:function(C){d=""+C,f.call(this,C)}}),Object.defineProperty(t,a,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(C){d=""+C},stopTracking:function(){t._valueTracker=null,delete t[a]}}}}function Dt(t){t._valueTracker||(t._valueTracker=yt(t))}function ur(t){if(!t)return!1;var a=t._valueTracker;if(!a)return!0;var l=a.getValue(),d="";return t&&(d=Se(t)?t.checked?"true":"false":t.value),t=d,t!==l?(a.setValue(t),!0):!1}function $n(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Rn(t,a){var l=a.checked;return I({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??t._wrapperState.initialChecked})}function Oe(t,a){var l=a.defaultValue==null?"":a.defaultValue,d=a.checked!=null?a.checked:a.defaultChecked;l=Ce(a.value!=null?a.value:l),t._wrapperState={initialChecked:d,initialValue:l,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function tn(t,a){a=a.checked,a!=null&&O(t,"checked",a,!1)}function Te(t,a){tn(t,a);var l=Ce(a.value),d=a.type;if(l!=null)d==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+l):t.value!==""+l&&(t.value=""+l);else if(d==="submit"||d==="reset"){t.removeAttribute("value");return}a.hasOwnProperty("value")?_t(t,a.type,l):a.hasOwnProperty("defaultValue")&&_t(t,a.type,Ce(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(t.defaultChecked=!!a.defaultChecked)}function zt(t,a,l){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var d=a.type;if(!(d!=="submit"&&d!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+t._wrapperState.initialValue,l||a===t.value||(t.value=a),t.defaultValue=a}l=t.name,l!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,l!==""&&(t.name=l)}function _t(t,a,l){(a!=="number"||$n(t.ownerDocument)!==t)&&(l==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+l&&(t.defaultValue=""+l))}var je=Array.isArray;function $e(t,a,l,d){if(t=t.options,a){a={};for(var h=0;h<l.length;h++)a["$"+l[h]]=!0;for(l=0;l<t.length;l++)h=a.hasOwnProperty("$"+t[l].value),t[l].selected!==h&&(t[l].selected=h),h&&d&&(t[l].defaultSelected=!0)}else{for(l=""+Ce(l),a=null,h=0;h<t.length;h++){if(t[h].value===l){t[h].selected=!0,d&&(t[h].defaultSelected=!0);return}a!==null||t[h].disabled||(a=t[h])}a!==null&&(a.selected=!0)}}function at(t,a){if(a.dangerouslySetInnerHTML!=null)throw Error(n(91));return I({},a,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Ge(t,a){var l=a.value;if(l==null){if(l=a.children,a=a.defaultValue,l!=null){if(a!=null)throw Error(n(92));if(je(l)){if(1<l.length)throw Error(n(93));l=l[0]}a=l}a==null&&(a=""),l=a}t._wrapperState={initialValue:Ce(l)}}function Tt(t,a){var l=Ce(a.value),d=Ce(a.defaultValue);l!=null&&(l=""+l,l!==t.value&&(t.value=l),a.defaultValue==null&&t.defaultValue!==l&&(t.defaultValue=l)),d!=null&&(t.defaultValue=""+d)}function Ot(t){var a=t.textContent;a===t._wrapperState.initialValue&&a!==""&&a!==null&&(t.value=a)}function On(t){switch(t){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 nn(t,a){return t==null||t==="http://www.w3.org/1999/xhtml"?On(a):t==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Je,Et=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,l,d,h){MSApp.execUnsafeLocalFunction(function(){return t(a,l,d,h)})}:t})(function(t,a){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=a;else{for(Je=Je||document.createElement("div"),Je.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=Je.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;a.firstChild;)t.appendChild(a.firstChild)}});function rn(t,a){if(a){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=a;return}}t.textContent=a}var fn={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},dr=["Webkit","ms","Moz","O"];Object.keys(fn).forEach(function(t){dr.forEach(function(a){a=a+t.charAt(0).toUpperCase()+t.substring(1),fn[a]=fn[t]})});function xt(t,a,l){return a==null||typeof a=="boolean"||a===""?"":l||typeof a!="number"||a===0||fn.hasOwnProperty(t)&&fn[t]?(""+a).trim():a+"px"}function qt(t,a){t=t.style;for(var l in a)if(a.hasOwnProperty(l)){var d=l.indexOf("--")===0,h=xt(l,a[l],d);l==="float"&&(l="cssFloat"),d?t.setProperty(l,h):t[l]=h}}var xo=I({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 pr(t,a){if(a){if(xo[t]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(n(137,t));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(n(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(n(61))}if(a.style!=null&&typeof a.style!="object")throw Error(n(62))}}function gr(t,a){if(t.indexOf("-")===-1)return typeof a.is=="string";switch(t){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 qr=null;function Ur(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Br=null,Nn=null,Ut=null;function Hr(t){if(t=Ra(t)){if(typeof Br!="function")throw Error(n(280));var a=t.stateNode;a&&(a=Jo(a),Br(t.stateNode,t.type,a))}}function Hn(t){Nn?Ut?Ut.push(t):Ut=[t]:Nn=t}function Vr(){if(Nn){var t=Nn,a=Ut;if(Ut=Nn=null,Hr(t),a)for(t=0;t<a.length;t++)Hr(a[t])}}function ca(t,a){return t(a)}function ua(){}var Al=!1;function jm(t,a,l){if(Al)return t(a,l);Al=!0;try{return ca(t,a,l)}finally{Al=!1,(Nn!==null||Ut!==null)&&(ua(),Vr())}}function da(t,a){var l=t.stateNode;if(l===null)return null;var d=Jo(l);if(d===null)return null;l=d[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(t=t.type,d=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!d;break e;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(n(231,a,typeof l));return l}var Ll=!1;if(u)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){Ll=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch{Ll=!1}function EP(t,a,l,d,h,f,C,$,L){var q=Array.prototype.slice.call(arguments,3);try{a.apply(l,q)}catch(Y){this.onError(Y)}}var ga=!1,Io=null,$o=!1,Ml=null,xP={onError:function(t){ga=!0,Io=t}};function IP(t,a,l,d,h,f,C,$,L){ga=!1,Io=null,EP.apply(xP,arguments)}function $P(t,a,l,d,h,f,C,$,L){if(IP.apply(this,arguments),ga){if(ga){var q=Io;ga=!1,Io=null}else throw Error(n(198));$o||($o=!0,Ml=q)}}function Kr(t){var a=t,l=t;if(t.alternate)for(;a.return;)a=a.return;else{t=a;do a=t,(a.flags&4098)!==0&&(l=a.return),t=a.return;while(t)}return a.tag===3?l:null}function Fm(t){if(t.tag===13){var a=t.memoizedState;if(a===null&&(t=t.alternate,t!==null&&(a=t.memoizedState)),a!==null)return a.dehydrated}return null}function Gm(t){if(Kr(t)!==t)throw Error(n(188))}function RP(t){var a=t.alternate;if(!a){if(a=Kr(t),a===null)throw Error(n(188));return a!==t?null:t}for(var l=t,d=a;;){var h=l.return;if(h===null)break;var f=h.alternate;if(f===null){if(d=h.return,d!==null){l=d;continue}break}if(h.child===f.child){for(f=h.child;f;){if(f===l)return Gm(h),t;if(f===d)return Gm(h),a;f=f.sibling}throw Error(n(188))}if(l.return!==d.return)l=h,d=f;else{for(var C=!1,$=h.child;$;){if($===l){C=!0,l=h,d=f;break}if($===d){C=!0,d=h,l=f;break}$=$.sibling}if(!C){for($=f.child;$;){if($===l){C=!0,l=f,d=h;break}if($===d){C=!0,d=f,l=h;break}$=$.sibling}if(!C)throw Error(n(189))}}if(l.alternate!==d)throw Error(n(190))}if(l.tag!==3)throw Error(n(188));return l.stateNode.current===l?t:a}function Wm(t){return t=RP(t),t!==null?zm(t):null}function zm(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var a=zm(t);if(a!==null)return a;t=t.sibling}return null}var qm=e.unstable_scheduleCallback,Um=e.unstable_cancelCallback,OP=e.unstable_shouldYield,NP=e.unstable_requestPaint,Ze=e.unstable_now,AP=e.unstable_getCurrentPriorityLevel,jl=e.unstable_ImmediatePriority,Bm=e.unstable_UserBlockingPriority,Ro=e.unstable_NormalPriority,LP=e.unstable_LowPriority,Hm=e.unstable_IdlePriority,Oo=null,An=null;function MP(t){if(An&&typeof An.onCommitFiberRoot=="function")try{An.onCommitFiberRoot(Oo,t,void 0,(t.current.flags&128)===128)}catch{}}var yn=Math.clz32?Math.clz32:GP,jP=Math.log,FP=Math.LN2;function GP(t){return t>>>=0,t===0?32:31-(jP(t)/FP|0)|0}var No=64,Ao=4194304;function ha(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Lo(t,a){var l=t.pendingLanes;if(l===0)return 0;var d=0,h=t.suspendedLanes,f=t.pingedLanes,C=l&268435455;if(C!==0){var $=C&~h;$!==0?d=ha($):(f&=C,f!==0&&(d=ha(f)))}else C=l&~h,C!==0?d=ha(C):f!==0&&(d=ha(f));if(d===0)return 0;if(a!==0&&a!==d&&(a&h)===0&&(h=d&-d,f=a&-a,h>=f||h===16&&(f&4194240)!==0))return a;if((d&4)!==0&&(d|=l&16),a=t.entangledLanes,a!==0)for(t=t.entanglements,a&=d;0<a;)l=31-yn(a),h=1<<l,d|=t[l],a&=~h;return d}function WP(t,a){switch(t){case 1:case 2:case 4:return a+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 a+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 zP(t,a){for(var l=t.suspendedLanes,d=t.pingedLanes,h=t.expirationTimes,f=t.pendingLanes;0<f;){var C=31-yn(f),$=1<<C,L=h[C];L===-1?(($&l)===0||($&d)!==0)&&(h[C]=WP($,a)):L<=a&&(t.expiredLanes|=$),f&=~$}}function Fl(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Vm(){var t=No;return No<<=1,(No&4194240)===0&&(No=64),t}function Gl(t){for(var a=[],l=0;31>l;l++)a.push(t);return a}function ma(t,a,l){t.pendingLanes|=a,a!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,a=31-yn(a),t[a]=l}function qP(t,a){var l=t.pendingLanes&~a;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=a,t.mutableReadLanes&=a,t.entangledLanes&=a,a=t.entanglements;var d=t.eventTimes;for(t=t.expirationTimes;0<l;){var h=31-yn(l),f=1<<h;a[h]=0,d[h]=-1,t[h]=-1,l&=~f}}function Wl(t,a){var l=t.entangledLanes|=a;for(t=t.entanglements;l;){var d=31-yn(l),h=1<<d;h&a|t[d]&a&&(t[d]|=a),l&=~h}}var Fe=0;function Km(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var Qm,zl,Xm,Ym,Jm,ql=!1,Mo=[],hr=null,mr=null,fr=null,fa=new Map,ya=new Map,yr=[],UP="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 Zm(t,a){switch(t){case"focusin":case"focusout":hr=null;break;case"dragenter":case"dragleave":mr=null;break;case"mouseover":case"mouseout":fr=null;break;case"pointerover":case"pointerout":fa.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ya.delete(a.pointerId)}}function va(t,a,l,d,h,f){return t===null||t.nativeEvent!==f?(t={blockedOn:a,domEventName:l,eventSystemFlags:d,nativeEvent:f,targetContainers:[h]},a!==null&&(a=Ra(a),a!==null&&zl(a)),t):(t.eventSystemFlags|=d,a=t.targetContainers,h!==null&&a.indexOf(h)===-1&&a.push(h),t)}function BP(t,a,l,d,h){switch(a){case"focusin":return hr=va(hr,t,a,l,d,h),!0;case"dragenter":return mr=va(mr,t,a,l,d,h),!0;case"mouseover":return fr=va(fr,t,a,l,d,h),!0;case"pointerover":var f=h.pointerId;return fa.set(f,va(fa.get(f)||null,t,a,l,d,h)),!0;case"gotpointercapture":return f=h.pointerId,ya.set(f,va(ya.get(f)||null,t,a,l,d,h)),!0}return!1}function ef(t){var a=Qr(t.target);if(a!==null){var l=Kr(a);if(l!==null){if(a=l.tag,a===13){if(a=Fm(l),a!==null){t.blockedOn=a,Jm(t.priority,function(){Xm(l)});return}}else if(a===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function jo(t){if(t.blockedOn!==null)return!1;for(var a=t.targetContainers;0<a.length;){var l=Bl(t.domEventName,t.eventSystemFlags,a[0],t.nativeEvent);if(l===null){l=t.nativeEvent;var d=new l.constructor(l.type,l);qr=d,l.target.dispatchEvent(d),qr=null}else return a=Ra(l),a!==null&&zl(a),t.blockedOn=l,!1;a.shift()}return!0}function tf(t,a,l){jo(t)&&l.delete(a)}function HP(){ql=!1,hr!==null&&jo(hr)&&(hr=null),mr!==null&&jo(mr)&&(mr=null),fr!==null&&jo(fr)&&(fr=null),fa.forEach(tf),ya.forEach(tf)}function Sa(t,a){t.blockedOn===a&&(t.blockedOn=null,ql||(ql=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,HP)))}function ba(t){function a(h){return Sa(h,t)}if(0<Mo.length){Sa(Mo[0],t);for(var l=1;l<Mo.length;l++){var d=Mo[l];d.blockedOn===t&&(d.blockedOn=null)}}for(hr!==null&&Sa(hr,t),mr!==null&&Sa(mr,t),fr!==null&&Sa(fr,t),fa.forEach(a),ya.forEach(a),l=0;l<yr.length;l++)d=yr[l],d.blockedOn===t&&(d.blockedOn=null);for(;0<yr.length&&(l=yr[0],l.blockedOn===null);)ef(l),l.blockedOn===null&&yr.shift()}var wi=M.ReactCurrentBatchConfig,Fo=!0;function VP(t,a,l,d){var h=Fe,f=wi.transition;wi.transition=null;try{Fe=1,Ul(t,a,l,d)}finally{Fe=h,wi.transition=f}}function KP(t,a,l,d){var h=Fe,f=wi.transition;wi.transition=null;try{Fe=4,Ul(t,a,l,d)}finally{Fe=h,wi.transition=f}}function Ul(t,a,l,d){if(Fo){var h=Bl(t,a,l,d);if(h===null)lc(t,a,d,Go,l),Zm(t,d);else if(BP(h,t,a,l,d))d.stopPropagation();else if(Zm(t,d),a&4&&-1<UP.indexOf(t)){for(;h!==null;){var f=Ra(h);if(f!==null&&Qm(f),f=Bl(t,a,l,d),f===null&&lc(t,a,d,Go,l),f===h)break;h=f}h!==null&&d.stopPropagation()}else lc(t,a,d,null,l)}}var Go=null;function Bl(t,a,l,d){if(Go=null,t=Ur(d),t=Qr(t),t!==null)if(a=Kr(t),a===null)t=null;else if(l=a.tag,l===13){if(t=Fm(a),t!==null)return t;t=null}else if(l===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;t=null}else a!==t&&(t=null);return Go=t,null}function nf(t){switch(t){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(AP()){case jl:return 1;case Bm:return 4;case Ro:case LP:return 16;case Hm:return 536870912;default:return 16}default:return 16}}var vr=null,Hl=null,Wo=null;function rf(){if(Wo)return Wo;var t,a=Hl,l=a.length,d,h="value"in vr?vr.value:vr.textContent,f=h.length;for(t=0;t<l&&a[t]===h[t];t++);var C=l-t;for(d=1;d<=C&&a[l-d]===h[f-d];d++);return Wo=h.slice(t,1<d?1-d:void 0)}function zo(t){var a=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),32<=t||t===13?t:0}function qo(){return!0}function af(){return!1}function Bt(t){function a(l,d,h,f,C){this._reactName=l,this._targetInst=h,this.type=d,this.nativeEvent=f,this.target=C,this.currentTarget=null;for(var $ in t)t.hasOwnProperty($)&&(l=t[$],this[$]=l?l(f):f[$]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?qo:af,this.isPropagationStopped=af,this}return I(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=qo)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=qo)},persist:function(){},isPersistent:qo}),a}var Ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vl=Bt(Ci),wa=I({},Ci,{view:0,detail:0}),QP=Bt(wa),Kl,Ql,Ca,Uo=I({},wa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yl,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ca&&(Ca&&t.type==="mousemove"?(Kl=t.screenX-Ca.screenX,Ql=t.screenY-Ca.screenY):Ql=Kl=0,Ca=t),Kl)},movementY:function(t){return"movementY"in t?t.movementY:Ql}}),of=Bt(Uo),XP=I({},Uo,{dataTransfer:0}),YP=Bt(XP),JP=I({},wa,{relatedTarget:0}),Xl=Bt(JP),ZP=I({},Ci,{animationName:0,elapsedTime:0,pseudoElement:0}),eD=Bt(ZP),tD=I({},Ci,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),nD=Bt(tD),rD=I({},Ci,{data:0}),sf=Bt(rD),iD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},aD={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"},oD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sD(t){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(t):(t=oD[t])?!!a[t]:!1}function Yl(){return sD}var lD=I({},wa,{key:function(t){if(t.key){var a=iD[t.key]||t.key;if(a!=="Unidentified")return a}return t.type==="keypress"?(t=zo(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?aD[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yl,charCode:function(t){return t.type==="keypress"?zo(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?zo(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),cD=Bt(lD),uD=I({},Uo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lf=Bt(uD),dD=I({},wa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yl}),pD=Bt(dD),gD=I({},Ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),hD=Bt(gD),mD=I({},Uo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),fD=Bt(mD),yD=[9,13,27,32],Jl=u&&"CompositionEvent"in window,ka=null;u&&"documentMode"in document&&(ka=document.documentMode);var vD=u&&"TextEvent"in window&&!ka,cf=u&&(!Jl||ka&&8<ka&&11>=ka),uf=" ",df=!1;function pf(t,a){switch(t){case"keyup":return yD.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ki=!1;function SD(t,a){switch(t){case"compositionend":return gf(a);case"keypress":return a.which!==32?null:(df=!0,uf);case"textInput":return t=a.data,t===uf&&df?null:t;default:return null}}function bD(t,a){if(ki)return t==="compositionend"||!Jl&&pf(t,a)?(t=rf(),Wo=Hl=vr=null,ki=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return cf&&a.locale!=="ko"?null:a.data;default:return null}}var wD={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 hf(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a==="input"?!!wD[t.type]:a==="textarea"}function mf(t,a,l,d){Hn(d),a=Qo(a,"onChange"),0<a.length&&(l=new Vl("onChange","change",null,l,d),t.push({event:l,listeners:a}))}var Pa=null,Da=null;function CD(t){Of(t,0)}function Bo(t){var a=Ei(t);if(ur(a))return t}function kD(t,a){if(t==="change")return a}var ff=!1;if(u){var Zl;if(u){var ec="oninput"in document;if(!ec){var yf=document.createElement("div");yf.setAttribute("oninput","return;"),ec=typeof yf.oninput=="function"}Zl=ec}else Zl=!1;ff=Zl&&(!document.documentMode||9<document.documentMode)}function vf(){Pa&&(Pa.detachEvent("onpropertychange",Sf),Da=Pa=null)}function Sf(t){if(t.propertyName==="value"&&Bo(Da)){var a=[];mf(a,Da,t,Ur(t)),jm(CD,a)}}function PD(t,a,l){t==="focusin"?(vf(),Pa=a,Da=l,Pa.attachEvent("onpropertychange",Sf)):t==="focusout"&&vf()}function DD(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Bo(Da)}function _D(t,a){if(t==="click")return Bo(a)}function TD(t,a){if(t==="input"||t==="change")return Bo(a)}function ED(t,a){return t===a&&(t!==0||1/t===1/a)||t!==t&&a!==a}var vn=typeof Object.is=="function"?Object.is:ED;function _a(t,a){if(vn(t,a))return!0;if(typeof t!="object"||t===null||typeof a!="object"||a===null)return!1;var l=Object.keys(t),d=Object.keys(a);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var h=l[d];if(!p.call(a,h)||!vn(t[h],a[h]))return!1}return!0}function bf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function wf(t,a){var l=bf(t);t=0;for(var d;l;){if(l.nodeType===3){if(d=t+l.textContent.length,t<=a&&d>=a)return{node:l,offset:a-t};t=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=bf(l)}}function Cf(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?Cf(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function kf(){for(var t=window,a=$n();a instanceof t.HTMLIFrameElement;){try{var l=typeof a.contentWindow.location.href=="string"}catch{l=!1}if(l)t=a.contentWindow;else break;a=$n(t.document)}return a}function tc(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}function xD(t){var a=kf(),l=t.focusedElem,d=t.selectionRange;if(a!==l&&l&&l.ownerDocument&&Cf(l.ownerDocument.documentElement,l)){if(d!==null&&tc(l)){if(a=d.start,t=d.end,t===void 0&&(t=a),"selectionStart"in l)l.selectionStart=a,l.selectionEnd=Math.min(t,l.value.length);else if(t=(a=l.ownerDocument||document)&&a.defaultView||window,t.getSelection){t=t.getSelection();var h=l.textContent.length,f=Math.min(d.start,h);d=d.end===void 0?f:Math.min(d.end,h),!t.extend&&f>d&&(h=d,d=f,f=h),h=wf(l,f);var C=wf(l,d);h&&C&&(t.rangeCount!==1||t.anchorNode!==h.node||t.anchorOffset!==h.offset||t.focusNode!==C.node||t.focusOffset!==C.offset)&&(a=a.createRange(),a.setStart(h.node,h.offset),t.removeAllRanges(),f>d?(t.addRange(a),t.extend(C.node,C.offset)):(a.setEnd(C.node,C.offset),t.addRange(a)))}}for(a=[],t=l;t=t.parentNode;)t.nodeType===1&&a.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<a.length;l++)t=a[l],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var ID=u&&"documentMode"in document&&11>=document.documentMode,Pi=null,nc=null,Ta=null,rc=!1;function Pf(t,a,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;rc||Pi==null||Pi!==$n(d)||(d=Pi,"selectionStart"in d&&tc(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Ta&&_a(Ta,d)||(Ta=d,d=Qo(nc,"onSelect"),0<d.length&&(a=new Vl("onSelect","select",null,a,l),t.push({event:a,listeners:d}),a.target=Pi)))}function Ho(t,a){var l={};return l[t.toLowerCase()]=a.toLowerCase(),l["Webkit"+t]="webkit"+a,l["Moz"+t]="moz"+a,l}var Di={animationend:Ho("Animation","AnimationEnd"),animationiteration:Ho("Animation","AnimationIteration"),animationstart:Ho("Animation","AnimationStart"),transitionend:Ho("Transition","TransitionEnd")},ic={},Df={};u&&(Df=document.createElement("div").style,"AnimationEvent"in window||(delete Di.animationend.animation,delete Di.animationiteration.animation,delete Di.animationstart.animation),"TransitionEvent"in window||delete Di.transitionend.transition);function Vo(t){if(ic[t])return ic[t];if(!Di[t])return t;var a=Di[t],l;for(l in a)if(a.hasOwnProperty(l)&&l in Df)return ic[t]=a[l];return t}var _f=Vo("animationend"),Tf=Vo("animationiteration"),Ef=Vo("animationstart"),xf=Vo("transitionend"),If=new Map,$f="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 Sr(t,a){If.set(t,a),s(a,[t])}for(var ac=0;ac<$f.length;ac++){var oc=$f[ac],$D=oc.toLowerCase(),RD=oc[0].toUpperCase()+oc.slice(1);Sr($D,"on"+RD)}Sr(_f,"onAnimationEnd"),Sr(Tf,"onAnimationIteration"),Sr(Ef,"onAnimationStart"),Sr("dblclick","onDoubleClick"),Sr("focusin","onFocus"),Sr("focusout","onBlur"),Sr(xf,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ea="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(" "),OD=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ea));function Rf(t,a,l){var d=t.type||"unknown-event";t.currentTarget=l,$P(d,a,void 0,t),t.currentTarget=null}function Of(t,a){a=(a&4)!==0;for(var l=0;l<t.length;l++){var d=t[l],h=d.event;d=d.listeners;e:{var f=void 0;if(a)for(var C=d.length-1;0<=C;C--){var $=d[C],L=$.instance,q=$.currentTarget;if($=$.listener,L!==f&&h.isPropagationStopped())break e;Rf(h,$,q),f=L}else for(C=0;C<d.length;C++){if($=d[C],L=$.instance,q=$.currentTarget,$=$.listener,L!==f&&h.isPropagationStopped())break e;Rf(h,$,q),f=L}}}if($o)throw t=Ml,$o=!1,Ml=null,t}function ze(t,a){var l=a[hc];l===void 0&&(l=a[hc]=new Set);var d=t+"__bubble";l.has(d)||(Nf(a,t,2,!1),l.add(d))}function sc(t,a,l){var d=0;a&&(d|=4),Nf(l,t,d,a)}var Ko="_reactListening"+Math.random().toString(36).slice(2);function xa(t){if(!t[Ko]){t[Ko]=!0,r.forEach(function(l){l!=="selectionchange"&&(OD.has(l)||sc(l,!1,t),sc(l,!0,t))});var a=t.nodeType===9?t:t.ownerDocument;a===null||a[Ko]||(a[Ko]=!0,sc("selectionchange",!1,a))}}function Nf(t,a,l,d){switch(nf(a)){case 1:var h=VP;break;case 4:h=KP;break;default:h=Ul}l=h.bind(null,a,l,t),h=void 0,!Ll||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(h=!0),d?h!==void 0?t.addEventListener(a,l,{capture:!0,passive:h}):t.addEventListener(a,l,!0):h!==void 0?t.addEventListener(a,l,{passive:h}):t.addEventListener(a,l,!1)}function lc(t,a,l,d,h){var f=d;if((a&1)===0&&(a&2)===0&&d!==null)e:for(;;){if(d===null)return;var C=d.tag;if(C===3||C===4){var $=d.stateNode.containerInfo;if($===h||$.nodeType===8&&$.parentNode===h)break;if(C===4)for(C=d.return;C!==null;){var L=C.tag;if((L===3||L===4)&&(L=C.stateNode.containerInfo,L===h||L.nodeType===8&&L.parentNode===h))return;C=C.return}for(;$!==null;){if(C=Qr($),C===null)return;if(L=C.tag,L===5||L===6){d=f=C;continue e}$=$.parentNode}}d=d.return}jm(function(){var q=f,Y=Ur(l),Z=[];e:{var Q=If.get(t);if(Q!==void 0){var le=Vl,de=t;switch(t){case"keypress":if(zo(l)===0)break e;case"keydown":case"keyup":le=cD;break;case"focusin":de="focus",le=Xl;break;case"focusout":de="blur",le=Xl;break;case"beforeblur":case"afterblur":le=Xl;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":le=of;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":le=YP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":le=pD;break;case _f:case Tf:case Ef:le=eD;break;case xf:le=hD;break;case"scroll":le=QP;break;case"wheel":le=fD;break;case"copy":case"cut":case"paste":le=nD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":le=lf}var pe=(a&4)!==0,et=!pe&&t==="scroll",W=pe?Q!==null?Q+"Capture":null:Q;pe=[];for(var j=q,z;j!==null;){z=j;var ne=z.stateNode;if(z.tag===5&&ne!==null&&(z=ne,W!==null&&(ne=da(j,W),ne!=null&&pe.push(Ia(j,ne,z)))),et)break;j=j.return}0<pe.length&&(Q=new le(Q,de,null,l,Y),Z.push({event:Q,listeners:pe}))}}if((a&7)===0){e:{if(Q=t==="mouseover"||t==="pointerover",le=t==="mouseout"||t==="pointerout",Q&&l!==qr&&(de=l.relatedTarget||l.fromElement)&&(Qr(de)||de[Vn]))break e;if((le||Q)&&(Q=Y.window===Y?Y:(Q=Y.ownerDocument)?Q.defaultView||Q.parentWindow:window,le?(de=l.relatedTarget||l.toElement,le=q,de=de?Qr(de):null,de!==null&&(et=Kr(de),de!==et||de.tag!==5&&de.tag!==6)&&(de=null)):(le=null,de=q),le!==de)){if(pe=of,ne="onMouseLeave",W="onMouseEnter",j="mouse",(t==="pointerout"||t==="pointerover")&&(pe=lf,ne="onPointerLeave",W="onPointerEnter",j="pointer"),et=le==null?Q:Ei(le),z=de==null?Q:Ei(de),Q=new pe(ne,j+"leave",le,l,Y),Q.target=et,Q.relatedTarget=z,ne=null,Qr(Y)===q&&(pe=new pe(W,j+"enter",de,l,Y),pe.target=z,pe.relatedTarget=et,ne=pe),et=ne,le&&de)t:{for(pe=le,W=de,j=0,z=pe;z;z=_i(z))j++;for(z=0,ne=W;ne;ne=_i(ne))z++;for(;0<j-z;)pe=_i(pe),j--;for(;0<z-j;)W=_i(W),z--;for(;j--;){if(pe===W||W!==null&&pe===W.alternate)break t;pe=_i(pe),W=_i(W)}pe=null}else pe=null;le!==null&&Af(Z,Q,le,pe,!1),de!==null&&et!==null&&Af(Z,et,de,pe,!0)}}e:{if(Q=q?Ei(q):window,le=Q.nodeName&&Q.nodeName.toLowerCase(),le==="select"||le==="input"&&Q.type==="file")var me=kD;else if(hf(Q))if(ff)me=TD;else{me=DD;var be=PD}else(le=Q.nodeName)&&le.toLowerCase()==="input"&&(Q.type==="checkbox"||Q.type==="radio")&&(me=_D);if(me&&(me=me(t,q))){mf(Z,me,l,Y);break e}be&&be(t,Q,q),t==="focusout"&&(be=Q._wrapperState)&&be.controlled&&Q.type==="number"&&_t(Q,"number",Q.value)}switch(be=q?Ei(q):window,t){case"focusin":(hf(be)||be.contentEditable==="true")&&(Pi=be,nc=q,Ta=null);break;case"focusout":Ta=nc=Pi=null;break;case"mousedown":rc=!0;break;case"contextmenu":case"mouseup":case"dragend":rc=!1,Pf(Z,l,Y);break;case"selectionchange":if(ID)break;case"keydown":case"keyup":Pf(Z,l,Y)}var we;if(Jl)e:{switch(t){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else ki?pf(t,l)&&(Pe="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(Pe="onCompositionStart");Pe&&(cf&&l.locale!=="ko"&&(ki||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&ki&&(we=rf()):(vr=Y,Hl="value"in vr?vr.value:vr.textContent,ki=!0)),be=Qo(q,Pe),0<be.length&&(Pe=new sf(Pe,t,null,l,Y),Z.push({event:Pe,listeners:be}),we?Pe.data=we:(we=gf(l),we!==null&&(Pe.data=we)))),(we=vD?SD(t,l):bD(t,l))&&(q=Qo(q,"onBeforeInput"),0<q.length&&(Y=new sf("onBeforeInput","beforeinput",null,l,Y),Z.push({event:Y,listeners:q}),Y.data=we))}Of(Z,a)})}function Ia(t,a,l){return{instance:t,listener:a,currentTarget:l}}function Qo(t,a){for(var l=a+"Capture",d=[];t!==null;){var h=t,f=h.stateNode;h.tag===5&&f!==null&&(h=f,f=da(t,l),f!=null&&d.unshift(Ia(t,f,h)),f=da(t,a),f!=null&&d.push(Ia(t,f,h))),t=t.return}return d}function _i(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Af(t,a,l,d,h){for(var f=a._reactName,C=[];l!==null&&l!==d;){var $=l,L=$.alternate,q=$.stateNode;if(L!==null&&L===d)break;$.tag===5&&q!==null&&($=q,h?(L=da(l,f),L!=null&&C.unshift(Ia(l,L,$))):h||(L=da(l,f),L!=null&&C.push(Ia(l,L,$)))),l=l.return}C.length!==0&&t.push({event:a,listeners:C})}var ND=/\r\n?/g,AD=/\u0000|\uFFFD/g;function Lf(t){return(typeof t=="string"?t:""+t).replace(ND,`
7
- `).replace(AD,"")}function Xo(t,a,l){if(a=Lf(a),Lf(t)!==a&&l)throw Error(n(425))}function Yo(){}var cc=null,uc=null;function dc(t,a){return t==="textarea"||t==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var pc=typeof setTimeout=="function"?setTimeout:void 0,LD=typeof clearTimeout=="function"?clearTimeout:void 0,Mf=typeof Promise=="function"?Promise:void 0,MD=typeof queueMicrotask=="function"?queueMicrotask:typeof Mf<"u"?function(t){return Mf.resolve(null).then(t).catch(jD)}:pc;function jD(t){setTimeout(function(){throw t})}function gc(t,a){var l=a,d=0;do{var h=l.nextSibling;if(t.removeChild(l),h&&h.nodeType===8)if(l=h.data,l==="/$"){if(d===0){t.removeChild(h),ba(a);return}d--}else l!=="$"&&l!=="$?"&&l!=="$!"||d++;l=h}while(l);ba(a)}function br(t){for(;t!=null;t=t.nextSibling){var a=t.nodeType;if(a===1||a===3)break;if(a===8){if(a=t.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return t}function jf(t){t=t.previousSibling;for(var a=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(a===0)return t;a--}else l==="/$"&&a++}t=t.previousSibling}return null}var Ti=Math.random().toString(36).slice(2),Ln="__reactFiber$"+Ti,$a="__reactProps$"+Ti,Vn="__reactContainer$"+Ti,hc="__reactEvents$"+Ti,FD="__reactListeners$"+Ti,GD="__reactHandles$"+Ti;function Qr(t){var a=t[Ln];if(a)return a;for(var l=t.parentNode;l;){if(a=l[Vn]||l[Ln]){if(l=a.alternate,a.child!==null||l!==null&&l.child!==null)for(t=jf(t);t!==null;){if(l=t[Ln])return l;t=jf(t)}return a}t=l,l=t.parentNode}return null}function Ra(t){return t=t[Ln]||t[Vn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Ei(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(n(33))}function Jo(t){return t[$a]||null}var mc=[],xi=-1;function wr(t){return{current:t}}function qe(t){0>xi||(t.current=mc[xi],mc[xi]=null,xi--)}function We(t,a){xi++,mc[xi]=t.current,t.current=a}var Cr={},vt=wr(Cr),Nt=wr(!1),Xr=Cr;function Ii(t,a){var l=t.type.contextTypes;if(!l)return Cr;var d=t.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===a)return d.__reactInternalMemoizedMaskedChildContext;var h={},f;for(f in l)h[f]=a[f];return d&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=a,t.__reactInternalMemoizedMaskedChildContext=h),h}function At(t){return t=t.childContextTypes,t!=null}function Zo(){qe(Nt),qe(vt)}function Ff(t,a,l){if(vt.current!==Cr)throw Error(n(168));We(vt,a),We(Nt,l)}function Gf(t,a,l){var d=t.stateNode;if(a=a.childContextTypes,typeof d.getChildContext!="function")return l;d=d.getChildContext();for(var h in d)if(!(h in a))throw Error(n(108,ve(t)||"Unknown",h));return I({},l,d)}function es(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Cr,Xr=vt.current,We(vt,t),We(Nt,Nt.current),!0}function Wf(t,a,l){var d=t.stateNode;if(!d)throw Error(n(169));l?(t=Gf(t,a,Xr),d.__reactInternalMemoizedMergedChildContext=t,qe(Nt),qe(vt),We(vt,t)):qe(Nt),We(Nt,l)}var Kn=null,ts=!1,fc=!1;function zf(t){Kn===null?Kn=[t]:Kn.push(t)}function WD(t){ts=!0,zf(t)}function kr(){if(!fc&&Kn!==null){fc=!0;var t=0,a=Fe;try{var l=Kn;for(Fe=1;t<l.length;t++){var d=l[t];do d=d(!0);while(d!==null)}Kn=null,ts=!1}catch(h){throw Kn!==null&&(Kn=Kn.slice(t+1)),qm(jl,kr),h}finally{Fe=a,fc=!1}}return null}var $i=[],Ri=0,ns=null,rs=0,an=[],on=0,Yr=null,Qn=1,Xn="";function Jr(t,a){$i[Ri++]=rs,$i[Ri++]=ns,ns=t,rs=a}function qf(t,a,l){an[on++]=Qn,an[on++]=Xn,an[on++]=Yr,Yr=t;var d=Qn;t=Xn;var h=32-yn(d)-1;d&=~(1<<h),l+=1;var f=32-yn(a)+h;if(30<f){var C=h-h%5;f=(d&(1<<C)-1).toString(32),d>>=C,h-=C,Qn=1<<32-yn(a)+h|l<<h|d,Xn=f+t}else Qn=1<<f|l<<h|d,Xn=t}function yc(t){t.return!==null&&(Jr(t,1),qf(t,1,0))}function vc(t){for(;t===ns;)ns=$i[--Ri],$i[Ri]=null,rs=$i[--Ri],$i[Ri]=null;for(;t===Yr;)Yr=an[--on],an[on]=null,Xn=an[--on],an[on]=null,Qn=an[--on],an[on]=null}var Ht=null,Vt=null,Ue=!1,Sn=null;function Uf(t,a){var l=un(5,null,null,0);l.elementType="DELETED",l.stateNode=a,l.return=t,a=t.deletions,a===null?(t.deletions=[l],t.flags|=16):a.push(l)}function Bf(t,a){switch(t.tag){case 5:var l=t.type;return a=a.nodeType!==1||l.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(t.stateNode=a,Ht=t,Vt=br(a.firstChild),!0):!1;case 6:return a=t.pendingProps===""||a.nodeType!==3?null:a,a!==null?(t.stateNode=a,Ht=t,Vt=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(l=Yr!==null?{id:Qn,overflow:Xn}:null,t.memoizedState={dehydrated:a,treeContext:l,retryLane:1073741824},l=un(18,null,null,0),l.stateNode=a,l.return=t,t.child=l,Ht=t,Vt=null,!0):!1;default:return!1}}function Sc(t){return(t.mode&1)!==0&&(t.flags&128)===0}function bc(t){if(Ue){var a=Vt;if(a){var l=a;if(!Bf(t,a)){if(Sc(t))throw Error(n(418));a=br(l.nextSibling);var d=Ht;a&&Bf(t,a)?Uf(d,l):(t.flags=t.flags&-4097|2,Ue=!1,Ht=t)}}else{if(Sc(t))throw Error(n(418));t.flags=t.flags&-4097|2,Ue=!1,Ht=t}}}function Hf(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Ht=t}function is(t){if(t!==Ht)return!1;if(!Ue)return Hf(t),Ue=!0,!1;var a;if((a=t.tag!==3)&&!(a=t.tag!==5)&&(a=t.type,a=a!=="head"&&a!=="body"&&!dc(t.type,t.memoizedProps)),a&&(a=Vt)){if(Sc(t))throw Vf(),Error(n(418));for(;a;)Uf(t,a),a=br(a.nextSibling)}if(Hf(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(n(317));e:{for(t=t.nextSibling,a=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"){if(a===0){Vt=br(t.nextSibling);break e}a--}else l!=="$"&&l!=="$!"&&l!=="$?"||a++}t=t.nextSibling}Vt=null}}else Vt=Ht?br(t.stateNode.nextSibling):null;return!0}function Vf(){for(var t=Vt;t;)t=br(t.nextSibling)}function Oi(){Vt=Ht=null,Ue=!1}function wc(t){Sn===null?Sn=[t]:Sn.push(t)}var zD=M.ReactCurrentBatchConfig;function bn(t,a){if(t&&t.defaultProps){a=I({},a),t=t.defaultProps;for(var l in t)a[l]===void 0&&(a[l]=t[l]);return a}return a}var as=wr(null),os=null,Ni=null,Cc=null;function kc(){Cc=Ni=os=null}function Pc(t){var a=as.current;qe(as),t._currentValue=a}function Dc(t,a,l){for(;t!==null;){var d=t.alternate;if((t.childLanes&a)!==a?(t.childLanes|=a,d!==null&&(d.childLanes|=a)):d!==null&&(d.childLanes&a)!==a&&(d.childLanes|=a),t===l)break;t=t.return}}function Ai(t,a){os=t,Cc=Ni=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&a)!==0&&(Lt=!0),t.firstContext=null)}function sn(t){var a=t._currentValue;if(Cc!==t)if(t={context:t,memoizedValue:a,next:null},Ni===null){if(os===null)throw Error(n(308));Ni=t,os.dependencies={lanes:0,firstContext:t}}else Ni=Ni.next=t;return a}var Zr=null;function _c(t){Zr===null?Zr=[t]:Zr.push(t)}function Kf(t,a,l,d){var h=a.interleaved;return h===null?(l.next=l,_c(a)):(l.next=h.next,h.next=l),a.interleaved=l,Yn(t,d)}function Yn(t,a){t.lanes|=a;var l=t.alternate;for(l!==null&&(l.lanes|=a),l=t,t=t.return;t!==null;)t.childLanes|=a,l=t.alternate,l!==null&&(l.childLanes|=a),l=t,t=t.return;return l.tag===3?l.stateNode:null}var Pr=!1;function Tc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qf(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Jn(t,a){return{eventTime:t,lane:a,tag:0,payload:null,callback:null,next:null}}function Dr(t,a,l){var d=t.updateQueue;if(d===null)return null;if(d=d.shared,(Re&2)!==0){var h=d.pending;return h===null?a.next=a:(a.next=h.next,h.next=a),d.pending=a,Yn(t,l)}return h=d.interleaved,h===null?(a.next=a,_c(d)):(a.next=h.next,h.next=a),d.interleaved=a,Yn(t,l)}function ss(t,a,l){if(a=a.updateQueue,a!==null&&(a=a.shared,(l&4194240)!==0)){var d=a.lanes;d&=t.pendingLanes,l|=d,a.lanes=l,Wl(t,l)}}function Xf(t,a){var l=t.updateQueue,d=t.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var h=null,f=null;if(l=l.firstBaseUpdate,l!==null){do{var C={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};f===null?h=f=C:f=f.next=C,l=l.next}while(l!==null);f===null?h=f=a:f=f.next=a}else h=f=a;l={baseState:d.baseState,firstBaseUpdate:h,lastBaseUpdate:f,shared:d.shared,effects:d.effects},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=a:t.next=a,l.lastBaseUpdate=a}function ls(t,a,l,d){var h=t.updateQueue;Pr=!1;var f=h.firstBaseUpdate,C=h.lastBaseUpdate,$=h.shared.pending;if($!==null){h.shared.pending=null;var L=$,q=L.next;L.next=null,C===null?f=q:C.next=q,C=L;var Y=t.alternate;Y!==null&&(Y=Y.updateQueue,$=Y.lastBaseUpdate,$!==C&&($===null?Y.firstBaseUpdate=q:$.next=q,Y.lastBaseUpdate=L))}if(f!==null){var Z=h.baseState;C=0,Y=q=L=null,$=f;do{var Q=$.lane,le=$.eventTime;if((d&Q)===Q){Y!==null&&(Y=Y.next={eventTime:le,lane:0,tag:$.tag,payload:$.payload,callback:$.callback,next:null});e:{var de=t,pe=$;switch(Q=a,le=l,pe.tag){case 1:if(de=pe.payload,typeof de=="function"){Z=de.call(le,Z,Q);break e}Z=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=pe.payload,Q=typeof de=="function"?de.call(le,Z,Q):de,Q==null)break e;Z=I({},Z,Q);break e;case 2:Pr=!0}}$.callback!==null&&$.lane!==0&&(t.flags|=64,Q=h.effects,Q===null?h.effects=[$]:Q.push($))}else le={eventTime:le,lane:Q,tag:$.tag,payload:$.payload,callback:$.callback,next:null},Y===null?(q=Y=le,L=Z):Y=Y.next=le,C|=Q;if($=$.next,$===null){if($=h.shared.pending,$===null)break;Q=$,$=Q.next,Q.next=null,h.lastBaseUpdate=Q,h.shared.pending=null}}while(!0);if(Y===null&&(L=Z),h.baseState=L,h.firstBaseUpdate=q,h.lastBaseUpdate=Y,a=h.shared.interleaved,a!==null){h=a;do C|=h.lane,h=h.next;while(h!==a)}else f===null&&(h.shared.lanes=0);ni|=C,t.lanes=C,t.memoizedState=Z}}function Yf(t,a,l){if(t=a.effects,a.effects=null,t!==null)for(a=0;a<t.length;a++){var d=t[a],h=d.callback;if(h!==null){if(d.callback=null,d=l,typeof h!="function")throw Error(n(191,h));h.call(d)}}}var Jf=new i.Component().refs;function Ec(t,a,l,d){a=t.memoizedState,l=l(d,a),l=l==null?a:I({},a,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var cs={isMounted:function(t){return(t=t._reactInternals)?Kr(t)===t:!1},enqueueSetState:function(t,a,l){t=t._reactInternals;var d=$t(),h=xr(t),f=Jn(d,h);f.payload=a,l!=null&&(f.callback=l),a=Dr(t,f,h),a!==null&&(kn(a,t,h,d),ss(a,t,h))},enqueueReplaceState:function(t,a,l){t=t._reactInternals;var d=$t(),h=xr(t),f=Jn(d,h);f.tag=1,f.payload=a,l!=null&&(f.callback=l),a=Dr(t,f,h),a!==null&&(kn(a,t,h,d),ss(a,t,h))},enqueueForceUpdate:function(t,a){t=t._reactInternals;var l=$t(),d=xr(t),h=Jn(l,d);h.tag=2,a!=null&&(h.callback=a),a=Dr(t,h,d),a!==null&&(kn(a,t,d,l),ss(a,t,d))}};function Zf(t,a,l,d,h,f,C){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(d,f,C):a.prototype&&a.prototype.isPureReactComponent?!_a(l,d)||!_a(h,f):!0}function ey(t,a,l){var d=!1,h=Cr,f=a.contextType;return typeof f=="object"&&f!==null?f=sn(f):(h=At(a)?Xr:vt.current,d=a.contextTypes,f=(d=d!=null)?Ii(t,h):Cr),a=new a(l,f),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=cs,t.stateNode=a,a._reactInternals=t,d&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=h,t.__reactInternalMemoizedMaskedChildContext=f),a}function ty(t,a,l,d){t=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(l,d),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(l,d),a.state!==t&&cs.enqueueReplaceState(a,a.state,null)}function xc(t,a,l,d){var h=t.stateNode;h.props=l,h.state=t.memoizedState,h.refs=Jf,Tc(t);var f=a.contextType;typeof f=="object"&&f!==null?h.context=sn(f):(f=At(a)?Xr:vt.current,h.context=Ii(t,f)),h.state=t.memoizedState,f=a.getDerivedStateFromProps,typeof f=="function"&&(Ec(t,a,f,l),h.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(a=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),a!==h.state&&cs.enqueueReplaceState(h,h.state,null),ls(t,l,h,d),h.state=t.memoizedState),typeof h.componentDidMount=="function"&&(t.flags|=4194308)}function Oa(t,a,l){if(t=l.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(n(309));var d=l.stateNode}if(!d)throw Error(n(147,t));var h=d,f=""+t;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===f?a.ref:(a=function(C){var $=h.refs;$===Jf&&($=h.refs={}),C===null?delete $[f]:$[f]=C},a._stringRef=f,a)}if(typeof t!="string")throw Error(n(284));if(!l._owner)throw Error(n(290,t))}return t}function us(t,a){throw t=Object.prototype.toString.call(a),Error(n(31,t==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":t))}function ny(t){var a=t._init;return a(t._payload)}function ry(t){function a(W,j){if(t){var z=W.deletions;z===null?(W.deletions=[j],W.flags|=16):z.push(j)}}function l(W,j){if(!t)return null;for(;j!==null;)a(W,j),j=j.sibling;return null}function d(W,j){for(W=new Map;j!==null;)j.key!==null?W.set(j.key,j):W.set(j.index,j),j=j.sibling;return W}function h(W,j){return W=$r(W,j),W.index=0,W.sibling=null,W}function f(W,j,z){return W.index=z,t?(z=W.alternate,z!==null?(z=z.index,z<j?(W.flags|=2,j):z):(W.flags|=2,j)):(W.flags|=1048576,j)}function C(W){return t&&W.alternate===null&&(W.flags|=2),W}function $(W,j,z,ne){return j===null||j.tag!==6?(j=pu(z,W.mode,ne),j.return=W,j):(j=h(j,z),j.return=W,j)}function L(W,j,z,ne){var me=z.type;return me===A?Y(W,j,z.props.children,ne,z.key):j!==null&&(j.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===he&&ny(me)===j.type)?(ne=h(j,z.props),ne.ref=Oa(W,j,z),ne.return=W,ne):(ne=xs(z.type,z.key,z.props,null,W.mode,ne),ne.ref=Oa(W,j,z),ne.return=W,ne)}function q(W,j,z,ne){return j===null||j.tag!==4||j.stateNode.containerInfo!==z.containerInfo||j.stateNode.implementation!==z.implementation?(j=gu(z,W.mode,ne),j.return=W,j):(j=h(j,z.children||[]),j.return=W,j)}function Y(W,j,z,ne,me){return j===null||j.tag!==7?(j=oi(z,W.mode,ne,me),j.return=W,j):(j=h(j,z),j.return=W,j)}function Z(W,j,z){if(typeof j=="string"&&j!==""||typeof j=="number")return j=pu(""+j,W.mode,z),j.return=W,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case F:return z=xs(j.type,j.key,j.props,null,W.mode,z),z.ref=Oa(W,null,j),z.return=W,z;case N:return j=gu(j,W.mode,z),j.return=W,j;case he:var ne=j._init;return Z(W,ne(j._payload),z)}if(je(j)||J(j))return j=oi(j,W.mode,z,null),j.return=W,j;us(W,j)}return null}function Q(W,j,z,ne){var me=j!==null?j.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return me!==null?null:$(W,j,""+z,ne);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case F:return z.key===me?L(W,j,z,ne):null;case N:return z.key===me?q(W,j,z,ne):null;case he:return me=z._init,Q(W,j,me(z._payload),ne)}if(je(z)||J(z))return me!==null?null:Y(W,j,z,ne,null);us(W,z)}return null}function le(W,j,z,ne,me){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return W=W.get(z)||null,$(j,W,""+ne,me);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case F:return W=W.get(ne.key===null?z:ne.key)||null,L(j,W,ne,me);case N:return W=W.get(ne.key===null?z:ne.key)||null,q(j,W,ne,me);case he:var be=ne._init;return le(W,j,z,be(ne._payload),me)}if(je(ne)||J(ne))return W=W.get(z)||null,Y(j,W,ne,me,null);us(j,ne)}return null}function de(W,j,z,ne){for(var me=null,be=null,we=j,Pe=j=0,gt=null;we!==null&&Pe<z.length;Pe++){we.index>Pe?(gt=we,we=null):gt=we.sibling;var Ne=Q(W,we,z[Pe],ne);if(Ne===null){we===null&&(we=gt);break}t&&we&&Ne.alternate===null&&a(W,we),j=f(Ne,j,Pe),be===null?me=Ne:be.sibling=Ne,be=Ne,we=gt}if(Pe===z.length)return l(W,we),Ue&&Jr(W,Pe),me;if(we===null){for(;Pe<z.length;Pe++)we=Z(W,z[Pe],ne),we!==null&&(j=f(we,j,Pe),be===null?me=we:be.sibling=we,be=we);return Ue&&Jr(W,Pe),me}for(we=d(W,we);Pe<z.length;Pe++)gt=le(we,W,Pe,z[Pe],ne),gt!==null&&(t&&gt.alternate!==null&&we.delete(gt.key===null?Pe:gt.key),j=f(gt,j,Pe),be===null?me=gt:be.sibling=gt,be=gt);return t&&we.forEach(function(Rr){return a(W,Rr)}),Ue&&Jr(W,Pe),me}function pe(W,j,z,ne){var me=J(z);if(typeof me!="function")throw Error(n(150));if(z=me.call(z),z==null)throw Error(n(151));for(var be=me=null,we=j,Pe=j=0,gt=null,Ne=z.next();we!==null&&!Ne.done;Pe++,Ne=z.next()){we.index>Pe?(gt=we,we=null):gt=we.sibling;var Rr=Q(W,we,Ne.value,ne);if(Rr===null){we===null&&(we=gt);break}t&&we&&Rr.alternate===null&&a(W,we),j=f(Rr,j,Pe),be===null?me=Rr:be.sibling=Rr,be=Rr,we=gt}if(Ne.done)return l(W,we),Ue&&Jr(W,Pe),me;if(we===null){for(;!Ne.done;Pe++,Ne=z.next())Ne=Z(W,Ne.value,ne),Ne!==null&&(j=f(Ne,j,Pe),be===null?me=Ne:be.sibling=Ne,be=Ne);return Ue&&Jr(W,Pe),me}for(we=d(W,we);!Ne.done;Pe++,Ne=z.next())Ne=le(we,W,Pe,Ne.value,ne),Ne!==null&&(t&&Ne.alternate!==null&&we.delete(Ne.key===null?Pe:Ne.key),j=f(Ne,j,Pe),be===null?me=Ne:be.sibling=Ne,be=Ne);return t&&we.forEach(function(w_){return a(W,w_)}),Ue&&Jr(W,Pe),me}function et(W,j,z,ne){if(typeof z=="object"&&z!==null&&z.type===A&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case F:e:{for(var me=z.key,be=j;be!==null;){if(be.key===me){if(me=z.type,me===A){if(be.tag===7){l(W,be.sibling),j=h(be,z.props.children),j.return=W,W=j;break e}}else if(be.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===he&&ny(me)===be.type){l(W,be.sibling),j=h(be,z.props),j.ref=Oa(W,be,z),j.return=W,W=j;break e}l(W,be);break}else a(W,be);be=be.sibling}z.type===A?(j=oi(z.props.children,W.mode,ne,z.key),j.return=W,W=j):(ne=xs(z.type,z.key,z.props,null,W.mode,ne),ne.ref=Oa(W,j,z),ne.return=W,W=ne)}return C(W);case N:e:{for(be=z.key;j!==null;){if(j.key===be)if(j.tag===4&&j.stateNode.containerInfo===z.containerInfo&&j.stateNode.implementation===z.implementation){l(W,j.sibling),j=h(j,z.children||[]),j.return=W,W=j;break e}else{l(W,j);break}else a(W,j);j=j.sibling}j=gu(z,W.mode,ne),j.return=W,W=j}return C(W);case he:return be=z._init,et(W,j,be(z._payload),ne)}if(je(z))return de(W,j,z,ne);if(J(z))return pe(W,j,z,ne);us(W,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,j!==null&&j.tag===6?(l(W,j.sibling),j=h(j,z),j.return=W,W=j):(l(W,j),j=pu(z,W.mode,ne),j.return=W,W=j),C(W)):l(W,j)}return et}var Li=ry(!0),iy=ry(!1),Na={},Mn=wr(Na),Aa=wr(Na),La=wr(Na);function ei(t){if(t===Na)throw Error(n(174));return t}function Ic(t,a){switch(We(La,a),We(Aa,t),We(Mn,Na),t=a.nodeType,t){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:nn(null,"");break;default:t=t===8?a.parentNode:a,a=t.namespaceURI||null,t=t.tagName,a=nn(a,t)}qe(Mn),We(Mn,a)}function Mi(){qe(Mn),qe(Aa),qe(La)}function ay(t){ei(La.current);var a=ei(Mn.current),l=nn(a,t.type);a!==l&&(We(Aa,t),We(Mn,l))}function $c(t){Aa.current===t&&(qe(Mn),qe(Aa))}var Ve=wr(0);function ds(t){for(var a=t;a!==null;){if(a.tag===13){var l=a.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Rc=[];function Oc(){for(var t=0;t<Rc.length;t++)Rc[t]._workInProgressVersionPrimary=null;Rc.length=0}var ps=M.ReactCurrentDispatcher,Nc=M.ReactCurrentBatchConfig,ti=0,Ke=null,ot=null,dt=null,gs=!1,Ma=!1,ja=0,qD=0;function St(){throw Error(n(321))}function Ac(t,a){if(a===null)return!1;for(var l=0;l<a.length&&l<t.length;l++)if(!vn(t[l],a[l]))return!1;return!0}function Lc(t,a,l,d,h,f){if(ti=f,Ke=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,ps.current=t===null||t.memoizedState===null?VD:KD,t=l(d,h),Ma){f=0;do{if(Ma=!1,ja=0,25<=f)throw Error(n(301));f+=1,dt=ot=null,a.updateQueue=null,ps.current=QD,t=l(d,h)}while(Ma)}if(ps.current=fs,a=ot!==null&&ot.next!==null,ti=0,dt=ot=Ke=null,gs=!1,a)throw Error(n(300));return t}function Mc(){var t=ja!==0;return ja=0,t}function jn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Ke.memoizedState=dt=t:dt=dt.next=t,dt}function ln(){if(ot===null){var t=Ke.alternate;t=t!==null?t.memoizedState:null}else t=ot.next;var a=dt===null?Ke.memoizedState:dt.next;if(a!==null)dt=a,ot=t;else{if(t===null)throw Error(n(310));ot=t,t={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},dt===null?Ke.memoizedState=dt=t:dt=dt.next=t}return dt}function Fa(t,a){return typeof a=="function"?a(t):a}function jc(t){var a=ln(),l=a.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=t;var d=ot,h=d.baseQueue,f=l.pending;if(f!==null){if(h!==null){var C=h.next;h.next=f.next,f.next=C}d.baseQueue=h=f,l.pending=null}if(h!==null){f=h.next,d=d.baseState;var $=C=null,L=null,q=f;do{var Y=q.lane;if((ti&Y)===Y)L!==null&&(L=L.next={lane:0,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),d=q.hasEagerState?q.eagerState:t(d,q.action);else{var Z={lane:Y,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};L===null?($=L=Z,C=d):L=L.next=Z,Ke.lanes|=Y,ni|=Y}q=q.next}while(q!==null&&q!==f);L===null?C=d:L.next=$,vn(d,a.memoizedState)||(Lt=!0),a.memoizedState=d,a.baseState=C,a.baseQueue=L,l.lastRenderedState=d}if(t=l.interleaved,t!==null){h=t;do f=h.lane,Ke.lanes|=f,ni|=f,h=h.next;while(h!==t)}else h===null&&(l.lanes=0);return[a.memoizedState,l.dispatch]}function Fc(t){var a=ln(),l=a.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=t;var d=l.dispatch,h=l.pending,f=a.memoizedState;if(h!==null){l.pending=null;var C=h=h.next;do f=t(f,C.action),C=C.next;while(C!==h);vn(f,a.memoizedState)||(Lt=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),l.lastRenderedState=f}return[f,d]}function oy(){}function sy(t,a){var l=Ke,d=ln(),h=a(),f=!vn(d.memoizedState,h);if(f&&(d.memoizedState=h,Lt=!0),d=d.queue,Gc(uy.bind(null,l,d,t),[t]),d.getSnapshot!==a||f||dt!==null&&dt.memoizedState.tag&1){if(l.flags|=2048,Ga(9,cy.bind(null,l,d,h,a),void 0,null),pt===null)throw Error(n(349));(ti&30)!==0||ly(l,a,h)}return h}function ly(t,a,l){t.flags|=16384,t={getSnapshot:a,value:l},a=Ke.updateQueue,a===null?(a={lastEffect:null,stores:null},Ke.updateQueue=a,a.stores=[t]):(l=a.stores,l===null?a.stores=[t]:l.push(t))}function cy(t,a,l,d){a.value=l,a.getSnapshot=d,dy(a)&&py(t)}function uy(t,a,l){return l(function(){dy(a)&&py(t)})}function dy(t){var a=t.getSnapshot;t=t.value;try{var l=a();return!vn(t,l)}catch{return!0}}function py(t){var a=Yn(t,1);a!==null&&kn(a,t,1,-1)}function gy(t){var a=jn();return typeof t=="function"&&(t=t()),a.memoizedState=a.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Fa,lastRenderedState:t},a.queue=t,t=t.dispatch=HD.bind(null,Ke,t),[a.memoizedState,t]}function Ga(t,a,l,d){return t={tag:t,create:a,destroy:l,deps:d,next:null},a=Ke.updateQueue,a===null?(a={lastEffect:null,stores:null},Ke.updateQueue=a,a.lastEffect=t.next=t):(l=a.lastEffect,l===null?a.lastEffect=t.next=t:(d=l.next,l.next=t,t.next=d,a.lastEffect=t)),t}function hy(){return ln().memoizedState}function hs(t,a,l,d){var h=jn();Ke.flags|=t,h.memoizedState=Ga(1|a,l,void 0,d===void 0?null:d)}function ms(t,a,l,d){var h=ln();d=d===void 0?null:d;var f=void 0;if(ot!==null){var C=ot.memoizedState;if(f=C.destroy,d!==null&&Ac(d,C.deps)){h.memoizedState=Ga(a,l,f,d);return}}Ke.flags|=t,h.memoizedState=Ga(1|a,l,f,d)}function my(t,a){return hs(8390656,8,t,a)}function Gc(t,a){return ms(2048,8,t,a)}function fy(t,a){return ms(4,2,t,a)}function yy(t,a){return ms(4,4,t,a)}function vy(t,a){if(typeof a=="function")return t=t(),a(t),function(){a(null)};if(a!=null)return t=t(),a.current=t,function(){a.current=null}}function Sy(t,a,l){return l=l!=null?l.concat([t]):null,ms(4,4,vy.bind(null,a,t),l)}function Wc(){}function by(t,a){var l=ln();a=a===void 0?null:a;var d=l.memoizedState;return d!==null&&a!==null&&Ac(a,d[1])?d[0]:(l.memoizedState=[t,a],t)}function wy(t,a){var l=ln();a=a===void 0?null:a;var d=l.memoizedState;return d!==null&&a!==null&&Ac(a,d[1])?d[0]:(t=t(),l.memoizedState=[t,a],t)}function Cy(t,a,l){return(ti&21)===0?(t.baseState&&(t.baseState=!1,Lt=!0),t.memoizedState=l):(vn(l,a)||(l=Vm(),Ke.lanes|=l,ni|=l,t.baseState=!0),a)}function UD(t,a){var l=Fe;Fe=l!==0&&4>l?l:4,t(!0);var d=Nc.transition;Nc.transition={};try{t(!1),a()}finally{Fe=l,Nc.transition=d}}function ky(){return ln().memoizedState}function BD(t,a,l){var d=xr(t);if(l={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null},Py(t))Dy(a,l);else if(l=Kf(t,a,l,d),l!==null){var h=$t();kn(l,t,d,h),_y(l,a,d)}}function HD(t,a,l){var d=xr(t),h={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null};if(Py(t))Dy(a,h);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var C=a.lastRenderedState,$=f(C,l);if(h.hasEagerState=!0,h.eagerState=$,vn($,C)){var L=a.interleaved;L===null?(h.next=h,_c(a)):(h.next=L.next,L.next=h),a.interleaved=h;return}}catch{}l=Kf(t,a,h,d),l!==null&&(h=$t(),kn(l,t,d,h),_y(l,a,d))}}function Py(t){var a=t.alternate;return t===Ke||a!==null&&a===Ke}function Dy(t,a){Ma=gs=!0;var l=t.pending;l===null?a.next=a:(a.next=l.next,l.next=a),t.pending=a}function _y(t,a,l){if((l&4194240)!==0){var d=a.lanes;d&=t.pendingLanes,l|=d,a.lanes=l,Wl(t,l)}}var fs={readContext:sn,useCallback:St,useContext:St,useEffect:St,useImperativeHandle:St,useInsertionEffect:St,useLayoutEffect:St,useMemo:St,useReducer:St,useRef:St,useState:St,useDebugValue:St,useDeferredValue:St,useTransition:St,useMutableSource:St,useSyncExternalStore:St,useId:St,unstable_isNewReconciler:!1},VD={readContext:sn,useCallback:function(t,a){return jn().memoizedState=[t,a===void 0?null:a],t},useContext:sn,useEffect:my,useImperativeHandle:function(t,a,l){return l=l!=null?l.concat([t]):null,hs(4194308,4,vy.bind(null,a,t),l)},useLayoutEffect:function(t,a){return hs(4194308,4,t,a)},useInsertionEffect:function(t,a){return hs(4,2,t,a)},useMemo:function(t,a){var l=jn();return a=a===void 0?null:a,t=t(),l.memoizedState=[t,a],t},useReducer:function(t,a,l){var d=jn();return a=l!==void 0?l(a):a,d.memoizedState=d.baseState=a,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},d.queue=t,t=t.dispatch=BD.bind(null,Ke,t),[d.memoizedState,t]},useRef:function(t){var a=jn();return t={current:t},a.memoizedState=t},useState:gy,useDebugValue:Wc,useDeferredValue:function(t){return jn().memoizedState=t},useTransition:function(){var t=gy(!1),a=t[0];return t=UD.bind(null,t[1]),jn().memoizedState=t,[a,t]},useMutableSource:function(){},useSyncExternalStore:function(t,a,l){var d=Ke,h=jn();if(Ue){if(l===void 0)throw Error(n(407));l=l()}else{if(l=a(),pt===null)throw Error(n(349));(ti&30)!==0||ly(d,a,l)}h.memoizedState=l;var f={value:l,getSnapshot:a};return h.queue=f,my(uy.bind(null,d,f,t),[t]),d.flags|=2048,Ga(9,cy.bind(null,d,f,l,a),void 0,null),l},useId:function(){var t=jn(),a=pt.identifierPrefix;if(Ue){var l=Xn,d=Qn;l=(d&~(1<<32-yn(d)-1)).toString(32)+l,a=":"+a+"R"+l,l=ja++,0<l&&(a+="H"+l.toString(32)),a+=":"}else l=qD++,a=":"+a+"r"+l.toString(32)+":";return t.memoizedState=a},unstable_isNewReconciler:!1},KD={readContext:sn,useCallback:by,useContext:sn,useEffect:Gc,useImperativeHandle:Sy,useInsertionEffect:fy,useLayoutEffect:yy,useMemo:wy,useReducer:jc,useRef:hy,useState:function(){return jc(Fa)},useDebugValue:Wc,useDeferredValue:function(t){var a=ln();return Cy(a,ot.memoizedState,t)},useTransition:function(){var t=jc(Fa)[0],a=ln().memoizedState;return[t,a]},useMutableSource:oy,useSyncExternalStore:sy,useId:ky,unstable_isNewReconciler:!1},QD={readContext:sn,useCallback:by,useContext:sn,useEffect:Gc,useImperativeHandle:Sy,useInsertionEffect:fy,useLayoutEffect:yy,useMemo:wy,useReducer:Fc,useRef:hy,useState:function(){return Fc(Fa)},useDebugValue:Wc,useDeferredValue:function(t){var a=ln();return ot===null?a.memoizedState=t:Cy(a,ot.memoizedState,t)},useTransition:function(){var t=Fc(Fa)[0],a=ln().memoizedState;return[t,a]},useMutableSource:oy,useSyncExternalStore:sy,useId:ky,unstable_isNewReconciler:!1};function ji(t,a){try{var l="",d=a;do l+=ke(d),d=d.return;while(d);var h=l}catch(f){h=`
8
- Error generating stack: `+f.message+`
9
- `+f.stack}return{value:t,source:a,stack:h,digest:null}}function zc(t,a,l){return{value:t,source:null,stack:l??null,digest:a??null}}function qc(t,a){try{console.error(a.value)}catch(l){setTimeout(function(){throw l})}}var XD=typeof WeakMap=="function"?WeakMap:Map;function Ty(t,a,l){l=Jn(-1,l),l.tag=3,l.payload={element:null};var d=a.value;return l.callback=function(){ks||(ks=!0,iu=d),qc(t,a)},l}function Ey(t,a,l){l=Jn(-1,l),l.tag=3;var d=t.type.getDerivedStateFromError;if(typeof d=="function"){var h=a.value;l.payload=function(){return d(h)},l.callback=function(){qc(t,a)}}var f=t.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(l.callback=function(){qc(t,a),typeof d!="function"&&(Tr===null?Tr=new Set([this]):Tr.add(this));var C=a.stack;this.componentDidCatch(a.value,{componentStack:C!==null?C:""})}),l}function xy(t,a,l){var d=t.pingCache;if(d===null){d=t.pingCache=new XD;var h=new Set;d.set(a,h)}else h=d.get(a),h===void 0&&(h=new Set,d.set(a,h));h.has(l)||(h.add(l),t=u_.bind(null,t,a,l),a.then(t,t))}function Iy(t){do{var a;if((a=t.tag===13)&&(a=t.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return t;t=t.return}while(t!==null);return null}function $y(t,a,l,d,h){return(t.mode&1)===0?(t===a?t.flags|=65536:(t.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(a=Jn(-1,1),a.tag=2,Dr(l,a,1))),l.lanes|=1),t):(t.flags|=65536,t.lanes=h,t)}var YD=M.ReactCurrentOwner,Lt=!1;function It(t,a,l,d){a.child=t===null?iy(a,null,l,d):Li(a,t.child,l,d)}function Ry(t,a,l,d,h){l=l.render;var f=a.ref;return Ai(a,h),d=Lc(t,a,l,d,f,h),l=Mc(),t!==null&&!Lt?(a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~h,Zn(t,a,h)):(Ue&&l&&yc(a),a.flags|=1,It(t,a,d,h),a.child)}function Oy(t,a,l,d,h){if(t===null){var f=l.type;return typeof f=="function"&&!du(f)&&f.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(a.tag=15,a.type=f,Ny(t,a,f,d,h)):(t=xs(l.type,null,d,a,a.mode,h),t.ref=a.ref,t.return=a,a.child=t)}if(f=t.child,(t.lanes&h)===0){var C=f.memoizedProps;if(l=l.compare,l=l!==null?l:_a,l(C,d)&&t.ref===a.ref)return Zn(t,a,h)}return a.flags|=1,t=$r(f,d),t.ref=a.ref,t.return=a,a.child=t}function Ny(t,a,l,d,h){if(t!==null){var f=t.memoizedProps;if(_a(f,d)&&t.ref===a.ref)if(Lt=!1,a.pendingProps=d=f,(t.lanes&h)!==0)(t.flags&131072)!==0&&(Lt=!0);else return a.lanes=t.lanes,Zn(t,a,h)}return Uc(t,a,l,d,h)}function Ay(t,a,l){var d=a.pendingProps,h=d.children,f=t!==null?t.memoizedState:null;if(d.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},We(Gi,Kt),Kt|=l;else{if((l&1073741824)===0)return t=f!==null?f.baseLanes|l:l,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:t,cachePool:null,transitions:null},a.updateQueue=null,We(Gi,Kt),Kt|=t,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=f!==null?f.baseLanes:l,We(Gi,Kt),Kt|=d}else f!==null?(d=f.baseLanes|l,a.memoizedState=null):d=l,We(Gi,Kt),Kt|=d;return It(t,a,h,l),a.child}function Ly(t,a){var l=a.ref;(t===null&&l!==null||t!==null&&t.ref!==l)&&(a.flags|=512,a.flags|=2097152)}function Uc(t,a,l,d,h){var f=At(l)?Xr:vt.current;return f=Ii(a,f),Ai(a,h),l=Lc(t,a,l,d,f,h),d=Mc(),t!==null&&!Lt?(a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~h,Zn(t,a,h)):(Ue&&d&&yc(a),a.flags|=1,It(t,a,l,h),a.child)}function My(t,a,l,d,h){if(At(l)){var f=!0;es(a)}else f=!1;if(Ai(a,h),a.stateNode===null)vs(t,a),ey(a,l,d),xc(a,l,d,h),d=!0;else if(t===null){var C=a.stateNode,$=a.memoizedProps;C.props=$;var L=C.context,q=l.contextType;typeof q=="object"&&q!==null?q=sn(q):(q=At(l)?Xr:vt.current,q=Ii(a,q));var Y=l.getDerivedStateFromProps,Z=typeof Y=="function"||typeof C.getSnapshotBeforeUpdate=="function";Z||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||($!==d||L!==q)&&ty(a,C,d,q),Pr=!1;var Q=a.memoizedState;C.state=Q,ls(a,d,C,h),L=a.memoizedState,$!==d||Q!==L||Nt.current||Pr?(typeof Y=="function"&&(Ec(a,l,Y,d),L=a.memoizedState),($=Pr||Zf(a,l,$,d,Q,L,q))?(Z||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(a.flags|=4194308)):(typeof C.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=d,a.memoizedState=L),C.props=d,C.state=L,C.context=q,d=$):(typeof C.componentDidMount=="function"&&(a.flags|=4194308),d=!1)}else{C=a.stateNode,Qf(t,a),$=a.memoizedProps,q=a.type===a.elementType?$:bn(a.type,$),C.props=q,Z=a.pendingProps,Q=C.context,L=l.contextType,typeof L=="object"&&L!==null?L=sn(L):(L=At(l)?Xr:vt.current,L=Ii(a,L));var le=l.getDerivedStateFromProps;(Y=typeof le=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||($!==Z||Q!==L)&&ty(a,C,d,L),Pr=!1,Q=a.memoizedState,C.state=Q,ls(a,d,C,h);var de=a.memoizedState;$!==Z||Q!==de||Nt.current||Pr?(typeof le=="function"&&(Ec(a,l,le,d),de=a.memoizedState),(q=Pr||Zf(a,l,q,d,Q,de,L)||!1)?(Y||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(d,de,L),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(d,de,L)),typeof C.componentDidUpdate=="function"&&(a.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof C.componentDidUpdate!="function"||$===t.memoizedProps&&Q===t.memoizedState||(a.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||$===t.memoizedProps&&Q===t.memoizedState||(a.flags|=1024),a.memoizedProps=d,a.memoizedState=de),C.props=d,C.state=de,C.context=L,d=q):(typeof C.componentDidUpdate!="function"||$===t.memoizedProps&&Q===t.memoizedState||(a.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||$===t.memoizedProps&&Q===t.memoizedState||(a.flags|=1024),d=!1)}return Bc(t,a,l,d,f,h)}function Bc(t,a,l,d,h,f){Ly(t,a);var C=(a.flags&128)!==0;if(!d&&!C)return h&&Wf(a,l,!1),Zn(t,a,f);d=a.stateNode,YD.current=a;var $=C&&typeof l.getDerivedStateFromError!="function"?null:d.render();return a.flags|=1,t!==null&&C?(a.child=Li(a,t.child,null,f),a.child=Li(a,null,$,f)):It(t,a,$,f),a.memoizedState=d.state,h&&Wf(a,l,!0),a.child}function jy(t){var a=t.stateNode;a.pendingContext?Ff(t,a.pendingContext,a.pendingContext!==a.context):a.context&&Ff(t,a.context,!1),Ic(t,a.containerInfo)}function Fy(t,a,l,d,h){return Oi(),wc(h),a.flags|=256,It(t,a,l,d),a.child}var Hc={dehydrated:null,treeContext:null,retryLane:0};function Vc(t){return{baseLanes:t,cachePool:null,transitions:null}}function Gy(t,a,l){var d=a.pendingProps,h=Ve.current,f=!1,C=(a.flags&128)!==0,$;if(($=C)||($=t!==null&&t.memoizedState===null?!1:(h&2)!==0),$?(f=!0,a.flags&=-129):(t===null||t.memoizedState!==null)&&(h|=1),We(Ve,h&1),t===null)return bc(a),t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((a.mode&1)===0?a.lanes=1:t.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(C=d.children,t=d.fallback,f?(d=a.mode,f=a.child,C={mode:"hidden",children:C},(d&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=C):f=Is(C,d,0,null),t=oi(t,d,l,null),f.return=a,t.return=a,f.sibling=t,a.child=f,a.child.memoizedState=Vc(l),a.memoizedState=Hc,t):Kc(a,C));if(h=t.memoizedState,h!==null&&($=h.dehydrated,$!==null))return JD(t,a,C,d,$,h,l);if(f){f=d.fallback,C=a.mode,h=t.child,$=h.sibling;var L={mode:"hidden",children:d.children};return(C&1)===0&&a.child!==h?(d=a.child,d.childLanes=0,d.pendingProps=L,a.deletions=null):(d=$r(h,L),d.subtreeFlags=h.subtreeFlags&14680064),$!==null?f=$r($,f):(f=oi(f,C,l,null),f.flags|=2),f.return=a,d.return=a,d.sibling=f,a.child=d,d=f,f=a.child,C=t.child.memoizedState,C=C===null?Vc(l):{baseLanes:C.baseLanes|l,cachePool:null,transitions:C.transitions},f.memoizedState=C,f.childLanes=t.childLanes&~l,a.memoizedState=Hc,d}return f=t.child,t=f.sibling,d=$r(f,{mode:"visible",children:d.children}),(a.mode&1)===0&&(d.lanes=l),d.return=a,d.sibling=null,t!==null&&(l=a.deletions,l===null?(a.deletions=[t],a.flags|=16):l.push(t)),a.child=d,a.memoizedState=null,d}function Kc(t,a){return a=Is({mode:"visible",children:a},t.mode,0,null),a.return=t,t.child=a}function ys(t,a,l,d){return d!==null&&wc(d),Li(a,t.child,null,l),t=Kc(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function JD(t,a,l,d,h,f,C){if(l)return a.flags&256?(a.flags&=-257,d=zc(Error(n(422))),ys(t,a,C,d)):a.memoizedState!==null?(a.child=t.child,a.flags|=128,null):(f=d.fallback,h=a.mode,d=Is({mode:"visible",children:d.children},h,0,null),f=oi(f,h,C,null),f.flags|=2,d.return=a,f.return=a,d.sibling=f,a.child=d,(a.mode&1)!==0&&Li(a,t.child,null,C),a.child.memoizedState=Vc(C),a.memoizedState=Hc,f);if((a.mode&1)===0)return ys(t,a,C,null);if(h.data==="$!"){if(d=h.nextSibling&&h.nextSibling.dataset,d)var $=d.dgst;return d=$,f=Error(n(419)),d=zc(f,d,void 0),ys(t,a,C,d)}if($=(C&t.childLanes)!==0,Lt||$){if(d=pt,d!==null){switch(C&-C){case 4:h=2;break;case 16:h=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:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(d.suspendedLanes|C))!==0?0:h,h!==0&&h!==f.retryLane&&(f.retryLane=h,Yn(t,h),kn(d,t,h,-1))}return uu(),d=zc(Error(n(421))),ys(t,a,C,d)}return h.data==="$?"?(a.flags|=128,a.child=t.child,a=d_.bind(null,t),h._reactRetry=a,null):(t=f.treeContext,Vt=br(h.nextSibling),Ht=a,Ue=!0,Sn=null,t!==null&&(an[on++]=Qn,an[on++]=Xn,an[on++]=Yr,Qn=t.id,Xn=t.overflow,Yr=a),a=Kc(a,d.children),a.flags|=4096,a)}function Wy(t,a,l){t.lanes|=a;var d=t.alternate;d!==null&&(d.lanes|=a),Dc(t.return,a,l)}function Qc(t,a,l,d,h){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:h}:(f.isBackwards=a,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=l,f.tailMode=h)}function zy(t,a,l){var d=a.pendingProps,h=d.revealOrder,f=d.tail;if(It(t,a,d.children,l),d=Ve.current,(d&2)!==0)d=d&1|2,a.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Wy(t,l,a);else if(t.tag===19)Wy(t,l,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break e;for(;t.sibling===null;){if(t.return===null||t.return===a)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}d&=1}if(We(Ve,d),(a.mode&1)===0)a.memoizedState=null;else switch(h){case"forwards":for(l=a.child,h=null;l!==null;)t=l.alternate,t!==null&&ds(t)===null&&(h=l),l=l.sibling;l=h,l===null?(h=a.child,a.child=null):(h=l.sibling,l.sibling=null),Qc(a,!1,h,l,f);break;case"backwards":for(l=null,h=a.child,a.child=null;h!==null;){if(t=h.alternate,t!==null&&ds(t)===null){a.child=h;break}t=h.sibling,h.sibling=l,l=h,h=t}Qc(a,!0,l,null,f);break;case"together":Qc(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function vs(t,a){(a.mode&1)===0&&t!==null&&(t.alternate=null,a.alternate=null,a.flags|=2)}function Zn(t,a,l){if(t!==null&&(a.dependencies=t.dependencies),ni|=a.lanes,(l&a.childLanes)===0)return null;if(t!==null&&a.child!==t.child)throw Error(n(153));if(a.child!==null){for(t=a.child,l=$r(t,t.pendingProps),a.child=l,l.return=a;t.sibling!==null;)t=t.sibling,l=l.sibling=$r(t,t.pendingProps),l.return=a;l.sibling=null}return a.child}function ZD(t,a,l){switch(a.tag){case 3:jy(a),Oi();break;case 5:ay(a);break;case 1:At(a.type)&&es(a);break;case 4:Ic(a,a.stateNode.containerInfo);break;case 10:var d=a.type._context,h=a.memoizedProps.value;We(as,d._currentValue),d._currentValue=h;break;case 13:if(d=a.memoizedState,d!==null)return d.dehydrated!==null?(We(Ve,Ve.current&1),a.flags|=128,null):(l&a.child.childLanes)!==0?Gy(t,a,l):(We(Ve,Ve.current&1),t=Zn(t,a,l),t!==null?t.sibling:null);We(Ve,Ve.current&1);break;case 19:if(d=(l&a.childLanes)!==0,(t.flags&128)!==0){if(d)return zy(t,a,l);a.flags|=128}if(h=a.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),We(Ve,Ve.current),d)break;return null;case 22:case 23:return a.lanes=0,Ay(t,a,l)}return Zn(t,a,l)}var qy,Xc,Uy,By;qy=function(t,a){for(var l=a.child;l!==null;){if(l.tag===5||l.tag===6)t.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Xc=function(){},Uy=function(t,a,l,d){var h=t.memoizedProps;if(h!==d){t=a.stateNode,ei(Mn.current);var f=null;switch(l){case"input":h=Rn(t,h),d=Rn(t,d),f=[];break;case"select":h=I({},h,{value:void 0}),d=I({},d,{value:void 0}),f=[];break;case"textarea":h=at(t,h),d=at(t,d),f=[];break;default:typeof h.onClick!="function"&&typeof d.onClick=="function"&&(t.onclick=Yo)}pr(l,d);var C;l=null;for(q in h)if(!d.hasOwnProperty(q)&&h.hasOwnProperty(q)&&h[q]!=null)if(q==="style"){var $=h[q];for(C in $)$.hasOwnProperty(C)&&(l||(l={}),l[C]="")}else q!=="dangerouslySetInnerHTML"&&q!=="children"&&q!=="suppressContentEditableWarning"&&q!=="suppressHydrationWarning"&&q!=="autoFocus"&&(o.hasOwnProperty(q)?f||(f=[]):(f=f||[]).push(q,null));for(q in d){var L=d[q];if($=h?.[q],d.hasOwnProperty(q)&&L!==$&&(L!=null||$!=null))if(q==="style")if($){for(C in $)!$.hasOwnProperty(C)||L&&L.hasOwnProperty(C)||(l||(l={}),l[C]="");for(C in L)L.hasOwnProperty(C)&&$[C]!==L[C]&&(l||(l={}),l[C]=L[C])}else l||(f||(f=[]),f.push(q,l)),l=L;else q==="dangerouslySetInnerHTML"?(L=L?L.__html:void 0,$=$?$.__html:void 0,L!=null&&$!==L&&(f=f||[]).push(q,L)):q==="children"?typeof L!="string"&&typeof L!="number"||(f=f||[]).push(q,""+L):q!=="suppressContentEditableWarning"&&q!=="suppressHydrationWarning"&&(o.hasOwnProperty(q)?(L!=null&&q==="onScroll"&&ze("scroll",t),f||$===L||(f=[])):(f=f||[]).push(q,L))}l&&(f=f||[]).push("style",l);var q=f;(a.updateQueue=q)&&(a.flags|=4)}},By=function(t,a,l,d){l!==d&&(a.flags|=4)};function Wa(t,a){if(!Ue)switch(t.tailMode){case"hidden":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:d.sibling=null}}function bt(t){var a=t.alternate!==null&&t.alternate.child===t.child,l=0,d=0;if(a)for(var h=t.child;h!==null;)l|=h.lanes|h.childLanes,d|=h.subtreeFlags&14680064,d|=h.flags&14680064,h.return=t,h=h.sibling;else for(h=t.child;h!==null;)l|=h.lanes|h.childLanes,d|=h.subtreeFlags,d|=h.flags,h.return=t,h=h.sibling;return t.subtreeFlags|=d,t.childLanes=l,a}function e_(t,a,l){var d=a.pendingProps;switch(vc(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bt(a),null;case 1:return At(a.type)&&Zo(),bt(a),null;case 3:return d=a.stateNode,Mi(),qe(Nt),qe(vt),Oc(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(t===null||t.child===null)&&(is(a)?a.flags|=4:t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Sn!==null&&(su(Sn),Sn=null))),Xc(t,a),bt(a),null;case 5:$c(a);var h=ei(La.current);if(l=a.type,t!==null&&a.stateNode!=null)Uy(t,a,l,d,h),t.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!d){if(a.stateNode===null)throw Error(n(166));return bt(a),null}if(t=ei(Mn.current),is(a)){d=a.stateNode,l=a.type;var f=a.memoizedProps;switch(d[Ln]=a,d[$a]=f,t=(a.mode&1)!==0,l){case"dialog":ze("cancel",d),ze("close",d);break;case"iframe":case"object":case"embed":ze("load",d);break;case"video":case"audio":for(h=0;h<Ea.length;h++)ze(Ea[h],d);break;case"source":ze("error",d);break;case"img":case"image":case"link":ze("error",d),ze("load",d);break;case"details":ze("toggle",d);break;case"input":Oe(d,f),ze("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!f.multiple},ze("invalid",d);break;case"textarea":Ge(d,f),ze("invalid",d)}pr(l,f),h=null;for(var C in f)if(f.hasOwnProperty(C)){var $=f[C];C==="children"?typeof $=="string"?d.textContent!==$&&(f.suppressHydrationWarning!==!0&&Xo(d.textContent,$,t),h=["children",$]):typeof $=="number"&&d.textContent!==""+$&&(f.suppressHydrationWarning!==!0&&Xo(d.textContent,$,t),h=["children",""+$]):o.hasOwnProperty(C)&&$!=null&&C==="onScroll"&&ze("scroll",d)}switch(l){case"input":Dt(d),zt(d,f,!0);break;case"textarea":Dt(d),Ot(d);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(d.onclick=Yo)}d=h,a.updateQueue=d,d!==null&&(a.flags|=4)}else{C=h.nodeType===9?h:h.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=On(l)),t==="http://www.w3.org/1999/xhtml"?l==="script"?(t=C.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof d.is=="string"?t=C.createElement(l,{is:d.is}):(t=C.createElement(l),l==="select"&&(C=t,d.multiple?C.multiple=!0:d.size&&(C.size=d.size))):t=C.createElementNS(t,l),t[Ln]=a,t[$a]=d,qy(t,a,!1,!1),a.stateNode=t;e:{switch(C=gr(l,d),l){case"dialog":ze("cancel",t),ze("close",t),h=d;break;case"iframe":case"object":case"embed":ze("load",t),h=d;break;case"video":case"audio":for(h=0;h<Ea.length;h++)ze(Ea[h],t);h=d;break;case"source":ze("error",t),h=d;break;case"img":case"image":case"link":ze("error",t),ze("load",t),h=d;break;case"details":ze("toggle",t),h=d;break;case"input":Oe(t,d),h=Rn(t,d),ze("invalid",t);break;case"option":h=d;break;case"select":t._wrapperState={wasMultiple:!!d.multiple},h=I({},d,{value:void 0}),ze("invalid",t);break;case"textarea":Ge(t,d),h=at(t,d),ze("invalid",t);break;default:h=d}pr(l,h),$=h;for(f in $)if($.hasOwnProperty(f)){var L=$[f];f==="style"?qt(t,L):f==="dangerouslySetInnerHTML"?(L=L?L.__html:void 0,L!=null&&Et(t,L)):f==="children"?typeof L=="string"?(l!=="textarea"||L!=="")&&rn(t,L):typeof L=="number"&&rn(t,""+L):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(o.hasOwnProperty(f)?L!=null&&f==="onScroll"&&ze("scroll",t):L!=null&&O(t,f,L,C))}switch(l){case"input":Dt(t),zt(t,d,!1);break;case"textarea":Dt(t),Ot(t);break;case"option":d.value!=null&&t.setAttribute("value",""+Ce(d.value));break;case"select":t.multiple=!!d.multiple,f=d.value,f!=null?$e(t,!!d.multiple,f,!1):d.defaultValue!=null&&$e(t,!!d.multiple,d.defaultValue,!0);break;default:typeof h.onClick=="function"&&(t.onclick=Yo)}switch(l){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return bt(a),null;case 6:if(t&&a.stateNode!=null)By(t,a,t.memoizedProps,d);else{if(typeof d!="string"&&a.stateNode===null)throw Error(n(166));if(l=ei(La.current),ei(Mn.current),is(a)){if(d=a.stateNode,l=a.memoizedProps,d[Ln]=a,(f=d.nodeValue!==l)&&(t=Ht,t!==null))switch(t.tag){case 3:Xo(d.nodeValue,l,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Xo(d.nodeValue,l,(t.mode&1)!==0)}f&&(a.flags|=4)}else d=(l.nodeType===9?l:l.ownerDocument).createTextNode(d),d[Ln]=a,a.stateNode=d}return bt(a),null;case 13:if(qe(Ve),d=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Ue&&Vt!==null&&(a.mode&1)!==0&&(a.flags&128)===0)Vf(),Oi(),a.flags|=98560,f=!1;else if(f=is(a),d!==null&&d.dehydrated!==null){if(t===null){if(!f)throw Error(n(318));if(f=a.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(n(317));f[Ln]=a}else Oi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;bt(a),f=!1}else Sn!==null&&(su(Sn),Sn=null),f=!0;if(!f)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=l,a):(d=d!==null,d!==(t!==null&&t.memoizedState!==null)&&d&&(a.child.flags|=8192,(a.mode&1)!==0&&(t===null||(Ve.current&1)!==0?st===0&&(st=3):uu())),a.updateQueue!==null&&(a.flags|=4),bt(a),null);case 4:return Mi(),Xc(t,a),t===null&&xa(a.stateNode.containerInfo),bt(a),null;case 10:return Pc(a.type._context),bt(a),null;case 17:return At(a.type)&&Zo(),bt(a),null;case 19:if(qe(Ve),f=a.memoizedState,f===null)return bt(a),null;if(d=(a.flags&128)!==0,C=f.rendering,C===null)if(d)Wa(f,!1);else{if(st!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(C=ds(t),C!==null){for(a.flags|=128,Wa(f,!1),d=C.updateQueue,d!==null&&(a.updateQueue=d,a.flags|=4),a.subtreeFlags=0,d=l,l=a.child;l!==null;)f=l,t=d,f.flags&=14680066,C=f.alternate,C===null?(f.childLanes=0,f.lanes=t,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=C.childLanes,f.lanes=C.lanes,f.child=C.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=C.memoizedProps,f.memoizedState=C.memoizedState,f.updateQueue=C.updateQueue,f.type=C.type,t=C.dependencies,f.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l=l.sibling;return We(Ve,Ve.current&1|2),a.child}t=t.sibling}f.tail!==null&&Ze()>Wi&&(a.flags|=128,d=!0,Wa(f,!1),a.lanes=4194304)}else{if(!d)if(t=ds(C),t!==null){if(a.flags|=128,d=!0,l=t.updateQueue,l!==null&&(a.updateQueue=l,a.flags|=4),Wa(f,!0),f.tail===null&&f.tailMode==="hidden"&&!C.alternate&&!Ue)return bt(a),null}else 2*Ze()-f.renderingStartTime>Wi&&l!==1073741824&&(a.flags|=128,d=!0,Wa(f,!1),a.lanes=4194304);f.isBackwards?(C.sibling=a.child,a.child=C):(l=f.last,l!==null?l.sibling=C:a.child=C,f.last=C)}return f.tail!==null?(a=f.tail,f.rendering=a,f.tail=a.sibling,f.renderingStartTime=Ze(),a.sibling=null,l=Ve.current,We(Ve,d?l&1|2:l&1),a):(bt(a),null);case 22:case 23:return cu(),d=a.memoizedState!==null,t!==null&&t.memoizedState!==null!==d&&(a.flags|=8192),d&&(a.mode&1)!==0?(Kt&1073741824)!==0&&(bt(a),a.subtreeFlags&6&&(a.flags|=8192)):bt(a),null;case 24:return null;case 25:return null}throw Error(n(156,a.tag))}function t_(t,a){switch(vc(a),a.tag){case 1:return At(a.type)&&Zo(),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return Mi(),qe(Nt),qe(vt),Oc(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 5:return $c(a),null;case 13:if(qe(Ve),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(n(340));Oi()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return qe(Ve),null;case 4:return Mi(),null;case 10:return Pc(a.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var Ss=!1,wt=!1,n_=typeof WeakSet=="function"?WeakSet:Set,ce=null;function Fi(t,a){var l=t.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(d){Ye(t,a,d)}else l.current=null}function Yc(t,a,l){try{l()}catch(d){Ye(t,a,d)}}var Hy=!1;function r_(t,a){if(cc=Fo,t=kf(),tc(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else e:{l=(l=t.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var h=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{l.nodeType,f.nodeType}catch{l=null;break e}var C=0,$=-1,L=-1,q=0,Y=0,Z=t,Q=null;t:for(;;){for(var le;Z!==l||h!==0&&Z.nodeType!==3||($=C+h),Z!==f||d!==0&&Z.nodeType!==3||(L=C+d),Z.nodeType===3&&(C+=Z.nodeValue.length),(le=Z.firstChild)!==null;)Q=Z,Z=le;for(;;){if(Z===t)break t;if(Q===l&&++q===h&&($=C),Q===f&&++Y===d&&(L=C),(le=Z.nextSibling)!==null)break;Z=Q,Q=Z.parentNode}Z=le}l=$===-1||L===-1?null:{start:$,end:L}}else l=null}l=l||{start:0,end:0}}else l=null;for(uc={focusedElem:t,selectionRange:l},Fo=!1,ce=a;ce!==null;)if(a=ce,t=a.child,(a.subtreeFlags&1028)!==0&&t!==null)t.return=a,ce=t;else for(;ce!==null;){a=ce;try{var de=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(de!==null){var pe=de.memoizedProps,et=de.memoizedState,W=a.stateNode,j=W.getSnapshotBeforeUpdate(a.elementType===a.type?pe:bn(a.type,pe),et);W.__reactInternalSnapshotBeforeUpdate=j}break;case 3:var z=a.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ne){Ye(a,a.return,ne)}if(t=a.sibling,t!==null){t.return=a.return,ce=t;break}ce=a.return}return de=Hy,Hy=!1,de}function za(t,a,l){var d=a.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var h=d=d.next;do{if((h.tag&t)===t){var f=h.destroy;h.destroy=void 0,f!==void 0&&Yc(a,l,f)}h=h.next}while(h!==d)}}function bs(t,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var l=a=a.next;do{if((l.tag&t)===t){var d=l.create;l.destroy=d()}l=l.next}while(l!==a)}}function Jc(t){var a=t.ref;if(a!==null){var l=t.stateNode;t.tag,t=l,typeof a=="function"?a(t):a.current=t}}function Vy(t){var a=t.alternate;a!==null&&(t.alternate=null,Vy(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&(delete a[Ln],delete a[$a],delete a[hc],delete a[FD],delete a[GD])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Ky(t){return t.tag===5||t.tag===3||t.tag===4}function Qy(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Ky(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Zc(t,a,l){var d=t.tag;if(d===5||d===6)t=t.stateNode,a?l.nodeType===8?l.parentNode.insertBefore(t,a):l.insertBefore(t,a):(l.nodeType===8?(a=l.parentNode,a.insertBefore(t,l)):(a=l,a.appendChild(t)),l=l._reactRootContainer,l!=null||a.onclick!==null||(a.onclick=Yo));else if(d!==4&&(t=t.child,t!==null))for(Zc(t,a,l),t=t.sibling;t!==null;)Zc(t,a,l),t=t.sibling}function eu(t,a,l){var d=t.tag;if(d===5||d===6)t=t.stateNode,a?l.insertBefore(t,a):l.appendChild(t);else if(d!==4&&(t=t.child,t!==null))for(eu(t,a,l),t=t.sibling;t!==null;)eu(t,a,l),t=t.sibling}var mt=null,wn=!1;function _r(t,a,l){for(l=l.child;l!==null;)Xy(t,a,l),l=l.sibling}function Xy(t,a,l){if(An&&typeof An.onCommitFiberUnmount=="function")try{An.onCommitFiberUnmount(Oo,l)}catch{}switch(l.tag){case 5:wt||Fi(l,a);case 6:var d=mt,h=wn;mt=null,_r(t,a,l),mt=d,wn=h,mt!==null&&(wn?(t=mt,l=l.stateNode,t.nodeType===8?t.parentNode.removeChild(l):t.removeChild(l)):mt.removeChild(l.stateNode));break;case 18:mt!==null&&(wn?(t=mt,l=l.stateNode,t.nodeType===8?gc(t.parentNode,l):t.nodeType===1&&gc(t,l),ba(t)):gc(mt,l.stateNode));break;case 4:d=mt,h=wn,mt=l.stateNode.containerInfo,wn=!0,_r(t,a,l),mt=d,wn=h;break;case 0:case 11:case 14:case 15:if(!wt&&(d=l.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){h=d=d.next;do{var f=h,C=f.destroy;f=f.tag,C!==void 0&&((f&2)!==0||(f&4)!==0)&&Yc(l,a,C),h=h.next}while(h!==d)}_r(t,a,l);break;case 1:if(!wt&&(Fi(l,a),d=l.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=l.memoizedProps,d.state=l.memoizedState,d.componentWillUnmount()}catch($){Ye(l,a,$)}_r(t,a,l);break;case 21:_r(t,a,l);break;case 22:l.mode&1?(wt=(d=wt)||l.memoizedState!==null,_r(t,a,l),wt=d):_r(t,a,l);break;default:_r(t,a,l)}}function Yy(t){var a=t.updateQueue;if(a!==null){t.updateQueue=null;var l=t.stateNode;l===null&&(l=t.stateNode=new n_),a.forEach(function(d){var h=p_.bind(null,t,d);l.has(d)||(l.add(d),d.then(h,h))})}}function Cn(t,a){var l=a.deletions;if(l!==null)for(var d=0;d<l.length;d++){var h=l[d];try{var f=t,C=a,$=C;e:for(;$!==null;){switch($.tag){case 5:mt=$.stateNode,wn=!1;break e;case 3:mt=$.stateNode.containerInfo,wn=!0;break e;case 4:mt=$.stateNode.containerInfo,wn=!0;break e}$=$.return}if(mt===null)throw Error(n(160));Xy(f,C,h),mt=null,wn=!1;var L=h.alternate;L!==null&&(L.return=null),h.return=null}catch(q){Ye(h,a,q)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Jy(a,t),a=a.sibling}function Jy(t,a){var l=t.alternate,d=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Cn(a,t),Fn(t),d&4){try{za(3,t,t.return),bs(3,t)}catch(pe){Ye(t,t.return,pe)}try{za(5,t,t.return)}catch(pe){Ye(t,t.return,pe)}}break;case 1:Cn(a,t),Fn(t),d&512&&l!==null&&Fi(l,l.return);break;case 5:if(Cn(a,t),Fn(t),d&512&&l!==null&&Fi(l,l.return),t.flags&32){var h=t.stateNode;try{rn(h,"")}catch(pe){Ye(t,t.return,pe)}}if(d&4&&(h=t.stateNode,h!=null)){var f=t.memoizedProps,C=l!==null?l.memoizedProps:f,$=t.type,L=t.updateQueue;if(t.updateQueue=null,L!==null)try{$==="input"&&f.type==="radio"&&f.name!=null&&tn(h,f),gr($,C);var q=gr($,f);for(C=0;C<L.length;C+=2){var Y=L[C],Z=L[C+1];Y==="style"?qt(h,Z):Y==="dangerouslySetInnerHTML"?Et(h,Z):Y==="children"?rn(h,Z):O(h,Y,Z,q)}switch($){case"input":Te(h,f);break;case"textarea":Tt(h,f);break;case"select":var Q=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!f.multiple;var le=f.value;le!=null?$e(h,!!f.multiple,le,!1):Q!==!!f.multiple&&(f.defaultValue!=null?$e(h,!!f.multiple,f.defaultValue,!0):$e(h,!!f.multiple,f.multiple?[]:"",!1))}h[$a]=f}catch(pe){Ye(t,t.return,pe)}}break;case 6:if(Cn(a,t),Fn(t),d&4){if(t.stateNode===null)throw Error(n(162));h=t.stateNode,f=t.memoizedProps;try{h.nodeValue=f}catch(pe){Ye(t,t.return,pe)}}break;case 3:if(Cn(a,t),Fn(t),d&4&&l!==null&&l.memoizedState.isDehydrated)try{ba(a.containerInfo)}catch(pe){Ye(t,t.return,pe)}break;case 4:Cn(a,t),Fn(t);break;case 13:Cn(a,t),Fn(t),h=t.child,h.flags&8192&&(f=h.memoizedState!==null,h.stateNode.isHidden=f,!f||h.alternate!==null&&h.alternate.memoizedState!==null||(ru=Ze())),d&4&&Yy(t);break;case 22:if(Y=l!==null&&l.memoizedState!==null,t.mode&1?(wt=(q=wt)||Y,Cn(a,t),wt=q):Cn(a,t),Fn(t),d&8192){if(q=t.memoizedState!==null,(t.stateNode.isHidden=q)&&!Y&&(t.mode&1)!==0)for(ce=t,Y=t.child;Y!==null;){for(Z=ce=Y;ce!==null;){switch(Q=ce,le=Q.child,Q.tag){case 0:case 11:case 14:case 15:za(4,Q,Q.return);break;case 1:Fi(Q,Q.return);var de=Q.stateNode;if(typeof de.componentWillUnmount=="function"){d=Q,l=Q.return;try{a=d,de.props=a.memoizedProps,de.state=a.memoizedState,de.componentWillUnmount()}catch(pe){Ye(d,l,pe)}}break;case 5:Fi(Q,Q.return);break;case 22:if(Q.memoizedState!==null){tv(Z);continue}}le!==null?(le.return=Q,ce=le):tv(Z)}Y=Y.sibling}e:for(Y=null,Z=t;;){if(Z.tag===5){if(Y===null){Y=Z;try{h=Z.stateNode,q?(f=h.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):($=Z.stateNode,L=Z.memoizedProps.style,C=L!=null&&L.hasOwnProperty("display")?L.display:null,$.style.display=xt("display",C))}catch(pe){Ye(t,t.return,pe)}}}else if(Z.tag===6){if(Y===null)try{Z.stateNode.nodeValue=q?"":Z.memoizedProps}catch(pe){Ye(t,t.return,pe)}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===t)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===t)break e;for(;Z.sibling===null;){if(Z.return===null||Z.return===t)break e;Y===Z&&(Y=null),Z=Z.return}Y===Z&&(Y=null),Z.sibling.return=Z.return,Z=Z.sibling}}break;case 19:Cn(a,t),Fn(t),d&4&&Yy(t);break;case 21:break;default:Cn(a,t),Fn(t)}}function Fn(t){var a=t.flags;if(a&2){try{e:{for(var l=t.return;l!==null;){if(Ky(l)){var d=l;break e}l=l.return}throw Error(n(160))}switch(d.tag){case 5:var h=d.stateNode;d.flags&32&&(rn(h,""),d.flags&=-33);var f=Qy(t);eu(t,f,h);break;case 3:case 4:var C=d.stateNode.containerInfo,$=Qy(t);Zc(t,$,C);break;default:throw Error(n(161))}}catch(L){Ye(t,t.return,L)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function i_(t,a,l){ce=t,Zy(t)}function Zy(t,a,l){for(var d=(t.mode&1)!==0;ce!==null;){var h=ce,f=h.child;if(h.tag===22&&d){var C=h.memoizedState!==null||Ss;if(!C){var $=h.alternate,L=$!==null&&$.memoizedState!==null||wt;$=Ss;var q=wt;if(Ss=C,(wt=L)&&!q)for(ce=h;ce!==null;)C=ce,L=C.child,C.tag===22&&C.memoizedState!==null?nv(h):L!==null?(L.return=C,ce=L):nv(h);for(;f!==null;)ce=f,Zy(f),f=f.sibling;ce=h,Ss=$,wt=q}ev(t)}else(h.subtreeFlags&8772)!==0&&f!==null?(f.return=h,ce=f):ev(t)}}function ev(t){for(;ce!==null;){var a=ce;if((a.flags&8772)!==0){var l=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:wt||bs(5,a);break;case 1:var d=a.stateNode;if(a.flags&4&&!wt)if(l===null)d.componentDidMount();else{var h=a.elementType===a.type?l.memoizedProps:bn(a.type,l.memoizedProps);d.componentDidUpdate(h,l.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var f=a.updateQueue;f!==null&&Yf(a,f,d);break;case 3:var C=a.updateQueue;if(C!==null){if(l=null,a.child!==null)switch(a.child.tag){case 5:l=a.child.stateNode;break;case 1:l=a.child.stateNode}Yf(a,C,l)}break;case 5:var $=a.stateNode;if(l===null&&a.flags&4){l=$;var L=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":L.autoFocus&&l.focus();break;case"img":L.src&&(l.src=L.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var q=a.alternate;if(q!==null){var Y=q.memoizedState;if(Y!==null){var Z=Y.dehydrated;Z!==null&&ba(Z)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}wt||a.flags&512&&Jc(a)}catch(Q){Ye(a,a.return,Q)}}if(a===t){ce=null;break}if(l=a.sibling,l!==null){l.return=a.return,ce=l;break}ce=a.return}}function tv(t){for(;ce!==null;){var a=ce;if(a===t){ce=null;break}var l=a.sibling;if(l!==null){l.return=a.return,ce=l;break}ce=a.return}}function nv(t){for(;ce!==null;){var a=ce;try{switch(a.tag){case 0:case 11:case 15:var l=a.return;try{bs(4,a)}catch(L){Ye(a,l,L)}break;case 1:var d=a.stateNode;if(typeof d.componentDidMount=="function"){var h=a.return;try{d.componentDidMount()}catch(L){Ye(a,h,L)}}var f=a.return;try{Jc(a)}catch(L){Ye(a,f,L)}break;case 5:var C=a.return;try{Jc(a)}catch(L){Ye(a,C,L)}}}catch(L){Ye(a,a.return,L)}if(a===t){ce=null;break}var $=a.sibling;if($!==null){$.return=a.return,ce=$;break}ce=a.return}}var a_=Math.ceil,ws=M.ReactCurrentDispatcher,tu=M.ReactCurrentOwner,cn=M.ReactCurrentBatchConfig,Re=0,pt=null,nt=null,ft=0,Kt=0,Gi=wr(0),st=0,qa=null,ni=0,Cs=0,nu=0,Ua=null,Mt=null,ru=0,Wi=1/0,er=null,ks=!1,iu=null,Tr=null,Ps=!1,Er=null,Ds=0,Ba=0,au=null,_s=-1,Ts=0;function $t(){return(Re&6)!==0?Ze():_s!==-1?_s:_s=Ze()}function xr(t){return(t.mode&1)===0?1:(Re&2)!==0&&ft!==0?ft&-ft:zD.transition!==null?(Ts===0&&(Ts=Vm()),Ts):(t=Fe,t!==0||(t=window.event,t=t===void 0?16:nf(t.type)),t)}function kn(t,a,l,d){if(50<Ba)throw Ba=0,au=null,Error(n(185));ma(t,l,d),((Re&2)===0||t!==pt)&&(t===pt&&((Re&2)===0&&(Cs|=l),st===4&&Ir(t,ft)),jt(t,d),l===1&&Re===0&&(a.mode&1)===0&&(Wi=Ze()+500,ts&&kr()))}function jt(t,a){var l=t.callbackNode;zP(t,a);var d=Lo(t,t===pt?ft:0);if(d===0)l!==null&&Um(l),t.callbackNode=null,t.callbackPriority=0;else if(a=d&-d,t.callbackPriority!==a){if(l!=null&&Um(l),a===1)t.tag===0?WD(iv.bind(null,t)):zf(iv.bind(null,t)),MD(function(){(Re&6)===0&&kr()}),l=null;else{switch(Km(d)){case 1:l=jl;break;case 4:l=Bm;break;case 16:l=Ro;break;case 536870912:l=Hm;break;default:l=Ro}l=pv(l,rv.bind(null,t))}t.callbackPriority=a,t.callbackNode=l}}function rv(t,a){if(_s=-1,Ts=0,(Re&6)!==0)throw Error(n(327));var l=t.callbackNode;if(zi()&&t.callbackNode!==l)return null;var d=Lo(t,t===pt?ft:0);if(d===0)return null;if((d&30)!==0||(d&t.expiredLanes)!==0||a)a=Es(t,d);else{a=d;var h=Re;Re|=2;var f=ov();(pt!==t||ft!==a)&&(er=null,Wi=Ze()+500,ii(t,a));do try{l_();break}catch($){av(t,$)}while(!0);kc(),ws.current=f,Re=h,nt!==null?a=0:(pt=null,ft=0,a=st)}if(a!==0){if(a===2&&(h=Fl(t),h!==0&&(d=h,a=ou(t,h))),a===1)throw l=qa,ii(t,0),Ir(t,d),jt(t,Ze()),l;if(a===6)Ir(t,d);else{if(h=t.current.alternate,(d&30)===0&&!o_(h)&&(a=Es(t,d),a===2&&(f=Fl(t),f!==0&&(d=f,a=ou(t,f))),a===1))throw l=qa,ii(t,0),Ir(t,d),jt(t,Ze()),l;switch(t.finishedWork=h,t.finishedLanes=d,a){case 0:case 1:throw Error(n(345));case 2:ai(t,Mt,er);break;case 3:if(Ir(t,d),(d&130023424)===d&&(a=ru+500-Ze(),10<a)){if(Lo(t,0)!==0)break;if(h=t.suspendedLanes,(h&d)!==d){$t(),t.pingedLanes|=t.suspendedLanes&h;break}t.timeoutHandle=pc(ai.bind(null,t,Mt,er),a);break}ai(t,Mt,er);break;case 4:if(Ir(t,d),(d&4194240)===d)break;for(a=t.eventTimes,h=-1;0<d;){var C=31-yn(d);f=1<<C,C=a[C],C>h&&(h=C),d&=~f}if(d=h,d=Ze()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*a_(d/1960))-d,10<d){t.timeoutHandle=pc(ai.bind(null,t,Mt,er),d);break}ai(t,Mt,er);break;case 5:ai(t,Mt,er);break;default:throw Error(n(329))}}}return jt(t,Ze()),t.callbackNode===l?rv.bind(null,t):null}function ou(t,a){var l=Ua;return t.current.memoizedState.isDehydrated&&(ii(t,a).flags|=256),t=Es(t,a),t!==2&&(a=Mt,Mt=l,a!==null&&su(a)),t}function su(t){Mt===null?Mt=t:Mt.push.apply(Mt,t)}function o_(t){for(var a=t;;){if(a.flags&16384){var l=a.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var d=0;d<l.length;d++){var h=l[d],f=h.getSnapshot;h=h.value;try{if(!vn(f(),h))return!1}catch{return!1}}}if(l=a.child,a.subtreeFlags&16384&&l!==null)l.return=a,a=l;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ir(t,a){for(a&=~nu,a&=~Cs,t.suspendedLanes|=a,t.pingedLanes&=~a,t=t.expirationTimes;0<a;){var l=31-yn(a),d=1<<l;t[l]=-1,a&=~d}}function iv(t){if((Re&6)!==0)throw Error(n(327));zi();var a=Lo(t,0);if((a&1)===0)return jt(t,Ze()),null;var l=Es(t,a);if(t.tag!==0&&l===2){var d=Fl(t);d!==0&&(a=d,l=ou(t,d))}if(l===1)throw l=qa,ii(t,0),Ir(t,a),jt(t,Ze()),l;if(l===6)throw Error(n(345));return t.finishedWork=t.current.alternate,t.finishedLanes=a,ai(t,Mt,er),jt(t,Ze()),null}function lu(t,a){var l=Re;Re|=1;try{return t(a)}finally{Re=l,Re===0&&(Wi=Ze()+500,ts&&kr())}}function ri(t){Er!==null&&Er.tag===0&&(Re&6)===0&&zi();var a=Re;Re|=1;var l=cn.transition,d=Fe;try{if(cn.transition=null,Fe=1,t)return t()}finally{Fe=d,cn.transition=l,Re=a,(Re&6)===0&&kr()}}function cu(){Kt=Gi.current,qe(Gi)}function ii(t,a){t.finishedWork=null,t.finishedLanes=0;var l=t.timeoutHandle;if(l!==-1&&(t.timeoutHandle=-1,LD(l)),nt!==null)for(l=nt.return;l!==null;){var d=l;switch(vc(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&Zo();break;case 3:Mi(),qe(Nt),qe(vt),Oc();break;case 5:$c(d);break;case 4:Mi();break;case 13:qe(Ve);break;case 19:qe(Ve);break;case 10:Pc(d.type._context);break;case 22:case 23:cu()}l=l.return}if(pt=t,nt=t=$r(t.current,null),ft=Kt=a,st=0,qa=null,nu=Cs=ni=0,Mt=Ua=null,Zr!==null){for(a=0;a<Zr.length;a++)if(l=Zr[a],d=l.interleaved,d!==null){l.interleaved=null;var h=d.next,f=l.pending;if(f!==null){var C=f.next;f.next=h,d.next=C}l.pending=d}Zr=null}return t}function av(t,a){do{var l=nt;try{if(kc(),ps.current=fs,gs){for(var d=Ke.memoizedState;d!==null;){var h=d.queue;h!==null&&(h.pending=null),d=d.next}gs=!1}if(ti=0,dt=ot=Ke=null,Ma=!1,ja=0,tu.current=null,l===null||l.return===null){st=1,qa=a,nt=null;break}e:{var f=t,C=l.return,$=l,L=a;if(a=ft,$.flags|=32768,L!==null&&typeof L=="object"&&typeof L.then=="function"){var q=L,Y=$,Z=Y.tag;if((Y.mode&1)===0&&(Z===0||Z===11||Z===15)){var Q=Y.alternate;Q?(Y.updateQueue=Q.updateQueue,Y.memoizedState=Q.memoizedState,Y.lanes=Q.lanes):(Y.updateQueue=null,Y.memoizedState=null)}var le=Iy(C);if(le!==null){le.flags&=-257,$y(le,C,$,f,a),le.mode&1&&xy(f,q,a),a=le,L=q;var de=a.updateQueue;if(de===null){var pe=new Set;pe.add(L),a.updateQueue=pe}else de.add(L);break e}else{if((a&1)===0){xy(f,q,a),uu();break e}L=Error(n(426))}}else if(Ue&&$.mode&1){var et=Iy(C);if(et!==null){(et.flags&65536)===0&&(et.flags|=256),$y(et,C,$,f,a),wc(ji(L,$));break e}}f=L=ji(L,$),st!==4&&(st=2),Ua===null?Ua=[f]:Ua.push(f),f=C;do{switch(f.tag){case 3:f.flags|=65536,a&=-a,f.lanes|=a;var W=Ty(f,L,a);Xf(f,W);break e;case 1:$=L;var j=f.type,z=f.stateNode;if((f.flags&128)===0&&(typeof j.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(Tr===null||!Tr.has(z)))){f.flags|=65536,a&=-a,f.lanes|=a;var ne=Ey(f,$,a);Xf(f,ne);break e}}f=f.return}while(f!==null)}lv(l)}catch(me){a=me,nt===l&&l!==null&&(nt=l=l.return);continue}break}while(!0)}function ov(){var t=ws.current;return ws.current=fs,t===null?fs:t}function uu(){(st===0||st===3||st===2)&&(st=4),pt===null||(ni&268435455)===0&&(Cs&268435455)===0||Ir(pt,ft)}function Es(t,a){var l=Re;Re|=2;var d=ov();(pt!==t||ft!==a)&&(er=null,ii(t,a));do try{s_();break}catch(h){av(t,h)}while(!0);if(kc(),Re=l,ws.current=d,nt!==null)throw Error(n(261));return pt=null,ft=0,st}function s_(){for(;nt!==null;)sv(nt)}function l_(){for(;nt!==null&&!OP();)sv(nt)}function sv(t){var a=dv(t.alternate,t,Kt);t.memoizedProps=t.pendingProps,a===null?lv(t):nt=a,tu.current=null}function lv(t){var a=t;do{var l=a.alternate;if(t=a.return,(a.flags&32768)===0){if(l=e_(l,a,Kt),l!==null){nt=l;return}}else{if(l=t_(l,a),l!==null){l.flags&=32767,nt=l;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{st=6,nt=null;return}}if(a=a.sibling,a!==null){nt=a;return}nt=a=t}while(a!==null);st===0&&(st=5)}function ai(t,a,l){var d=Fe,h=cn.transition;try{cn.transition=null,Fe=1,c_(t,a,l,d)}finally{cn.transition=h,Fe=d}return null}function c_(t,a,l,d){do zi();while(Er!==null);if((Re&6)!==0)throw Error(n(327));l=t.finishedWork;var h=t.finishedLanes;if(l===null)return null;if(t.finishedWork=null,t.finishedLanes=0,l===t.current)throw Error(n(177));t.callbackNode=null,t.callbackPriority=0;var f=l.lanes|l.childLanes;if(qP(t,f),t===pt&&(nt=pt=null,ft=0),(l.subtreeFlags&2064)===0&&(l.flags&2064)===0||Ps||(Ps=!0,pv(Ro,function(){return zi(),null})),f=(l.flags&15990)!==0,(l.subtreeFlags&15990)!==0||f){f=cn.transition,cn.transition=null;var C=Fe;Fe=1;var $=Re;Re|=4,tu.current=null,r_(t,l),Jy(l,t),xD(uc),Fo=!!cc,uc=cc=null,t.current=l,i_(l),NP(),Re=$,Fe=C,cn.transition=f}else t.current=l;if(Ps&&(Ps=!1,Er=t,Ds=h),f=t.pendingLanes,f===0&&(Tr=null),MP(l.stateNode),jt(t,Ze()),a!==null)for(d=t.onRecoverableError,l=0;l<a.length;l++)h=a[l],d(h.value,{componentStack:h.stack,digest:h.digest});if(ks)throw ks=!1,t=iu,iu=null,t;return(Ds&1)!==0&&t.tag!==0&&zi(),f=t.pendingLanes,(f&1)!==0?t===au?Ba++:(Ba=0,au=t):Ba=0,kr(),null}function zi(){if(Er!==null){var t=Km(Ds),a=cn.transition,l=Fe;try{if(cn.transition=null,Fe=16>t?16:t,Er===null)var d=!1;else{if(t=Er,Er=null,Ds=0,(Re&6)!==0)throw Error(n(331));var h=Re;for(Re|=4,ce=t.current;ce!==null;){var f=ce,C=f.child;if((ce.flags&16)!==0){var $=f.deletions;if($!==null){for(var L=0;L<$.length;L++){var q=$[L];for(ce=q;ce!==null;){var Y=ce;switch(Y.tag){case 0:case 11:case 15:za(8,Y,f)}var Z=Y.child;if(Z!==null)Z.return=Y,ce=Z;else for(;ce!==null;){Y=ce;var Q=Y.sibling,le=Y.return;if(Vy(Y),Y===q){ce=null;break}if(Q!==null){Q.return=le,ce=Q;break}ce=le}}}var de=f.alternate;if(de!==null){var pe=de.child;if(pe!==null){de.child=null;do{var et=pe.sibling;pe.sibling=null,pe=et}while(pe!==null)}}ce=f}}if((f.subtreeFlags&2064)!==0&&C!==null)C.return=f,ce=C;else e:for(;ce!==null;){if(f=ce,(f.flags&2048)!==0)switch(f.tag){case 0:case 11:case 15:za(9,f,f.return)}var W=f.sibling;if(W!==null){W.return=f.return,ce=W;break e}ce=f.return}}var j=t.current;for(ce=j;ce!==null;){C=ce;var z=C.child;if((C.subtreeFlags&2064)!==0&&z!==null)z.return=C,ce=z;else e:for(C=j;ce!==null;){if($=ce,($.flags&2048)!==0)try{switch($.tag){case 0:case 11:case 15:bs(9,$)}}catch(me){Ye($,$.return,me)}if($===C){ce=null;break e}var ne=$.sibling;if(ne!==null){ne.return=$.return,ce=ne;break e}ce=$.return}}if(Re=h,kr(),An&&typeof An.onPostCommitFiberRoot=="function")try{An.onPostCommitFiberRoot(Oo,t)}catch{}d=!0}return d}finally{Fe=l,cn.transition=a}}return!1}function cv(t,a,l){a=ji(l,a),a=Ty(t,a,1),t=Dr(t,a,1),a=$t(),t!==null&&(ma(t,1,a),jt(t,a))}function Ye(t,a,l){if(t.tag===3)cv(t,t,l);else for(;a!==null;){if(a.tag===3){cv(a,t,l);break}else if(a.tag===1){var d=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Tr===null||!Tr.has(d))){t=ji(l,t),t=Ey(a,t,1),a=Dr(a,t,1),t=$t(),a!==null&&(ma(a,1,t),jt(a,t));break}}a=a.return}}function u_(t,a,l){var d=t.pingCache;d!==null&&d.delete(a),a=$t(),t.pingedLanes|=t.suspendedLanes&l,pt===t&&(ft&l)===l&&(st===4||st===3&&(ft&130023424)===ft&&500>Ze()-ru?ii(t,0):nu|=l),jt(t,a)}function uv(t,a){a===0&&((t.mode&1)===0?a=1:(a=Ao,Ao<<=1,(Ao&130023424)===0&&(Ao=4194304)));var l=$t();t=Yn(t,a),t!==null&&(ma(t,a,l),jt(t,l))}function d_(t){var a=t.memoizedState,l=0;a!==null&&(l=a.retryLane),uv(t,l)}function p_(t,a){var l=0;switch(t.tag){case 13:var d=t.stateNode,h=t.memoizedState;h!==null&&(l=h.retryLane);break;case 19:d=t.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(a),uv(t,l)}var dv;dv=function(t,a,l){if(t!==null)if(t.memoizedProps!==a.pendingProps||Nt.current)Lt=!0;else{if((t.lanes&l)===0&&(a.flags&128)===0)return Lt=!1,ZD(t,a,l);Lt=(t.flags&131072)!==0}else Lt=!1,Ue&&(a.flags&1048576)!==0&&qf(a,rs,a.index);switch(a.lanes=0,a.tag){case 2:var d=a.type;vs(t,a),t=a.pendingProps;var h=Ii(a,vt.current);Ai(a,l),h=Lc(null,a,d,t,h,l);var f=Mc();return a.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,At(d)?(f=!0,es(a)):f=!1,a.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,Tc(a),h.updater=cs,a.stateNode=h,h._reactInternals=a,xc(a,d,t,l),a=Bc(null,a,d,!0,f,l)):(a.tag=0,Ue&&f&&yc(a),It(null,a,h,l),a=a.child),a;case 16:d=a.elementType;e:{switch(vs(t,a),t=a.pendingProps,h=d._init,d=h(d._payload),a.type=d,h=a.tag=h_(d),t=bn(d,t),h){case 0:a=Uc(null,a,d,t,l);break e;case 1:a=My(null,a,d,t,l);break e;case 11:a=Ry(null,a,d,t,l);break e;case 14:a=Oy(null,a,d,bn(d.type,t),l);break e}throw Error(n(306,d,""))}return a;case 0:return d=a.type,h=a.pendingProps,h=a.elementType===d?h:bn(d,h),Uc(t,a,d,h,l);case 1:return d=a.type,h=a.pendingProps,h=a.elementType===d?h:bn(d,h),My(t,a,d,h,l);case 3:e:{if(jy(a),t===null)throw Error(n(387));d=a.pendingProps,f=a.memoizedState,h=f.element,Qf(t,a),ls(a,d,null,l);var C=a.memoizedState;if(d=C.element,f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){h=ji(Error(n(423)),a),a=Fy(t,a,d,l,h);break e}else if(d!==h){h=ji(Error(n(424)),a),a=Fy(t,a,d,l,h);break e}else for(Vt=br(a.stateNode.containerInfo.firstChild),Ht=a,Ue=!0,Sn=null,l=iy(a,null,d,l),a.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Oi(),d===h){a=Zn(t,a,l);break e}It(t,a,d,l)}a=a.child}return a;case 5:return ay(a),t===null&&bc(a),d=a.type,h=a.pendingProps,f=t!==null?t.memoizedProps:null,C=h.children,dc(d,h)?C=null:f!==null&&dc(d,f)&&(a.flags|=32),Ly(t,a),It(t,a,C,l),a.child;case 6:return t===null&&bc(a),null;case 13:return Gy(t,a,l);case 4:return Ic(a,a.stateNode.containerInfo),d=a.pendingProps,t===null?a.child=Li(a,null,d,l):It(t,a,d,l),a.child;case 11:return d=a.type,h=a.pendingProps,h=a.elementType===d?h:bn(d,h),Ry(t,a,d,h,l);case 7:return It(t,a,a.pendingProps,l),a.child;case 8:return It(t,a,a.pendingProps.children,l),a.child;case 12:return It(t,a,a.pendingProps.children,l),a.child;case 10:e:{if(d=a.type._context,h=a.pendingProps,f=a.memoizedProps,C=h.value,We(as,d._currentValue),d._currentValue=C,f!==null)if(vn(f.value,C)){if(f.children===h.children&&!Nt.current){a=Zn(t,a,l);break e}}else for(f=a.child,f!==null&&(f.return=a);f!==null;){var $=f.dependencies;if($!==null){C=f.child;for(var L=$.firstContext;L!==null;){if(L.context===d){if(f.tag===1){L=Jn(-1,l&-l),L.tag=2;var q=f.updateQueue;if(q!==null){q=q.shared;var Y=q.pending;Y===null?L.next=L:(L.next=Y.next,Y.next=L),q.pending=L}}f.lanes|=l,L=f.alternate,L!==null&&(L.lanes|=l),Dc(f.return,l,a),$.lanes|=l;break}L=L.next}}else if(f.tag===10)C=f.type===a.type?null:f.child;else if(f.tag===18){if(C=f.return,C===null)throw Error(n(341));C.lanes|=l,$=C.alternate,$!==null&&($.lanes|=l),Dc(C,l,a),C=f.sibling}else C=f.child;if(C!==null)C.return=f;else for(C=f;C!==null;){if(C===a){C=null;break}if(f=C.sibling,f!==null){f.return=C.return,C=f;break}C=C.return}f=C}It(t,a,h.children,l),a=a.child}return a;case 9:return h=a.type,d=a.pendingProps.children,Ai(a,l),h=sn(h),d=d(h),a.flags|=1,It(t,a,d,l),a.child;case 14:return d=a.type,h=bn(d,a.pendingProps),h=bn(d.type,h),Oy(t,a,d,h,l);case 15:return Ny(t,a,a.type,a.pendingProps,l);case 17:return d=a.type,h=a.pendingProps,h=a.elementType===d?h:bn(d,h),vs(t,a),a.tag=1,At(d)?(t=!0,es(a)):t=!1,Ai(a,l),ey(a,d,h),xc(a,d,h,l),Bc(null,a,d,!0,t,l);case 19:return zy(t,a,l);case 22:return Ay(t,a,l)}throw Error(n(156,a.tag))};function pv(t,a){return qm(t,a)}function g_(t,a,l,d){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function un(t,a,l,d){return new g_(t,a,l,d)}function du(t){return t=t.prototype,!(!t||!t.isReactComponent)}function h_(t){if(typeof t=="function")return du(t)?1:0;if(t!=null){if(t=t.$$typeof,t===te)return 11;if(t===se)return 14}return 2}function $r(t,a){var l=t.alternate;return l===null?(l=un(t.tag,a,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=a,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&14680064,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,a=t.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l}function xs(t,a,l,d,h,f){var C=2;if(d=t,typeof t=="function")du(t)&&(C=1);else if(typeof t=="string")C=5;else e:switch(t){case A:return oi(l.children,h,f,a);case G:C=8,h|=8;break;case U:return t=un(12,l,a,h|2),t.elementType=U,t.lanes=f,t;case ee:return t=un(13,l,a,h),t.elementType=ee,t.lanes=f,t;case oe:return t=un(19,l,a,h),t.elementType=oe,t.lanes=f,t;case ue:return Is(l,h,f,a);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case V:C=10;break e;case B:C=9;break e;case te:C=11;break e;case se:C=14;break e;case he:C=16,d=null;break e}throw Error(n(130,t==null?t:typeof t,""))}return a=un(C,l,a,h),a.elementType=t,a.type=d,a.lanes=f,a}function oi(t,a,l,d){return t=un(7,t,d,a),t.lanes=l,t}function Is(t,a,l,d){return t=un(22,t,d,a),t.elementType=ue,t.lanes=l,t.stateNode={isHidden:!1},t}function pu(t,a,l){return t=un(6,t,null,a),t.lanes=l,t}function gu(t,a,l){return a=un(4,t.children!==null?t.children:[],t.key,a),a.lanes=l,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}function m_(t,a,l,d,h){this.tag=a,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gl(0),this.expirationTimes=Gl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gl(0),this.identifierPrefix=d,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function hu(t,a,l,d,h,f,C,$,L){return t=new m_(t,a,l,$,L),a===1?(a=1,f===!0&&(a|=8)):a=0,f=un(3,null,null,a),t.current=f,f.stateNode=t,f.memoizedState={element:d,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tc(f),t}function f_(t,a,l){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:N,key:d==null?null:""+d,children:t,containerInfo:a,implementation:l}}function gv(t){if(!t)return Cr;t=t._reactInternals;e:{if(Kr(t)!==t||t.tag!==1)throw Error(n(170));var a=t;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(At(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(n(171))}if(t.tag===1){var l=t.type;if(At(l))return Gf(t,l,a)}return a}function hv(t,a,l,d,h,f,C,$,L){return t=hu(l,d,!0,t,h,f,C,$,L),t.context=gv(null),l=t.current,d=$t(),h=xr(l),f=Jn(d,h),f.callback=a??null,Dr(l,f,h),t.current.lanes=h,ma(t,h,d),jt(t,d),t}function $s(t,a,l,d){var h=a.current,f=$t(),C=xr(h);return l=gv(l),a.context===null?a.context=l:a.pendingContext=l,a=Jn(f,C),a.payload={element:t},d=d===void 0?null:d,d!==null&&(a.callback=d),t=Dr(h,a,C),t!==null&&(kn(t,h,C,f),ss(t,h,C)),C}function Rs(t){return t=t.current,t.child?(t.child.tag===5,t.child.stateNode):null}function mv(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<a?l:a}}function mu(t,a){mv(t,a),(t=t.alternate)&&mv(t,a)}function y_(){return null}var fv=typeof reportError=="function"?reportError:function(t){console.error(t)};function fu(t){this._internalRoot=t}Os.prototype.render=fu.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(n(409));$s(t,a,null,null)},Os.prototype.unmount=fu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;ri(function(){$s(null,t,null,null)}),a[Vn]=null}};function Os(t){this._internalRoot=t}Os.prototype.unstable_scheduleHydration=function(t){if(t){var a=Ym();t={blockedOn:null,target:t,priority:a};for(var l=0;l<yr.length&&a!==0&&a<yr[l].priority;l++);yr.splice(l,0,t),l===0&&ef(t)}};function yu(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Ns(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function yv(){}function v_(t,a,l,d,h){if(h){if(typeof d=="function"){var f=d;d=function(){var q=Rs(C);f.call(q)}}var C=hv(a,d,t,0,null,!1,!1,"",yv);return t._reactRootContainer=C,t[Vn]=C.current,xa(t.nodeType===8?t.parentNode:t),ri(),C}for(;h=t.lastChild;)t.removeChild(h);if(typeof d=="function"){var $=d;d=function(){var q=Rs(L);$.call(q)}}var L=hu(t,0,!1,null,null,!1,!1,"",yv);return t._reactRootContainer=L,t[Vn]=L.current,xa(t.nodeType===8?t.parentNode:t),ri(function(){$s(a,L,l,d)}),L}function As(t,a,l,d,h){var f=l._reactRootContainer;if(f){var C=f;if(typeof h=="function"){var $=h;h=function(){var L=Rs(C);$.call(L)}}$s(a,C,t,h)}else C=v_(l,a,t,h,d);return Rs(C)}Qm=function(t){switch(t.tag){case 3:var a=t.stateNode;if(a.current.memoizedState.isDehydrated){var l=ha(a.pendingLanes);l!==0&&(Wl(a,l|1),jt(a,Ze()),(Re&6)===0&&(Wi=Ze()+500,kr()))}break;case 13:ri(function(){var d=Yn(t,1);if(d!==null){var h=$t();kn(d,t,1,h)}}),mu(t,1)}},zl=function(t){if(t.tag===13){var a=Yn(t,134217728);if(a!==null){var l=$t();kn(a,t,134217728,l)}mu(t,134217728)}},Xm=function(t){if(t.tag===13){var a=xr(t),l=Yn(t,a);if(l!==null){var d=$t();kn(l,t,a,d)}mu(t,a)}},Ym=function(){return Fe},Jm=function(t,a){var l=Fe;try{return Fe=t,a()}finally{Fe=l}},Br=function(t,a,l){switch(a){case"input":if(Te(t,l),a=l.name,l.type==="radio"&&a!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<l.length;a++){var d=l[a];if(d!==t&&d.form===t.form){var h=Jo(d);if(!h)throw Error(n(90));ur(d),Te(d,h)}}}break;case"textarea":Tt(t,l);break;case"select":a=l.value,a!=null&&$e(t,!!l.multiple,a,!1)}},ca=lu,ua=ri;var S_={usingClientEntryPoint:!1,Events:[Ra,Ei,Jo,Hn,Vr,lu]},Ha={findFiberByHostInstance:Qr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},b_={bundleType:Ha.bundleType,version:Ha.version,rendererPackageName:Ha.rendererPackageName,rendererConfig:Ha.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:M.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Wm(t),t===null?null:t.stateNode},findFiberByHostInstance:Ha.findFiberByHostInstance||y_,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ls=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ls.isDisabled&&Ls.supportsFiber)try{Oo=Ls.inject(b_),An=Ls}catch{}}return Ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S_,Ft.createPortal=function(t,a){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!yu(a))throw Error(n(200));return f_(t,a,null,l)},Ft.createRoot=function(t,a){if(!yu(t))throw Error(n(299));var l=!1,d="",h=fv;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onRecoverableError!==void 0&&(h=a.onRecoverableError)),a=hu(t,1,!1,null,null,l,!1,d,h),t[Vn]=a.current,xa(t.nodeType===8?t.parentNode:t),new fu(a)},Ft.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(n(188)):(t=Object.keys(t).join(","),Error(n(268,t)));return t=Wm(a),t=t===null?null:t.stateNode,t},Ft.flushSync=function(t){return ri(t)},Ft.hydrate=function(t,a,l){if(!Ns(a))throw Error(n(200));return As(null,t,a,!0,l)},Ft.hydrateRoot=function(t,a,l){if(!yu(t))throw Error(n(405));var d=l!=null&&l.hydratedSources||null,h=!1,f="",C=fv;if(l!=null&&(l.unstable_strictMode===!0&&(h=!0),l.identifierPrefix!==void 0&&(f=l.identifierPrefix),l.onRecoverableError!==void 0&&(C=l.onRecoverableError)),a=hv(a,null,t,1,l??null,h,!1,f,C),t[Vn]=a.current,xa(t),d)for(t=0;t<d.length;t++)l=d[t],h=l._getVersion,h=h(l._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[l,h]:a.mutableSourceEagerHydrationData.push(l,h);return new Os(a)},Ft.render=function(t,a,l){if(!Ns(a))throw Error(n(200));return As(null,t,a,!1,l)},Ft.unmountComponentAtNode=function(t){if(!Ns(t))throw Error(n(40));return t._reactRootContainer?(ri(function(){As(null,null,t,!1,function(){t._reactRootContainer=null,t[Vn]=null})}),!0):!1},Ft.unstable_batchedUpdates=lu,Ft.unstable_renderSubtreeIntoContainer=function(t,a,l,d){if(!Ns(l))throw Error(n(200));if(t==null||t._reactInternals===void 0)throw Error(n(38));return As(t,a,l,!1,d)},Ft.version="18.2.0-next-9e3b772b8-20220608",Ft}var Dv;function pC(){if(Dv)return bu.exports;Dv=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(e){console.error(e)}}return i(),bu.exports=T_(),bu.exports}var _v;function E_(){if(_v)return js;_v=1;var i=pC();return js.createRoot=i.createRoot,js.hydrateRoot=i.hydrateRoot,js}var x_=E_(),T=mo();const k=Xe(T);var ku,Tv;function I_(){if(Tv)return ku;Tv=1;function i(){}return ku=i,ku}var $_=I_();const fe=Xe($_);var Pu,Ev;function Jt(){if(Ev)return Pu;Ev=1;var i=Array.isArray;return Pu=i,Pu}var Du,xv;function gC(){if(xv)return Du;xv=1;var i=typeof Ms=="object"&&Ms&&Ms.Object===Object&&Ms;return Du=i,Du}var _u,Iv;function En(){if(Iv)return _u;Iv=1;var i=gC(),e=typeof self=="object"&&self&&self.Object===Object&&self,n=i||e||Function("return this")();return _u=n,_u}var Tu,$v;function ea(){if($v)return Tu;$v=1;var i=En(),e=i.Symbol;return Tu=e,Tu}var Eu,Rv;function R_(){if(Rv)return Eu;Rv=1;var i=ea(),e=Object.prototype,n=e.hasOwnProperty,r=e.toString,o=i?i.toStringTag:void 0;function s(c){var u=n.call(c,o),p=c[o];try{c[o]=void 0;var g=!0}catch{}var y=r.call(c);return g&&(u?c[o]=p:delete c[o]),y}return Eu=s,Eu}var xu,Ov;function O_(){if(Ov)return xu;Ov=1;var i=Object.prototype,e=i.toString;function n(r){return e.call(r)}return xu=n,xu}var Iu,Nv;function zr(){if(Nv)return Iu;Nv=1;var i=ea(),e=R_(),n=O_(),r="[object Null]",o="[object Undefined]",s=i?i.toStringTag:void 0;function c(u){return u==null?u===void 0?o:r:s&&s in Object(u)?e(u):n(u)}return Iu=c,Iu}var $u,Av;function xn(){if(Av)return $u;Av=1;function i(e){return e!=null&&typeof e=="object"}return $u=i,$u}var Ru,Lv;function il(){if(Lv)return Ru;Lv=1;var i=zr(),e=xn(),n="[object Symbol]";function r(o){return typeof o=="symbol"||e(o)&&i(o)==n}return Ru=r,Ru}var Ou,Mv;function N_(){if(Mv)return Ou;Mv=1;var i=Jt(),e=il(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function o(s,c){if(i(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||e(s)?!0:r.test(s)||!n.test(s)||c!=null&&s in Object(c)}return Ou=o,Ou}var Nu,jv;function hn(){if(jv)return Nu;jv=1;function i(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}return Nu=i,Nu}var Au,Fv;function al(){if(Fv)return Au;Fv=1;var i=zr(),e=hn(),n="[object AsyncFunction]",r="[object Function]",o="[object GeneratorFunction]",s="[object Proxy]";function c(u){if(!e(u))return!1;var p=i(u);return p==r||p==o||p==n||p==s}return Au=c,Au}var Lu,Gv;function A_(){if(Gv)return Lu;Gv=1;var i=En(),e=i["__core-js_shared__"];return Lu=e,Lu}var Mu,Wv;function L_(){if(Wv)return Mu;Wv=1;var i=A_(),e=(function(){var r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function n(r){return!!e&&e in r}return Mu=n,Mu}var ju,zv;function hC(){if(zv)return ju;zv=1;var i=Function.prototype,e=i.toString;function n(r){if(r!=null){try{return e.call(r)}catch{}try{return r+""}catch{}}return""}return ju=n,ju}var Fu,qv;function M_(){if(qv)return Fu;qv=1;var i=al(),e=L_(),n=hn(),r=hC(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,g=u.hasOwnProperty,y=RegExp("^"+p.call(g).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(S){if(!n(S)||e(S))return!1;var D=i(S)?y:s;return D.test(r(S))}return Fu=v,Fu}var Gu,Uv;function j_(){if(Uv)return Gu;Uv=1;function i(e,n){return e?.[n]}return Gu=i,Gu}var Wu,Bv;function yi(){if(Bv)return Wu;Bv=1;var i=M_(),e=j_();function n(r,o){var s=e(r,o);return i(s)?s:void 0}return Wu=n,Wu}var zu,Hv;function ol(){if(Hv)return zu;Hv=1;var i=yi(),e=i(Object,"create");return zu=e,zu}var qu,Vv;function F_(){if(Vv)return qu;Vv=1;var i=ol();function e(){this.__data__=i?i(null):{},this.size=0}return qu=e,qu}var Uu,Kv;function G_(){if(Kv)return Uu;Kv=1;function i(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}return Uu=i,Uu}var Bu,Qv;function W_(){if(Qv)return Bu;Qv=1;var i=ol(),e="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function o(s){var c=this.__data__;if(i){var u=c[s];return u===e?void 0:u}return r.call(c,s)?c[s]:void 0}return Bu=o,Bu}var Hu,Xv;function z_(){if(Xv)return Hu;Xv=1;var i=ol(),e=Object.prototype,n=e.hasOwnProperty;function r(o){var s=this.__data__;return i?s[o]!==void 0:n.call(s,o)}return Hu=r,Hu}var Vu,Yv;function q_(){if(Yv)return Vu;Yv=1;var i=ol(),e="__lodash_hash_undefined__";function n(r,o){var s=this.__data__;return this.size+=this.has(r)?0:1,s[r]=i&&o===void 0?e:o,this}return Vu=n,Vu}var Ku,Jv;function U_(){if(Jv)return Ku;Jv=1;var i=F_(),e=G_(),n=W_(),r=z_(),o=q_();function s(c){var u=-1,p=c==null?0:c.length;for(this.clear();++u<p;){var g=c[u];this.set(g[0],g[1])}}return s.prototype.clear=i,s.prototype.delete=e,s.prototype.get=n,s.prototype.has=r,s.prototype.set=o,Ku=s,Ku}var Qu,Zv;function B_(){if(Zv)return Qu;Zv=1;function i(){this.__data__=[],this.size=0}return Qu=i,Qu}var Xu,eS;function fo(){if(eS)return Xu;eS=1;function i(e,n){return e===n||e!==e&&n!==n}return Xu=i,Xu}var Yu,tS;function sl(){if(tS)return Yu;tS=1;var i=fo();function e(n,r){for(var o=n.length;o--;)if(i(n[o][0],r))return o;return-1}return Yu=e,Yu}var Ju,nS;function H_(){if(nS)return Ju;nS=1;var i=sl(),e=Array.prototype,n=e.splice;function r(o){var s=this.__data__,c=i(s,o);if(c<0)return!1;var u=s.length-1;return c==u?s.pop():n.call(s,c,1),--this.size,!0}return Ju=r,Ju}var Zu,rS;function V_(){if(rS)return Zu;rS=1;var i=sl();function e(n){var r=this.__data__,o=i(r,n);return o<0?void 0:r[o][1]}return Zu=e,Zu}var ed,iS;function K_(){if(iS)return ed;iS=1;var i=sl();function e(n){return i(this.__data__,n)>-1}return ed=e,ed}var td,aS;function Q_(){if(aS)return td;aS=1;var i=sl();function e(n,r){var o=this.__data__,s=i(o,n);return s<0?(++this.size,o.push([n,r])):o[s][1]=r,this}return td=e,td}var nd,oS;function ll(){if(oS)return nd;oS=1;var i=B_(),e=H_(),n=V_(),r=K_(),o=Q_();function s(c){var u=-1,p=c==null?0:c.length;for(this.clear();++u<p;){var g=c[u];this.set(g[0],g[1])}}return s.prototype.clear=i,s.prototype.delete=e,s.prototype.get=n,s.prototype.has=r,s.prototype.set=o,nd=s,nd}var rd,sS;function Ah(){if(sS)return rd;sS=1;var i=yi(),e=En(),n=i(e,"Map");return rd=n,rd}var id,lS;function X_(){if(lS)return id;lS=1;var i=U_(),e=ll(),n=Ah();function r(){this.size=0,this.__data__={hash:new i,map:new(n||e),string:new i}}return id=r,id}var ad,cS;function Y_(){if(cS)return ad;cS=1;function i(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}return ad=i,ad}var od,uS;function cl(){if(uS)return od;uS=1;var i=Y_();function e(n,r){var o=n.__data__;return i(r)?o[typeof r=="string"?"string":"hash"]:o.map}return od=e,od}var sd,dS;function J_(){if(dS)return sd;dS=1;var i=cl();function e(n){var r=i(this,n).delete(n);return this.size-=r?1:0,r}return sd=e,sd}var ld,pS;function Z_(){if(pS)return ld;pS=1;var i=cl();function e(n){return i(this,n).get(n)}return ld=e,ld}var cd,gS;function eT(){if(gS)return cd;gS=1;var i=cl();function e(n){return i(this,n).has(n)}return cd=e,cd}var ud,hS;function tT(){if(hS)return ud;hS=1;var i=cl();function e(n,r){var o=i(this,n),s=o.size;return o.set(n,r),this.size+=o.size==s?0:1,this}return ud=e,ud}var dd,mS;function Lh(){if(mS)return dd;mS=1;var i=X_(),e=J_(),n=Z_(),r=eT(),o=tT();function s(c){var u=-1,p=c==null?0:c.length;for(this.clear();++u<p;){var g=c[u];this.set(g[0],g[1])}}return s.prototype.clear=i,s.prototype.delete=e,s.prototype.get=n,s.prototype.has=r,s.prototype.set=o,dd=s,dd}var pd,fS;function nT(){if(fS)return pd;fS=1;var i=Lh(),e="Expected a function";function n(r,o){if(typeof r!="function"||o!=null&&typeof o!="function")throw new TypeError(e);var s=function(){var c=arguments,u=o?o.apply(this,c):c[0],p=s.cache;if(p.has(u))return p.get(u);var g=r.apply(this,c);return s.cache=p.set(u,g)||p,g};return s.cache=new(n.Cache||i),s}return n.Cache=i,pd=n,pd}var gd,yS;function rT(){if(yS)return gd;yS=1;var i=nT(),e=500;function n(r){var o=i(r,function(c){return s.size===e&&s.clear(),c}),s=o.cache;return o}return gd=n,gd}var hd,vS;function iT(){if(vS)return hd;vS=1;var i=rT(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=i(function(o){var s=[];return o.charCodeAt(0)===46&&s.push(""),o.replace(e,function(c,u,p,g){s.push(p?g.replace(n,"$1"):u||c)}),s});return hd=r,hd}var md,SS;function Mh(){if(SS)return md;SS=1;function i(e,n){for(var r=-1,o=e==null?0:e.length,s=Array(o);++r<o;)s[r]=n(e[r],r,e);return s}return md=i,md}var fd,bS;function aT(){if(bS)return fd;bS=1;var i=ea(),e=Mh(),n=Jt(),r=il(),o=i?i.prototype:void 0,s=o?o.toString:void 0;function c(u){if(typeof u=="string")return u;if(n(u))return e(u,c)+"";if(r(u))return s?s.call(u):"";var p=u+"";return p=="0"&&1/u==-1/0?"-0":p}return fd=c,fd}var yd,wS;function oT(){if(wS)return yd;wS=1;var i=aT();function e(n){return n==null?"":i(n)}return yd=e,yd}var vd,CS;function ul(){if(CS)return vd;CS=1;var i=Jt(),e=N_(),n=iT(),r=oT();function o(s,c){return i(s)?s:e(s,c)?[s]:n(r(s))}return vd=o,vd}var Sd,kS;function jh(){if(kS)return Sd;kS=1;var i=il();function e(n){if(typeof n=="string"||i(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return Sd=e,Sd}var bd,PS;function mC(){if(PS)return bd;PS=1;var i=ul(),e=jh();function n(r,o){o=i(o,r);for(var s=0,c=o.length;r!=null&&s<c;)r=r[e(o[s++])];return s&&s==c?r:void 0}return bd=n,bd}var wd,DS;function sT(){if(DS)return wd;DS=1;var i=mC();function e(n,r,o){var s=n==null?void 0:i(n,r);return s===void 0?o:s}return wd=e,wd}var lT=sT();const xe=Xe(lT),fC=function(i){if(xe(process,"env.NODE_ENV")==="development"){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];console.log(i,...n)}};class Wt{static get cssClasses(){return{}}static get strings(){return{}}static get numbers(){return{}}static get defaultAdapter(){return{getProp:fe,getProps:fe,getState:fe,getStates:fe,setState:fe,getContext:fe,getContexts:fe,getCache:fe,setCache:fe,getCaches:fe,stopPropagation:fe,persistEvent:fe}}constructor(e){this._adapter=Object.assign(Object.assign({},Wt.defaultAdapter),e)}getProp(e){return this._adapter.getProp(e)}getProps(){return this._adapter.getProps()}getState(e){return this._adapter.getState(e)}getStates(){return this._adapter.getStates()}setState(e,n){return this._adapter.setState(Object.assign({},e),n)}getContext(e){return this._adapter.getContext(e)}getContexts(){return this._adapter.getContexts()}getCaches(){return this._adapter.getCaches()}getCache(e){return this._adapter.getCache(e)}setCache(e,n){return e&&this._adapter.setCache(e,n)}stopPropagation(e){this._adapter.stopPropagation(e)}_isControlledComponent(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"value";const n=this.getProps();return e in n}_isInProps(e){const n=this.getProps();return e in n}init(e){}destroy(){}log(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];fC(e,...r)}_persistEvent(e){this._adapter.persistEvent(e)}}function Fh(i){return Object.keys(i).reduce((e,n)=>(n.substr(0,5)==="data-"&&(e[n]=i[n]),e),{})}const{hasOwnProperty:cT}=Object.prototype;class Rt extends T.Component{constructor(e){super(e),this.isControlled=n=>!!(n&&this.props&&typeof this.props=="object"&&cT.call(this.props,n)),this.setStateAsync=n=>new Promise(r=>{this.setState(n,r)}),this.cache={},this.foundation=null}componentDidMount(){this.foundation&&typeof this.foundation.init=="function"&&this.foundation.init()}componentWillUnmount(){this.foundation&&typeof this.foundation.destroy=="function"&&this.foundation.destroy(),this.cache={}}get adapter(){return{getContext:e=>{if(this.context&&e)return this.context[e]},getContexts:()=>this.context,getProp:e=>this.props[e],getProps:()=>this.props,getState:e=>this.state[e],getStates:()=>this.state,setState:(e,n)=>this.setState(Object.assign({},e),n),getCache:e=>e&&this.cache[e],getCaches:()=>this.cache,setCache:(e,n)=>e&&(this.cache[e]=n),stopPropagation:e=>{try{e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation()}catch{}},persistEvent:e=>{e&&e.persist&&typeof e.persist=="function"&&e.persist()}}}log(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return fC(e,...r)}getDataAttr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props;return Fh(e)}}Rt.propTypes={};Rt.defaultProps={};var Cd,_S;function uT(){if(_S)return Cd;_S=1;var i=En(),e=function(){return i.Date.now()};return Cd=e,Cd}var kd,TS;function dT(){if(TS)return kd;TS=1;var i=/\s/;function e(n){for(var r=n.length;r--&&i.test(n.charAt(r)););return r}return kd=e,kd}var Pd,ES;function pT(){if(ES)return Pd;ES=1;var i=dT(),e=/^\s+/;function n(r){return r&&r.slice(0,i(r)+1).replace(e,"")}return Pd=n,Pd}var Dd,xS;function gT(){if(xS)return Dd;xS=1;var i=pT(),e=hn(),n=il(),r=NaN,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function p(g){if(typeof g=="number")return g;if(n(g))return r;if(e(g)){var y=typeof g.valueOf=="function"?g.valueOf():g;g=e(y)?y+"":y}if(typeof g!="string")return g===0?g:+g;g=i(g);var v=s.test(g);return v||c.test(g)?u(g.slice(2),v?2:8):o.test(g)?r:+g}return Dd=p,Dd}var _d,IS;function hT(){if(IS)return _d;IS=1;var i=hn(),e=uT(),n=gT(),r="Expected a function",o=Math.max,s=Math.min;function c(u,p,g){var y,v,S,D,_,b,w=0,E=!1,R=!1,O=!0;if(typeof u!="function")throw new TypeError(r);p=n(p)||0,i(g)&&(E=!!g.leading,R="maxWait"in g,S=R?o(n(g.maxWait)||0,p):S,O="trailing"in g?!!g.trailing:O);function M(ee){var oe=y,se=v;return y=v=void 0,w=ee,D=u.apply(se,oe),D}function F(ee){return w=ee,_=setTimeout(G,p),E?M(ee):D}function N(ee){var oe=ee-b,se=ee-w,he=p-oe;return R?s(he,S-se):he}function A(ee){var oe=ee-b,se=ee-w;return b===void 0||oe>=p||oe<0||R&&se>=S}function G(){var ee=e();if(A(ee))return U(ee);_=setTimeout(G,N(ee))}function U(ee){return _=void 0,O&&y?M(ee):(y=v=void 0,D)}function V(){_!==void 0&&clearTimeout(_),w=0,y=b=v=_=void 0}function B(){return _===void 0?D:U(e())}function te(){var ee=e(),oe=A(ee);if(y=arguments,v=this,b=ee,oe){if(_===void 0)return F(b);if(R)return clearTimeout(_),_=setTimeout(G,p),M(b)}return _===void 0&&(_=setTimeout(G,p)),D}return te.cancel=V,te.flush=B,te}return _d=c,_d}var Td,$S;function mT(){if($S)return Td;$S=1;var i=hT(),e=hn(),n="Expected a function";function r(o,s,c){var u=!0,p=!0;if(typeof o!="function")throw new TypeError(n);return e(c)&&(u="leading"in c?!!c.leading:u,p="trailing"in c?!!c.trailing:p),i(o,s,{leading:u,maxWait:s,trailing:p})}return Td=r,Td}var fT=mT();const RS=Xe(fT);var Ed={exports:{}};var OS;function yT(){return OS||(OS=1,(function(i){(function(){var e={}.hasOwnProperty;function n(){for(var s="",c=0;c<arguments.length;c++){var u=arguments[c];u&&(s=o(s,r(u)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var u in s)e.call(s,u)&&s[u]&&(c=o(c,u));return c}function o(s,c){return c?s?s+" "+c:s+c:s}i.exports?(n.default=n,i.exports=n):window.classNames=n})()})(Ed)),Ed.exports}var vT=yT();const X=Xe(vT);var xd={exports:{}},Id,NS;function ST(){if(NS)return Id;NS=1;var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Id=i,Id}var $d,AS;function bT(){if(AS)return $d;AS=1;var i=ST();function e(){}function n(){}return n.resetWarningCache=e,$d=function(){function r(c,u,p,g,y,v){if(v!==i){var S=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw S.name="Invariant Violation",S}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return s.PropTypes=s,s},$d}var LS;function Gh(){return LS||(LS=1,xd.exports=bT()()),xd.exports}var wT=Gh();const m=Xe(wT),Ie="semi",CT=["default","error","warning","success"];var kT=Jt();const PT=Xe(kT),dl={PREFIX:`${Ie}-typography`},Pt={WEIGHT:["light","regular","medium","semibold","bold","default"],TYPE:["primary","secondary","danger","warning","success","tertiary","quaternary"],SIZE:["normal","small","inherit"],SPACING:["normal","extended"],HEADING:[1,2,3,4,5,6],RULE:["text","numbers","bytes-decimal","bytes-binary","percentages","exponential"],TRUNCATE:["ceil","floor","round"]};var DT=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const _T=dl.PREFIX;let pl=class extends T.PureComponent{render(){const e=this.props,{component:n,className:r,children:o,forwardRef:s}=e,c=DT(e,["component","className","children","forwardRef"]),u=n,p=X(_T,r);return k.createElement(u,Object.assign({className:p,ref:s},c),o)}};pl.defaultProps={component:"article",style:{},className:""};pl.propTypes={component:m.string,style:m.object,className:m.string};var TT=al();const Xt=Xe(TT);var Rd,MS;function ET(){if(MS)return Rd;MS=1;function i(e){return e===null}return Rd=i,Rd}var xT=ET();const IT=Xe(xT);var Od,jS;function $T(){if(jS)return Od;jS=1;var i=zr(),e=Jt(),n=xn(),r="[object String]";function o(s){return typeof s=="string"||!e(s)&&n(s)&&i(s)==r}return Od=o,Od}var RT=$T();const ct=Xe(RT);var Nd,FS;function OT(){if(FS)return Nd;FS=1;var i=ll();function e(){this.__data__=new i,this.size=0}return Nd=e,Nd}var Ad,GS;function NT(){if(GS)return Ad;GS=1;function i(e){var n=this.__data__,r=n.delete(e);return this.size=n.size,r}return Ad=i,Ad}var Ld,WS;function AT(){if(WS)return Ld;WS=1;function i(e){return this.__data__.get(e)}return Ld=i,Ld}var Md,zS;function LT(){if(zS)return Md;zS=1;function i(e){return this.__data__.has(e)}return Md=i,Md}var jd,qS;function MT(){if(qS)return jd;qS=1;var i=ll(),e=Ah(),n=Lh(),r=200;function o(s,c){var u=this.__data__;if(u instanceof i){var p=u.__data__;if(!e||p.length<r-1)return p.push([s,c]),this.size=++u.size,this;u=this.__data__=new n(p)}return u.set(s,c),this.size=u.size,this}return jd=o,jd}var Fd,US;function Wh(){if(US)return Fd;US=1;var i=ll(),e=OT(),n=NT(),r=AT(),o=LT(),s=MT();function c(u){var p=this.__data__=new i(u);this.size=p.size}return c.prototype.clear=e,c.prototype.delete=n,c.prototype.get=r,c.prototype.has=o,c.prototype.set=s,Fd=c,Fd}var Gd,BS;function yC(){if(BS)return Gd;BS=1;var i=yi(),e=(function(){try{var n=i(Object,"defineProperty");return n({},"",{}),n}catch{}})();return Gd=e,Gd}var Wd,HS;function zh(){if(HS)return Wd;HS=1;var i=yC();function e(n,r,o){r=="__proto__"&&i?i(n,r,{configurable:!0,enumerable:!0,value:o,writable:!0}):n[r]=o}return Wd=e,Wd}var zd,VS;function vC(){if(VS)return zd;VS=1;var i=zh(),e=fo();function n(r,o,s){(s!==void 0&&!e(r[o],s)||s===void 0&&!(o in r))&&i(r,o,s)}return zd=n,zd}var qd,KS;function jT(){if(KS)return qd;KS=1;function i(e){return function(n,r,o){for(var s=-1,c=Object(n),u=o(n),p=u.length;p--;){var g=u[e?p:++s];if(r(c[g],g,c)===!1)break}return n}}return qd=i,qd}var Ud,QS;function SC(){if(QS)return Ud;QS=1;var i=jT(),e=i();return Ud=e,Ud}var ro={exports:{}};ro.exports;var XS;function bC(){return XS||(XS=1,(function(i,e){var n=En(),r=e&&!e.nodeType&&e,o=r&&!0&&i&&!i.nodeType&&i,s=o&&o.exports===r,c=s?n.Buffer:void 0,u=c?c.allocUnsafe:void 0;function p(g,y){if(y)return g.slice();var v=g.length,S=u?u(v):new g.constructor(v);return g.copy(S),S}i.exports=p})(ro,ro.exports)),ro.exports}var Bd,YS;function wC(){if(YS)return Bd;YS=1;var i=En(),e=i.Uint8Array;return Bd=e,Bd}var Hd,JS;function qh(){if(JS)return Hd;JS=1;var i=wC();function e(n){var r=new n.constructor(n.byteLength);return new i(r).set(new i(n)),r}return Hd=e,Hd}var Vd,ZS;function CC(){if(ZS)return Vd;ZS=1;var i=qh();function e(n,r){var o=r?i(n.buffer):n.buffer;return new n.constructor(o,n.byteOffset,n.length)}return Vd=e,Vd}var Kd,eb;function kC(){if(eb)return Kd;eb=1;function i(e,n){var r=-1,o=e.length;for(n||(n=Array(o));++r<o;)n[r]=e[r];return n}return Kd=i,Kd}var Qd,tb;function FT(){if(tb)return Qd;tb=1;var i=hn(),e=Object.create,n=(function(){function r(){}return function(o){if(!i(o))return{};if(e)return e(o);r.prototype=o;var s=new r;return r.prototype=void 0,s}})();return Qd=n,Qd}var Xd,nb;function PC(){if(nb)return Xd;nb=1;function i(e,n){return function(r){return e(n(r))}}return Xd=i,Xd}var Yd,rb;function Uh(){if(rb)return Yd;rb=1;var i=PC(),e=i(Object.getPrototypeOf,Object);return Yd=e,Yd}var Jd,ib;function gl(){if(ib)return Jd;ib=1;var i=Object.prototype;function e(n){var r=n&&n.constructor,o=typeof r=="function"&&r.prototype||i;return n===o}return Jd=e,Jd}var Zd,ab;function DC(){if(ab)return Zd;ab=1;var i=FT(),e=Uh(),n=gl();function r(o){return typeof o.constructor=="function"&&!n(o)?i(e(o)):{}}return Zd=r,Zd}var ep,ob;function GT(){if(ob)return ep;ob=1;var i=zr(),e=xn(),n="[object Arguments]";function r(o){return e(o)&&i(o)==n}return ep=r,ep}var tp,sb;function hl(){if(sb)return tp;sb=1;var i=GT(),e=xn(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,s=i((function(){return arguments})())?i:function(c){return e(c)&&r.call(c,"callee")&&!o.call(c,"callee")};return tp=s,tp}var np,lb;function _C(){if(lb)return np;lb=1;var i=9007199254740991;function e(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=i}return np=e,np}var rp,cb;function ta(){if(cb)return rp;cb=1;var i=al(),e=_C();function n(r){return r!=null&&e(r.length)&&!i(r)}return rp=n,rp}var ip,ub;function TC(){if(ub)return ip;ub=1;var i=ta(),e=xn();function n(r){return e(r)&&i(r)}return ip=n,ip}var io={exports:{}},ap,db;function WT(){if(db)return ap;db=1;function i(){return!1}return ap=i,ap}io.exports;var pb;function yo(){return pb||(pb=1,(function(i,e){var n=En(),r=WT(),o=e&&!e.nodeType&&e,s=o&&!0&&i&&!i.nodeType&&i,c=s&&s.exports===o,u=c?n.Buffer:void 0,p=u?u.isBuffer:void 0,g=p||r;i.exports=g})(io,io.exports)),io.exports}var op,gb;function EC(){if(gb)return op;gb=1;var i=zr(),e=Uh(),n=xn(),r="[object Object]",o=Function.prototype,s=Object.prototype,c=o.toString,u=s.hasOwnProperty,p=c.call(Object);function g(y){if(!n(y)||i(y)!=r)return!1;var v=e(y);if(v===null)return!0;var S=u.call(v,"constructor")&&v.constructor;return typeof S=="function"&&S instanceof S&&c.call(S)==p}return op=g,op}var sp,hb;function zT(){if(hb)return sp;hb=1;var i=zr(),e=_C(),n=xn(),r="[object Arguments]",o="[object Array]",s="[object Boolean]",c="[object Date]",u="[object Error]",p="[object Function]",g="[object Map]",y="[object Number]",v="[object Object]",S="[object RegExp]",D="[object Set]",_="[object String]",b="[object WeakMap]",w="[object ArrayBuffer]",E="[object DataView]",R="[object Float32Array]",O="[object Float64Array]",M="[object Int8Array]",F="[object Int16Array]",N="[object Int32Array]",A="[object Uint8Array]",G="[object Uint8ClampedArray]",U="[object Uint16Array]",V="[object Uint32Array]",B={};B[R]=B[O]=B[M]=B[F]=B[N]=B[A]=B[G]=B[U]=B[V]=!0,B[r]=B[o]=B[w]=B[s]=B[E]=B[c]=B[u]=B[p]=B[g]=B[y]=B[v]=B[S]=B[D]=B[_]=B[b]=!1;function te(ee){return n(ee)&&e(ee.length)&&!!B[i(ee)]}return sp=te,sp}var lp,mb;function ml(){if(mb)return lp;mb=1;function i(e){return function(n){return e(n)}}return lp=i,lp}var ao={exports:{}};ao.exports;var fb;function Bh(){return fb||(fb=1,(function(i,e){var n=gC(),r=e&&!e.nodeType&&e,o=r&&!0&&i&&!i.nodeType&&i,s=o&&o.exports===r,c=s&&n.process,u=(function(){try{var p=o&&o.require&&o.require("util").types;return p||c&&c.binding&&c.binding("util")}catch{}})();i.exports=u})(ao,ao.exports)),ao.exports}var cp,yb;function fl(){if(yb)return cp;yb=1;var i=zT(),e=ml(),n=Bh(),r=n&&n.isTypedArray,o=r?e(r):i;return cp=o,cp}var up,vb;function xC(){if(vb)return up;vb=1;function i(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}return up=i,up}var dp,Sb;function Hh(){if(Sb)return dp;Sb=1;var i=zh(),e=fo(),n=Object.prototype,r=n.hasOwnProperty;function o(s,c,u){var p=s[c];(!(r.call(s,c)&&e(p,u))||u===void 0&&!(c in s))&&i(s,c,u)}return dp=o,dp}var pp,bb;function na(){if(bb)return pp;bb=1;var i=Hh(),e=zh();function n(r,o,s,c){var u=!s;s||(s={});for(var p=-1,g=o.length;++p<g;){var y=o[p],v=c?c(s[y],r[y],y,s,r):void 0;v===void 0&&(v=r[y]),u?e(s,y,v):i(s,y,v)}return s}return pp=n,pp}var gp,wb;function qT(){if(wb)return gp;wb=1;function i(e,n){for(var r=-1,o=Array(e);++r<e;)o[r]=n(r);return o}return gp=i,gp}var hp,Cb;function Vh(){if(Cb)return hp;Cb=1;var i=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function n(r,o){var s=typeof r;return o=o??i,!!o&&(s=="number"||s!="symbol"&&e.test(r))&&r>-1&&r%1==0&&r<o}return hp=n,hp}var mp,kb;function IC(){if(kb)return mp;kb=1;var i=qT(),e=hl(),n=Jt(),r=yo(),o=Vh(),s=fl(),c=Object.prototype,u=c.hasOwnProperty;function p(g,y){var v=n(g),S=!v&&e(g),D=!v&&!S&&r(g),_=!v&&!S&&!D&&s(g),b=v||S||D||_,w=b?i(g.length,String):[],E=w.length;for(var R in g)(y||u.call(g,R))&&!(b&&(R=="length"||D&&(R=="offset"||R=="parent")||_&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||o(R,E)))&&w.push(R);return w}return mp=p,mp}var fp,Pb;function UT(){if(Pb)return fp;Pb=1;function i(e){var n=[];if(e!=null)for(var r in Object(e))n.push(r);return n}return fp=i,fp}var yp,Db;function BT(){if(Db)return yp;Db=1;var i=hn(),e=gl(),n=UT(),r=Object.prototype,o=r.hasOwnProperty;function s(c){if(!i(c))return n(c);var u=e(c),p=[];for(var g in c)g=="constructor"&&(u||!o.call(c,g))||p.push(g);return p}return yp=s,yp}var vp,_b;function vo(){if(_b)return vp;_b=1;var i=IC(),e=BT(),n=ta();function r(o){return n(o)?i(o,!0):e(o)}return vp=r,vp}var Sp,Tb;function HT(){if(Tb)return Sp;Tb=1;var i=na(),e=vo();function n(r){return i(r,e(r))}return Sp=n,Sp}var bp,Eb;function VT(){if(Eb)return bp;Eb=1;var i=vC(),e=bC(),n=CC(),r=kC(),o=DC(),s=hl(),c=Jt(),u=TC(),p=yo(),g=al(),y=hn(),v=EC(),S=fl(),D=xC(),_=HT();function b(w,E,R,O,M,F,N){var A=D(w,R),G=D(E,R),U=N.get(G);if(U){i(w,R,U);return}var V=F?F(A,G,R+"",w,E,N):void 0,B=V===void 0;if(B){var te=c(G),ee=!te&&p(G),oe=!te&&!ee&&S(G);V=G,te||ee||oe?c(A)?V=A:u(A)?V=r(A):ee?(B=!1,V=e(G,!0)):oe?(B=!1,V=n(G,!0)):V=[]:v(G)||s(G)?(V=A,s(A)?V=_(A):(!y(A)||g(A))&&(V=o(G))):B=!1}B&&(N.set(G,V),M(V,G,O,F,N),N.delete(G)),i(w,R,V)}return bp=b,bp}var wp,xb;function KT(){if(xb)return wp;xb=1;var i=Wh(),e=vC(),n=SC(),r=VT(),o=hn(),s=vo(),c=xC();function u(p,g,y,v,S){p!==g&&n(g,function(D,_){if(S||(S=new i),o(D))r(p,g,_,y,u,v,S);else{var b=v?v(c(p,_),D,_+"",p,g,S):void 0;b===void 0&&(b=D),e(p,_,b)}},s)}return wp=u,wp}var Cp,Ib;function Kh(){if(Ib)return Cp;Ib=1;function i(e){return e}return Cp=i,Cp}var kp,$b;function QT(){if($b)return kp;$b=1;function i(e,n,r){switch(r.length){case 0:return e.call(n);case 1:return e.call(n,r[0]);case 2:return e.call(n,r[0],r[1]);case 3:return e.call(n,r[0],r[1],r[2])}return e.apply(n,r)}return kp=i,kp}var Pp,Rb;function $C(){if(Rb)return Pp;Rb=1;var i=QT(),e=Math.max;function n(r,o,s){return o=e(o===void 0?r.length-1:o,0),function(){for(var c=arguments,u=-1,p=e(c.length-o,0),g=Array(p);++u<p;)g[u]=c[o+u];u=-1;for(var y=Array(o+1);++u<o;)y[u]=c[u];return y[o]=s(g),i(r,this,y)}}return Pp=n,Pp}var Dp,Ob;function XT(){if(Ob)return Dp;Ob=1;function i(e){return function(){return e}}return Dp=i,Dp}var _p,Nb;function YT(){if(Nb)return _p;Nb=1;var i=XT(),e=yC(),n=Kh(),r=e?function(o,s){return e(o,"toString",{configurable:!0,enumerable:!1,value:i(s),writable:!0})}:n;return _p=r,_p}var Tp,Ab;function JT(){if(Ab)return Tp;Ab=1;var i=800,e=16,n=Date.now;function r(o){var s=0,c=0;return function(){var u=n(),p=e-(u-c);if(c=u,p>0){if(++s>=i)return arguments[0]}else s=0;return o.apply(void 0,arguments)}}return Tp=r,Tp}var Ep,Lb;function RC(){if(Lb)return Ep;Lb=1;var i=YT(),e=JT(),n=e(i);return Ep=n,Ep}var xp,Mb;function OC(){if(Mb)return xp;Mb=1;var i=Kh(),e=$C(),n=RC();function r(o,s){return n(e(o,s,i),o+"")}return xp=r,xp}var Ip,jb;function ZT(){if(jb)return Ip;jb=1;var i=fo(),e=ta(),n=Vh(),r=hn();function o(s,c,u){if(!r(u))return!1;var p=typeof c;return(p=="number"?e(u)&&n(c,u.length):p=="string"&&c in u)?i(u[c],s):!1}return Ip=o,Ip}var $p,Fb;function e0(){if(Fb)return $p;Fb=1;var i=OC(),e=ZT();function n(r){return i(function(o,s){var c=-1,u=s.length,p=u>1?s[u-1]:void 0,g=u>2?s[2]:void 0;for(p=r.length>3&&typeof p=="function"?(u--,p):void 0,g&&e(s[0],s[1],g)&&(p=u<3?void 0:p,u=1),o=Object(o);++c<u;){var y=s[c];y&&r(o,y,c,p)}return o})}return $p=n,$p}var Rp,Gb;function t0(){if(Gb)return Rp;Gb=1;var i=KT(),e=e0(),n=e(function(r,o,s){i(r,o,s)});return Rp=n,Rp}var n0=t0();const r0=Xe(n0);var Op,Wb;function NC(){if(Wb)return Op;Wb=1;function i(e,n){for(var r=-1,o=e==null?0:e.length;++r<o&&n(e[r],r,e)!==!1;);return e}return Op=i,Op}var Np,zb;function i0(){if(zb)return Np;zb=1;var i=PC(),e=i(Object.keys,Object);return Np=e,Np}var Ap,qb;function AC(){if(qb)return Ap;qb=1;var i=gl(),e=i0(),n=Object.prototype,r=n.hasOwnProperty;function o(s){if(!i(s))return e(s);var c=[];for(var u in Object(s))r.call(s,u)&&u!="constructor"&&c.push(u);return c}return Ap=o,Ap}var Lp,Ub;function yl(){if(Ub)return Lp;Ub=1;var i=IC(),e=AC(),n=ta();function r(o){return n(o)?i(o):e(o)}return Lp=r,Lp}var Mp,Bb;function a0(){if(Bb)return Mp;Bb=1;var i=na(),e=yl();function n(r,o){return r&&i(o,e(o),r)}return Mp=n,Mp}var jp,Hb;function o0(){if(Hb)return jp;Hb=1;var i=na(),e=vo();function n(r,o){return r&&i(o,e(o),r)}return jp=n,jp}var Fp,Vb;function s0(){if(Vb)return Fp;Vb=1;function i(e,n){for(var r=-1,o=e==null?0:e.length,s=0,c=[];++r<o;){var u=e[r];n(u,r,e)&&(c[s++]=u)}return c}return Fp=i,Fp}var Gp,Kb;function LC(){if(Kb)return Gp;Kb=1;function i(){return[]}return Gp=i,Gp}var Wp,Qb;function Qh(){if(Qb)return Wp;Qb=1;var i=s0(),e=LC(),n=Object.prototype,r=n.propertyIsEnumerable,o=Object.getOwnPropertySymbols,s=o?function(c){return c==null?[]:(c=Object(c),i(o(c),function(u){return r.call(c,u)}))}:e;return Wp=s,Wp}var zp,Xb;function l0(){if(Xb)return zp;Xb=1;var i=na(),e=Qh();function n(r,o){return i(r,e(r),o)}return zp=n,zp}var qp,Yb;function Xh(){if(Yb)return qp;Yb=1;function i(e,n){for(var r=-1,o=n.length,s=e.length;++r<o;)e[s+r]=n[r];return e}return qp=i,qp}var Up,Jb;function MC(){if(Jb)return Up;Jb=1;var i=Xh(),e=Uh(),n=Qh(),r=LC(),o=Object.getOwnPropertySymbols,s=o?function(c){for(var u=[];c;)i(u,n(c)),c=e(c);return u}:r;return Up=s,Up}var Bp,Zb;function c0(){if(Zb)return Bp;Zb=1;var i=na(),e=MC();function n(r,o){return i(r,e(r),o)}return Bp=n,Bp}var Hp,ew;function jC(){if(ew)return Hp;ew=1;var i=Xh(),e=Jt();function n(r,o,s){var c=o(r);return e(r)?c:i(c,s(r))}return Hp=n,Hp}var Vp,tw;function FC(){if(tw)return Vp;tw=1;var i=jC(),e=Qh(),n=yl();function r(o){return i(o,n,e)}return Vp=r,Vp}var Kp,nw;function GC(){if(nw)return Kp;nw=1;var i=jC(),e=MC(),n=vo();function r(o){return i(o,n,e)}return Kp=r,Kp}var Qp,rw;function u0(){if(rw)return Qp;rw=1;var i=yi(),e=En(),n=i(e,"DataView");return Qp=n,Qp}var Xp,iw;function d0(){if(iw)return Xp;iw=1;var i=yi(),e=En(),n=i(e,"Promise");return Xp=n,Xp}var Yp,aw;function p0(){if(aw)return Yp;aw=1;var i=yi(),e=En(),n=i(e,"Set");return Yp=n,Yp}var Jp,ow;function g0(){if(ow)return Jp;ow=1;var i=yi(),e=En(),n=i(e,"WeakMap");return Jp=n,Jp}var Zp,sw;function So(){if(sw)return Zp;sw=1;var i=u0(),e=Ah(),n=d0(),r=p0(),o=g0(),s=zr(),c=hC(),u="[object Map]",p="[object Object]",g="[object Promise]",y="[object Set]",v="[object WeakMap]",S="[object DataView]",D=c(i),_=c(e),b=c(n),w=c(r),E=c(o),R=s;return(i&&R(new i(new ArrayBuffer(1)))!=S||e&&R(new e)!=u||n&&R(n.resolve())!=g||r&&R(new r)!=y||o&&R(new o)!=v)&&(R=function(O){var M=s(O),F=M==p?O.constructor:void 0,N=F?c(F):"";if(N)switch(N){case D:return S;case _:return u;case b:return g;case w:return y;case E:return v}return M}),Zp=R,Zp}var eg,lw;function h0(){if(lw)return eg;lw=1;var i=Object.prototype,e=i.hasOwnProperty;function n(r){var o=r.length,s=new r.constructor(o);return o&&typeof r[0]=="string"&&e.call(r,"index")&&(s.index=r.index,s.input=r.input),s}return eg=n,eg}var tg,cw;function m0(){if(cw)return tg;cw=1;var i=qh();function e(n,r){var o=r?i(n.buffer):n.buffer;return new n.constructor(o,n.byteOffset,n.byteLength)}return tg=e,tg}var ng,uw;function f0(){if(uw)return ng;uw=1;var i=/\w*$/;function e(n){var r=new n.constructor(n.source,i.exec(n));return r.lastIndex=n.lastIndex,r}return ng=e,ng}var rg,dw;function y0(){if(dw)return rg;dw=1;var i=ea(),e=i?i.prototype:void 0,n=e?e.valueOf:void 0;function r(o){return n?Object(n.call(o)):{}}return rg=r,rg}var ig,pw;function v0(){if(pw)return ig;pw=1;var i=qh(),e=m0(),n=f0(),r=y0(),o=CC(),s="[object Boolean]",c="[object Date]",u="[object Map]",p="[object Number]",g="[object RegExp]",y="[object Set]",v="[object String]",S="[object Symbol]",D="[object ArrayBuffer]",_="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",E="[object Int8Array]",R="[object Int16Array]",O="[object Int32Array]",M="[object Uint8Array]",F="[object Uint8ClampedArray]",N="[object Uint16Array]",A="[object Uint32Array]";function G(U,V,B){var te=U.constructor;switch(V){case D:return i(U);case s:case c:return new te(+U);case _:return e(U,B);case b:case w:case E:case R:case O:case M:case F:case N:case A:return o(U,B);case u:return new te;case p:case v:return new te(U);case g:return n(U);case y:return new te;case S:return r(U)}}return ig=G,ig}var ag,gw;function S0(){if(gw)return ag;gw=1;var i=So(),e=xn(),n="[object Map]";function r(o){return e(o)&&i(o)==n}return ag=r,ag}var og,hw;function b0(){if(hw)return og;hw=1;var i=S0(),e=ml(),n=Bh(),r=n&&n.isMap,o=r?e(r):i;return og=o,og}var sg,mw;function w0(){if(mw)return sg;mw=1;var i=So(),e=xn(),n="[object Set]";function r(o){return e(o)&&i(o)==n}return sg=r,sg}var lg,fw;function C0(){if(fw)return lg;fw=1;var i=w0(),e=ml(),n=Bh(),r=n&&n.isSet,o=r?e(r):i;return lg=o,lg}var cg,yw;function WC(){if(yw)return cg;yw=1;var i=Wh(),e=NC(),n=Hh(),r=a0(),o=o0(),s=bC(),c=kC(),u=l0(),p=c0(),g=FC(),y=GC(),v=So(),S=h0(),D=v0(),_=DC(),b=Jt(),w=yo(),E=b0(),R=hn(),O=C0(),M=yl(),F=vo(),N=1,A=2,G=4,U="[object Arguments]",V="[object Array]",B="[object Boolean]",te="[object Date]",ee="[object Error]",oe="[object Function]",se="[object GeneratorFunction]",he="[object Map]",ue="[object Number]",K="[object Object]",J="[object RegExp]",I="[object Set]",H="[object String]",ae="[object Symbol]",re="[object WeakMap]",ie="[object ArrayBuffer]",ke="[object DataView]",ye="[object Float32Array]",ve="[object Float64Array]",Ce="[object Int8Array]",Se="[object Int16Array]",yt="[object Int32Array]",Dt="[object Uint8Array]",ur="[object Uint8ClampedArray]",$n="[object Uint16Array]",Rn="[object Uint32Array]",Oe={};Oe[U]=Oe[V]=Oe[ie]=Oe[ke]=Oe[B]=Oe[te]=Oe[ye]=Oe[ve]=Oe[Ce]=Oe[Se]=Oe[yt]=Oe[he]=Oe[ue]=Oe[K]=Oe[J]=Oe[I]=Oe[H]=Oe[ae]=Oe[Dt]=Oe[ur]=Oe[$n]=Oe[Rn]=!0,Oe[ee]=Oe[oe]=Oe[re]=!1;function tn(Te,zt,_t,je,$e,at){var Ge,Tt=zt&N,Ot=zt&A,On=zt&G;if(_t&&(Ge=$e?_t(Te,je,$e,at):_t(Te)),Ge!==void 0)return Ge;if(!R(Te))return Te;var nn=b(Te);if(nn){if(Ge=S(Te),!Tt)return c(Te,Ge)}else{var Je=v(Te),Et=Je==oe||Je==se;if(w(Te))return s(Te,Tt);if(Je==K||Je==U||Et&&!$e){if(Ge=Ot||Et?{}:_(Te),!Tt)return Ot?p(Te,o(Ge,Te)):u(Te,r(Ge,Te))}else{if(!Oe[Je])return $e?Te:{};Ge=D(Te,Je,Tt)}}at||(at=new i);var rn=at.get(Te);if(rn)return rn;at.set(Te,Ge),O(Te)?Te.forEach(function(xt){Ge.add(tn(xt,zt,_t,xt,Te,at))}):E(Te)&&Te.forEach(function(xt,qt){Ge.set(qt,tn(xt,zt,_t,qt,Te,at))});var fn=On?Ot?y:g:Ot?F:M,dr=nn?void 0:fn(Te);return e(dr||Te,function(xt,qt){dr&&(qt=xt,xt=Te[qt]),n(Ge,qt,tn(xt,zt,_t,qt,Te,at))}),Ge}return cg=tn,cg}var ug,vw;function k0(){if(vw)return ug;vw=1;function i(e){var n=e==null?0:e.length;return n?e[n-1]:void 0}return ug=i,ug}var dg,Sw;function P0(){if(Sw)return dg;Sw=1;function i(e,n,r){var o=-1,s=e.length;n<0&&(n=-n>s?0:s+n),r=r>s?s:r,r<0&&(r+=s),s=n>r?0:r-n>>>0,n>>>=0;for(var c=Array(s);++o<s;)c[o]=e[o+n];return c}return dg=i,dg}var pg,bw;function D0(){if(bw)return pg;bw=1;var i=mC(),e=P0();function n(r,o){return o.length<2?r:i(r,e(o,0,-1))}return pg=n,pg}var gg,ww;function _0(){if(ww)return gg;ww=1;var i=ul(),e=k0(),n=D0(),r=jh(),o=Object.prototype,s=o.hasOwnProperty;function c(u,p){p=i(p,u);var g=-1,y=p.length;if(!y)return!0;for(var v=u==null||typeof u!="object"&&typeof u!="function";++g<y;){var S=p[g];if(typeof S=="string"){if(S==="__proto__"&&!s.call(u,"__proto__"))return!1;if(S==="constructor"&&g+1<y&&typeof p[g+1]=="string"&&p[g+1]==="prototype"){if(v&&g===0)continue;return!1}}}var D=n(u,p);return D==null||delete D[r(e(p))]}return gg=c,gg}var hg,Cw;function T0(){if(Cw)return hg;Cw=1;var i=EC();function e(n){return i(n)?void 0:n}return hg=e,hg}var mg,kw;function E0(){if(kw)return mg;kw=1;var i=ea(),e=hl(),n=Jt(),r=i?i.isConcatSpreadable:void 0;function o(s){return n(s)||e(s)||!!(r&&s&&s[r])}return mg=o,mg}var fg,Pw;function x0(){if(Pw)return fg;Pw=1;var i=Xh(),e=E0();function n(r,o,s,c,u){var p=-1,g=r.length;for(s||(s=e),u||(u=[]);++p<g;){var y=r[p];o>0&&s(y)?o>1?n(y,o-1,s,c,u):i(u,y):c||(u[u.length]=y)}return u}return fg=n,fg}var yg,Dw;function I0(){if(Dw)return yg;Dw=1;var i=x0();function e(n){var r=n==null?0:n.length;return r?i(n,1):[]}return yg=e,yg}var vg,_w;function $0(){if(_w)return vg;_w=1;var i=I0(),e=$C(),n=RC();function r(o){return n(e(o,void 0,i),o+"")}return vg=r,vg}var Sg,Tw;function R0(){if(Tw)return Sg;Tw=1;var i=Mh(),e=WC(),n=_0(),r=ul(),o=na(),s=T0(),c=$0(),u=GC(),p=1,g=2,y=4,v=c(function(S,D){var _={};if(S==null)return _;var b=!1;D=i(D,function(E){return E=r(E,S),b||(b=E.length>1),E}),o(S,u(S),_),b&&(_=e(_,p|g|y,s));for(var w=D.length;w--;)n(_,D[w]);return _});return Sg=v,Sg}var O0=R0();const vi=Xe(O0);var bg,Ew;function N0(){if(Ew)return bg;Ew=1;function i(e){return e===void 0}return bg=i,bg}var A0=N0();const oo=Xe(A0);var wg,xw;function L0(){if(xw)return wg;xw=1;var i="__lodash_hash_undefined__";function e(n){return this.__data__.set(n,i),this}return wg=e,wg}var Cg,Iw;function M0(){if(Iw)return Cg;Iw=1;function i(e){return this.__data__.has(e)}return Cg=i,Cg}var kg,$w;function zC(){if($w)return kg;$w=1;var i=Lh(),e=L0(),n=M0();function r(o){var s=-1,c=o==null?0:o.length;for(this.__data__=new i;++s<c;)this.add(o[s])}return r.prototype.add=r.prototype.push=e,r.prototype.has=n,kg=r,kg}var Pg,Rw;function j0(){if(Rw)return Pg;Rw=1;function i(e,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(e[r],r,e))return!0;return!1}return Pg=i,Pg}var Dg,Ow;function qC(){if(Ow)return Dg;Ow=1;function i(e,n){return e.has(n)}return Dg=i,Dg}var _g,Nw;function UC(){if(Nw)return _g;Nw=1;var i=zC(),e=j0(),n=qC(),r=1,o=2;function s(c,u,p,g,y,v){var S=p&r,D=c.length,_=u.length;if(D!=_&&!(S&&_>D))return!1;var b=v.get(c),w=v.get(u);if(b&&w)return b==u&&w==c;var E=-1,R=!0,O=p&o?new i:void 0;for(v.set(c,u),v.set(u,c);++E<D;){var M=c[E],F=u[E];if(g)var N=S?g(F,M,E,u,c,v):g(M,F,E,c,u,v);if(N!==void 0){if(N)continue;R=!1;break}if(O){if(!e(u,function(A,G){if(!n(O,G)&&(M===A||y(M,A,p,g,v)))return O.push(G)})){R=!1;break}}else if(!(M===F||y(M,F,p,g,v))){R=!1;break}}return v.delete(c),v.delete(u),R}return _g=s,_g}var Tg,Aw;function F0(){if(Aw)return Tg;Aw=1;function i(e){var n=-1,r=Array(e.size);return e.forEach(function(o,s){r[++n]=[s,o]}),r}return Tg=i,Tg}var Eg,Lw;function G0(){if(Lw)return Eg;Lw=1;function i(e){var n=-1,r=Array(e.size);return e.forEach(function(o){r[++n]=o}),r}return Eg=i,Eg}var xg,Mw;function W0(){if(Mw)return xg;Mw=1;var i=ea(),e=wC(),n=fo(),r=UC(),o=F0(),s=G0(),c=1,u=2,p="[object Boolean]",g="[object Date]",y="[object Error]",v="[object Map]",S="[object Number]",D="[object RegExp]",_="[object Set]",b="[object String]",w="[object Symbol]",E="[object ArrayBuffer]",R="[object DataView]",O=i?i.prototype:void 0,M=O?O.valueOf:void 0;function F(N,A,G,U,V,B,te){switch(G){case R:if(N.byteLength!=A.byteLength||N.byteOffset!=A.byteOffset)return!1;N=N.buffer,A=A.buffer;case E:return!(N.byteLength!=A.byteLength||!B(new e(N),new e(A)));case p:case g:case S:return n(+N,+A);case y:return N.name==A.name&&N.message==A.message;case D:case b:return N==A+"";case v:var ee=o;case _:var oe=U&c;if(ee||(ee=s),N.size!=A.size&&!oe)return!1;var se=te.get(N);if(se)return se==A;U|=u,te.set(N,A);var he=r(ee(N),ee(A),U,V,B,te);return te.delete(N),he;case w:if(M)return M.call(N)==M.call(A)}return!1}return xg=F,xg}var Ig,jw;function z0(){if(jw)return Ig;jw=1;var i=FC(),e=1,n=Object.prototype,r=n.hasOwnProperty;function o(s,c,u,p,g,y){var v=u&e,S=i(s),D=S.length,_=i(c),b=_.length;if(D!=b&&!v)return!1;for(var w=D;w--;){var E=S[w];if(!(v?E in c:r.call(c,E)))return!1}var R=y.get(s),O=y.get(c);if(R&&O)return R==c&&O==s;var M=!0;y.set(s,c),y.set(c,s);for(var F=v;++w<D;){E=S[w];var N=s[E],A=c[E];if(p)var G=v?p(A,N,E,c,s,y):p(N,A,E,s,c,y);if(!(G===void 0?N===A||g(N,A,u,p,y):G)){M=!1;break}F||(F=E=="constructor")}if(M&&!F){var U=s.constructor,V=c.constructor;U!=V&&"constructor"in s&&"constructor"in c&&!(typeof U=="function"&&U instanceof U&&typeof V=="function"&&V instanceof V)&&(M=!1)}return y.delete(s),y.delete(c),M}return Ig=o,Ig}var $g,Fw;function q0(){if(Fw)return $g;Fw=1;var i=Wh(),e=UC(),n=W0(),r=z0(),o=So(),s=Jt(),c=yo(),u=fl(),p=1,g="[object Arguments]",y="[object Array]",v="[object Object]",S=Object.prototype,D=S.hasOwnProperty;function _(b,w,E,R,O,M){var F=s(b),N=s(w),A=F?y:o(b),G=N?y:o(w);A=A==g?v:A,G=G==g?v:G;var U=A==v,V=G==v,B=A==G;if(B&&c(b)){if(!c(w))return!1;F=!0,U=!1}if(B&&!U)return M||(M=new i),F||u(b)?e(b,w,E,R,O,M):n(b,w,A,E,R,O,M);if(!(E&p)){var te=U&&D.call(b,"__wrapped__"),ee=V&&D.call(w,"__wrapped__");if(te||ee){var oe=te?b.value():b,se=ee?w.value():w;return M||(M=new i),O(oe,se,E,R,M)}}return B?(M||(M=new i),r(b,w,E,R,O,M)):!1}return $g=_,$g}var Rg,Gw;function U0(){if(Gw)return Rg;Gw=1;var i=q0(),e=xn();function n(r,o,s,c,u){return r===o?!0:r==null||o==null||!e(r)&&!e(o)?r!==r&&o!==o:i(r,o,s,c,n,u)}return Rg=n,Rg}var Og,Ww;function B0(){if(Ww)return Og;Ww=1;var i=U0();function e(n,r){return i(n,r)}return Og=e,Og}var H0=B0();const _n=Xe(H0);var Ng,zw;function V0(){if(zw)return Ng;zw=1;var i=AC(),e=So(),n=hl(),r=Jt(),o=ta(),s=yo(),c=gl(),u=fl(),p="[object Map]",g="[object Set]",y=Object.prototype,v=y.hasOwnProperty;function S(D){if(D==null)return!0;if(o(D)&&(r(D)||typeof D=="string"||typeof D.splice=="function"||s(D)||u(D)||n(D)))return!D.length;var _=e(D);if(_==p||_==g)return!D.size;if(c(D))return!i(D).length;for(var b in D)if(v.call(D,b))return!1;return!0}return Ng=S,Ng}var K0=V0();const tr=Xe(K0);var Ag,qw;function Q0(){if(qw)return Ag;qw=1;var i=SC(),e=yl();function n(r,o){return r&&i(r,o,e)}return Ag=n,Ag}var Lg,Uw;function X0(){if(Uw)return Lg;Uw=1;var i=ta();function e(n,r){return function(o,s){if(o==null)return o;if(!i(o))return n(o,s);for(var c=o.length,u=r?c:-1,p=Object(o);(r?u--:++u<c)&&s(p[u],u,p)!==!1;);return o}}return Lg=e,Lg}var Mg,Bw;function Y0(){if(Bw)return Mg;Bw=1;var i=Q0(),e=X0(),n=e(i);return Mg=n,Mg}var jg,Hw;function J0(){if(Hw)return jg;Hw=1;var i=Kh();function e(n){return typeof n=="function"?n:i}return jg=e,jg}var Fg,Vw;function Z0(){if(Vw)return Fg;Vw=1;var i=NC(),e=Y0(),n=J0(),r=Jt();function o(s,c){var u=r(s)?i:e;return u(s,n(c))}return Fg=o,Fg}var Gg,Kw;function e2(){return Kw||(Kw=1,Gg=Z0()),Gg}var t2=e2();const n2=Xe(t2);var vl=pC();const nr=Xe(vl);function Mr(i,e){i&&console.warn(`Warning: ${e}`)}function Sl(i){return i==null}let BC=class{constructor(){this._eventMap=new Map}on(e,n){return e&&typeof n=="function"&&(this._eventMap.has(e)||this._eventMap.set(e,[]),this._eventMap.get(e).push(n)),this}once(e,n){var r=this;if(e&&typeof n=="function"){const o=function(){n(...arguments),r.off(e,o)};this.on(e,o)}}off(e,n){if(e)if(typeof n=="function"){const r=this._eventMap.get(e);if(Array.isArray(r)&&r.length){let o=-1;for(;(o=r.findIndex(s=>s===n))>-1;)r.splice(o,1)}}else Sl(n)&&this._eventMap.delete(e);return this}emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return this._eventMap.has(e)?([...this._eventMap.get(e)].forEach(c=>c(...r)),!0):!1}};function di(i){try{return i instanceof HTMLElement}catch{return typeof i=="object"&&i.nodeType===1&&typeof i.style=="object"&&typeof i.ownerDocument=="object"}}function r2(i){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(const o of n)i.appendChild(o);return i}function ige(i){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(i.children&&i.children.length){const o=i.children[0];for(const s of n)i.insertBefore(s,o)}else r2(i,...n);return i}function i2(i){if(i&&typeof i=="object")return typeof i.toJSON=="function"?i.toJSON():["left","top","right","bottom","width","height"].reduce((n,r)=>(n[r]=i[r],n),{})}function Nr(i){i.stopPropagation(),i.preventDefault()}function age(i){return i.length===1&&i.match(/\S/)}function bl(i,e){for(let n=0;n<i.length;n++)i[n]===e?(i[n].tabIndex=0,i[n].focus()):i[n].tabIndex=-1}function oge(i){i.length>0&&bl(i,i[0])}function sge(i){i.length>0&&bl(i,i[i.length-1])}function lge(i,e){let n,r;i.length>0&&(e===i[0]?n=i[i.length-1]:(r=i.indexOf(e),n=i[r-1]),bl(i,n))}function cge(i,e){let n,r;i.length>0&&(e===i[i.length-1]?n=i[0]:(r=i.indexOf(e),n=i[r+1]),bl(i,n))}function uge(i,e,n,r){let o,s;return!i||!n||!r||r.length>1?-1:(r=r.toLowerCase(),o=i.indexOf(e)+1,o>=i.length&&(o=0),s=n.indexOf(r,o),s===-1&&(s=n.indexOf(r,0)),s>=0?s:-1)}function dge(i,e){if(!i)return null;for(;i.parentElement&&xe(i.parentElement,"attributes.role.value","")!==e;)i=i.parentElement;return i.parentElement}function pge(i,e){for(let n=0;n<i.length;n++){const r=i[n].attributes["data-popupid"];if(r&&r.value===e)return i[n]}return null}const Fs={TOP:/top/i,RIGHT:/right/i,BOTTOM:/bottom/i,LEFT:/left/i},qi={left:0,top:0,height:0,width:0,scrollLeft:0,scrollTop:0};let a2=class extends Wt{constructor(e){var n;super(Object.assign({},e)),n=this,this.removePortal=()=>{this._adapter.removePortal()},this.setDisplayNone=(r,o)=>{this._adapter.setDisplayNone(r,o)},this.updateStateIfCursorOnTrigger=r=>{var o,s;if(!((o=r?.matches)===null||o===void 0)&&o.call(r,":hover")){const c=this._adapter.getEventName(),u=this.getState("triggerEventSet");(s=u[c.mouseEnter])===null||s===void 0||s.call(u)}},this.onResize=()=>{this.getState("visible")&&this.calcPosition()},this.delayShow=()=>{const r=this.getProp("mouseEnterDelay");this.clearDelayTimer(),r>0?this._timer=setTimeout(()=>{this.show(),this.clearDelayTimer()},r):this.show()},this.show=()=>{if(this._initContainerPosition(),this._adapter.getAnimatingState())return;const r=this.getProp("content"),o=this.getProp("trigger"),s=this.getProp("clickTriggerToHide"),{visible:c,displayNone:u}=this.getStates();if(u&&this.setDisplayNone(!1),!c){if(this.clearDelayTimer(),this._adapter.on("portalInserted",()=>{this.calcPosition()}),o==="hover"){const p=()=>{var g;const y=this._adapter.getTriggerDOM();o&&!(!((g=y?.matches)===null||g===void 0)&&g.call(y,":hover"))&&this.hide(),this._adapter.off("portalInserted",p)};this._adapter.on("portalInserted",p)}this._adapter.on("positionUpdated",()=>{this._togglePortalVisible(!0)}),this._adapter.insertPortal(r,{left:-9999,top:-9999}),o==="custom"&&this._adapter.registerClickOutsideHandler(()=>{}),(o==="click"||s||o==="contextMenu")&&this._adapter.registerClickOutsideHandler(this.hide),this._bindScrollEvent(),this._bindResizeEvent()}},this.calcPosition=function(r,o,s){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;r=(tr(r)?n._adapter.getTriggerBounding():r)||Object.assign({},qi),s=(tr(s)?n._adapter.getPopupContainerRect():s)||Object.assign({},qi),o=(tr(o)?n._adapter.getWrapperBounding():o)||Object.assign({},qi);let u=n.calcPosStyle({triggerRect:r,wrapperRect:o,containerRect:s}),p=n.getProp("position");if(n.getProp("autoAdjustOverflow")){const{position:g,isHeightOverFlow:y,isWidthOverFlow:v}=n.adjustPosIfNeed(p,u,r,o,s);(p!==g||y||v)&&(p=g,u=n.calcPosStyle({triggerRect:r,wrapperRect:o,containerRect:s,position:p,spacing:null,isOverFlow:[y,v]}))}return c&&n._mounted&&n._adapter.setPosition(Object.assign(Object.assign({},u),{position:p})),u},this.delayHide=()=>{const r=this.getProp("mouseLeaveDelay");this.clearDelayTimer(),r>0?this._timer=setTimeout(()=>{this.hide(),this.clearDelayTimer()},r):this.hide()},this.hide=()=>{this.clearDelayTimer(),this._togglePortalVisible(!1),this._adapter.off("portalInserted"),this._adapter.off("positionUpdated")},this.handleContainerKeydown=r=>{const{guardFocus:o,closeOnEsc:s}=this.getProps();switch(r&&r.key){case"Escape":s&&this._handleEscKeyDown(r);break;case"Tab":if(o){const c=this._adapter.getContainer(),u=this._adapter.getFocusableElements(c);u.length&&(r.shiftKey?this._handleContainerShiftTabKeyDown(u,r):this._handleContainerTabKeyDown(u,r))}break}},this._timer=null}init(){const{wrapperId:e}=this.getProps();this._mounted=!0,this._bindEvent(),this._shouldShow(),e||this._adapter.setId()}destroy(){this._mounted=!1,this.unBindEvent()}_bindEvent(){const e=this.getProp("trigger"),{triggerEventSet:n,portalEventSet:r}=this._generateEvent(e);this._bindTriggerEvent(n),this._bindPortalEvent(r),this._bindResizeEvent()}unBindEvent(){this._adapter.unregisterClickOutsideHandler(),this.unBindResizeEvent(),this.unBindScrollEvent(),clearTimeout(this._timer)}_bindTriggerEvent(e){this._adapter.registerTriggerEvent(e)}_bindPortalEvent(e){this._adapter.registerPortalEvent(e)}_bindResizeEvent(){this._adapter.registerResizeHandler(this.onResize)}unBindResizeEvent(){this._adapter.unregisterResizeHandler(this.onResize)}_adjustPos(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"reverse",o=arguments.length>3?arguments[3]:void 0;switch(r){case"reverse":return this._reversePos(e,n);case"expand":return this._expandPos(e,o);case"reduce":return this._reducePos(e);default:return this._reversePos(e,n)}}_reversePos(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1){if(Fs.TOP.test(e))return e.replace("top","bottom").replace("Top","Bottom");if(Fs.BOTTOM.test(e))return e.replace("bottom","top").replace("Bottom","Top")}else{if(Fs.LEFT.test(e))return e.replace("left","right").replace("Left","Right");if(Fs.RIGHT.test(e))return e.replace("right","left").replace("Right","Left")}return e}_expandPos(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return e.concat(n)}_reducePos(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=["Top","Bottom","Left","Right"].find(r=>e.endsWith(r));return n?e.replace(n,""):e}clearDelayTimer(){this._timer&&(clearTimeout(this._timer),this._timer=null)}_generateEvent(e){const n=this._adapter.getEventName(),r={[n.keydown]:s=>{this._handleTriggerKeydown(s)}};let o={};switch(e){case"focus":r[n.focus]=()=>{this.delayShow()},r[n.blur]=()=>{this.delayHide()},o=r;break;case"click":r[n.click]=()=>{this.show()},o={};break;case"hover":r[n.mouseEnter]=()=>{this.setCache("isClickToHide",!1),this.delayShow()},r[n.mouseLeave]=()=>{this.delayHide()},r[n.focus]=()=>{const{disableFocusListener:s}=this.getProps();!s&&this.delayShow()},r[n.blur]=()=>{const{disableFocusListener:s}=this.getProps();!s&&this.delayHide()},o=Object.assign({},r),this.getProp("clickToHide")&&(o[n.click]=()=>{this.setCache("isClickToHide",!0),this.hide()},o[n.mouseEnter]=()=>{this.getCache("isClickToHide")||this.delayShow()});break;case"custom":break;case"contextMenu":r[n.contextMenu]=s=>{s.preventDefault(),this.show()};break}return{triggerEventSet:r,portalEventSet:o}}_shouldShow(){this.getProp("visible")&&this.show()}_togglePortalVisible(e){const n=this.getState("visible"),r=this.getState("isInsert");(n!==e||r!==e)&&this._adapter.togglePortalVisible(e,()=>{e&&this._adapter.setInitialFocus(),this._adapter.notifyVisibleChange(e)})}_roundPixel(e){return typeof e=="number"?Math.round(e):e}calcTransformOrigin(e,n,r,o){if(e&&n&&r!=null&&o!=null){if(this.getProp("transformFromCenter")){if(["topLeft","bottomLeft"].includes(e))return`${this._roundPixel(n.width/2)}px ${-o*100}%`;if(["topRight","bottomRight"].includes(e))return`calc(100% - ${this._roundPixel(n.width/2)}px) ${-o*100}%`;if(["leftTop","rightTop"].includes(e))return`${-r*100}% ${this._roundPixel(n.height/2)}px`;if(["leftBottom","rightBottom"].includes(e))return`${-r*100}% calc(100% - ${this._roundPixel(n.height/2)}px)`}return`${-r*100}% ${-o*100}%`}return null}calcPosStyle(e){var n;const{spacing:r,isOverFlow:o}=e,{innerWidth:s}=window,c=(tr(e.triggerRect)?e.triggerRect:this._adapter.getTriggerBounding())||Object.assign({},qi),u=(tr(e.containerRect)?e.containerRect:this._adapter.getPopupContainerRect())||Object.assign({},qi),p=(tr(e.wrapperRect)?e.wrapperRect:this._adapter.getWrapperBounding())||Object.assign({},qi),g=e.position!=null?e.position:this.getProp("position"),y=r??this.getProp("spacing"),{arrowPointAtCenter:v,showArrow:S,arrowBounding:D}=this.getProps(),_=S&&v;let b=y,w=0;if(typeof y!="number"){const Se=g.includes("top")||g.includes("bottom");b=Se?y.y:y.x,w=Se?y.x:y.y}const E=xe(D,"width",24),R=xe(D,"width",24),O=xe(D,"offsetY",0),M=6,F=6;let N,A,G=0,U=0;const V=c.left+c.width/2,B=c.top+c.height/2,te=M+E/2,ee=F+R/2,oe=p.height-u.height,se=p.width-u.width,he=oe>0?oe:0,ue=se>0?se:0,K=o&&o[0],J=o&&o[1],I=V-u.left<u.right-V,H=B-u.top<u.bottom-B,ae=p.width>s,re=Math.abs(p?.width-((n=this._adapter.getContainer())===null||n===void 0?void 0:n.clientWidth))>1;switch(re&&(b=b*p.width/this._adapter.getContainer().clientWidth),g){case"top":N=J?I?u.left+p.width/2:u.right-p.width/2+ue:V+w,A=K?u.bottom+he:c.top-b,G=-.5,U=-1;break;case"topLeft":N=J?ae?u.left:u.right-p.width:_?V-te+w:c.left+w,A=K?u.bottom+he:c.top-b,U=-1;break;case"topRight":N=J?u.right+ue:_?V+te+w:c.right+w,A=K?u.bottom+he:c.top-b,U=-1,G=-1;break;case"left":N=J?u.right+ue-b+te:c.left-b,A=K?H?u.top+p.height/2:u.bottom-p.height/2+he:B+w,G=-1,U=-.5;break;case"leftTop":N=J?u.right+ue-b+te:c.left-b,A=K?u.top:_?B-ee+w:c.top+w,G=-1;break;case"leftBottom":N=J?u.right+ue-b+te:c.left-b,A=K?u.bottom+he:_?B+ee+w:c.bottom+w,G=-1,U=-1;break;case"bottom":N=J?I?u.left+p.width/2:u.right-p.width/2+ue:V+w,A=K?u.top+ee-b:c.top+c.height+b,G=-.5;break;case"bottomLeft":N=J?ae?u.left:u.right-p.width:_?V-te+w:c.left+w,A=K?u.top+ee-b:c.top+c.height+b;break;case"bottomRight":N=J?u.right+ue:_?V+te+w:c.right+w,A=K?u.top+ee-b:c.top+c.height+b,G=-1;break;case"right":N=J?u.left-b+te:c.right+b,A=K?H?u.top+p.height/2:u.bottom-p.height/2+he:B+w,U=-.5;break;case"rightTop":N=J?u.left-b+te:c.right+b,A=K?u.top:_?B-ee+w:c.top+w;break;case"rightBottom":N=J?u.left-b+te:c.right+b,A=K?u.bottom+he:_?B+ee+w:c.bottom+w,U=-1;break;case"leftTopOver":N=c.left-b,A=c.top-b;break;case"rightTopOver":N=c.right+b,A=c.top-b,G=-1;break;case"leftBottomOver":N=c.left-b,A=c.bottom+b,U=-1;break;case"rightBottomOver":N=c.right+b,A=c.bottom+b,G=-1,U=-1;break}const ie=this.calcTransformOrigin(g,c,G,U),ke=this._adapter.containerIsBody();if(N=N-u.left,A=A-u.top,re&&(N/=p.width/this._adapter.getContainer().clientWidth),re&&(A/=p.height/this._adapter.getContainer().clientHeight),ke&&!this._adapter.containerIsRelativeOrAbsolute()){const Se=this._adapter.getDocumentElementBounding();N+=u.left-Se.left,A+=u.top-Se.top}N=ke?N:N+u.scrollLeft,A=ke?A:A+u.scrollTop;const ye=c.height;if(this.getProp("showArrow")&&!v&&ye<=(R/2+O)*2){const Se=ye/2-(O+R/2);(g.includes("Top")||g.includes("Bottom"))&&!g.includes("Over")&&(A=g.includes("Top")?A+Se:A-Se)}const ve={left:this._roundPixel(N),top:this._roundPixel(A)};let Ce="";return G!=null&&(Ce+=`translateX(${G*100}%) `,Object.defineProperty(ve,"translateX",{enumerable:!1,value:G})),U!=null&&(Ce+=`translateY(${U*100}%) `,Object.defineProperty(ve,"translateY",{enumerable:!1,value:U})),ie!=null&&(ve.transformOrigin=ie),Ce&&(ve.transform=Ce),ve}isLR(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.includes("left")||e.includes("right")}isTB(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.includes("top")||e.includes("bottom")}isReverse(e,n,r){return e<r&&n>r}isOverFlow(e,n,r){return e<r&&n<r}isHalfOverFlow(e,n,r){return e<r||n<r}isHalfAllEnough(e,n,r){return e>=r||n>=r}getReverse(e,n,r,o){return e&&o||r}adjustPosIfNeed(e,n,r,o,s){const{innerWidth:c,innerHeight:u}=window,{margin:p}=this.getProps(),g=typeof p=="number"?p:p.marginLeft,y=typeof p=="number"?p:p.marginTop,v=typeof p=="number"?p:p.marginRight,S=typeof p=="number"?p:p.marginBottom;let D=!1,_=!1;const b=this.getProp("spacing");let w=b,E=0;if(typeof b!="number"){const R=e.includes("top")||e.includes("bottom");w=R?b.y:b.x,E=R?b.x:b.y}if(o.width>0&&o.height>0){const R=r.left,O=r.right,M=r.top,F=r.bottom,N=c-R,A=u-M,G=c-O,U=u-F,V=o.width>r.width,B=o.height>r.height,te=M-y<o.height+w&&U-S>o.height+w,ee=R-g<o.width+w&&G-v>o.width+w,oe=U-S<o.height+w&&M-y>o.height+w,se=G-v<o.width+w&&R-g>o.width+w;A-S<o.height+w&&F-y>o.height+w,F-y<o.height+w&&A-S>o.height+w;const he=A<o.height+E&&F>o.height+E,ue=F<o.height+E&&A>o.height+E,K=N<o.width+E&&O>o.width+E,J=O<o.width+E&&N>o.width+E,I=A<o.height+w&&F>o.height+w,H=F<o.height+w&&A>o.height+w,ae=N<o.width&&O>o.width,re=O<o.width&&N>o.width,ie=M-s.top,ke=R-s.left,ye=ie+r.height,ve=ke+r.width,Ce=s.bottom-F,Se=s.right-O,yt=Ce+r.height,Dt=Se+r.width,ur=this.isReverse(ie-y,Ce-S,o.height+w),$n=this.isReverse(ke-g,Se-v,o.width+w),Rn=this.isReverse(Ce-S,ie-y,o.height+w),Oe=this.isReverse(Se-v,ke-g,o.width+w);this.isReverse(yt-S,ye-y,o.height+w),this.isReverse(ye-y,yt-S,o.height+w);const tn=this.isReverse(yt,ye,o.height+E),Te=this.isReverse(ye,yt,o.height+E),zt=this.isReverse(Dt,ve,o.width+E),_t=this.isReverse(ve,Dt,o.width+E),je=r.height/2,$e=r.width/2,at=this.isOverFlow(M-y,U-S,o.height+w),Ge=this.isOverFlow(R-g,G-v,o.width+w),Tt=this.isOverFlow(F-y,A-S,o.height+w),Ot=this.isOverFlow(O-g,N-v,o.width+w),On=this.isHalfOverFlow(F-je,A-je,(o.height+E)/2),nn=this.isHalfOverFlow(O-$e,N-$e,(o.width+E)/2),Je=this.isHalfAllEnough(F-je,A-je,(o.height+E)/2),Et=this.isHalfAllEnough(O-$e,N-$e,(o.width+E)/2),rn=this.isOverFlow(ie-y,Ce-S,o.height+w),fn=this.isOverFlow(ke-g,Se-v,o.width+w),dr=this.isOverFlow(ye-y,yt-S,o.height+w),xt=this.isOverFlow(ve-g,Dt-v,o.width+w),qt=this.isHalfOverFlow(ye-je,yt-je,(o.height+E)/2),xo=this.isHalfOverFlow(ve-$e,Dt-$e,(o.width+E)/2),pr=this.isHalfAllEnough(ye-je,yt-je,(o.height+E)/2),gr=this.isHalfAllEnough(ve-$e,Dt-$e,(o.width+E)/2),qr=this.getReverse(at,rn,te,ur),Ur=this.getReverse(Ge,fn,ee,$n),Br=this.getReverse(at,rn,oe,Rn),Nn=this.getReverse(Ge,fn,se,Oe),Ut=this.getReverse(Tt,dr,he,tn),Hr=this.getReverse(Tt,dr,ue,Te),Hn=this.getReverse(Ot,xt,K,zt),Vr=this.getReverse(Ot,xt,J,_t),ca=On&&qt,ua=nn&&xo;switch(e){case"top":qr&&(e=this._adjustPos(e,!0)),ua&&(Hn||Vr)&&(e=this._adjustPos(e,!0,"expand",Hn?"Right":"Left"));break;case"topLeft":qr&&(e=this._adjustPos(e,!0)),Hn&&V&&(e=this._adjustPos(e)),_&&(Et||gr)&&(e=this._adjustPos(e,!0,"reduce"));break;case"topRight":qr&&(e=this._adjustPos(e,!0)),Vr&&V&&(e=this._adjustPos(e)),_&&(Et||gr)&&(e=this._adjustPos(e,!0,"reduce"));break;case"left":Ur&&(e=this._adjustPos(e)),ca&&(Ut||Hr)&&(e=this._adjustPos(e,!1,"expand",Ut?"Bottom":"Top"));break;case"leftTop":Ur&&(e=this._adjustPos(e)),Ut&&B&&(e=this._adjustPos(e,!0)),D&&(Je||pr)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftBottom":Ur&&(e=this._adjustPos(e)),Hr&&B&&(e=this._adjustPos(e,!0)),D&&(Je||pr)&&(e=this._adjustPos(e,!1,"reduce"));break;case"bottom":Br&&(e=this._adjustPos(e,!0)),ua&&(Hn||Vr)&&(e=this._adjustPos(e,!0,"expand",Hn?"Right":"Left"));break;case"bottomLeft":Br&&(e=this._adjustPos(e,!0)),Hn&&V&&(e=this._adjustPos(e)),_&&(Et||gr)&&(e=this._adjustPos(e,!0,"reduce"));break;case"bottomRight":Br&&(e=this._adjustPos(e,!0)),Vr&&V&&(e=this._adjustPos(e)),_&&(Et||gr)&&(e=this._adjustPos(e,!0,"reduce"));break;case"right":Nn&&(e=this._adjustPos(e)),ca&&(Ut||Hr)&&(e=this._adjustPos(e,!1,"expand",Ut?"Bottom":"Top"));break;case"rightTop":Nn&&(e=this._adjustPos(e)),Ut&&B&&(e=this._adjustPos(e,!0)),D&&(Je||pr)&&(e=this._adjustPos(e,!1,"reduce"));break;case"rightBottom":Nn&&(e=this._adjustPos(e)),Hr&&B&&(e=this._adjustPos(e,!0)),D&&(Je||pr)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftTopOver":I&&(e=this._adjustPos(e,!0)),ae&&(e=this._adjustPos(e));break;case"leftBottomOver":H&&(e=this._adjustPos(e,!0)),ae&&(e=this._adjustPos(e));break;case"rightTopOver":I&&(e=this._adjustPos(e,!0)),re&&(e=this._adjustPos(e));break;case"rightBottomOver":H&&(e=this._adjustPos(e,!0)),re&&(e=this._adjustPos(e));break}this.isTB(e)&&(D=at&&rn,e==="top"||e==="bottom"?_=nn&&xo||O<0||G<0:_=Ot&&xt||O<0||G<0),this.isLR(e)&&(_=Ge&&fn,e==="left"||e==="right"?D=On&&qt||M<0||A<0:D=Tt&&dr||M<0||A<0)}return{position:e,isHeightOverFlow:D,isWidthOverFlow:_}}_bindScrollEvent(){this._adapter.registerScrollHandler(()=>this.calcPosition())}unBindScrollEvent(){this._adapter.unregisterScrollHandler()}_initContainerPosition(){this._adapter.getContainerPosition()||!this._adapter.containerIsBody()||this._adapter.updateContainerPosition()}_handleTriggerKeydown(e){const{closeOnEsc:n,disableArrowKeyDown:r}=this.getProps(),o=this._adapter.getContainer(),s=this._adapter.getFocusableElements(o),c=s.length;switch(e&&e.key){case"Escape":Nr(e),n&&this._handleEscKeyDown(e);break;case"ArrowUp":!r&&c&&this._handleTriggerArrowUpKeydown(s,e);break;case"ArrowDown":!r&&c&&this._handleTriggerArrowDownKeydown(s,e);break}}focusTrigger(){const{trigger:e,returnFocusOnClose:n,preventScroll:r}=this.getProps();if(n&&e!=="custom"){const o=this._adapter.getTriggerNode();o&&"focus"in o&&o.focus({preventScroll:r})}}_handleEscKeyDown(e){const{trigger:n}=this.getProps();n!=="custom"&&(this.focusTrigger(),this.hide()),this._adapter.notifyEscKeydown(e)}_handleContainerTabKeyDown(e,n){const{preventScroll:r}=this.getProps(),o=this._adapter.getActiveElement();e[e.length-1]===o&&(e[0].focus({preventScroll:r}),n.preventDefault())}_handleContainerShiftTabKeyDown(e,n){const{preventScroll:r}=this.getProps(),o=this._adapter.getActiveElement();e[0]===o&&(e[e.length-1].focus({preventScroll:r}),n.preventDefault())}_handleTriggerArrowDownKeydown(e,n){const{preventScroll:r}=this.getProps();e[0].focus({preventScroll:r}),n.preventDefault()}_handleTriggerArrowUpKeydown(e,n){const{preventScroll:r}=this.getProps();e[e.length-1].focus({preventScroll:r}),n.preventDefault()}};const o2={PREFIX:`${Ie}-tooltip`},Ki={POSITION_SET:["top","topLeft","topRight","left","leftTop","leftBottom","right","rightTop","rightBottom","bottom","bottomLeft","bottomRight","leftTopOver","rightTopOver","leftBottomOver","rightBottomOver"],TRIGGER_SET:["hover","focus","click","custom","contextMenu"],STATUS_DISABLED:"disabled",STATUS_LOADING:"loading"},ci={ARROW_BOUNDING:{offsetX:0,offsetY:2,width:24,height:7},DEFAULT_Z_INDEX:1060,MOUSE_ENTER_DELAY:50,MOUSE_LEAVE_DELAY:50,SPACING:8,MARGIN:0};function Ys(i){return`${i}-${new Date().getTime()}-${Math.random()}`}function hge(){var i,e;try{return(e=(i=crypto==null?void 0:crypto.randomUUID)===null||i===void 0?void 0:i.call(crypto))!==null&&e!==void 0?e:String(9987e3+-1e11).replace(/[018]/g,n=>(Number(n)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>Number(n)/4).toString(16))}catch{return Ys("semi")}}function uo(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{prefix:e="",length:n=7}=i,r="0123456789abcdefghijklmnopqrstuvwxyz",o=r.length;let s="";for(let c=0;c<n;c++){const u=Math.floor(Math.random()*o);s+=r.charAt(u)}return e?`${e}-${s}`:s}var Wg,Qw;function s2(){if(Qw)return Wg;Qw=1;var i=Hh(),e=ul(),n=Vh(),r=hn(),o=jh();function s(c,u,p,g){if(!r(c))return c;u=e(u,c);for(var y=-1,v=u.length,S=v-1,D=c;D!=null&&++y<v;){var _=o(u[y]),b=p;if(_==="__proto__"||_==="constructor"||_==="prototype")return c;if(y!=S){var w=D[_];b=g?g(w,_,D):void 0,b===void 0&&(b=r(w)?w:n(u[y+1])?[]:{})}i(D,_,b),D=D[_]}return c}return Wg=s,Wg}var zg,Xw;function l2(){if(Xw)return zg;Xw=1;var i=s2();function e(n,r,o){return n==null?n:i(n,r,o)}return zg=e,zg}var c2=l2();const HC=Xe(c2);var qg,Yw;function u2(){if(Yw)return qg;Yw=1;var i=WC(),e=1,n=4;function r(o,s){return s=typeof s=="function"?s:void 0,i(o,e|n,s)}return qg=r,qg}var d2=u2();const p2=Xe(d2);class g2{constructor(){this.config={}}}const Us=new g2;var Jw=function(i,e,n,r){function o(s){return s instanceof n?s:new n(function(c){c(s)})}return new(n||(n=Promise))(function(s,c){function u(y){try{g(r.next(y))}catch(v){c(v)}}function p(y){try{g(r.throw(y))}catch(v){c(v)}}function g(y){y.done?s(y.value):o(y.value).then(u,p)}g((r=r.apply(i,e||[])).next())})};function Gs(i,e){i&&typeof i.stopPropagation=="function"&&i.stopPropagation(),i.nativeEvent&&typeof i.nativeEvent.stopImmediatePropagation=="function"&&i.nativeEvent.stopImmediatePropagation()}function mge(i,e){return p2(i,n=>{if(typeof e=="function")return e(n);if(typeof n=="function"||k.isValidElement(n)||Object.prototype.toString.call(n)==="[object Error]")return n;if(Array.isArray(n)&&n.length===0){const r=Object.keys(n);if(r.length){const o=[];r.forEach(s=>{HC(o,s,n[s])});try{Mr(xe(process,"env.NODE_ENV")!=="production",`[Semi] You may use an out-of-bounds array. In some cases, your program may not behave as expected.
10
- The maximum length of an array is 4294967295.
11
- Please check whether the array subscript in your data exceeds the maximum value of the JS array subscript`)}catch{}return o}else return}})}const fge=(i,e)=>{let{match:n,unmatch:r,callInInit:o=!0}=e;if(typeof window<"u"){let c=function(u){u.matches?n&&n(u):r&&r(u)};const s=window.matchMedia(i);return o&&c(s),Object.prototype.hasOwnProperty.call(s,"addEventListener")?(s.addEventListener("change",c),()=>s.removeEventListener("change",c)):(s.addListener(c),()=>s.removeListener(c))}return()=>{}},Gn=i=>k.isValidElement(i)&&xe(i.type,"elementType")==="Icon";function VC(){return document?document.activeElement:null}function KC(i){if(!di(i))return[];const n=["input:not([disabled]):not([tabindex='-1'])","textarea:not([disabled]):not([tabindex='-1'])","button:not([disabled]):not([tabindex='-1'])","a[href]:not([tabindex='-1'])","select:not([disabled]):not([tabindex='-1'])","area[href]:not([tabindex='-1'])","iframe:not([tabindex='-1'])","object:not([tabindex='-1'])","*[tabindex]:not([tabindex='-1'])","*[contenteditable]:not([tabindex='-1'])"].join(",");return Array.from(i.querySelectorAll(n))}function Yh(i,e){return Jw(this,void 0,void 0,function*(){if(e===0){yield i();return}else{yield new Promise(n=>{setTimeout(()=>Jw(this,void 0,void 0,function*(){yield Yh(i,e-1),n()}),0)});return}})}function h2(){return globalThis&&Object.prototype.toString.call(globalThis)==="[object Window]"?window.innerWidth-document.documentElement.clientWidth:0}function lr(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=()=>{var r,o;return((o=(r=Us?.config)===null||r===void 0?void 0:r.overrideDefaultProps)===null||o===void 0?void 0:o[i])||{}};return new Proxy(Object.assign({},e),{get(r,o,s){const c=n();return o in c?c[o]:Reflect.get(r,o,s)},set(r,o,s,c){return Reflect.set(r,o,s,c)},ownKeys(){const r=n();return Array.from(new Set([...Reflect.ownKeys(e),...Object.keys(r)]))},getOwnPropertyDescriptor(r,o){const s=n();return o in s?Reflect.getOwnPropertyDescriptor(s,o):Reflect.getOwnPropertyDescriptor(r,o)}})}const Bn=k.createContext({}),m2=()=>document.body;class bo extends T.PureComponent{constructor(e,n){var r;super(e),r=this,this.initContainer=function(o){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var c,u;try{let p;if(!r.el||!(!((c=r.state)===null||c===void 0)&&c.container)||!Array.from(r.state.container.childNodes).includes(r.el)){r.el=document.createElement("div");const y=(r.props.getPopupContainer||o.getPopupContainer||m2)();return y.appendChild(r.el),r.addStyle(r.props.style),r.addClass(r.props.prefixCls,o,r.props.className),p=y,p}}catch(p){if(!s)throw p}return(u=r.state)===null||u===void 0?void 0:u.container},this.addStyle=function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r.el)for(const s of Object.keys(o))r.el.style[s]=o[s]},this.addClass=function(o){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.context;const{direction:c}=s;for(var u=arguments.length,p=new Array(u>2?u-2:0),g=2;g<u;g++)p[g-2]=arguments[g];const y=X(o,...p,{[`${o}-rtl`]:c==="rtl"});r.el&&(r.el.className=y)},this.state={container:this.initContainer(n,!0)}}componentDidMount(){const e=this.initContainer(this.context);e!==this.state.container&&this.setState({container:e})}componentDidUpdate(e){const{didUpdate:n}=this.props;n&&n(e)}componentWillUnmount(){const{container:e}=this.state;e&&e.removeChild(this.el)}render(){const{state:e,props:n}=this;return e.container?vl.createPortal(n.children,this.el):null}}bo.contextType=Bn;bo.defaultProps={prefixCls:`${Ie}-portal`};bo.propTypes={children:m.node,prefixCls:m.string,getPopupContainer:m.func,className:m.string,didUpdate:m.func};var f2=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const y2=i=>{const{className:e,style:n}=i,r=f2(i,["className","style"]);return k.createElement("svg",Object.assign({"aria-hidden":!0,className:e,style:n},r,{width:"24",height:"7",viewBox:"0 0 24 7",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),k.createElement("path",{d:"M24 0V1C20 1 18.5 2 16.5 4C14.5 6 14 7 12 7C10 7 9.5 6 7.5 4C5.5 2 4 1 0 1V0H24Z"}))};var v2=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const S2=i=>{const{className:e,style:n}=i,r=v2(i,["className","style"]);return k.createElement("svg",Object.assign({"aria-hidden":!0,className:e,style:n},r,{width:"7",height:"24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"}),k.createElement("path",{d:"M0 0L1 0C1 4, 2 5.5, 4 7.5S7,10 7,12S6 14.5, 4 16.5S1,20 1,24L0 24L0 0z"}))},b2=m.shape({offsetX:m.number,offsetY:m.number,width:m.number,height:m.number});class po extends k.Component{constructor(e){super(e),this.handleAnimationStart=()=>{var n,r;(r=(n=this.props).onAnimationStart)===null||r===void 0||r.call(n)},this.handleAnimationEnd=()=>{this.setState({currentClassName:this.props.endClassName,extraStyle:{animationFillMode:this.props.fillMode},isAnimating:!1},()=>{var n,r;(r=(n=this.props).onAnimationEnd)===null||r===void 0||r.call(n,!1)})},this.state={currentClassName:this.props.startClassName,extraStyle:{animationFillMode:this.props.fillMode},isAnimating:!0}}componentDidMount(){var e,n,r,o;(n=(e=this.props).onAnimationStart)===null||n===void 0||n.call(e),this.props.motion||((o=(r=this.props).onAnimationEnd)===null||o===void 0||o.call(r,!1),this.setState({isAnimating:!1}))}componentDidUpdate(e,n,r){const o=Object.keys(this.props).filter(s=>!_n(this.props[s],e[s]));o.includes("animationState"),(o.includes("startClassName")||o.includes("replayKey")||o.includes("motion"))&&this.setState({currentClassName:this.props.startClassName,extraStyle:{animationFillMode:this.props.fillMode},isAnimating:!0},()=>{var s,c,u,p;(c=(s=this.props).onAnimationStart)===null||c===void 0||c.call(s),this.props.motion||((p=(u=this.props).onAnimationEnd)===null||p===void 0||p.call(u,this.state.isAnimating),this.setState({isAnimating:!1}))})}render(){var e;return this.props.motion?this.props.children({animationClassName:(e=this.state.currentClassName)!==null&&e!==void 0?e:"",animationStyle:this.state.extraStyle,animationEventsNeedBind:{onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},isAnimating:this.state.isAnimating}):this.props.children({animationClassName:"",animationStyle:{},animationEventsNeedBind:{},isAnimating:this.state.isAnimating})}}po.defaultProps={motion:!0,replayKey:""};var Zw=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const Bs=o2.PREFIX,w2=Ki.POSITION_SET,C2=Ki.TRIGGER_SET,k2=["flex","block","table","flow-root","grid"],P2=()=>document.body;class or extends Rt{constructor(e){super(e),this.isAnimating=!1,this.cachedLatestTransitionState="enter",this.setContainerEl=n=>this.containerEl={current:n},this.isSpecial=n=>{if(di(n))return!!n.disabled;if(T.isValidElement(n)){if(xe(n,"props.disabled"))return Ki.STATUS_DISABLED;const o=xe(n,"props.loading"),s=!tr(n)&&!tr(n.type)&&(xe(n,"type.elementType")==="Button"||xe(n,"type.elementType")==="IconButton");if(o&&s)return Ki.STATUS_LOADING}return!1},this.didLeave=()=>{this.props.keepDOM?this.foundation.setDisplayNone(!0):this.foundation.removePortal(),this.foundation.unBindEvent()},this.renderIcon=()=>{const{placement:n}=this.state,{showArrow:r,prefixCls:o,style:s}=this.props;let c=null;const u=X([`${o}-icon-arrow`]),p=xe(s,"backgroundColor"),g=n?.includes("left")||n?.includes("right")?k.createElement(S2,null):k.createElement(y2,null);return r&&(T.isValidElement(r)?c=r:c=k.cloneElement(g,{className:u,style:{color:p,fill:"currentColor"}})),c},this.handlePortalInnerClick=n=>{this.props.clickToHide&&this.foundation.hide(),this.props.stopPropagation&&Gs(n)},this.handlePortalMouseDown=n=>{this.props.stopPropagation&&Gs(n)},this.handlePortalFocus=n=>{this.props.stopPropagation&&Gs(n)},this.handlePortalBlur=n=>{this.props.stopPropagation&&Gs(n)},this.handlePortalInnerKeyDown=n=>{this.foundation.handleContainerKeydown(n)},this.renderContentNode=n=>{const r={initialFocusRef:this.initialFocusRef};return Xt(n)?n(r):n},this.renderPortal=()=>{const{containerStyle:n={},visible:r,portalEventSet:o,placement:s,displayNone:c,transitionState:u,id:p,isPositionUpdated:g}=this.state,{prefixCls:y,content:v,showArrow:S,style:D,motion:_,role:b,zIndex:w}=this.props,E=this.renderContentNode(v),{className:R}=this.props,O=this.context.direction,M=X(R,{[`${y}-wrapper`]:!0,[`${y}-wrapper-show`]:r,[`${y}-with-arrow`]:!!S,[`${y}-rtl`]:O==="rtl"}),F=this.renderIcon(),N=vi(n,_?["transformOrigin"]:void 0),A=xe(n,"transformOrigin"),G=xe(D,"opacity",null),U=G||1,V=k.createElement(po,{fillMode:"forwards",animationState:u,motion:_&&g,startClassName:u==="enter"?`${Bs}-animation-show`:`${Bs}-animation-hide`,onAnimationStart:()=>this.isAnimating=!0,onAnimationEnd:()=>{var B,te;u==="leave"&&(this.didLeave(),(te=(B=this.props).afterClose)===null||te===void 0||te.call(B)),this.isAnimating=!1}},B=>{let{animationStyle:te,animationClassName:ee,animationEventsNeedBind:oe}=B;return k.createElement("div",Object.assign({className:X(M,ee),style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},te),c?{display:"none"}:{}),{transformOrigin:A}),D),G?{opacity:g?U:"0"}:{})},o,oe,{role:b,"x-placement":s,id:p}),k.createElement("div",{className:`${Bs}-content`},E),F)});return k.createElement(bo,{getPopupContainer:this.props.getPopupContainer,style:{zIndex:w}},k.createElement("div",{tabIndex:-1,className:`${Ie}-portal-inner`,style:N,ref:this.setContainerEl,onClick:this.handlePortalInnerClick,onFocus:this.handlePortalFocus,onBlur:this.handlePortalBlur,onMouseDown:this.handlePortalMouseDown,onKeyDown:this.handlePortalInnerKeyDown},V))},this.wrapSpan=n=>{const{wrapperClassName:r}=this.props,o=xe(n,"props.style.display"),s=xe(n,"props.block"),c=typeof n=="string",u={};return c||(u.display="inline-block"),(s||k2.includes(o))&&(u.width="100%"),k.createElement("span",{className:r,style:u},n)},this.mergeEvents=(n,r)=>{const o={};return n2(r,(s,c)=>{typeof s=="function"&&(o[c]=function(){s(...arguments),n&&typeof n[c]=="function"&&n[c](...arguments)})}),o},this.getPopupId=()=>this.state.id,this.state={visible:!1,transitionState:"",triggerEventSet:{},portalEventSet:{},containerStyle:{},isInsert:!1,placement:e.position||"top",transitionStyle:{},isPositionUpdated:!1,id:e.wrapperId,displayNone:!1},this.foundation=new a2(this.adapter),this.eventManager=new BC,this.triggerEl=k.createRef(),this.containerEl=k.createRef(),this.initialFocusRef=k.createRef(),this.clickOutsideHandler=null,this.resizeHandler=null,this.isWrapped=!1,this.containerPosition=void 0}get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{on:function(){return e.eventManager.on(...arguments)},off:function(){return e.eventManager.off(...arguments)},getAnimatingState:()=>this.isAnimating,insertPortal:(n,r)=>{var{position:o}=r,s=Zw(r,["position"]);this.cachedLatestTransitionState="enter",this.setState({isInsert:!0,transitionState:"enter",containerStyle:Object.assign(Object.assign({},this.state.containerStyle),s)},()=>{setTimeout(()=>{this.cachedLatestTransitionState==="enter"&&this.eventManager.emit("portalInserted")},0)})},removePortal:()=>{this.setState({isInsert:!1,isPositionUpdated:!1})},getEventName:()=>({mouseEnter:"onMouseEnter",mouseLeave:"onMouseLeave",mouseOut:"onMouseOut",mouseOver:"onMouseOver",click:"onClick",focus:"onFocus",blur:"onBlur",keydown:"onKeyDown",contextMenu:"onContextMenu"}),registerTriggerEvent:n=>{this.setState({triggerEventSet:n})},registerPortalEvent:n=>{this.setState({portalEventSet:n})},getTriggerBounding:()=>{const n=this.adapter.getTriggerNode();return this.triggerEl.current=n,n&&n.getBoundingClientRect()},getPopupContainerRect:()=>{const n=this.getPopupContainer();let r=null;if(n&&di(n)){const o=i2(n.getBoundingClientRect());r=Object.assign(Object.assign({},o),{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop})}return r},containerIsBody:()=>this.getPopupContainer()===document.body,containerIsRelative:()=>{const n=this.getPopupContainer();return window.getComputedStyle(n).getPropertyValue("position")==="relative"},containerIsRelativeOrAbsolute:()=>["relative","absolute"].includes(this.containerPosition),getWrapperBounding:()=>{const n=this.containerEl&&this.containerEl.current;return n&&n.getBoundingClientRect()},getDocumentElementBounding:()=>document.documentElement.getBoundingClientRect(),setPosition:n=>{var{position:r}=n,o=Zw(n,["position"]);this.setState({containerStyle:Object.assign(Object.assign({},this.state.containerStyle),o),placement:r,isPositionUpdated:!0},()=>{this.eventManager.emit("positionUpdated")})},setDisplayNone:(n,r)=>{this.setState({displayNone:n},r)},updatePlacementAttr:n=>{this.setState({placement:n})},togglePortalVisible:(n,r)=>{const o={};o.transitionState=n?"enter":"leave",o.visible=n,this.cachedLatestTransitionState=o.transitionState,this.mounted&&this.setState(o,()=>{r()})},registerClickOutsideHandler:n=>{this.clickOutsideHandler&&this.adapter.unregisterClickOutsideHandler(),this.clickOutsideHandler=r=>{if(!this.mounted)return!1;let o=this.triggerEl&&this.triggerEl.current,s=this.containerEl&&this.containerEl.current;o=nr.findDOMNode(o),s=nr.findDOMNode(s);const c=r.target,u=r.composedPath&&r.composedPath()||[c],p=this.props.clickTriggerToHide?o&&o.contains(c)||u.includes(o):!1;(o&&!o.contains(c)&&s&&!s.contains(c)&&!(u.includes(s)||u.includes(o))||p)&&(this.props.onClickOutSide(r),n())},window.addEventListener("mousedown",this.clickOutsideHandler)},unregisterClickOutsideHandler:()=>{this.clickOutsideHandler&&(window.removeEventListener("mousedown",this.clickOutsideHandler),this.clickOutsideHandler=null)},registerResizeHandler:n=>{this.resizeHandler&&this.adapter.unregisterResizeHandler(),this.resizeHandler=RS(r=>{if(!this.mounted)return!1;n(r)},10),window.addEventListener("resize",this.resizeHandler,!1)},unregisterResizeHandler:()=>{this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler,!1),this.resizeHandler=null)},notifyVisibleChange:n=>{this.props.onVisibleChange(n)},registerScrollHandler:n=>{this.scrollHandler&&this.adapter.unregisterScrollHandler(),this.scrollHandler=RS(r=>{if(!this.mounted)return!1;const o=this.adapter.getTriggerNode();if(r.target.contains(o)){const c={x:r.target.scrollLeft,y:r.target.scrollTop};n(c)}},10),window.addEventListener("scroll",this.scrollHandler,!0)},unregisterScrollHandler:()=>{this.scrollHandler&&(window.removeEventListener("scroll",this.scrollHandler,!0),this.scrollHandler=null)},canMotion:()=>!!this.props.motion,updateContainerPosition:()=>{const n=document.body.getAttribute("data-position");if(n){this.containerPosition=n;return}requestAnimationFrame(()=>{const r=this.getPopupContainer();if(r&&di(r)){const s=window.getComputedStyle(r).getPropertyValue("position");document.body.setAttribute("data-position",s),this.containerPosition=s}})},getContainerPosition:()=>this.containerPosition,getContainer:()=>this.containerEl&&this.containerEl.current,getTriggerNode:()=>{let n=this.triggerEl.current;return di(this.triggerEl.current)||(n=nr.findDOMNode(this.triggerEl.current)),n},getFocusableElements:n=>KC(n),getActiveElement:()=>VC(),setInitialFocus:()=>{const{preventScroll:n}=this.props,r=xe(this,"initialFocusRef.current");r&&"focus"in r&&r.focus({preventScroll:n})},notifyEscKeydown:n=>{this.props.onEscKeyDown(n)},setId:()=>{this.setState({id:uo()})},getTriggerDOM:()=>this.triggerEl.current?nr.findDOMNode(this.triggerEl.current):null})}componentDidMount(){this.mounted=!0,this.getPopupContainer=this.props.getPopupContainer||this.context.getPopupContainer||P2,this.foundation.init(),Yh(()=>{let e=this.triggerEl.current;e&&(e instanceof HTMLElement||(e=vl.findDOMNode(e))),this.foundation.updateStateIfCursorOnTrigger(e)},1)}componentWillUnmount(){this.mounted=!1,this.foundation.destroy()}focusTrigger(){this.foundation.focusTrigger()}rePosition(){return this.foundation.calcPosition()}componentDidUpdate(e,n){Mr(this.props.mouseLeaveDelay<this.props.mouseEnterDelay,"[Semi Tooltip] 'mouseLeaveDelay' cannot be less than 'mouseEnterDelay', which may cause the dropdown layer to not be hidden."),e.visible!==this.props.visible&&(["hover","focus"].includes(this.props.trigger)?this.props.visible?this.foundation.delayShow():this.foundation.delayHide():this.props.visible?this.foundation.show():this.foundation.hide()),_n(e.rePosKey,this.props.rePosKey)||this.rePosition()}render(){const{isInsert:e,triggerEventSet:n,visible:r,id:o}=this.state,{wrapWhenSpecial:s,role:c,trigger:u}=this.props;let{children:p}=this.props;const g=Object.assign({},xe(p,"props.style")),y={};if(s){const D=this.isSpecial(p);D?(g.pointerEvents="none",D===Ki.STATUS_DISABLED&&(y.cursor="not-allowed"),p=T.cloneElement(p,{style:g}),u!=="custom"&&(p=this.wrapSpan(p)),this.isWrapped=!0):T.isValidElement(p)||(p=this.wrapSpan(p),this.isWrapped=!0)}let v={};c==="dialog"?(v["aria-expanded"]=r?"true":"false",v["aria-haspopup"]="dialog",v["aria-controls"]=o):v["aria-describedby"]=o;const S=k.cloneElement(p,Object.assign(Object.assign(Object.assign(Object.assign({},v),p.props),this.mergeEvents(p.props,n)),{style:Object.assign(Object.assign({},xe(p,"props.style")),y),className:X(xe(p,"props.className")),ref:D=>{this.triggerEl.current=D;const{ref:_}=p;typeof _=="function"?_(D):_&&typeof _=="object"&&(_.current=D)},tabIndex:p.props.tabIndex||0,"data-popupid":o}));return k.createElement(k.Fragment,null,e?this.renderPortal():null,S)}}or.contextType=Bn;or.propTypes={children:m.node,motion:m.bool,autoAdjustOverflow:m.bool,position:m.oneOf(w2),getPopupContainer:m.func,mouseEnterDelay:m.number,mouseLeaveDelay:m.number,trigger:m.oneOf(C2).isRequired,className:m.string,wrapperClassName:m.string,clickToHide:m.bool,clickTriggerToHide:m.bool,visible:m.bool,style:m.object,content:m.oneOfType([m.node,m.func]),prefixCls:m.string,onVisibleChange:m.func,onClickOutSide:m.func,spacing:m.oneOfType([m.number,m.object]),margin:m.oneOfType([m.number,m.object]),showArrow:m.oneOfType([m.bool,m.node]),zIndex:m.number,rePosKey:m.oneOfType([m.string,m.number]),arrowBounding:b2,transformFromCenter:m.bool,arrowPointAtCenter:m.bool,stopPropagation:m.bool,role:m.string,wrapWhenSpecial:m.bool,guardFocus:m.bool,returnFocusOnClose:m.bool,preventScroll:m.bool,keepDOM:m.bool};or.__SemiComponentName__="Tooltip";or.defaultProps=lr(or.__SemiComponentName__,{arrowBounding:ci.ARROW_BOUNDING,autoAdjustOverflow:!0,arrowPointAtCenter:!0,trigger:"hover",transformFromCenter:!0,position:"top",prefixCls:Bs,role:"tooltip",mouseEnterDelay:ci.MOUSE_ENTER_DELAY,mouseLeaveDelay:ci.MOUSE_LEAVE_DELAY,motion:!0,onVisibleChange:fe,onClickOutSide:fe,spacing:ci.SPACING,margin:ci.MARGIN,showArrow:!0,wrapWhenSpecial:!0,zIndex:ci.DEFAULT_Z_INDEX,closeOnEsc:!1,guardFocus:!1,returnFocusOnClose:!1,onEscKeyDown:fe,disableFocusListener:!1,disableArrowKeyDown:!1,keepDOM:!1});var Ws={exports:{}},e1;function D2(){if(e1)return Ws.exports;e1=1;const i=(e,{target:n=document.body}={})=>{const r=document.createElement("textarea"),o=document.activeElement;r.value=e,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const s=document.getSelection();let c=!1;s.rangeCount>0&&(c=s.getRangeAt(0)),n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let u=!1;try{u=document.execCommand("copy")}catch{}return r.remove(),c&&(s.removeAllRanges(),s.addRange(c)),o&&o.focus(),u};return Ws.exports=i,Ws.exports.default=i,Ws.exports}var _2=D2();const T2=Xe(_2);function rr(){}const E2=k.createContext(null);function gn(i){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):i.defaultWidth,r=i.formats[n]||i.formats[i.defaultWidth];return r}}function rt(i){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",o;if(r==="formatting"&&i.formattingValues){var s=i.defaultFormattingWidth||i.defaultWidth,c=n!=null&&n.width?String(n.width):s;o=i.formattingValues[c]||i.formattingValues[s]}else{var u=i.defaultWidth,p=n!=null&&n.width?String(n.width):i.defaultWidth;o=i.values[p]||i.values[u]}var g=i.argumentCallback?i.argumentCallback(e):e;return o[g]}}function it(i){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,o=r&&i.matchPatterns[r]||i.matchPatterns[i.defaultMatchWidth],s=e.match(o);if(!s)return null;var c=s[0],u=r&&i.parsePatterns[r]||i.parsePatterns[i.defaultParseWidth],p=Array.isArray(u)?I2(u,function(v){return v.test(c)}):x2(u,function(v){return v.test(c)}),g;g=i.valueCallback?i.valueCallback(p):p,g=n.valueCallback?n.valueCallback(g):g;var y=e.slice(c.length);return{value:g,rest:y}}}function x2(i,e){for(var n in i)if(i.hasOwnProperty(n)&&e(i[n]))return n}function I2(i,e){for(var n=0;n<i.length;n++)if(e(i[n]))return n}function wl(i){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(i.matchPattern);if(!r)return null;var o=r[0],s=e.match(i.parsePattern);if(!s)return null;var c=i.valueCallback?i.valueCallback(s[0]):s[0];c=n.valueCallback?n.valueCallback(c):c;var u=e.slice(o.length);return{value:c,rest:u}}}function _h(i){"@babel/helpers - typeof";return _h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_h(i)}function $2(i){if(i===null||i===!0||i===!1)return NaN;var e=Number(i);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Jh(i,e){if(e.length<i)throw new TypeError(i+" argument"+(i>1?"s":"")+" required, but only "+e.length+" present")}function R2(i){Jh(1,arguments);var e=Object.prototype.toString.call(i);return i instanceof Date||_h(i)==="object"&&e==="[object Date]"?new Date(i.getTime()):typeof i=="number"||e==="[object Number]"?new Date(i):((typeof i=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}var O2={};function N2(){return O2}function t1(i,e){var n,r,o,s,c,u,p,g;Jh(1,arguments);var y=N2(),v=$2((n=(r=(o=(s=e?.weekStartsOn)!==null&&s!==void 0?s:e==null||(c=e.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&o!==void 0?o:y.weekStartsOn)!==null&&r!==void 0?r:(p=y.locale)===null||p===void 0||(g=p.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&n!==void 0?n:0);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var S=R2(i),D=S.getUTCDay(),_=(D<v?7:0)+D-v;return S.setUTCDate(S.getUTCDate()-_),S.setUTCHours(0,0,0,0),S}var A2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},L2=function(e,n,r){var o,s=A2[e];return typeof s=="string"?o=s:n===1?o=s.one:o=s.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o},M2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},j2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},F2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},G2={date:gn({formats:M2,defaultWidth:"full"}),time:gn({formats:j2,defaultWidth:"full"}),dateTime:gn({formats:F2,defaultWidth:"full"})},W2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},z2=function(e,n,r,o){return W2[e]},q2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},U2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},B2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},H2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},V2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},K2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Q2=function(e,n){var r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},X2={ordinalNumber:Q2,era:rt({values:q2,defaultWidth:"wide"}),quarter:rt({values:U2,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:rt({values:B2,defaultWidth:"wide"}),day:rt({values:H2,defaultWidth:"wide"}),dayPeriod:rt({values:V2,defaultWidth:"wide",formattingValues:K2,defaultFormattingWidth:"wide"})},Y2=/^(\d+)(th|st|nd|rd)?/i,J2=/\d+/i,Z2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},eE={any:[/^b/i,/^(a|c)/i]},tE={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},nE={any:[/1/i,/2/i,/3/i,/4/i]},rE={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},iE={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},aE={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},oE={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},sE={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},lE={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},cE={ordinalNumber:wl({matchPattern:Y2,parsePattern:J2,valueCallback:function(e){return parseInt(e,10)}}),era:it({matchPatterns:Z2,defaultMatchWidth:"wide",parsePatterns:eE,defaultParseWidth:"any"}),quarter:it({matchPatterns:tE,defaultMatchWidth:"wide",parsePatterns:nE,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:it({matchPatterns:rE,defaultMatchWidth:"wide",parsePatterns:iE,defaultParseWidth:"any"}),day:it({matchPatterns:aE,defaultMatchWidth:"wide",parsePatterns:oE,defaultParseWidth:"any"}),dayPeriod:it({matchPatterns:sE,defaultMatchWidth:"any",parsePatterns:lE,defaultParseWidth:"any"})},uE={code:"en-US",formatDistance:L2,formatLong:G2,formatRelative:z2,localize:X2,match:cE,options:{weekStartsOn:0,firstWeekContainsDate:1}};function n1(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function Th(i,e){return Th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Th(i,e)}function dE(i,e,n){Jh(2,arguments);var r=t1(i,n),o=t1(e,n);return r.getTime()===o.getTime()}var pE={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},gE=function(e,n,r){r=r||{};var o,s=pE[e];return typeof s=="string"?o=s:n===1?r.addSuffix&&s.oneWithSuffix?o=s.oneWithSuffix:o=s.one:r.addSuffix&&s.otherWithSuffix?o=s.otherWithSuffix.replace("{{count}}",String(n)):o=s.other.replace("{{count}}",String(n)),r.addSuffix?r.comparison&&r.comparison>0?o+"後":o+"前":o},hE={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},mE={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},fE={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},yE={date:gn({formats:hE,defaultWidth:"full"}),time:gn({formats:mE,defaultWidth:"full"}),dateTime:gn({formats:fE,defaultWidth:"full"})},vE={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},SE=function(e,n,r,o){return vE[e]},bE={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},wE={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},CE={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},kE={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},PE={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},DE={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},_E=function(e,n){var r=Number(e),o=String(n?.unit);switch(o){case"year":return"".concat(r,"年");case"quarter":return"第".concat(r,"四半期");case"month":return"".concat(r,"月");case"week":return"第".concat(r,"週");case"date":return"".concat(r,"日");case"hour":return"".concat(r,"時");case"minute":return"".concat(r,"分");case"second":return"".concat(r,"秒");default:return"".concat(r)}},TE={ordinalNumber:_E,era:rt({values:bE,defaultWidth:"wide"}),quarter:rt({values:wE,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:rt({values:CE,defaultWidth:"wide"}),day:rt({values:kE,defaultWidth:"wide"}),dayPeriod:rt({values:PE,defaultWidth:"wide",formattingValues:DE,defaultFormattingWidth:"wide"})},EE=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,xE=/\d+/i,IE={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},$E={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},RE={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},OE={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},NE={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},AE={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},LE={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},ME={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},jE={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},FE={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},GE={ordinalNumber:wl({matchPattern:EE,parsePattern:xE,valueCallback:function(e){return parseInt(e,10)}}),era:it({matchPatterns:IE,defaultMatchWidth:"wide",parsePatterns:$E,defaultParseWidth:"any"}),quarter:it({matchPatterns:RE,defaultMatchWidth:"wide",parsePatterns:OE,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:it({matchPatterns:NE,defaultMatchWidth:"wide",parsePatterns:AE,defaultParseWidth:"any"}),day:it({matchPatterns:LE,defaultMatchWidth:"wide",parsePatterns:ME,defaultParseWidth:"any"}),dayPeriod:it({matchPatterns:jE,defaultMatchWidth:"any",parsePatterns:FE,defaultParseWidth:"any"})},WE={code:"ja",formatDistance:gE,formatLong:yE,formatRelative:SE,localize:TE,match:GE,options:{weekStartsOn:0,firstWeekContainsDate:1}},zE={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},qE=function(e,n,r){var o,s=zE[e];return typeof s=="string"?o=s:n===1?o=s.one:o=s.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?o+" 후":o+" 전":o},UE={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},BE={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},HE={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},VE={date:gn({formats:UE,defaultWidth:"full"}),time:gn({formats:BE,defaultWidth:"full"}),dateTime:gn({formats:HE,defaultWidth:"full"})},KE={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},QE=function(e,n,r,o){return KE[e]},XE={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},YE={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},JE={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},ZE={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},ex={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},tx={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},nx=function(e,n){var r=Number(e),o=String(n?.unit);switch(o){case"minute":case"second":return String(r);case"date":return r+"일";default:return r+"번째"}},rx={ordinalNumber:nx,era:rt({values:XE,defaultWidth:"wide"}),quarter:rt({values:YE,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:rt({values:JE,defaultWidth:"wide"}),day:rt({values:ZE,defaultWidth:"wide"}),dayPeriod:rt({values:ex,defaultWidth:"wide",formattingValues:tx,defaultFormattingWidth:"wide"})},ix=/^(\d+)(일|번째)?/i,ax=/\d+/i,ox={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},sx={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},lx={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},cx={any:[/1/i,/2/i,/3/i,/4/i]},ux={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},dx={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},px={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},gx={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},hx={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},mx={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},fx={ordinalNumber:wl({matchPattern:ix,parsePattern:ax,valueCallback:function(e){return parseInt(e,10)}}),era:it({matchPatterns:ox,defaultMatchWidth:"wide",parsePatterns:sx,defaultParseWidth:"any"}),quarter:it({matchPatterns:lx,defaultMatchWidth:"wide",parsePatterns:cx,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:it({matchPatterns:ux,defaultMatchWidth:"wide",parsePatterns:dx,defaultParseWidth:"any"}),day:it({matchPatterns:px,defaultMatchWidth:"wide",parsePatterns:gx,defaultParseWidth:"any"}),dayPeriod:it({matchPatterns:hx,defaultMatchWidth:"any",parsePatterns:mx,defaultParseWidth:"any"})},yx={code:"ko",formatDistance:qE,formatLong:VE,formatRelative:QE,localize:rx,match:fx,options:{weekStartsOn:0,firstWeekContainsDate:1}},vx={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},Sx=function(e,n,r){var o,s=vx[e];return typeof s=="string"?o=s:n===1?o=s.one:o=s.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?o+"内":o+"前":o},bx={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},wx={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},Cx={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},kx={date:gn({formats:bx,defaultWidth:"full"}),time:gn({formats:wx,defaultWidth:"full"}),dateTime:gn({formats:Cx,defaultWidth:"full"})};function r1(i,e,n){var r="eeee p";return dE(i,e,n)?r:i.getTime()>e.getTime()?"'下个'"+r:"'上个'"+r}var Px={lastWeek:r1,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:r1,other:"PP p"},Dx=function(e,n,r,o){var s=Px[e];return typeof s=="function"?s(n,r,o):s},_x={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},Tx={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},Ex={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},xx={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},Ix={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},$x={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Rx=function(e,n){var r=Number(e);switch(n?.unit){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},Ox={ordinalNumber:Rx,era:rt({values:_x,defaultWidth:"wide"}),quarter:rt({values:Tx,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:rt({values:Ex,defaultWidth:"wide"}),day:rt({values:xx,defaultWidth:"wide"}),dayPeriod:rt({values:Ix,defaultWidth:"wide",formattingValues:$x,defaultFormattingWidth:"wide"})},Nx=/^(第\s*)?\d+(日|时|分|秒)?/i,Ax=/\d+/i,Lx={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Mx={any:[/^(前)/i,/^(公元)/i]},jx={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Fx={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Gx={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Wx={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},zx={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},qx={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Ux={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Bx={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Hx={ordinalNumber:wl({matchPattern:Nx,parsePattern:Ax,valueCallback:function(e){return parseInt(e,10)}}),era:it({matchPatterns:Lx,defaultMatchWidth:"wide",parsePatterns:Mx,defaultParseWidth:"any"}),quarter:it({matchPatterns:jx,defaultMatchWidth:"wide",parsePatterns:Fx,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:it({matchPatterns:Gx,defaultMatchWidth:"wide",parsePatterns:Wx,defaultParseWidth:"any"}),day:it({matchPatterns:zx,defaultMatchWidth:"wide",parsePatterns:qx,defaultParseWidth:"any"}),dayPeriod:it({matchPatterns:Ux,defaultMatchWidth:"any",parsePatterns:Bx,defaultParseWidth:"any"})},Vx={code:"zh-CN",formatDistance:Sx,formatLong:kx,formatRelative:Dx,localize:Ox,match:Hx,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Js={code:"zh-CN",currency:"CNY",dateFnsLocale:Vx,Pagination:{pageSize:"每页条数:${pageSize}",total:"总页数:${total}",jumpTo:"跳至",page:"页"},Modal:{confirm:"确定",cancel:"取消"},Tabs:{more:"更多"},TimePicker:{placeholder:{time:"请选择时间",timeRange:"请选择时间范围"},begin:"开始时间",end:"结束时间",hour:"时",minute:"分",second:"秒",AM:"上午",PM:"下午"},DatePicker:{placeholder:{date:"请选择日期",dateTime:"请选择日期及时间",dateRange:["开始日期","结束日期"],dateTimeRange:["开始日期","结束日期"],monthRange:["开始月份","结束月份"]},presets:"快捷选择",footer:{confirm:"确定",cancel:"取消"},selectDate:"返回选择日期",selectTime:"选择时间",year:"年",month:"月",day:"日",monthText:"${year}年 ${month}",months:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月"},fullMonths:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},weeks:{Mon:"一",Tue:"二",Wed:"三",Thu:"四",Fri:"五",Sat:"六",Sun:"日"},localeFormatToken:{FORMAT_SWITCH_DATE:"yyyy-MM-dd"}},Navigation:{collapseText:"收起侧边栏",expandText:"展开侧边栏"},Popconfirm:{confirm:"确定",cancel:"取消"},Table:{emptyText:"暂无数据",pageText:"显示第 ${currentStart} 条-第 ${currentEnd} 条,共 ${total} 条",descend:"点击降序",ascend:"点击升序",cancelSort:"取消排序"},Select:{emptyText:"暂无数据",createText:"创建"},Cascader:{emptyText:"暂无数据"},Tree:{emptyText:"暂无数据",searchPlaceholder:"搜索"},List:{emptyText:"暂无数据"},Calendar:{allDay:"全天",AM:"上午${time}时",PM:"下午${time}时",datestring:"日",remaining:"还有${remained}项"},Upload:{mainText:"点击上传文件或拖拽文件到这里",illegalTips:"不支持此类型文件",legalTips:"松手开始上传",retry:"重试",replace:"替换文件",clear:"清空",selectedFiles:"已选择文件",illegalSize:"文件尺寸不合法",fail:"上传失败"},TreeSelect:{searchPlaceholder:"搜索"},Typography:{copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Transfer:{emptyLeft:"暂无数据",emptySearch:"无搜索结果",emptyRight:"暂无内容,可从左侧勾选",placeholder:"搜索",clear:"清空",selectAll:"全选",clearSelectAll:"取消全选",total:"总个数:${total}",selected:"已选个数:${total}"},Form:{optional:"(可选)"},Image:{preview:"预览",loading:"加载中",loadError:"加载失败",prevTip:"上一张",nextTip:"下一张",zoomInTip:"放大",zoomOutTip:"缩小",rotateTip:"旋转",downloadTip:"下载",adaptiveTip:"适应页面",originTip:"原始尺寸"},Chat:{deleteConfirm:"确认删除该会话吗?",clearContext:"上下文已清除",copySuccess:"复制成功",stop:"停止",copy:"复制",copied:"复制成功",dropAreaText:"将文件放到这里"},UserGuide:{skip:"跳过",next:"下一步",prev:"上一步",finish:"完成"},InputNumber:{},JsonViewer:{search:"查找",replace:"替换",replaceAll:"全部替换"},VideoPlayer:{rateChange:"切换速率至 ${rate}",qualityChange:"切换清晰度至${quality}",routeChange:"切换线路至${route}",mirror:"镜像",cancelMirror:"取消镜像",loading:"加载中...",stall:"加载失败",noResource:"暂无资源",videoError:"视频加载错误"}};class jr extends T.Component{renderChildren(e,n){const{componentName:r}=this.props;let o=e;e?.code||(o=Js);const s=xe(Js,"dateFnsLocale"),c=xe(o,"dateFnsLocale",s),u=xe(o,"currency");return n(o[r],o.code,c,u)}render(){const{children:e}=this.props;return k.createElement(Bn.Consumer,null,n=>{let{locale:r}=n;return k.createElement(E2.Consumer,null,o=>this.renderChildren(r||o,e))})}}jr.propTypes={componentName:m.string.isRequired,children:m.any};jr.defaultProps={componentName:""};const Kx="semi";var Qx=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const QC=k.forwardRef((i,e)=>{const{svg:n,spin:r=!1,rotate:o,style:s,className:c,prefixCls:u=Kx,type:p,size:g="default"}=i,y=Qx(i,["svg","spin","rotate","style","className","prefixCls","type","size"]),v=X(`${u}-icon`,{[`${u}-icon-extra-small`]:g==="extra-small",[`${u}-icon-small`]:g==="small",[`${u}-icon-default`]:g==="default",[`${u}-icon-large`]:g==="large",[`${u}-icon-extra-large`]:g==="extra-large",[`${u}-icon-spinning`]:r===!0,[`${u}-icon-${p}`]:!!p},c),S={};return Number.isSafeInteger(o)&&(S.transform=`rotate(${o}deg)`),Object.assign(S,s),k.createElement("span",Object.assign({role:"img",ref:e,"aria-label":p,className:v,style:S},y),n)});QC.elementType="Icon";const Zt=(i,e)=>{const n=k.forwardRef((r,o)=>k.createElement(QC,Object.assign({svg:k.createElement(i),type:e,ref:o},r)));return n.elementType="Icon",n};function Xx(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 12a11 11 0 1 1-22 0 11 11 0 0 1 22 0Zm-9.5 5.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM12 5a1.9 1.9 0 0 0-1.89 2l.3 5.5a1.59 1.59 0 0 0 3.17 0l.3-5.5c.07-1.09-.8-2-1.88-2Z",fill:"currentColor"}))}const Zh=Zt(Xx,"alert_circle");function Yx(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m10.23 2.4-8.7 16.67A2 2 0 0 0 3.3 22h17.4a2 2 0 0 0 1.77-2.93L13.77 2.4a2 2 0 0 0-3.54 0ZM13.14 14a1.15 1.15 0 0 1-2.28 0l-.58-4.03a1.73 1.73 0 1 1 3.44 0l-.58 4.03Zm.36 4.49a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",fill:"currentColor"}))}const em=Zt(Yx,"alert_triangle");function Jx(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.08 7.6a1.5 1.5 0 0 1 2.12 0l5.66 5.65 5.66-5.65a1.5 1.5 0 1 1 2.12 2.12l-6.72 6.72a1.5 1.5 0 0 1-2.12 0L4.08 9.72a1.5 1.5 0 0 1 0-2.12Z",fill:"currentColor"}))}const Zx=Zt(Jx,"chevron_down");function eI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm5.04-6.14a1.5 1.5 0 0 1-2.13.04l-2.87-2.78L9.26 17A1.5 1.5 0 0 1 7.1 14.9l2.78-2.87L7 9.26A1.5 1.5 0 1 1 9.1 7.1l2.87 2.78L14.74 7A1.5 1.5 0 0 1 16.9 9.1l-2.78 2.87L17 14.74c.6.58.61 1.53.04 2.12Z",fill:"currentColor"}))}const XC=Zt(eI,"clear");function tI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{d:"M17.66 19.78a1.5 1.5 0 0 0 2.12-2.12L14.12 12l5.66-5.66a1.5 1.5 0 0 0-2.12-2.12L12 9.88 6.34 4.22a1.5 1.5 0 1 0-2.12 2.12L9.88 12l-5.66 5.66a1.5 1.5 0 0 0 2.12 2.12L12 14.12l5.66 5.66Z",fill:"currentColor"}))}const tm=Zt(tI,"close");function nI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{d:"M7 4c0-1.1.9-2 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-1V8c0-2-1-3-3-3H7V4Z",fill:"currentColor"}),T.createElement("path",{d:"M5 7a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H5Z",fill:"currentColor"}))}const rI=Zt(nI,"copy");function iI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.7 3.7a1 1 0 0 0-1.4-1.4L17.3 5.26A11.59 11.59 0 0 0 12 4C5 4 1 10 1 12c0 1.18 1.38 3.73 3.94 5.64L2.3 20.3a1 1 0 1 0 1.42 1.42l18-18ZM7.84 14.77l1.46-1.47a3 3 0 0 1 4-4l1.47-1.46a5 5 0 0 0-6.93 6.93Z",fill:"currentColor"}),T.createElement("path",{d:"M12 20c-1.22 0-2.35-.18-3.38-.5l2.57-2.57a5 5 0 0 0 5.75-5.75l3.56-3.56C22.13 9.27 23 11.07 23 12c0 2-4 8-11 8Z",fill:"currentColor"}))}const aI=Zt(iI,"eye_closed_solid");function oI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C5 4 1 10 1 12s4 8 11 8 11-6 11-8-4-8-11-8Zm5 8a5 5 0 1 1-10 0 5 5 0 0 1 10 0Zm-5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",fill:"currentColor"}))}const sI=Zt(oI,"eye_opened");function lI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm-.17-8.4c-.86 0-1.3-.53-1.3-1.23 0-1.05.53-1.72 1.74-2.64l.06-.05c.83-.62 1.4-1.06 1.4-1.85 0-.9-.83-1.4-1.76-1.4-.76 0-1.34.28-1.8.87-.33.34-.6.53-1.05.53C8.38 8.83 8 8.3 8 7.7c0-.6.34-1.22.88-1.68A5.15 5.15 0 0 1 12.28 5c2.71 0 4.62 1.34 4.62 3.64 0 1.68-1 2.5-2.2 3.31-.8.59-1.17.93-1.48 1.62-.33.6-.58 1.04-1.4 1.04Zm-.02 4.17c-.94 0-1.71-.6-1.71-1.54 0-.94.77-1.55 1.7-1.55.95 0 1.7.6 1.7 1.55 0 .93-.75 1.54-1.7 1.54Z",fill:"currentColor"}))}const cI=Zt(lI,"help_circle");function uI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm2-16a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-5 3.75c0-.41.34-.75.75-.75h2.75a1 1 0 0 1 1 1v5.5h.75a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5h.75v-5h-.75a.75.75 0 0 1-.75-.75Z",fill:"currentColor"}))}const nm=Zt(uI,"info_circle");function dI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 2a8.5 8.5 0 1 0 4.86 15.48l4.08 4.08a1.5 1.5 0 1 0 2.12-2.12l-4.08-4.08A8.5 8.5 0 0 0 10.5 2ZM5 10.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0Z",fill:"currentColor"}))}const pI=Zt(dI,"search");function gI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.35 4.27c.68.47.86 1.4.38 2.08l-10 14.5a1.5 1.5 0 0 1-2.33.17l-6.5-7a1.5 1.5 0 0 1 2.2-2.04l5.23 5.63 8.94-12.96a1.5 1.5 0 0 1 2.08-.38Z",fill:"currentColor"}))}const YC=Zt(gI,"tick");function hI(i){return T.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},i),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm5.88-13.18-6.2 7.6a1.5 1.5 0 0 1-2.37 0l-3.5-4a1.5 1.5 0 1 1 2.37-1.84l2.3 2.46L15.5 8a1.5 1.5 0 1 1 2.38 1.82Z",fill:"currentColor"}))}const JC=Zt(hI,"tick_circle"),Or={BACKSPACE:8,TAB:9,ENTER:13,ESC:27,UP:38,DOWN:40},rm="Enter",yge="Escape";function im(i){return xe(i,"key")===rm}const Ug=dl.PREFIX;class am extends k.PureComponent{constructor(e){super(e),this.copy=n=>{const{content:r,duration:o,onCopy:s}=this.props,c=T2(r);s&&s(n,r,c),this.setCopied(r,o)},this.setCopied=(n,r)=>{this.setState({copied:!0,item:n}),this._timeId=setTimeout(()=>{this.resetCopied()},r*1e3)},this.resetCopied=()=>{this._timeId&&(clearTimeout(this._timeId),this._timeId=null,this.setState({copied:!1,item:""}))},this.renderSuccessTip=()=>{const{successTip:n}=this.props;return typeof n<"u"?n:k.createElement(jr,{componentName:"Typography"},r=>k.createElement("span",null,k.createElement(YC,null),r.copied))},this.renderCopyIcon=()=>{const{icon:n}=this.props,r={role:"button",tabIndex:0,onClick:this.copy,onKeyPress:s=>im(s)&&this.copy(s)},o=k.createElement("a",{className:`${Ug}-action-copy-icon`},k.createElement(rI,Object.assign({onClick:this.copy},r)));return k.isValidElement(n)?k.cloneElement(n,r):o},this.state={copied:!1,item:""}}componentWillUnmount(){this._timeId&&(clearTimeout(this._timeId),this._timeId=null)}render(){const{style:e,className:n,forwardRef:r,copyTip:o,render:s}=this.props,{copied:c}=this.state,u=X(n,{[`${Ug}-action-copy`]:!c,[`${Ug}-action-copied`]:c});return s?s(c,this.copy,this.props):k.createElement(jr,{componentName:"Typography"},p=>k.createElement("span",{style:Object.assign({marginLeft:"4px"},e),className:u,ref:r},c?this.renderSuccessTip():k.createElement(or,{content:typeof o<"u"?o:p.copy},this.renderCopyIcon())))}}am.propTypes={content:m.string,onCopy:m.func,successTip:m.node,copyTip:m.node,duration:m.number,style:m.object,className:m.string,icon:m.node};am.defaultProps={content:"",onCopy:rr,duration:3,style:{},className:""};const ZC={PREFIX:`${Ie}-popover`,ARROW:`${Ie}-popover-icon-arrow`},ek={POSITION_SET:["top","topLeft","topRight","left","leftTop","leftBottom","right","rightTop","rightBottom","bottom","bottomLeft","bottomRight","leftTopOver","rightTopOver"],TRIGGER_SET:["hover","focus","click","custom","contextMenu"]},mi={ARROW_BOUNDING:Object.assign(Object.assign({},ci.ARROW_BOUNDING),{offsetY:6,offsetX:0,height:8}),SPACING:4,SPACING_WITH_ARROW:10,DEFAULT_Z_INDEX:1030};var mI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const tk=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{position:e="",className:n,arrowStyle:r,popStyle:o}=i,s=mI(i,["position","className","arrowStyle","popStyle"]),c=e.indexOf("top")===0||e.indexOf("bottom")===0,u=X(n,ZC.ARROW),p=xe(r,"borderOpacity"),g=xe(r,"backgroundColor",xe(o,"backgroundColor")),y=xe(r,"borderColor",xe(o,"borderColor")),v=Object.assign(Object.assign({},s),{width:mi.ARROW_BOUNDING.width,height:mi.ARROW_BOUNDING.height,xmlns:"http://www.w3.org/2000/svg",className:u});return c?k.createElement("svg",Object.assign({},v),k.createElement("path",{d:"M0 0.5L0 1.5C4 1.5, 5.5 3, 7.5 5S10,8 12,8S14.5 7, 16.5 5S20,1.5 24,1.5L24 0.5L0 0.5z",style:{fill:y,opacity:p}}),k.createElement("path",{d:"M0 0L0 1C4 1, 5.5 2, 7.5 4S10,7 12,7S14.5 6, 16.5 4S20,1 24,1L24 0L0 0z",style:{fill:g}})):k.createElement("svg",Object.assign({},v),k.createElement("path",{d:"M0.5 0L1.5 0C1.5 4, 3 5.5, 5 7.5S8,10 8,12S7 14.5, 5 16.5S1.5,20 1.5,24L0.5 24L0.5 0z",style:{fill:y,opacity:p}}),k.createElement("path",{d:"M0 0L1 0C1 4, 2 5.5, 4 7.5S7,10 7,12S6 14.5, 4 16.5S1,20 1,24L0 24L0 0z",style:{fill:g}}))};tk.propTypes={position:m.string,className:m.string,arrowStyle:m.object,popStyle:m.object};var fI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const yI=ek.POSITION_SET,vI=ek.TRIGGER_SET;class Un extends k.PureComponent{constructor(e){super(e),this.focusTrigger=()=>{var n;(n=this.tooltipRef.current)===null||n===void 0||n.focusTrigger()},this.renderPopCard=n=>{let{initialFocusRef:r}=n;const{content:o,contentClassName:s,prefixCls:c}=this.props,{direction:u}=this.context,p=X(c,s,{[`${c}-rtl`]:u==="rtl"}),g=this.renderContentNode({initialFocusRef:r,content:o});return k.createElement("div",{className:p},k.createElement("div",{className:`${c}-content`},g))},this.renderContentNode=n=>{const{initialFocusRef:r,content:o}=n,s={initialFocusRef:r};return Xt(o)?o(s):o},this.tooltipRef=k.createRef()}render(){const e=this.props,{children:n,prefixCls:r,showArrow:o,arrowStyle:s={},arrowBounding:c,position:u,style:p,trigger:g}=e,y=fI(e,["children","prefixCls","showArrow","arrowStyle","arrowBounding","position","style","trigger"]);let{spacing:v}=this.props;const S={position:u,className:"",popStyle:p,arrowStyle:s},D=o?k.createElement(tk,Object.assign({},S)):!1;Sl(v)&&(v=o?mi.SPACING_WITH_ARROW:mi.SPACING);const _=g==="click"||g==="custom"?"dialog":"tooltip";return k.createElement(or,Object.assign({guardFocus:!0,ref:this.tooltipRef},y,{trigger:g,position:u,style:p,content:this.renderPopCard,prefixCls:r,spacing:v,showArrow:D,arrowBounding:c,role:_}),n)}}Un.contextType=Bn;Un.propTypes={children:m.node,content:m.oneOfType([m.node,m.func]),visible:m.bool,autoAdjustOverflow:m.bool,motion:m.bool,position:m.oneOf(yI),margin:m.oneOfType([m.number,m.object]),mouseEnterDelay:m.number,mouseLeaveDelay:m.number,trigger:m.oneOf(vI).isRequired,contentClassName:m.oneOfType([m.string,m.array]),onVisibleChange:m.func,onClickOutSide:m.func,style:m.object,spacing:m.oneOfType([m.number,m.object]),zIndex:m.number,showArrow:m.bool,arrowStyle:m.shape({borderColor:m.string,backgroundColor:m.string,borderOpacity:m.oneOfType([m.string,m.number])}),arrowPointAtCenter:m.bool,arrowBounding:m.object,prefixCls:m.string,guardFocus:m.bool,disableArrowKeyDown:m.bool};Un.__SemiComponentName__="Popover";Un.defaultProps=lr(Un.__SemiComponentName__,{arrowBounding:mi.ARROW_BOUNDING,showArrow:!1,autoAdjustOverflow:!0,zIndex:mi.DEFAULT_Z_INDEX,motion:!0,trigger:"hover",cancelText:"No",okText:"Yes",position:"bottom",prefixCls:ZC.PREFIX,onClickOutSide:fe,onEscKeyDown:fe,closeOnEsc:!0,returnFocusOnClose:!0,guardFocus:!0,disableFocusListener:!0});let Be;function Bg(i){if(!i)return 0;const e=i.match(/^\d*(\.\d*)?/);return e?Number(e[0]):0}function SI(i){return Array.prototype.slice.apply(i).map(n=>`${n}: ${i.getPropertyValue(n)};`).join("")}const bI=function(i,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,c=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0;if(n.length===0)return"";Be||(Be=document.createElement("div"),Be.setAttribute("aria-hidden","true"),document.body.appendChild(Be));const p=window.getComputedStyle(i),g=SI(p),y=Bg(p.lineHeight),v=Math.round(y*(e+1)+Bg(p.paddingTop)+Bg(p.paddingBottom));Be.setAttribute("style",g),Be.style.position="fixed",Be.style.left="0",p.getPropertyValue("width")==="auto"&&i.offsetWidth&&(Be.style.width=`${i.offsetWidth}px`),Be.style.height="auto",Be.style.top="-999999px",Be.style.zIndex="-1000",u&&(Be.style.fontWeight="600"),Be.style.textOverflow="clip",Be.style.webkitLineClamp="none",Be.innerHTML="";function S(){const O=Be.scrollWidth<=Be.offsetWidth,M=Be.scrollHeight<v;return e===1?O&&M:M}const D=document.createElement("span"),_=document.createTextNode(n);if(D.appendChild(_),s.length>0){const O=document.createTextNode(s);D.appendChild(O)}Be.appendChild(D),Object.values(vi(r,"expand")).map(O=>O&&Be.appendChild(O.cloneNode(!0)));function b(){Be.innerHTML="",Be.appendChild(D),Object.values(r).map(O=>O&&Be.appendChild(O.cloneNode(!0)))}function w(O,M){const F=O.length;return M?c==="end"?O.slice(0,M)+o:O.slice(0,M)+o+O.slice(F-M,F):o}function E(O,M){let F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M.length,A=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const G=Math.floor((F+N)/2),U=w(M,G);if(O.textContent=U,F>=N-1&&N>0)for(let V=N;V>=F;V-=1){const B=w(M,V);if(O.textContent=B,S())return B}else if(N===0)return o;return S()?E(O,M,G,N,G):E(O,M,F,G,A)}let R=n;return S()||(b(),R=E(_,n,0,c==="middle"?Math.floor(n.length/2):n.length)),Be.innerHTML="",R},nk=k.createContext("normal");var Zs;(function(i){i.Width="width",i.Height="height",i.All="all"})(Zs||(Zs={}));class Qi extends Rt{constructor(e){var n;super(e),n=this,this.formerPropertyValue=new Map,this.getElement=()=>{try{return vl.findDOMNode(this.childNode||this)}catch{return null}},this.handleResizeEventTriggered=r=>{var o,s,c,u;if(this.props.observerProperty===Zs.All)(s=(o=this.props).onResize)===null||s===void 0||s.call(o,r);else{const p=[];for(const g of r)this.formerPropertyValue.has(g.target)?g.contentRect[this.props.observerProperty]!==this.formerPropertyValue.get(g.target)&&(this.formerPropertyValue.set(g.target,g.contentRect[this.props.observerProperty]),p.push(g)):(this.formerPropertyValue.set(g.target,g.contentRect[this.props.observerProperty]),p.push(g));p.length>0&&((u=(c=this.props).onResize)===null||u===void 0||u.call(c,p))}},this.observeElement=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const o=n.getElement();if(n.observer||(n.observer=new ResizeObserver(n.handleResizeEventTriggered)),!(o&&o instanceof Element)){n.observer.disconnect();return}o===n.element&&!r||(n.observer.disconnect(),n.element=o,n.observer.observe(o),n.props.observeParent&&o.parentNode&&o.parentNode.ownerDocument&&o.parentNode.ownerDocument.defaultView&&o.parentNode instanceof o.parentNode.ownerDocument.defaultView.HTMLElement&&(n._parentNode=o.parentNode,n.observer.observe(n._parentNode)))},this.mergeRef=(r,o)=>{this.childNode=o,typeof r=="function"?r(o):typeof r=="object"&&r&&"current"in r&&(r.current=o)},globalThis.ResizeObserver&&(this.observer=new ResizeObserver(this.handleResizeEventTriggered))}componentDidMount(){var e;(e=this.observeElement)===null||e===void 0||e.call(this)}componentDidUpdate(e){var n;(n=this.observeElement)===null||n===void 0||n.call(this,this.props.observeParent!==e.observeParent)}componentWillUnmount(){this.observer&&(this.observer.disconnect(),this.observer=null,this.element=null)}render(){const e=k.Children.only(this.props.children),{ref:n}=e;return k.cloneElement(e,{ref:r=>this.mergeRef(n,r)})}}Qi.propTypes={onResize:m.func,observeParent:m.bool,observerProperty:m.string,delayTick:m.number};Qi.defaultProps={onResize:()=>{},observeParent:!1,observerProperty:"all",delayTick:0};var Hg=function(i,e,n,r){function o(s){return s instanceof n?s:new n(function(c){c(s)})}return new(n||(n=Promise))(function(s,c){function u(y){try{g(r.next(y))}catch(v){c(v)}}function p(y){try{g(r.throw(y))}catch(v){c(v)}}function g(y){y.done?s(y.value):o(y.value).then(u,p)}g((r=r.apply(i,e||[])).next())})},wI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const ht=dl.PREFIX,CI="...",kI=(i,e)=>{const{mark:n,code:r,underline:o,strong:s,link:c,disabled:u}=i;let p=e;const g=(y,v)=>{let S={};y&&(typeof y=="object"&&(S=Object.assign({},y)),p=k.createElement(v,S,p))};return g(n,"mark"),g(r,"code"),g(o&&!c,"u"),g(s,"strong"),g(i.delete,"del"),g(c,u?"span":"a"),p};class Si extends T.Component{constructor(e){super(e),this.observerTakingEffect=!1,this.onResize=n=>Hg(this,void 0,void 0,function*(){return this.rafId&&window.cancelAnimationFrame(this.rafId),new Promise(r=>{this.rafId=window.requestAnimationFrame(()=>Hg(this,void 0,void 0,function*(){yield this.getEllipsisState(),r()}))})}),this.canUseCSSEllipsis=()=>{const{copyable:n}=this.props,{expandable:r,expandText:o,pos:s,suffix:c}=this.getEllipsisOpt();return!r&&oo(o)&&!n&&s==="end"&&!c.length},this.shouldTruncated=n=>!n||n<1?!1:n<=1?this.compareSingleRow():this.wrapperRef.current.scrollHeight>this.wrapperRef.current.offsetHeight,this.compareSingleRow=()=>{if(!(document&&document.createRange))return!1;const n=this.wrapperRef.current,r=n.getBoundingClientRect().width,o=Array.from(n.childNodes),s=document.createRange(),c=o.reduce((u,p)=>{var g;return s.selectNodeContents(p),u+((g=s.getBoundingClientRect().width)!==null&&g!==void 0?g:0)},0);return s.detach(),c>r},this.showTooltip=()=>{var n,r;const{isOverflowed:o,isTruncated:s,expanded:c}=this.state,{showTooltip:u,expandable:p,expandText:g}=this.getEllipsisOpt(),y=this.canUseCSSEllipsis(),v=!c&&(y?o:s),D=!p&&oo(g)&&v&&u;if(!D)return D;const _={type:"tooltip"};return typeof u=="object"?u.type&&u.type.toLowerCase()==="popover"?r0({opts:{showArrow:!0}},u,{opts:{className:X({[`${ht}-ellipsis-popover`]:!0,[(n=u?.opts)===null||n===void 0?void 0:n.className]:!!(!((r=u?.opts)===null||r===void 0)&&r.className)})}}):Object.assign(Object.assign({},_),u):_},this.onHover=()=>{if(this.canUseCSSEllipsis()){const{rows:r,suffix:o,pos:s}=this.getEllipsisOpt(),c=this.shouldTruncated(r);this.setState({isOverflowed:c,isTruncated:!1});return}},this.getEllipsisState=()=>Hg(this,void 0,void 0,function*(){const{rows:n,suffix:r,pos:o}=this.getEllipsisOpt(),{children:s,strong:c}=this.props;if(!this.wrapperRef||!this.wrapperRef.current){yield this.onResize();return}const{expanded:u}=this.state;if(this.canUseCSSEllipsis())return;if(IT(s))return new Promise(S=>{this.setState({isTruncated:!1,isOverflowed:!1},S)});if(Mr("children"in this.props&&typeof s!="string","[Semi Typography] Only children with pure text could be used with ellipsis at this moment."),!n||n<0||u)return;const g={expand:this.expandRef.current,copy:this.copyRef&&this.copyRef.current},y=Array.isArray(s)?s.join(""):String(s),v=bI(this.wrapperRef.current,n,y,g,CI,r,o,c);return new Promise(S=>{this.setState({isOverflowed:!1,ellipsisContent:v,isTruncated:y!==v},S)})}),this.toggleOverflow=n=>{const{onExpand:r,expandable:o,collapsible:s}=this.getEllipsisOpt(),{expanded:c}=this.state;r&&r(!c,n),(o&&!c||s&&c)&&this.setState({expanded:!c})},this.getEllipsisOpt=()=>{const{ellipsis:n}=this.props;return n?Object.assign({rows:1,expandable:!1,pos:"end",suffix:"",showTooltip:!1,collapsible:!1,expandText:n.expandable?this.expandStr:void 0,collapseText:n.collapsible?this.collapseStr:void 0},typeof n=="object"?n:null):{}},this.renderExpandable=()=>{const{expanded:n,isTruncated:r}=this.state;if(!r)return null;const{expandText:o,expandable:s,collapseText:c,collapsible:u}=this.getEllipsisOpt(),p=!s&&oo(o),g=!u&&oo(c);let y;return!n&&!p?y=o:n&&!g&&(y=c),!p||!g?k.createElement("a",{role:"button",tabIndex:0,className:`${ht}-ellipsis-expand`,key:"expand",ref:this.expandRef,"aria-label":y,onClick:this.toggleOverflow,onKeyPress:v=>im(v)&&this.toggleOverflow(v)},y):null},this.getEllipsisStyle=()=>{const{ellipsis:n,component:r}=this.props;if(!n)return{ellipsisCls:"",ellipsisStyle:{}};const{rows:o}=this.getEllipsisOpt(),{expanded:s}=this.state,c=!s&&this.canUseCSSEllipsis(),u=X({[`${ht}-ellipsis`]:!0,[`${ht}-ellipsis-single-line`]:o===1,[`${ht}-ellipsis-multiple-line`]:o>1,[`${ht}-ellipsis-multiple-line-text`]:o>1&&r==="span",[`${ht}-ellipsis-overflow-ellipsis`]:o===1&&c,[`${ht}-ellipsis-overflow-ellipsis-text`]:o===1&&c&&r==="span"}),p=c&&o>1?{WebkitLineClamp:o}:{};return{ellipsisCls:u,ellipsisStyle:p}},this.renderEllipsisText=n=>{const{suffix:r}=n,{children:o}=this.props,{isTruncated:s,expanded:c,ellipsisContent:u}=this.state;return c||!s?k.createElement("span",{onMouseEnter:this.onHover},o,r&&r.length?r:null):k.createElement("span",{onMouseEnter:this.onHover},u,r)},this.state={editable:!1,copied:!1,isOverflowed:!1,ellipsisContent:e.children,expanded:!1,isTruncated:!1,prevChildren:null},this.wrapperRef=k.createRef(),this.expandRef=k.createRef(),this.copyRef=k.createRef()}componentDidMount(){this.props.ellipsis&&this.onResize().then(()=>Yh(()=>this.observerTakingEffect=!0,1))}static getDerivedStateFromProps(e,n){const{prevChildren:r}=n,o={};return o.prevChildren=e.children,e.ellipsis&&r!==e.children&&(o.isOverflowed=!1,o.ellipsisContent=e.children,o.expanded=!1,o.isTruncated=!0),o}componentDidUpdate(e){this.props.children!==e.children&&(this.forceUpdate(),this.props.ellipsis&&this.onResize())}componentWillUnmount(){this.rafId&&window.cancelAnimationFrame(this.rafId)}renderOperations(){return k.createElement(k.Fragment,null,this.renderExpandable(),this.renderCopy())}renderCopy(){var e;const{copyable:n,children:r}=this.props;if(!n)return null;const o=(e=n?.content)!==null&&e!==void 0?e:r;let s,c=!1;Array.isArray(o)?(s="",o.forEach(p=>{typeof p=="object"&&(c=!0),s+=String(p)})):(typeof o!="object"||(c=!0),s=String(o)),Mr(c,"Content to be copied in Typography is a object, it will case a [object Object] mistake when copy to clipboard.");const u=Object.assign({content:s,duration:3},typeof n=="object"?n:null);return k.createElement(am,Object.assign({},u,{forwardRef:this.copyRef}))}renderIcon(){const{icon:e,size:n}=this.props,r=n==="inherit"?this.context:n;if(!e)return null;const o=r==="small"?"small":"default";return k.createElement("span",{className:`${ht}-icon`,"x-semi-prop":"icon"},Gn(e)?k.cloneElement(e,{size:o}):e)}renderContent(){const e=this.props,{component:n,children:r,className:o,type:s,spacing:c,disabled:u,style:p,ellipsis:g,icon:y,size:v,link:S,heading:D,weight:_}=e,b=wI(e,["component","children","className","type","spacing","disabled","style","ellipsis","icon","size","link","heading","weight"]),w=vi(b,["strong","editable","mark","copyable","underline","code","delete"]),E=v==="inherit"?this.context:v,R=this.renderIcon(),O=this.getEllipsisOpt(),{ellipsisCls:M,ellipsisStyle:F}=this.getEllipsisStyle();let N=g?this.renderEllipsisText(O):r;const A=X({[`${ht}-link-text`]:S,[`${ht}-link-underline`]:this.props.underline&&S});N=kI(this.props,k.createElement(k.Fragment,null,R,this.props.link?k.createElement("span",{className:A},N):N));const G=/^h[1-6]$/,U=ct(D)&&G.test(D),V=X(o,M,{[`${ht}-${s}`]:s&&!S,[`${ht}-${E}`]:E,[`${ht}-link`]:S,[`${ht}-disabled`]:u,[`${ht}-${c}`]:c,[`${ht}-${D}`]:U,[`${ht}-${D}-weight-${_}`]:U&&_&&isNaN(Number(_))}),B=Object.assign(Object.assign({},isNaN(Number(_))?{}:{fontWeight:_}),p);return k.createElement(pl,Object.assign({className:V,style:Object.assign(Object.assign({},B),F),component:n,forwardRef:this.wrapperRef},w),N,this.renderOperations())}renderTipWrapper(){const{children:e}=this.props,n=this.showTooltip(),r=this.renderContent();if(n){const{type:o,opts:s,renderTooltip:c}=n;return Xt(c)?c(e,r):o.toLowerCase()==="popover"?k.createElement(Un,Object.assign({content:e,position:"top"},s),r):k.createElement(or,Object.assign({content:e,position:"top"},s),r)}else return r}render(){var e=this;const{size:n}=this.props,r=n==="inherit"?this.context:n,o=k.createElement(nk.Provider,{value:r},k.createElement(jr,{componentName:"Typography"},s=>(this.expandStr=s.expand,this.collapseStr=s.collapse,this.renderTipWrapper())));return this.props.ellipsis?k.createElement(Qi,{onResize:function(){e.observerTakingEffect&&e.onResize(...arguments)},observeParent:!0,observerProperty:Zs.Width},o):o}}Si.propTypes={children:m.node,copyable:m.oneOfType([m.shape({text:m.string,onCopy:m.func,successTip:m.node,copyTip:m.node}),m.bool]),delete:m.bool,disabled:m.bool,ellipsis:m.oneOfType([m.shape({rows:m.number,expandable:m.bool,expandText:m.string,onExpand:m.func,suffix:m.string,showTooltip:m.oneOfType([m.shape({type:m.string,opts:m.object}),m.bool]),collapsible:m.bool,collapseText:m.string,pos:m.oneOf(["end","middle"])}),m.bool]),mark:m.bool,underline:m.bool,link:m.oneOfType([m.object,m.bool]),spacing:m.oneOf(Pt.SPACING),strong:m.bool,size:m.oneOf(Pt.SIZE),type:m.oneOf(Pt.TYPE),style:m.object,className:m.string,icon:m.oneOfType([m.node,m.string]),heading:m.string,component:m.string};Si.defaultProps={children:null,copyable:!1,delete:!1,disabled:!1,ellipsis:!1,icon:"",mark:!1,underline:!1,strong:!1,link:!1,type:"primary",spacing:"normal",size:"normal",style:{},className:""};Si.contextType=nk;class Cl extends T.PureComponent{render(){return k.createElement(Si,Object.assign({component:"span"},this.props))}}Cl.propTypes={copyable:m.oneOfType([m.object,m.bool]),delete:m.bool,disabled:m.bool,icon:m.oneOfType([m.node,m.string]),ellipsis:m.oneOfType([m.object,m.bool]),mark:m.bool,underline:m.bool,link:m.oneOfType([m.object,m.bool]),strong:m.bool,type:m.oneOf(Pt.TYPE),size:m.oneOf(Pt.SIZE),style:m.object,className:m.string,code:m.bool,component:m.string,weight:m.number};Cl.defaultProps={copyable:!1,delete:!1,disabled:!1,icon:"",ellipsis:!1,mark:!1,underline:!1,strong:!1,link:!1,type:"primary",style:{},size:"normal",className:""};var PI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};let om=class extends T.PureComponent{render(){const e=this.props,{heading:n}=e,r=PI(e,["heading"]),o=Pt.HEADING.indexOf(n)!==-1?`h${n}`:"h1";return k.createElement(Si,Object.assign({component:o,heading:o},r))}};om.propTypes={copyable:m.oneOfType([m.object,m.bool]),delete:m.bool,disabled:m.bool,ellipsis:m.oneOfType([m.object,m.bool]),mark:m.bool,link:m.oneOfType([m.object,m.bool]),underline:m.bool,strong:m.bool,type:m.oneOf(Pt.TYPE),heading:m.oneOf(Pt.HEADING),style:m.object,className:m.string,component:m.string,weight:m.oneOfType([m.oneOf(Pt.WEIGHT),m.number])};om.defaultProps={copyable:!1,delete:!1,disabled:!1,ellipsis:!1,mark:!1,underline:!1,strong:!1,link:!1,type:"primary",heading:1,style:{},className:""};const DI=dl.PREFIX;let sm=class extends T.PureComponent{render(){const{className:e}=this.props,n=X(e,`${DI}-paragraph`);return k.createElement(Si,Object.assign({component:"p"},this.props,{className:n}))}};sm.propTypes={copyable:m.oneOfType([m.object,m.bool]),delete:m.bool,disabled:m.bool,ellipsis:m.oneOfType([m.object,m.bool]),mark:m.bool,link:m.oneOfType([m.object,m.bool]),underline:m.bool,strong:m.bool,type:m.oneOf(Pt.TYPE),size:m.oneOf(Pt.SIZE),spacing:m.oneOf(Pt.SPACING),style:m.object,className:m.string,component:m.string};sm.defaultProps={copyable:!1,delete:!1,disabled:!1,ellipsis:!1,mark:!1,underline:!1,strong:!1,link:!1,type:"primary",size:"normal",spacing:"normal",style:{},className:""};class _I{constructor(e,n,r,o,s){this.ruleMethods={"bytes-decimal":c=>{const u=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];let p=0;for(;c>=1e3;)c/=1e3,p++;return`${this.truncatePrecision(c)} ${u[p]}`},"bytes-binary":c=>{const u=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let p=0;for(;c>=1024;)c/=1024,p++;return`${this.truncatePrecision(c)} ${u[p]}`},percentages:c=>`${this.truncatePrecision(c*100)}%`,exponential:c=>{const p=c.toExponential(this.precision+2).split("e");return`${this.truncatePrecision(Number(p[0]))}e${p[1]}`}},this.truncateMethods={ceil:Math.ceil,floor:Math.floor,round:Math.round},this.isDiyParser=typeof s<"u",this.content=e,this.rule=n,this.precision=r,this.truncate=o,this.parser=s}format(){return this.isDiyParser?this.parser(this.content):this.rule==="text"?Vg(this.content).map(e=>Kg(e)?this.truncatePrecision(e):e).join(""):this.rule==="numbers"?Vg(this.content).filter(e=>Kg(e)).map(e=>this.truncatePrecision(e)).join(","):Vg(this.content).map(e=>Kg(e)?this.ruleMethods[this.rule](Number(e)):e).join("")}truncatePrecision(e){const n=this.truncateMethods[this.truncate](Number(e)*Math.pow(10,this.precision))/Math.pow(10,this.precision),r=n.toString().split(".");if(r.length===1)return n.toFixed(this.precision);const o=r[1].length;return o<this.precision?`${r[0]}.${r[1]}${"0".repeat(this.precision-o)}`:n.toString()}}function Vg(i){const e=/(-?[0-9]*\.?[0-9]+([eE]-?[0-9]+)?)|([^-\d\.]+)/g;return i.match(e)||[]}function Kg(i){return!(isNaN(Number(i))||i.replace(/\s+/g,"")==="")}class lm extends T.PureComponent{formatNodeDFS(e){return Array.isArray(e)||(e=[e]),e=e.map(n=>typeof n=="string"||typeof n=="number"?new _I(String(n),this.props.rule,this.props.precision,this.props.truncate,this.props.parser).format():typeof n=="function"?this.formatNodeDFS(n()):typeof n=="object"&&"children"in n.props?Object.assign(Object.assign({},n),{props:Object.assign(Object.assign({},n.props),{children:this.formatNodeDFS(n.props.children)})}):n),e.length===1?e[0]:e}render(){const e=Object.assign({},this.props);return delete e.rule,delete e.parser,e.children=this.formatNodeDFS(this.props.children),k.createElement(Si,Object.assign({component:"span"},e))}}lm.propTypes={rule:m.oneOf(Pt.RULE),precision:m.number,truncate:m.oneOf(Pt.TRUNCATE),parser:m.func,copyable:m.oneOfType([m.object,m.bool]),delete:m.bool,disabled:m.bool,icon:m.oneOfType([m.node,m.string]),mark:m.bool,underline:m.bool,link:m.oneOfType([m.object,m.bool]),strong:m.bool,type:m.oneOf(Pt.TYPE),size:m.oneOf(Pt.SIZE),style:m.object,className:m.string,code:m.bool,component:m.string};lm.defaultProps={rule:"text",precision:0,truncate:"round",parser:void 0,copyable:!1,delete:!1,icon:"",mark:!1,underline:!1,strong:!1,link:!1,type:"primary",style:{},size:"normal",className:""};const Qe=pl;Qe.Text=Cl;Qe.Title=om;Qe.Paragraph=sm;Qe.Numeral=lm;var Qg,i1;function TI(){if(i1)return Qg;i1=1;var i=zr(),e=xn(),n="[object Number]";function r(o){return typeof o=="number"||e(o)&&i(o)==n}return Qg=r,Qg}var EI=TI();const Lr=Xe(EI),xI=`${Ie}-spin`,II={PREFIX:xI},$I={SIZE:["small","middle","large"]};class cm extends Wt{static get spinDefaultAdapter(){return{getProp:()=>{},setLoading:e=>{}}}constructor(e){super(Object.assign(Object.assign({},cm.spinDefaultAdapter),e))}updateLoadingIfNeedDelay(){const{spinning:e,delay:n}=this._adapter.getProps(),{delay:r}=this._adapter.getStates();if(r){const o=this;this._timer=setTimeout(()=>{o._adapter.setState({loading:e,delay:0})},n)}}destroy(){this._timer&&(clearTimeout(this._timer),this._timer=null)}}var RI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};let a1=-1;function rk(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{id:e,className:n,customIconCls:r}=i,o=RI(i,["id","className","customIconCls"]),s=xe(Us,"config.overrideDefaultProps.Spin.indicator");if(s&&k.isValidElement(s))return k.cloneElement(s,{className:X({[r]:r,[n]:n})});let c=e;Sl(c)&&(a1++,c=a1);const u=`linearGradient-${c}`;return k.createElement("svg",Object.assign({},o,{className:n,width:"48",height:"48",viewBox:"0 0 36 36",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,"data-icon":"spin"}),k.createElement("defs",null,k.createElement("linearGradient",{x1:"0%",y1:"100%",x2:"100%",y2:"100%",id:u},k.createElement("stop",{stopColor:"currentColor",stopOpacity:"0",offset:"0%"}),k.createElement("stop",{stopColor:"currentColor",stopOpacity:"0.50",offset:"39.9430698%"}),k.createElement("stop",{stopColor:"currentColor",offset:"100%"}))),k.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},k.createElement("rect",{fillOpacity:"0.01",fill:"none",x:"0",y:"0",width:"36",height:"36"}),k.createElement("path",{d:"M34,18 C34,9.163444 26.836556,2 18,2 C11.6597233,2 6.18078805,5.68784135 3.59122325,11.0354951",stroke:`url(#${u})`,strokeWidth:"4",strokeLinecap:"round"})))}var OI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const si=II.PREFIX;class Fr extends Rt{constructor(e){super(e),this.foundation=new cm(this.adapter),this.state={delay:e.delay,loading:!0}}static getDerivedStateFromProps(e){return e.delay?e.spinning===!1?{delay:0,loading:!1}:{delay:e.delay}:{loading:e.spinning}}get adapter(){return Object.assign(Object.assign({},super.adapter),{setLoading:e=>{this.setState({loading:e})}})}componentWillUnmount(){this.foundation.destroy()}renderSpin(){const{indicator:e,tip:n}=this.props,{loading:r}=this.state;return r?k.createElement("div",{className:`${si}-wrapper`},e?k.createElement("div",{className:`${si}-animate`,"x-semi-prop":"indicator"},e):k.createElement(rk,null),n?k.createElement("div",{"x-semi-prop":"tip"},n):null):null}render(){this.foundation.updateLoadingIfNeedDelay();const e=this.props,{children:n,style:r,wrapperClassName:o,childStyle:s,size:c}=e,u=OI(e,["children","style","wrapperClassName","childStyle","size"]),{loading:p}=this.state,g=X(si,o,{[`${si}-${c}`]:c,[`${si}-block`]:n,[`${si}-hidden`]:!p});return k.createElement("div",Object.assign({className:g,style:r},this.getDataAttr(u)),this.renderSpin(),k.createElement("div",{className:`${si}-children`,style:s,"x-semi-prop":"children"},n))}}Fr.propTypes={size:m.oneOf($I.SIZE),spinning:m.bool,children:m.node,indicator:m.node,delay:m.number,tip:m.node,wrapperClassName:m.string,childStyle:m.object,style:m.object};Fr.__SemiComponentName__="Spin";Fr.defaultProps=lr(Fr.__SemiComponentName__,{size:"middle",spinning:!0,children:null,indicator:null,delay:0});const NI={PREFIX:`${Ie}-input`},kl={SIZE:["small","large","default"],DEFAULT_SIZE:"default",STATUS:["default","error","warning","success"],CLEARBTN_CLICKED_EVENT_FLAG:"__fromClearBtn",MODE:["password"]},bge={};function AI(i){const{value:e,maxLength:n,getValueLength:r}=i;if(Xt(r)){let o=0,s=e.length;for(;o<s;){const c=o+Math.floor((s-o)/2),u=e.slice(0,c+1);r(u)>n?s=c:o=c+1}return e.slice(0,o)}else return e.slice(0,n)}class um extends Wt{static get inputDefaultAdapter(){return{notifyChange:fe,setValue:fe}}constructor(e){super(Object.assign(Object.assign({},um.inputDefaultAdapter),e)),this.compositionEnter=!1,this.getNextValue=n=>{const{maxLength:r,minLength:o,getValueLength:s}=this._adapter.getProps();return Xt(s)?r?this.handleVisibleMaxLength(n):(o&&this.handleVisibleMinLength(n),n):n},this.changeInput=(n,r)=>{this._isControlledComponent()?this._adapter.notifyChange(n,r):(this._adapter.setValue(n),this._adapter.notifyChange(n,r))},this.handleCompositionStart=n=>{this.compositionEnter=!0,this._adapter.notifyCompositionStart(n)},this.handleCompositionEnd=n=>{const r=n.target.value;this.compositionEnter=!1,this._adapter.notifyCompositionEnd(n);const{getValueLength:o,maxLength:s,minLength:c}=this.getProps();if(Xt(o)){if(s){const u=this.handleVisibleMaxLength(r);u!==r&&this.changeInput(u,n)}c&&this.handleVisibleMinLength(r)}},this.handleCompositionUpdate=n=>{this._adapter.notifyCompositionUpdate(n)}}destroy(){this._timer&&(clearTimeout(this._timer),this._timer=null)}setDisable(){}setValue(e){this._adapter.setValue(e)}handleChange(e,n){let r=e;this.compositionEnter||(r=this.getNextValue(r)),this.changeInput(r,n)}handleVisibleMinLength(e){const{minLength:n,getValueLength:r}=this._adapter.getProps(),{minLength:o}=this._adapter.getStates();if(Lr(n)&&n>=0&&Xt(r)&&ct(e)){const s=r(e);if(s<n){const c=e.length+(n-s);c!==o&&this._adapter.setMinLength(c)}else o!==n&&this._adapter.setMinLength(n)}}handleVisibleMaxLength(e){const{maxLength:n,getValueLength:r}=this._adapter.getProps();return Lr(n)&&n>=0&&Xt(r)&&ct(e)&&r(e)>n?(console.warn("[Semi Input] The input character is truncated because the input length exceeds the maximum length limit"),this.handleTruncateValue(e,n)):e}handleTruncateValue(e,n){const{getValueLength:r}=this._adapter.getProps();return AI({value:e,maxLength:n,getValueLength:r})}handleClear(e){let n=e;const r="";this._isControlledComponent("value")?this._adapter.setState({isFocus:!1}):this._adapter.setState({value:"",isFocus:!1}),(!n||typeof n!="object")&&(n={}),HC(n,kl.CLEARBTN_CLICKED_EVENT_FLAG,!0),this._adapter.notifyChange(r,n),this._adapter.notifyClear(n),n&&this.stopPropagation(n)}handleClick(e){const{disabled:n}=this._adapter.getProps(),{isFocus:r}=this._adapter.getStates();n||r||this._adapter.isEventTarget(e)&&(this._adapter.focusInput(),this._adapter.toggleFocusing(!0))}handleModeChange(e){e==="password"?this._adapter.setEyeClosed(!0):this._adapter.setEyeClosed(!1)}handleClickEye(e){const n=this._adapter.getState("eyeClosed");this._adapter.focusInput(),this._adapter.toggleFocusing(!0),this._adapter.setEyeClosed(!n)}handleInputType(e){const n=this._adapter.getProp("mode"),r=this._adapter.getState("eyeClosed");return n==="password"?r?"password":"text":e}handleMouseDown(e){e.preventDefault()}handleMouseUp(e){e.preventDefault()}handleBlur(e){const{value:n}=this.getStates();this._adapter.toggleFocusing(!1),this._adapter.notifyBlur(n,e)}handleFocus(e){const{value:n}=this.getStates();this._adapter.toggleFocusing(!0),this._adapter.notifyFocus(n,e)}handleInput(e){this._adapter.notifyInput(e)}handleKeyDown(e){this._adapter.notifyKeyDown(e)}handleKeyUp(e){this._adapter.notifyKeyUp(e)}handleKeyPress(e){this._adapter.notifyKeyPress(e),e.key===rm&&this._adapter.notifyEnterPress(e)}isAllowClear(){const{value:e,isFocus:n,isHovering:r}=this._adapter.getStates(),{showClear:o,disabled:s,showClearIgnoreDisabled:c}=this._adapter.getProps();return e&&o&&(!s||c)&&(n||r)}handleClickPrefixOrSuffix(e){const{disabled:n}=this._adapter.getProps(),{isFocus:r}=this._adapter.getStates();!n&&!r&&(this._adapter.focusInput(),this._adapter.toggleFocusing(!0))}handlePreventMouseDown(e){e&&Xt(e.preventDefault)&&e.preventDefault()}handleModeEnterPress(e){["Enter"," "].includes(e?.key)&&(this.handlePreventMouseDown(e),this.handleClickEye(e))}}var LI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const Ae=NI.PREFIX,MI=kl.SIZE,jI=kl.STATUS,FI=kl.MODE;class dm extends Rt{constructor(e){super(e),this.handleClear=r=>{this.foundation.handleClear(r)},this.handleClick=r=>{this.foundation.handleClick(r)},this.handleMouseOver=r=>{this.setState({isHovering:!0})},this.handleMouseLeave=r=>{this.setState({isHovering:!1})},this.handleModeChange=r=>{this.foundation.handleModeChange(r)},this.handleClickEye=r=>{this.foundation.handleClickEye(r)},this.handleMouseDown=r=>{this.foundation.handleMouseDown(r)},this.handleMouseUp=r=>{this.foundation.handleMouseUp(r)},this.handleModeEnterPress=r=>{this.foundation.handleModeEnterPress(r)},this.handleClickPrefixOrSuffix=r=>{this.foundation.handleClickPrefixOrSuffix(r)},this.handlePreventMouseDown=r=>{this.foundation.handlePreventMouseDown(r)};const n="value"in e?e.value:e.defaultValue;this.state={value:n,cachedValue:e.value,disabled:!1,props:{},isFocus:!1,isHovering:!1,eyeClosed:e.mode==="password",minLength:e.minLength},this.inputRef=k.createRef(),this.prefixRef=k.createRef(),this.suffixRef=k.createRef(),this.foundation=new um(this.adapter)}get adapter(){return Object.assign(Object.assign({},super.adapter),{setValue:e=>this.setState({value:e}),setEyeClosed:e=>this.setState({eyeClosed:e}),toggleFocusing:e=>{this.setState({isFocus:e})},focusInput:()=>{const{preventScroll:e}=this.props,n=this.inputRef&&this.inputRef.current;n&&n.focus({preventScroll:e})},toggleHovering:e=>this.setState({isHovering:e}),getIfFocusing:()=>this.state.isFocus,notifyChange:(e,n)=>this.props.onChange(e,n),notifyBlur:(e,n)=>this.props.onBlur(n),notifyFocus:(e,n)=>this.props.onFocus(n),notifyInput:e=>this.props.onInput(e),notifyKeyPress:e=>this.props.onKeyPress(e),notifyKeyDown:e=>this.props.onKeyDown(e),notifyKeyUp:e=>this.props.onKeyUp(e),notifyEnterPress:e=>this.props.onEnterPress(e),notifyClear:e=>this.props.onClear(e),notifyCompositionStart:e=>this.props.onCompositionStart(e),notifyCompositionEnd:e=>this.props.onCompositionEnd(e),notifyCompositionUpdate:e=>this.props.onCompositionUpdate(e),setMinLength:e=>this.setState({minLength:e}),isEventTarget:e=>e&&e.target===e.currentTarget})}static getDerivedStateFromProps(e,n){const r={};return e.value!==n.cachedValue&&(r.value=e.value,r.cachedValue=e.value),r}componentDidUpdate(e){const{mode:n}=this.props;e.mode!==n&&this.handleModeChange(n)}componentDidMount(){const{disabled:e,autoFocus:n,preventScroll:r}=this.props;!e&&(n||this.props.autofocus)&&this.inputRef.current.focus({preventScroll:r})}renderPrepend(){const{addonBefore:e}=this.props;if(e){const n=X({[`${Ae}-prepend`]:!0,[`${Ae}-prepend-text`]:e&&ct(e),[`${Ae}-prepend-icon`]:Gn(e)});return k.createElement("div",{className:n,"x-semi-prop":"addonBefore"},e)}return null}renderAppend(){const{addonAfter:e}=this.props;if(e){const n=X({[`${Ae}-append`]:!0,[`${Ae}-append-text`]:e&&ct(e),[`${Ae}-append-icon`]:Gn(e)});return k.createElement("div",{className:n,"x-semi-prop":"addonAfter"},e)}return null}renderClearBtn(){const e=X(`${Ae}-clearbtn`),{clearIcon:n}=this.props;return this.foundation.isAllowClear()?k.createElement("div",{className:e,onMouseDown:this.handleClear},n||k.createElement(XC,null)):null}renderModeBtn(){const{eyeClosed:e}=this.state,{mode:n,disabled:r}=this.props,o=X(`${Ae}-modebtn`),s=e?k.createElement(aI,null):k.createElement(sI,null),c=n==="password"&&!r,u=e?"Show password":"Hidden password";return c?k.createElement("div",{role:"button",tabIndex:0,"aria-label":u,className:o,onClick:this.handleClickEye,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onKeyPress:this.handleModeEnterPress},s):null}renderPrefix(){const{prefix:e,insetLabel:n,insetLabelId:r}=this.props,o=e||n;if(!o)return null;const s=X({[`${Ae}-prefix`]:!0,[`${Ae}-inset-label`]:n,[`${Ae}-prefix-text`]:o&&ct(o),[`${Ae}-prefix-icon`]:Gn(o)});return k.createElement("div",{className:s,onMouseDown:this.handlePreventMouseDown,onClick:this.handleClickPrefixOrSuffix,id:r,"x-semi-prop":"prefix,insetLabel"},o)}renderSuffix(e){const{suffix:n,hideSuffix:r}=this.props;if(!n)return null;const o=X({[`${Ae}-suffix`]:!0,[`${Ae}-suffix-text`]:n&&ct(n),[`${Ae}-suffix-icon`]:Gn(n),[`${Ae}-suffix-hidden`]:e&&!!r});return k.createElement("div",{className:o,onMouseDown:this.handlePreventMouseDown,onClick:this.handleClickPrefixOrSuffix,"x-semi-prop":"suffix"},n)}getInputRef(){const{forwardRef:e}=this.props;if(!oo(e)){if(typeof e=="function")return n=>{e(n),this.inputRef={current:n}};if(Object.prototype.toString.call(e)==="[object Object]")return this.inputRef=e,e}return this.inputRef}render(){const e=this.props,{addonAfter:n,addonBefore:r,autoFocus:o,clearIcon:s,className:c,disabled:u,defaultValue:p,placeholder:g,prefix:y,mode:v,insetLabel:S,insetLabelId:D,validateStatus:_,type:b,readonly:w,size:E,suffix:R,style:O,showClear:M,onEnterPress:F,onClear:N,hideSuffix:A,inputStyle:G,forwardRef:U,maxLength:V,getValueLength:B,preventScroll:te,borderless:ee,showClearIgnoreDisabled:oe,onlyBorder:se}=e,he=LI(e,["addonAfter","addonBefore","autoFocus","clearIcon","className","disabled","defaultValue","placeholder","prefix","mode","insetLabel","insetLabelId","validateStatus","type","readonly","size","suffix","style","showClear","onEnterPress","onClear","hideSuffix","inputStyle","forwardRef","maxLength","getValueLength","preventScroll","borderless","showClearIgnoreDisabled","onlyBorder"]),{value:ue,isFocus:K,minLength:J}=this.state,I=this.foundation.isAllowClear(),H=Gn(R),ae=this.getInputRef(),re=`${Ae}-wrapper`,ie=X(re,c,{[`${Ae}-wrapper__with-prefix`]:y||S,[`${Ae}-wrapper__with-suffix`]:R,[`${Ae}-wrapper__with-suffix-hidden`]:I&&!!A,[`${Ae}-wrapper__with-suffix-icon`]:H,[`${Ae}-wrapper__with-append`]:r,[`${Ae}-wrapper__with-prepend`]:n,[`${Ae}-wrapper__with-append-only`]:r&&!n,[`${Ae}-wrapper__with-prepend-only`]:!r&&n,[`${re}-readonly`]:w,[`${re}-disabled`]:u,[`${re}-warning`]:_==="warning",[`${re}-error`]:_==="error",[`${re}-focus`]:K,[`${re}-clearable`]:M,[`${re}-modebtn`]:v==="password",[`${re}-hidden`]:b==="hidden",[`${re}-${E}`]:E,[`${Ae}-borderless`]:ee,[`${Ae}-only_border`]:se!=null}),ke=X(Ae,{[`${Ae}-${E}`]:E,[`${Ae}-disabled`]:u,[`${Ae}-sibling-clearbtn`]:this.foundation.isAllowClear(),[`${Ae}-sibling-modebtn`]:v==="password"}),ye=ue??"",ve=Object.assign(Object.assign({},he),{style:G,className:ke,disabled:u,readOnly:w,type:this.foundation.handleInputType(b),placeholder:g,onInput:Se=>this.foundation.handleInput(Se),onChange:Se=>this.foundation.handleChange(Se.target.value,Se),onFocus:Se=>this.foundation.handleFocus(Se),onBlur:Se=>this.foundation.handleBlur(Se),onKeyUp:Se=>this.foundation.handleKeyUp(Se),onKeyDown:Se=>this.foundation.handleKeyDown(Se),onKeyPress:Se=>this.foundation.handleKeyPress(Se),onCompositionStart:this.foundation.handleCompositionStart,onCompositionEnd:this.foundation.handleCompositionEnd,onCompositionUpdate:this.foundation.handleCompositionUpdate,value:ye});Xt(B)||(ve.maxLength=V),J&&(ve.minLength=J),_==="error"&&(ve["aria-invalid"]="true");let Ce=Object.assign({},O);return se!==void 0&&(Ce=Object.assign({borderWidth:se},O)),k.createElement("div",{className:ie,style:Ce,onMouseEnter:Se=>this.handleMouseOver(Se),onMouseLeave:Se=>this.handleMouseLeave(Se),onClick:Se=>this.handleClick(Se)},this.renderPrepend(),this.renderPrefix(),k.createElement("input",Object.assign({},ve,{ref:ae})),this.renderClearBtn(),this.renderSuffix(I),this.renderModeBtn(),this.renderAppend())}}dm.propTypes={"aria-label":m.string,"aria-labelledby":m.string,"aria-invalid":m.bool,"aria-errormessage":m.string,"aria-describedby":m.string,"aria-required":m.bool,addonBefore:m.node,addonAfter:m.node,clearIcon:m.node,prefix:m.node,suffix:m.node,mode:m.oneOf(FI),value:m.any,defaultValue:m.any,disabled:m.bool,readonly:m.bool,autoFocus:m.bool,type:m.string,showClear:m.bool,hideSuffix:m.bool,placeholder:m.any,size:m.oneOf(MI),className:m.string,style:m.object,validateStatus:m.oneOf(jI),onClear:m.func,onChange:m.func,onBlur:m.func,onFocus:m.func,onInput:m.func,onKeyDown:m.func,onKeyUp:m.func,onKeyPress:m.func,onEnterPress:m.func,onCompositionStart:m.func,onCompositionEnd:m.func,onCompositionUpdate:m.func,insetLabel:m.node,insetLabelId:m.string,inputStyle:m.object,getValueLength:m.func,preventScroll:m.bool,borderless:m.bool};dm.defaultProps={addonBefore:"",addonAfter:"",prefix:"",suffix:"",readonly:!1,type:"text",showClear:!1,hideSuffix:!1,placeholder:"",size:"default",className:"",onClear:fe,onChange:fe,onBlur:fe,onFocus:fe,onInput:fe,onKeyDown:fe,onKeyUp:fe,onKeyPress:fe,onEnterPress:fe,onCompositionStart:fe,onCompositionEnd:fe,onCompositionUpdate:fe,validateStatus:"default",borderless:!1};const so=k.forwardRef((i,e)=>k.createElement(dm,Object.assign({},i,{forwardRef:e})));var GI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};class ik extends k.PureComponent{render(){const e=this.props,{triggerRender:n,componentName:r}=e,o=GI(e,["triggerRender","componentName"]);return n(Object.assign({},o))}}ik.propTypes={triggerRender:m.func.isRequired,componentName:m.string,componentProps:m.object,value:m.any,inputValue:m.string,placeholder:m.oneOfType([m.string,m.array]),className:m.string,style:m.object};const WI={PREFIX:`${Ie}-highlight`},zI=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");class qI extends Wt{constructor(e){super(Object.assign({},e)),this.findAll=n=>{let{autoEscape:r=!0,caseSensitive:o=!1,searchWords:s,sourceString:c}=n;ct(s)&&(s=[s]);const u=this.findChunks({autoEscape:r,caseSensitive:o,searchWords:s,sourceString:c}),p=this.combineChunks({chunks:u});return this.fillInChunks({chunksToHighlight:p,totalLength:c?c.length:0})},this.findChunks=n=>{let{autoEscape:r,caseSensitive:o,searchWords:s,sourceString:c}=n;return s.map(u=>typeof u=="string"?{text:u}:u).filter(u=>u.text).reduce((u,p)=>{let g=p.text;r&&(g=zI(g));const y=new RegExp(g,o?"g":"gi");let v;for(;v=y.exec(c);){const S=v.index,D=y.lastIndex;D>S&&u.push({highlight:!0,start:S,end:D,className:p.className,style:p.style}),v.index===y.lastIndex&&y.lastIndex++}return u},[])},this.combineChunks=n=>{let{chunks:r}=n;return r.sort((o,s)=>o.start-s.start).reduce((o,s)=>{if(o.length===0)return[s];{const c=o.pop();if(s.start<=c.end){const u=Math.max(c.end,s.end);o.push({highlight:!0,start:c.start,end:u,className:c.className||s.className,style:Object.assign(Object.assign({},c.style),s.style)})}else o.push(c,s);return o}},[])},this.fillInChunks=n=>{let{chunksToHighlight:r,totalLength:o}=n;const s=[],c=(u,p,g,y,v)=>{p-u>0&&s.push({start:u,end:p,highlight:g,className:y,style:v})};if(r.length===0)c(0,o,!1);else{let u=0;r.forEach(p=>{c(u,p.start,!1),c(p.start,p.end,!0,p.className,p.style),u=p.end}),c(u,o,!1)}return s}}}const UI=WI.PREFIX;class pm extends T.PureComponent{constructor(){super(...arguments),this.getHighLightTextHTML=e=>{let{sourceString:n="",searchWords:r=[],option:o={autoEscape:!0,caseSensitive:!1}}=e;const s=new qI().findAll(Object.assign({sourceString:n,searchWords:r},o)),c=o.highlightTag||"mark",u=o.highlightClassName||"",p=o.highlightStyle||{};return s.map((g,y)=>{const{end:v,start:S,highlight:D,style:_,className:b}=g,w=n.substr(S,v-S);return D?k.createElement(c,{style:Object.assign(Object.assign({},p),_),className:`${u} ${b||""}`.trim(),key:w+y},w):w})}}render(){const{searchWords:e,sourceString:n,component:r,highlightClassName:o,highlightStyle:s,caseSensitive:c,autoEscape:u}=this.props,p=X({[`${UI}-tag`]:!0},o),g={highlightTag:r,highlightClassName:p,highlightStyle:s,caseSensitive:c,autoEscape:u};return this.getHighLightTextHTML({sourceString:n,searchWords:e,option:g})}}pm.propTypes={style:m.object,className:m.string,autoEscape:m.bool,caseSensitive:m.bool,sourceString:m.string,searchWords:m.arrayOf(m.string),highlightStyle:m.object,highlightClassName:m.string,component:m.string};pm.defaultProps={component:"mark",autoEscape:!0,caseSensitive:!1,sourceString:""};const BI={PREFIX:`${Ie}-avatar`},ra={SHAPE:["circle","square"],SIZE:["extra-extra-small","extra-small","small","default","medium","large","extra-large"],COLOR:["grey","red","pink","purple","violet","indigo","blue","light-blue","cyan","teal","green","light-green","lime","yellow","amber","orange","white"]};class HI extends Wt{constructor(e){super(Object.assign({},e)),this.handleFocusVisible=n=>{const{target:r}=n;try{r.matches(":focus-visible")&&this._adapter.setFocusVisible(!0)}catch{Mr(!0,"Warning: [Semi Avatar] The current browser does not support the focus-visible")}},this.handleBlur=()=>{this._adapter.setFocusVisible(!1)},this.changeScale=()=>{const{gap:n}=this.getProps(),r=this._adapter.getAvatarNode(),o=r?.firstChild,[s,c]=[r?.offsetWidth||0,o?.offsetWidth||0];if(s!==0&&c!==0&&n*2<s){const u=s-n*2>c?1:(s-n*2)/c;this._adapter.setScale(u)}}}init(){const{children:e}=this.getProps();typeof e=="string"&&this.changeScale()}destroy(){}handleImgLoadError(){const{onError:e}=this.getProps();(e?e():void 0)!==!1&&this._adapter.notifyImgState(!1)}handleEnter(e){this._adapter.notifyEnter(e)}handleLeave(e){this._adapter.notifyLeave(e)}}const VI=i=>{let{gradientStart:e,gradientEnd:n}=i;const r=uo();return k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"51",height:"52",viewBox:"0 0 51 52",fill:"none"},k.createElement("g",{filter:"url(#filter0_d_6_2)"},k.createElement("path",{d:"M40.4918 46.5592C44.6795 43.176 46.261 34.1333 47.5301 25.6141C49.5854 11.8168 39.6662 1 25.8097 1C11.2857 1 3 11.4279 3 25.3518C3 33.7866 6.29361 43.8947 10.4602 46.5592C12.5868 47.9192 12.5868 47.9051 25.8097 47.9192C38.3651 47.9282 38.5352 48.14 40.4918 46.5592Z",fill:`url(#${r})`})),k.createElement("defs",null,k.createElement("filter",{id:"filter0_d_6_2",x:"0.789215",y:"0.447304",width:"49.2216",height:"51.3549",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},k.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),k.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),k.createElement("feOffset",{dy:"1.65809"}),k.createElement("feGaussianBlur",{stdDeviation:"1.10539"}),k.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),k.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_6_2"}),k.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_6_2",result:"shape"})),k.createElement("linearGradient",{id:r,x1:"17.671",y1:"31.7392",x2:"17.671",y2:"47.9333",gradientUnits:"userSpaceOnUse"},k.createElement("stop",{stopColor:e}),k.createElement("stop",{offset:"1",stopColor:n}))))};var KI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const QI=ra.SIZE,XI=ra.SHAPE,YI=ra.COLOR,Le=BI.PREFIX;let Ji=class extends Rt{constructor(e){super(e),this.handleFocusVisible=n=>{this.foundation.handleFocusVisible(n)},this.handleBlur=n=>{this.foundation.handleBlur()},this.getContent=()=>{const{children:n,onClick:r,imgAttr:o,src:s,srcSet:c,alt:u}=this.props,{isImgExist:p}=this.state;let g=n;const y=r!==rr,v=s&&p,S={tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleFocusVisible,onBlur:this.handleBlur};if(v){const D=y?`clickable Avatar: ${u}`:u,_=Object.assign(Object.assign({src:s,srcSet:c,onError:this.handleError},o),{className:X({[`${Le}-no-focus-visible`]:y})}),b=y?Object.assign(Object.assign({},_),S):_;g=k.createElement("img",Object.assign({alt:D},b))}else if(typeof n=="string"){const D=u??n,b={role:"img","aria-label":y?`clickable Avatar: ${D}`:D,className:X(`${Le}-label`,{[`${Le}-no-focus-visible`]:y})},w=y?Object.assign(Object.assign({},b),S):b,E={transform:`scale(${this.state.scale})`};g=k.createElement("span",{className:`${Le}-content`,style:E},k.createElement("span",Object.assign({},w,{"x-semi-prop":"children"}),n))}return g},this.renderBottomSlot=()=>{var n,r;if(!this.props.bottomSlot)return null;if(this.props.bottomSlot.render)return this.props.bottomSlot.render();const o=(n=this.props.bottomSlot.render)!==null&&n!==void 0?n:()=>{var s;const c={};return this.props.bottomSlot.bgColor&&(c.backgroundColor=this.props.bottomSlot.bgColor),this.props.bottomSlot.textColor&&(c.color=this.props.bottomSlot.textColor),k.createElement("span",{style:c,className:X(`${Le}-bottom_slot-shape_${this.props.bottomSlot.shape}`,`${Le}-bottom_slot-shape_${this.props.bottomSlot.shape}-${this.props.size}`,(s=this.props.bottomSlot.className)!==null&&s!==void 0?s:"")},this.props.bottomSlot.text)};return k.createElement("div",{className:X([`${Le}-bottom_slot`]),style:(r=this.props.bottomSlot.style)!==null&&r!==void 0?r:{}},o())},this.renderTopSlot=()=>{var n,r,o,s;if(!this.props.topSlot)return null;if(this.props.topSlot.render)return this.props.topSlot.render();const c={};return this.props.topSlot.textColor&&(c.color=this.props.topSlot.textColor),k.createElement("div",{style:(n=this.props.topSlot.style)!==null&&n!==void 0?n:{},className:X([`${Le}-top_slot-wrapper`,(r=this.props.topSlot.className)!==null&&r!==void 0?r:"",{[`${Le}-animated`]:this.props.contentMotion}])},k.createElement("div",{className:X([`${Le}-top_slot-bg`,`${Le}-top_slot-bg-${this.props.size}`])},k.createElement("div",{className:X([`${Le}-top_slot-bg-svg`,`${Le}-top_slot-bg-svg-${this.props.size}`])},k.createElement(VI,{gradientStart:(o=this.props.topSlot.gradientStart)!==null&&o!==void 0?o:"var(--semi-color-primary)",gradientEnd:(s=this.props.topSlot.gradientEnd)!==null&&s!==void 0?s:"var(--semi-color-primary)"}))),k.createElement("div",{className:X([`${Le}-top_slot`])},k.createElement("div",{style:c,className:X([`${Le}-top_slot-content`,`${Le}-top_slot-content-${this.props.size}`])},this.props.topSlot.text)))},this.state={isImgExist:!0,hoverContent:"",focusVisible:!1,scale:1},this.onEnter=this.onEnter.bind(this),this.onLeave=this.onLeave.bind(this),this.handleError=this.handleError.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.getContent=this.getContent.bind(this),this.avatarRef=k.createRef()}get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyImgState:e=>{this.setState({isImgExist:e})},notifyEnter:e=>{const{hoverMask:n}=this.props,r=n;this.setState({hoverContent:r},()=>{const{onMouseEnter:o}=this.props;o&&o(e)})},notifyLeave:e=>{this.setState({hoverContent:""},()=>{const{onMouseLeave:n}=this.props;n&&n(e)})},setFocusVisible:e=>{this.setState({focusVisible:e})},setScale:e=>{this.setState({scale:e})},getAvatarNode:()=>{var e;return(e=this.avatarRef)===null||e===void 0?void 0:e.current}})}componentDidMount(){this.foundation=new HI(this.adapter),this.foundation.init()}componentDidUpdate(e){if(this.props.src&&this.props.src!==e.src){const n=new Image(0,0);n.src=this.props.src,n.onload=()=>{this.setState({isImgExist:!0})},n.onerror=()=>{this.setState({isImgExist:!1})},n.onabort=()=>{this.setState({isImgExist:!1})}}typeof this.props.children=="string"&&this.props.children!==e.children&&this.foundation.changeScale()}componentWillUnmount(){this.foundation.destroy()}onEnter(e){this.foundation.handleEnter(e)}onLeave(e){this.foundation.handleLeave(e)}handleError(){this.foundation.handleImgLoadError()}handleKeyDown(e){const{onClick:n}=this.props;switch(e.key){case"Enter":n(e),Nr(e);break;case"Escape":e.target.blur();break}}render(){var e;const n=this.props,{shape:r,children:o,size:s,color:c,className:u,hoverMask:p,onClick:g,imgAttr:y,src:v,srcSet:S,style:D,alt:_,gap:b,bottomSlot:w,topSlot:E,border:R,contentMotion:O}=n,M=KI(n,["shape","children","size","color","className","hoverMask","onClick","imgAttr","src","srcSet","style","alt","gap","bottomSlot","topSlot","border","contentMotion"]),{isImgExist:F,hoverContent:N,focusVisible:A}=this.state;let G={};ra.SIZE.includes(s)||(G={width:s,height:s}),G=Object.assign(Object.assign({},G),D);const U=w||E||R,V={onClick:g,onMouseEnter:this.onEnter,onMouseLeave:this.onLeave},B=v&&F,te=X(Le,{[`${Le}-${r}`]:r,[`${Le}-${s}`]:s,[`${Le}-${c}`]:c&&!B,[`${Le}-img`]:B,[`${Le}-focus`]:A,[`${Le}-animated`]:O},u),ee=N?k.createElement("div",{className:`${Le}-hover`,"x-semi-prop":"hoverContent"},N):null;let oe=k.createElement("span",Object.assign({},M,{style:U?{}:G,className:te},U?{}:V,{role:"listitem",ref:this.avatarRef}),this.getContent(),ee);if(R){const se={};typeof R=="object"&&R?.color&&(se.borderColor=R?.color),oe=k.createElement("div",{style:Object.assign({position:"relative"},G)},oe,k.createElement("span",{style:se,className:X([`${Le}-additionalBorder`,`${Le}-additionalBorder-${s}`,{[`${Le}-${r}`]:r}])}),typeof this.props.border=="object"&&this.props.border.motion&&k.createElement("span",{style:se,className:X([`${Le}-additionalBorder`,`${Le}-additionalBorder-${s}`,{[`${Le}-${r}`]:r,[`${Le}-additionalBorder-animated`]:typeof this.props.border=="object"&&((e=this.props.border)===null||e===void 0?void 0:e.motion)}])}))}return U?k.createElement("span",Object.assign({className:X([`${Le}-wrapper`]),style:G},V),oe,E&&["extra-small","small","default","medium","large","extra-large"].includes(s)&&r==="circle"&&this.renderTopSlot(),w&&["extra-small","small","default","medium","large","extra-large"].includes(s)&&this.renderBottomSlot()):oe}};Ji.__SemiComponentName__="Avatar";Ji.defaultProps=lr(Ji.__SemiComponentName__,{size:"medium",color:"grey",shape:"circle",gap:3,onClick:rr,onMouseEnter:rr,onMouseLeave:rr});Ji.propTypes={children:m.node,color:m.oneOf(YI),shape:m.oneOf(XI),size:m.oneOf(QI),hoverMask:m.node,className:m.string,style:m.object,gap:m.number,imgAttr:m.object,src:m.string,srcSet:m.string,alt:m.string,onError:m.func,onClick:m.func,onMouseEnter:m.func,onMouseLeave:m.func,bottomSlot:m.shape({render:m.func,shape:m.oneOf(["circle","square"]),text:m.node,bgColor:m.string,textColor:m.string,className:m.string,style:m.object}),topSlot:m.shape({render:m.func,gradientStart:m.string,gradientEnd:m.string,text:m.node,textColor:m.string,className:m.string,style:m.object}),border:m.oneOfType([m.shape({color:m.string,motion:m.bool}),m.bool]),contentMotion:m.bool};Ji.elementType="Avatar";const ak={PREFIX:`${Ie}-button`},wo={sizes:["default","small","large"],iconPositions:["left","right"],htmlTypes:["button","reset","submit"],btnTypes:["primary","secondary","tertiary","warning","danger"],themes:["solid","borderless","light","outline"],DEFAULT_ICON_POSITION:"left"},JI={SIZE:["extra-small","small","default","large","extra-large","custom"]};var ZI=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const e$=wo.sizes,{htmlTypes:t$,btnTypes:n$}=wo;let Co=class extends T.PureComponent{render(){const e=this.props,{children:n,block:r,htmlType:o,loading:s,circle:c,className:u,style:p,disabled:g,size:y,theme:v,type:S,prefixCls:D,iconPosition:_}=e,b=ZI(e,["children","block","htmlType","loading","circle","className","style","disabled","size","theme","type","prefixCls","iconPosition"]),w=Object.assign(Object.assign({disabled:g},vi(b,["x-semi-children-alias"])),{className:X(D,{[`${D}-${S}`]:!g&&S,[`${D}-disabled`]:g,[`${D}-size-large`]:y==="large",[`${D}-size-small`]:y==="small",[`${D}-light`]:v==="light",[`${D}-block`]:r,[`${D}-circle`]:c,[`${D}-borderless`]:v==="borderless",[`${D}-outline`]:v==="outline",[`${D}-${S}-disabled`]:g&&S},u),type:o,"aria-disabled":g}),E={};return u&&u.includes("-with-icon")||(E["x-semi-prop"]=this.props["x-semi-children-alias"]||"children"),k.createElement("button",Object.assign({},w,{onClick:this.props.onClick,onMouseDown:this.props.onMouseDown,style:p}),k.createElement("span",Object.assign({className:X(`${D}-content`,this.props.contentClassName),onClick:R=>g&&R.stopPropagation()},E),n))}};Co.defaultProps={disabled:!1,size:"default",type:"primary",theme:"light",block:!1,htmlType:"button",onMouseDown:rr,onClick:rr,onMouseEnter:rr,onMouseLeave:rr,prefixCls:ak.PREFIX};Co.propTypes={children:m.node,disabled:m.bool,prefixCls:m.string,style:m.object,size:m.oneOf(e$),type:m.oneOf(n$),block:m.bool,onClick:m.func,onMouseDown:m.func,circle:m.bool,loading:m.bool,htmlType:m.oneOf(t$),theme:m.oneOf(wo.themes),className:m.string,onMouseEnter:m.func,onMouseLeave:m.func,"aria-label":m.string,contentClassName:m.string};var r$=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const i$=JI.SIZE;class bi extends T.PureComponent{render(){const e=this.props,{children:n,iconPosition:r,iconSize:o,iconStyle:s,style:c,icon:u,noHorizontalPadding:p,theme:g,className:y,prefixCls:v,loading:S}=e,D=r$(e,["children","iconPosition","iconSize","iconStyle","style","icon","noHorizontalPadding","theme","className","prefixCls","loading"]),_=Object.assign({},c);Array.isArray(p)?(p.includes("left")&&(_.paddingLeft=0),p.includes("right")&&(_.paddingRight=0)):p===!0?(_.paddingLeft=0,_.paddingRight=0):typeof p=="string"&&(p==="left"&&(_.paddingLeft=0),p==="right"&&(_.paddingRight=0));let b=null,w=null;S&&!D.disabled?w=k.createElement(rk,{customIconCls:`${v}-content-loading-icon`}):k.isValidElement(u)&&(w=u);const E=X({[`${v}-content-left`]:r==="right",[`${v}-content-right`]:r==="left"}),R=this.props["x-semi-children-alias"]||"children",O=n!=null?k.createElement("span",{className:E,"x-semi-prop":R},n):null;r==="left"?b=k.createElement(k.Fragment,null,w,O):b=k.createElement(k.Fragment,null,O,w);const M=X(y,`${v}-with-icon`,{[`${v}-with-icon-only`]:O==null||O==="",[`${v}-loading`]:S});return k.createElement(Co,Object.assign({},D,{className:M,theme:g,style:_}),b)}}bi.defaultProps={iconPosition:wo.DEFAULT_ICON_POSITION,prefixCls:ak.PREFIX,loading:!1,noHorizontalPadding:!1,onMouseEnter:fe,onMouseLeave:fe};bi.elementType="IconButton";bi.propTypes={iconStyle:m.object,style:m.object,loading:m.bool,prefixCls:m.string,icon:m.oneOfType([m.object,m.string,m.node]),iconSize:m.oneOf(i$),noHorizontalPadding:m.oneOfType([m.bool,m.string,m.array]),children:m.node,theme:m.string,iconPosition:m.oneOf(wo.iconPositions),className:m.string,onMouseEnter:m.func,onMouseLeave:m.func};let tt=class extends k.PureComponent{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(e)}render(){const e=Object.assign({},this.props),n=!!e.icon,r=!!e.loading,o=!!e.disabled;return n||r&&!o?k.createElement(bi,Object.assign({},e)):k.createElement(Co,Object.assign({},e))}};tt.__SemiComponentName__="Button";tt.propTypes=Object.assign(Object.assign({},Co.propTypes),bi.propTypes);tt.defaultProps=lr(tt.__SemiComponentName__);tt.elementType="Button";const ok={PREFIX:`${Ie}-card`},a$={SHADOWS:["hover","always"]};var o$=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const Ka=ok.PREFIX;class sk extends T.PureComponent{render(){const e=this.props,{avatar:n,className:r,description:o,style:s,title:c}=e,u=o$(e,["avatar","className","description","style","title"]),p=X(`${Ka}-meta`,r),g=n&&k.createElement("div",{className:`${Ka}-meta-avatar`},n),y=c&&k.createElement("div",{className:`${Ka}-meta-wrapper-title`},c),v=o&&k.createElement("div",{className:`${Ka}-meta-wrapper-description`},o),S=c||o?k.createElement("div",{className:`${Ka}-meta-wrapper`},y,v):null;return k.createElement("div",Object.assign({},u,{className:p,style:s}),g,S)}}sk.propTypes={avatar:m.node,className:m.string,description:m.node,style:m.object,title:m.node};const gm={PREFIX:`${Ie}-skeleton`};var s$=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const l$=ra.SIZE,c$=ra.SHAPE,Pl=i=>e=>n=>k.createElement(e,Object.assign({type:i},n));class ia extends T.PureComponent{render(){const e=this.props,{prefixCls:n,className:r,type:o,size:s,shape:c}=e,u=s$(e,["prefixCls","className","type","size","shape"]),p=X(r,`${n}-${o}`,{[`${n}-${o}-${s}`]:o.toUpperCase()==="AVATAR"},{[`${n}-${o}-${c}`]:o.toUpperCase()==="AVATAR"});return k.createElement("div",Object.assign({className:p},u))}}ia.propTypes={type:m.string,prefixCls:m.string,style:m.object,className:m.string,size:m.oneOf(l$),shape:m.oneOf(c$)};ia.defaultProps={prefixCls:gm.PREFIX,size:"medium",shape:"circle"};const u$=Pl("avatar")(ia),d$=Pl("image")(ia),p$=Pl("title")(ia),g$=Pl("button")(ia);class hm extends T.PureComponent{render(){const{prefixCls:e,className:n,style:r,rows:o}=this.props,s=X(n,`${e}-paragraph`);return k.createElement("ul",{className:s,style:r},[...Array(o)].map((c,u)=>k.createElement("li",{key:u})))}}hm.propTypes={rows:m.number,prefixCls:m.string,style:m.object,className:m.string};hm.defaultProps={prefixCls:gm.PREFIX,rows:4};var h$=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const o1=gm.PREFIX;class zn extends T.PureComponent{render(){const e=this.props,{placeholder:n,active:r,children:o,className:s,loading:c,style:u}=e,p=h$(e,["placeholder","active","children","className","loading","style"]),g=X(o1,{[`${o1}-active`]:!!r},s);let y;return c?y=k.createElement("div",Object.assign({className:g,style:u},p,{"x-semi-prop":"placeholder"}),n):y=o,y}}zn.Avatar=u$;zn.Title=p$;zn.Button=g$;zn.Paragraph=hm;zn.Image=d$;zn.defaultProps={loading:!0};zn.propTypes={active:m.bool,placeholder:m.node,style:m.object,className:m.string,loading:m.bool,children:m.node};const m$={PREFIX:`${Ie}-space`},ui={ALIGN_SET:["start","end","center","baseline"],SPACING_LOOSE:"loose",SPACING_MEDIUM:"medium",SPACING_TIGHT:"tight"},f$="Symbol(react.fragment)",Eh=i=>{let e=[];return k.Children.forEach(i,n=>{n!=null&&(Array.isArray(n)?e=e.concat(Eh(n)):T.isValidElement(n)&&n.type&&n.type.toString()===f$&&n.props?e=e.concat(Eh(n.props.children)):e.push(n))}),e},Pn=m$.PREFIX;class ko extends T.PureComponent{render(){const{children:e=null,style:n,className:r,spacing:o,wrap:s,align:c,vertical:u}=this.props,p=s&&u?!1:s,g=Object.assign({},n);let y="",v="";ct(o)?(y=o,v=o):Lr(o)?(g.rowGap=o,g.columnGap=o):PT(o)&&(ct(o[0])?y=o[0]:Lr(o[0])&&(g.columnGap=`${o[0]}px`),ct(o[1])?v=o[1]:Lr(o[1])&&(g.rowGap=`${o[1]}px`));const S=X(Pn,r,{[`${Pn}-align-${c}`]:c,[`${Pn}-vertical`]:u,[`${Pn}-horizontal`]:!u,[`${Pn}-wrap`]:p,[`${Pn}-tight-horizontal`]:y===ui.SPACING_TIGHT,[`${Pn}-tight-vertical`]:v===ui.SPACING_TIGHT,[`${Pn}-medium-horizontal`]:y===ui.SPACING_MEDIUM,[`${Pn}-medium-vertical`]:v===ui.SPACING_MEDIUM,[`${Pn}-loose-horizontal`]:y===ui.SPACING_LOOSE,[`${Pn}-loose-vertical`]:v===ui.SPACING_LOOSE}),D=Eh(e),_=Fh(this.props);return k.createElement("div",Object.assign({},_,{className:S,style:g,"x-semi-prop":"children"}),D)}}ko.propTypes={wrap:m.bool,align:m.oneOf(ui.ALIGN_SET),vertical:m.bool,spacing:m.oneOfType([m.string,m.number,m.array]),children:m.node,style:m.object,className:m.string};ko.defaultProps={vertical:!1,wrap:!1,spacing:"tight",align:"center"};var y$=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const Ct=ok.PREFIX;class Dl extends T.PureComponent{constructor(){super(...arguments),this.renderHeader=()=>{const{title:e,headerExtraContent:n,header:r,headerLine:o,headerStyle:s}=this.props,c=X(`${Ct}-header`,{[`${Ct}-header-bordered`]:!!o}),u=X(`${Ct}-header-wrapper`),p=X(`${Ct}-header-wrapper-title`,{[`${Ct}-header-wrapper-spacing`]:!!n});return r||n||e?k.createElement("div",{style:s,className:c},r||k.createElement("div",{className:u},n&&k.createElement("div",{className:`${Ct}-header-wrapper-extra`,"x-semi-prop":"headerExtraContent"},n),e&&k.createElement("div",{className:p},ct(e)?k.createElement(Qe.Title,{heading:6,ellipsis:{showTooltip:!0,rows:1},"x-semi-prop":"title"},e):e))):null},this.renderCover=()=>{const{cover:e}=this.props,n=X(`${Ct}-cover`);return e&&k.createElement("div",{className:n,"x-semi-prop":"cover"},e)},this.renderBody=()=>{const{bodyStyle:e,children:n,actions:r,loading:o}=this.props,s=X(`${Ct}-body`),c=X(`${Ct}-body-actions`),u=X(`${Ct}-body-actions-item`),p=k.createElement("div",null,k.createElement(zn.Title,null),k.createElement("br",null),k.createElement(zn.Paragraph,{rows:3}));return k.createElement("div",{style:e,className:s},n&&k.createElement(zn,{placeholder:p,loading:o,active:!0},n),Array.isArray(r)&&k.createElement("div",{className:c},k.createElement(ko,{spacing:12},r.map((g,y)=>k.createElement("div",{key:y,className:u,"x-semi-prop":`actions.${y}`},g)))))},this.renderFooter=()=>{const{footer:e,footerLine:n,footerStyle:r}=this.props,o=X(`${Ct}-footer`,{[`${Ct}-footer-bordered`]:n});return e&&k.createElement("div",{style:r,className:o,"x-semi-prop":"footer"},e)}}render(){const e=this.props,{bordered:n,shadows:r,style:o,className:s}=e,c=y$(e,["bordered","shadows","style","className"]),u=vi(c,["actions","bodyStyle","cover","headerExtraContent","footer","footerLine","footerStyle","header","headerLine","headerStyle","loading","title"]),p=X(Ct,s,{[`${Ct}-bordered`]:n,[`${Ct}-shadows`]:r,[`${Ct}-shadows-${r}`]:r});return k.createElement("div",Object.assign({},u,{"aria-busy":this.props.loading,className:p,style:o}),this.renderHeader(),this.renderCover(),this.renderBody(),this.renderFooter())}}Dl.Meta=sk;Dl.propTypes={actions:m.array,bodyStyle:m.object,bordered:m.bool,children:m.node,className:m.string,cover:m.node,footer:m.node,footerLine:m.bool,footerStyle:m.object,header:m.node,headerExtraContent:m.node,headerLine:m.bool,headerStyle:m.object,loading:m.bool,shadows:m.oneOf(a$.SHADOWS),style:m.object,title:m.node,"aria-label":m.string};Dl.defaultProps={bordered:!0,footerLine:!1,headerLine:!0,loading:!1};var Xg,s1;function v$(){if(s1)return Xg;s1=1;function i(e,n,r,o){for(var s=e.length,c=r+(o?1:-1);o?c--:++c<s;)if(n(e[c],c,e))return c;return-1}return Xg=i,Xg}var Yg,l1;function S$(){if(l1)return Yg;l1=1;function i(e){return e!==e}return Yg=i,Yg}var Jg,c1;function b$(){if(c1)return Jg;c1=1;function i(e,n,r){for(var o=r-1,s=e.length;++o<s;)if(e[o]===n)return o;return-1}return Jg=i,Jg}var Zg,u1;function w$(){if(u1)return Zg;u1=1;var i=v$(),e=S$(),n=b$();function r(o,s,c){return s===s?n(o,s,c):i(o,e,c)}return Zg=r,Zg}var eh,d1;function C$(){if(d1)return eh;d1=1;var i=w$();function e(n,r){var o=n==null?0:n.length;return!!o&&i(n,r,0)>-1}return eh=e,eh}var th,p1;function k$(){if(p1)return th;p1=1;function i(e,n,r){for(var o=-1,s=e==null?0:e.length;++o<s;)if(r(n,e[o]))return!0;return!1}return th=i,th}var nh,g1;function P$(){if(g1)return nh;g1=1;var i=zC(),e=C$(),n=k$(),r=Mh(),o=ml(),s=qC(),c=200;function u(p,g,y,v){var S=-1,D=e,_=!0,b=p.length,w=[],E=g.length;if(!b)return w;y&&(g=r(g,o(y))),v?(D=n,_=!1):g.length>=c&&(D=s,_=!1,g=new i(g));e:for(;++S<b;){var R=p[S],O=y==null?R:y(R);if(R=v||R!==0?R:0,_&&O===O){for(var M=E;M--;)if(g[M]===O)continue e;w.push(R)}else D(g,O,v)||w.push(R)}return w}return nh=u,nh}function xh(){return xh=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(i[r]=n[r])}return i},xh.apply(null,arguments)}function D$(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,Th(i,e)}var h1=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function _$(i,e){return!!(i===e||h1(i)&&h1(e))}function T$(i,e){if(i.length!==e.length)return!1;for(var n=0;n<i.length;n++)if(!_$(i[n],e[n]))return!1;return!0}function rh(i,e){e===void 0&&(e=T$);var n,r=[],o,s=!1;function c(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return s&&n===this&&e(u,r)||(o=i.apply(this,u),s=!0,n=this,r=u),o}return c}var E$=typeof performance=="object"&&typeof performance.now=="function",m1=E$?function(){return performance.now()}:function(){return Date.now()};function f1(i){cancelAnimationFrame(i.id)}function x$(i,e){var n=m1();function r(){m1()-n>=e?i.call(null):o.id=requestAnimationFrame(r)}var o={id:requestAnimationFrame(r)};return o}var ih=-1;function y1(i){if(i===void 0&&(i=!1),ih===-1||i){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(e),ih=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return ih}var Ui=null;function v1(i){if(i===void 0&&(i=!1),Ui===null||i){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",e.appendChild(r),document.body.appendChild(e),e.scrollLeft>0?Ui="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?Ui="negative":Ui="positive-ascending"),document.body.removeChild(e),Ui}return Ui}var I$=150,$$=function(e,n){return e};function R$(i){var e,n=i.getItemOffset,r=i.getEstimatedTotalSize,o=i.getItemSize,s=i.getOffsetForIndexAndAlignment,c=i.getStartIndexForOffset,u=i.getStopIndexForStartIndex,p=i.initInstanceProps,g=i.shouldResetStyleCacheOnItemSizeChange,y=i.validateProps;return e=(function(v){D$(S,v);function S(_){var b;return b=v.call(this,_)||this,b._instanceProps=p(b.props,n1(b)),b._outerRef=void 0,b._resetIsScrollingTimeoutId=null,b.state={instance:n1(b),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof b.props.initialScrollOffset=="number"?b.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},b._callOnItemsRendered=void 0,b._callOnItemsRendered=rh(function(w,E,R,O){return b.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:E,visibleStartIndex:R,visibleStopIndex:O})}),b._callOnScroll=void 0,b._callOnScroll=rh(function(w,E,R){return b.props.onScroll({scrollDirection:w,scrollOffset:E,scrollUpdateWasRequested:R})}),b._getItemStyle=void 0,b._getItemStyle=function(w){var E=b.props,R=E.direction,O=E.itemSize,M=E.layout,F=b._getItemStyleCache(g&&O,g&&M,g&&R),N;if(F.hasOwnProperty(w))N=F[w];else{var A=n(b.props,w,b._instanceProps),G=o(b.props,w,b._instanceProps),U=R==="horizontal"||M==="horizontal",V=R==="rtl",B=U?A:0;F[w]=N={position:"absolute",left:V?void 0:B,right:V?B:void 0,top:U?0:A,height:U?"100%":G,width:U?G:"100%"}}return N},b._getItemStyleCache=void 0,b._getItemStyleCache=rh(function(w,E,R){return{}}),b._onScrollHorizontal=function(w){var E=w.currentTarget,R=E.clientWidth,O=E.scrollLeft,M=E.scrollWidth;b.setState(function(F){if(F.scrollOffset===O)return null;var N=b.props.direction,A=O;if(N==="rtl")switch(v1()){case"negative":A=-O;break;case"positive-descending":A=M-R-O;break}return A=Math.max(0,Math.min(A,M-R)),{isScrolling:!0,scrollDirection:F.scrollOffset<A?"forward":"backward",scrollOffset:A,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._onScrollVertical=function(w){var E=w.currentTarget,R=E.clientHeight,O=E.scrollHeight,M=E.scrollTop;b.setState(function(F){if(F.scrollOffset===M)return null;var N=Math.max(0,Math.min(M,O-R));return{isScrolling:!0,scrollDirection:F.scrollOffset<N?"forward":"backward",scrollOffset:N,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._outerRefSetter=function(w){var E=b.props.outerRef;b._outerRef=w,typeof E=="function"?E(w):E!=null&&typeof E=="object"&&E.hasOwnProperty("current")&&(E.current=w)},b._resetIsScrollingDebounced=function(){b._resetIsScrollingTimeoutId!==null&&f1(b._resetIsScrollingTimeoutId),b._resetIsScrollingTimeoutId=x$(b._resetIsScrolling,I$)},b._resetIsScrolling=function(){b._resetIsScrollingTimeoutId=null,b.setState({isScrolling:!1},function(){b._getItemStyleCache(-1,null)})},b}S.getDerivedStateFromProps=function(b,w){return O$(b,w),y(b),null};var D=S.prototype;return D.scrollTo=function(b){b=Math.max(0,b),this.setState(function(w){return w.scrollOffset===b?null:{scrollDirection:w.scrollOffset<b?"forward":"backward",scrollOffset:b,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},D.scrollToItem=function(b,w){w===void 0&&(w="auto");var E=this.props,R=E.itemCount,O=E.layout,M=this.state.scrollOffset;b=Math.max(0,Math.min(b,R-1));var F=0;if(this._outerRef){var N=this._outerRef;O==="vertical"?F=N.scrollWidth>N.clientWidth?y1():0:F=N.scrollHeight>N.clientHeight?y1():0}this.scrollTo(s(this.props,b,w,M,this._instanceProps,F))},D.componentDidMount=function(){var b=this.props,w=b.direction,E=b.initialScrollOffset,R=b.layout;if(typeof E=="number"&&this._outerRef!=null){var O=this._outerRef;w==="horizontal"||R==="horizontal"?O.scrollLeft=E:O.scrollTop=E}this._callPropsCallbacks()},D.componentDidUpdate=function(){var b=this.props,w=b.direction,E=b.layout,R=this.state,O=R.scrollOffset,M=R.scrollUpdateWasRequested;if(M&&this._outerRef!=null){var F=this._outerRef;if(w==="horizontal"||E==="horizontal")if(w==="rtl")switch(v1()){case"negative":F.scrollLeft=-O;break;case"positive-ascending":F.scrollLeft=O;break;default:var N=F.clientWidth,A=F.scrollWidth;F.scrollLeft=A-N-O;break}else F.scrollLeft=O;else F.scrollTop=O}this._callPropsCallbacks()},D.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&f1(this._resetIsScrollingTimeoutId)},D.render=function(){var b=this.props,w=b.children,E=b.className,R=b.direction,O=b.height,M=b.innerRef,F=b.innerElementType,N=b.innerTagName,A=b.itemCount,G=b.itemData,U=b.itemKey,V=U===void 0?$$:U,B=b.layout,te=b.outerElementType,ee=b.outerTagName,oe=b.style,se=b.useIsScrolling,he=b.width,ue=this.state.isScrolling,K=R==="horizontal"||B==="horizontal",J=K?this._onScrollHorizontal:this._onScrollVertical,I=this._getRangeToRender(),H=I[0],ae=I[1],re=[];if(A>0)for(var ie=H;ie<=ae;ie++)re.push(T.createElement(w,{data:G,key:V(ie,G),index:ie,isScrolling:se?ue:void 0,style:this._getItemStyle(ie)}));var ke=r(this.props,this._instanceProps);return T.createElement(te||ee||"div",{className:E,onScroll:J,ref:this._outerRefSetter,style:xh({position:"relative",height:O,width:he,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:R},oe)},T.createElement(F||N||"div",{children:re,ref:M,style:{height:K?"100%":ke,pointerEvents:ue?"none":void 0,width:K?ke:"100%"}}))},D._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var b=this.props.itemCount;if(b>0){var w=this._getRangeToRender(),E=w[0],R=w[1],O=w[2],M=w[3];this._callOnItemsRendered(E,R,O,M)}}if(typeof this.props.onScroll=="function"){var F=this.state,N=F.scrollDirection,A=F.scrollOffset,G=F.scrollUpdateWasRequested;this._callOnScroll(N,A,G)}},D._getRangeToRender=function(){var b=this.props,w=b.itemCount,E=b.overscanCount,R=this.state,O=R.isScrolling,M=R.scrollDirection,F=R.scrollOffset;if(w===0)return[0,0,0,0];var N=c(this.props,F,this._instanceProps),A=u(this.props,N,F,this._instanceProps),G=!O||M==="backward"?Math.max(1,E):1,U=!O||M==="forward"?Math.max(1,E):1;return[Math.max(0,N-G),Math.max(0,Math.min(w-1,A+U)),N,A]},S})(T.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var O$=function(e,n){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,n.instance},N$=R$({getItemOffset:function(e,n){var r=e.itemSize;return n*r},getItemSize:function(e,n){var r=e.itemSize;return r},getEstimatedTotalSize:function(e){var n=e.itemCount,r=e.itemSize;return r*n},getOffsetForIndexAndAlignment:function(e,n,r,o,s,c){var u=e.direction,p=e.height,g=e.itemCount,y=e.itemSize,v=e.layout,S=e.width,D=u==="horizontal"||v==="horizontal",_=D?S:p,b=Math.max(0,g*y-_),w=Math.min(b,n*y),E=Math.max(0,n*y-_+y+c);switch(r==="smart"&&(o>=E-_&&o<=w+_?r="auto":r="center"),r){case"start":return w;case"end":return E;case"center":{var R=Math.round(E+(w-E)/2);return R<Math.ceil(_/2)?0:R>b+Math.floor(_/2)?b:R}default:return o>=E&&o<=w?o:o<E?E:w}},getStartIndexForOffset:function(e,n){var r=e.itemCount,o=e.itemSize;return Math.max(0,Math.min(r-1,Math.floor(n/o)))},getStopIndexForStartIndex:function(e,n,r){var o=e.direction,s=e.height,c=e.itemCount,u=e.itemSize,p=e.layout,g=e.width,y=o==="horizontal"||p==="horizontal",v=n*u,S=y?g:s,D=Math.ceil((S+r-v)/u);return Math.max(0,Math.min(c-1,n+D-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const lk={PREFIX:`${Ie}-tag`},aa={TAG_SIZE:["default","small","large"],TAG_COLOR:["grey","red","pink","purple","violet","indigo","blue","light-blue","cyan","teal","green","light-green","lime","yellow","amber","orange","white"],TAG_TYPE:["light","solid","ghost"],AVATAR_SHAPE:["square","circle"]};var A$=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const kt=lk.PREFIX,ck=aa.TAG_COLOR,uk=aa.TAG_SIZE,dk=aa.TAG_TYPE,L$=aa.AVATAR_SHAPE;let pn=class pk extends T.Component{constructor(e){super(e),this.state={visible:!0},this.close=this.close.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}static getDerivedStateFromProps(e){return"visible"in e?{visible:e.visible}:null}setVisible(e){"visible"in this.props||this.setState({visible:e})}close(e,n,r){const{onClose:o}=this.props;e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),o&&o(n,e,r),!e.defaultPrevented&&this.setVisible(!1)}handleKeyDown(e){const{closable:n,onClick:r,onKeyDown:o}=this.props;switch(e.key){case"Backspace":case"Delete":n&&this.close(e,this.props.children,this.props.tagKey),Nr(e);break;case"Enter":r(e),Nr(e);break;case"Escape":e.target.blur();break}o&&o(e)}renderAvatar(){const{avatarShape:e,avatarSrc:n}=this.props;return k.createElement(Ji,{src:n,shape:e})}render(){const e=this.props,{tagKey:n,children:r,size:o,color:s,closable:c,visible:u,onClose:p,onClick:g,className:y,type:v,shape:S,avatarSrc:D,avatarShape:_,tabIndex:b,prefixIcon:w,suffixIcon:E}=e,R=A$(e,["tagKey","children","size","color","closable","visible","onClose","onClick","className","type","shape","avatarSrc","avatarShape","tabIndex","prefixIcon","suffixIcon"]),{visible:O}=this.state,M=g!==pk.defaultProps.onClick||c,F={role:"button",tabIndex:b||0,onKeyDown:this.handleKeyDown},N=Object.assign(Object.assign({},R),{onClick:g,tabIndex:b,className:X(kt,{[`${kt}-default`]:o==="default",[`${kt}-small`]:o==="small",[`${kt}-large`]:o==="large",[`${kt}-square`]:S==="square",[`${kt}-circle`]:S==="circle",[`${kt}-${v}`]:v,[`${kt}-${s}-${v}`]:s&&v,[`${kt}-closable`]:c,[`${kt}-invisible`]:!O,[`${kt}-avatar-${_}`]:D},y)}),A=M?Object.assign(Object.assign({},N),F):N,G=c?k.createElement("div",{className:`${kt}-close`,onClick:B=>this.close(B,r,n)},k.createElement(tm,{size:"small"})):null,U=ct(r),V=X(`${kt}-content`,`${kt}-content-${U?"ellipsis":"center"}`);return k.createElement("div",Object.assign({"aria-label":this.props["aria-label"]||U?`${c?"Closable ":""}Tag: ${r}`:""},A),w?k.createElement("div",{className:`${kt}-prefix-icon`},w):null,D?this.renderAvatar():null,k.createElement("div",{className:V},r),E?k.createElement("div",{className:`${kt}-suffix-icon`},E):null,G)}};pn.defaultProps={size:uk[0],color:ck[0],closable:!1,type:dk[0],onClose:()=>{},onClick:()=>{},onMouseEnter:()=>{},style:{},className:"",shape:"square",avatarShape:"square",prefixIcon:null,suffixIcon:null};pn.propTypes={children:m.node,tagKey:m.oneOfType([m.string,m.number]),size:m.oneOf(uk),color:m.oneOf(ck),type:m.oneOf(dk),closable:m.bool,visible:m.bool,onClose:m.func,onClick:m.func,prefixIcon:m.node,suffixIcon:m.node,style:m.object,className:m.string,avatarSrc:m.string,avatarShape:m.oneOf(L$),"aria-label":m.string};var M$=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};Bn.Consumer;class mm extends k.Component{constructor(e){super(e)}renderChildren(){const{direction:e,children:n}=this.props;return e==="rtl"?k.createElement("div",{className:`${Ie}-rtl`},n):n}render(){const e=this.props,{children:n,direction:r}=e,o=M$(e,["children","direction"]);return k.createElement(Bn.Provider,{value:Object.assign({direction:r},o)},this.renderChildren())}}mm.propTypes={locale:m.object,timeZone:m.oneOfType([m.string,m.number]),getPopupContainer:m.func,direction:m.oneOf(["ltr","rtl"])};mm.defaultProps={locale:Js,direction:"ltr"};var j$=Function.prototype.toString,ah=Object.create,F$=Object.prototype.toString,G$=(function(){function i(){this._keys=[],this._values=[]}return i.prototype.has=function(e){return!!~this._keys.indexOf(e)},i.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},i.prototype.set=function(e,n){this._keys.push(e),this._values.push(n)},i})();function W$(){return new G$}function z$(){return new WeakMap}var q$=typeof WeakMap<"u"?z$:W$;function fm(i){if(!i)return ah(null);var e=i.constructor;if(e===Object)return i===Object.prototype?{}:ah(i);if(e&&~j$.call(e).indexOf("[native code]"))try{return new e}catch{}return ah(i)}function U$(i){var e="";return i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.unicode&&(e+="u"),i.sticky&&(e+="y"),e}function B$(i){return i.flags}var H$=/test/g.flags==="g"?B$:U$;function gk(i){var e=F$.call(i);return e.substring(8,e.length-1)}function V$(i){return i[Symbol.toStringTag]||gk(i)}var K$=typeof Symbol<"u"?V$:gk,Q$=Object.defineProperty,X$=Object.getOwnPropertyDescriptor,hk=Object.getOwnPropertyNames,ym=Object.getOwnPropertySymbols,mk=Object.prototype,fk=mk.hasOwnProperty,Y$=mk.propertyIsEnumerable,yk=typeof ym=="function";function J$(i){return hk(i).concat(ym(i))}var Z$=yk?J$:hk;function _l(i,e,n){for(var r=Z$(i),o=0,s=r.length,c=void 0,u=void 0;o<s;++o)if(c=r[o],!(c==="callee"||c==="caller")){if(u=X$(i,c),!u){e[c]=n.copier(i[c],n);continue}!u.get&&!u.set&&(u.value=n.copier(u.value,n));try{Q$(e,c,u)}catch{e[c]=u.value}}return e}function eR(i,e){var n=new e.Constructor;e.cache.set(i,n);for(var r=0,o=i.length;r<o;++r)n[r]=e.copier(i[r],e);return n}function tR(i,e){var n=new e.Constructor;return e.cache.set(i,n),_l(i,n,e)}function vk(i,e){return i.slice(0)}function nR(i,e){return i.slice(0,i.size,i.type)}function rR(i,e){return new e.Constructor(vk(i.buffer))}function iR(i,e){return new e.Constructor(i.getTime())}function Sk(i,e){var n=new e.Constructor;return e.cache.set(i,n),i.forEach(function(r,o){n.set(o,e.copier(r,e))}),n}function aR(i,e){return _l(i,Sk(i,e),e)}function oR(i,e){var n=fm(e.prototype);e.cache.set(i,n);for(var r in i)fk.call(i,r)&&(n[r]=e.copier(i[r],e));return n}function sR(i,e){var n=fm(e.prototype);e.cache.set(i,n);for(var r in i)fk.call(i,r)&&(n[r]=e.copier(i[r],e));for(var o=ym(i),s=0,c=o.length,u=void 0;s<c;++s)u=o[s],Y$.call(i,u)&&(n[u]=e.copier(i[u],e));return n}var lR=yk?sR:oR;function cR(i,e){var n=fm(e.prototype);return e.cache.set(i,n),_l(i,n,e)}function oh(i,e){return new e.Constructor(i.valueOf())}function uR(i,e){var n=new e.Constructor(i.source,H$(i));return n.lastIndex=i.lastIndex,n}function Hs(i,e){return i}function bk(i,e){var n=new e.Constructor;return e.cache.set(i,n),i.forEach(function(r){n.add(e.copier(r,e))}),n}function dR(i,e){return _l(i,bk(i,e),e)}var pR=Array.isArray,vm=Object.assign,gR=Object.getPrototypeOf||(function(i){return i.__proto__}),wk={array:eR,arrayBuffer:vk,blob:nR,dataView:rR,date:iR,error:Hs,map:Sk,object:lR,regExp:uR,set:bk},hR=vm({},wk,{array:tR,map:aR,object:cR,set:dR});function mR(i){return{Arguments:i.object,Array:i.array,ArrayBuffer:i.arrayBuffer,Blob:i.blob,Boolean:oh,DataView:i.dataView,Date:i.date,Error:i.error,Float32Array:i.arrayBuffer,Float64Array:i.arrayBuffer,Int8Array:i.arrayBuffer,Int16Array:i.arrayBuffer,Int32Array:i.arrayBuffer,Map:i.map,Number:oh,Object:i.object,Promise:Hs,RegExp:i.regExp,Set:i.set,String:oh,WeakMap:Hs,WeakSet:Hs,Uint8Array:i.arrayBuffer,Uint8ClampedArray:i.arrayBuffer,Uint16Array:i.arrayBuffer,Uint32Array:i.arrayBuffer,Uint64Array:i.arrayBuffer}}function Ck(i){var e=vm({},wk,i),n=mR(e),r=n.Array,o=n.Object;function s(c,u){if(u.prototype=u.Constructor=void 0,!c||typeof c!="object")return c;if(u.cache.has(c))return u.cache.get(c);if(u.prototype=gR(c),u.Constructor=u.prototype&&u.prototype.constructor,!u.Constructor||u.Constructor===Object)return o(c,u);if(pR(c))return r(c,u);var p=n[K$(c)];return p?p(c,u):typeof c.then=="function"?c:o(c,u)}return function(u){return s(u,{Constructor:void 0,cache:q$(),copier:s,prototype:void 0})}}function fR(i){return Ck(vm({},hR,i))}fR({});var el=Ck({});const yR={PREFIX:`${Ie}`};var vR=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const li=yR.PREFIX,SR=i=>{const{layout:e="horizontal",dashed:n,align:r="center",className:o,margin:s,style:c,children:u}=i,p=vR(i,["layout","dashed","align","className","margin","style","children"]),g=X(`${li}-divider`,o,{[`${li}-divider-horizontal`]:e==="horizontal",[`${li}-divider-vertical`]:e==="vertical",[`${li}-divider-dashed`]:!!n,[`${li}-divider-with-text`]:u&&e==="horizontal",[`${li}-divider-with-text-${r}`]:u&&e==="horizontal"});let y={};return s!==void 0&&(e==="vertical"?y={marginLeft:s,marginRight:s}:e==="horizontal"&&(y={marginTop:s,marginBottom:s})),k.createElement("div",Object.assign({},p,{className:g,style:Object.assign(Object.assign({},y),c)}),u&&e==="horizontal"?typeof u=="string"?k.createElement("span",{className:`${li}-divider_inner-text`,"x-semi-prop":"children"},u):u:null)},Me={DIALOG:`${Ie}-modal`},S1={SIZE:["small","medium","large","full-width"],directions:["ltr","rtl"]};function bR(i){return i!==null&&typeof i=="object"}function b1(i){return bR(i)&&typeof i.then=="function"}class wR extends Wt{constructor(e){super(Object.assign({},e)),this.toggleDisplayNone=(n,r)=>{this._adapter.toggleDisplayNone(n,r)}}destroy(){this.afterHide()}handleCancel(e){var n;const r=this._adapter.notifyCancel(e);b1(r)&&(this._adapter.setState({onCancelReturnPromiseStatus:"pending"}),(n=r?.then(()=>{this._adapter.setState({onCancelReturnPromiseStatus:"fulfilled"})}))===null||n===void 0||n.catch(o=>{throw this._adapter.setState({onCancelReturnPromiseStatus:"rejected"}),o}))}handleOk(e){var n;const r=this._adapter.notifyOk(e);b1(r)&&(this._adapter.setState({onOKReturnPromiseStatus:"pending"}),(n=r?.then(()=>{this._adapter.setState({onOKReturnPromiseStatus:"fulfilled"})}))===null||n===void 0||n.catch(o=>{throw this._adapter.setState({onOKReturnPromiseStatus:"rejected"}),o}))}beforeShow(){this._adapter.disabledBodyScroll()}afterHide(){this._adapter.enabledBodyScroll(),this._adapter.notifyClose()}enabledBodyScroll(){this._adapter.enabledBodyScroll()}}class Sm extends Wt{constructor(e){super(Object.assign(Object.assign({},Sm.defaultAdapter),e)),this.handleKeyDown=n=>{const{closeOnEsc:r}=this.getProps();if(r&&n.keyCode===Or.ESC){n.stopPropagation(),this.close(n);return}}}destroy(){this.handleKeyDownEventListenerUnmount(),this.modalDialogBlur(),this.prevFocusElementReFocus()}handleDialogMouseDown(){this._adapter.notifyDialogMouseDown()}handleMaskMouseUp(){this._adapter.notifyDialogMouseUp()}handleKeyDownEventListenerMount(){this._adapter.addKeyDownEventListener()}handleKeyDownEventListenerUnmount(){this._adapter.removeKeyDownEventListener()}getMouseState(){this._adapter.getMouseState()}handleMaskClick(e){const{dialogMouseDown:n}=this.getStates();e.target===e.currentTarget&&!n&&this.close(e)}close(e){this._adapter.notifyClose(e)}modalDialogFocus(){this._adapter.modalDialogFocus()}modalDialogBlur(){this._adapter.modalDialogBlur()}prevFocusElementReFocus(){this._adapter.prevFocusElementReFocus()}}var sh,w1;function CR(){if(w1)return sh;w1=1;var i=P$(),e=OC(),n=TC(),r=e(function(o,s){return n(o)?i(o,s):[]});return sh=r,sh}var kR=CR();const PR=Xe(kR);class Ar{constructor(e,n){var r;this.addFocusRedirectListener=o=>(this.focusRedirectListenerList.push(o),()=>this.removeFocusRedirectListener(o)),this.removeFocusRedirectListener=o=>{this.focusRedirectListenerList=PR(this.focusRedirectListenerList,o)},this.destroy=()=>{var o;(o=this.container)===null||o===void 0||o.removeEventListener("keydown",this.onKeyPress)},this.shouldFocusRedirect=o=>{if(!this.enable)return!1;for(const s of this.focusRedirectListenerList)if(!s(o))return!1;return!0},this.focusElement=(o,s)=>{const{preventScroll:c}=this.options;o?.focus({preventScroll:c}),s.preventDefault()},this.onKeyPress=o=>{if(o&&o.key==="Tab"){const s=Ar.getFocusableElements(this.container);s.length&&(o.shiftKey?this.handleContainerShiftTabKeyDown(s,o):this.handleContainerTabKeyDown(s,o))}},this.handleContainerTabKeyDown=(o,s)=>{const c=Ar.getActiveElement(),u=o[o.length-1]===c,p=o[0];u&&this.shouldFocusRedirect(p)&&this.focusElement(p,s)},this.handleContainerShiftTabKeyDown=(o,s)=>{const c=Ar.getActiveElement(),u=o[0]===c,p=o[o.length-1];u&&this.shouldFocusRedirect(p)&&this.focusElement(p,s)},Object.freeze(n),this.container=e,this.options=n,this.enable=(r=n?.enable)!==null&&r!==void 0?r:!0,this.focusRedirectListenerList=n?.onFocusRedirectListener?Array.isArray(n.onFocusRedirectListener)?[...n.onFocusRedirectListener]:[n.onFocusRedirectListener]:[],this.container.addEventListener("keydown",this.onKeyPress)}get enable(){return this._enable}set enable(e){this._enable=e}static getFocusableElements(e){if(!di(e))return[];const r=["input:not([disabled]):not([tabindex='-1'])","textarea:not([disabled]):not([tabindex='-1'])","button:not([disabled]):not([tabindex='-1'])","a[href]:not([tabindex='-1'])","select:not([disabled]):not([tabindex='-1'])","area[href]:not([tabindex='-1'])","iframe:not([tabindex='-1'])","object:not([tabindex='-1'])","*[tabindex]:not([tabindex='-1'])","*[contenteditable]:not([tabindex='-1'])"].join(",");return Array.from(e.querySelectorAll(r))}static getActiveElement(){return document?document.activeElement:null}}var lh=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};let DR=0;class Tl extends Rt{constructor(e){super(e),this.onKeyDown=n=>{this.foundation.handleKeyDown(n)},this.onDialogMouseDown=()=>{this.foundation.handleDialogMouseDown()},this.onMaskMouseUp=()=>{this.foundation.handleMaskMouseUp()},this.onMaskClick=n=>{this.foundation.handleMaskClick(n)},this.close=n=>{this.foundation.close(n)},this.getMaskElement=()=>{const n=lh(this.props,[]),{mask:r,maskClassName:o}=n;if(r){const s=X(`${Me.DIALOG}-mask`,{});return k.createElement("div",Object.assign({key:"mask"},this.props.maskExtraProps,{className:X(s,o),style:n.maskStyle}))}return null},this.renderCloseBtn=()=>{const{closable:n,closeIcon:r}=this.props;let o;if(n){const s=r||k.createElement(tm,{"x-semi-prop":"closeIcon"});o=k.createElement(bi,{"aria-label":"close",className:`${Me.DIALOG}-close`,key:"close-btn",onClick:this.close,type:"tertiary",icon:s,theme:"borderless",size:"small"})}return o},this.renderIcon=()=>{const{icon:n}=this.props;return n?k.createElement("span",{className:`${Me.DIALOG}-icon-wrapper`,"x-semi-prop":"icon"},n):null},this.renderHeader=()=>{if("header"in this.props)return this.props.header;const{title:n}=this.props,r=this.renderCloseBtn(),o=this.renderIcon();return n==null?null:k.createElement("div",{className:`${Me.DIALOG}-header`},o,k.createElement(Qe.Title,{heading:5,className:`${Me.DIALOG}-title`,id:`${Me.DIALOG}-title`,"x-semi-prop":"title"},n),r)},this.renderBody=()=>{const{bodyStyle:n,children:r,title:o}=this.props,s=X(`${Me.DIALOG}-body`,{[`${Me.DIALOG}-withIcon`]:this.props.icon}),c=this.renderCloseBtn(),u=this.renderIcon();return o!=null||"header"in this.props?k.createElement("div",{className:s,id:`${Me.DIALOG}-body`,style:n,"x-semi-prop":"children"},r):k.createElement("div",{className:`${Me.DIALOG}-body-wrapper`},u,k.createElement("div",{className:s,style:n,"x-semi-prop":"children"},r),c)},this.getDialogElement=()=>{const n=lh(this.props,[]),r={},o=X(`${Me.DIALOG}`,{[`${Me.DIALOG}-centered`]:n.centered,[`${Me.DIALOG}-${n.size}`]:n.size});n.width&&(r.width=n.width),n.height&&(r.height=n.height),n.isFullScreen&&(r.width="100%",r.height="100%",r.margin="unset");const s=this.renderBody(),c=this.renderHeader(),u=n.footer?k.createElement("div",{className:`${Me.DIALOG}-footer`,"x-semi-prop":"footer"},n.footer):null,p=k.createElement("div",{role:"dialog",ref:this.modalDialogRef,"aria-modal":"true","aria-labelledby":`${Me.DIALOG}-title`,"aria-describedby":`${Me.DIALOG}-body`,onAnimationEnd:n.onAnimationEnd,className:X([`${Me.DIALOG}-content`,n.contentClassName,{[`${Me.DIALOG}-content-fullScreen`]:n.isFullScreen,[`${Me.DIALOG}-content-height-set`]:n.height||xe(n.style,"height")}])},c,s,u);return k.createElement("div",{key:"dialog-element",className:o,onMouseDown:this.onDialogMouseDown,style:Object.assign(Object.assign({},n.style),r),id:this.dialogId},n?.modalRender?n?.modalRender(p):p)},this.state={dialogMouseDown:!1,prevFocusElement:Ar.getActiveElement()},this.foundation=new Sm(this.adapter),this.dialogId=`dialog-${DR++}`,this.modalDialogRef=k.createRef()}get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyClose:e=>{this.props.onClose(e)},notifyDialogMouseDown:()=>{this.setState({dialogMouseDown:!0})},notifyDialogMouseUp:()=>{this.state.dialogMouseDown&&(this.timeoutId=setTimeout(()=>{this.setState({dialogMouseDown:!1})},0))},addKeyDownEventListener:()=>{this.props.closeOnEsc&&document.addEventListener("keydown",this.foundation.handleKeyDown)},removeKeyDownEventListener:()=>{this.props.closeOnEsc&&document.removeEventListener("keydown",this.foundation.handleKeyDown)},getMouseState:()=>this.state.dialogMouseDown,modalDialogFocus:()=>{var e,n,r;const{preventScroll:o}=this.props;let s;if(this.modalDialogRef){const c=Ar.getActiveElement();s=this.modalDialogRef.current.contains(c),(e=this.focusTrapHandle)===null||e===void 0||e.destroy(),this.focusTrapHandle=new Ar(this.modalDialogRef.current,{preventScroll:o})}s||(r=(n=this.modalDialogRef)===null||n===void 0?void 0:n.current)===null||r===void 0||r.focus({preventScroll:o})},modalDialogBlur:()=>{var e,n;(e=this.modalDialogRef)===null||e===void 0||e.current.blur(),(n=this.focusTrapHandle)===null||n===void 0||n.destroy()},prevFocusElementReFocus:()=>{const{prevFocusElement:e}=this.state,{preventScroll:n}=this.props,r=xe(e,"focus");Xt(r)&&e.focus({preventScroll:n})}})}componentDidMount(){var e;this.foundation.handleKeyDownEventListenerMount(),this.foundation.modalDialogFocus();const n=Ar.getFocusableElements(this.modalDialogRef.current);this.modalDialogRef.current.contains(document.activeElement)||(e=n[0])===null||e===void 0||e.focus()}componentWillUnmount(){clearTimeout(this.timeoutId),this.foundation.destroy()}render(){var e;const n=this.props,{maskClosable:r,className:o,getPopupContainer:s,maskFixed:c,getContainerContext:u}=n,p=lh(n,["maskClosable","className","getPopupContainer","maskFixed","getContainerContext"]),{direction:g}=this.context,y=X(o,{[`${Me.DIALOG}-popup`]:s&&s()!==((e=globalThis?.document)===null||e===void 0?void 0:e.body)&&!c,[`${Me.DIALOG}-fixed`]:c,[`${Me.DIALOG}-rtl`]:g==="rtl"}),v=u(),S=this.getDataAttr(p),D=k.createElement("div",Object.assign({className:y},S),this.getMaskElement(),k.createElement("div",Object.assign({role:"none",className:X({[`${Me.DIALOG}-wrap`]:!0,[`${Me.DIALOG}-wrap-center`]:this.props.centered}),onClick:r?this.onMaskClick:null,onMouseUp:r?this.onMaskMouseUp:null},this.props.contentExtraProps),this.getDialogElement()));return v&&v.Provider?k.createElement(v.Provider,{value:v.value},D):D}}Tl.contextType=Bn;Tl.propTypes={close:m.func,getContainerContext:m.func,contentClassName:m.string,maskClassName:m.string,onAnimationEnd:m.func,preventScroll:m.bool};Tl.defaultProps={close:fe,getContainerContext:fe,contentClassName:"",maskClassName:""};var _R=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const kk=i=>{const[e,n]=T.useState(!0),[r,o]=T.useState(),[s,c]=T.useState(),{direction:u}=i,{title:p,content:g,icon:y,type:v,onCancel:S,onOk:D,className:_}=i,b=_R(i,["title","content","icon","type","onCancel","onOk","className"]),w=T.useCallback(G=>{const U=D&&D(G);U&&U.then?(o(!0),U.then(function(){n(!1),o(!1)},V=>{o(!1)})):n(!1)},[D]),E=T.useCallback(G=>{const U=S&&S(G);U&&U.then?(c(!0),U.then(function(){n(!1),c(!1)},V=>{c(!1)})):n(!1)},[S]),R=`${Me.DIALOG}-confirm`,O=X(_,R,{[`${R}-rtl`]:u==="rtl"}),M=X(`${Me.DIALOG}-${v}`),F=Gn(y)?k.cloneElement(y,{className:`${R}-icon ${M}-icon`,size:"extra-large"}):y,N=p==null?null:k.createElement("span",{className:`${R}-title-text`},p),A=X(`${R}-content`,{[`${R}-content-withIcon`]:i.icon});return k.createElement(Gt,Object.assign({className:O,title:N,confirmLoading:r,cancelLoading:s,onOk:w,onCancel:E,icon:F,visible:e},b),k.createElement("div",{className:A,"x-semi-prop":"content"},g))};function Po(i){const e=document.createElement("div");document.body.appendChild(e);let n=Object.assign({},i);const r=()=>{nr.unmountComponentAtNode(e)&&e.parentNode&&e.parentNode.removeChild(e);for(let p=0;p<pi.length;p++)if(pi[p]===s){pi.splice(p,1);break}};function o(u){const{afterClose:p}=u;nr.render(k.createElement(kk,Object.assign({},u,{afterClose:function(){p?.(...arguments),r()},motion:i.motion})),e)}function s(){n=Object.assign(Object.assign({},n),{visible:!1}),o(n)}function c(u){n=Object.assign(Object.assign({},n),u),o(n)}return o(n),pi.push(s),{destroy:s,update:c}}function Pk(i){return Object.assign({type:"info",icon:k.createElement(nm,null)},i)}function Dk(i){return Object.assign({type:"success",icon:k.createElement(JC,null)},i)}function _k(i){return Object.assign({type:"warning",icon:k.createElement(em,null)},i)}function Tk(i){return Object.assign({type:"error",icon:k.createElement(Zh,null),okButtonProps:Object.assign({type:"danger"},i.okButtonProps)},vi(i,["okButtonProps"]))}function Ek(i){return Object.assign({type:"confirm",icon:k.createElement(cI,null)},i)}var TR=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const ER=(i,e)=>{var{afterClose:n,config:r}=i;TR(i,["afterClose","config"]);const[o,s]=k.useState(r);k.useImperativeHandle(e,()=>({destroy:()=>{s(u=>Object.assign(Object.assign({},u),{visible:!1}))},update:u=>{s(p=>Object.assign(Object.assign({},p),u))}}));const c=()=>{var u;(u=r?.afterClose)===null||u===void 0||u.call(r),n()};return k.createElement(kk,Object.assign({},o,{afterClose:c}))},xR=k.forwardRef(ER);let C1=0;function IR(){const[i,e]=k.useState([]);function n(r){return e(o=>[...o,r]),()=>{e(o=>o.filter(s=>s!==r))}}return[i,n]}function $R(){const[i,e]=IR();function n(r){return function(s){C1+=1;const c=k.createRef();let u;const p=k.createElement(xR,{key:`semi-modal-${C1}`,config:r(s),ref:c,afterClose:()=>{u()}});return u=e(p),{destroy:()=>{c.current&&c.current.destroy()},update:g=>{c.current&&c.current.update(g)}}}}return[{info:n(Pk),success:n(Dk),error:n(Tk),warning:n(_k),confirm:n(Ek)},k.createElement(k.Fragment,null,i)]}var RR=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};let pi=[];class Gt extends Rt{constructor(e){super(e),this.bodyOverflow=null,this.handleCancel=n=>{this.foundation.handleCancel(n)},this.handleOk=n=>{this.foundation.handleOk(n)},this.updateState=()=>{const{visible:n}=this.props;this.foundation.toggleDisplayNone(!n)},this.renderFooter=()=>{const{okText:n,okType:r,cancelText:o,confirmLoading:s,cancelLoading:c,hasCancel:u,footerFill:p}=this.props,g=y=>{var v;return u?k.createElement(tt,Object.assign({"aria-label":"cancel",onClick:this.handleCancel,loading:c===void 0?this.state.onCancelReturnPromiseStatus==="pending":c,type:"tertiary",block:p,autoFocus:!0},this.props.cancelButtonProps,{style:Object.assign(Object.assign({},p?{marginLeft:"unset"}:{}),(v=this.props.cancelButtonProps)===null||v===void 0?void 0:v.style),"x-semi-children-alias":"cancelText"}),o||y.cancel):null};return k.createElement(jr,{componentName:"Modal"},(y,v)=>k.createElement("div",{className:X({[`${Me.DIALOG}-footerfill`]:p})},g(y),k.createElement(tt,Object.assign({"aria-label":"confirm",type:r,theme:"solid",block:p,loading:s===void 0?this.state.onOKReturnPromiseStatus==="pending":s,onClick:this.handleOk},this.props.okButtonProps,{"x-semi-children-alias":"okText"}),n||y.confirm)))},this.renderDialog=()=>{var n;let r=this.props,{footer:o,className:s,motion:c,maskStyle:u,keepDOM:p,style:g,zIndex:y,getPopupContainer:v,visible:S,modalContentClass:D}=r,_=RR(r,["footer","className","motion","maskStyle","keepDOM","style","zIndex","getPopupContainer","visible","modalContentClass"]),b=g;const w=u,E="footer"in this.props?o:this.renderFooter();let R={zIndex:y};v&&v()!==((n=globalThis?.document)===null||n===void 0?void 0:n.body)&&(R={zIndex:y,position:"static"});const O=X(s,{[`${Me.DIALOG}-displayNone`]:p&&this.state.displayNone}),M=this.props.visible||this.props.keepDOM&&(!this.props.lazyRender||this._haveRendered)||this.props.motion&&!this.state.displayNone;return M&&(this._haveRendered=!0),k.createElement(po,{motion:this.props.motion,animationState:S?"enter":"leave",startClassName:S?`${Me.DIALOG}-content-animate-show`:`${Me.DIALOG}-content-animate-hide`,onAnimationEnd:()=>{this.updateState()}},F=>{let{animationClassName:N,animationEventsNeedBind:A}=F;return k.createElement(po,{motion:this.props.motion,animationState:S?"enter":"leave",startClassName:S?`${Me.DIALOG}-mask-animate-show`:`${Me.DIALOG}-mask-animate-hide`,onAnimationEnd:()=>{this.updateState()}},G=>{let{animationClassName:U,animationEventsNeedBind:V}=G;return M?k.createElement(bo,{style:R,getPopupContainer:v}," ",k.createElement(Tl,Object.assign({},_,{contentExtraProps:A,maskExtraProps:V,isFullScreen:this.state.isFullScreen,contentClassName:`${N} ${D}`,maskClassName:U,className:O,getPopupContainer:v,maskStyle:w,style:b,ref:this.modalRef,footer:E,onClose:this.handleCancel}))):k.createElement(k.Fragment,null)})})},this.state={displayNone:!e.visible,isFullScreen:e.fullScreen},this.foundation=new wR(this.adapter),this.modalRef=k.createRef(),this.scrollBarWidth=0,this.originBodyWidth="100%"}get adapter(){return Object.assign(Object.assign({},super.adapter),{getProps:()=>this.props,disabledBodyScroll:()=>{var e;const{getPopupContainer:n}=this.props;this.bodyOverflow=document.body.style.overflow||"",(!n||n()===((e=globalThis?.document)===null||e===void 0?void 0:e.body))&&this.bodyOverflow!=="hidden"&&(document.body.style.overflow="hidden",document.body.style.width=`calc(${this.originBodyWidth||"100%"} - ${this.scrollBarWidth}px)`)},enabledBodyScroll:()=>{var e;const{getPopupContainer:n}=this.props;(!n||n()===((e=globalThis?.document)===null||e===void 0?void 0:e.body))&&this.bodyOverflow!==null&&this.bodyOverflow!=="hidden"&&(document.body.style.overflow=this.bodyOverflow,document.body.style.width=this.originBodyWidth)},notifyCancel:e=>this.props.onCancel(e),notifyOk:e=>this.props.onOk(e),notifyClose:()=>{this.props.afterClose()},toggleDisplayNone:(e,n)=>{e!==this.state.displayNone&&this.setState({displayNone:e},n||fe)},notifyFullScreen:e=>{e!==this.state.isFullScreen&&this.setState({isFullScreen:e})}})}static getDerivedStateFromProps(e,n){const r={};return e.fullScreen!==n.isFullScreen&&(r.isFullScreen=e.fullScreen),e.visible&&n.displayNone&&(r.displayNone=!1),r}componentDidMount(){this.scrollBarWidth=h2(),this.originBodyWidth=document.body.style.width,this.props.visible&&this.foundation.beforeShow()}componentDidUpdate(e,n,r){!e.visible&&this.props.visible&&this.foundation.beforeShow(),!n.displayNone&&this.state.displayNone&&this.foundation.afterHide()}componentWillUnmount(){this.props.visible?this.foundation.destroy():this.foundation.enabledBodyScroll()}render(){const{visible:e,keepDOM:n,lazyRender:r}=this.props;return this.renderDialog()}}Gt.propTypes={mask:m.bool,closable:m.bool,centered:m.bool,visible:m.bool,width:m.oneOfType([m.string,m.number]),height:m.oneOfType([m.string,m.number]),confirmLoading:m.bool,cancelLoading:m.bool,okText:m.string,okType:m.string,cancelText:m.string,maskClosable:m.bool,onCancel:m.func,onOk:m.func,modalRender:m.func,afterClose:m.func,okButtonProps:m.object,cancelButtonProps:m.object,style:m.object,className:m.string,maskStyle:m.object,bodyStyle:m.object,zIndex:m.number,title:m.node,icon:m.node,header:m.node,footer:m.node,hasCancel:m.bool,motion:m.bool,children:m.node,getPopupContainer:m.func,getContainerContext:m.func,maskFixed:m.bool,closeIcon:m.node,closeOnEsc:m.bool,size:m.oneOf(S1.SIZE),keepDOM:m.bool,lazyRender:m.bool,direction:m.oneOf(S1.directions),fullScreen:m.bool,footerFill:m.bool};Gt.__SemiComponentName__="Modal";Gt.defaultProps=lr(Gt.__SemiComponentName__,{zIndex:1e3,motion:!0,mask:!0,centered:!1,closable:!0,visible:!1,okType:"primary",maskClosable:!0,hasCancel:!0,onCancel:fe,onOk:fe,afterClose:fe,maskFixed:!1,closeOnEsc:!0,size:"small",keepDOM:!1,lazyRender:!0,fullScreen:!1});Gt.useModal=$R;Gt.info=function(i){return Po(Pk(i))};Gt.success=function(i){return Po(Dk(i))};Gt.error=function(i){return Po(Tk(i))};Gt.warning=function(i){return Po(_k(i))};Gt.confirm=function(i){return Po(Ek(i))};Gt.destroyAll=function(){for(let e=0,n=pi.length;e<n;e++){const r=pi[e];r&&r()}pi=[]};class OR extends Wt{addNotice(e){const n=this._adapter.getNotices();this._adapter.updateNotices([e,...n])}has(e){return this._adapter.getNotices().some(n=>n.id===e)}update(e,n){let r=this._adapter.getNotices();r=r.map(s=>s.id===e?Object.assign(Object.assign({},s),n):s);const o=r.filter(s=>s.id===e);this._adapter.updateNotices(r,[],o)}removeNotice(e){let n=this._adapter.getNotices();const r=[];n=n.filter(o=>o.id===e?(r.push(o),!1):!0),this._adapter.updateNotices(n,r)}destroyAll(){const e=this._adapter.getNotices();e.length>0&&this._adapter.updateNotices([],e)}}const lo={WRAPPER:`${Ie}-notification-wrapper`,LIST:`${Ie}-notification-list`,NOTICE:`${Ie}-notification-notice`},xk={types:["warning","success","info","error","default"],themes:["normal","light"],directions:["ltr","rtl"]},NR={duration:3};class bm extends Wt{constructor(e){super(Object.assign(Object.assign({},bm.defaultAdapter),e)),this._timer=null,this._id=null}init(){this._startCloseTimer(),this._id=this.getProp("id")}destroy(){this._clearCloseTimer()}_startCloseTimer(){const e=this.getProp("duration");e&&Lr(e)&&(this._timer=setTimeout(()=>{this.close()},e*1e3))}close(e){e&&e.stopPropagation(),this._adapter.notifyWrapperToRemove(this._id),this._adapter.notifyClose()}_clearCloseTimer(){this._timer&&(clearTimeout(this._timer),this._timer=null)}restartCloseTimer(){this._clearCloseTimer(),this._startCloseTimer()}}var AR=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const Qt=lo.NOTICE,{duration:LR}=NR,{types:Ik,themes:MR,directions:jR}=xk;class fi extends Rt{get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyWrapperToRemove:e=>{this.props.close(e)},notifyClose:()=>{this.props.onClose(),this.props.onHookClose&&this.props.onHookClose()}})}constructor(e){super(e),this.clearCloseTimer=()=>{this.foundation._clearCloseTimer()},this.startCloseTimer=()=>{this.foundation._startCloseTimer()},this.close=n=>{this.props.onCloseClick(this.props.id),this.foundation.close(n)},this.notifyClick=n=>{this.props.onClick(n)},this.state={visible:!0},this.foundation=new bm(this.adapter)}componentWillUnmount(){this.foundation.destroy()}renderTypeIcon(){const{type:e,icon:n}=this.props;let o={warning:k.createElement(em,{size:"large"}),success:k.createElement(JC,{size:"large"}),info:k.createElement(nm,{size:"large"}),error:k.createElement(Zh,{size:"large"})}[e];const s=X({[`${Qt}-icon`]:!0,[`${Qt}-${e}`]:!0});return n&&(o=n),o?k.createElement("div",{className:s,"x-semi-prop":"icon"},Gn(o)?k.cloneElement(o,{size:o.props.size||"large"}):o):null}render(){const e=this.props.direction||this.context.direction,n=e==="rtl"?"topLeft":"topRight",r=this.props,{content:o,title:s,theme:c,position:u=n,type:p,id:g,onCloseClick:y,className:v,showClose:S,style:D}=r;AR(r,["content","title","theme","position","type","id","onCloseClick","className","showClose","style"]);const{visible:_}=this.state,b=X(Qt,v,{[`${Qt}-close`]:!_,[`${Qt}-icon-show`]:Ik.includes(p),[`${Qt}-${p}`]:!0,[`${Qt}-${c}`]:c==="light",[`${Qt}-rtl`]:e==="rtl"}),w=uo({});return k.createElement("div",{className:b,style:D,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:this.notifyClick,"aria-labelledby":w,role:"alert",onAnimationEnd:this.props.onAnimationEnd,onAnimationStart:this.props.onAnimationStart},k.createElement("div",null,this.renderTypeIcon()),k.createElement("div",{className:`${Qt}-inner`},k.createElement("div",{className:`${Qt}-content-wrapper`},s?k.createElement("div",{id:w,className:`${Qt}-title`,"x-semi-prop":"title"},s):"",o?k.createElement("div",{className:`${Qt}-content`,"x-semi-prop":"content"},o):""),S&&k.createElement(bi,{className:`${Qt}-icon-close`,type:"tertiary",icon:k.createElement(tm,null),theme:"borderless",size:"small",onClick:this.close})))}}fi.contextType=Bn;fi.propTypes={duration:m.number,id:m.string,title:m.node,content:m.node,type:m.oneOf(Ik),theme:m.oneOf(MR),icon:m.node,onClick:m.func,onClose:m.func,onCloseClick:m.func,showClose:m.bool,close:m.func,direction:m.oneOf(jR)};fi.__SemiComponentName__="Notification";fi.defaultProps=lr(fi.__SemiComponentName__,{duration:LR,id:"",close:fe,onClose:fe,onClick:fe,onCloseClick:fe,content:"",title:"",showClose:!0,theme:"normal"});var FR=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const GR=(i,e)=>{var{afterClose:n}=i,r=FR(i,["afterClose"]);const[o,s]=T.useState(!0),c=()=>{s(!1)};return k.useImperativeHandle(e,()=>({close:()=>{s(!1)}})),T.useEffect(()=>{o||n(String(r.id))},[o]),o?k.createElement(fi,Object.assign({},r,{onHookClose:c})):null},WR=k.forwardRef(GR),Qa={duration:3,position:"topRight",motion:!0,content:"",title:"",zIndex:1010};function zR(){const[i,e]=T.useState([]);function n(o,s){return e(c=>[{element:o,config:s},...c]),c=>{e(u=>u.filter(p=>{let{config:g}=p;return g.id!==c}))}}function r(){const o={top:[],topLeft:[],topRight:[],bottom:[],bottomLeft:[],bottomRight:[]};return i.forEach(s=>{let{element:c,config:u}=s;const{position:p}=u;o[p].push(c)}),Object.entries(o).map(s=>{const c=s[0],u=s[1];return Array.isArray(u)&&u.length?k.createElement("div",{key:c,className:X(lo.LIST),placement:c},u):null})}return[r(),n]}function qR(){const[i,e]=zR(),n=new Map,r=s=>{const c=Ys("semi_notice_"),u=Object.assign(Object.assign({},s),{id:c});let p;const g=v=>{n.set(c,v)},y=k.createElement(WR,Object.assign({key:c},u,{afterClose:v=>p(v),ref:g}));return p=e(y,Object.assign({},u)),c};return[{success:s=>r(Object.assign(Object.assign(Object.assign({},Qa),s),{type:"success"})),info:s=>r(Object.assign(Object.assign(Object.assign({},Qa),s),{type:"info"})),error:s=>r(Object.assign(Object.assign(Object.assign({},Qa),s),{type:"error"})),warning:s=>r(Object.assign(Object.assign(Object.assign({},Qa),s),{type:"warning"})),open:s=>r(Object.assign(Object.assign(Object.assign({},Qa),s),{type:"default"})),close:s=>{const c=n.get(s);c&&c.close()}},k.createElement(k.Fragment,null,i)]}let Dn=null;const Bi={duration:3,position:"topRight",motion:!0,content:"",title:"",zIndex:1010};class ir extends Rt{constructor(e){var n;super(e),n=this,this.add=r=>this.foundation.addNotice(r),this.has=r=>this.foundation.has(r),this.remove=r=>{this.foundation.removeNotice(String(r))},this.update=(r,o)=>this.foundation.update(r,o),this.destroyAll=()=>this.foundation.destroyAll(),this.renderNoticeInPosition=function(r,o){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];const u=X(lo.LIST);if(r.length){const p=n.setPosInStyle(r[0]);return k.createElement("div",{placement:o,key:o,className:u,style:p},r.map((g,y)=>{const v=s.find(S=>S.id===g.id)!==void 0;return k.createElement(po,{key:g.id,animationState:v?"leave":"enter",startClassName:`${lo.NOTICE}-animation-${v?"hide":"show"}_${o}`},S=>{let{animationClassName:D,animationEventsNeedBind:_,isAnimating:b}=S;return v&&!b?null:k.createElement(fi,Object.assign({},g,{ref:w=>{w&&c.some(E=>E.id===w.props.id)&&w.foundation.restartCloseTimer()},className:X({[g.className]:!!g.className,[D]:!0})},_,{style:Object.assign({},g.style),close:n.remove}))})}))}return null},this.state={notices:[],removedItems:[],updatedItems:[]},this.noticeStorage=[],this.removeItemStorage=[],this.foundation=new OR(this.adapter)}get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{updateNotices:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];e.noticeStorage=[...n],e.removeItemStorage=[...r],e.setState({notices:n,removedItems:r,updatedItems:o})},getNotices:()=>this.noticeStorage})}static addNotice(e){var n;e=Object.assign(Object.assign({},Bi),e);const r=(n=e.id)!==null&&n!==void 0?n:Ys("notification");if(Dn)Dn.has(`${r}`)?Dn.update(r,e):Dn.add(Object.assign(Object.assign({},e),{id:r}));else{const{getPopupContainer:o}=e,s=document.createElement("div");this.wrapperId||(this.wrapperId=Ys("notification-wrapper").slice(0,32)),s.className=lo.WRAPPER,s.id=this.wrapperId,s.style.zIndex=String(typeof e.zIndex=="number"?e.zIndex:Bi.zIndex),o?o().appendChild(s):document.body.appendChild(s),nr.render(k.createElement(ir,{ref:c=>Dn=c}),s,()=>{Dn.add(Object.assign(Object.assign({},e),{id:r}))})}return r}static removeNotice(e){return Dn&&Dn.remove(e),e}static info(e){return this.addNotice(Object.assign(Object.assign({},e),{type:"info"}))}static success(e){return this.addNotice(Object.assign(Object.assign({},e),{type:"success"}))}static error(e){return this.addNotice(Object.assign(Object.assign({},e),{type:"error"}))}static warning(e){return this.addNotice(Object.assign(Object.assign({},e),{type:"warning"}))}static open(e){return this.addNotice(Object.assign(Object.assign({},e),{type:"default"}))}static close(e){return this.removeNotice(e)}static destroyAll(){if(Dn){Dn.destroyAll();const e=document.querySelector(`#${this.wrapperId}`);nr.unmountComponentAtNode(e),e&&e.parentNode.removeChild(e),Dn=null,this.wrapperId=null}}static config(e){["top","left","bottom","right"].map(n=>{n in e&&(Bi[n]=e[n])}),typeof e.zIndex=="number"&&(Bi.zIndex=e.zIndex),typeof e.duration=="number"&&(Bi.duration=e.duration),typeof e.position=="string"&&(Bi.position=e.position)}setPosInStyle(e){const n={};return["top","left","bottom","right"].forEach(r=>{if(r in e){const o=e[r];n[r]=typeof o=="number"?`${o}px`:o}}),n}render(){let{notices:e}=this.state;const{removedItems:n,updatedItems:r}=this.state;e=Array.from(new Set([...e,...n]));const o={top:[],topLeft:[],topRight:[],bottom:[],bottomLeft:[],bottomRight:[]};e.forEach(c=>{const p=(c.direction||this.context.direction)==="rtl"?"topLeft":"topRight",g=c.position||p;o[g].push(c)});const s=Object.entries(o).map(c=>{const u=c[0],p=c[1];return this.renderNoticeInPosition(p,u,n,r)});return k.createElement(k.Fragment,null,s)}}ir.contextType=Bn;ir.propTypes={style:m.object,className:m.string,direction:m.oneOf(xk.directions)};ir.defaultProps={};ir.useNotification=qR;const UR={PREFIX:Ie+"-overflow-list"},k1={COLLAPSE:"collapse",SCROLL:"scroll"},P1={START:"start",END:"end"},BR={GROW:1},gi={BOUNDARY_SET:Object.values(P1),POSITION_SET:["vertical","horizontal"],MODE_SET:Object.values(k1),MODE_MAP:k1,BOUNDARY_MAP:P1,OVERFLOW_DIR:BR},D1={MINIMUM_HTML_ELEMENT_WIDTH:4};class wm extends k.PureComponent{componentDidMount(){const{items:e}=this.props;this.cachedKeys=Object.keys(e);const{root:n,threshold:r,rootMargin:o,option:s,onIntersect:c}=this.props;this.observer=new IntersectionObserver(c,Object.assign({root:n,threshold:r,rootMargin:o},s)),this.observeElement()}componentDidUpdate(){const{items:e}=this.props,n=Object.keys(e);_n(this.cachedKeys,n)||(this.observeElement(!0),this.cachedKeys=n)}componentWillUnmount(){this.observer&&(this.observer.disconnect(),this.observer=null)}observeElement(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const{items:n}=this.props;if(tr(n)){this.observer.disconnect();return}e&&this.observer.disconnect(),Object.keys(n).forEach(r=>{const o=n[r];o&&di(o)&&this.observer.observe(o)})}render(){const{children:e}=this.props;return e}}wm.propTypes={onIntersect:m.func,option:m.object,root:m.any,threshold:m.number,rootMargin:m.string,items:m.object};wm.defaultProps={onIntersect:()=>{},threshold:.75,rootMargin:"0px",option:{},items:{}};const HR=gi.BOUNDARY_MAP;class VR extends Wt{constructor(e){super(Object.assign({},e)),this.previousY=void 0,this.isScrollMode=()=>{const{renderMode:n}=this.getProps();return n==="scroll"},this.getReversedItems=()=>{const{items:n}=this.getProps();return el(n).reverse()}}getOverflowItem(){const{items:e}=this.getProps(),{visibleState:n,overflow:r}=this.getStates();if(!this.isScrollMode())return r;const o=e.map(p=>{let{key:g}=p;return!!n.get(g)}),s=o.indexOf(!0),c=o.lastIndexOf(!0),u=[];return u[0]=s>=0?e.slice(0,s):[],u[1]=c>=0?e.slice(c+1,e.length):e.slice(),u}handleIntersect(e){const n=el(this.getState("visibleState")),r={};e.forEach(p=>{const g=xe(p,"target.dataset.scrollkey"),y=p.isIntersecting;r[g]=p,n.set(g,y)});let o=!1;for(const p of n.values())if(p){o=!0;break}const s=o,[c]=e,u=c.boundingClientRect.y;if(!s&&this.previousY!==void 0&&u!==this.previousY){this.previousY=u;return}this.previousY=u,this._adapter.updateVisibleState(n),this._adapter.notifyIntersect(r)}handleCollapseOverflow(){const{minVisibleItems:e,collapseFrom:n}=this.getProps(),{overflowWidth:r,containerWidth:o,pivot:s,overflowStatus:c}=this.getStates(),{items:u,onOverflow:p}=this.getProps();let g=r,y=0,v=!1;for(const S of this._adapter.getItemSizeMap().values()){if(g+=S,g>o){v=!0;break}if(y===u.length-1){this._adapter.updateStates({overflowStatus:"normal",pivot:u.length-1,visible:u,overflow:[]});break}y++}if(v){const S=Math.max(e,y),D=n===HR.START,_=D?this.getReversedItems().slice(0,S).reverse():u.slice(0,S),b=D?this.getReversedItems().slice(S).reverse():u.slice(S);this._adapter.updateStates({overflowStatus:"overflowed",pivot:S,visible:_,overflow:b}),s!==S&&p(b);return}}}const Xa=UR.PREFIX,ch=gi.BOUNDARY_MAP,_1=gi.OVERFLOW_DIR,Ya=gi.MODE_MAP;class go extends Rt{constructor(e){var n;super(e),n=this,this.scroller=null,this.spacer=null,this.isScrollMode=()=>{const{renderMode:r}=this.props;return r===Ya.SCROLL},this.resize=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var o;const s=(o=r[0])===null||o===void 0?void 0:o.target.clientWidth;n.setState({containerWidth:s,overflowStatus:"calculating"})},this.reintersect=r=>{this.foundation.handleIntersect(r)},this.mergeRef=(r,o,s)=>{this.itemRefs[s]=o,typeof r=="function"?r(o):typeof r=="object"&&r&&"current"in r&&(r.current=o)},this.renderOverflow=()=>{const r=this.foundation.getOverflowItem();return this.props.overflowRenderer(r)},this.getItemKey=(r,o)=>{const{itemKey:s}=this.props;return Xt(s)?s(r):xe(r,s||"key",o)},this.renderItemList=()=>{const{className:r,wrapperClassName:o,wrapperStyle:s,style:c,visibleItemRenderer:u,renderMode:p,collapseFrom:g}=this.props,{visible:y,overflowStatus:v}=this.state;let S=this.renderOverflow();if(!this.isScrollMode()&&(Array.isArray(S)&&(S=k.createElement(k.Fragment,null,S)),k.isValidElement(S))){const b=k.cloneElement(S);S=k.createElement(Qi,{onResize:w=>{let[E]=w;this.setState({overflowWidth:E.target.clientWidth,overflowStatus:"calculating"})}},k.createElement("div",{className:`${Xa}-overflow`},b))}const D=p===Ya.SCROLL?(()=>{const b=[k.createElement("div",{className:X(o,`${Xa}-scroll-wrapper`),ref:w=>{this.scroller=w},style:Object.assign({},s),key:`${Xa}-scroll-wrapper`},y.map(u).map(w=>{const{forwardRef:E,key:R}=w;return k.cloneElement(w,{ref:O=>this.mergeRef(E,O,R),"data-scrollkey":`${R}`,key:R})}))];return this.props.overflowRenderDirection==="both"?(b.unshift(S[0]),b.push(S[1])):this.props.overflowRenderDirection==="start"?(b.unshift(S[1]),b.unshift(S[0])):(b.push(S[0]),b.push(S[1])),b})():[g===ch.START?S:null,y.map((b,w)=>{const{key:E}=b,R=u(b,w),O=k.cloneElement(R);return k.createElement(Qi,{key:E??w,onResize:M=>{let[F]=M;return this.onItemResize(F,b,w)}},k.createElement("div",{key:E??w,className:`${Xa}-item`},O))}),g===ch.END?S:null];return k.createElement("div",{className:X(`${Xa}`,r),style:Object.assign(Object.assign({},c),p===Ya.COLLAPSE?{maxWidth:"100%",visibility:v==="calculating"?"hidden":"visible"}:null)},...D)},this.onItemResize=(r,o,s)=>{const c=this.getItemKey(o,s),u=this.itemSizeMap.get(c);u?u!==r.target.clientWidth&&(this.itemSizeMap.set(c,r.target.clientWidth),this.setState({overflowStatus:"calculating"})):this.itemSizeMap.set(c,r.target.clientWidth);const{maxCount:p}=this.state;this.itemSizeMap.size===p&&this.setState({overflowStatus:"calculating"})},this.state={direction:_1.GROW,lastOverflowCount:0,overflow:[],visible:[],containerWidth:0,visibleState:new Map,itemSizeMap:new Map,overflowStatus:"calculating",pivot:-1,overflowWidth:0,maxCount:0},this.foundation=new VR(this.adapter),this.previousWidths=new Map,this.itemRefs={},this.itemSizeMap=new Map}static getDerivedStateFromProps(e,n){const{prevProps:r}=n,o={};o.prevProps=e;const s=c=>!r&&c in e||r&&!_n(r[c],e[c]);if(s("items")||s("style")){if(o.direction=_1.GROW,o.lastOverflowCount=0,o.maxCount=0,e.renderMode===Ya.SCROLL)o.visible=e.items,o.overflow=[];else{let c=e.items.length;Math.floor(n.containerWidth/D1.MINIMUM_HTML_ELEMENT_WIDTH)!==0&&(c=Math.min(c,Math.floor(n.containerWidth/D1.MINIMUM_HTML_ELEMENT_WIDTH)));const u=e.collapseFrom===ch.START,p=u?el(e.items).reverse().slice(0,c):e.items.slice(0,c),g=u?el(e.items).reverse().slice(c):e.items.slice(c);o.visible=p,o.overflow=g,o.maxCount=c}o.pivot=-1,o.overflowStatus="calculating"}return o}get adapter(){return Object.assign(Object.assign({},super.adapter),{updateVisibleState:e=>{this.setState({visibleState:e},()=>{var n,r;(r=(n=this.props).onVisibleStateChange)===null||r===void 0||r.call(n,e)})},updateStates:e=>{this.setState(Object.assign({},e))},notifyIntersect:e=>{this.props.onIntersect&&this.props.onIntersect(e)},getItemSizeMap:()=>this.itemSizeMap})}componentDidUpdate(e,n){const r=e.items.map(g=>g.key),o=this.props.items.map(g=>g.key);_n(r,o)||(this.itemRefs={},this.setState({visibleState:new Map}));const{overflow:s,containerWidth:c,visible:u,overflowStatus:p}=this.state;this.isScrollMode()||p!=="calculating"||this.foundation.handleCollapseOverflow()}render(){const e=this.renderItemList(),{renderMode:n}=this.props;return n===Ya.SCROLL?k.createElement(wm,{onIntersect:this.reintersect,root:this.scroller,threshold:this.props.threshold,items:this.itemRefs},e):k.createElement(Qi,{onResize:this.resize},e)}}go.__SemiComponentName__="OverflowList";go.defaultProps=lr(go.__SemiComponentName__,{collapseFrom:"end",minVisibleItems:0,overflowRenderer:()=>null,renderMode:"collapse",threshold:.75,visibleItemRenderer:()=>null,onOverflow:()=>null,overflowRenderDirection:"both"});go.propTypes={className:m.string,collapseFrom:m.oneOf(gi.BOUNDARY_SET),direction:m.oneOf(gi.POSITION_SET),items:m.array,minVisibleItems:m.number,onIntersect:m.func,onOverflow:m.func,overflowRenderer:m.func,renderMode:m.oneOf(gi.MODE_SET),style:m.object,threshold:m.number,visibleItemRenderer:m.func,wrapperClassName:m.string,wrapperStyle:m.object,collapseMask:m.object,overflowRenderDirection:m.string};const Cm={PREFIX:`${Ie}-select`,PREFIX_OPTION:`${Ie}-select-option`,PREFIX_GROUP:`${Ie}-select-group`},ar={SIZE_SET:["small","large","default"],POSITION_SET:Ki.POSITION_SET,STATUS:CT,SEARCH_POSITION_TRIGGER:"trigger",SEARCH_POSITION_DROPDOWN:"dropdown"},$k={LIST_HEIGHT:270};var T1=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};class KR extends Wt{constructor(e){super(Object.assign({},e)),this._keydownHandler=null}init(){this._setDropdownWidth();const e=this.getProp("defaultOpen"),n=this.getProp("open"),r=this._collectOptions();this._setDefaultSelection(r),(e||n)&&this.open(void 0,r),this.getProp("autoFocus")&&this.focus()}focus(){const e=this._isFilterable(),n=this._isMultiple();this._adapter.updateFocusState(!0),this._adapter.setIsFocusInContainer(!1),e&&n?this.focusInput():e&&!n?this.toggle2SearchInput(!0):this._focusTrigger()}_focusTrigger(){this._adapter.focusTrigger()}destroy(){this._adapter.unregisterClickOutsideHandler()}_setDropdownWidth(){const{style:e,dropdownMatchSelectWidth:n}=this.getProps();let r;n&&(e&&Lr(e.width)||e&&ct(e.width)&&!e.width.includes("%")?r=e.width:r=this._adapter.getTriggerWidth(),this._adapter.setOptionWrapperWidth(r))}_collectOptions(){const e=this._adapter.getOptionsFromChildren();return this._adapter.updateOptions(e),this._adapter.rePositionDropdown(),e}_setDefaultSelection(e){let{value:n}=this.getProps();const{defaultValue:r}=this.getProps();this._isControlledComponent()||(n=r),this._update(n,e)}handleOptionListChange(){const e=this._collectOptions(),{selections:n}=this.getStates();this.updateOptionsActiveStatus(n,e);const{defaultActiveFirstOption:r}=this.getProps();r&&this._adapter.updateFocusIndex(0)}handleOptionListChangeHadDefaultValue(){const e=this.getState("selections");let n;const{onChangeWithObject:r}=this.getProps(),o=this._isMultiple();switch(!0){case(o&&!!e.size):try{n=[...e].map(c=>r?c[1]:c[1].value)}catch{n=[]}break;case(o&&!e.size):n=[];break;case(!o&&!!e.size):try{n=r?[...e][0][1]:[...e][0][1].value}catch{}break;case(!o&&!e.size):break}const s=this._adapter.getOptionsFromChildren();this._update(n,s)}handleValueChange(e){const{allowCreate:n,autoClearSearchValue:r,remote:o}=this.getProps(),{inputValue:s}=this.getStates();let c;n&&this._isControlledComponent()?(c=this.getState("options"),c.forEach(u=>u._show=!0)):c=this._adapter.getOptionsFromChildren(),this._adapter.rePositionDropdown(),this._isFilterable()&&!r&&s&&!o&&(c=this._filterOption(c,s)),this._update(e,c)}_update(e,n){let r;this._isMultiple()?(r=this._updateMultiple(e,n),this.updateOverflowItemCount(r.size)):r=this._updateSingle(e,n),this._adapter.updateSelection(r),this.updateOptionsActiveStatus(r,n)}_updateSingle(e,n){const r=new Map,{onChangeWithObject:o}=this.getProps(),s=o&&typeof e<"u"?e.value:e,c=n.filter(p=>p.value===s),u=!c.length&&typeof s<"u"&&s!==null;if(c.length){const p=c[0],g=Object.assign({},p);r.set(g.label,g)}else if(u){let p={value:e,label:e,_notExist:!0,_scrollIndex:-1};o&&(p=Object.assign(Object.assign({},e),{_notExist:!0,_scrollIndex:-1})),r.set(p.label,p)}return r}_updateMultiple(e,n){const r=this.getState("selections");let o=[];const s=Array.isArray(e);this.checkMultipleProps(),r.size&&(o=[...r].map(g=>g[1]));const c=new Map;let u=e;const{onChangeWithObject:p}=this.getProps();return p&&s&&(u=e.map(g=>g.value)),s&&u.length&&u.forEach((g,y)=>{const v=n.findIndex(S=>S.value===g);if(v!==-1)c.set(n[v].label,n[v]);else{const S=o.findIndex(D=>D.value===g);if(S!==-1){const D=o[S];if(p){const _=Object.assign({},e[y]);_n(_,D)?c.set(D.label,D):c.set(_.label,_)}else c.set(D.label,D)}else{let D={value:g,label:g,_notExist:!0};p&&(D=Object.assign(Object.assign({},e[y]),{_notExist:!0})),c.set(D.label,Object.assign(Object.assign({},D),{_scrollIndex:-1}))}}}),c}_isMultiple(){return this.getProp("multiple")}_isDisabled(){return this.getProp("disabled")}_isFilterable(){return!!this.getProp("filter")}handleClick(e){const{clickToHide:n}=this.getProps(),{isOpen:r}=this.getStates();this._isDisabled()||(r?r&&n?this.close({event:e}):r&&!n&&this.focusInput():(this.open(),this._notifyFocus(e)))}open(e,n){const r=this._isFilterable(),o=n||this.getState("options");if(r){const c=this._filterOption(o,"").filter(u=>!u._inputCreateOnly);this._adapter.updateOptions(c),this.toggle2SearchInput(!0)}else this._adapter.updateFocusState(!0);this._adapter.openMenu(()=>{const{searchPosition:s,autoFocus:c}=this.getProps();c&&s===ar.SEARCH_POSITION_DROPDOWN&&this._adapter.focusDropdownInput()}),this._setDropdownWidth(),this._adapter.notifyDropdownVisibleChange(!0),this.bindKeyBoardEvent(),this._adapter.registerClickOutsideHandler(s=>{this.close({event:s}),this._notifyBlur(s),this._adapter.updateFocusState(!1)})}toggle2SearchInput(e){e?this._adapter.toggleInputShow(e,()=>this.focusInput()):this._adapter.toggleInputShow(e,()=>{})}close(e){const{event:n,closeCb:r,notToggleInput:o}=e||{},{isFocus:s}=this.getStates();this._adapter.closeMenu(),this._adapter.notifyDropdownVisibleChange(!1),this._adapter.setIsFocusInContainer(!1),s&&this._focusTrigger(),this._adapter.unregisterClickOutsideHandler();const c=this._isFilterable();c&&!o&&this.toggle2SearchInput(!1),this._adapter.once("popoverClose",()=>{c&&this.clearInput(n),r&&r()})}onSelect(e,n,r){if(this._isDisabled())return;e._inputCreateOnly&&this._adapter.notifyCreate(e),this._isMultiple()?this._handleMultipleSelect(e,r):this._handleSingleSelect(e,r),this._adapter.updateFocusIndex(n)}_handleSingleSelect(e,n){var{value:r,label:o}=e,s=T1(e,["value","label"]);const c=new Map().set(o,Object.assign({value:r,label:o},s));this._notifySelect(r,Object.assign({value:r,label:o},s));const u=this._isFilterable();this._isControlledComponent()?this.close({event:n,notToggleInput:!0,closeCb:()=>{this._notifyChange(c),u&&this.toggle2SearchInput(!1)}}):(this._adapter.updateSelection(c),this._notifyChange(c),this.close({event:n,closeCb:()=>{this.updateOptionsActiveStatus(c)}}))}_handleMultipleSelect(e,n){var{value:r,label:o}=e,s=T1(e,["value","label"]);const c=this._adapter.getMaxLimit(),u=this._adapter.getSelections(),{autoClearSearchValue:p}=this.getProps();if(u.has(o))this._notifyDeselect(r,Object.assign({value:r,label:o},s)),u.delete(o);else if(c&&u.size===c){this._adapter.notifyMaxLimit(Object.assign({value:r,label:o},vi(s,"_scrollIndex")));return}else this._notifySelect(r,Object.assign({value:r,label:o},s)),u.set(o,Object.assign({value:r,label:o},s));if(this._isControlledComponent())this._notifyChange(u),this._isFilterable()&&(p&&this.clearInput(n),this.focusInput());else{this._adapter.updateSelection(u),this.updateOverflowItemCount(u.size),this._adapter.rePositionDropdown();let{options:g}=this.getStates();this._isFilterable()&&(p&&(this.clearInput(n),g=this._filterOption(g,"")),this.focusInput()),this.updateOptionsActiveStatus(u,g),this._notifyChange(u)}}clearSelected(){const e=new Map;this._isControlledComponent()?(this._notifyChange(e),this._adapter.notifyClear()):(this._adapter.updateSelection(e),this.updateOptionsActiveStatus(e),this._notifyChange(e),this._adapter.notifyClear());const{isOpen:n}=this.getStates();n&&this._adapter.rePositionDropdown()}updateOptionsActiveStatus(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getState("options");const{allowCreate:r}=this.getProps(),o=n.map(s=>(e.has(s.label)?(s._selected=!0,r&&delete s._inputCreateOnly):(s._inputCreateOnly&&(s._show=!1),s._selected=!1),s));this._adapter.updateOptions(o)}removeTag(e){const n=this._adapter.getSelections();n.delete(e.label),this._isControlledComponent()?(this._notifyDeselect(e.value,e),this._notifyChange(n)):(this._notifyDeselect(e.value,e),this._adapter.updateSelection(n),this.updateOverflowItemCount(n.size),this.updateOptionsActiveStatus(n),this._adapter.rePositionDropdown(),this._notifyChange(n))}clearInput(e){const{inputValue:n}=this.getStates();if(n!==""){this._adapter.updateInputValue(""),this._adapter.notifySearch("",e);const{options:r}=this.getStates(),{remote:o}=this.getProps();let s=r;o||(s=this._filterOption(r,"")),this._adapter.updateOptions(s)}}focusInput(){this._adapter.focusInput(),this._adapter.updateFocusState(!0),this._adapter.setIsFocusInContainer(!1)}handleInputChange(e,n){this._adapter.updateInputValue(e);const{options:r,isOpen:o}=this.getStates(),{allowCreate:s,remote:c}=this.getProps();let u=r;c||(u=this._filterOption(r,e)),u=this._createOptionByInput(s,u,e),this._adapter.updateOptions(u),this._adapter.notifySearch(e,n),this._isMultiple()&&this._adapter.rePositionDropdown()}_filterOption(e,n){const r=this.getProp("filter");if(r){if(typeof r=="boolean"&&r){const o=n.toLowerCase();return e.map(s=>{const c=s.label.toString().toLowerCase(),u=s._parentGroup&&s._parentGroup.label,p=c.includes(o),g=ct(u)&&u.toLowerCase().includes(o);return p||g?s._show=!0:s._show=!1,s})}else if(typeof r=="function")return e.map(o=>(r(n,o)?o._show=!0:o._show=!1,o))}else return e}_createOptionByInput(e,n,r){if(e)if(r){const o={_show:!0,_selected:!1,value:r,label:r,_inputCreateOnly:!0};let s=-1,c=-1;n.forEach((u,p)=>{!u._show&&!u._inputCreateOnly||(u.label===r&&(c=p),u._inputCreateOnly&&(s=p,u.value=r,u.label=r,u._show=!0))}),s===-1&&c===-1&&n.push(o),c!==-1&&(n=n.filter(u=>!u._inputCreateOnly))}else n=n.filter(o=>!o._inputCreateOnly);return n}bindKeyBoardEvent(){this._keydownHandler=e=>{this._handleKeyDown(e)},this._adapter.registerKeyDown(this._keydownHandler)}unBindKeyBoardEvent(){this._keydownHandler&&this._adapter.unregisterKeyDown()}_handleKeyDown(e){const n=e.keyCode,{loading:r,filter:o,multiple:s,disabled:c}=this.getProps(),{isOpen:u}=this.getStates();if(!(r||c))switch(n){case Or.UP:e.preventDefault(),this._handleArrowKeyDown(-1);break;case Or.DOWN:e.preventDefault(),this._handleArrowKeyDown(1);break;case Or.BACKSPACE:this._handleBackspaceKeyDown();break;case Or.ENTER:Nr(e),this._handleEnterKeyDown(e);break;case Or.ESC:u&&this.close({event:e}),o&&!s&&this._focusTrigger();break;case Or.TAB:this._handleTabKeyDown(e);break}}handleContainerKeyDown(e){const n=e.keyCode,{isOpen:r}=this.getStates();n===Or.TAB&&r&&this._handleTabKeyDown(e)}_getEnableFocusIndex(e){const{focusIndex:n,options:r}=this.getStates(),o=r.filter(u=>u._show),s=o.length;let c=n+e;if(c<0&&(c=s-1),c>=s&&(c=0),e>0){let u=-1;for(let p=0;p<o.length&&(!o[p].disabled&&(u=p),!(u>=c));p++);c=u}else{let u=o.length;for(let p=s-1;p>=0&&(!o[p].disabled&&(u=p),!(u<=c));p--);c=u}this._adapter.updateFocusIndex(c),this._adapter.updateScrollTop(c)}_handleArrowKeyDown(e){const{isOpen:n}=this.getStates();n?this._getEnableFocusIndex(e):this.open()}_handleTabKeyDown(e){const{isOpen:n}=this.getStates();if(this._adapter.updateFocusState(!1),n){const r=this._adapter.getContainer(),o=this._adapter.getFocusableElements(r);o.length>0?e.shiftKey?this._handlePanelOpenShiftTabKeyDown(o,e):this._handlePanelOpenTabKeyDown(o,e):(this.close({event:e}),this._notifyBlur(e))}else this._notifyBlur(e)}_handlePanelOpenTabKeyDown(e,n){const r=this._adapter.getActiveElement();this._adapter.getIsFocusInContainer()?r===e[e.length-1]&&(this._focusTrigger(),this.close({event:n}),Nr(n)):(e[0].focus(),this._adapter.setIsFocusInContainer(!0),Nr(n))}_handlePanelOpenShiftTabKeyDown(e,n){const r=this._adapter.getActiveElement();this._adapter.getIsFocusInContainer()?r===e[0]&&(this._focusTrigger(),this._adapter.setIsFocusInContainer(!1),Nr(n)):(this.close({event:n}),this._notifyBlur(n))}_handleEnterKeyDown(e){const{isOpen:n,options:r,focusIndex:o}=this.getStates();if(!n)this.open();else if(o!==-1){const s=r.filter(u=>u._show),{length:c}=s;if(c<=o)return;if(s&&c){const u=s[o];if(u.disabled)return;this.onSelect(u,o,e)}}else this.close({event:e})}_handleBackspaceKeyDown(){if(this._isMultiple()){const e=this._adapter.getSelections(),{inputValue:n}=this.getStates(),r=e.size;if(r&&!n){const o=[...e.keys()];let s=r-1,c=o[s],u=e.get(c),p=!1;if(u.disabled&&s===0)return;for(;u.disabled&&s!==0;)s=s-1,c=o[s],u=e.get(c),s==0&&u.disabled&&(p=!0);p||this.removeTag(u)}}}_notifyChange(e){const{onChangeWithObject:n}=this.getProps(),r=this.getState("selections");let o;const s=[...e.values()],c=this._isMultiple();if(this._diffSelections(e,r,c))switch(!0){case n:this._notifyChangeWithObject(e);break;case(!n&&!c):o=s.length?s[0].value:void 0,this._adapter.notifyChange(o);break;case(!n&&c):o=s.length?s.map(p=>p.value):[],this._adapter.notifyChange(o);break}}_removeInternalKey(e){let n=Object.assign({},e);return delete n._parentGroup,delete n._show,delete n._selected,delete n._scrollIndex,delete n._keyInJsx,"_keyInOptionList"in n&&(n.key=n._keyInOptionList,delete n._keyInOptionList),n}_notifySelect(e,n){const r=this._removeInternalKey(n);this._adapter.notifySelect(e,r)}_notifyDeselect(e,n){const r=this._removeInternalKey(n);this._adapter.notifyDeselect(e,r)}_diffSelections(e,n,r){let o=!0,s=!0;if(!r){const c=[...e.values()],u=[...n.values()],p=c[0]?c[0].value:c[0],g=u[0]?u[0].value:u[0];s=!_n(p,g);const y=c[0]?c[0].label:c[0],v=u[0]?u[0].label:u[0];o=!_n(y,v)}return s||o}_notifyChangeWithObject(e){this.getState("selections");const n=[];for(const r of e.entries()){let o=Object.assign({label:r[0]},r[1]);o=this._removeInternalKey(o),n.push(o)}this._isMultiple()?this._adapter.notifyChange(n):this._adapter.notifyChange(n[0])}_notifyBlur(e){this._adapter.notifyBlur(e)}_notifyFocus(e){this._adapter.notifyFocus(e)}handleMouseEnter(e){this._adapter.updateHovering(!0),this._adapter.notifyMouseEnter(e)}handleMouseLeave(e){this._adapter.updateHovering(!1),this._adapter.notifyMouseLeave(e)}handleClearClick(e){const{filter:n,searchPosition:r}=this.getProps();n&&r===ar.SEARCH_POSITION_TRIGGER&&this.clearInput(e),this.focus(),this.clearSelected(),e.stopPropagation()}handleKeyPress(e){e&&e.key===rm&&this.handleClick(e)}handleClearBtnEnterPress(e){im(e)&&this.handleClearClick(e)}handleOptionMouseEnter(e){this._adapter.updateFocusIndex(e)}handleListScroll(e){this._adapter.notifyListScroll(e)}handleTriggerFocus(e){this.bindKeyBoardEvent(),this._adapter.setIsFocusInContainer(!1)}handleTriggerBlur(e){const{filter:n,autoFocus:r}=this.getProps(),{isOpen:o,isFocus:s}=this.getStates();s&&!o&&(this._notifyBlur(e),this._adapter.updateFocusState(!1))}handleInputBlur(e){const{filter:n,autoFocus:r}=this.getProps(),{showInput:o,isOpen:s}=this.getStates(),c=this._isMultiple();n&&!c&&(o||r)&&!s&&this.toggle2SearchInput(!1)}selectAll(){const{options:e}=this.getStates(),{onChangeWithObject:n}=this.getProps();let r=[];if(!this._isMultiple()){console.warn(`[Semi Select]: It seems that you have called the selectAll method in the single-selection Select.
12
- Please note that this is not a legal way to use it`);return}n?r=e:r=e.map(s=>s.value),this.handleValueChange(r),this._adapter.notifyChange(r)}checkMultipleProps(e){if(this._isMultiple()){const n=e||this.getProps(),{defaultValue:r,value:o}=n,s=o||r;!Sl(s)&&!Array.isArray(s)&&Mr(!0,"[Semi Select] defaultValue/value should be array type in multiple mode")}}updateScrollTop(){this._adapter.updateScrollTop()}updateOverflowItemCount(e,n){const{maxTagCount:r,ellipsisTrigger:o}=this.getProps();o&&(n?this._adapter.updateOverflowItemCount(n):typeof r=="number"&&(e-r>0?this._adapter.updateOverflowItemCount(e-r):this._adapter.updateOverflowItemCount(0)))}updateIsFullTags(){const{isFullTags:e}=this.getStates();e||this._adapter.setState({isFullTags:!0})}handlePopoverClose(){this._adapter.emit("popoverClose")}handleSlotMouseEnter(){this._adapter.updateFocusIndex(-1)}}const Ja=lk.PREFIX,Rk=aa.TAG_SIZE,QR=aa.AVATAR_SHAPE;class tl extends T.PureComponent{renderNTag(e,n){const{size:r,showPopover:o,popoverProps:s,onPlusNMouseEnter:c}=this.props;let u=k.createElement(pn,{closable:!1,size:r,color:"grey",style:{backgroundColor:"transparent"},key:"_+n",onMouseEnter:c},"+",e);return o&&(u=k.createElement(Un,Object.assign({showArrow:!0,content:n,trigger:"hover",position:"top",autoAdjustOverflow:!0,className:`${Ja}-rest-group-popover`},s,{key:"_+n_Popover"}),u)),u}renderMergeTags(e){const{maxTagCount:n,tagList:r,restCount:o}=this.props,s=o||r.length-n;let c=e;const u=e.slice(0,n),p=e.slice(n);let g=null;return s>0&&(g=this.renderNTag(s,p),u.push(g),c=u),c}renderAllTags(){const{tagList:e,size:n,mode:r,avatarShape:o,onTagClose:s}=this.props;return e.map(u=>{if(r==="custom")return u;const p=Object.assign({},u);return p.size||(p.size=n),p.avatarShape||(p.avatarShape=o),p.tagKey||(typeof p.children=="string"||typeof p.children=="number"?p.tagKey=p.children:p.tagKey=Math.random()),k.createElement(pn,Object.assign({},p,{key:p.tagKey,onClose:(g,y,v)=>{p.onClose&&p.onClose(g,y,v),s&&s(g,y,v)}}))})}render(){const{style:e,className:n,maxTagCount:r,size:o}=this.props,s=X({[`${Ja}-group`]:!0,[`${Ja}-group-max`]:r,[`${Ja}-group-small`]:o==="small",[`${Ja}-group-large`]:o==="large"},n),c=this.renderAllTags(),u=typeof r>"u"?c:this.renderMergeTags(c);return k.createElement("div",{style:e,className:s},u)}}tl.defaultProps={style:{},className:"",size:Rk[0],avatarShape:"square",onTagClose:()=>{},onPlusNMouseEnter:()=>{}};tl.propTypes={children:m.node,style:m.object,className:m.string,maxTagCount:m.number,restCount:m.number,tagList:m.array,size:m.oneOf(Rk),mode:m.string,onTagClose:m.func,showPopover:m.bool,popoverProps:m.object,avatarShape:m.oneOf(QR)};var XR=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const E1=(i,e,n,r)=>{const o=i.props;if(!i||!o)return null;const s=Object.assign(Object.assign({value:o.value,label:o.label||o.children||o.value,_show:!0,_selected:!1,_scrollIndex:n},o),{_parentGroup:e});return s._keyInJsx=r||i.key,s},YR=i=>{let e=[],n=[];const r={label:"",children:[],_show:!1};let o=k.Children.toArray(i);o=o.filter(u=>u&&u.props);let s="",c=-1;return o.forEach(u=>{if(u.type.isSelectOption){s="option",c++;const p=E1(u,void 0,c);r.children.push(p),n.push(p)}else if(u.type.isSelectOptionGroup){s="group";let p=u.props,{children:g}=p,y=XR(p,["children"]);y.key=u.key;let v=[];Array.isArray(g)?v=g.map(_=>_.key):v.push(g.key),g=k.Children.toArray(g);const S=g.map((_,b)=>{let w=_.key;return v[b]===null&&(w=u.key+""+_.key),c++,E1(_,y,c,w)}),D=Object.assign(Object.assign({},u.props),{children:S,key:u.key});e.push(D),n=n.concat(S)}else Mr(!0,"[Semi Select] The children of `Select` should be `Select.Option` or `Select.OptionGroup`")}),s==="option"&&(e=[r]),{optionGroups:e,options:n}},JR=i=>{let{index:e,data:n,style:r}=i;const{visibleOptions:o,renderOption:s}=n,c=o[e];return s(c,e,r)};var x1=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};class hi extends T.PureComponent{onClick(e,n){var{value:r,label:o,children:s}=e,c=x1(e,["value","label","children"]);const{props:u}=this;u.disabled||u.onSelect(Object.assign(Object.assign({},c),{value:r,label:o||s}),n)}renderOptionContent(e){let{config:n,children:r,inputValue:o,prefixCls:s}=e;return ct(r)&&o?k.createElement(pm,{searchWords:n.searchWords,sourceString:n.sourceString,highlightClassName:n.highlightClassName}):r}render(){const e=this.props,{children:n,disabled:r,value:o,selected:s,label:c,empty:u,emptyContent:p,onSelect:g,focused:y,showTick:v,className:S,style:D,onMouseEnter:_,prefixCls:b,renderOptionItem:w,inputValue:E,semiOptionId:R}=e,O=x1(e,["children","disabled","value","selected","label","empty","emptyContent","onSelect","focused","showTick","className","style","onMouseEnter","prefixCls","renderOptionItem","inputValue","semiOptionId"]),M=X(b,{[`${b}-disabled`]:r,[`${b}-selected`]:s,[`${b}-focused`]:y,[`${b}-empty`]:u,[S]:S}),F=X([`${b}-icon`]);if(u)return p===null?null:k.createElement(jr,{componentName:"Select"},A=>k.createElement("div",{className:M,"x-semi-prop":"emptyContent"},p||A.emptyText));if(typeof w=="function"){const A=X(S,{[`${b}-custom`]:!0,[`${b}-custom-selected`]:s});return w(Object.assign({disabled:r,focused:y,selected:s,style:D,label:c,value:o,inputValue:E,onMouseEnter:G=>_(G),onClick:G=>this.onClick(Object.assign({value:o,label:c,children:n},O),G),className:A},O))}const N={searchWords:[E],sourceString:n,highlightClassName:`${b}-keyword`};return k.createElement("div",Object.assign({className:M,onClick:A=>{this.onClick(Object.assign({value:o,label:c,children:n},O),A)},onMouseEnter:A=>_&&_(A),role:"option",id:R,"aria-selected":s?"true":"false","aria-disabled":r?"true":"false",style:D},Fh(O)),v?k.createElement("div",{className:F},k.createElement(YC,null)):null,ct(n)?k.createElement("div",{className:`${b}-text`},this.renderOptionContent({children:n,config:N,inputValue:E,prefixCls:b})):n)}}hi.isSelectOption=!0;hi.propTypes={children:m.node,disabled:m.bool,value:m.oneOfType([m.string,m.number]),selected:m.bool,label:m.node,empty:m.bool,emptyContent:m.node,onSelect:m.func,focused:m.bool,showTick:m.bool,className:m.string,style:m.object,onMouseEnter:m.func,prefixCls:m.string,renderOptionItem:m.func,inputValue:m.string};hi.defaultProps={prefixCls:Cm.PREFIX_OPTION};var ZR=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const eO=Cm.PREFIX_GROUP;class El extends Rt{render(){const e=this.props,{label:n,className:r,style:o}=e,s=ZR(e,["label","className","style"]),c=X(r,{[eO]:!0});return!n&&typeof n!="number"?null:k.createElement("div",Object.assign({className:c,style:o},this.getDataAttr(s)),n)}}El.isSelectOptionGroup=!0;El.propTypes={children:m.oneOfType([m.array,m.node]),label:m.node,className:m.string,style:m.object};var tO=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};const ge=Cm.PREFIX,nO=0;class Gr extends Rt{constructor(e){super(e),this.setOptionContainerEl=n=>this.optionContainerEl={current:n},this.handleInputChange=(n,r)=>this.foundation.handleInputChange(n,r),this.getTagItem=(n,r,o)=>{const{size:s,disabled:c}=this.props,u=n[0],{value:p}=n[1],g=n[1].disabled||c,y=(_,b)=>{b&&typeof b.preventDefault=="function"&&b.preventDefault(),this.foundation.removeTag({label:u,value:p})},{content:v,isRenderInTag:S}=o(n[1],{index:r,disabled:g,onClose:y}),D={disabled:g,closable:!g,onClose:y};return S?k.createElement(pn,Object.assign({},D,{color:"white",size:s||"large",key:p,tabIndex:-1}),v):k.createElement(T.Fragment,{key:p},v)},this.state={isOpen:!1,isFocus:!1,options:[],selections:new Map,dropdownMinWidth:null,optionKey:nO,inputValue:"",showInput:!1,focusIndex:e.defaultActiveFirstOption?0:-1,keyboardEventSet:{},optionGroups:[],isHovering:!1,isFocusInContainer:!1,isFullTags:!1,overflowItemCount:0},this.selectOptionListID="",this.selectID="",this.virtualizeListRef=k.createRef(),this.inputRef=k.createRef(),this.dropdownInputRef=k.createRef(),this.triggerRef=k.createRef(),this.optionsRef=k.createRef(),this.optionContainerEl=k.createRef(),this.clickOutsideHandler=null,this.onSelect=this.onSelect.bind(this),this.onClear=this.onClear.bind(this),this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this),this.renderOption=this.renderOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.eventManager=new BC,this.foundation=new KR(this.adapter)}get adapter(){var e=this;const n={registerKeyDown:s=>{const c={onKeyDown:s};this.setState({keyboardEventSet:c})},unregisterKeyDown:()=>{this.setState({keyboardEventSet:{}})},updateFocusIndex:s=>{this.setState({focusIndex:s})},scrollToFocusOption:()=>{}},r={updateInputValue:s=>{this.setState({inputValue:s})},toggleInputShow:(s,c)=>{this.setState({showInput:s},()=>{c()})},focusInput:()=>{const{preventScroll:s}=this.props;this.inputRef&&this.inputRef.current&&this.inputRef.current.focus({preventScroll:s})},focusDropdownInput:()=>{const{preventScroll:s}=this.props;this.dropdownInputRef&&this.dropdownInputRef.current&&this.dropdownInputRef.current.focus({preventScroll:s})}},o={notifyMaxLimit:s=>this.props.onExceed(s),getMaxLimit:()=>this.props.max,registerClickOutsideHandler:s=>{const c=u=>{const p=this.optionsRef&&this.optionsRef.current,g=this.triggerRef&&this.triggerRef.current,y=nr.findDOMNode(p),v=u.target,S=u.composedPath&&u.composedPath()||[v];!(y&&y.contains(v))&&!(g&&g.contains(v))&&!(S.includes(g)||S.includes(y))&&s(u)};this.clickOutsideHandler=c,document.addEventListener("mousedown",c,!1)},unregisterClickOutsideHandler:()=>{this.clickOutsideHandler&&(document.removeEventListener("mousedown",this.clickOutsideHandler,!1),this.clickOutsideHandler=null)},rePositionDropdown:()=>{let{optionKey:s}=this.state;s=s+1,this.setState({optionKey:s})},notifyDeselect:(s,c)=>{delete c._parentGroup,this.props.onDeselect(s,c)}};return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},super.adapter),n),r),o),{on:(s,c)=>this.eventManager.on(s,c),off:s=>this.eventManager.off(s),once:(s,c)=>this.eventManager.once(s,c),emit:s=>this.eventManager.emit(s),getOptionsFromChildren:function(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.props.children,c=[],u=[];const{optionList:p}=e.props;if(p&&p.length)u=p.map((g,y)=>Object.assign({_show:!0,_selected:!1,_scrollIndex:y},g)),c[0]={children:u,label:""};else{const g=YR(s);c=g.optionGroups,u=g.options}return e.setState({optionGroups:c}),u},updateOptions:s=>{this.setState({options:s})},openMenu:s=>{this.setState({isOpen:!0},()=>{s?.()})},closeMenu:()=>{this.setState({isOpen:!1})},getTriggerWidth:()=>{const s=this.triggerRef.current;return s&&s.getBoundingClientRect().width},setOptionWrapperWidth:s=>{this.setState({dropdownMinWidth:s})},updateSelection:s=>{this.setState({selections:s})},getSelections:()=>new Map(this.state.selections),notifyChange:s=>{this.props.onChange(s)},notifySelect:(s,c)=>{delete c._parentGroup,this.props.onSelect(s,c)},notifyDropdownVisibleChange:s=>{this.props.onDropdownVisibleChange(s)},notifySearch:(s,c)=>{this.props.onSearch(s,c)},notifyCreate:s=>{this.props.onCreate(s)},notifyMouseEnter:s=>{this.props.onMouseEnter(s)},notifyMouseLeave:s=>{this.props.onMouseLeave(s)},notifyFocus:s=>{this.props.onFocus(s)},notifyBlur:s=>{this.props.onBlur(s)},notifyClear:()=>{this.props.onClear()},notifyListScroll:s=>{this.props.onListScroll(s)},updateHovering:s=>{this.setState({isHovering:s})},updateFocusState:s=>{this.setState({isFocus:s})},updateOverflowItemCount:s=>{this.setState({overflowItemCount:s})},focusTrigger:()=>{try{const{preventScroll:s}=this.props;this.triggerRef.current.focus({preventScroll:s})}catch{}},getContainer:()=>this.optionContainerEl&&this.optionContainerEl.current,getFocusableElements:s=>KC(s),getActiveElement:()=>VC(),setIsFocusInContainer:s=>{this.setState({isFocusInContainer:s})},getIsFocusInContainer:()=>this.state.isFocusInContainer,updateScrollTop:s=>{let c;"renderOptionItem"in this.props?(c=`.${ge}-option-custom-selected`,s!==void 0&&(c=`.${ge}-option-custom:nth-child(${s+1})`)):(c=`.${ge}-option-selected`,s!==void 0&&(c=`.${ge}-option:nth-child(${s+1})`));let u=document.querySelector(`#${ge}-${this.selectOptionListID} ${c}`);if(Array.isArray(u)&&(u=u[0]),u){const p=u.parentNode;p.scrollTop=u.offsetTop-p.offsetTop-p.clientHeight/2+u.clientHeight/2}}})}componentDidMount(){this.foundation.init(),this.selectOptionListID=uo(),this.selectID=this.props.id||uo()}componentWillUnmount(){this.foundation.destroy()}componentDidUpdate(e,n){const r=k.Children.toArray(e.children).map(c=>c.key),o=k.Children.toArray(this.props.children).map(c=>c.key);let s=!1;(!_n(r,o)||!_n(e.optionList,this.props.optionList))&&(s=!0,this.foundation.handleOptionListChange()),(!_n(this.props.value,e.value)||s)&&("value"in this.props?this.foundation.handleValueChange(this.props.value):this.foundation.handleOptionListChangeHadDefaultValue())}renderTriggerInput(){const{size:e,multiple:n,disabled:r,inputProps:o,filter:s}=this.props,c=xe(o,"className"),u=X(`${ge}-input`,{[`${ge}-input-single`]:!n,[`${ge}-input-multiple`]:n},c),{inputValue:p,focusIndex:g}=this.state,y=Object.assign({value:p,disabled:r,className:u,onChange:this.handleInputChange},o);let v={};return n&&(v={width:p?`${p.length*16}px`:"2px"},y.style=v),k.createElement(so,Object.assign({ref:this.inputRef,size:e,"aria-activedescendant":g!==-1?`${this.selectID}-option-${g}`:"",onFocus:S=>{n&&s&&this.setState({isFocus:!0}),S.stopPropagation()},onBlur:S=>this.foundation.handleInputBlur(S)},y))}renderDropdownInput(){const{size:e,multiple:n,disabled:r,inputProps:o,filter:s,searchPosition:c,searchPlaceholder:u}=this.props,{inputValue:p,focusIndex:g}=this.state,y=X(`${ge}-dropdown-search-wrapper`,{}),v=xe(o,"className"),S=X(`${ge}-dropdown-input`,{[`${ge}-dropdown-input-single`]:!n,[`${ge}-dropdown-input-multiple`]:n},v),D=Object.assign(Object.assign({value:p,disabled:r,className:S,onChange:this.handleInputChange,placeholder:u,showClear:!0},o),{onKeyDown:_=>this.foundation._handleKeyDown(_)});return k.createElement("div",{className:y},k.createElement(so,Object.assign({ref:this.dropdownInputRef,prefix:k.createElement(pI,null),"aria-activedescendant":g!==-1?`${this.selectID}-option-${g}`:""},D)))}close(){this.foundation.close()}open(){this.foundation.open()}clearInput(){this.foundation.clearInput()}selectAll(){this.foundation.selectAll()}deselectAll(){this.foundation.clearSelected()}focus(){this.foundation.focus()}onSelect(e,n,r){this.foundation.onSelect(e,n,r)}onClear(e){e.nativeEvent.stopImmediatePropagation(),this.foundation.handleClearClick(e)}search(e,n){this.handleInputChange(e,n)}renderEmpty(){return k.createElement(hi,{empty:!0,emptyContent:this.props.emptyContent})}renderLoading(){const e=`${ge}-loading-wrapper`;return k.createElement("div",{className:e},k.createElement(Fr,null))}renderOption(e,n,r){const{focusIndex:o,inputValue:s}=this.state,{renderOptionItem:c}=this.props;let u;const p=n===o;let g=r||{};return e.style&&(g=Object.assign(Object.assign({},g),e.style)),e._inputCreateOnly?u=this.renderCreateOption(e,p,n,r):("key"in e&&(e._keyInOptionList=e.key),u=k.createElement(hi,Object.assign({showTick:!0},e,{selected:e._selected,onSelect:(y,v)=>this.onSelect(y,n,v),focused:p,onMouseEnter:()=>this.onOptionHover(n),style:g,key:e._keyInOptionList||e._keyInJsx||e.label+e.value+n,renderOptionItem:c,inputValue:s,semiOptionId:`${this.selectID}-option-${n}`}),e.label)),u}renderCreateOption(e,n,r,o){const{renderCreateItem:s}=this.props;if(typeof s>"u")return k.createElement(hi,Object.assign({key:e.key||e.label+e.value,onSelect:(p,g)=>this.onSelect(p,r,g),onMouseEnter:()=>this.onOptionHover(r),showTick:!0},e,{focused:n,style:o}),k.createElement(jr,{componentName:"Select"},p=>k.createElement(k.Fragment,null,k.createElement("span",{className:`${ge}-create-tips`},p.createText),e.value)));const c=s(e.value,n,o);return k.createElement("div",{role:"button","aria-label":"Use the input box to create an optional item",onClick:u=>this.onSelect(e,r,u),key:e.key||e.label},c)}onOptionHover(e){this.foundation.handleOptionMouseEnter(e)}renderWithGroup(e){const n=[],r=new Map;return e.forEach((o,s)=>{const c=o._parentGroup,u=this.renderOption(o,s);if(c&&!r.has(c.label)){const p=typeof c.label=="string"||typeof c.label=="number"?c.label:c.key,g=k.createElement(El,Object.assign({},c,{key:p}));r.set(c.label,!0),n.push(g)}n.push(u)}),n}renderVirtualizeList(e){const{virtualize:n}=this.props,{direction:r}=this.context,{height:o,width:s,itemSize:c}=n;return k.createElement(N$,{ref:this.virtualizeListRef,height:o||$k.LIST_HEIGHT,itemCount:e.length,itemSize:c,itemData:{visibleOptions:e,renderOption:this.renderOption},width:s||"100%",style:{direction:r}},JR)}renderOptions(e){const{dropdownMinWidth:n,options:r,selections:o}=this.state,{maxHeight:s,dropdownClassName:c,dropdownStyle:u,outerTopSlot:p,innerTopSlot:g,outerBottomSlot:y,innerBottomSlot:v,loading:S,virtualize:D,multiple:_,emptyContent:b,searchPosition:w,filter:E}=this.props,R=r.filter(A=>A._show);let O=this.renderWithGroup(R);D&&(O=this.renderVirtualizeList(R));const M=Object.assign({minWidth:n},u),F=X({[`${ge}-option-list`]:!0,[`${ge}-option-list-chosen`]:o.size}),N=!r.length||!r.some(A=>A._show);return k.createElement("div",{id:`${ge}-${this.selectOptionListID}`,className:X({[`${ge}-option-list-wrapper`]:!(N&&b===null)},c),style:M,ref:this.setOptionContainerEl,onKeyDown:A=>this.foundation.handleContainerKeyDown(A)},p?k.createElement("div",{className:`${ge}-option-list-outer-top-slot`,onMouseEnter:()=>this.foundation.handleSlotMouseEnter()},p):null,w===ar.SEARCH_POSITION_DROPDOWN&&E?this.renderDropdownInput():null,k.createElement("div",{style:{maxHeight:`${s}px`},className:F,role:"listbox","aria-multiselectable":_,onScroll:A=>this.foundation.handleListScroll(A)},g?k.createElement("div",{className:`${ge}-option-list-inner-top-slot`,onMouseEnter:()=>this.foundation.handleSlotMouseEnter()},g):null,S?this.renderLoading():N?this.renderEmpty():O,v?k.createElement("div",{className:`${ge}-option-list-inner-bottom-slot`,onMouseEnter:()=>this.foundation.handleSlotMouseEnter()},v):null),y?k.createElement("div",{className:`${ge}-option-list-outer-bottom-slot`,onMouseEnter:()=>this.foundation.handleSlotMouseEnter()},y):null)}renderSingleSelection(e,n){let{renderSelectedItem:r,searchPosition:o}=this.props;const{placeholder:s}=this.props,{showInput:c,inputValue:u}=this.state;let p="";const g=[...e];if(typeof r>"u"&&(r=D=>D.label),g.length){const D=g[0][1];p=r(D)}const y=o===ar.SEARCH_POSITION_TRIGGER,v=X({[`${ge}-selection-text`]:!0,[`${ge}-selection-placeholder`]:!p&&p!==0,[`${ge}-selection-text-hide`]:u&&c&&y,[`${ge}-selection-text-inactive`]:!u&&c&&y}),S=`${ge}-content-wrapper`;return k.createElement(k.Fragment,null,k.createElement("div",{className:S},k.createElement("span",{className:v,"x-semi-prop":"placeholder"},p||p===0?p:s),n&&c&&y?this.renderTriggerInput():null))}renderTag(e,n,r){const{size:o,disabled:s}=this.props;let{renderSelectedItem:c}=this.props;const u=e[0],{value:p}=e[1],g=e[1].disabled||s,y=(b,w)=>{w&&typeof w.preventDefault=="function"&&w.preventDefault(),this.foundation.removeTag({label:u,value:p})};typeof c>"u"&&(c=b=>({isRenderInTag:!0,content:b.label}));const{content:v,isRenderInTag:S}=c(e[1],{index:n,disabled:g,onClose:y}),D={disabled:g,closable:!g,onClose:y},_=r&&!Xt(this.props.renderSelectedItem)?k.createElement(Cl,{size:"small",ellipsis:{rows:1,showTooltip:{type:"popover",opts:{style:{width:"auto",fontSize:12}}}}},v):v;return S?k.createElement(pn,Object.assign({},D,{color:"white",size:o||"large",key:p,style:{maxWidth:"100%"}}),_):k.createElement(T.Fragment,{key:p},_)}renderNTag(e,n){const{size:r,showRestTagsPopover:o,restTagsPopoverProps:s}=this.props;let c=k.createElement(pn,{closable:!1,size:r||"large",color:"grey",className:`${ge}-content-wrapper-collapse-tag`,key:`_+${e}`,style:{marginRight:0,flexShrink:0}},"+",e);return o&&(c=k.createElement(Un,Object.assign({showArrow:!0,content:k.createElement(ko,{spacing:2,wrap:!0,style:{maxWidth:"400px"}},n.map((u,p)=>this.renderTag(u,p))),trigger:"hover",position:"top",autoAdjustOverflow:!0},s,{key:`_+${e}_Popover`}),c)),c}renderOverflow(e,n){return e.length&&e[0]?this.renderTag(e[0],n,!0):null}handleOverflow(e){const{overflowItemCount:n,selections:r}=this.state,{maxTagCount:o}=this.props,s=r.size-o>0?r.size-o+e.length-1:e.length-1;n!==s&&this.foundation.updateOverflowItemCount(r.size,s)}renderCollapsedTags(e,n){const{overflowItemCount:r}=this.state,o=typeof n=="number"?e.slice(0,n):e;return k.createElement("div",{className:`${ge}-content-wrapper-collapse`},k.createElement(go,{items:o,key:String(e.length),overflowRenderer:s=>this.renderOverflow(s,n-1),onOverflow:s=>this.handleOverflow(s),visibleItemRenderer:(s,c)=>this.renderTag(s,c)}),r>0&&this.renderNTag(r,e.slice(e.length-r)))}renderOneLineTags(e,n){let{renderSelectedItem:r}=this.props;const{showRestTagsPopover:o,restTagsPopoverProps:s,maxTagCount:c}=this.props,{isFullTags:u}=this.state;let p;if(typeof r>"u"&&(r=g=>({isRenderInTag:!0,content:g.label})),o){const y=(u?e:e.slice(0,c)).map((v,S)=>this.getTagItem(v,S,r));p=k.createElement(tl,{tagList:y,maxTagCount:n,restCount:u?void 0:e.length-c,size:"large",mode:"custom",showPopover:o,popoverProps:s,onPlusNMouseEnter:()=>{this.foundation.updateIsFullTags()}})}else{const y=e.slice(0,c).map((v,S)=>this.getTagItem(v,S,r));p=k.createElement(tl,{tagList:y,maxTagCount:n,restCount:e.length-c,size:"large",mode:"custom"})}return p}renderMultipleSelection(e,n){let{renderSelectedItem:r,searchPosition:o}=this.props;const{placeholder:s,maxTagCount:c,expandRestTagsOnClick:u,ellipsisTrigger:p}=this.props,{inputValue:g,isOpen:y}=this.state,v=[...e];typeof r>"u"&&(r=M=>({isRenderInTag:!0,content:M.label}));const S=X({[`${ge}-content-wrapper`]:!0,[`${ge}-content-wrapper-one-line`]:c&&!y,[`${ge}-content-wrapper-empty`]:!v.length}),D=X({[`${ge}-selection-text`]:!0,[`${ge}-selection-placeholder`]:!v.length,[`${ge}-selection-text-hide`]:v&&v.length}),_=s&&!g?k.createElement("span",{className:D},s):null,b=v.length>c?c:void 0,w=!c,E=p?this.renderCollapsedTags(v,b):this.renderOneLineTags(v,b),R=w||u&&y?v.map((M,F)=>this.renderTag(M,F)):E,O=n&&o===ar.SEARCH_POSITION_TRIGGER;return k.createElement(k.Fragment,null,k.createElement("div",{className:S},v&&v.length?R:_,O?this.renderTriggerInput():null))}onMouseEnter(e){this.foundation.handleMouseEnter(e)}onMouseLeave(e){this.foundation.handleMouseLeave(e)}onKeyPress(e){this.foundation.handleKeyPress(e)}handlePopoverVisibleChange(e){const{virtualize:n}=this.props,{selections:r}=this.state;if(e)if(n){let o=-1;if(r.forEach(s=>{const c=xe(s,"_scrollIndex");Lr(c)&&c>=0&&(o=o!==-1&&o<c?o:c)}),o!==-1)try{this.virtualizeListRef.current.scrollToItem(o,"center")}catch{}}else this.foundation.updateScrollTop()}renderSuffix(){const{suffix:e}=this.props,n=X({[`${ge}-suffix`]:!0,[`${ge}-suffix-text`]:e&&ct(e),[`${ge}-suffix-icon`]:Gn(e)});return k.createElement("div",{className:n,"x-semi-prop":"suffix"},e)}renderPrefix(){const{prefix:e,insetLabel:n,insetLabelId:r}=this.props,o=e||n,s=X({[`${ge}-prefix`]:!0,[`${ge}-inset-label`]:n,[`${ge}-prefix-text`]:o&&ct(o),[`${ge}-prefix-icon`]:Gn(o)});return k.createElement("div",{className:s,id:r,"x-semi-prop":"prefix,insetLabel"},o)}renderSelection(){const e=this.props,{disabled:n,multiple:r,filter:o,style:s,id:c,size:u,className:p,validateStatus:g,showArrow:y,suffix:v,prefix:S,insetLabel:D,placeholder:_,triggerRender:b,arrowIcon:w,clearIcon:E,borderless:R}=e,O=tO(e,["disabled","multiple","filter","style","id","size","className","validateStatus","showArrow","suffix","prefix","insetLabel","placeholder","triggerRender","arrowIcon","clearIcon","borderless"]),{selections:M,isOpen:F,keyboardEventSet:N,inputValue:A,isHovering:G,isFocus:U,showInput:V,focusIndex:B}=this.state,te=typeof b=="function",ee=!!o,oe=te?X(p):X(ge,p,{[`${ge}-borderless`]:R,[`${ge}-open`]:F,[`${ge}-focus`]:U,[`${ge}-disabled`]:n,[`${ge}-single`]:!r,[`${ge}-multiple`]:r,[`${ge}-filterable`]:ee,[`${ge}-small`]:u==="small",[`${ge}-large`]:u==="large",[`${ge}-error`]:g==="error",[`${ge}-warning`]:g==="warning",[`${ge}-no-arrow`]:!y,[`${ge}-with-prefix`]:S||D,[`${ge}-with-suffix`]:v}),se=this.props.showClear&&(M.size||A)&&!n&&(G||F),he=y?k.createElement("div",{className:`${ge}-arrow`,"x-semi-prop":"arrowIcon"},w):k.createElement("div",{className:`${ge}-arrow-empty`}),ue=E||k.createElement(XC,null),K=te?k.createElement(ik,{value:Array.from(M.values()),inputValue:A,onChange:this.handleInputChange,onSearch:this.handleInputChange,onRemove:I=>this.foundation.removeTag(I),onClear:this.onClear,disabled:n,triggerRender:b,placeholder:_,componentName:"Select",componentProps:Object.assign({},this.props)}):[k.createElement(T.Fragment,{key:"prefix"},S||D?this.renderPrefix():null),k.createElement(T.Fragment,{key:"selection"},k.createElement("div",{className:X(`${ge}-selection`)},r?this.renderMultipleSelection(M,ee):this.renderSingleSelection(M,ee))),k.createElement(T.Fragment,{key:"suffix"},v?this.renderSuffix():null),k.createElement(T.Fragment,{key:"clearicon"},se?k.createElement("div",{className:X(`${ge}-clear`),onClick:this.onClear},ue):he)],J=n||ee&&V||ee&&r?-1:0;return k.createElement("div",Object.assign({role:"combobox","aria-disabled":n,"aria-expanded":F,"aria-controls":`${ge}-${this.selectOptionListID}`,"aria-haspopup":"listbox","aria-label":M.size?"selected":"","aria-invalid":this.props["aria-invalid"],"aria-errormessage":this.props["aria-errormessage"],"aria-labelledby":this.props["aria-labelledby"],"aria-describedby":this.props["aria-describedby"],"aria-required":this.props["aria-required"],className:oe,ref:I=>this.triggerRef.current=I,onClick:I=>this.foundation.handleClick(I),style:s,id:this.selectID,tabIndex:J,"aria-activedescendant":B!==-1?`${this.selectID}-option-${B}`:"",onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:I=>this.foundation.handleTriggerFocus(I),onBlur:I=>this.foundation.handleTriggerBlur(I),onKeyPress:this.onKeyPress},N,this.getDataAttr(O)),K)}render(){const{direction:e}=this.context,n=e==="rtl"?"bottomRight":"bottomLeft",{children:r,position:o=n,zIndex:s,getPopupContainer:c,motion:u,autoAdjustOverflow:p,mouseLeaveDelay:g,mouseEnterDelay:y,spacing:v,stopPropagation:S,dropdownMargin:D}=this.props,{isOpen:_,optionKey:b}=this.state,w=this.renderSelection();return k.createElement(Un,{getPopupContainer:c,motion:u,margin:D,autoAdjustOverflow:p,mouseLeaveDelay:g,mouseEnterDelay:y,zIndex:s,ref:this.optionsRef,content:()=>this.renderOptions(r),visible:_,trigger:"custom",rePosKey:b,position:o,spacing:v,stopPropagation:S,disableArrowKeyDown:!0,onVisibleChange:E=>this.handlePopoverVisibleChange(E),afterClose:()=>this.foundation.handlePopoverClose()},w)}}Gr.contextType=Bn;Gr.Option=hi;Gr.OptGroup=El;Gr.propTypes={"aria-describedby":m.string,"aria-errormessage":m.string,"aria-invalid":m.bool,"aria-labelledby":m.string,"aria-required":m.bool,autoFocus:m.bool,autoClearSearchValue:m.bool,borderless:m.bool,children:m.node,clearIcon:m.node,defaultValue:m.oneOfType([m.string,m.number,m.array,m.object]),ellipsisTrigger:m.bool,value:m.oneOfType([m.string,m.number,m.array,m.object]),placeholder:m.node,onChange:m.func,multiple:m.bool,filter:m.oneOfType([m.func,m.bool]),max:m.number,maxTagCount:m.number,maxHeight:m.oneOfType([m.string,m.number]),style:m.object,className:m.string,size:m.oneOf(ar.SIZE_SET),disabled:m.bool,emptyContent:m.node,expandRestTagsOnClick:m.bool,onDropdownVisibleChange:m.func,zIndex:m.number,position:m.oneOf(ar.POSITION_SET),onSearch:m.func,getPopupContainer:m.func,dropdownClassName:m.string,dropdownStyle:m.object,dropdownMargin:m.oneOfType([m.number,m.object]),outerTopSlot:m.node,innerTopSlot:m.node,inputProps:m.object,outerBottomSlot:m.node,innerBottomSlot:m.node,optionList:m.array,dropdownMatchSelectWidth:m.bool,loading:m.bool,defaultOpen:m.bool,validateStatus:m.oneOf(ar.STATUS),defaultActiveFirstOption:m.bool,triggerRender:m.func,stopPropagation:m.bool,searchPosition:m.string,motion:m.bool,onChangeWithObject:m.bool,suffix:m.node,prefix:m.node,insetLabel:m.node,insetLabelId:m.string,showClear:m.bool,showArrow:m.bool,renderSelectedItem:m.func,allowCreate:m.bool,renderCreateItem:m.func,onMouseEnter:m.func,onMouseLeave:m.func,clickToHide:m.bool,onExceed:m.func,onCreate:m.func,remote:m.bool,onDeselect:m.func,onSelect:m.func,autoAdjustOverflow:m.bool,mouseEnterDelay:m.number,mouseLeaveDelay:m.number,spacing:m.oneOfType([m.number,m.object]),onBlur:m.func,onFocus:m.func,onClear:m.func,virtualize:m.object,renderOptionItem:m.func,onListScroll:m.func,arrowIcon:m.node,preventScroll:m.bool};Gr.__SemiComponentName__="Select";Gr.defaultProps=lr(Gr.__SemiComponentName__,{stopPropagation:!0,motion:!0,borderless:!1,zIndex:mi.DEFAULT_Z_INDEX,filter:!1,multiple:!1,disabled:!1,defaultOpen:!1,allowCreate:!1,placeholder:"",onDropdownVisibleChange:fe,onChangeWithObject:!1,onChange:fe,onSearch:fe,onMouseEnter:fe,onMouseLeave:fe,onDeselect:fe,onSelect:fe,onCreate:fe,onExceed:fe,onFocus:fe,onBlur:fe,onClear:fe,onListScroll:fe,maxHeight:$k.LIST_HEIGHT,dropdownMatchSelectWidth:!0,defaultActiveFirstOption:!0,showArrow:!0,showClear:!1,searchPosition:ar.SEARCH_POSITION_TRIGGER,remote:!1,autoAdjustOverflow:!0,autoClearSearchValue:!0,arrowIcon:k.createElement(Zx,{"aria-label":""}),showRestTagsPopover:!1,restTagsPopoverProps:{},expandRestTagsOnClick:!1,ellipsisTrigger:!1});class rO extends Wt{constructor(e){super(Object.assign({},e)),this.handleFocusVisible=n=>{const{target:r}=n;try{r.matches(":focus-visible")&&this._adapter.setFocusVisible(!0)}catch{Mr(!0,"Warning: [Semi Switch] The current browser does not support the focus-visible")}},this.handleBlur=()=>{this._adapter.setFocusVisible(!1)}}init(){const{disabled:e}=this.getProps();this.setDisabled(e)}setChecked(e){this._adapter.setNativeControlChecked(e)}setDisabled(e){this._adapter.setNativeControlDisabled(e)}handleChange(e,n){typeof this.getProps().checked<"u"?this._adapter.notifyChange(e,n):(this._adapter.setNativeControlChecked(e),this._adapter.notifyChange(e,n))}destroy(){}}const dn={PREFIX:`${Ie}-switch`,FOCUS:`${Ie}-switch-focus`,LARGE:`${Ie}-switch-large`,SMALL:`${Ie}-switch-small`,CHECKED:`${Ie}-switch-checked`,DISABLED:`${Ie}-switch-disabled`,KNOB:`${Ie}-switch-knob`,NATIVE_CONTROL:`${Ie}-switch-native-control`,CHECKED_TEXT:`${Ie}-switch-checked-text`,UNCHECKED_TEXT:`${Ie}-switch-unchecked-text`,LOADING_SPIN:`${Ie}-switch-loading-spin`,LOADING:`${Ie}-switch-loading`},iO={SIZE_MAP:["default","small","large"]};var aO=function(i,e){var n={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(n[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(i);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(i,r[o])&&(n[r[o]]=i[r[o]]);return n};class km extends Rt{constructor(e){super(e),this.handleFocusVisible=n=>{this.foundation.handleFocusVisible(n)},this.handleBlur=n=>{this.foundation.handleBlur()},this.state={nativeControlChecked:e.defaultChecked||e.checked,nativeControlDisabled:!1,focusVisible:!1},this.switchRef=k.createRef(),this.foundation=new rO(this.adapter)}componentDidMount(){this.foundation.init()}componentDidUpdate(e){this.props.checked!==e.checked&&this.foundation.setChecked(this.props.checked),this.props.disabled!==e.disabled&&this.foundation.setDisabled(this.props.disabled)}componentWillUnmount(){this.foundation.destroy()}get adapter(){return Object.assign(Object.assign({},super.adapter),{setNativeControlChecked:e=>{this.setState({nativeControlChecked:e})},setNativeControlDisabled:e=>{this.setState({nativeControlDisabled:e})},setFocusVisible:e=>{this.setState({focusVisible:e})},notifyChange:(e,n)=>{this.props.onChange(e,n)}})}render(){const{nativeControlChecked:e,nativeControlDisabled:n,focusVisible:r}=this.state,o=this.props,{className:s,style:c,onMouseEnter:u,onMouseLeave:p,size:g,checkedText:y,uncheckedText:v,loading:S,id:D}=o,_=aO(o,["className","style","onMouseEnter","onMouseLeave","size","checkedText","uncheckedText","loading","id"]),b=X(s,{[dn.PREFIX]:!0,[dn.CHECKED]:e,[dn.DISABLED]:n,[dn.LARGE]:g==="large",[dn.SMALL]:g==="small",[dn.LOADING]:S,[dn.FOCUS]:r}),w={type:"checkbox",className:dn.NATIVE_CONTROL,disabled:n||S,checked:e||!1},E=y&&e&&g!=="small",R=v&&!e&&g!=="small";return k.createElement("div",Object.assign({className:b,style:c,onMouseEnter:u,onMouseLeave:p},this.getDataAttr(_)),S?k.createElement(Fr,{wrapperClassName:dn.LOADING_SPIN,size:g==="default"?"middle":g}):k.createElement("div",{className:dn.KNOB,"aria-hidden":!0}),E?k.createElement("div",{className:dn.CHECKED_TEXT,"x-semi-prop":"checkedText"},y):null,R?k.createElement("div",{className:dn.UNCHECKED_TEXT,"x-semi-prop":"uncheckedText"},v):null,k.createElement("input",Object.assign({},w,{ref:this.switchRef,id:D,role:"switch","aria-checked":e,"aria-invalid":this.props["aria-invalid"],"aria-errormessage":this.props["aria-errormessage"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-describedby":this.props["aria-describedby"],"aria-disabled":this.props.disabled,onChange:O=>this.foundation.handleChange(O.target.checked,O),onFocus:O=>this.handleFocusVisible(O),onBlur:O=>this.handleBlur(O)})))}}km.propTypes={"aria-label":m.string,"aria-labelledby":m.string,"aria-invalid":m.bool,"aria-errormessage":m.string,"aria-describedby":m.string,className:m.string,checked:m.bool,checkedText:m.node,defaultChecked:m.bool,disabled:m.bool,loading:m.bool,onChange:m.func,onMouseEnter:m.func,onMouseLeave:m.func,style:m.object,size:m.oneOf(iO.SIZE_MAP),uncheckedText:m.node,id:m.string};km.defaultProps={disabled:!1,className:"",onChange:fe,loading:!1,onMouseEnter:fe,onMouseLeave:fe,size:"default"};const oO={code:"en-US",dateFnsLocale:uE,currency:"USD",Pagination:{pageSize:"Items per page: ${pageSize}",total:"Total pages: ${total}",jumpTo:"Jump to",page:" page"},Modal:{confirm:"Confirm",cancel:"Cancel"},Tabs:{more:"More"},TimePicker:{placeholder:{time:"Select time",timeRange:"Select a time range"},begin:"Start Time",end:"End Time",hour:"",minute:"",second:"",AM:"AM",PM:"PM"},DatePicker:{placeholder:{date:"Select date",dateTime:"Select date and time",dateRange:["Start date","End date"],dateTimeRange:["Start date","End date"],monthRange:["Start month","End month"]},presets:"Presets",footer:{confirm:"Confirm",cancel:"Cancel"},selectDate:"Select Date",selectTime:"Select Time",year:"year",month:"month",day:"day",monthText:"${month} ${year}",months:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},fullMonths:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"},weeks:{Mon:"Mon",Tue:"Tue",Wed:"Wed",Thu:"Thu",Fri:"Fri",Sat:"Sat",Sun:"Sun"},localeFormatToken:{FORMAT_SWITCH_DATE:"MM/dd/yyyy"}},Popconfirm:{confirm:"Confirm",cancel:"Cancel"},Navigation:{collapseText:"Collapse Sidebar",expandText:"Expand Sidebar"},Table:{emptyText:"No Result",pageText:"Showing ${currentStart} to ${currentEnd} of ${total}",descend:"Click to descend",ascend:"Click to ascend",cancelSort:"Cancel sorting"},Select:{emptyText:"No Result",createText:"Create"},Cascader:{emptyText:"No Result"},Tree:{emptyText:"No Result",searchPlaceholder:"Search"},List:{emptyText:"No Result"},Calendar:{allDay:"All Day",AM:"${time} AM",PM:"${time} PM",datestring:"",remaining:"${remained} more"},Upload:{mainText:"Click to Upload File or Drag File to here",illegalTips:"This type of file is not supported",legalTips:"Release and start uploading",retry:"Retry",replace:"Replace File",clear:"Clear",selectedFiles:"Selected Files",illegalSize:"Illegal file size",fail:"Upload fail"},TreeSelect:{searchPlaceholder:"Search"},Typography:{copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Transfer:{emptyLeft:"No Data",emptySearch:"No search results",emptyRight:"No content, check from the left",placeholder:"Search",clear:"Clear",selectAll:"Select all",clearSelectAll:"Unselect all",total:"Total items: ${total}",selected:"Items selected: ${total}"},Form:{optional:"(optional)"},Image:{preview:"Preview",loading:"Loading",loadError:"Failed to load",prevTip:"Previous",nextTip:"Next",zoomInTip:"Zoom in",zoomOutTip:"Zoom out",rotateTip:"Rotate",downloadTip:"Download",adaptiveTip:"Adapt to the page",originTip:"Original size"},Chat:{deleteConfirm:"Are you sure you want to delete this session?",clearContext:"Context cleared",copySuccess:"Copy successful.",stop:"Stop",copy:"Copy",copied:"Copied",dropAreaText:"Put the file here"},UserGuide:{skip:"Skip",next:"Next",prev:"Prev",finish:"Finish"},InputNumber:{},JsonViewer:{search:"Search",replace:"Replace",replaceAll:"Replace All"},VideoPlayer:{rateChange:"Switch rate to ${rate}",qualityChange:"Switch quality to ${quality}",routeChange:"Switch route to ${route}",mirror:"Mirror",cancelMirror:"Cancel mirror",loading:"Loading...",stall:"Loading failed",noResource:"No resource",videoError:"Video load error"}},sO={code:"ja-JP",dateFnsLocale:WE,currency:"JPY",Pagination:{pageSize:"1ページあたりのアイテム数:${pageSize}",total:"合計ページ数:${total}",jumpTo:"ページへ",page:"ページ"},Modal:{confirm:"確認する",cancel:"キャンセル"},Tabs:{more:"もっと"},TimePicker:{placeholder:{time:"時間を選択してください",timeRange:"時間範囲を選択してください"},begin:"始まる時間",end:"終了時間",hour:"時",minute:"分",second:"秒",AM:"午前",PM:"午後"},DatePicker:{placeholder:{date:"日付を選択してください",dateTime:"日時を選択してください",dateRange:["開始日","終了日"],dateTimeRange:["開始日","終了日"],monthRange:["開始月","終了月"]},presets:"クイック選択",footer:{confirm:"確認する",cancel:"キャンセル"},selectDate:"日付を選ぶ",selectTime:"時間を選ぶ",year:"年",month:"月",day:"日",monthText:"${year}年 ${month}",months:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月"},fullMonths:{1:"一月",2:"二月",3:"三月",4:"四月",5:"五月",6:"六月",7:"七月",8:"八月",9:"九月",10:"十月",11:"十一月",12:"十二月"},weeks:{Mon:"月",Tue:"火",Wed:"水",Thu:"木",Fri:"金",Sat:"土",Sun:"日"},localeFormatToken:{FORMAT_SWITCH_DATE:"yyyy/MM/dd"}},Popconfirm:{confirm:"確認する",cancel:"キャンセル"},Navigation:{collapseText:"サイドバーを折りたたむ",expandText:"サイドバーを展開"},Table:{emptyText:"データがありません",pageText:"${total}件のうち、${currentStart}~${currentEnd}件目を表示しています",descend:"クリックして降順",ascend:"クリックして昇順",cancelSort:"ソートのキャンセル"},Select:{emptyText:"データがありません",createText:"作成する"},Tree:{emptyText:"データがありません",searchPlaceholder:"検索する"},Cascader:{emptyText:"データがありません"},List:{emptyText:"データがありません"},Calendar:{allDay:"終日",AM:"午前${time}時",PM:"午後${time}時",datestring:"日",remaining:"あと${remained}つ"},Upload:{mainText:"[ファイルのアップロード]または[ファイルをここにドラッグ]をクリックします",illegalTips:"このタイプのファイルはサポートされていません",legalTips:"手放してアップロード",retry:"再試行",replace:"ファイルを置き換える",clear:"クリア",selectedFiles:"選択されたファイル",illegalSize:"不正なファイルサイズ",fail:"アップロードに失敗しました"},TreeSelect:{searchPlaceholder:"検索する"},Typography:{copy:"コピー",copied:"コピーしました",expand:"展開",collapse:"折り"},Transfer:{emptyLeft:"データがありません",emptySearch:"検索結果がありません",emptyRight:"内容なし、左から確認",placeholder:"検索する",clear:"空っぽ",selectAll:"すべて選択",clearSelectAll:"すべてを選択解除",total:"合計アイテム数:${total}",selected:"選択されているアイテム数:${total}"},Form:{optional:"(オプション)"},Image:{preview:"プレビュー",loading:"読み込み中",loadError:"読み込みに失敗しました",prevTip:"前へ",nextTip:"次へ",zoomInTip:"ズームイン",zoomOutTip:"ズームアウト",rotateTip:"回転",downloadTip:"ダウンロード",adaptiveTip:"ページに適応",originTip:"元のサイズ"},Chat:{deleteConfirm:"このセッションを削除してもよろしいですか?",clearContext:"コンテキストを削除しました",copySuccess:"正常にコピーされました",stop:"とめる",copy:"コピー",copied:"コピーしました",dropAreaText:"ファイルをここに置いてください"},UserGuide:{skip:"スキップ",next:"次へ",prev:"前へ",finish:"完了"},InputNumber:{},JsonViewer:{search:"検索",replace:"置換",replaceAll:"すべて置換"},VideoPlayer:{rateChange:"速さを${rate}に変更",qualityChange:"品質を${quality}に変更",routeChange:"ルートを${route}に変更",mirror:"鏡像",cancelMirror:"鏡像を解除",loading:"読み込み中...",stall:"読み込みに失敗しました",noResource:"リソースなし",videoError:"動画の読み込みエラー"}},lO={code:"ko-KR",dateFnsLocale:yx,currency:"KRW",Pagination:{pageSize:"페이지당 항목: ${pageSize}",total:"총 페이지: ${total}",jumpTo:"이동",page:"페이지"},Modal:{confirm:"확인",cancel:"취소"},Tabs:{more:"더"},TimePicker:{placeholder:{time:"시간 선택",timeRange:"시간 범위 선택"},begin:"시작 시간",end:"종료 시간",hour:"",minute:"",second:"",AM:"아침",PM:"오후"},DatePicker:{placeholder:{date:"날짜 선택",dateTime:"날짜 및 시간 선택",dateRange:["시작 날짜","종료일"],dateTimeRange:["시작 날짜","종료일"],monthRange:["시작 월","종료 월"]},presets:"빠른 선택",footer:{confirm:"확인",cancel:"취소"},selectDate:"선택 날짜 반환",selectTime:"시간 선택",year:"년",month:"월",day:"주간",monthText:"${year}년 ${month}",months:{1:"1 월",2:"2 월",3:"3 월",4:"4 월",5:"5 월",6:"6 월",7:"7 월",8:"8 월",9:"9 월",10:"10 월",11:"11 월",12:"12 월"},fullMonths:{1:"1 월",2:"2 월",3:"3 월",4:"4 월",5:"5 월",6:"6 월",7:"7 월",8:"8 월",9:"9 월",10:"10 월",11:"11 월",12:"12 월"},weeks:{Mon:"월",Tue:"화",Wed:"수",Thu:"목",Fri:"금",Sat:"토",Sun:"일"},localeFormatToken:{FORMAT_SWITCH_DATE:"yyyy-MM-dd"}},Popconfirm:{confirm:"확인",cancel:"취소"},Navigation:{collapseText:"사이드 바 축소",expandText:"사이드 바 확장"},Table:{emptyText:"결과 없음",pageText:"${total} 중 ${currentStart}-${currentEnd}",descend:"내림차순을 보려면 클릭하세요",ascend:"오름차순을 보려면 클릭하세요",cancelSort:"정렬 취소"},Select:{emptyText:"결과 없음",createText:"옵션 생성"},Cascader:{emptyText:"결과 없음"},Tree:{emptyText:"결과 없음",searchPlaceholder:"검색"},List:{emptyText:"결과 없음"},Calendar:{allDay:"하루 종일",AM:"오전 ${time}시",PM:"오후 ${time}시",datestring:"일",remaining:"${remained} 가지 더"},Upload:{mainText:"파일 업로드를 클릭하거나 여기로 파일 드래그",illegalTips:"이 유형의 파일은 지원되지 않습니다",legalTips:"마우스를 놓습니다 업로드 시작",retry:"재시도",replace:"파일 바꾸기",clear:"클리어",selectedFiles:"선택된 파일",illegalSize:"잘못된 파일 크기",fail:"업로드 실패"},TreeSelect:{searchPlaceholder:"검색"},Typography:{copy:"복사",copied:"복사했습니다",expand:"배포",collapse:"접어"},Transfer:{emptyLeft:"결과 없음",emptySearch:"검색 결과가 없습니다",emptyRight:"내용이 없습니다. 왼쪽에서 확인하십시오.",placeholder:"검색",clear:"비우기",selectAll:"모두 선택",clearSelectAll:"모두 선택 취소",total:"총 항목: ${total}",selected:"선택한 항목: ${total}"},Form:{optional:"(선택 과목)"},Image:{preview:"시사",loading:"로딩 중",loadError:"불러 오지 못했습니다",prevTip:"이전",nextTip:"다음",zoomInTip:"확대",zoomOutTip:"축소",rotateTip:"회전",downloadTip:"다운로드",adaptiveTip:"페이지에 맞게 조정",originTip:"원래 크기"},Chat:{deleteConfirm:"이 대화를 삭제하시겠습니까?",clearContext:"컨텍스트가 지워졌습니다",copySuccess:"복사 성공",stop:"중지",copy:"복사",copied:"복사했습니다",dropAreaText:"파일을 여기에 놓으세요"},UserGuide:{skip:"건너뛰기",next:"다음",prev:"이전",finish:"완료"},InputNumber:{},JsonViewer:{search:"검색",replace:"교체",replaceAll:"모두 교체"},VideoPlayer:{rateChange:"속도를 ${rate}로 변경",qualityChange:"품질을 ${quality}로 변경",routeChange:"경로를 ${route}로 변경",mirror:"거울",cancelMirror:"거울 해제",loading:"로딩 중...",stall:"로딩 실패",noResource:"리소스 없음",videoError:"비디오 로드 오류"}},cO=["en-US","zh-CN","ja-JP","ko-KR"];function Vi(i){if(typeof i!="string")return;const e=i?.trim().toLowerCase().replace("_","-").split("-")[0];return cO.find(n=>n.slice(0,2)===e)}const uO="{{api}} が未実装です。審査に提出する前に実装してください。",dO="ページの言語は変更されましたが、CLI の言語設定を保存できませんでした。同じ言語を選び直して再試行してください。",pO="準備された Wasm コードを圧縮しています",gO="ttmg dev --launch-config ttmg.launch.json で使用されるのと同じ起動構成をインポートまたはエクスポートします。シーン、パッケージ、クエリ、デバッグ設定が含まれます。アカウントの資格情報は除外されます。",hO="インポート構成",mO="設定のエクスポート",fO="インポートされた構成とデバッグ設定は保存時に有効になります",yO="無効な起動構成です。このプロジェクトで宣言されているスキーマ、クエリ、デバッグ設定、および独立したパッケージを確認してください。",vO="API 呼び出しが検出されませんでした (静的チェック)",SO="API 呼び出しが検出されました (静的チェック)",bO="DevTool",wO="スキャンしてローカル デバッグを開始します",CO="デバイスが接続されました!",kO="デバッグ サービスが切断されました",PO="接続されていません",DO="ノード",_O="ブラウザ",TO="デバッグページ",EO="クライアント",xO="接続されました",IO="切断されました",$O="失敗しました",RO="不明",OO="凡例",NO="マシン上のローカル デバッグ サービス (デバッグ ページとクライアントを接続し、デバッグ メッセージを転送します)。",AO="DevTool デバッグ ページがブラウザで開きます。",LO="デバイス上の TikTok 内のサービスをデバッグします (HTTP/WS 機能を提供します)。",MO="ドットはリンクのステータスを示します。 ws/http は、同じエッジの反対側に表示されます。",jO="ネットワーク診断",FO="ネットワーク診断",GO="QR スキャンの停止、接続障害、および到達不能なポートを診断します。",WO="スキャンしても応答がありませんか?クリックして診断してください",zO="ネットワーク診断",qO="TikTok スキャンで応答がない場合、LAN アクセスが失敗する場合、またはプロキシ設定が邪魔になる場合にこれを使用します。",UO="開く",BO="すべてのチェックを実行する",HO="手動接続",VO="手動バインド クライアント デバッグ サービス",KO="QR スキャン パスが使用できない場合 (プロキシ/ファイアウォール/マルチ NIC)、接続するクライアント IP とポートを手動で入力できます。",QO="クライアント エンドポイントを指定する",XO="手動接続に移動します",YO="現在の結果",JO="まだチェックされていません",ZO="ローカル サービス、クライアント HTTP、およびクライアント WS をチェックして、障害のあるセグメントを特定します。",e3="すべてのチェックを実行するか、最初にクライアント エンドポイントを入力します。",t3="リンクをチェックしています",n3="ローカル サービス、クライアント HTTP、およびクライアント WS をチェックしています。",r3="完了したら、以下のチェック結果を確認してください。",i3="クライアント エンドポイントがありません",a3="クライアント IP / HTTP / WS ポートが欠落しているため、電話機側のリンクをまだ判断できません。",o3="ローカル デバッグ サービスは利用できません",s3="デバッグ ページはローカル ノードにアクセスできません。最初に `ttmg dev` が実行されていることを確認します。",l3="デバッグ ページはローカル ノード WebSocket に接続できません。ローカル デバッグ サービスが完全に開始されていることを確認します。",c3="クライアント リンクが到達不能です",u3="ローカル サービスは正常ですが、電話側の HTTP および WS へのデバッグ ページ アクセスがタイムアウトになります。問題は電話側のパスまたはクライアント デバッグ サービスにあります。",d3="クライアント WS に到達できません",p3="クライアント HTTP に到達可能ですが、WS がタイムアウトします。まず、WS ポートとクライアント リスナーを確認します。",g3="ネットワーク リンクは正常です",h3="ローカル サービスとクライアント HTTP / WS に到達可能です。スキャン デバッグに戻って、上位層のチェックを続けます。",m3="チェック結果が不完全です",f3="これは一般的な失敗パターンと一致しません。クライアントのエンドポイント値を確認し、チェックを再度実行します。",y3="クライアント IP、HTTP ポート、および WS ポートが読み込みページと一致することを確認します。",v3="コンピュータ IP",S3="WSポート",b3="HTTP ポート",w3="コンピューター",C3="クライアント",k3="トラブルシューティング ガイドを見る",P3="プロキシ設定を開く",D3="環境の詳細",_3="展開すると、コンピューターとクライアントのエンドポイント値が表示されます。",T3="チェック結果",E3="障害のあるセグメントを特定するためのリンクレベルの証拠を保持します。",x3="デバッグページ ↔ ノード (HTTP)",I3="デバッグページ ↔ ノード (WS)",$3="デバッグページ ↔ クライアント (HTTP)",R3="デバッグページ ↔ クライアント (WS)",O3="提案",N3="まず以下のアクションを試してから、チェックを再度実行して、問題が絞り込まれているかどうかを確認してください。",A3="アクション",L3="追加情報: 接続が成功した場合は、QR デバッグ ページに戻って続行してください。",M3="手動接続情報が保存され、完全な診断が自動的に開始されました。",j3="手動接続が送信されましたが、クイック接続チェックは依然として失敗しました:",F3="スキャンでエンドポイントが見つからなかったり、ポートが一致しない場合は、クライアント IP / HTTP / WS を入力して再確認してください。",G3="次のステップ",W3="結果",z3="推奨される修正",q3="エンドポイントを埋める",U3="最初にクライアント IP、HTTP ポート、および WS ポートを指定してから保存し、現在のパスが到達可能かどうかを診断します。",B3="スキャン デバッグに戻る",H3="コア ネットワーク パスに到達可能です。ホーム ページに戻って再度スキャンするか、現在のデバッグ フローを続行します。",V3="再起動後に再確認してください",K3="`ttmg dev` が実行されていることを確認してください。必要に応じてローカル デバッグ サービスを再起動し、チェックを再度実行します。",Q3="チェックを再度実行して、問題が絞り込まれているかどうかを確認します。",X3="展開する",Y3="崩壊",J3="ドキュメントを開く",Z3="クライアント エンドポイントが検出されませんでした",eN="スキャンして接続するか、クライアントの IP / HTTP / WS ポートを入力します。",tN="クライアント接続に失敗しました (LAN / プロキシ / ファイアウォール)",nN="電話とコンピュータが同じ Wi‑Fi/サブネット上にあることを確認してください。グローバル VPN/TUN を無効にします。プロキシでの LAN の許可を有効にします。ファイアウォールで Node.js を許可します。",rN="ローカル デバッグ サービスは利用できません",iN="`ttmg dev` がプロジェクト ルートで実行されていて、ポートが占有されていないことを確認してください。",aN="ネットワークまたはプロキシ設定を変更したばかりの場合は、プロジェクト ルートに戻り、`ttmg dev` を再度実行します。",oN="電話機をデバッグ読み込みページのままにして、クライアント デバッグ サービスを有効にし、表示されたポートを一致させます。",sN="電話とコンピュータを同じ Wi-Fi/サブネット上に保ちます。プロキシを使用している場合は、「LAN を許可」を有効にし、VPN/TUN/ファイアウォールをチェックします。",lN="WS ポートが正しく、リッスンしていることを確認します。それでもタイムアウトになる場合は、ファイアウォール、ルーター ポリシー、または VPN/TUN を確認してください。",cN="明らかな問題は検出されませんでした",uN="それでも失敗する場合は、コピーした環境情報とスクリーンショットを調査のために共有してください。",dN="HTTP には到達可能ですが、WS には到達できません: WS ポートが正しいかどうか、およびクライアント デバッグ サービスがリッスンしているかどうかを確認してください。",pN="WS がタイムアウトした場合: ポートがファイアウォール/ルーター ポリシーによってブロックされているか、グローバル VPN/TUN が LAN トラフィックに影響を与えている可能性があります。",gN="HTTP と WS の両方に到達できません: 電話機とコンピュータが同じ Wi‑Fi/サブネット上にあるかどうかを確認してください (AP 分離が存在する可能性があります)。",hN="グローバル VPN/TUN を無効にします。プロキシでの LAN の許可を有効にします。 LAN アクセスのファイアウォール ルールを確認してください。",mN="それでも失敗する場合は、電話ネットワークをコンピュータ ネットワーク経由でルーティングし、再度スキャンします。",fN="クライアントの HTTP アドレスまたはポートが使用できません",yN="クライアント WS アドレスまたはポートが使用できません",vN="アイドル",SN="ランニング",bN="小切手",wN="小切手を待っています",CN="チェック中...",kN="ネットワーク到達可能",PN="ヒント",DN="ping は機能するが WS が失敗する場合、通常は TCP ポートがリッスンしていないかブロックされていることが原因です (ICMP は TCP/WS とは異なります)。",_N="クライアントが切断されました。再接続するには QR コードをスキャンしてください。",TN="ノード サービスが切断されました。ターミナルでデバッグ サービスを再起動してください。",EN="デバッグデバイスの切り替え",xN="デバイスが接続されていません",IN="デバッグ前にデバイスを接続してください。",$N="TikTok でスキャンしてデバッグします",RN="スキャンデバイスの切り替え",ON="デバッグ環境を初期化しています...",NN="デバッグ環境を初期化するようにクライアントに通知しています...",AN="クライアントのデバッグ環境構成を取得しています...",LN="クライアントのデバッグ環境構成の取得に失敗しました",MN="クライアント デバッグ環境設定が正常に取得されました",jN="クライアントのデバッグ環境が初期化されました。ゲームリソースのアップロードを待機しています...",FN="クライアント デバッグ環境の初期化に失敗しました",GN="JS ランタイム環境を初期化しています...",WN="JS ランタイム環境が正常に初期化されました",zN="コード パッケージを再アップロードします",qN="ゲームリソースをアップロードしています...",UN="ゲームリソースのアップロード",BN="パッケージをクライアントに送信しています。ゲームが終了すると自動的に開始されます。",HN="ゲーム リソースが正常にアップロードされました。クライアントがゲームをロードしています...",VN="ゲームリソースのアップロードに失敗しました。ご使用の環境をご確認ください。",KN="ゲーム環境を初期化しています...",QN="ゲーム リソースはローカルでコンパイルされています。お待ちください...",XN="ゲームリソースのコンパイル",YN="ゲームリソースが更新されました。デバッグのために再度アップロードしますか?",JN="ゲーム リソースが正常に更新されました。",ZN="ゲーム環境の初期化に失敗しました。ご使用の環境をご確認ください。",eA="ゲームのデバッグ環境設定を取得しています",tA="ゲーム環境設定が正常に取得されました",nA="ゲーム環境設定の取得に失敗しました",rA="ゲーム スクリプトの取得",iA="ブラウザのデバッグ環境が初期化されました。リソースがアップロードされるとゲームが開始されます。",aA="ゲーム実行環境が初期化されました。リソースをクライアントにアップロードする準備をしています。",oA="ゲーム パッケージをクライアントにアップロードしています...",sA="ゲーム パッケージが正常にアップロードされました。クライアントがゲームをロードしています...",lA="ゲームパッケージのアップロードに失敗しました",cA="ミニゲームパッケージを再アップロード",uA="ミニゲーム再開",dA="デバッグを終了します",pA="デバッグ環境を開始しています...",gA="ローカル ノード デバッグ サービスへの接続に失敗しました",hA="ローカル ノード デバッグ サービスに接続しています...",mA="ローカル ノード デバッグ サービスに接続しました",fA="ローカル ノード デバッグ サービスへの接続に失敗しました。 「ttmg dev」がゲームのルート ディレクトリで実行されていることを確認してください。",yA="ノード デバッグ サービスが切断されました。ターミナルでデバッグ サービスを再起動してください。",vA="クライアント デバッグ サービスが正常に接続されました",SA="クライアント デバッグ サービスへの接続に失敗しました。 QR コードを再度スキャンしてデバッグ サービスを開始してください。",bA="クライアント デバッグ サービスが切断されました。再接続するには、もう一度 QR コードをスキャンしてください。",wA="このネットワークではモバイル QR スキャンを利用できません",CA="ローカル デバッグ サービスは実行されていますが、コンピュータには電話機から到達可能な LAN アドレスがありません。両方のデバイスが同じネットワーク上にあることを確認してください。 VPN またはプロキシを使用する場合は、LAN アクセスを有効にします。",kA="接続アドレスの設定",PA="クライアントデバッグ環境の起動に失敗しました。 QR コードを再度スキャンしてデバッグ サービスを開始してください。",DA="ゲームスクリプトのロードに失敗しました",_A="デバイスにアップロード",TA="アップロードしないでください",EA="プラットフォームへのアップロード",xA="QR コードをスキャンしています...",IA="スキャンによって新しいデバッグ セッションを開始するようにデバイスを切り替えます",$A="TikTok アカウントがデバッグ アプリのテスト ユーザーとして追加されていることを確認してください",RA="ログインしていません",OA="起動モード名",NA="起動パッケージの選択",AA="独立したサブパッケージを選択してください",LA="エントリーシーンを選択",MA="カスタム起動パラメータ",jA="例: a=1&b=2",FA="検索",GA="フィードカード用",WA="クリエイターアンカー",zA="DM 共有",qA="リンクをコピー",UA="受信箱",BA="本体パッケージ",HA="独立したサブパッケージ",VA="カスタム起動モード",KA="{{name}} を削除してもよろしいですか?",QA="保存",XA="開発者向けオプション",YA="デバッグ中にプラットフォーム上で構成されていないドメインへのリクエストを許可します。",JA="広告モックを有効にする",ZA="模擬広告結果を使用して広告シナリオをデバッグします。",eL="IAP モックを有効にする",tL="支払い結果をサンドボックス経由でルーティングし、結果関連のシナリオをデバッグします。",nL="起動モードの選択",rL="新しい起動モードを作成する",iL="デバッグモードの選択",aL="リモートデバッグ",oL="実機プレビュー",sL="クライアントのデバッグ",lL="起動パラメータは文字列である必要があります",cL="起動パラメータには疑問符 (?) プレフィックスを含めないでください。パラメータ部分のみ入力してください。",uL="起動パラメータ形式エラー: 空のキーと値のペアが見つかりました。各「&」記号の両側に完全な「key=value」構造があることを確認してください。",dL="起動パラメータ形式エラー: 空のキーが見つかりました。各「&」記号の両側に完全な「key=value」構造があることを確認してください。",pL="起動パラメータ形式エラー: 重複したキーが見つかりました。各キーは一意である必要があります。",gL="起動パラメータ形式エラー: 無効なキー文字が見つかりました。文字、数字、アンダースコア (_)、およびハイフン (-) のみを使用してください。",hL="起動パラメータ形式エラー: 無効な値の文字が見つかりました。文字、数字、アンダースコア (_)、およびハイフン (-) のみを使用してください。",mL="起動パラメータ形式エラー: 無効な URL エンコーディングが見つかりました。正しいエンコード形式を使用してください。",fL="起動パラメータの形式エラー: 等号 (=) が欠落しているか、値が空です。 「key=value」形式を使用し、値が空でないことを確認してください。",yL="空にすることはできません",vL="保存して適用",SL="申し込む",bL="ローカル デバッグ設定をクライアントに送信しています...",wL="ローカル ノード デバッグ サービス構成が正常に取得されました",CL="ローカル デバッグ サービス構成の取得に失敗しました。ノードサービスが実行されているかどうかを確認してください。",kL="デバッグ環境の依存関係スクリプトをロードしています...",PL="依存関係スクリプトが正常にロードされました",DL="依存関係スクリプトのロードに失敗しました。 QR コードを再度スキャンしてデバッグ サービスを開始してください。",_L="依存関係スクリプトが空です。 QR コードを再度スキャンしてデバッグ サービスを開始してください。",TL="依存関係スクリプトが正常にロードされ、初期化されました",EL="ゲーム リソースが正常にコンパイルされました。デバッグするにはデバイスをスキャンします。",xL="ゲーム リソースが正常にコンパイルされました。",IL="デバッグ開始",$L="デバッグ開始",RL="スキャンして接続し、デバッグを開始します",OL="起動モードを選択し、TikTok クライアントでスキャンして、実際のデバイスまたはブラウザでミニ ゲームをプレビューします。",NL="デバイスが接続されており、デバッグが進行中です",AL="TikTok クライアントに接続しました — 実際のデバイスまたはブラウザーでミニ ゲームをプレビューします。デバイスを切り替えるには、再度スキャンして新しいデバッグ セッションを開始します。",LL="プロジェクト概要",ML="起動モード",jL="アップロードして公開する",FL="通常起動モード",GL="新しい起動モード",WL="ローカル デバッグ フェーズでは、ゲーム名、アイコン、クライアント キー、説明、合計パッケージ サイズ、メイン パッケージ サイズ、独立したサブパッケージ サイズ、信頼できるドメイン、サービス条件、プライバシー ポリシーなどを含む、現在のミニ ゲームの基本情報をすばやく表示できます。",zL="これらのコア情報を事前に確認することで、潜在的な問題を迅速に発見し、正式リリース前にプロジェクトのステータスがプラットフォーム要件を満たしていることを確認できるため、リリース後のリスクと手戻りを軽減できます。",qL="プロジェクト サイズ {{limit}} 制限を超えないこと",UL="メインパッケージのサイズ {{limit}} 制限を超えないこと",BL="独立したサブパッケージのサイズ {{limit}} 制限を超えないこと",HL="プロジェクト サイズ {{limit}} 制限を超えています",VL="メインパッケージのサイズ {{limit}} 制限を超えています",KL="独立したサブパッケージのサイズ {{limit}} 制限を超えています",QL="起動モードを設定することで、起動パッケージ、エントリシーン、起動パラメータを柔軟に選択して、さまざまなテストやオンラインの要件を満たすことができます。ゲームが正常に起動し、期待されるシーンに入ることができるように、実際のニーズに基づいて関連する設定を完了してください。",XL="3. 設定ファイルのチェック",YL="サブパッケージ ファイルのパスが正しく構成されていること、および後でロードの失敗を避けるためにすべてのパスに正常にアクセスできることを確認してください。",JL="1. 梱包サイズの確認",ZL="2. 必須の API チェック",eM="静的チェックは、コード内の API 呼び出しを検出します。デバイスの実行、ログインの成功、広告、支払い、プラットフォームの構成は検証されません。",tM="ゲーム パッケージ全体のサイズは {{projectSize}} 以内に制御する必要があります。メイン パッケージのサイズは {{mainPackageSize}} を超えることはできず、各独立したサブパッケージのサイズは {{independentPackageSize}} を超えることはできません。",nM="ゲーム パッケージ全体のサイズは {{projectSize}} 以内に制御する必要があります。その他の追加の制限はありません。",rM="設定ファイルのチェックに合格しました!",iM="梱包サイズチェック合格!",aM="パッケージ サイズのチェックに失敗しました。",oM="設定ファイルのチェックに失敗しました!",sM="性能チェック",lM="性能チェック合格!",cM="パフォーマンス チェックに失敗しました!",uM="ドキュメントを見る",dM="チェックの詳細を展開する",pM="クローズチェック詳細",gM="ゲームプロジェクト",hM="本体パッケージサイズ",mM="独立したサブパッケージのサイズ",fM="信頼できるドメイン",yM="利用規約とプライバシー",vM="規約とプライバシー - 規約 URL",SM="利用規約とプライバシー - プライバシー URL",bM="利用規約 URL",wM="プライバシーポリシー URL",CM="プロジェクトのサイズ",kM="名前",PM="アイコン",DM="クライアントキー",_M="説明",TM="現在のゲーム ClientKey {{clientKey}} をデバッグ用に有効にできません。確認して再試行してください。",EM="ゲームの詳細を取得できませんでした。後でもう一度試してください。",xM="現在のアカウントはログインしていないため、ゲームの詳細を取得できません。コンソールで `ttmg login` を実行し、開発者プラットフォーム アカウントでログインしてください。ログイン後、`ttmg dev` コマンドを実行してデバッグ モードを有効にします。",IM="コンソールに `ttmg login` コマンドを入力し、開発者プラットフォームのアカウントとパスワードを使用してログインできます。",$M="ドキュメント",RM="クイックスタート",OM="API リファレンス",NM="エラー参照",AM="よくある質問",LM="アップロード",MM="キャンセル",jM="バージョンメモ",FM="アップロード成功",GM="アップロードに失敗しました",WM="ゲーム リソースがプラットフォームに正常にアップロードされると、プラットフォームはリソースを検証してデプロイします。プラットフォーム上でゲームのプレビュー バージョンを表示できます。",zM="プラットフォームの眺め",qM="コマンドラインにログインした後でのみ、デバッグページのゲームパッケージアップロード機能を使用できます。",UM="現在のゲームをプラットフォームにアップロードする",BM="プラットフォーム上に信頼できるドメインがまだ構成されていません。プラットフォーム許可リス​​トに追加されたドメインのみが実行時にネットワーク要求を送信できます。ゲームが外部ドメインにアクセスする必要がある場合は、必要に応じてここに追加します。",HM="デバッグ環境スクリプトの初期化に失敗しました。QR コードをもう一度スキャンしてください",VM="ゲーム リソースのアップロードに失敗しました。QR コードをもう一度スキャンしてください",KM="ゲームに規約とプライバシー (規約 URL) がありません。ログイン/承認フローはこのフィールドに依存するため、プラットフォーム上で設定されるまでデバッグは失敗します。",QM="ゲームには利用規約とプライバシー (プライバシー URL) がありません。ログイン/承認フローはこのフィールドに依存するため、プラットフォーム上で設定されるまでデバッグは失敗します。",XM="ゲームに規約とプライバシー (規約 URL とプライバシー URL) がありません。ログイン/承認フローはこれらのフィールドに依存するため、プラットフォーム上で設定されるまでデバッグは失敗します。",YM="現在の規約とプライバシー (規約 URL) は空です。ゲームが正常に実行できるように、この URL をプラットフォームに追加してください。",JM="現在の利用規約とプライバシー (プライバシー URL) が空です。ゲームが正常に実行できるように、この URL をプラットフォームに追加してください。",ZM="現在のゲーム名は空です。レビューが拒否されないように、送信前に記入してください。",ej="現在のゲームアイコンは空です。レビューが拒否されないように、送信前に記入してください。",tj="現在のゲームの説明は空です。ゲームが正常に実行できるようにするために、ゲームの説明をゲームの説明リストに追加してください。",nj="現在のアカウントには、ID {{clientKey}} のゲーム詳細を表示する権限がありません。開発者プラットフォームで開発許可を申請し、`ttmg dev` コマンドを実行してデバッグ モードを有効にしてください。",rj="端末は TikTok 開発者プラットフォームに到達できないため、信頼ドメイン、規約、プライバシー、その他のプラットフォーム構成を取得できません。 VPN/プロキシが端末に適用されていることを確認するか、`ttmg config set proxy ...` を構成してデバッグを再開してください。",ij="クライアント WebSocket への接続を開始します、👉🏼👉🏼👉🏼 {{wsURL}}...",aj="クライアント WebSocket サービス接続がタイムアウトしました。コンピュータと携帯電話が同じローカル エリア ネットワーク内にあるかどうかを確認してください。",oj="現在のアカウントはログインしていないため、ゲームの詳細を取得できません。コンソールで `ttmg login` を実行し、開発者プラットフォーム アカウントでログインしてください。ログイン後、`ttmg dev` コマンドを実行してデバッグ モードを有効にします。",sj="現在のアカウントのログイン期限が切れました。再度ログインしてください。",lj="ログイン",cj="動画リワード広告を作成する",uj="ショートカットを追加",dj="オープンプロフィールサイドバー入口",pj="ショートカットミッション報酬を獲得",gj="入場ミッション報酬を獲得",hj="統合されました!",mj="統合されていません!",fj="必須の API チェックに合格しました。",yj="必須の API チェックが失敗しました。",vj="ゲームをロードするクライアント プレビュー。詳細についてはブラウザ コンソールを確認してください...",Sj="クライアント プレビュー環境が初期化されました。詳細については、ブラウザ コンソールを確認してください...",bj="ゲーム メタ データのクライアントへの送信を開始し、その後クライアントはゲームの起動を開始します...",wj="ゲームのメタデータがクライアントに正常に送信されました。クライアントはゲームの起動を開始します...",Cj="1. ブラウザのリモート デバッグ: まずブラウザでリモート デバッグ環境を初期化し、次にクライアントに接続してデバッグを開始します。このモードではゲーム パッケージをクライアントにアップロードする必要がありますが、デバッグ プロセスはブラウザのリモート デバッグ機能に基づいています。",kj="2. クライアントの実際のプレビュー: ローカル ゲーム コードをクライアントにアップロードし、実際のデバイスでプレビューおよびデバッグします。このモードでは、実際のデバイス上のゲームのパフォーマンスと互換性を直接検証します。",Pj="ポート番号が無効です。有効なポート番号を入力してください",Dj="QR コードが応答しない場合は、ここをクリックしてクライアント デバッグ サービス アドレスを手動でバインドしてください。",_j="確認",Tj="携帯電話のローカル IP アドレスを入力してください",Ej="アップロード開始",xj="クライアント デバッグ サービス アドレスを手動でバインドします",Ij="確認に行く",$j="ネットワークを確認してください",Rj="1. 携帯電話とコンピュータの間の異なるネットワーク環境によって引き起こされるネットワーク接続の問題を解決するために、クライアント デバッグ サービスへの手動接続をサポートします。",Oj="2. TikTok Android 42.9 以降のバージョンのみがサポートされており、iOS は当面サポートされません。",Nj="戻る",Aj="接続開始",Lj="接続する",Mj="クライアントの読み込みページに表示される IP、HTTP ポート、および WS ポートを入力します。確認後、デバッグ ページはそれらを保存し、クライアント デバッグ サービスへの接続を試行します。",jj="接続を確認してください",Fj="接続チェック",Gj="クライアント WebSocket",Wj="クライアント HTTP",zj="OK",qj="失敗しました",Uj="タイムアウト",Bj="接続に失敗しました",Hj="最初に IP とポートを入力してください",Vj="ゲーム パッケージをアップロードするには、まず現在のゲーム パッケージの説明を入力する必要があります。",Kj="ドメインチェックを無効にする",Qj="vConsole ログパネルを有効にする",Xj="開発者情報パネルを有効にする",Yj="クライアントで vConsole ランタイム ログを表示します。",Jj="クライアント上の開発者情報とランタイム統計を表示します。",Zj="‼️ {{count}} の問題が検出されました。各項目には、「ブロック」または「提案」というラベルが付けられます。",e4="ブロッキング",t4="提案",n4="ゲームの基本情報が欠落しています: {{fields}}。",r4="タイトル (名前)",i4="アイコン(アイコン)",a4="説明 (説明)",o4="、",s4="開発者アカウントでログインしていません。アップロードは利用できず、ネットワーク リクエストはブロックされている可能性があります。一時的なローカル デバッグの場合は、開発者向けオプションでドメイン チェックを無効にします。",l4="レビューの拒否を避けるために、送信する前にこの問題を解決してください。",c4="詳細を見る",u4="詳細を隠す",d4="注意が必要です",p4="おすすめ",g4="ターミナルプロキシは適用されません",h4="アカウントに開発アクセスがありません",m4="開発者ログインは利用できません",f4="Client Key が認識できません",y4="許可を申請する",v4="開発者ポータルを開く",S4="{{count}} その他の問題",b4="ダークテーマに切り替える",w4="ライトテーマに切り替える",C4="の特徴",k4="の最適化",P4="バグ修正",D4="詳細はこちら",_4="変更履歴",T4="新規",E4="DevTool の各リリースで追加、改善、修正された内容を確認します。",x4="新機能/最適化された機能のターゲット バージョン:",I4="Wasm コード分割",$4="スプリットの準備",R4="収集機能",O4="分割コード",N4="ロールバック",A4="分割に失敗しました",L4="分割アーティファクトを書き込んでいます...",M4="再試行",j4="分割コードの準備を開始しています...",F4="キャンセル分割コード用意",G4="バックグラウンド実行",W4="分割コードを準備中です。お待ちください...",z4="準備プロセス中は、ローカル ゲーム パッケージを変更しないでください。変更すると、準備が失敗する可能性があります。",q4="分割コードの準備が成功しました!",U4="分割コードの準備に失敗しました!",B4="リトライ準備",H4="準備された Wasm コードをダウンロード",V4="ダウンロードに失敗しました",K4="ダウンロードを再試行します",Q4="ダウンロード成功",X4="準備された Wasm コードをダウンロードした後、デバッグのためにローカル環境でコードを分割できます。",Y4="分割コードの説明",J4="分割コードの説明を入力してください",Z4="準備開始",eF="処理中...",tF="Wasm 分割構成を更新します",nF="Wasm 分割構成の更新が成功しました!",rF="Wasm 分割構成の更新に失敗しました。",iF="準備された Wasm コードの圧縮が成功しました。",aF="準備された Wasm コードの圧縮に失敗しました。",oF="圧縮準備済みの Wasm コードを書き込みます",sF="圧縮準備済みの Wasm コードの書き込みが成功しました。",lF="圧縮準備済みの Wasm コードの書き込みに失敗しました。",cF="ダウンロード URL を取得する",uF="ダウンロード URL の取得に成功しました。",dF="ダウンロード URL の取得に失敗しました!",pF="準備された Wasm コードのダウンロードが成功しました。",gF="準備された Wasm コードのダウンロードに失敗しました!",hF="スプリット開始",mF="分割する前に、収集された関数が全体の少なくとも 8% に達する必要があります。プレイを続けて、最初の画面と主要なゲームプレイ パスをカバーします。",fF="現在のローカル プロジェクトはすでに wasm 分割をサポートしています。TikTok クライアントを使用して QR コードをスキャンし、関数の収集を開始してください。完全なロード プロセス、ゲーム ティーチングなどを事前にサポートしてください。",yF="接続されているデバイス・収集機能",vF="接続されたデバイスでのロード、チュートリアル、およびコア ゲームプレイを順を追って説明します。 DevTool は、呼び出される関数を記録し続けます。最初の画面とコア パスがカバーされたら、分割を開始できます。",SF="収集を開始します",bF="収集セッションを開始しています...",wF="前回の収集セッションが再開されました - 既存の進行状況は保存されました。",CF="Wasm ファイルサイズ",kF="収集された関数の数",PF="総関数数",DF="分割バージョン",_F="分割コード処理中です。お待ちください...",TF="分割をキャンセル",EF="分割結果の取得",xF="分割結果の取得を再試行します",IF="分割結果の取得に失敗しました。再試行してください。",$F="分割コード処理が成功しました!",RF="分割結果のダウンロード",OF="分割結果のダウンロードに失敗しました。再試行してください。",NF="ダウンロード再試行分割結果",AF="ダウンロード分割結果は成功しました!",LF="ローカルでは実際のデバイスを使用してデバッグ QR コードをスキャンし、分割コードの読み込みプロセスを体験し、その後ゲームに例外がないことを確認し、テストとリリースのために開発者プラットフォームに現在のディレクトリ ファイルをアップロードできます。",MF="Android メイン Wasm ファイルをダウンロードしています...",jF="Android メイン Wasm ファイルのダウンロードに成功しました",FF="Android メイン Wasm ファイルを圧縮しています...",GF="Android メイン Wasm ファイルの圧縮に成功しました",WF="Android サブ Wasm コードをダウンロードしています...",zF="Android サブ Wasm コードのダウンロードが成功しました",qF="Android サブ Wasm コードを圧縮しています...",UF="Android サブ Wasm コードの圧縮に成功しました",BF="iOS メイン Wasm ファイルをダウンロードしています...",HF="iOS メイン Wasm ファイルのダウンロードに成功しました",VF="iOS メイン Wasm ファイルを圧縮しています...",KF="iOS メイン Wasm ファイルの圧縮に成功しました",QF="iOS サブ Wasm コードをダウンロードしています...",XF="iOS サブ Wasm コードのダウンロードが成功しました",YF="iOS サブ Wasm コードを圧縮しています...",JF="iOS サブ Wasm コードの圧縮に成功しました",ZF="分割 Wasm ファイルを書き込んでいます...",e5="分割 Wasm ファイルの書き込みに成功しました",t5="Wasm 分割構成を更新しています...",n5="Wasm 分割構成の更新が成功しました!",r5="Wasm コードが見つかりません",i5="プロジェクト内に Wasm コードが見つかりません。ゲームに Wasm コードがパックされていることを確認して、もう一度お試しください。",a5="現在のプロジェクトにはすでに Wasm コードが分割されています。TikTok クライアントを使用して QR コードをスキャンし、関数の収集を開始してください。完全なロード プロセス、ゲーム ティーチングなどを事前にサポートしてください。",o5="現在の結果をそのまま圧縮してアップロードできます。やり直すには、下の「分割を破棄」をクリックします。",s5="スプリットの破棄",l5="現在のプロジェクトでは Wasm 分割構成が有効になっていません",c5="現在のプロジェクトでは、Wasm 分割構成が有効になっていません。プロジェクト構成で有効にして、再試行してください。",u5="上級ガイド",d5="機能連携",p5="サブパッケージ コレクション",g5="言語",h5="简体中文",m5="英語",f5={"performance.back":"パフォーマンスに戻る",checkApiNotIntegrated:uO,languageSaveFailed:dO,compressPreparedWasmCode:pO,"uploadGame.summary.failedTitle":"プロジェクトのチェックに失敗しました","uploadGame.summary.checkingDesc":"パッケージのサイズ、構成、および API の使用状況を確認しています。","uploadGame.summary.checkingTitle":"プロジェクトをチェックしています","ia.requirement.conditional":"ユースケースに応じて",launchConfigHelp:gO,launchConfigImport:hO,launchConfigExport:mO,launchConfigPending:fO,launchConfigInvalid:yO,apiStaticNotDetected:vO,apiStaticDetected:SO,title:bO,scanQRcodeTitle:wO,deviceConnected:CO,serverDisconnected:kO,deviceDisconnected:PO,connectStatusNode:DO,connectStatusBrowser:_O,connectStatusDebugPage:TO,connectStatusClient:EO,connectStatusConnected:xO,connectStatusDisconnected:IO,connectStatusFailed:$O,connectStatusUnknown:RO,connectStatusLegendTitle:OO,connectStatusLegendNode:NO,connectStatusLegendBrowser:AO,connectStatusLegendClient:LO,connectStatusLegendProto:MO,netDiagNav:jO,netDiagTitle:FO,netDiagSubtitle:GO,netDiagEntryScanNoResponse:WO,netDiagEntryTitle:zO,netDiagEntryDesc:qO,netDiagEntryAction:UO,netDiagRunAll:BO,netDiagManualConnectAndCheck:HO,netDiagManualBindTitle:VO,netDiagManualBindDesc:KO,netDiagManualBindEntry:QO,netDiagManualConnectGo:XO,netDiagSummaryTitle:YO,netDiagSummaryIdleTitle:JO,netDiagSummaryIdleDesc:ZO,netDiagSummaryIdleHint:e3,netDiagSummaryRunningTitle:t3,netDiagSummaryRunningDesc:n3,netDiagSummaryRunningHint:r3,netDiagSummaryMissingClientTitle:i3,netDiagSummaryMissingClientDesc:a3,netDiagSummaryNodeTitle:o3,netDiagSummaryNodeDesc:s3,netDiagSummaryNodeWsDesc:l3,netDiagSummaryClientBothTitle:c3,netDiagSummaryClientBothDesc:u3,netDiagSummaryClientWsTitle:d3,netDiagSummaryClientWsDesc:p3,netDiagSummaryHealthyTitle:g3,netDiagSummaryHealthyDesc:h3,netDiagSummaryPartialTitle:m3,netDiagSummaryPartialDesc:f3,netDiagSummaryPartialHint:y3,netDiagEnvIP:v3,netDiagEnvWsPort:S3,netDiagEnvHttpPort:b3,netDiagComputerGroup:w3,netDiagClientGroup:C3,netDiagOpenTroubleshoot:k3,netDiagOpenProxy:P3,netDiagEnvTitle:D3,netDiagEnvSectionDesc:_3,netDiagChecksTitle:T3,netDiagCheckSectionDesc:E3,netDiagCheckNodeHttp:x3,netDiagCheckNodeWs:I3,netDiagCheckClientHttp:$3,netDiagCheckClientWs:R3,netDiagSuggestTitle:O3,netDiagSuggestSectionDesc:N3,netDiagActionsTitle:A3,netDiagSuccessHint:L3,netDiagManualConnectResultSuccess:M3,netDiagManualConnectResultError:j3,netDiagManualSectionDesc:F3,netDiagNextStepTitle:G3,netDiagGuideEyebrow:W3,netDiagGuideStepsTitle:z3,netDiagActionManualConnect:q3,netDiagActionManualConnectDesc:U3,netDiagActionBackToScan:B3,netDiagActionBackToScanDesc:H3,netDiagActionRerunAfterRestart:V3,netDiagActionRerunAfterRestartDesc:K3,netDiagActionRunAllDesc:Q3,netDiagExpand:X3,netDiagCollapse:Y3,netDiagOpenDoc:J3,netDiagSuggestNoClientTitle:Z3,netDiagSuggestNoClientDesc:eN,netDiagSuggestLanTitle:tN,netDiagSuggestLanDesc:nN,netDiagSuggestNodeTitle:rN,netDiagSuggestNodeDesc:iN,netDiagSuggestNodeRestart:aN,netDiagSuggestClientDebugService:oN,netDiagSuggestLanAndProxy:sN,netDiagSuggestWsBlocked:lN,netDiagSuggestOkTitle:cN,netDiagSuggestOkDesc:uN,netDiagSuggestHttpOkWsFail1:dN,netDiagSuggestHttpOkWsFail2:pN,netDiagSuggestBothFail1:gN,netDiagSuggestBothFail2:hN,netDiagSuggestPhoneProxyFallback:mN,netDiagMissingClientHttp:fN,netDiagMissingClientWs:yN,netDiagStatusIdle:vN,netDiagStatusRunning:SN,netDiagStatusWarning:bN,netDiagCheckIdleDetail:wN,netDiagCheckRunningDetail:CN,netDiagCheckReachableDetail:kN,netDiagQuickHintTitle:PN,netDiagQuickHintDesc:DN,clientDisconnected:_N,nodeDisconnected:TN,switchDevice:EN,disConnectionStatusTitle:xN,disConnectionStatusDesc:IN,scanQRCode:$N,switchScanDevice:RN,startDebug:ON,initClientEnv:NN,fetchClientDevConfig:AN,fetchClientDevConfigFailed:LN,fetchClientDevConfigSuccess:MN,initClientEnvSuccess:jN,initClientEnvFailed:FN,startInitJSDevEnv:GN,initJSDevEnvSuccess:WN,uploadBtn:zN,uploadStart:qN,uploadProcess:UN,uploadProcessDesc:BN,uploadSuccess:HN,uploadError:VN,setupDevEnv:KN,gameResourceCompiling:QN,gameResourceCompilingTitle:XN,gameResourceChange:YN,gameResourceUpdated:JN,devEnvSetupError:ZN,getDevEnvStart:eA,getDevEnvSuccess:tA,setDevEnvFailed:nA,getDevScriptsStart:rA,setDevScriptsSuccess:iA,devEnvSetupSuccess:aA,uploadGameStart:oA,uploadGameSuccess:sA,uploadGameFailed:lA,reUploadGame:cA,relaunchGame:uA,closeGame:dA,loading:pA,nodeServerConnectedFailed:gA,nodeServerStartConnect:hA,nodeServerConnectedSuccess:mA,nodeServerStartError:fA,nodeServerDisconnect:yA,clientConnectedSuccess:vA,clientServerStartError:SA,clientServerDisconnected:bA,networkNoLanIPTitle:wA,networkNoLanIPDesc:CA,networkNoLanIPAction:kA,startDebugFailed:PA,getDevScriptsFailed:DA,uploadToClient:_A,notUpload:TA,uploadToPlatform:EA,"uploadGame.pageTitle":"ゲームをアップロードする","uploadGame.pageDesc":"ここではアップロードが主なタスクです。事前チェックはセーフティ ネットとして機能し、注意が必要な場合にのみ強調されます。","uploadGame.guide.title":"アップロードして公開する","uploadGame.guide.desc":"事前チェックのリスクを確認し、短いバージョンのメモを追加して、プラットフォームにアップロードします。生成されたプレビュー ビルドをスキャンして確認します。","uploadGame.guide.precheck.title":"コードの事前チェック","uploadGame.guide.precheck.desc":"パッケージ サイズ、API、構成、パフォーマンスのリスクを早期に発見します","uploadGame.guide.version.title":"バージョンメモ","uploadGame.guide.version.desc":"アップロード レコードを識別しやすくするために、この変更を説明してください","uploadGame.guide.preview.title":"プラットフォームのプレビュー","uploadGame.guide.preview.desc":"アップロード後にスキャンして、プラットフォームで生成されたビルドを確認します","uploadGame.packageSizeDoc":"パッケージのサイズ制限を表示する","uploadGame.checkTitle":"コードの事前チェック","uploadGame.recheck":"再確認","uploadGame.uploadTitle":"ゲームパッケージをアップロードする","uploadGame.checkWarn":"いくつかの事前チェック項目が失敗しました。レビューの拒否を避けるために、アップロードする前に修正してください。","uploadGame.detailTitle":"事前チェックの詳細","uploadGame.detailDesc":"構成、API、サイズ、またはパフォーマンスの問題の完全な内訳が必要な場合にのみ展開してください。","uploadGame.showDetails":"事前チェックの詳細を表示","uploadGame.hideDetails":"事前チェックの詳細を非表示にする","uploadGame.loginNoticeTitle":"まず開発者ログインを完了してください","uploadGame.readyTitle":"事前チェックに合格し、アップロードの準備ができました","uploadGame.readyDesc":"現時点ではブロックの問題は検出されていません。バージョンノートを追加し、プラットフォームに直接送信します。","uploadGame.issueTitle":"事前チェックメモ","uploadGame.issueDesc":"ここでは主要な概要のみを示します。必要に応じて完全な結果を展開します。","uploadGame.checkFetchFailed":"事前チェック結果の取得に失敗しました。アップロードするかどうかを決定する前にチェックを再実行します。","uploadGame.issueCountSuffix":"の問題","uploadGame.groupPassSuffix":"チェックに合格しました","uploadGame.status.loginReady":"開発者アカウントがログインしました","uploadGame.status.loginRequired":"アップロードにはログインが必要です","uploadGame.status.checking":"事前チェックの実行中","uploadGame.status.checkFailed":"事前チェックのフェッチに失敗しました","uploadGame.status.hasIssues":"事前チェックに問題があります","uploadGame.status.ready":"事前チェックに合格しました","uploadGame.group.performance":"パフォーマンス","uploadGame.group.size":"パッケージサイズ","uploadGame.group.api":"API","uploadGame.group.config":"構成","uploadGame.unknownIssue":"問題の見直しが必要","uploadGame.uploadDescHint":"後で検索できるように、この変更を簡単に説明します。","uploadGame.progress.title":"アップロードしてプラットフォームの処理を待機しています","uploadGame.progress.desc":"パッケージが送信されました。プラットフォームは現在、検証と展開を行っています。","uploadGame.progress.assetTitle":"プラットフォームがパッケージを処理しています","uploadGame.progress.assetDesc":"パッケージがアップロードされました。プラットフォームが現在処理中です。お待ちください…","uploadGame.progress.previewTitle":"プラットフォーム プレビュー QR コードの取得","uploadGame.progress.previewDesc":"アップロードに成功しました。現在、プラットフォームでプレビュー QR コードをポーリングしています。","uploadGame.progress.statusPending":"処理","uploadGame.progress.badgeUploading":"アップロード中","uploadGame.progress.badgeChecking":"検証中","uploadGame.progress.badgePreview":"プレビュー QR を準備中","uploadGame.progress.step1":"コードパッケージを圧縮してアップロードする","uploadGame.progress.step2":"プラットフォームの処理が完了するまで待ちます","uploadGame.progress.step3":"プラットフォーム プレビュー QR コードを取得する","uploadGame.success.title":"アップロードが完了しました","uploadGame.success.readyTitle":"プラットフォームのプレビューが準備できました","uploadGame.success.desc":"API は成功を返しました。 QR コードをスキャンするか、プラットフォーム ページを開いて、このアップロードされたバージョンの確認を続けてください。","uploadGame.success.pendingDesc":"アップロードは成功しましたが、プレビュー QR コードはまだ利用できません。最初にプラットフォーム ページを開いても、後で再度アップロードすることもできます。","uploadGame.success.qrHint":"スキャンしてプラットフォームの結果ページを開きます","uploadGame.success.noQr":"QR コードはまだありません","uploadGame.success.uploadAnother":"別のバージョンをアップロードする","uploadGame.failure.title":"プラットフォームのプレビューはまだ準備ができていません","uploadGame.failure.retry":"再アップロード","uploadGame.failure.missingAssetId":"アップロードで有効なバージョン参照が返されなかったため、プラットフォームの検証を続行できません。もう一度アップロードしてください。","uploadGame.failure.assetTimeout":"パッケージの処理中にプラットフォームがタイムアウトしました。結果は後ほどプラットフォーム上でご確認ください。","uploadGame.failure.assetStatus":"プラットフォームはパッケージの処理をまだ完了していないため、プレビュー QR コードは利用できません。後でもう一度試してください。","uploadGame.failure.previewTimeout":"プラットフォームは処理を終了しましたが、プレビュー QR コードが時間内に返されませんでした。後でもう一度試してください。","uploadGame.record.title":"プレビューのバージョン履歴","uploadGame.record.desc":"ここで最近アップロードされたプレビュー バージョンを確認し、同じモジュールからスキャンを続けてください。","uploadGame.record.refresh":"リフレッシュ","uploadGame.record.loading":"バージョン履歴を読み込んでいます...","uploadGame.record.empty":"プレビュー バージョンのレコードはまだありません。","uploadGame.record.latest":"最新のアップロード","uploadGame.record.selectPlaceholder":"バージョンを選択して詳細を表示します","uploadGame.record.noDesc":"バージョンノートが提供されていませんでした","uploadGame.record.detailTitle":"バージョン {{version}}","uploadGame.record.detailDesc":"選択したバージョンの QR コードとキーのメタデータを右側に保持します。","uploadGame.record.previewHint":"スキャンしてこのバージョンをプレビューします","uploadGame.record.previewLoading":"このバージョンのプレビュー QR コードを取得しています...","uploadGame.record.previewUnavailable":"このバージョンではまだプレビュー QR コードが利用できません","uploadGame.record.pendingDesc":"このバージョンはプラットフォームによってまだ処理中です。履歴を更新して、後でもう一度確認してください。","uploadGame.record.failedDesc":"このバージョンは現在異常な状態にあります。最終結果についてはプラットフォームを確認してください。","uploadGame.record.metaUploadedAt":"にアップロードされました","uploadGame.record.metaAssetId":"アセット ID","uploadGame.record.metaSource":"ソースグループ","uploadGame.record.metaSize":"パッケージサイズ","uploadGame.record.metaUnknown":"-","uploadGame.record.loadFailed":"バージョン履歴のロードに失敗しました。後でもう一度試してください。","uploadGame.record.state.ready":"プレビュー準備完了","uploadGame.record.state.pending":"処理","uploadGame.record.state.failed":"問題","uploadGame.record.source.preview":"プレビュー","uploadGame.record.source.review":"レビュー中","uploadGame.record.source.live":"ライブ","uploadGame.record.source.other":"その他",scanning:xA,scanQRCodeChange:IA,scanQRCodeDesc:$A,"homeSession.title":"現在のデバッグ セッション","homeSession.modeLabel":"デバッグモード","homeSession.entryLabel":"エントリーを開始","homeSession.domainLabel":"ドメイン ポリシー","homeSession.mode.clientPreviewDesc":"クライアント ランタイム。 vConsole、デバイスの機能、および実際のデバイスのネットワークを確認してください。","homeSession.mode.remoteDebugDesc":"ブラウザ ランタイム。すべてのデバイス機能ではなく、JS ロジックとコンソールのチェックに適しています。","homeSession.domainCheck.disabled":"ドメインチェックが無効になっています","homeSession.domainCheck.disabledDesc":"一時的なデバッグの柔軟性が向上しました。リリース前にプラットフォーム構成を完了します。","homeSession.domainCheck.enabledWithDomains":"{{count}} 信頼ドメイン","homeSession.domainCheck.enabledWithDomainsDesc":"ネットワーク要求はプラットフォーム設定に対してチェックされます。","homeSession.domainCheck.enabledNoDomains":"信頼ドメインがありません","homeSession.domainCheck.enabledNoDomainsDesc":"外部ネットワーク要求は実行時にブロックされる場合があります。","homeSession.chip.domainCheckOn":"ドメインチェックオン","homeSession.chip.domainCheckOff":"ドメインのチェックがオフになっている","homeSession.chip.vConsoleOn":"vConsole 上","homeSession.chip.vConsoleOff":"vConsole オフ","homeSession.chip.devPanelOn":"開発情報パネル","homeSession.chip.devPanelOff":"開発情報パネルがオフ","homeSession.option.domainCheck":"ドメインチェック","homeSession.option.vConsole":"vConsole","homeSession.option.devPanel":"開発者情報パネル","homeSession.status.on":"オン","homeSession.status.off":"オフ","homeSession.diff.clientPreviewTitle":"クライアントのプレビュー","homeSession.diff.clientPreviewDesc":"クライアント ランタイムに近い。 API、支払い、広告、ドメインの問題については、まず電話番号 vConsole と開発者情報パネルを確認してください。","homeSession.diff.remoteDebugTitle":"リモート デバッグ","homeSession.diff.remoteDebugDesc":"迅速な JS ロジック チェックに適しています。デバイス機能、ネットワーク ポリシー、およびクライアント パネルには、引き続きクライアント プレビューの検証が必要です。","homeSession.risk.domainTitle":"ドメインのリスク","homeSession.risk.domainDesc":"ドメイン チェックはオンになっていますが、信頼ドメインが設定されていません。外部リクエストは実行時に失敗する可能性があります。",notLogin:RA,launchModeName:OA,selectLaunchPkg:NA,selectIndependentPkg:AA,selectScene:LA,launchQueries:MA,launchQueriesDesc:jA,scene_search:FA,scene_fyf_card:GA,scene_anchor:WA,scene_sharing:zA,scene_link:qA,scene_inbox:UA,gameMainPackage:BA,independentPackage:HA,customizeLaunchMode:VA,deleteLaunchModeConfirm:KA,save:QA,delete:"削除",devOptions:XA,devOptionsDomainCheckDesc:YA,debugSettingAdMock:JA,debugSettingAdMockDesc:ZA,debugSettingIAPMock:eL,debugSettingIAPMockDesc:tL,selectLaunchMode:nL,createNewMode:rL,selectDebugMode:iL,browserDebugMode:aL,clientPreviewMode:oL,clientDebugMode:sL,queriesStringMustBeString:lL,queriesStringNoQuestionMark:cL,queriesStringEmptyPair:uL,queriesStringEmptyKey:dL,queriesStringDuplicateKey:pL,queriesStringInvalidKeyChars:gL,queriesStringInvalidValueChars:hL,queriesStringInvalidEncoding:mL,queriesStringMissingEqual:fL,notEmpty:yL,saveAndUse:vL,use:SL,sendLocalDebugSetting:bL,getDevGameConfigSuccess:wL,getDevGameConfigFailed:CL,startLoadDevScripts:kL,loadDevScriptsSuccess:PL,loadDevScriptsFailed:DL,loadDevScriptsEmpty:_L,loadDevScriptsInitSuccess:TL,gameResourceCompileSuccess:EL,gameResourceCompileSuccessTitle:xL,scanQRCode2Debug:IL,homeHeroEyebrow:$L,homeHeroTitle:RL,homeHeroSubtitle:OL,homeHeroTitleConnected:NL,homeHeroSubtitleConnected:AL,projectInfo:LL,launchMode:ML,codePreCheck:jL,normalLaunchMode:FL,createdLaunchMode:GL,projectInfoDesc:WL,"projectInfo.summary":"アクティブなミニゲームの基本、パッケージのステータス、およびプラットフォームの構成を確認します。",projectInfoDescTip:zL,"projectInfo.section.basic":"基本情報","projectInfo.section.package":"パッケージのステータス","projectInfo.section.platform":"プラットフォームのセットアップ","projectInfo.error.guideTitle":"このモジュールの使用を続けるには、次の手順を完了してください","projectInfo.error.stepTitle":"アクセスを復元する方法","projectInfo.error.helpTitle":"追加のガイダンス","projectInfo.error.login.title":"プラットフォーム構成はまだ利用できません","projectInfo.error.login.desc":"ローカル プロジェクトは実行中ですが、現在のデバッグ セッションにはまだ有効な開発者ログインがありません。まずログインを完了してから、ここに戻ってこのモジュールの使用を続けてください。","projectInfo.error.login.stepLogin":"ターミナルで `ttmg login` を実行し、開発者プラットフォーム アカウントでサインインします。","projectInfo.error.login.stepRestart":"ログインが成功したら、`ttmg dev` を再度実行して、現在のデバッグ セッションが最新のログイン状態を取得するようにします。","projectInfo.error.login.stepProxy":"中国本土のネットワーク環境でログインが失敗した場合は、再試行する前にプロキシまたはネットワークの設定を確認してください。","projectInfo.error.permission.title":"このアカウントにはこのゲームへの開発アクセス権がありません","projectInfo.error.permission.desc":"ローカル プロジェクトは利用可能ですが、このアカウントにはこのゲームへの開発アクセス権がありません。プラットフォーム設定や、アップロードや公開などの権限に依存するアクションは利用できません。","projectInfo.error.permission.stepCheckAccount":"まず、`ttmg login` で使用されているアカウントがこのゲームの意図された開発者アカウントであることを確認してください。","projectInfo.error.permission.stepApply":"アカウントにアクセス権がない場合は、開発者プラットフォームでこのゲームの開発許可を申請してください。","projectInfo.error.permission.stepRestart":"権限が付与されたら、`ttmg dev` を再度実行して、新しいデバッグ セッションを開始します。","projectInfo.error.network.title":"ターミナル プロキシは適用されません。プラットフォーム API リクエストが失敗しました","projectInfo.error.network.desc":"ローカル デバッグ サービスは実行されていますが、CLI は TikTok 開発者プラットフォームに到達できません。信頼ドメイン、規約、プライバシー、その他のプラットフォーム構成は取得できない場合があります。これは、VPN/プロキシがブラウザにのみ適用され、端末リクエストがプロキシを経由しない場合によく発生します。","projectInfo.error.network.stepCheck":"開発者プラットフォームがブラウザで開いても、`ttmg dev` がプロジェクトの概要、信頼ドメイン、または利用規約とプライバシーを取得できない場合は、まずターミナル プロキシの問題として扱います。","projectInfo.error.network.stepProxy":"`ttmg config set proxy http://127.0.0.1:7890` を実行し、ポートをローカル プロキシ ツールによって公開される HTTP ポートに置き換えます。","projectInfo.error.network.stepRestart":"`ttmg dev` を再度実行し、ここに戻って続行します。","projectInfo.error.general.title":"このモジュールは一時的に利用できません","projectInfo.error.general.desc":"これは通常、プラットフォーム データが一時的に利用できない、プロジェクト メタデータが無効である、または現在のデバッグ コンテキストの準備ができていないことを意味します。","projectInfo.error.general.stepCheck":"現在のクライアント キー、ログイン アカウント、およびデバッグ コマンドがすべて目的のプロジェクトと一致するかどうかを確認します。","projectInfo.error.general.stepRetry":"問題を修正した後、`ttmg dev` を再度実行し、ここに戻って続行します。","projectInfo.error.commandLogin":"ログインコマンド","projectInfo.error.commandRestart":"デバッグコマンドの再起動","projectInfo.error.commandProxy":"プロキシコマンドの例","projectInfo.error.commandProxyHint":"上記のアドレスとポートは単なる例です。これらを、ローカル プロキシ ツールによって公開される実際のプロキシ エンドポイントに置き換えます。","projectInfo.error.helpLoginDesc":"中国の開発者にとって、ログインの失敗は、アカウントそのものではなく、プロキシ設定、企業ネットワーク ポリシー、または端末環境の問題によって引き起こされることがよくあります。このような場合、通常、ログインを繰り返し再試行するよりも、ネットワークとプロキシのトラブルシューティング ガイドの方が効果的です。","projectInfo.error.helpPermissionDesc":"これは通常、ローカル プロジェクトの問題ではありません。 `ttmg login` が使用しているアカウントが対象のゲームに属していることを確認し、開発者プラットフォームでこのゲームの開発アクセスを許可してください。","projectInfo.error.helpNetworkDesc":"これは通常、信頼ドメインが実際に欠落していることを意味するわけではなく、必ずしもアクセス許可の問題ではありません。 CLI プロセスがプロキシ経由でプラットフォームに到達していません。多くの場合、VPN クライアントを有効にするだけでは十分ではありません。プロキシ エンドポイントを ttmg configに書き込みます。","projectInfo.error.helpGeneralDesc":"上記の手順がすべて正しいように見えても、このモジュールがまだ使用できない場合は、ターミナルからローカル デバッグを再開し、プロジェクトのメタデータが正しく構成されているかどうかの確認を続けます。","projectInfo.error.openProxyDoc":"オープンネットワーク/プロキシログインガイド","basicDebugGuide.bannerTitle":"現在、開発者ログイン セッションが検出されません","basicDebugGuide.bannerDesc":"これは、最も基本的なスキャン デバッグ フローをブロックしません。ネットワークの問題により CLI ログインが一時的に利用できなくなった場合でも、ローカル デバッグを続行したり、起動モードを切り替えたり、接続のトラブルシューティングを行ったりすることができます。","basicDebugGuide.title":"基本的なスキャンのデバッグはログインなしでも機能します","basicDebugGuide.desc":"これを制限付きモードとして扱います。プラットフォームに依存する機能は制限されていますが、ローカル スキャンのデバッグ、起動モードの切り替え、および接続のトラブルシューティングは引き続き機能します。まずコアのローカル デバッグを続行し、プラットフォーム側の機能が必要な場合は CLI ログインを復元します。","basicDebugGuide.actionScan":"スキャンデバッグに移動","basicDebugGuide.actionNetwork":"オープンネットワーク診断","basicDebugGuide.actionProxy":"オープンネットワーク/プロキシログインガイド","basicDebugGuide.availableTitle":"まだ入手可能です","basicDebugGuide.availableDesc":"以下の機能はローカル デバッグ サービスとスキーマに依存するため、最初に有効な開発者プラットフォームのログイン セッションを必要としません。","basicDebugGuide.available.scan.title":"スキャンデバッグ","basicDebugGuide.available.scan.desc":"デバイス上の現在の QR コードを使用し続けて、コアのローカル デバッグ フローが引き続き機能するかどうかを確認します。","basicDebugGuide.available.launch.title":"起動モード","basicDebugGuide.available.launch.desc":"シーンを切り替えたり、パッケージを起動したり、クエリを実行して、さまざまなエントリやランタイム パラメータをシミュレートしたりすることができます。","basicDebugGuide.available.preview.title":"ブラウザ プレビュー / クライアント プレビュー","basicDebugGuide.available.preview.desc":"ブラウザーとクライアントのデバッグ モード間の切り替えを続けて、パッケージのロジックと実行時の動作を検証します。","basicDebugGuide.available.network.title":"ネットワーク診断","basicDebugGuide.available.network.desc":"スキャンに応答がない場合、LAN アクセスが失敗する場合、またはプロキシ環境が複雑な場合でも、プロジェクト内の接続を診断できます。","basicDebugGuide.available.manual.title":"手動接続","basicDebugGuide.available.manual.desc":"QR スキャンが利用できない場合でも、クライアント デバッグ サービス アドレスを手動でバインドしてデバッグを続行できます。","basicDebugGuide.lockedTitle":"ログイン後にのみ完全に利用可能","basicDebugGuide.lockedDesc":"これらの機能は開発者プラットフォームのリソースを積極的に要求するため、CLI ログイン セッションがなければ制限されたままになります。","basicDebugGuide.locked.project.title":"プロジェクト概要","basicDebugGuide.locked.project.desc":"プラットフォーム側の基本情報、利用規約、プライバシー、および信頼できるドメイン設定を確実に取得できません。","basicDebugGuide.locked.upload.title":"アップロードして公開する","basicDebugGuide.locked.upload.desc":"新しいバージョンのアップロード、プレビュー バージョン レコードのロード、プラットフォーム プレビュー QR コードの生成はできません。","basicDebugGuide.locked.platform.title":"プラットフォーム依存の機能検証","basicDebugGuide.locked.platform.desc":"ログイン、承認、支払い、直接再生プレビューなどの機能はプラットフォーム側のリソースに依存しており、不完全であるか失敗します。","basicDebugGuide.stepsTitle":"おすすめの流れ","basicDebugGuide.stepsDesc":"現在の目標が単にローカル スキャン デバッグを継続することである場合は、最初にこの順序に従ってください。後でプラットフォーム側の機能が必要になったときに CLI ログインを復元します。","basicDebugGuide.step1":"ローカル パッケージ フローのブロックが解除されるように、まずスキャン デバッグ、起動モード、およびクライアント プレビューを使用し続けます。","basicDebugGuide.step2":"スキャン自体が失敗した場合は、すべての問題をログインの問題として扱うのではなく、最初にネットワーク診断または手動接続を使用してください。","basicDebugGuide.step3":"プラットフォームに依存する機能が必要な場合は、最初にネットワーク/プロキシのトラブルシューティングを行ってください。必要に応じて、ログインを再試行する前にプロキシを構成します。","basicDebugGuide.step4":"ログインが成功したら、再度 `ttmg dev` を実行してプロジェクトに戻り、プロジェクトの概要、アップロードと公開、プラットフォーム側の機能検証のロックを解除します。","basicDebugGuide.commandProxy":"プロキシコマンドの例","basicDebugGuide.commandProxyHint":"上記のアドレスとポートは単なる例です。これらを、ローカル プロキシ ツールによって公開される実際のプロキシ エンドポイントに置き換えます。","basicDebugGuide.commandLogin":"ログインコマンド","basicDebugGuide.commandDev":"デバッグコマンドの再起動","basicDebugGuide.entryTitle":"CLI ログインが失敗した場合でも、基本的なスキャンのデバッグは引き続き機能します","basicDebugGuide.entryDesc":"何がまだ利用可能で、何が制限されたままかを確認し、今すぐデバッグを続けるか、最初にプロキシ/ログインを修正するかを決定します。","basicDebugGuide.entryAction":"基本的なデバッグ ガイドを開く",notExceedSizeLimit:qL,notExceedMainPkgSizeLimit:UL,notExceedIndependentPkgSizeLimit:BL,exceedSizeLimit:HL,exceedMainPkgSizeLimit:VL,exceedIndependentPkgSizeLimit:KL,launchModeDesc:QL,"launchMode.currentDesc":"既存の構成を選択するか、新しいモードに切り替えて再度構成します。","launchMode.configDesc":"起動パッケージ、エントリーシーン、起動パラメータを設定し、保存してホームからスキャンします。",configFileCheck:XL,gameJsonCheckDesc:YL,pkgSizeCheckDesc:JL,mandatoryApiCheck:ZL,mandatoryApiCheckDesc:eM,commonPkgSizeCheckDescTip:tM,unityPkgSizeCheckDescTip:nM,checkConfigPassed:rM,checkPkgSizePassed:iM,checkPkgSizeFailed:aM,checkConfigFailed:oM,performanceCheck:sM,checkPerformancePassed:lM,checkPerformanceFailed:cM,viewDoc:uM,expandCheckDetail:dM,closeCheckDetail:pM,gameProject:gM,gameMainPackageSize:hM,gameIndependentPackageSize:mM,gameTrustDomains:fM,gameTermsAndPrivacy:yM,gameServiceAgreement:vM,gamePrivacyPolicy:SM,termsLabel:bM,privacyLabel:wM,"projectInfo.configSummary.title":"プラットフォームのセットアップには注意が必要です","projectInfo.configSummary.desc":"これらの設定は開発者プラットフォームから取得されます。今すぐデバッグを続けることができますが、提出またはプラットフォーム機能テストの前に完了してください。","projectInfo.configSummary.count":"{{count}} 保留中","projectInfo.configSummary.reviewGroup":"提出の基本","projectInfo.configSummary.runtimeGroup":"Runtime セットアップ","projectInfo.configSummary.item.icon":"ゲームアイコン","projectInfo.configSummary.item.name":"ゲーム名","projectInfo.configSummary.item.description":"ゲーム説明","projectInfo.configSummary.item.domain":"信頼できるドメイン","projectInfo.configSummary.item.terms":"規約URL","projectInfo.configSummary.item.privacy":"プライバシー URL","projectInfo.configSummary.reviewHint":"提出前に完了してください","projectInfo.configSummary.domainHint":"外部リクエストの前に必須","projectInfo.configSummary.termsHint":"ログイン/認証前に必須","projectInfo.configSummary.privacyHint":"認可とコンプライアンスに必要","projectInfo.status.missing":"行方不明","projectInfo.status.reviewBeforeSubmit":"提出前に完了してください","projectInfo.status.beforeRelease":"リリース前に完了","projectInfo.status.domainRequired":"外部リクエストの前に追加","projectInfo.status.authRequired":"ログイン/認証前に追加","projectInfo.logoMissingShort":"アイコンがありません",gameSize:CM,gameName:kM,gameIcon:PM,gameID:DM,gameDesc:_M,getDevGameDetailNotFound:TM,getDevGameDetailFailed:EM,getDevGameDetailNotLogin:xM,notLoginTip:IM,docs:$M,quickStart:RM,jsApiList:OM,errorReference:NM,faq:AM,upload:LM,cancel:MM,gameAssetDescription:jM,uploadPlatformSuccess:FM,uploadPlatformFailed:GM,uploadPlatformDesc:WM,viewOnPlatform:zM,loginToUpload:qM,uploadGamePackageTip:UM,trustDomainEmptyTip:BM,scriptsSetupFailed:HM,resourcesSetupFailed:VM,policyDependencyTermsRequired:KM,policyDependencyPrivacyRequired:QM,policyDependencyTermsPrivacyRequired:XM,termsOfServiceEmptyTip:YM,privacyPolicyEmptyTip:JM,gameNameEmptyTip:ZM,gameIconEmptyTip:ej,gameDescEmptyTip:tj,gameDetailNoPermission:nj,gameDetailNetworkProxyBlocked:rj,startConnectClientWS:ij,clientConnectTimeout:aj,gameDetailNotLogin:oj,gameLoginExpired:sj,login:lj,createRewardedVideoAd:cj,addShortcut:uj,startEntranceMission:dj,getShortcutMissionReward:pj,getEntranceMissionReward:gj,integrated:hj,notIntegrated:mj,checkApiSuccess:fj,checkApiFailed:yj,debugEnvSetupSuccess:vj,clientPreviewEnvSetupSuccess:Sj,startToSendMetaToClient:bj,sendMetaToClientSuccess:wj,browserRemoteDebugDesc:Cj,clientRealPreviewDesc:kj,"debug.scan.tips":"デバッグのために TikTok でスキャンする前に、次の 2 つのデフォルトの起動モードから選択できます。","debug.mode.browser.title":"ブラウザ リモート デバッグ モード","debug.mode.browser.point.logic":"ゲームロジックはブラウザ内で実行されます","debug.mode.browser.point.devtools":"ブラウザの devtools でログを表示し、ブレークポイントを設定します。","debug.mode.browser.point.preview":"クライアント上でゲームのビジュアルを同期してプレビューします","debug.mode.client.title":"クライアント オンデバイス プレビュー モード","debug.mode.client.supportVersion":"TikTok iOS >=42.7、TikTok Android >=42.5","debug.mode.client.point.logic":"ゲームロジックはクライアント (実デバイス) で実行されます","debug.mode.client.point.vconsole":"vConsole 経由でランタイム ログを表示する","debug.mode.client.point.preview":"実機上でゲーム効果を正確に再現し、プレビューします","debug.mode.custom.tip":"より柔軟な構成のために、特定のデバッグとプレビューのニーズを満たすカスタム起動モードを作成できます。","debug.guide.header":"デバッグモードガイド","debug.guide.manualBindIP":"コンピュータのローカル IP アドレスを手動でバインドします","debug.guide.manualBindIPInvalid":"IP アドレスが無効です。有効な IP アドレスを入力してください",invalidPort:Pj,scanQrcodeNoResponse:Dj,confirm:_j,manualBindIPPlaceholder:Tj,"debug.guide.manualBindIPDesc1":"携帯電話とコンピュータが同じローカル エリア ネットワーク内にあることを確認してください。そうでない場合は、まず同じローカル エリア ネットワークに接続してください。","debug.guide.manualBindIPDesc2":"クライアントの読み込みページで提供されるデバッグ サービスのアドレスとポートを手動で入力して接続します。","debug.guide.manualBindIPDesc3":"Android 42.9 以降のバージョンのみがサポートされており、iOS は当面サポートされません。",startUpload:Ej,manualBindClientDebugServiceTitle:xj,gotoCheck:Ij,checkNetworkTitle:$j,manualBindIPInfo1:Rj,manualBindIPInfo2:Oj,back:Nj,manualConnectStart:Aj,manualConnectConfirm:Lj,manualConnectDialogDesc:Mj,connectivityCheck:jj,connectivityCheckTitle:Fj,connectivityCheckWS:Gj,connectivityCheckHTTP:Wj,connectivityOK:zj,connectivityNotOK:qj,connectivityTimeout:Uj,connectivityFailed:Bj,connectivityMissingParams:Hj,needDesc:Vj,debugSettingDomainCheck:Kj,debugSettingVConsole:Qj,debugSettingDevInfoPanel:Xj,debugSettingEnableVconsoleDesc:Yj,debugSettingEnableDevInfoPanelDesc:Jj,topErrorSummary:Zj,topErrorTagRequired:e4,topErrorTagSuggested:t4,topBasicInfoMissing:n4,topBasicInfoNameField:r4,topBasicInfoIconField:i4,topBasicInfoDescriptionField:a4,topBasicInfoFieldJoiner:o4,topLoginStatusWarning:s4,topErrorSuggestedActionTip:l4,topErrorViewDetails:c4,topErrorHideDetails:u4,topErrorTitleRequired:d4,topErrorTitleSuggested:p4,topErrorTitleNetworkProxy:g4,topErrorTitlePermission:h4,topErrorTitleLogin:m4,topErrorTitleProjectNotFound:f4,topErrorCtaApplyPermission:y4,topErrorCtaOpenPortal:v4,topErrorMoreItems:S4,themeToggleToDark:b4,themeToggleToLight:w4,changelogFeature:C4,changelogOptimize:k4,changelogBugfix:P4,changelogLink:D4,changelog:_4,changelogNewTag:T4,changelogTip:E4,changelogTarget:x4,wasmSplit:I4,"wasmSplit.disabled.notLoggedIn":"Wasm コード分割を使用する前に、ターミナルで `ttmg login` を実行し、開発者プラットフォーム アカウントでサインインします。","wasmSplit.disabled.networkProxy":"端末は TikTok 開発者プラットフォームに到達できません。ターミナル プロキシを構成し、`ttmg dev` を再実行してから、Wasm コード分割を使用します。","wasmSplit.disabled.noPermission":"現在のアカウントにはこのゲームの開発許可がありません。 Wasm コード分割を使用する前に、開発者プラットフォームで開発許可を申請してください。",splitPrepare:$4,splitCollect:R4,splitCode:O4,"splitPrepare.desc":"説明を送信してビルドタスクを開始します","splitCollect.desc":"QRコードをスキャンしてメインフローをプレイしてください","splitCode.desc":"サーバーはメインバンドルとサブバンドルを生成します",rollback:N4,"wasmSplit.subtitle":"Unity Wasm コードをオンデマンドのサブバンドルに分割して、最初の画面のサイズを縮小し、コールドスタートのパフォーマンスを向上させます。","wasmSplit.stage.loading":"初期化中","wasmSplit.stage.prepare":"準備中","wasmSplit.stage.collect":"収集中","wasmSplit.stage.split":"分割","wasmSplit.stage.splitted":"すでに分割されています","wasmSplit.stage.rollback":"ロールバック","wasmSplit.stage.error":"エラー","wasmSplit.requirements.title":"分割要件","wasmSplit.requirements.account":"携帯電話の TikTok アプリは米国以外のユーザー アカウントを使用する必要があります。米国アカウントでは機能を収集できません。","wasmSplit.requirements.unityPlugin":"分割する前に、プロジェクトを最新の Unity プラグインに更新してください。","wasmSplit.requirements.unityPluginLink":"ガイドを見る","wasmSplit.help.loading.title":"初期化中","wasmSplit.help.loading.line1":"現在のゲームの分割構成を読み取り中です。お待ちください。","wasmSplit.help.prepare.title":"準備する · 次に何が起こるか","wasmSplit.help.prepare.line1":"送信後、ビルド タスクが開始され、Unity Wasm を分割できるようになります。","wasmSplit.help.prepare.line2":"通常は 3 ~ 5 分かかります。他のページに切り替えても、タスクはバックグラウンドで実行され続けます。","wasmSplit.help.collect.title":"機能を集約・実機に記録","wasmSplit.help.collect.line1":"携帯電話でスキャンしてゲームに参加し、メイン フローをプレイします。デバッグ ページには、呼び出された関数が自動的に記録されます。","wasmSplit.help.collect.line2":"コレクションがより完全であればあるほど、最終的な分割はより正確になります。","wasmSplit.help.collect.line3":"スキャンする前に、携帯電話の TikTok アプリが米国以外のユーザー アカウントを使用しており、プロジェクトに最新の Unity プラグインが含まれていることを確認してください。米国アカウントでは機能を収集できません。","wasmSplit.help.split.title":"分割コード · 生成","wasmSplit.help.split.line1":"バックエンドは、収集された関数セットからメイン バンドルとサブバンドルを生成します。","wasmSplit.help.split.line2":"完了したら、「デバッグの開始」から直接分割バージョンをテストできます。","wasmSplit.help.rollback.title":"以前のバージョンにロールバックする","wasmSplit.help.rollback.line1":"この分割は元に戻され、プロジェクトは分割されていない状態に復元されます。","wasmSplit.help.splitted.title":"すでに分割されています","wasmSplit.help.splitted.line1":"このプロジェクトにはすでに Wasm 分割が完了しています。圧縮してそのままアップロードすることも、「分割を破棄」をクリックして最初からやり直すこともできます。","wasmSplit.help.error.title":"問題が発生しました","wasmSplit.help.error.line1":"プロンプトに従って再試行するか、ホームに戻って現在のゲームのステータスを確認してください。","wasmSplit.meta.stage":"現段階","wasmSplit.meta.mode":"スプリットモード","wasmSplit.meta.engine":"エンジン","wasmSplit.meta.game":"ゲーム","wasmSplit.meta.wasmSize":"WASMサイズ","wasmSplit.meta.wasmMd5":"WASM MD5","wasmSplit.currentMode":"現在の分割モード","wasmSplit.initializingEnv":"分割環境を初期化しています","wasmSplit.empty.unityOnly.title":"Unityのみで利用可能","wasmSplit.empty.unityOnly.desc":"このプロジェクトは Unity プロジェクトではありません。 Wasm 分割は、Unity ゲームでのみ利用可能です。 Unity プロジェクトに切り替えて、このページに再度アクセスしてください。","wasmSplit.empty.backHome":"ホームへ戻る","wasmSplit.empty.needDevice.title":"デバイスを接続し、最初にゲームを選択してください","wasmSplit.empty.needDevice.desc":"Wasm 分割は、現在のミニ ゲームの Wasm パッケージとログイン状態によって異なります。スキャンしてクライアントに接続し、「デバッグの開始」でゲームを選択してから、ここに戻って開始します。","wasmSplit.empty.connectDevice":"デバイスを接続する","wasmSplit.splitDoneToast":"分割完了 — 今回は {{count}} 関数を収集しました。","rollback.rollbacking":"ロールバック中...","rollback.backgroundRun":"バックグラウンドで実行","rollback.success":"ロールバックが成功しました","rollback.close":"閉じる","rollback.failed":"ロールバックに失敗しました","rollback.retry":"再試行","collect.sessionClosed":"収集セッションが閉じられました (タイムアウトしたか、別のクライアントによって引き継がれた可能性があります)。再度「分割開始」をクリックすると収集を再開します。","collect.startFailed":"収集を開始できませんでした。もう一度お試しください。","collect.requirements.title":"スキャン前","collect.requirements.desc":"米国以外の TikTok アカウントを使用し、スキャンする前に最新の Unity プラグインに更新してください。米国アカウントでは機能を収集できません。","collect.requirements.link":"ガイドを見る",splitFailed:A4,writingSplitResult:L4,retry:M4,startingPrepare:j4,cancelPrepare:F4,backgroundRun:G4,preparingSplit:W4,warningDuringPreparing:z4,preparingSplitSuccess:q4,preparingSplitFailed:U4,retryPrepare:B4,downloadPreparedWasmCode:H4,downloadFailed:V4,retryDownload:K4,downloadSuccess:Q4,downloadPreparedWasmCodeDesc:X4,splitDesc:Y4,inputSplitDesc:J4,startPrepare:Z4,processing:eF,updateWasmSplitConfig:tF,updateWasmSplitConfigSuccess:nF,updateWasmSplitConfigFailed:rF,compressPreparedWasmCodeSuccess:iF,compressPreparedWasmCodeFailed:aF,writeCompressPreparedWasmCode:oF,writeCompressPreparedWasmCodeSuccess:sF,writeCompressPreparedWasmCodeFailed:lF,fetchDownloadUrl:cF,fetchDownloadUrlSuccess:uF,fetchDownloadUrlFailed:dF,downloadPreparedWasmCodeSuccess:pF,downloadPreparedWasmCodeFailed:gF,startSplit:hF,cannotSplitTip:mF,collectDesc:fF,collectConnectedTitle:yF,collectConnectedDesc:vF,startCollect:SF,startingCollect:bF,resumedCollectSession:wF,wasmSize:CF,collectedFuncCount:kF,totalFuncCount:PF,splitVersion:DF,splittingDesc:_F,cancelSplit:TF,getSplitResult:EF,retryGetSplitResult:xF,getSplitResultFailed:IF,splitSuccess:$F,downloadSplitResult:RF,downloadSplitResultFailed:OF,retryDownloadSplitResult:NF,downloadSplitResultSuccess:AF,downloadSplitResultTip:LF,start_download_android_main_wasm:MF,download_android_main_wasm_done:jF,start_compress_android_main_wasm:FF,compress_android_main_wasm_done:GF,start_download_android_sub_wasm_code:WF,download_android_sub_wasm_code_done:zF,start_compress_android_sub_wasm_code:qF,compress_android_sub_wasm_code_done:UF,start_download_ios_main_wasm:BF,download_ios_main_wasm_done:HF,start_compress_ios_main_wasm:VF,compress_ios_main_wasm_done:KF,start_download_ios_sub_wasm_code:QF,download_ios_sub_wasm_code_done:XF,start_compress_ios_sub_wasm_code:YF,compress_ios_sub_wasm_code_done:JF,start_write_splited_wasm_br:ZF,write_splited_wasm_done:e5,start_update_wasm_split_config:t5,update_wasm_split_config_done:n5,noWasmCode:r5,noWasmCodeDesc:i5,hasSplitedTitle:a5,hasSplitedDesc:o5,hasSplitedDiscard:s5,noSplitConfigTitle:l5,noSplitConfigDesc:c5,advancedGuide:u5,integrationAssistant:d5,"ia.title":"機能へのアクセス","ia.subtitle":"主要なプラットフォーム機能、前提条件、推奨されるデバッグ パスを 1 か所に集めて、開発者がドキュメントを読んでから実践的な検証に迅速に移行できるようにします。","ia.banner.login":"これらの機能をデバッグする前に、端末で `ttmg login` から始めてください。多くのプラットフォーム依存フローは、有効な開発者セッションがなければ完全に検証できません。","ia.banner.termsPrivacy":"最初に利用規約とプライバシーを設定します。ログインと認証のフローは、これらのプラットフォーム設定に直接依存します。","ia.banner.ready":"現在のベースラインはデバッグの準備ができています。まず機能のガイダンスを読み、関連するページに移動して設定および確認します。","ia.menuTitle":"の機能","ia.sceneLabel":"おすすめのエントリーシーン:","ia.section.prerequisites":"事前チェック","ia.section.steps":"推奨されるデバッグ パス","ia.section.tips":"開発の焦点","ia.action.goHome":"オープンホーム","ia.status.ready":"準備完了","ia.status.notReady":"セットアップが必要です","ia.status.login.title":"開発者ログイン","ia.status.login.ready":"開発者アカウントはすでにロードされているため、プラットフォームに依存する機能チェックを続行できます。","ia.status.login.notReady":"アクティブなログインが検出されません。アップロード、プロジェクト詳細の取得、および一部のプラットフォーム タスク フローが最初にここで停止する場合があります。","ia.status.terms.title":"規約URL","ia.status.terms.ready":"規約 URL が設定されているため、ログイン/承認チェックを続行できます。","ia.status.terms.notReady":"規約 URL がありません。ログイン/承認フローは、設定されるまで失敗する可能性があります。","ia.status.privacy.title":"プライバシー URL","ia.status.privacy.ready":"プライバシー URL が構成されているため、プライバシー関連の前提条件が整っています。","ia.status.privacy.notReady":"プライバシー URL がありません。認可およびコンプライアンス関連のチェックは、設定されるまで待つ必要があります。","performance.menu.title":"パフォーマンス","performance.overview.title":"パフォーマンス","performance.overview.desc":"プロジェクト タイプ別に選択: Unity プロジェクトは Wasm コード分割を使用します。非 Unity プロジェクトは、サブパッケージ コレクションをプレビューできます。","performance.section.title":"最適化ツール","performance.section.desc":"各ツールはスタンドアロンの機能です。カードをクリックしてワークフローに入ります。","performance.card.wasmSplit.title":"Wasm コード分割","performance.card.wasmSplit.desc":"Unity Wasm バンドルをオンデマンドのチャンクに分割して、初期ペイロードを縮小し、コールド スタートを改善します。 Unity エンジンのみ。","performance.card.subpackageCollect.title":"サブパッケージ コレクション","performance.card.subpackageCollect.desc":"実デバイスでの起動中に事前ダウンロードされたサブパッケージを記録し、FP / TTI フェーズごとに分割し、それらを game.json のプリロード構成に変換します。","performance.card.subpackageCollect.status":"新規","performance.empty.comingSoon":"より多くのパフォーマンス ツールが準備中です。",subpackageCollect:p5,"subpackageCollect.subtitle":"実デバイスで起動フローをプレビューし、起動中に事前ダウンロードされたサブパッケージを収集し、それらをプリロード構成に書き込みます。","subpackageCollect.phase.fp":"FP","subpackageCollect.phase.tti":"TTI","subpackageCollect.stage.entry":"エントリを選択","subpackageCollect.stage.empty":"サブパッケージなし","subpackageCollect.stage.notStarted":"未開始","subpackageCollect.stage.collecting":"収集中","subpackageCollect.stage.processing":"処理","subpackageCollect.stage.success":"完了","subpackageCollect.stage.failed":"失敗しました","subpackageCollect.stage.unsupported":"サポートされていません","subpackageCollect.entry.title":"スタートアップ エントリを選択してください","subpackageCollect.entry.subtitle":"今回起動する入口を選択します。メインパッケージが初期選択され、独立サブパッケージがあれば一覧に表示されます。","subpackageCollect.entry.game":"本体パッケージ","subpackageCollect.entry.gameTag":"デフォルト","subpackageCollect.entry.independentTag":"独立者","subpackageCollect.empty.title":"このゲームにはサブパッケージがありません","subpackageCollect.empty.desc":"game.json はサブパッケージを定義しません。スタートアップ プリロードの収集はサブパッケージのあるゲームにのみ適用されるため、ここでは何もする必要はありません。","subpackageCollect.empty.back":"パフォーマンスに戻る","subpackageCollect.unsupported.unity.title":"Unity ミニ ゲームはサブパッケージ コレクションをサポートしていません","subpackageCollect.unsupported.unity.desc":"サブパッケージ コレクションは、Unity 以外のミニ ゲームのみをサポートします。このプロジェクトは Unity ミニ ゲームであるため、エントリの選択、スキャン、およびコレクションのコントロールは非表示になっています。","subpackageCollect.unsupported.unity.action":"Wasm 分割に移動","subpackageCollect.devGuide.link":"サブパッケージ コレクション ガイド","subpackageCollect.devGuide.clientVersion":"サポートされているクライアントのバージョン","subpackageCollect.devGuide.android":"Android 45.9+","subpackageCollect.devGuide.ios":"iOS 46.0+","subpackageCollect.devGuide.stepsTitle":"主な収集手順","subpackageCollect.devGuide.required.badge":"コードでは必須です","subpackageCollect.devGuide.required.title":"収集する前に、この呼び出しをゲーム コードに統合します。","subpackageCollect.devGuide.required.code":"reportScene({ sceneId: 9999 })","subpackageCollect.devGuide.required.desc":"ゲームがインタラクティブになったときに呼び出します。デバッグ ページでは実行が終了し、このレポートを受信した後にのみ「収集の完了」が表示されます。","subpackageCollect.devGuide.step1.title":"アカウントの地域を確認してください","subpackageCollect.devGuide.step1.desc":"米国地域のアカウントではサブパッケージ収集を利用できません。米国以外のアカウントに切り替えて、再度スキャンしてください。","subpackageCollect.devGuide.step2.title":"サブパッケージ構成を確認する","subpackageCollect.devGuide.step2.desc":"game.json はサブパッケージを定義する必要があり、実行はメイン パッケージ エントリまたは独立したサブパッケージ エントリのいずれかをターゲットにする必要があります。","subpackageCollect.devGuide.step3.title":"実際の起動パスに従います","subpackageCollect.devGuide.step3.desc":"スキャン後は、最初の画面で停止しないでください。ゲームがインタラクティブになるまで続行し、クライアントが実際に事前ダウンロードされたサブパッケージを記録します。","subpackageCollect.scan.title":"スキャンして実行","subpackageCollect.scan.subtitle":"DevTool を開いたままにして、実際の起動パスを一度プレビューします。","subpackageCollect.guide.step2":"スキャン後、ゲームの実際の起動ロジックをプレイしてください。実行中、クライアントは実際にロードしたサブパッケージを報告し、それらが収集されます。","subpackageCollect.guide.step3":"ゲームがインタラクティブになると、reportScene({sceneId:9999}) を呼び出す必要があります。デバッグ ページでは実行が終了し、レポートの受信後にのみ「収集の終了」が表示されます。","subpackageCollect.preview.noSchema":"プレビュー スキーマはまだありません。最初にデバッグからデバイスを接続してから、戻ってきます。","subpackageCollect.preview.currentEntry":"現在のエントリ","subpackageCollect.preview.collectedTitle":"収集されたサブパッケージ","subpackageCollect.preview.collectedDesc":"名前による重複を排除したこの実行のライブ キャプチャ (最初のレポートが優先)、FP / TTI に分割されています。","subpackageCollect.preview.existingDesc":"このエントリの既存の設定。これは参照のみを目的として表示されており、新しい実行にはマージされません。","subpackageCollect.preview.waitingDesc":"デバイスから今回の収集結果が送信されるのを待っています。","subpackageCollect.preview.emptyResultDesc":"今回収集されたサブパッケージはありません。","subpackageCollect.preview.empty":"サブパッケージはまだキャプチャされていません。","subpackageCollect.reportScene.toastTitle":"reportScene({sceneId:9999}) を受け取りました","subpackageCollect.reportScene.toastDesc":"ゲームはインタラクティブ状態に達しました。フィニッシュコレクションのロックが解除されました。","subpackageCollect.reportScene.readyTitle":"reportScene を受信しました — 収集は終了できます","subpackageCollect.reportScene.readyDesc":"この実行には現在のリストが使用されます。サブパッケージを確認し、[収集の完了] を選択して構成を書き込みます。","subpackageCollect.wait.runningTitle":"reportScene を待っています","subpackageCollect.wait.running":"デバイスが接続されており、サブパッケージが記録されています。実際の起動パスに従います。ゲームがインタラクティブになると、reportScene({sceneId:9999}) を呼び出す必要があります。 「収集の終了」は、デバッグ ページがそれを受信した後にのみ表示されます。","subpackageCollect.wait.timeoutTitle":"reportScene を受信できませんでした — 収集を完了できません","subpackageCollect.wait.timeout":"reportScene({sceneId:9999}) がゲーム コードに統合されていることを確認し、ゲームがインタラクティブになるまで実際の起動パスに従います。","subpackageCollect.wait.docLink":"統合ガイドを見る","subpackageCollect.manualConnect.title":"スキャン後に接続されませんか?","subpackageCollect.manualConnect.desc":"これは、VPN、プロキシ、または複数の NIC 設定で一般的です。前のレコードを再試行するか、クライアント IP とポートを手動で入力します。","subpackageCollect.manualConnect.action":"手動接続","subpackageCollect.manualConnect.retry":"最後の接続を再試行します","subpackageCollect.manualConnect.noRecordTitle":"手動接続記録なし","subpackageCollect.manualConnect.noRecordDesc":"最初にクライアント IP、HTTP ポート、および WS ポートを入力します。保存後、このページは直接再試行できます。","subpackageCollect.manualConnect.retryTitle":"以前の接続を再試行しています","subpackageCollect.manualConnect.retryDesc":"{{ip}}:{{port}} を使用してクライアント デバッグ サービスに再接続しています。","subpackageCollect.mock.title":"モックレポート (デバッグのみ)","subpackageCollect.mock.subtitle":"実際のデバイスのレポートは保留中です。ここでプリダウンロード / reportScene をシミュレートして、UI と CLI の書き込みパスを検証します。","subpackageCollect.mock.placeholder":"利用可能なサブパッケージを選択してください","subpackageCollect.mock.noCandidates":"このエントリには事前ダウンロード可能なサブパッケージはありません (既存のルート ディレクトリを持つ game.json にサブパッケージ エントリが必要です)。 reportScene をトリガーして収集を終了することもできます。","subpackageCollect.mock.reportFp":"レポートFP","subpackageCollect.mock.reportTti":"レポート TTI","subpackageCollect.mock.reportScene":"reportScene(9999)","subpackageCollect.finish.overwriteNote":"終了すると、このエントリの既存の {{existing}} 項目が、この実行の {{current}} 項目で上書きされます (増分マージではなく、エントリごとに完全に上書きされます)。","subpackageCollect.finish.clearNote":"この実行をキャプチャしたサブパッケージはありませんでした。終了すると、このエントリの既存の {{existing}} 項目がクリアされます。","subpackageCollect.finish.clearTitle":"既存の設定をクリアしますか?","subpackageCollect.finish.clearConfirm":"この実行ではサブパッケージはキャプチャされませんでした。終了すると、このエントリの既存の {{existing}} 項目がクリアされ、元に戻すことはできません。既存の構成を保持するには、[収集の終了] を選択するか、別のキャプチャを実行します。","subpackageCollect.finish.okClear":"クリアして終了","subpackageCollect.finish.cancel":"キャンセル","subpackageCollect.action.finish":"コレクションを完了する","subpackageCollect.action.cancel":"収集をキャンセルします","subpackageCollect.action.exit":"出口コレクション","subpackageCollect.action.exitRun":"出口コレクション","subpackageCollect.action.recollect":"もう一度集めてください","subpackageCollect.recollect.clearTitle":"既存の設定を削除して再収集しますか?","subpackageCollect.recollect.clearDesc":"収集への影響を避けるため、開始前に現在のエントリのプリロード設定を game.json から削除します。その後に収集をキャンセルしても、この設定は復元されません。","subpackageCollect.recollect.clearAction":"削除して再収集","subpackageCollect.action.switch":"スイッチエントリ","subpackageCollect.loading":"プロジェクト構成をロード中…","subpackageCollect.processing":"処理中…","subpackageCollect.processing.write":"構成を game.json に書き込んでいます…","subpackageCollect.processing.clear":"再度収集する前に古い設定をクリアしています…","subpackageCollect.processing.cancel":"収集をキャンセルし、設定をクリアしています…","subpackageCollect.success.title":"設定が書き込まれました","subpackageCollect.success.empty":"このエントリ用に作成されたサブパッケージはありません。","subpackageCollect.failed.title":"収集に失敗しました","subpackageCollect.error.generic":"構成の書き込みに失敗しました。再試行してください。","ia.revisit.panel.modeName":"起動モード","ia.revisit.panel.scene":"シーン","ia.revisit.panel.launchParams":"起動パラメータ","ia.revisit.panel.package":"パッケージ","ia.revisit.panel.signal":"報酬チェック","ia.revisit.sidebar.panel.title":"サイドバー再訪デバッグ モードをすばやく作成する","ia.revisit.sidebar.panel.desc":"これにより、専用の `Sidebar revisit` 起動モードが作成されます。選択すると、スキャンインによってサイドバーのエントリから開かれたセッションがすでにシミュレートされるため、追加のジャンプ ステップを行わずに、`getEntranceMissionReward` と報酬の配信を直接デバッグできます。","ia.revisit.sidebar.panel.modeValue":"サイドバーで起動をシミュレートする - 再訪シーン","ia.revisit.sidebar.panel.generatedModeName":"サイドバーのデバッグ モードの再訪","ia.revisit.sidebar.panel.signalValue":"`startEntranceMission` / `getEntranceMissionReward`","ia.revisit.sidebar.panel.createQr":"サイドバーの作成 - デバッグ QR の再訪問","ia.revisit.shortcut.panel.title":"ショートカットをすばやく作成 - デバッグ モードに戻る","ia.revisit.shortcut.panel.desc":"これにより、専用の `Desktop Shortcut` 起動モードが作成されます。選択すると、スキャンインによってデスクトップのショートカット エントリから開かれたセッションがすでにシミュレートされるため、最初にショートカットを追加せずに、`getShortcutMissionReward` / `canReceiveReward` と報酬の配信を直接デバッグできます。","ia.revisit.shortcut.panel.modeValue":"デスクトップ ショートカット シーンで起動をシミュレートします","ia.revisit.shortcut.panel.generatedModeName":"ショートカットでデバッグ モードに戻る","ia.revisit.shortcut.panel.signalValue":"`addShortcut` / `getShortcutMissionReward` / `canReceiveReward`","ia.revisit.shortcut.panel.createQr":"ショートカットの作成 - デバッグ QR の再訪問","ia.directPlay.versionNotice":"ダイレクトプレイ ステージ 2 のデバッグには、クライアント バージョン 45.4.0 以降が必要です。プレビュー QR 関連の機能を使用する前に、まずクライアントのバージョンを確認してください。","ia.directPlay.stage1.title":"ステージ 1: ゲーム パッケージ自体をデバッグする","ia.directPlay.stage1.desc":"このステージではミニゲーム パッケージ自体のデバッグのみを行います。 TT フィードのプレゼンテーション、強制挿入、および `Play now` ハンドオフは対象外です。ダイレクトプレイ シーンを使用して起動 QR コードを生成し、パッケージが正常に起動して実行できることを確認します。","ia.directPlay.stage1.ready":"ダイレクトプレイシーンの準備完了","ia.directPlay.stage1.notReady":"ダイレクトプレイシーンを適用する必要があります","ia.directPlay.stage1.modeName":"起動モード","ia.directPlay.stage1.modeValue":"ダイレクトプレイシーンで起動をシミュレートする","ia.directPlay.stage1.generatedModeName":"ダイレクトプレイ パッケージ デバッグ モード","ia.directPlay.stage1.scene":"シーン","ia.directPlay.stage1.package":"パッケージ","ia.directPlay.stage1.queries":"クエリ","ia.directPlay.stage1.apply":"ダイレクトプレイシーンを適用する","ia.directPlay.stage1.openHome":"このモードでホームを開く","ia.directPlay.stage1.createQr":"パッケージ デバッグ QR の作成","ia.directPlay.stage1.appliedTitle":"ダイレクトプレイシーン適用","ia.directPlay.stage1.appliedDesc":"現在の起動モードではダイレクトプレイ シーンが使用されます。ホームからスキャンを続行することも、起動モードで微調整することもできます。","ia.directPlay.stage2.title":"ステージ 2: プレビュー QR の生成","ia.directPlay.stage2.desc":"ゲーム パッケージ自体が安定したら、ダイレクト プレイ カードとプレビュー コード バージョンを選択し、プラットフォーム プレビュー QR コードを生成してカードのプレゼンテーションとハンドオフ パスを検証します。","ia.directPlay.stage2.banner":"このステージは、ダイレクト プレイ カードのプレビューとハンドオフの検証のみを目的としています。ゲームパッケージ自体がまだ不安定な場合は、最初にステージ 1 に戻ってください。","ia.directPlay.stage2.cardSelect":"ダイレクトプレイカードを選択","ia.directPlay.stage2.assetSelect":"プレビュー コード バージョンの選択","ia.directPlay.stage2.selectedCard":"選択したカード","ia.directPlay.stage2.selectedAsset":"選択したプレビュー コード バージョン","ia.directPlay.stage2.cardName":"カード名:","ia.directPlay.stage2.cardContentId":"コンテンツ ID:","ia.directPlay.stage2.cardDesc":"カード説明:","ia.directPlay.stage2.cardScenario":"シナリオ:","ia.directPlay.stage2.cardStatus":"レビューステータス:","ia.directPlay.stage2.cardStatus.approved":"承認されました","ia.directPlay.stage2.cardStatus.pending":"バックエンドレビュー後に利用可能","ia.directPlay.stage2.cardPackage":"起動パッケージ:","ia.directPlay.stage2.cardQueries":"クエリ:","ia.directPlay.stage2.assetGroup":"コードバージョングループ:","ia.directPlay.stage2.assetFile":"ファイル:","ia.directPlay.stage2.assetVersion":"バージョン:","ia.directPlay.stage2.assetSize":"サイズ:","ia.directPlay.stage2.assetUploaded":"アップロード場所:","ia.directPlay.stage2.assetGroup.preview":"プレビュー コード バージョン","ia.directPlay.stage2.assetGroup.live":"ライブコードバージョン","ia.directPlay.stage2.assetGroup.review":"レビュー中のコード バージョン","ia.directPlay.stage2.emptyCard":"直接プレイできるカードはまだありません。","ia.directPlay.stage2.emptyAsset":"利用可能なゲーム アセットはまだありません。","ia.directPlay.stage2.generate":"プレビュー QR を生成","ia.directPlay.stage2.refresh":"リフレッシュデータ","ia.directPlay.stage2.previewUrl":"プレビュー URL","ia.directPlay.stage2.copy":"URLをコピー","ia.directPlay.stage2.open":"プレビューを開く","ia.directPlay.stage2.qrDesc":"TikTok を使用してフィード内のこのコードをスキャンし、ダイレクト プレイ カード フローを体験してください。","ia.directPlay.stage2.copyTitle":"プレビュー URL がコピーされました","ia.directPlay.stage2.copyDesc":"プレビュー URL がクリップボードにコピーされました。","ia.directPlay.stage2.selectRequired":"最初にダイレクトプレイ カードとゲーム アセットの両方を選択してください。","ia.directPlay.stage2.loadCardsFailed":"ダイレクトプレイカードのロードに失敗しました。","ia.directPlay.stage2.loadAssetsFailed":"ゲームアセットのロードに失敗しました。","ia.directPlay.stage2.loadResourcesFailed":"ダイレクトプレイ デバッグ リソースのロードに失敗しました。","ia.directPlay.stage2.previewFailed":"ダイレクトプレイ プレビュー URL の生成に失敗しました。","ia.directPlay.stage2.modeSelect":"既存のカードを使用する","ia.directPlay.stage2.modeCreate":"カード作成","ia.directPlay.stage2.create.title":"ダイレクトプレイカードの作成","ia.directPlay.stage2.create.desc":"新しいダイレクトプレイ カードをデバッグ ツールで直接作成します。成功すると、リストが更新され、新しいカードが自動的に選択されます。","ia.directPlay.stage2.create.option":"+ ダイレクトプレイカードの作成","ia.directPlay.stage2.create.cardName":"カード名","ia.directPlay.stage2.create.cardNamePlaceholder":"例: xx ゲームのポイントカードを送る","ia.directPlay.stage2.create.cardDesc":"カード説明","ia.directPlay.stage2.create.cardDescPlaceholder":"例: プレイヤーをリコールするために 1000 コインを送信します","ia.directPlay.stage2.create.cardType":"カードタイプ","ia.directPlay.stage2.create.cardType.fixed":"固定カード","ia.directPlay.stage2.create.cardType.dynamic":"ダイナミックカード","ia.directPlay.stage2.create.cardType.dynamicDesc":"ダイナミック カード: プラットフォームはサーバー API を提供するため、開発者はスタミナ回復やイベント開始リマインダーなどのゲーム内イベントやキャンペーン リマインダーを動的にプッシュできます。","ia.directPlay.stage2.create.cardType.fixedDesc":"固定カード: 毎回同じルールでギフト パックを持つユーザーをリコールするなど、固定クライアント側ロジックと統合されています。","ia.directPlay.stage2.create.scenario":"シナリオ","ia.directPlay.stage2.create.scenarioPlaceholder":"例:recover_stamina","ia.directPlay.stage2.create.scenario.rewardIssue":"報酬の問題 award_issue","ia.directPlay.stage2.create.scenario.recoverStamina":"スタミナ回復 Recovery_stamina","ia.directPlay.stage2.create.scenario.unlockLevel":"ロック解除レベルunlock_level","ia.directPlay.stage2.create.subPkg":"起動パッケージ","ia.directPlay.stage2.create.params":"クエリ","ia.directPlay.stage2.create.paramsPlaceholder":"例: a=1&b=定数","ia.directPlay.stage2.create.submit":"カードの作成と選択","ia.directPlay.stage2.create.success":"ダイレクトプレイ カードは自動的に作成され、選択されました。","ia.directPlay.stage2.create.failed":"ダイレクトプレイカードの作成に失敗しました。","ia.directPlay.stage3.title":"ステージ 3: ダイレクトプレイ カードのステータスを管理する","ia.directPlay.stage3.desc":"ステージ 2 プレビューが検証された後、現在選択されているダイレクトプレイ カードを公開または非公開にして、ライブ ダイレクトプレイ フィード パスでそれを使用するかどうかを制御します。","ia.directPlay.stage3.banner":"公開または非公開にすると、現在選択されているダイレクト プレイ カードのライブ ステータスが変更されます。公開前にステージ 2 プレビュー QR コードを確認してください。","ia.directPlay.stage3.selectedCard":"現在のカード公開ステータス","ia.directPlay.stage3.emptyCard":"最初にステージ 2 のダイレクトプレイ カードを選択します。","ia.directPlay.stage3.publishStatus":"公開ステータス:","ia.directPlay.stage3.cardStatus.online":"公開されました","ia.directPlay.stage3.cardStatus.notOnline":"未公開","ia.directPlay.stage3.publish":"ダイレクトプレイカードを公開","ia.directPlay.stage3.published":"公開されました","ia.directPlay.stage3.offline":"ダイレクトプレイカードの非公開","ia.directPlay.stage3.confirmTitle":"ダイレクトプレイカード {{name}} ({{contentId}}) を公開しますか?","ia.directPlay.stage3.offlineConfirmTitle":"ダイレクトプレイ カード {{name}} ({{contentId}}) を非公開にしますか?","ia.directPlay.stage3.selectRequired":"最初にステージ 2 のダイレクトプレイ カードを選択します。","ia.directPlay.stage3.publishSuccess":"ダイレクトプレイカードが公開され、最新ステータスが更新されました。","ia.directPlay.stage3.publishFailed":"ダイレクトプレイカードの公開に失敗しました。","ia.directPlay.stage3.offlineSuccess":"ダイレクトプレイカードは非公開となり、最新のステータスが更新されました。","ia.directPlay.stage3.offlineFailed":"ダイレクトプレイ カードの公開を中止できませんでした。","ia.overview.eyebrow":"能力マップ","ia.overview.title":"機能へのアクセス","ia.overview.desc":"収益化方法から連携項目を確認するか、下から必要な機能を選択してください。ラベルは連携の目安です。アップロードと審査の要件は別途確認してください。","ia.overview.groups.title":"機能の概要","ia.overview.groups.desc":"ログイン、収益化、再訪、共有、基本機能の連携方法を確認できます。","ia.overview.keyCapabilities.title":"主要な機能","ia.overview.keyCapabilities.desc":"これらの機能は収益化モードによって変更されないため、必要な場合にのみ拡張してください。","ia.overview.baseline.title":"ベースラインの前提条件","ia.overview.baseline.desc":"これらの状態はほとんどの機能フローに影響を与えるため、特定のモジュールに入る前に、ここで明らかな障害をクリアする価値があります。","ia.overview.stat.capabilities":"の機能","ia.overview.stat.groups":"グループ","ia.overview.stat.prerequisites":"前提条件","ia.overview.sectionLabel":"能力グループ","ia.overview.section.capabilityUnit":"の機能","ia.monetization.title":"収益化モデルの選択","ia.monetization.desc":"ミニゲームの現在の収益化モデルに基づいて、対応する機能の組み合わせとデバッグの焦点を確認します。","ia.monetization.meta.required":"必須","ia.monetization.meta.optional":"オプション","ia.monetization.meta.support":"関連機能","ia.monetization.meta.experimental":"実験的","ia.monetization.core.title":"コア機能","ia.monetization.recommended.title":"推奨される機能の組み合わせ","ia.requirement.required":"必須","ia.requirement.optional":"オプション","ia.requirement.recommended":"おすすめ","ia.requirement.basic":"コア","ia.requirement.experimental":"実験的","ia.overview.section.experience.title":"経験と適応","ia.overview.section.experience.desc":"このグループは、デバイス間の一貫性、特に安全領域、カプセルボタンのレイアウト、およびキーアクション領域の使いやすさに関するものです。","ia.overview.section.ui.title":"UIの適応","ia.overview.section.ui.desc":"このグループは、デバイス間の UI の一貫性、特に画面サイズ、セーフ エリア、カプセル ボタンのレイアウト、キー アクションの可視性のみに焦点を当てています。","ia.overview.section.performance.title":"パフォーマンス","ia.overview.section.performance.desc":"バンドル サイズを縮小し、起動を高速化し、実行時のパフォーマンスを向上させるツール。機能ごとにオプトインします。今後のリリースでは、さらに最適化が行われる予定です。","ia.env.title":"前提条件のベースライン","ia.env.desc":"最初に 3 つの最も簡単なブロッカーを明らかにすることで、実際の機能パスがまだブロックされている間はエントリー フローの準備ができているように見えません。","ia.map.title":"能力マップ","ia.map.desc":"各カードは 1 つの統合パスを表します。まず概要から始めて、カスタマイズされたデバッグ ガイダンスの専用ページに入ります。","ia.action.openGuide":"オープン統合ガイド","ia.detail.notFound":"要求された機能ガイドが見つかりませんでした。","ia.detail.backToMap":"前のページに戻る",languageSwitcherLabel:g5,langChinese:h5,langEnglish:m5},y5="{{api}}가 연동되지 않았습니다. 심사 제출 전에 연동을 완료하세요.",v5="페이지 언어는 변경되었지만 CLI 언어 설정을 저장하지 못했습니다. 같은 언어를 다시 선택하여 재시도하세요.",S5="준비된 Wasm 코드 압축",b5="ttmg dev --launch-config ttmg.launch.json에서 사용하는 것과 동일한 시작 구성을 가져오거나 내보냅니다. 장면, 패키지, 쿼리 및 디버그 설정을 포함합니다. 계정 자격 증명은 제외됩니다.",w5="구성 가져오기",C5="구성 내보내기",k5="가져온 구성 및 디버그 설정은 저장 시 적용됩니다.",P5="시작 구성이 잘못되었습니다. 이 프로젝트에 선언된 스키마, 쿼리, 디버그 설정 및 독립 패키지를 확인하세요.",D5="API 호출이 감지되지 않음(정적 확인)",_5="API 호출이 감지되었습니다(정적 확인).",T5="DevTool",E5="스캔하여 로컬 디버깅 시작",x5="장치가 연결되었습니다!",I5="디버그 서비스 연결이 끊어졌습니다.",$5="연결되지 않음",R5="마디",O5="브라우저",N5="디버그 페이지",A5="고객",L5="연결됨",M5="연결이 끊김",j5="실패한",F5="알려지지 않은",G5="전설",W5="컴퓨터의 로컬 디버그 서비스(디버그 페이지와 클라이언트를 연결하고 디버그 메시지 전달)",z5="DevTool 디버그 페이지가 브라우저에 열립니다.",q5="장치의 TikTok 내부 디버그 서비스(HTTP/WS 기능 제공)",U5="점은 링크 상태를 나타냅니다. ws/http는 동일한 가장자리의 반대쪽에 표시됩니다.",B5="네트워크 진단",H5="네트워크 진단",V5="QR 스캔 중단, 연결 실패 및 연결할 수 없는 포트를 진단합니다.",K5="스캔 후 응답이 없습니까? 진단하려면 클릭하세요.",Q5="네트워크 진단",X5="TikTok 스캔이 응답하지 않거나 LAN 액세스에 실패하거나 프록시 설정이 방해가 되는 경우 이 기능을 사용하십시오.",Y5="열기",J5="모든 검사 실행",Z5="수동 연결",eG="수동 바인드 클라이언트 디버그 서비스",tG="QR 스캔 경로를 사용할 수 없는 경우(프록시/방화벽/다중 NIC) 클라이언트 IP 및 포트를 수동으로 입력하여 연결할 수 있습니다.",nG="클라이언트 엔드포인트 지정",rG="수동 연결로 이동",iG="현재 결과",aG="아직 확인되지 않음",oG="로컬 서비스, 클라이언트 HTTP 및 클라이언트 WS를 확인하여 실패한 세그먼트를 찾으세요.",sG="모든 검사를 실행하거나 먼저 클라이언트 엔드포인트를 채우세요.",lG="링크 확인 중",cG="로컬 서비스, 클라이언트 HTTP 및 클라이언트 WS를 확인합니다.",uG="완료 후 아래 확인 결과를 검토하세요.",dG="클라이언트 엔드포인트가 누락되었습니다.",pG="클라이언트 IP/HTTP/WS 포트가 누락되어 아직 전화측 링크를 판단할 수 없습니다.",gG="로컬 디버그 서비스를 사용할 수 없습니다.",hG="디버그 페이지는 로컬 노드에 액세스할 수 없습니다. `ttmg dev`가 먼저 실행되고 있는지 확인하세요.",mG="디버그 페이지는 로컬 노드 WebSocket에 연결할 수 없습니다. 로컬 디버그 서비스가 완전히 시작되었는지 확인하세요.",fG="클라이언트 링크에 ​​연결할 수 없습니다.",yG="로컬 서비스는 정상이지만 전화측 HTTP 및 WS에 대한 디버그 페이지 액세스가 시간 초과됩니다. 문제는 전화측 경로 또는 클라이언트 디버그 서비스에 있습니다.",vG="클라이언트 WS에 연결할 수 없습니다.",SG="클라이언트 HTTP에 연결할 수 있지만 WS가 시간 초과되었습니다. 먼저 WS 포트와 클라이언트 리스너를 확인하세요.",bG="네트워크 링크가 정상입니다.",wG="로컬 서비스 및 클라이언트 HTTP/WS에 연결할 수 있습니다. 상위 계층 검사를 계속하려면 스캔 디버깅으로 돌아가세요.",CG="확인 결과가 불완전합니다.",kG="이는 일반적인 실패 패턴과 일치하지 않습니다. 클라이언트 엔드포인트 값을 확인하고 검사를 다시 실행하십시오.",PG="클라이언트 IP, HTTP 포트, WS 포트가 로딩 페이지와 일치하는지 확인하세요.",DG="컴퓨터 IP",_G="WS 포트",TG="HTTP 포트",EG="컴퓨터",xG="고객",IG="문제 해결 가이드 보기",$G="공개 프록시 설정",RG="환경 세부정보",OG="컴퓨터 및 클라이언트 끝점 값을 보려면 확장하세요.",NG="결과 확인",AG="실패한 세그먼트를 찾기 위한 링크 수준 증거를 유지합니다.",LG="디버그 페이지 ⇔ 노드(HTTP)",MG="디버그 페이지 ⇔ 노드(WS)",jG="디버그 페이지 ⇔ 클라이언트(HTTP)",FG="디버그 페이지 ⇔ 클라이언트(WS)",GG="제안",WG="먼저 아래 작업을 시도한 다음 검사를 다시 실행하여 문제 범위가 좁아지는지 확인하세요.",zG="행위",qG="추가 정보: 연결에 성공하면 QR 디버그 페이지로 돌아가서 계속하세요.",UG="수동 연결 정보가 저장되었으며 전체 진단이 자동으로 실행되었습니다.",BG="수동 연결이 제출되었지만 빠른 연결 확인이 여전히 실패했습니다.",HG="스캔에서 엔드포인트가 누락되거나 포트가 일치하지 않는 경우 클라이언트 IP/HTTP/WS를 입력하고 다시 확인하세요.",VG="다음 단계",KG="결과",QG="권장 수정 사항",XG="연결 주소 입력",YG="클라이언트 IP, HTTP 포트, WS 포트를 먼저 제공한 후 현재 경로에 도달할 수 있는지 저장하고 진단합니다.",JG="스캔 디버깅으로 돌아가기",ZG="핵심 네트워크 경로에 도달할 수 있습니다. 다시 스캔하려면 홈 페이지로 돌아가거나 현재 디버그 흐름을 계속하세요.",eW="재시작 후 다시 확인",tW="`ttmg dev`가 실행 중인지 확인하세요. 필요한 경우 로컬 디버그 서비스를 다시 시작한 다음 검사를 다시 실행하십시오.",nW="검사를 다시 실행하여 문제의 범위가 좁혀졌는지 확인하세요.",rW="펼치기",iW="접기",aW="문서 열기",oW="클라이언트 엔드포인트가 감지되지 않음",sW="스캔하여 클라이언트 IP/HTTP/WS 포트를 연결하거나 채웁니다.",lW="클라이언트 연결 실패(LAN/프록시/방화벽)",cW="휴대폰과 컴퓨터가 동일한 Wi-Fi/서브넷에 있는지 확인하세요. 글로벌 VPN/TUN을 비활성화합니다. 프록시에서 LAN 허용을 활성화합니다. 방화벽에서 Node.js를 허용합니다.",uW="로컬 디버그 서비스를 사용할 수 없습니다.",dW="`ttmg dev`가 프로젝트 루트에서 실행 중이고 포트가 사용되지 않는지 확인하세요.",pW="방금 네트워크 또는 프록시 설정을 변경한 경우 프로젝트 루트로 돌아가 `ttmg dev`를 다시 실행하세요.",gW="전화기를 디버그 로딩 페이지에 유지하고, 클라이언트 디버그 서비스를 활성화하고, 표시된 포트를 일치시킵니다.",hW="휴대폰과 컴퓨터를 동일한 Wi-Fi/서브넷에 유지하세요. 프록시를 사용하는 경우 LAN 허용을 활성화하고 VPN/TUN/방화벽을 확인하세요.",mW="WS 포트가 올바르고 수신 대기 중인지 확인하세요. 그래도 시간이 초과되면 방화벽, 라우터 정책 또는 VPN/TUN을 확인하세요.",fW="명백한 문제가 감지되지 않았습니다.",yW="그래도 실패하면 조사를 위해 복사된 환경 정보와 스크린샷을 공유하세요.",vW="HTTP에 연결할 수 있지만 WS에 연결할 수 없음: WS 포트가 올바른지 확인하고 클라이언트 디버그 서비스가 수신 중인지 여부를 확인하세요.",SW="WS 시간 초과인 경우: 포트가 방화벽/라우터 정책에 의해 차단되었거나 글로벌 VPN/TUN이 LAN 트래픽에 영향을 미칠 가능성이 있습니다.",bW="HTTP와 WS 모두 연결할 수 없음: 휴대폰과 컴퓨터가 동일한 Wi-Fi/서브넷에 있는지 확인하세요(AP 격리가 존재할 수 있음).",wW="글로벌 VPN/TUN을 비활성화합니다. 프록시에서 LAN 허용을 활성화합니다. LAN 액세스에 대한 방화벽 규칙을 확인하세요.",CW="그래도 실패하면 컴퓨터 네트워크를 통해 전화 네트워크를 라우팅하고 다시 검색하십시오.",kW="클라이언트 HTTP 주소 또는 포트를 사용할 수 없습니다.",PW="클라이언트 WS 주소 또는 포트를 사용할 수 없습니다.",DW="게으른",_W="달리기",TW="확인하다",EW="수표를 기다리는 중",xW="확인 중...",IW="네트워크 연결 가능",$W="힌트",RW="ping은 작동하지만 WS가 실패하는 경우 일반적으로 TCP 포트가 수신 대기 중이 아니거나 차단되었기 때문입니다(ICMP는 TCP/WS와 다름).",OW="클라이언트 연결이 끊어졌습니다. 다시 연결하려면 QR 코드를 스캔하세요.",NW="노드 서비스 연결이 끊어졌습니다. 터미널에서 디버그 서비스를 다시 시작하세요.",AW="디버그 장치 전환",LW="연결된 기기 없음",MW="디버깅하기 전에 장치를 연결하십시오.",jW="디버그하려면 TikTok로 스캔하세요.",FW="스캔 장치 전환",GW="디버그 환경 초기화 중...",WW="디버그 환경을 초기화하도록 클라이언트에 알리는 중...",zW="클라이언트 디버그 환경 구성을 가져오는 중...",qW="클라이언트 디버그 환경 구성을 가져오지 못했습니다.",UW="클라이언트 디버그 환경 구성을 성공적으로 가져왔습니다.",BW="클라이언트 디버그 환경이 초기화되었습니다. 게임 리소스 업로드 대기 중...",HW="클라이언트 디버그 환경을 초기화하지 못했습니다.",VW="JS 런타임 환경 초기화 중...",KW="JS 런타임 환경이 성공적으로 초기화되었습니다.",QW="코드 패키지 다시 업로드",XW="게임 리소스 업로드 중...",YW="게임 리소스 업로드",JW="클라이언트에게 패키지를 보내는 중입니다. 게임이 끝나면 자동으로 게임이 시작됩니다.",ZW="게임 리소스가 성공적으로 업로드되었습니다. 클라이언트가 게임을 로드하는 중입니다...",ez="게임 리소스 업로드에 실패했습니다. 귀하의 환경을 확인하시기 바랍니다.",tz="게임 환경 초기화 중...",nz="게임 리소스가 로컬로 컴파일되고 있습니다. 기다리세요...",rz="게임 리소스 컴파일",iz="게임 리소스가 업데이트되었습니다. 디버깅을 위해 다시 업로드하시겠습니까?",az="게임 리소스가 성공적으로 업데이트되었습니다!",oz="게임 환경 초기화에 실패했습니다. 귀하의 환경을 확인하시기 바랍니다.",sz="게임 디버그 환경 구성을 가져오는 중",lz="게임 환경 구성을 성공적으로 가져왔습니다.",cz="게임 환경 구성을 가져오지 못했습니다.",uz="게임 스크립트를 가져오는 중",dz="브라우저 디버그 환경이 초기화되었습니다. 리소스가 업로드된 후 게임이 시작됩니다.",pz="게임 런타임 환경이 초기화되었습니다. 클라이언트에 리소스 업로드를 준비 중입니다.",gz="클라이언트에 게임 패키지 업로드 중...",hz="게임 패키지가 성공적으로 업로드되었습니다. 클라이언트가 게임을 로드하는 중입니다...",mz="게임 패키지를 업로드하지 못했습니다.",fz="미니게임 패키지 재업로드",yz="미니게임 다시 시작",vz="디버깅 종료",Sz="디버그 환경 시작 중...",bz="로컬 노드 디버그 서비스에 연결하지 못했습니다.",wz="로컬 노드 디버그 서비스에 연결하는 중...",Cz="로컬 노드 디버그 서비스에 연결됨",kz="로컬 노드 디버그 서비스에 연결하지 못했습니다. 게임 루트 디렉터리에서 'ttmg dev'가 실행되고 있는지 확인하세요.",Pz="노드 디버그 서비스 연결이 끊어졌습니다. 터미널에서 디버그 서비스를 다시 시작하세요.",Dz="클라이언트 디버그 서비스가 성공적으로 연결되었습니다.",_z="클라이언트 디버그 서비스에 연결하지 못했습니다. 디버그 서비스를 시작하려면 QR 코드를 다시 스캔하세요.",Tz="클라이언트 디버그 서비스 연결이 끊어졌습니다. 다시 연결하려면 QR 코드를 다시 스캔하세요.",Ez="이 네트워크에서는 모바일 QR 스캔을 사용할 수 없습니다.",xz="로컬 디버그 서비스가 실행 중이지만 컴퓨터에 전화기에서 연결할 수 있는 LAN 주소가 없습니다. 두 장치가 모두 동일한 네트워크에 있는지 확인하십시오. VPN이나 ​​프록시를 사용하는 경우 LAN 액세스를 활성화하세요.",Iz="연결 주소 설정",$z="클라이언트 디버그 환경을 시작하지 못했습니다. 디버그 서비스를 시작하려면 QR 코드를 다시 스캔하세요.",Rz="게임 스크립트를 로드하지 못했습니다.",Oz="장치에 업로드",Nz="업로드하지 않음",Az="플랫폼에 업로드",Lz="QR 코드 스캔 중...",Mz="스캔을 통해 새 디버그 세션을 시작하려면 장치를 전환하세요.",jz="TikTok 계정이 디버그 앱의 테스트 사용자로 추가되었는지 확인하세요.",Fz="로그인되지 않음",Gz="실행 모드 이름",Wz="출시 패키지 선택",zz="독립 하위 패키지 선택",qz="입장 장면 선택",Uz="사용자 정의 실행 매개변수",Bz="예: a=1&b=2",Hz="찾다",Vz="피드 카드의 경우",Kz="크리에이터 앵커",Qz="DM 공유",Xz="링크 복사",Yz="받은편지함",Jz="메인 패키지",Zz="독립 서브패키지",e6="사용자 정의 실행 모드",t6="{{name}}을 삭제하시겠습니까?",n6="구하다",r6="개발자 옵션",i6="디버깅 중에 플랫폼에 구성되지 않은 도메인에 대한 요청을 허용합니다.",a6="모의 광고 활성화",o6="모의 광고 결과를 사용하여 광고 시나리오를 디버깅합니다.",s6="IAP 모의 활성화",l6="샌드박스를 통해 결제 결과를 라우팅하여 결과 관련 시나리오를 디버깅합니다.",c6="실행 모드 선택",u6="새로운 시작 모드 생성",d6="디버그 모드 선택",p6="원격 디버그",g6="기기 미리보기",h6="클라이언트 디버그",m6="실행 매개변수는 문자열이어야 합니다.",f6="시작 매개변수에는 물음표(?) 접두사가 포함되어서는 안 됩니다. 매개변수 부분만 입력해 주세요.",y6=`실행 매개변수 형식 오류: 빈 키-값 쌍이 발견되었습니다. 각 '&' 기호 양쪽에 완전한 "키=값" 구조가 있는지 확인하세요.`,v6=`실행 매개변수 형식 오류: 빈 키가 발견되었습니다. 각 '&' 기호 양쪽에 완전한 "키=값" 구조가 있는지 확인하세요.`,S6="실행 매개변수 형식 오류: 중복된 키가 발견되었습니다. 각 키는 고유해야 합니다.",b6="실행 매개변수 형식 오류: 잘못된 키 문자가 발견되었습니다. 문자, 숫자, 밑줄(_), 하이픈(-)만 사용하세요.",w6="실행 매개변수 형식 오류: 잘못된 값 문자가 발견되었습니다. 문자, 숫자, 밑줄(_), 하이픈(-)만 사용하세요.",C6="실행 매개변수 형식 오류: 잘못된 URL 인코딩이 발견되었습니다. 올바른 인코딩 형식을 사용하세요.",k6="실행 매개변수 형식 오류: 등호(=)가 누락되었거나 값이 비어 있습니다. 'key=value' 형식을 사용하고 값이 비어 있지 않은지 확인하세요.",P6="비워둘 수 없습니다.",D6="저장 및 적용",_6="적용하다",T6="로컬 디버그 설정을 클라이언트로 보내는 중...",E6="로컬 노드 디버그 서비스 구성을 성공적으로 가져왔습니다.",x6="로컬 디버그 서비스 구성을 가져오지 못했습니다. Node 서비스가 실행 중인지 확인해주세요.",I6="디버그 환경 종속성 스크립트 로드 중...",$6="종속성 스크립트가 성공적으로 로드되었습니다.",R6="종속성 스크립트를 로드하지 못했습니다. 디버그 서비스를 시작하려면 QR 코드를 다시 스캔하세요.",O6="종속성 스크립트가 비어 있습니다. 디버그 서비스를 시작하려면 QR 코드를 다시 스캔하세요.",N6="종속성 스크립트가 성공적으로 로드되고 초기화되었습니다.",A6="게임 리소스가 성공적으로 컴파일되었습니다! 디버깅하려면 장치를 스캔하세요.",L6="게임 리소스가 성공적으로 컴파일되었습니다!",M6="디버깅 시작",j6="디버깅 시작",F6="스캔하여 연결하고 디버깅을 시작하세요",G6="실행 모드를 선택한 다음 TikTok 클라이언트로 스캔하여 실제 장치나 브라우저에서 미니 게임을 미리보세요.",W6="장치가 연결되어 있고 디버깅이 진행 중입니다.",z6="TikTok 클라이언트에 연결되어 실제 장치나 브라우저에서 미니 게임을 미리 볼 수 있습니다. 장치를 전환하려면 다시 검색하여 새 디버깅 세션을 시작하세요.",q6="프로젝트 개요",U6="실행 모드",B6="업로드 및 게시",H6="일반 실행 모드",V6="새로운 실행 모드",K6="로컬 디버깅 단계에서는 게임 이름, 아이콘, 클라이언트 키, 설명, 전체 패키지 크기, 기본 패키지 크기, 독립 하위 패키지 크기, 신뢰할 수 있는 도메인, 서비스 약관, 개인 정보 보호 정책 등을 포함하여 현재 미니 게임의 기본 정보를 빠르게 볼 수 있습니다.",Q6="이러한 핵심 정보를 미리 확인함으로써 잠재적인 문제를 신속하게 발견하고 공식 출시 전에 프로젝트 상태가 플랫폼 요구 사항을 충족하는지 확인하여 출시 후 위험과 재작업을 줄일 수 있습니다.",X6="프로젝트 크기 {{limit}} 제한을 초과하지 마십시오.",Y6="기본 패키지 크기 {{limit}} 제한을 초과하지 마십시오.",J6="독립적인 하위 패키지 크기 {{limit}} 제한을 초과하지 마십시오.",Z6="프로젝트 크기 {{limit}} 제한을 초과했습니다.",eq="기본 패키지 크기 {{limit}} 제한을 초과했습니다.",tq="독립 하위 패키지 크기 {{limit}} 제한을 초과했습니다.",nq="실행 모드를 설정하면 실행 패키지, 진입 장면, 실행 매개변수를 유연하게 선택하여 다양한 테스트 및 온라인 요구 사항을 충족할 수 있습니다. 게임이 정상적으로 시작되고 예상되는 장면에 들어갈 수 있도록 실제 요구 사항에 따라 관련 구성을 완료하십시오.",rq="3. 구성 파일 확인",iq="나중에 로드 실패를 방지하려면 하위 패키지 파일 경로가 올바르게 구성되었는지, 모든 경로에 정상적으로 액세스할 수 있는지 확인하세요.",aq="1. 패키지 사이즈 확인",oq="2. 필수 API 확인",sq="정적 검사는 코드에서 API 호출을 감지합니다. 기기 실행, 성공적인 로그인, 광고, 결제 또는 플랫폼 구성을 확인하지 않습니다.",lq="전체 게임 패키지 크기는 {{projectSize}} 내에서 제어되어야 합니다. 기본 패키지 크기는 {{mainPackageSize}}를 초과할 수 없으며 각 독립 하위 패키지의 크기는 {{independentPackageSize}}를 초과할 수 없습니다.",cq="전체 게임 패키지 크기는 {{projectSize}} 내에서 제어되어야 합니다. 다른 추가 제한은 없습니다.",uq="구성 파일 검사를 통과했습니다!",dq="패키지 크기 확인을 통과했습니다!",pq="패키지 크기 확인에 실패했습니다!",gq="구성 파일 확인에 실패했습니다!",hq="성능 확인",mq="성능점검 통과!",fq="성능 확인에 실패했습니다!",yq="문서 보기",vq="수표 세부정보 펼치기",Sq="확인 세부정보 닫기",bq="게임 프로젝트",wq="주요 패키지 크기",Cq="독립적인 하위 패키지 크기",kq="신뢰할 수 있는 도메인",Pq="이용약관 및 개인정보 보호",Dq="이용약관 및 개인정보 보호 - 이용약관 URL",_q="이용약관 및 개인정보 보호 - 개인정보 보호 URL",Tq="서비스 약관 URL",Eq="개인정보 보호정책 URL",xq="프로젝트 규모",Iq="이름",$q="상",Rq="클라이언트 키",Oq="설명",Nq="현재 게임 ClientKey {{clientKey}}를 디버그용으로 활성화할 수 없습니다. 확인하고 다시 시도해 주세요.",Aq="게임 세부정보를 가져오지 못했습니다. 나중에 다시 시도해 주세요.",Lq="현재 계정은 로그인되어 있지 않아 게임 정보를 조회할 수 없습니다. 콘솔에서 `ttmg login`를 실행하고 개발자 플랫폼 계정으로 로그인하세요. 로그인한 후 `ttmg dev` 명령을 실행하여 디버그 모드를 활성화합니다.",Mq="콘솔에 `ttmg login` 명령을 입력하고 개발자 플랫폼 계정과 비밀번호를 사용하여 로그인할 수 있습니다.",jq="문서",Fq="빠른 시작",Gq="API 참조",Wq="오류 참조",zq="FAQ",qq="업로드",Uq="취소",Bq="버전 참고",Hq="업로드 성공",Vq="업로드 실패",Kq="게임 리소스가 플랫폼에 성공적으로 업로드되면 플랫폼은 리소스를 확인하고 배포합니다. 플랫폼에서 게임의 미리보기 버전을 볼 수 있습니다.",Qq="플랫폼에서 보기",Xq="디버그 페이지의 게임 패키지 업로드 기능은 명령줄에 로그인한 후에만 사용할 수 있습니다.",Yq="현재 게임을 플랫폼에 업로드",Jq="아직 플랫폼에 신뢰할 수 있는 도메인이 구성되어 있지 않습니다. 플랫폼 허용 목록에 추가된 도메인만 런타임에 네트워크 요청을 보낼 수 있습니다. 게임이 외부 도메인에 액세스해야 하는 경우 필요에 따라 여기에 추가하세요.",Zq="디버그 환경 스크립트 초기화에 실패했습니다. QR 코드를 다시 스캔하세요.",eU="게임 리소스 업로드에 실패했습니다. QR 코드를 다시 스캔하세요.",tU="게임에 약관 및 개인정보 보호(약관 URL)가 없습니다. 로그인/승인 흐름은 이 필드에 따라 다르므로 플랫폼에서 구성될 때까지 디버깅이 실패합니다.",nU="게임에 약관 및 개인정보 보호(개인정보 URL)가 없습니다. 로그인/승인 흐름은 이 필드에 따라 다르므로 플랫폼에서 구성될 때까지 디버깅이 실패합니다.",rU="게임에 약관 및 개인정보 보호(약관 URL 및 개인정보 보호 URL)가 없습니다. 로그인/승인 흐름은 이러한 필드에 따라 다르므로 플랫폼에서 구성될 때까지 디버깅이 실패합니다.",iU="현재 약관 및 개인정보 보호정책(약관 URL)이 비어 있습니다. 게임이 정상적으로 실행될 수 있도록 플랫폼에 이 URL을 추가하세요.",aU="현재 약관 및 개인정보 보호(개인정보 URL)가 비어 있습니다. 게임이 정상적으로 실행될 수 있도록 플랫폼에 이 URL을 추가하세요.",oU="현재 게임 이름이 비어 있습니다. 심사 거절을 방지하려면 제출하기 전에 완료하시기 바랍니다.",sU="현재 게임 아이콘이 비어 있습니다. 심사 거절을 방지하려면 제출하기 전에 완료하시기 바랍니다.",lU="현재 게임 설명이 비어 있습니다. 게임이 정상적으로 실행될 수 있도록 게임 설명 목록에 게임 설명을 추가하시기 바랍니다.",cU="현재 계정에는 ID {{clientKey}}의 게임 세부정보를 볼 수 있는 권한이 없습니다. 개발자 플랫폼에서 개발 권한을 신청하고 `ttmg dev` 명령을 실행하여 디버그 모드를 활성화하세요.",uU="터미널이 TikTok 개발자 플랫폼에 연결할 수 없으므로 신뢰 도메인, 약관, 개인 정보 보호 및 기타 플랫폼 구성을 가져올 수 없습니다. VPN/프록시가 터미널에 적용되는지 확인하거나 `ttmg config set proxy ...`를 구성하고 디버깅을 다시 시작하세요.",dU="클라이언트 WebSocket 연결 시작, 👉🏼👉🏼👉🏼 {{wsURL}}...",pU="클라이언트 WebSocket 서비스 연결 시간이 초과되었습니다. 컴퓨터와 휴대폰이 동일한 LAN에 있는지 확인하세요.",gU="현재 계정은 로그인되어 있지 않아 게임 정보를 조회할 수 없습니다. 콘솔에서 `ttmg login`를 실행하고 개발자 플랫폼 계정으로 로그인하세요. 로그인한 후 `ttmg dev` 명령을 실행하여 디버그 모드를 활성화합니다.",hU="현재 계정 로그인이 만료되었습니다. 다시 로그인해 주세요.",mU="로그인",fU="보상형 동영상 광고 만들기",yU="바로가기 추가",vU="프로필 사이드바 입구 열기",SU="지름길 미션 보상 받기",bU="입장 미션 보상 받기",wU="통합!",CU="통합되지 않았습니다!",kU="필수 API 검사를 통과했습니다!",PU="필수 API 확인에 실패했습니다!",DU="클라이언트 미리보기 로딩 게임, 자세한 내용은 브라우저 콘솔을 확인하세요...",_U="클라이언트 미리보기 환경이 초기화되었습니다. 자세한 내용은 브라우저 콘솔을 확인하세요...",TU="게임 메타데이터를 클라이언트에 보내기 시작하면 클라이언트가 게임을 시작하기 시작합니다...",EU="게임 메타 데이터가 클라이언트에 성공적으로 전송되면 클라이언트가 게임을 시작하기 시작합니다...",xU="1. 브라우저 원격 디버깅: 먼저 브라우저에서 원격 디버깅 환경을 초기화한 다음 클라이언트를 연결하여 디버깅을 시작합니다. 이 모드에서는 게임 패키지를 클라이언트에 업로드해야 하지만 디버깅 프로세스는 브라우저의 원격 디버깅 기능을 기반으로 합니다.",IU="2. 클라이언트 실제 미리보기: 로컬 게임 코드를 클라이언트에 업로드한 다음 실제 장치에서 미리보고 디버그합니다. 실제 기기에서 게임의 성능과 호환성을 직접 검증하는 모드입니다.",$U="잘못된 포트 번호입니다. 올바른 포트 번호를 입력하세요.",RU="QR 코드가 응답하지 않으면 여기를 클릭하여 클라이언트 디버그 서비스 주소를 수동으로 바인딩하세요.",OU="확인하다",NU="휴대폰의 로컬 IP 주소를 입력하세요.",AU="업로드 시작",LU="클라이언트 디버그 서비스 주소를 수동으로 바인딩",MU="확인하러 가기",jU="네트워크 확인",FU="1. 휴대폰과 컴퓨터 간의 서로 다른 네트워크 환경으로 인해 발생하는 네트워크 연결 문제를 해결하기 위해 클라이언트 디버그 서비스에 수동으로 연결하는 기능을 지원합니다.",GU="2. TikTok Android 42.9 이상 버전만 지원하며, iOS는 당분간 지원하지 않습니다.",WU="뒤로",zU="연결 시작",qU="연결하다",UU="클라이언트 로딩 페이지에 표시된 IP, HTTP 포트, WS 포트를 입력하세요. 확인 후 디버그 페이지는 이를 저장하고 클라이언트 디버그 서비스에 연결을 시도합니다.",BU="연결 확인",HU="연결 확인",VU="클라이언트 웹소켓",KU="클라이언트 HTTP",QU="정상",XU="실패한",YU="시간 초과",JU="연결 실패",ZU="IP와 포트를 먼저 입력하세요.",e8="게임 패키지를 업로드하려면 먼저 현재 게임 패키지 설명을 입력해야 합니다.",t8="도메인 확인 비활성화",n8="vConsole 로그 패널 활성화",r8="개발자 정보 패널 활성화",i8="클라이언트에서 vConsole 런타임 로그를 봅니다.",a8="클라이언트에서 개발자 정보와 런타임 통계를 확인하세요.",o8="!! {{count}} 문제가 감지되었습니다. 각 항목에는 차단 또는 제안으로 레이블이 지정됩니다.",s8="블로킹",l8="제안",c8="기본 게임 정보가 누락되었습니다: {{fields}}.",u8="직함(이름)",d8="아이콘(아이콘)",p8="설명 (설명)",g8=",",h8="개발자 계정으로 로그인되어 있지 않습니다. 업로드가 불가능하며 네트워크 요청이 차단될 수 있습니다. 임시 로컬 디버깅의 경우 개발자 옵션에서 도메인 확인을 비활성화하세요.",m8="리뷰 거부를 방지하려면 제출하기 전에 이 문제를 해결하시기 바랍니다.",f8="세부정보 보기",y8="세부정보 숨기기",v8="주의가 필요합니다",S8="추천",b8="터미널 프록시가 적용되지 않습니다",w8="계정에 개발 액세스 권한이 없습니다.",C8="개발자 로그인이 불가능합니다",k8="Client Key를 인식할 수 없습니다",P8="허가 신청",D8="개발자 포털 열기",_8="{{count}} 더 많은 문제",T8="어두운 테마로 전환",E8="밝은 테마로 전환",x8="특징",I8="최적화",$8="버그수정",R8="자세히 알아보기",O8="변경 내역",N8="새로운",A8="각 DevTool 릴리스에서 추가, 개선, 수정된 사항을 검토하세요.",L8="새로운/최적화된 기능 대상 버전:",M8="Wasm 코드 분할",j8="분할 준비",F8="기능 수집",G8="분할 코드",W8="롤백",z8="분할 실패",q8="분할 아티팩트 작성 중...",U8="다시 해 보다",B8="분할 코드 준비 시작 중...",H8="분할 코드 준비 취소",V8="백그라운드 실행",K8="분할 코드를 준비 중입니다. 잠시 기다려 주세요...",Q8="준비 과정에서 로컬 게임 패키지를 수정하지 마십시오. 그렇지 않으면 준비가 실패할 수 있습니다.",X8="분할 코드 준비가 완료되었습니다!",Y8="분할 코드 준비에 실패했습니다!",J8="재시도 준비",Z8="준비된 Wasm 코드 다운로드",eB="다운로드 실패",tB="다운로드 다시 시도",nB="다운로드 성공",rB="준비된 Wasm 코드를 다운로드한 후 로컬 환경에서 코드를 분할하여 디버깅할 수 있습니다.",iB="분할 코드 설명",aB="분할코드 설명을 입력해주세요",oB="준비 시작",sB="처리 중...",lB="Wasm 분할 구성 업데이트",cB="Wasm 분할 구성 업데이트에 성공했습니다!",uB="Wasm 분할 구성 업데이트에 실패했습니다!",dB="준비된 Wasm 코드 압축이 성공했습니다!",pB="압축 준비 Wasm 코드가 실패했습니다!",gB="압축 준비 Wasm 코드 작성",hB="압축 준비 Wasm 코드 작성이 성공했습니다!",mB="압축 준비 Wasm 코드 쓰기가 실패했습니다!",fB="다운로드 URL 가져오기",yB="다운로드 URL을 가져왔습니다!",vB="다운로드 URL을 가져오지 못했습니다.",SB="준비된 Wasm 코드 다운로드가 성공했습니다!",bB="준비된 Wasm 코드 다운로드에 실패했습니다!",wB="분할 시작",CB="수집된 기능이 분할되기 전에 전체의 8% 이상에 도달해야 합니다. 첫 번째 화면과 핵심 게임플레이 경로를 다루려면 계속 플레이하세요.",kB="현재 로컬 프로젝트는 이미 wasm 분할을 지원합니다. TikTok 클라이언트를 사용하여 QR 코드를 스캔하고, 기능 수집을 시작하고, 전체 로딩 프로세스, 게임 교육 등을 미리 지원하십시오.",PB="연결된 기기 · 수집 기능",DB="연결된 장치에서 로딩, 튜토리얼 및 핵심 게임플레이를 살펴보세요. DevTool는 호출되는 함수를 계속 기록합니다. 첫 번째 화면과 핵심 경로가 완료되면 분할을 시작할 수 있습니다.",_B="수집 시작",TB="수집 세션을 여는 중...",EB="이전 수집 세션을 재개했습니다. 기존 진행 상황이 유지되었습니다.",xB="Wasm 파일 크기",IB="수집된 함수 수",$B="총 기능 수",RB="분할 버전",OB="분할 코드를 처리 중입니다. 잠시 기다려 주십시오...",NB="분할 취소",AB="분할 결과 가져오기",LB="분할 결과 가져오기 재시도",MB="분할 결과를 가져오지 못했습니다. 다시 시도해 주세요.",jB="분할 코드 처리에 성공했습니다!",FB="분할 결과 다운로드",GB="분할 결과를 다운로드하지 못했습니다. 다시 시도해 주세요.",WB="분할 결과 다운로드 재시도",zB="분할 결과 다운로드가 성공했습니다!",qB="로컬에서는 실제 장치를 사용하여 디버그 QR 코드를 스캔하고, 분할 코드 로딩 프로세스를 경험하고, 이후 게임에서 예외가 없는지 확인하고, 테스트 및 출시를 위해 현재 디렉터리 파일을 개발자 플랫폼에 업로드할 수 있습니다.",UB="Android 기본 Wasm 파일을 다운로드하는 중...",BB="Android 메인 Wasm 파일 다운로드 성공",HB="Android 기본 Wasm 파일을 압축하는 중...",VB="Android 기본 Wasm 파일 압축 성공",KB="Android 하위 Wasm 코드 다운로드 중...",QB="Android 하위 Wasm 코드 다운로드 성공",XB="Android 하위 Wasm 코드를 압축하는 중...",YB="Android 하위 Wasm 코드 압축 성공",JB="iOS 기본 Wasm 파일을 다운로드하는 중...",ZB="iOS 메인 Wasm 파일 다운로드 성공",e7="iOS 기본 Wasm 파일을 압축하는 중...",t7="iOS 기본 Wasm 파일 압축 성공",n7="iOS 하위 Wasm 코드 다운로드 중...",r7="iOS 하위 Wasm 코드 다운로드 성공",i7="iOS 하위 Wasm 코드를 압축하는 중...",a7="iOS 하위 Wasm 코드 압축 성공",o7="분할된 Wasm 파일을 작성하는 중...",s7="분할 Wasm 파일 쓰기 성공",l7="Wasm 분할 구성 업데이트 중...",c7="Wasm 분할 구성 업데이트에 성공했습니다!",u7="Wasm 코드를 찾을 수 없습니다.",d7="프로젝트에서 Wasm 코드를 찾을 수 없습니다. 게임에 Wasm 코드가 포함되어 있는지 확인하고 다시 시도하세요.",p7="현재 프로젝트에는 이미 분할된 Wasm 코드가 있습니다. TikTok 클라이언트를 사용하여 QR 코드를 스캔하고 기능 수집을 시작하고 전체 로딩 프로세스, 게임 교육 등을 사전에 지원하십시오.",g7="현재 결과를 있는 그대로 압축하고 업로드할 수 있습니다. 다시 시작하려면 아래의 '분할 취소'를 누르세요.",h7="분할 삭제",m7="현재 프로젝트는 Wasm 분할 구성을 활성화하지 않았습니다.",f7="현재 프로젝트는 Wasm 분할 구성을 활성화하지 않았습니다. 프로젝트 구성에서 활성화하고 다시 시도하세요.",y7="고급 가이드",v7="기능 연동",S7="서브패키지 컬렉션",b7="언어",w7="简体中文",C7="영어",k7={"performance.back":"성능 최적화로 돌아가기",checkApiNotIntegrated:y5,languageSaveFailed:v5,compressPreparedWasmCode:S5,"uploadGame.summary.failedTitle":"프로젝트 확인 실패","uploadGame.summary.checkingDesc":"패키지 크기, 구성 및 API 사용량을 확인합니다.","uploadGame.summary.checkingTitle":"프로젝트 확인 중","ia.requirement.conditional":"사용 사례에 따라 다름",launchConfigHelp:b5,launchConfigImport:w5,launchConfigExport:C5,launchConfigPending:k5,launchConfigInvalid:P5,apiStaticNotDetected:D5,apiStaticDetected:_5,title:T5,scanQRcodeTitle:E5,deviceConnected:x5,serverDisconnected:I5,deviceDisconnected:$5,connectStatusNode:R5,connectStatusBrowser:O5,connectStatusDebugPage:N5,connectStatusClient:A5,connectStatusConnected:L5,connectStatusDisconnected:M5,connectStatusFailed:j5,connectStatusUnknown:F5,connectStatusLegendTitle:G5,connectStatusLegendNode:W5,connectStatusLegendBrowser:z5,connectStatusLegendClient:q5,connectStatusLegendProto:U5,netDiagNav:B5,netDiagTitle:H5,netDiagSubtitle:V5,netDiagEntryScanNoResponse:K5,netDiagEntryTitle:Q5,netDiagEntryDesc:X5,netDiagEntryAction:Y5,netDiagRunAll:J5,netDiagManualConnectAndCheck:Z5,netDiagManualBindTitle:eG,netDiagManualBindDesc:tG,netDiagManualBindEntry:nG,netDiagManualConnectGo:rG,netDiagSummaryTitle:iG,netDiagSummaryIdleTitle:aG,netDiagSummaryIdleDesc:oG,netDiagSummaryIdleHint:sG,netDiagSummaryRunningTitle:lG,netDiagSummaryRunningDesc:cG,netDiagSummaryRunningHint:uG,netDiagSummaryMissingClientTitle:dG,netDiagSummaryMissingClientDesc:pG,netDiagSummaryNodeTitle:gG,netDiagSummaryNodeDesc:hG,netDiagSummaryNodeWsDesc:mG,netDiagSummaryClientBothTitle:fG,netDiagSummaryClientBothDesc:yG,netDiagSummaryClientWsTitle:vG,netDiagSummaryClientWsDesc:SG,netDiagSummaryHealthyTitle:bG,netDiagSummaryHealthyDesc:wG,netDiagSummaryPartialTitle:CG,netDiagSummaryPartialDesc:kG,netDiagSummaryPartialHint:PG,netDiagEnvIP:DG,netDiagEnvWsPort:_G,netDiagEnvHttpPort:TG,netDiagComputerGroup:EG,netDiagClientGroup:xG,netDiagOpenTroubleshoot:IG,netDiagOpenProxy:$G,netDiagEnvTitle:RG,netDiagEnvSectionDesc:OG,netDiagChecksTitle:NG,netDiagCheckSectionDesc:AG,netDiagCheckNodeHttp:LG,netDiagCheckNodeWs:MG,netDiagCheckClientHttp:jG,netDiagCheckClientWs:FG,netDiagSuggestTitle:GG,netDiagSuggestSectionDesc:WG,netDiagActionsTitle:zG,netDiagSuccessHint:qG,netDiagManualConnectResultSuccess:UG,netDiagManualConnectResultError:BG,netDiagManualSectionDesc:HG,netDiagNextStepTitle:VG,netDiagGuideEyebrow:KG,netDiagGuideStepsTitle:QG,netDiagActionManualConnect:XG,netDiagActionManualConnectDesc:YG,netDiagActionBackToScan:JG,netDiagActionBackToScanDesc:ZG,netDiagActionRerunAfterRestart:eW,netDiagActionRerunAfterRestartDesc:tW,netDiagActionRunAllDesc:nW,netDiagExpand:rW,netDiagCollapse:iW,netDiagOpenDoc:aW,netDiagSuggestNoClientTitle:oW,netDiagSuggestNoClientDesc:sW,netDiagSuggestLanTitle:lW,netDiagSuggestLanDesc:cW,netDiagSuggestNodeTitle:uW,netDiagSuggestNodeDesc:dW,netDiagSuggestNodeRestart:pW,netDiagSuggestClientDebugService:gW,netDiagSuggestLanAndProxy:hW,netDiagSuggestWsBlocked:mW,netDiagSuggestOkTitle:fW,netDiagSuggestOkDesc:yW,netDiagSuggestHttpOkWsFail1:vW,netDiagSuggestHttpOkWsFail2:SW,netDiagSuggestBothFail1:bW,netDiagSuggestBothFail2:wW,netDiagSuggestPhoneProxyFallback:CW,netDiagMissingClientHttp:kW,netDiagMissingClientWs:PW,netDiagStatusIdle:DW,netDiagStatusRunning:_W,netDiagStatusWarning:TW,netDiagCheckIdleDetail:EW,netDiagCheckRunningDetail:xW,netDiagCheckReachableDetail:IW,netDiagQuickHintTitle:$W,netDiagQuickHintDesc:RW,clientDisconnected:OW,nodeDisconnected:NW,switchDevice:AW,disConnectionStatusTitle:LW,disConnectionStatusDesc:MW,scanQRCode:jW,switchScanDevice:FW,startDebug:GW,initClientEnv:WW,fetchClientDevConfig:zW,fetchClientDevConfigFailed:qW,fetchClientDevConfigSuccess:UW,initClientEnvSuccess:BW,initClientEnvFailed:HW,startInitJSDevEnv:VW,initJSDevEnvSuccess:KW,uploadBtn:QW,uploadStart:XW,uploadProcess:YW,uploadProcessDesc:JW,uploadSuccess:ZW,uploadError:ez,setupDevEnv:tz,gameResourceCompiling:nz,gameResourceCompilingTitle:rz,gameResourceChange:iz,gameResourceUpdated:az,devEnvSetupError:oz,getDevEnvStart:sz,getDevEnvSuccess:lz,setDevEnvFailed:cz,getDevScriptsStart:uz,setDevScriptsSuccess:dz,devEnvSetupSuccess:pz,uploadGameStart:gz,uploadGameSuccess:hz,uploadGameFailed:mz,reUploadGame:fz,relaunchGame:yz,closeGame:vz,loading:Sz,nodeServerConnectedFailed:bz,nodeServerStartConnect:wz,nodeServerConnectedSuccess:Cz,nodeServerStartError:kz,nodeServerDisconnect:Pz,clientConnectedSuccess:Dz,clientServerStartError:_z,clientServerDisconnected:Tz,networkNoLanIPTitle:Ez,networkNoLanIPDesc:xz,networkNoLanIPAction:Iz,startDebugFailed:$z,getDevScriptsFailed:Rz,uploadToClient:Oz,notUpload:Nz,uploadToPlatform:Az,"uploadGame.pageTitle":"게임 업로드","uploadGame.pageDesc":"여기서는 업로드가 주요 작업입니다. 사전 확인은 안전망 역할을 하며 주의가 필요한 경우에만 강조됩니다.","uploadGame.guide.title":"업로드 및 게시","uploadGame.guide.desc":"사전 확인 위험을 검토하고 짧은 버전 메모를 추가한 후 플랫폼에 업로드하세요. 생성된 미리보기 빌드를 스캔하여 확인하세요.","uploadGame.guide.precheck.title":"코드 사전 확인","uploadGame.guide.precheck.desc":"패키지 크기, API, 구성 및 성능 위험을 조기에 파악하세요.","uploadGame.guide.version.title":"버전 참고","uploadGame.guide.version.desc":"업로드 기록을 더 쉽게 식별할 수 있도록 이 변경 사항을 설명하세요.","uploadGame.guide.preview.title":"플랫폼 미리보기","uploadGame.guide.preview.desc":"업로드 후 스캔하여 플랫폼 생성 빌드 확인","uploadGame.packageSizeDoc":"패키지 크기 제한 보기","uploadGame.checkTitle":"코드 사전 확인","uploadGame.recheck":"재확인","uploadGame.uploadTitle":"게임 패키지 업로드","uploadGame.checkWarn":"일부 사전 확인 항목이 실패했습니다. 리뷰가 거부되지 않도록 업로드하기 전에 수정하세요.","uploadGame.detailTitle":"사전 확인 세부정보","uploadGame.detailDesc":"구성, API, 크기 또는 성능 문제에 대한 전체 분석이 필요한 경우에만 확장하세요.","uploadGame.showDetails":"사전 확인 세부정보 보기","uploadGame.hideDetails":"사전 확인 세부정보 숨기기","uploadGame.loginNoticeTitle":"먼저 개발자 로그인을 완료하세요.","uploadGame.readyTitle":"사전 확인 통과, 업로드 준비 완료","uploadGame.readyDesc":"현재 차단 문제는 감지되지 않습니다. 버전 노트를 추가하고 플랫폼에 직접 제출하세요.","uploadGame.issueTitle":"사전 확인 메모","uploadGame.issueDesc":"여기에는 주요 요약만 표시됩니다. 필요한 경우 전체 결과를 확장합니다.","uploadGame.checkFetchFailed":"사전 확인 결과를 가져오지 못했습니다. 업로드 여부를 결정하기 전에 확인을 다시 실행하세요.","uploadGame.issueCountSuffix":"문제","uploadGame.groupPassSuffix":"수표 통과","uploadGame.status.loginReady":"로그인한 개발자 계정","uploadGame.status.loginRequired":"업로드하려면 로그인이 필요합니다","uploadGame.status.checking":"사전 확인 실행 중","uploadGame.status.checkFailed":"사전 확인 가져오기 실패","uploadGame.status.hasIssues":"사전 확인에 문제가 있습니다.","uploadGame.status.ready":"사전 확인 통과","uploadGame.group.performance":"성능","uploadGame.group.size":"패키지 크기","uploadGame.group.api":"API","uploadGame.group.config":"구성","uploadGame.unknownIssue":"문제 검토 필요","uploadGame.uploadDescHint":"나중에 조회할 수 있도록 이 변경 사항을 간략하게 설명하세요.","uploadGame.progress.title":"업로드 및 플랫폼 처리 대기 중","uploadGame.progress.desc":"패키지가 제출되었습니다. 플랫폼은 현재 이를 검증하고 배포하고 있습니다.","uploadGame.progress.assetTitle":"플랫폼이 패키지를 처리 ​​중입니다.","uploadGame.progress.assetDesc":"패키지가 업로드되었습니다. 지금 플랫폼에서 처리 중입니다. 잠시 기다려 주세요…","uploadGame.progress.previewTitle":"플랫폼 미리보기 QR 코드를 가져오는 중","uploadGame.progress.previewDesc":"업로드에 성공했습니다. 지금 미리보기 QR 코드에 대한 플랫폼을 폴링 중입니다.","uploadGame.progress.statusPending":"처리","uploadGame.progress.badgeUploading":"업로드 중","uploadGame.progress.badgeChecking":"검증 중","uploadGame.progress.badgePreview":"미리보기 QR 준비 중","uploadGame.progress.step1":"코드 패키지 포장 및 업로드","uploadGame.progress.step2":"플랫폼이 처리를 마칠 때까지 기다립니다.","uploadGame.progress.step3":"플랫폼 미리보기 QR 코드 가져오기","uploadGame.success.title":"업로드 완료","uploadGame.success.readyTitle":"플랫폼 미리보기가 준비되었습니다.","uploadGame.success.desc":"API가 성공을 반환했습니다. QR 코드를 스캔하거나 플랫폼 페이지를 열어 업로드된 버전을 계속 검토하세요.","uploadGame.success.pendingDesc":"업로드가 성공했지만 미리보기 QR 코드를 아직 사용할 수 없습니다. 먼저 플랫폼 페이지를 열거나 나중에 다시 업로드할 수 있습니다.","uploadGame.success.qrHint":"플랫폼 결과 페이지를 열려면 스캔하세요","uploadGame.success.noQr":"아직 사용할 수 있는 QR 코드가 없습니다.","uploadGame.success.uploadAnother":"다른 버전 업로드","uploadGame.failure.title":"플랫폼 미리보기가 아직 준비되지 않았습니다.","uploadGame.failure.retry":"다시 업로드","uploadGame.failure.missingAssetId":"업로드가 유효한 버전 참조를 반환하지 않았으므로 플랫폼 유효성 검사를 계속할 수 없습니다. 다시 업로드해주세요.","uploadGame.failure.assetTimeout":"패키지를 처리하는 동안 플랫폼 시간이 초과되었습니다. 나중에 플랫폼에서 결과를 확인해주세요.","uploadGame.failure.assetStatus":"플랫폼에서 아직 패키지 처리가 완료되지 않았으므로 미리보기 QR 코드를 사용할 수 없습니다. 나중에 다시 시도해 주세요.","uploadGame.failure.previewTimeout":"플랫폼에서 처리가 완료되었지만 미리보기 QR 코드가 제때에 반환되지 않았습니다. 나중에 다시 시도해 주세요.","uploadGame.record.title":"미리보기 버전 기록","uploadGame.record.desc":"여기에서 최근 업로드된 미리보기 버전을 검토하고 동일한 모듈에서 계속 스캔하세요.","uploadGame.record.refresh":"새로 고치다","uploadGame.record.loading":"버전 기록 로드 중...","uploadGame.record.empty":"아직 미리보기 버전 기록이 없습니다.","uploadGame.record.latest":"최신 업로드","uploadGame.record.selectPlaceholder":"세부정보를 보려면 버전을 선택하세요.","uploadGame.record.noDesc":"버전 노트가 제공되지 않았습니다.","uploadGame.record.detailTitle":"버전 {{version}}","uploadGame.record.detailDesc":"선택한 버전의 QR 코드와 주요 메타데이터를 오른쪽에 유지하세요.","uploadGame.record.previewHint":"이 버전을 미리 보려면 스캔하세요.","uploadGame.record.previewLoading":"이 버전의 미리보기 QR 코드를 가져오는 중...","uploadGame.record.previewUnavailable":"이 버전에는 아직 미리보기 QR 코드를 사용할 수 없습니다.","uploadGame.record.pendingDesc":"이 버전은 아직 플랫폼에서 처리 중입니다. 기록을 새로 고치고 나중에 다시 확인하세요.","uploadGame.record.failedDesc":"현재 버전이 비정상적인 상태입니다. 최종 결과는 플랫폼에서 확인하세요.","uploadGame.record.metaUploadedAt":"업로드 시간","uploadGame.record.metaAssetId":"자산 ID","uploadGame.record.metaSource":"소스 그룹","uploadGame.record.metaSize":"패키지 크기","uploadGame.record.metaUnknown":"-","uploadGame.record.loadFailed":"버전 기록을 로드하지 못했습니다. 나중에 다시 시도해 주세요.","uploadGame.record.state.ready":"미리보기 준비됨","uploadGame.record.state.pending":"처리","uploadGame.record.state.failed":"문제","uploadGame.record.source.preview":"시사","uploadGame.record.source.review":"검토 중","uploadGame.record.source.live":"살다","uploadGame.record.source.other":"다른",scanning:Lz,scanQRCodeChange:Mz,scanQRCodeDesc:jz,"homeSession.title":"현재 디버그 세션","homeSession.modeLabel":"디버그 모드","homeSession.entryLabel":"출시 항목","homeSession.domainLabel":"도메인 정책","homeSession.mode.clientPreviewDesc":"클라이언트 런타임; vConsole, 장치 기능 및 실제 장치 네트워크를 확인하십시오.","homeSession.mode.remoteDebugDesc":"브라우저 런타임; 모든 장치 기능이 아닌 JS 논리 및 콘솔 검사에 적합합니다.","homeSession.domainCheck.disabled":"도메인 확인이 비활성화되었습니다.","homeSession.domainCheck.disabledDesc":"임시 디버깅에 더 유연합니다. 출시 전에 플랫폼 구성을 완료하세요.","homeSession.domainCheck.enabledWithDomains":"{{count}} 신뢰 도메인","homeSession.domainCheck.enabledWithDomainsDesc":"네트워크 요청은 플랫폼 구성과 비교하여 확인됩니다.","homeSession.domainCheck.enabledNoDomains":"신뢰할 수 없는 도메인","homeSession.domainCheck.enabledNoDomainsDesc":"런타임 시 외부 네트워크 요청이 차단될 수 있습니다.","homeSession.chip.domainCheckOn":"도메인 확인 중","homeSession.chip.domainCheckOff":"도메인 확인","homeSession.chip.vConsoleOn":"vConsole 켜짐","homeSession.chip.vConsoleOff":"vConsole 꺼짐","homeSession.chip.devPanelOn":"개발자 정보 패널 켜짐","homeSession.chip.devPanelOff":"개발자 정보 패널 꺼짐","homeSession.option.domainCheck":"도메인 확인","homeSession.option.vConsole":"vConsole","homeSession.option.devPanel":"개발자 정보 패널","homeSession.status.on":"~에","homeSession.status.off":"끄다","homeSession.diff.clientPreviewTitle":"클라이언트 미리보기","homeSession.diff.clientPreviewDesc":"클라이언트 런타임에 더 가깝습니다. API, 결제, 광고 또는 도메인 문제의 경우 전화 vConsole와 개발자 정보 패널을 먼저 확인하세요.","homeSession.diff.remoteDebugTitle":"원격 디버그","homeSession.diff.remoteDebugDesc":"빠른 JS 논리 검사에 더 좋습니다. 장치 기능, 네트워크 정책 및 클라이언트 패널에는 여전히 클라이언트 미리보기 확인이 필요합니다.","homeSession.risk.domainTitle":"도메인 위험","homeSession.risk.domainDesc":"도메인 확인이 켜져 있지만 신뢰 도메인이 구성되어 있지 않습니다. 외부 요청은 런타임 시 실패할 수 있습니다.",notLogin:Fz,launchModeName:Gz,selectLaunchPkg:Wz,selectIndependentPkg:zz,selectScene:qz,launchQueries:Uz,launchQueriesDesc:Bz,scene_search:Hz,scene_fyf_card:Vz,scene_anchor:Kz,scene_sharing:Qz,scene_link:Xz,scene_inbox:Yz,gameMainPackage:Jz,independentPackage:Zz,customizeLaunchMode:e6,deleteLaunchModeConfirm:t6,save:n6,delete:"삭제",devOptions:r6,devOptionsDomainCheckDesc:i6,debugSettingAdMock:a6,debugSettingAdMockDesc:o6,debugSettingIAPMock:s6,debugSettingIAPMockDesc:l6,selectLaunchMode:c6,createNewMode:u6,selectDebugMode:d6,browserDebugMode:p6,clientPreviewMode:g6,clientDebugMode:h6,queriesStringMustBeString:m6,queriesStringNoQuestionMark:f6,queriesStringEmptyPair:y6,queriesStringEmptyKey:v6,queriesStringDuplicateKey:S6,queriesStringInvalidKeyChars:b6,queriesStringInvalidValueChars:w6,queriesStringInvalidEncoding:C6,queriesStringMissingEqual:k6,notEmpty:P6,saveAndUse:D6,use:_6,sendLocalDebugSetting:T6,getDevGameConfigSuccess:E6,getDevGameConfigFailed:x6,startLoadDevScripts:I6,loadDevScriptsSuccess:$6,loadDevScriptsFailed:R6,loadDevScriptsEmpty:O6,loadDevScriptsInitSuccess:N6,gameResourceCompileSuccess:A6,gameResourceCompileSuccessTitle:L6,scanQRCode2Debug:M6,homeHeroEyebrow:j6,homeHeroTitle:F6,homeHeroSubtitle:G6,homeHeroTitleConnected:W6,homeHeroSubtitleConnected:z6,projectInfo:q6,launchMode:U6,codePreCheck:B6,normalLaunchMode:H6,createdLaunchMode:V6,projectInfoDesc:K6,"projectInfo.summary":"활성 미니게임의 기본 사항, 패키지 상태, 플랫폼 구성을 검토합니다.",projectInfoDescTip:Q6,"projectInfo.section.basic":"기본 정보","projectInfo.section.package":"패키지 상태","projectInfo.section.platform":"플랫폼 설정","projectInfo.error.guideTitle":"이 모듈을 계속 사용하려면 다음 단계를 완료하세요.","projectInfo.error.stepTitle":"액세스를 복원하는 방법","projectInfo.error.helpTitle":"추가 지침","projectInfo.error.login.title":"플랫폼 구성은 아직 사용할 수 없습니다.","projectInfo.error.login.desc":"로컬 프로젝트가 실행 중이지만 현재 디버그 세션에는 아직 유효한 개발자 로그인이 없습니다. 먼저 로그인을 마친 후 여기로 돌아와서 이 모듈을 계속 사용하세요.","projectInfo.error.login.stepLogin":"터미널에서 `ttmg login`를 실행하고 개발자 플랫폼 계정으로 로그인하세요.","projectInfo.error.login.stepRestart":"로그인이 성공하면 `ttmg dev`를 다시 실행하여 현재 디버그 세션이 최신 로그인 상태를 선택하도록 합니다.","projectInfo.error.login.stepProxy":"중국 본토 네트워크 환경에서 로그인에 실패할 경우, 프록시나 네트워크 설정을 확인한 후 다시 시도하세요.","projectInfo.error.permission.title":"이 계정에는 이 게임에 대한 개발 액세스 권한이 없습니다.","projectInfo.error.permission.desc":"로컬 프로젝트를 사용할 수 있지만 이 계정에는 이 게임에 대한 개발 액세스 권한이 없습니다. 플랫폼 구성과 업로드, 게시 등 권한에 따른 작업을 사용할 수 없습니다.","projectInfo.error.permission.stepCheckAccount":"먼저 `ttmg login`에 사용된 계정이 이 게임에 사용하려는 개발자 계정인지 확인하세요.","projectInfo.error.permission.stepApply":"계정에 액세스 권한이 없는 경우 개발자 플랫폼에서 이 게임에 대한 개발 권한을 신청하세요.","projectInfo.error.permission.stepRestart":"권한이 부여된 후 `ttmg dev`를 다시 실행하여 새로운 디버그 세션을 시작하세요.","projectInfo.error.network.title":"터미널 프록시는 적용되지 않습니다. 플랫폼 API 요청이 실패했습니다.","projectInfo.error.network.desc":"로컬 디버그 서비스가 실행 중이지만 CLI가 TikTok 개발자 플랫폼에 연결할 수 없습니다. 신뢰 도메인, 약관, 개인 정보 보호 및 기타 플랫폼 구성을 가져오지 못할 수 있습니다. 이는 VPN/프록시가 브라우저에만 적용되고 터미널 요청은 프록시를 통과하지 않는 경우에 자주 발생합니다.","projectInfo.error.network.stepCheck":"개발자 플랫폼이 브라우저에서 열리지만 `ttmg dev`가 프로젝트 개요, 신뢰 도메인 또는 약관 및 개인 정보를 가져올 수 없는 경우 먼저 터미널 프록시 문제로 처리하십시오.","projectInfo.error.network.stepProxy":"`ttmg config set proxy http://127.0.0.1:7890`를 실행하여 포트를 로컬 프록시 도구에서 노출된 HTTP 포트로 바꿉니다.","projectInfo.error.network.stepRestart":"`ttmg dev`를 다시 실행한 후 여기로 돌아와서 계속하세요.","projectInfo.error.general.title":"이 모듈을 일시적으로 사용할 수 없습니다.","projectInfo.error.general.desc":"이는 일반적으로 플랫폼 데이터를 일시적으로 사용할 수 없거나, 프로젝트 메타데이터가 유효하지 않거나, 현재 디버그 컨텍스트가 아직 준비되지 않았음을 의미합니다.","projectInfo.error.general.stepCheck":"현재 클라이언트 키, 로그인한 계정, 디버그 명령이 모두 의도한 프로젝트와 일치하는지 확인하세요.","projectInfo.error.general.stepRetry":"문제를 해결한 후 `ttmg dev`를 다시 실행하고 여기로 돌아와서 계속하세요.","projectInfo.error.commandLogin":"로그인 명령","projectInfo.error.commandRestart":"디버그 명령 다시 시작","projectInfo.error.commandProxy":"프록시 명령 예","projectInfo.error.commandProxyHint":"위의 주소와 포트는 예시일 뿐입니다. 이를 로컬 프록시 도구에서 노출된 실제 프록시 엔드포인트로 바꾸세요.","projectInfo.error.helpLoginDesc":"중국 개발자의 경우 계정 자체보다는 프록시 설정, 기업 네트워크 정책, 터미널 환경 문제로 인해 로그인 실패가 발생하는 경우가 많습니다. 이러한 경우 일반적으로 네트워크 및 프록시 문제 해결 가이드가 로그인을 반복적으로 다시 시도하는 것보다 더 효과적입니다.","projectInfo.error.helpPermissionDesc":"이는 일반적으로 로컬 프로젝트 문제가 아닙니다. `ttmg login`에서 사용하는 계정이 대상 게임에 속하는지 확인한 다음 개발자 플랫폼에서 이 게임의 개발 액세스 권한을 부여하세요.","projectInfo.error.helpNetworkDesc":"이는 일반적으로 트러스트 도메인이 실제로 누락되었음을 의미하지 않으며 반드시 권한 문제인 것은 아닙니다. CLI 프로세스가 프록시를 통해 플랫폼에 도달하지 않습니다. VPN 클라이언트를 켜는 것만으로는 충분하지 않은 경우가 많습니다. 프록시 끝점을 ttmg config에 씁니다.","projectInfo.error.helpGeneralDesc":"위의 모든 단계가 올바르고 이 모듈을 여전히 사용할 수 없는 경우 터미널에서 로컬 디버깅을 다시 시작한 다음 프로젝트 메타데이터가 올바르게 구성되었는지 계속 확인하세요.","projectInfo.error.openProxyDoc":"오픈 네트워크/프록시 로그인 안내","basicDebugGuide.bannerTitle":"지금은 개발자 로그인 세션이 감지되지 않습니다.","basicDebugGuide.bannerDesc":"이는 가장 기본적인 스캔-디버그 흐름을 차단하지 않습니다. 네트워크 문제로 인해 일시적으로 CLI 로그인을 사용할 수 없는 경우에도 로컬 디버깅을 계속하고 시작 모드를 전환하고 연결 문제를 해결할 수 있습니다.","basicDebugGuide.title":"기본 스캔 디버깅은 로그인 없이도 계속 작동합니다.","basicDebugGuide.desc":"이를 제한된 모드로 처리합니다. 플랫폼 종속 기능은 제한되지만 로컬 스캔 디버깅, 실행 모드 전환 및 연결 문제 해결은 계속 작동합니다. 먼저 핵심 로컬 디버깅을 계속한 다음 플랫폼 측 기능이 필요할 때 CLI 로그인을 복원하십시오.","basicDebugGuide.actionScan":"스캔 디버깅으로 이동","basicDebugGuide.actionNetwork":"개방형 네트워크 진단","basicDebugGuide.actionProxy":"오픈 네트워크/프록시 로그인 안내","basicDebugGuide.availableTitle":"지금도 이용 가능","basicDebugGuide.availableDesc":"아래 기능은 로컬 디버그 서비스 및 스키마에 따라 다르므로 먼저 유효한 개발자 플랫폼 로그인 세션이 필요하지 않습니다.","basicDebugGuide.available.scan.title":"스캔 디버깅","basicDebugGuide.available.scan.desc":"핵심 로컬 디버그 흐름이 계속 작동하는지 확인하려면 장치의 현재 QR 코드를 계속 사용하세요.","basicDebugGuide.available.launch.title":"실행 모드","basicDebugGuide.available.launch.desc":"장면, 실행 패키지, 쿼리를 전환하여 다양한 항목과 런타임 매개변수를 시뮬레이션할 수 있습니다.","basicDebugGuide.available.preview.title":"브라우저 미리보기/클라이언트 미리보기","basicDebugGuide.available.preview.desc":"패키지 논리와 런타임 동작을 검증하려면 브라우저와 클라이언트 디버그 모드 사이를 계속 전환하세요.","basicDebugGuide.available.network.title":"네트워크 진단","basicDebugGuide.available.network.desc":"스캔에 응답이 없거나 LAN 액세스가 실패하거나 프록시 환경이 복잡한 경우에도 프로젝트 내부의 연결을 진단할 수 있습니다.","basicDebugGuide.available.manual.title":"수동 연결","basicDebugGuide.available.manual.desc":"QR 스캔을 사용할 수 없는 경우에도 클라이언트 디버그 서비스 주소를 수동으로 바인딩하고 디버깅을 계속할 수 있습니다.","basicDebugGuide.lockedTitle":"로그인 후 전체 이용 가능","basicDebugGuide.lockedDesc":"이러한 기능은 개발자 플랫폼 리소스를 적극적으로 요청하므로 CLI 로그인 세션 없이는 제한된 상태로 유지됩니다.","basicDebugGuide.locked.project.title":"프로젝트 개요","basicDebugGuide.locked.project.desc":"플랫폼 측 기본 정보, 약관, 개인 정보 보호 및 신뢰할 수 있는 도메인 구성을 안정적으로 가져올 수 없습니다.","basicDebugGuide.locked.upload.title":"업로드 및 게시","basicDebugGuide.locked.upload.desc":"새 버전을 업로드하거나, 미리보기 버전 기록을 로드하거나, 플랫폼 미리보기 QR 코드를 생성할 수 없습니다.","basicDebugGuide.locked.platform.title":"플랫폼에 따른 기능 검증","basicDebugGuide.locked.platform.desc":"로그인, 승인, 결제 또는 직접 플레이 미리 보기와 같은 기능은 플랫폼 측 리소스에 따라 다르며 불완전하거나 실패합니다.","basicDebugGuide.stepsTitle":"권장 흐름","basicDebugGuide.stepsDesc":"현재 목표가 단순히 로컬 스캔 디버깅을 계속 진행하는 것이라면 먼저 이 순서를 따르십시오. 나중에 플랫폼 측 기능이 필요할 때 CLI 로그인을 복원하십시오.","basicDebugGuide.step1":"로컬 패키지 흐름이 차단되지 않도록 스캔 디버깅, 시작 모드 및 클라이언트 미리 보기를 먼저 계속 사용하십시오.","basicDebugGuide.step2":"스캔 자체가 실패하면 모든 문제를 로그인 문제로 처리하는 대신 먼저 네트워크 진단이나 수동 연결을 사용하십시오.","basicDebugGuide.step3":"플랫폼 종속 기능이 필요한 경우 먼저 네트워크/프록시 문제를 해결하십시오. 필요한 경우 로그인을 다시 시도하기 전에 프록시를 구성하십시오.","basicDebugGuide.step4":"로그인에 성공한 후 `ttmg dev`를 다시 실행하고 프로젝트로 돌아와 프로젝트 개요 잠금 해제, 업로드 및 게시, 플랫폼 측 기능 검증을 수행합니다.","basicDebugGuide.commandProxy":"프록시 명령 예","basicDebugGuide.commandProxyHint":"위의 주소와 포트는 예시일 뿐입니다. 이를 로컬 프록시 도구에서 노출된 실제 프록시 엔드포인트로 바꾸세요.","basicDebugGuide.commandLogin":"로그인 명령","basicDebugGuide.commandDev":"디버그 명령 다시 시작","basicDebugGuide.entryTitle":"CLI 로그인이 실패하더라도 기본 스캔 디버깅은 계속 작동합니다.","basicDebugGuide.entryDesc":"아직 사용할 수 있는 항목과 제한된 상태로 유지되는 항목을 확인한 다음 지금 디버깅을 계속할지 또는 프록시/로그인을 먼저 수정할지 결정하세요.","basicDebugGuide.entryAction":"기본 디버그 가이드 열기",notExceedSizeLimit:X6,notExceedMainPkgSizeLimit:Y6,notExceedIndependentPkgSizeLimit:J6,exceedSizeLimit:Z6,exceedMainPkgSizeLimit:eq,exceedIndependentPkgSizeLimit:tq,launchModeDesc:nq,"launchMode.currentDesc":"기존 구성을 선택하거나 새 모드로 전환하고 다시 구성하십시오.","launchMode.configDesc":"실행 패키지, 진입 장면, 실행 매개변수를 설정한 후 저장하고 홈에서 스캔하세요.",configFileCheck:rq,gameJsonCheckDesc:iq,pkgSizeCheckDesc:aq,mandatoryApiCheck:oq,mandatoryApiCheckDesc:sq,commonPkgSizeCheckDescTip:lq,unityPkgSizeCheckDescTip:cq,checkConfigPassed:uq,checkPkgSizePassed:dq,checkPkgSizeFailed:pq,checkConfigFailed:gq,performanceCheck:hq,checkPerformancePassed:mq,checkPerformanceFailed:fq,viewDoc:yq,expandCheckDetail:vq,closeCheckDetail:Sq,gameProject:bq,gameMainPackageSize:wq,gameIndependentPackageSize:Cq,gameTrustDomains:kq,gameTermsAndPrivacy:Pq,gameServiceAgreement:Dq,gamePrivacyPolicy:_q,termsLabel:Tq,privacyLabel:Eq,"projectInfo.configSummary.title":"플랫폼 설정에 주의가 필요함","projectInfo.configSummary.desc":"이러한 설정은 개발자 플랫폼에서 제공됩니다. 지금 디버깅을 계속할 수 있지만 제출 또는 플랫폼 기능 테스트 전에 완료하세요.","projectInfo.configSummary.count":"{{count}} 보류 중","projectInfo.configSummary.reviewGroup":"제출 기본사항","projectInfo.configSummary.runtimeGroup":"Runtime 설정","projectInfo.configSummary.item.icon":"게임 아이콘","projectInfo.configSummary.item.name":"게임 이름","projectInfo.configSummary.item.description":"게임 설명","projectInfo.configSummary.item.domain":"신뢰할 수 있는 도메인","projectInfo.configSummary.item.terms":"약관 URL","projectInfo.configSummary.item.privacy":"개인정보 보호 URL","projectInfo.configSummary.reviewHint":"제출 전 완료","projectInfo.configSummary.domainHint":"외부 요청 전 필수","projectInfo.configSummary.termsHint":"로그인/승인하기 전에 필요","projectInfo.configSummary.privacyHint":"승인 및 규정 준수에 필요","projectInfo.status.missing":"없어진","projectInfo.status.reviewBeforeSubmit":"제출 전 완료","projectInfo.status.beforeRelease":"출시 전 완료","projectInfo.status.domainRequired":"외부 요청 전에 추가","projectInfo.status.authRequired":"로그인/승인하기 전에 추가","projectInfo.logoMissingShort":"아이콘이 없습니다",gameSize:xq,gameName:Iq,gameIcon:$q,gameID:Rq,gameDesc:Oq,getDevGameDetailNotFound:Nq,getDevGameDetailFailed:Aq,getDevGameDetailNotLogin:Lq,notLoginTip:Mq,docs:jq,quickStart:Fq,jsApiList:Gq,errorReference:Wq,faq:zq,upload:qq,cancel:Uq,gameAssetDescription:Bq,uploadPlatformSuccess:Hq,uploadPlatformFailed:Vq,uploadPlatformDesc:Kq,viewOnPlatform:Qq,loginToUpload:Xq,uploadGamePackageTip:Yq,trustDomainEmptyTip:Jq,scriptsSetupFailed:Zq,resourcesSetupFailed:eU,policyDependencyTermsRequired:tU,policyDependencyPrivacyRequired:nU,policyDependencyTermsPrivacyRequired:rU,termsOfServiceEmptyTip:iU,privacyPolicyEmptyTip:aU,gameNameEmptyTip:oU,gameIconEmptyTip:sU,gameDescEmptyTip:lU,gameDetailNoPermission:cU,gameDetailNetworkProxyBlocked:uU,startConnectClientWS:dU,clientConnectTimeout:pU,gameDetailNotLogin:gU,gameLoginExpired:hU,login:mU,createRewardedVideoAd:fU,addShortcut:yU,startEntranceMission:vU,getShortcutMissionReward:SU,getEntranceMissionReward:bU,integrated:wU,notIntegrated:CU,checkApiSuccess:kU,checkApiFailed:PU,debugEnvSetupSuccess:DU,clientPreviewEnvSetupSuccess:_U,startToSendMetaToClient:TU,sendMetaToClientSuccess:EU,browserRemoteDebugDesc:xU,clientRealPreviewDesc:IU,"debug.scan.tips":"디버깅을 위해 TikTok로 스캔하기 전에 다음 두 가지 기본 시작 모드 중에서 선택할 수 있습니다.","debug.mode.browser.title":"브라우저 원격 디버깅 모드","debug.mode.browser.point.logic":"게임 로직은 브라우저에서 실행됩니다.","debug.mode.browser.point.devtools":"브라우저 개발 도구에서 로그 보기 및 중단점 설정","debug.mode.browser.point.preview":"클라이언트에서 동기화된 게임 비주얼 미리보기","debug.mode.client.title":"클라이언트 온디바이스 미리보기 모드","debug.mode.client.supportVersion":"TikTok iOS >=42.7,TikTok Android >=42.5","debug.mode.client.point.logic":"게임 로직은 클라이언트(실제 장치)에서 실행됩니다.","debug.mode.client.point.vconsole":"vConsole를 통해 런타임 로그 보기","debug.mode.client.point.preview":"실제 장치에서 게임 효과를 정확하게 재현하고 미리 볼 수 있습니다.","debug.mode.custom.tip":"보다 유연한 구성을 위해 특정 디버깅 및 미리 보기 요구 사항을 충족하는 사용자 지정 시작 모드를 만들 수 있습니다.","debug.guide.header":"디버그 모드 가이드","debug.guide.manualBindIP":"컴퓨터의 로컬 IP 주소를 수동으로 바인딩","debug.guide.manualBindIPInvalid":"IP 주소가 잘못되었습니다. 유효한 IP 주소를 입력하세요.",invalidPort:$U,scanQrcodeNoResponse:RU,confirm:OU,manualBindIPPlaceholder:NU,"debug.guide.manualBindIPDesc1":"휴대폰과 컴퓨터가 동일한 LAN에 있는지 확인하세요. 그렇지 않은 경우 먼저 동일한 근거리 통신망에 연결하십시오.","debug.guide.manualBindIPDesc2":"클라이언트 로딩 페이지에서 제공하는 디버깅 서비스 주소와 포트를 수동으로 입력하여 연결합니다.","debug.guide.manualBindIPDesc3":"Android 42.9 이상 버전만 지원되며, iOS는 당분간 지원하지 않습니다.",startUpload:AU,manualBindClientDebugServiceTitle:LU,gotoCheck:MU,checkNetworkTitle:jU,manualBindIPInfo1:FU,manualBindIPInfo2:GU,back:WU,manualConnectStart:zU,manualConnectConfirm:qU,manualConnectDialogDesc:UU,connectivityCheck:BU,connectivityCheckTitle:HU,connectivityCheckWS:VU,connectivityCheckHTTP:KU,connectivityOK:QU,connectivityNotOK:XU,connectivityTimeout:YU,connectivityFailed:JU,connectivityMissingParams:ZU,needDesc:e8,debugSettingDomainCheck:t8,debugSettingVConsole:n8,debugSettingDevInfoPanel:r8,debugSettingEnableVconsoleDesc:i8,debugSettingEnableDevInfoPanelDesc:a8,topErrorSummary:o8,topErrorTagRequired:s8,topErrorTagSuggested:l8,topBasicInfoMissing:c8,topBasicInfoNameField:u8,topBasicInfoIconField:d8,topBasicInfoDescriptionField:p8,topBasicInfoFieldJoiner:g8,topLoginStatusWarning:h8,topErrorSuggestedActionTip:m8,topErrorViewDetails:f8,topErrorHideDetails:y8,topErrorTitleRequired:v8,topErrorTitleSuggested:S8,topErrorTitleNetworkProxy:b8,topErrorTitlePermission:w8,topErrorTitleLogin:C8,topErrorTitleProjectNotFound:k8,topErrorCtaApplyPermission:P8,topErrorCtaOpenPortal:D8,topErrorMoreItems:_8,themeToggleToDark:T8,themeToggleToLight:E8,changelogFeature:x8,changelogOptimize:I8,changelogBugfix:$8,changelogLink:R8,changelog:O8,changelogNewTag:N8,changelogTip:A8,changelogTarget:L8,wasmSplit:M8,"wasmSplit.disabled.notLoggedIn":"Wasm 코드 분할을 사용하기 전에 터미널에서 `ttmg login`를 실행하고 개발자 플랫폼 계정으로 로그인하세요.","wasmSplit.disabled.networkProxy":"터미널이 TikTok 개발자 플랫폼에 연결할 수 없습니다. 터미널 프록시를 구성하고 `ttmg dev`를 다시 실행한 다음 Wasm 코드 분할을 사용합니다.","wasmSplit.disabled.noPermission":"현재 계정에는 이 게임에 대한 개발 권한이 없습니다. Wasm 코드 분할을 사용하기 전에 개발자 플랫폼에서 개발 허가를 신청하십시오.",splitPrepare:j8,splitCollect:F8,splitCode:G8,"splitPrepare.desc":"설명을 제출하고 빌드 작업을 시작하세요.","splitCollect.desc":"QR 코드를 스캔하고 메인 흐름을 통해 플레이하세요","splitCode.desc":"서버가 기본 번들과 하위 번들을 생성합니다.",rollback:W8,"wasmSplit.subtitle":"Unity Wasm 코드를 주문형 하위 번들로 분할하여 첫 번째 화면 크기를 줄이고 콜드 스타트 ​​성능을 향상시킵니다.","wasmSplit.stage.loading":"초기화 중","wasmSplit.stage.prepare":"준비 중","wasmSplit.stage.collect":"수집","wasmSplit.stage.split":"파편","wasmSplit.stage.splitted":"이미 분할됨","wasmSplit.stage.rollback":"롤백 중","wasmSplit.stage.error":"오류","wasmSplit.requirements.title":"요구사항 분할","wasmSplit.requirements.account":"휴대폰의 TikTok 앱은 미국 이외의 사용자 계정을 사용해야 합니다. 미국 계정은 기능을 수집할 수 없습니다.","wasmSplit.requirements.unityPlugin":"분할하기 전에 프로젝트를 최신 Unity 플러그인으로 업데이트하세요.","wasmSplit.requirements.unityPluginLink":"가이드 보기","wasmSplit.help.loading.title":"초기화 중","wasmSplit.help.loading.line1":"현재 게임의 분할 구성을 읽는 중입니다. 잠시 기다려 주세요.","wasmSplit.help.prepare.title":"준비 · 다음에 일어날 일","wasmSplit.help.prepare.line1":"제출한 후 Unity Wasm 분할 준비를 위한 빌드 작업이 시작됩니다.","wasmSplit.help.prepare.line2":"일반적으로 3~5분 정도 소요됩니다. 다른 페이지로 전환할 수 있으며 작업은 백그라운드에서 계속 실행됩니다.","wasmSplit.help.collect.title":"수집 기능 · 실제 기기에 기록","wasmSplit.help.collect.line1":"휴대폰으로 스캔하여 게임에 들어가 주요 흐름을 플레이하세요. 디버그 페이지는 호출된 함수를 자동으로 기록합니다.","wasmSplit.help.collect.line2":"컬렉션이 완전할수록 최종 분할이 더 정확해집니다.","wasmSplit.help.collect.line3":"스캔하기 전에 휴대폰의 TikTok 앱이 미국 이외의 사용자 계정을 사용하고 프로젝트에 최신 Unity 플러그인이 있는지 확인하세요. 미국 계정은 기능을 수집할 수 없습니다.","wasmSplit.help.split.title":"분할 코드 · 생성","wasmSplit.help.split.line1":"백엔드는 수집된 기능 세트에서 기본 번들과 하위 번들을 생성합니다.","wasmSplit.help.split.line2":'완료되면 "디버깅 시작"에서 직접 분할 버전을 테스트할 수 있습니다.',"wasmSplit.help.rollback.title":"이전 버전으로 롤백","wasmSplit.help.rollback.line1":"이 분할은 실행 취소되고 프로젝트는 분할되지 않은 상태로 복원됩니다.","wasmSplit.help.splitted.title":"이미 분할됨","wasmSplit.help.splitted.line1":'이 프로젝트에는 이미 완료된 Wasm 분할이 있습니다. 있는 그대로 압축하여 업로드하거나 "분할 취소"를 눌러 다시 시작할 수 있습니다.',"wasmSplit.help.error.title":"문제가 발생했습니다.","wasmSplit.help.error.line1":"프롬프트에 따라 다시 시도하거나 집으로 돌아가 현재 게임 상태를 확인하세요.","wasmSplit.meta.stage":"현재 단계","wasmSplit.meta.mode":"분할 모드","wasmSplit.meta.engine":"엔진","wasmSplit.meta.game":"게임","wasmSplit.meta.wasmSize":"WASM 크기","wasmSplit.meta.wasmMd5":"WASM MD5","wasmSplit.currentMode":"현재 분할 모드","wasmSplit.initializingEnv":"분할 환경 초기화 중","wasmSplit.empty.unityOnly.title":"Unity에만 사용 가능","wasmSplit.empty.unityOnly.desc":"이 프로젝트는 Unity 프로젝트가 아닙니다. Wasm 분할은 Unity 게임에서만 사용할 수 있습니다. Unity 프로젝트로 전환하고 이 페이지를 다시 방문하세요.","wasmSplit.empty.backHome":"집으로 돌아가기","wasmSplit.empty.needDevice.title":"장치를 연결하고 먼저 게임을 선택하세요","wasmSplit.empty.needDevice.desc":'Wasm 분할은 현재 미니 게임의 Wasm 패키지 및 로그인 상태에 따라 달라집니다. 스캔하여 클라이언트를 연결하고 "디버깅 시작"에서 게임을 선택한 다음 여기로 돌아와서 시작하세요.',"wasmSplit.empty.connectDevice":"장치 연결","wasmSplit.splitDoneToast":"분할 완료 — 이번에는 {{count}} 기능을 수집했습니다.","rollback.rollbacking":"롤백 중...","rollback.backgroundRun":"백그라운드에서 실행","rollback.success":"롤백 성공","rollback.close":"닫다","rollback.failed":"롤백 실패","rollback.retry":"다시 해 보다","collect.sessionClosed":"수집 세션이 닫혔습니다(시간이 초과되었거나 다른 클라이언트에 의해 인수되었을 수 있음). 수집을 재개하려면 “분할 시작”을 다시 클릭하세요.","collect.startFailed":"수집을 시작하지 못했습니다. 다시 시도해 주세요.","collect.requirements.title":"스캔하기 전","collect.requirements.desc":"미국 외 TikTok 계정을 사용하고 스캔하기 전에 최신 Unity 플러그인으로 업데이트하세요. 미국 계정은 기능을 수집할 수 없습니다.","collect.requirements.link":"가이드 보기",splitFailed:z8,writingSplitResult:q8,retry:U8,startingPrepare:B8,cancelPrepare:H8,backgroundRun:V8,preparingSplit:K8,warningDuringPreparing:Q8,preparingSplitSuccess:X8,preparingSplitFailed:Y8,retryPrepare:J8,downloadPreparedWasmCode:Z8,downloadFailed:eB,retryDownload:tB,downloadSuccess:nB,downloadPreparedWasmCodeDesc:rB,splitDesc:iB,inputSplitDesc:aB,startPrepare:oB,processing:sB,updateWasmSplitConfig:lB,updateWasmSplitConfigSuccess:cB,updateWasmSplitConfigFailed:uB,compressPreparedWasmCodeSuccess:dB,compressPreparedWasmCodeFailed:pB,writeCompressPreparedWasmCode:gB,writeCompressPreparedWasmCodeSuccess:hB,writeCompressPreparedWasmCodeFailed:mB,fetchDownloadUrl:fB,fetchDownloadUrlSuccess:yB,fetchDownloadUrlFailed:vB,downloadPreparedWasmCodeSuccess:SB,downloadPreparedWasmCodeFailed:bB,startSplit:wB,cannotSplitTip:CB,collectDesc:kB,collectConnectedTitle:PB,collectConnectedDesc:DB,startCollect:_B,startingCollect:TB,resumedCollectSession:EB,wasmSize:xB,collectedFuncCount:IB,totalFuncCount:$B,splitVersion:RB,splittingDesc:OB,cancelSplit:NB,getSplitResult:AB,retryGetSplitResult:LB,getSplitResultFailed:MB,splitSuccess:jB,downloadSplitResult:FB,downloadSplitResultFailed:GB,retryDownloadSplitResult:WB,downloadSplitResultSuccess:zB,downloadSplitResultTip:qB,start_download_android_main_wasm:UB,download_android_main_wasm_done:BB,start_compress_android_main_wasm:HB,compress_android_main_wasm_done:VB,start_download_android_sub_wasm_code:KB,download_android_sub_wasm_code_done:QB,start_compress_android_sub_wasm_code:XB,compress_android_sub_wasm_code_done:YB,start_download_ios_main_wasm:JB,download_ios_main_wasm_done:ZB,start_compress_ios_main_wasm:e7,compress_ios_main_wasm_done:t7,start_download_ios_sub_wasm_code:n7,download_ios_sub_wasm_code_done:r7,start_compress_ios_sub_wasm_code:i7,compress_ios_sub_wasm_code_done:a7,start_write_splited_wasm_br:o7,write_splited_wasm_done:s7,start_update_wasm_split_config:l7,update_wasm_split_config_done:c7,noWasmCode:u7,noWasmCodeDesc:d7,hasSplitedTitle:p7,hasSplitedDesc:g7,hasSplitedDiscard:h7,noSplitConfigTitle:m7,noSplitConfigDesc:f7,advancedGuide:y7,integrationAssistant:v7,"ia.title":"기능 액세스","ia.subtitle":"개발자가 문서 읽기에서 직접 검증으로 더 빠르게 이동할 수 있도록 주요 플랫폼 기능, 전제 조건, 권장 디버깅 경로를 한 곳에 수집합니다.","ia.banner.login":"이러한 기능을 디버깅하기 전에 터미널에서 `ttmg login`로 시작하세요. 유효한 개발자 세션이 없으면 많은 플랫폼 종속 흐름을 완전히 확인할 수 없습니다.","ia.banner.termsPrivacy":"먼저 약관 및 개인정보 보호를 구성하세요. 로그인 및 인증 흐름은 이러한 플랫폼 설정에 직접적으로 의존합니다.","ia.banner.ready":"현재 기준선을 디버깅할 준비가 되었습니다. 먼저 기능 지침을 읽은 후 관련 페이지로 이동하여 구성하고 확인하세요.","ia.menuTitle":"기능","ia.sceneLabel":"추천 입장 장면:","ia.section.prerequisites":"사전 점검","ia.section.steps":"권장 디버깅 경로","ia.section.tips":"개발 초점","ia.action.goHome":"오픈 홈","ia.status.ready":"준비가 된","ia.status.notReady":"설정 필요","ia.status.login.title":"개발자 로그인","ia.status.login.ready":"개발자 계정이 이미 로드되어 있으므로 플랫폼별 기능 확인을 계속할 수 있습니다.","ia.status.login.notReady":"활성 로그인이 감지되지 않습니다. 업로드, 프로젝트 세부 정보 가져오기 및 일부 플랫폼 작업 흐름이 여기서 먼저 중지될 수 있습니다.","ia.status.terms.title":"약관 URL","ia.status.terms.ready":"약관 URL이 구성되었으므로 로그인/승인 확인을 계속할 수 있습니다.","ia.status.terms.notReady":"약관 URL이 누락되었습니다. 로그인/승인 흐름은 구성될 때까지 실패할 가능성이 높습니다.","ia.status.privacy.title":"개인정보 보호 URL","ia.status.privacy.ready":"개인 정보 보호 URL이 구성되었으므로 개인 정보 보호 관련 전제 조건이 적용됩니다.","ia.status.privacy.notReady":"개인정보 보호 URL이 누락되었습니다. 승인 및 규정 준수 관련 검사는 구성될 때까지 기다려야 합니다.","performance.menu.title":"성능","performance.overview.title":"성능","performance.overview.desc":"프로젝트 유형별로 선택하세요. Unity 프로젝트는 Wasm 코드 분할을 사용합니다. Unity가 아닌 프로젝트는 하위 패키지 컬렉션을 미리 볼 수 있습니다.","performance.section.title":"최적화 도구","performance.section.desc":"각 도구는 독립형 기능입니다. 워크플로에 들어가려면 카드를 클릭하세요.","performance.card.wasmSplit.title":"Wasm 코드 분할","performance.card.wasmSplit.desc":"Unity Wasm 번들을 온디맨드 청크로 분할하여 초기 페이로드를 줄이고 콜드 스타트를 개선합니다. Unity 엔진 전용.","performance.card.subpackageCollect.title":"서브패키지 컬렉션","performance.card.subpackageCollect.desc":"실제 장치에서 시작하는 동안 사전 다운로드된 하위 패키지를 FP/TTI 단계로 분할하여 기록하고 game.json에서 사전 로드 구성으로 전환합니다.","performance.card.subpackageCollect.status":"새로운","performance.empty.comingSoon":"더 많은 성능 도구가 제공될 예정입니다.",subpackageCollect:S7,"subpackageCollect.subtitle":"실제 장치에서 시작 흐름을 미리 보고, 시작 중에 사전 다운로드된 하위 패키지를 수집하고, 사전 로드 구성에 기록합니다.","subpackageCollect.phase.fp":"FP","subpackageCollect.phase.tti":"TTI","subpackageCollect.stage.entry":"항목 선택","subpackageCollect.stage.empty":"하위 패키지 없음","subpackageCollect.stage.notStarted":"시작되지 않음","subpackageCollect.stage.collecting":"수집","subpackageCollect.stage.processing":"처리","subpackageCollect.stage.success":"완료","subpackageCollect.stage.failed":"실패한","subpackageCollect.stage.unsupported":"지원되지 않음","subpackageCollect.entry.title":"시작 항목 선택","subpackageCollect.entry.subtitle":"이번에 실행할 진입점을 선택하세요. 메인 패키지가 기본 선택되며 독립 서브패키지도 목록에 표시됩니다.","subpackageCollect.entry.game":"메인 패키지","subpackageCollect.entry.gameTag":"기본","subpackageCollect.entry.independentTag":"독립적인","subpackageCollect.empty.title":"이 게임에는 하위 패키지가 없습니다.","subpackageCollect.empty.desc":"game.json는 하위 패키지를 정의하지 않습니다. 시작 사전 로드 컬렉션은 하위 패키지가 있는 게임에만 적용되므로 여기서는 할 일이 없습니다.","subpackageCollect.empty.back":"성능으로 돌아가기","subpackageCollect.unsupported.unity.title":"Unity 미니 게임은 하위 패키지 수집을 지원하지 않습니다.","subpackageCollect.unsupported.unity.desc":"하위 패키지 컬렉션은 Unity가 아닌 미니 게임만 지원합니다. 이 프로젝트는 Unity 미니 게임이므로 항목 선택, 스캔 및 수집 컨트롤이 숨겨져 있습니다.","subpackageCollect.unsupported.unity.action":"Wasm 분할로 이동","subpackageCollect.devGuide.link":"서브패키지 수집 가이드","subpackageCollect.devGuide.clientVersion":"지원되는 클라이언트 버전","subpackageCollect.devGuide.android":"Android 45.9+","subpackageCollect.devGuide.ios":"iOS 46.0+","subpackageCollect.devGuide.stepsTitle":"주요 수집 단계","subpackageCollect.devGuide.required.badge":"코드에 필수","subpackageCollect.devGuide.required.title":"수집하기 전에 다음 호출을 게임 코드에 통합하세요.","subpackageCollect.devGuide.required.code":"reportScene({ sceneId: 9999 })","subpackageCollect.devGuide.required.desc":"게임이 상호작용하게 되면 호출하세요. 디버그 페이지는 실행을 종료하고 이 보고서를 받은 후에만 컬렉션 완료를 표시합니다.","subpackageCollect.devGuide.step1.title":"계정 지역 확인","subpackageCollect.devGuide.step1.desc":"미국 지역 계정에서는 서브패키지 수집을 사용할 수 없습니다. 미국 이외의 계정으로 전환하고 다시 스캔하세요.","subpackageCollect.devGuide.step2.title":"하위 패키지 구성 확인","subpackageCollect.devGuide.step2.desc":"game.json는 하위 패키지를 정의해야 하며 실행은 기본 패키지 항목 또는 독립 하위 패키지 항목을 대상으로 해야 합니다.","subpackageCollect.devGuide.step3.title":"실제 시작 경로를 따르십시오","subpackageCollect.devGuide.step3.desc":"스캔 후 첫 화면에서 멈추지 마세요. 클라이언트가 실제로 사전 다운로드된 하위 패키지를 기록하도록 게임이 대화형이 될 때까지 계속합니다.","subpackageCollect.scan.title":"스캔 및 실행","subpackageCollect.scan.subtitle":"DevTool를 열어두고 실제 시작 경로를 통해 한 번 미리 봅니다.","subpackageCollect.guide.step2":"스캔 후 게임의 실제 시작 로직을 플레이해 보세요. 실행되는 동안 클라이언트는 실제로 로드되고 수집되는 하위 패키지를 보고합니다.","subpackageCollect.guide.step3":"게임이 대화형으로 전환되면 reportScene({sceneId:9999})를 호출해야 합니다. 디버그 페이지는 실행을 종료하고 보고서를 받은 후에만 Finish 컬렉션을 표시합니다.","subpackageCollect.preview.noSchema":"아직 미리보기 스키마가 없습니다. 먼저 디버그에서 장치를 연결한 다음 다시 돌아옵니다.","subpackageCollect.preview.currentEntry":"현재 항목","subpackageCollect.preview.collectedTitle":"수집된 하위 패키지","subpackageCollect.preview.collectedDesc":"이 실행의 실시간 캡처는 이름별로 중복을 제거하고(첫 번째 보고서 우선) FP/TTI로 분할됩니다.","subpackageCollect.preview.existingDesc":"이 항목에 대한 기존 구성입니다. 이는 참조용으로만 표시되며 새 실행에 병합되지 않습니다.","subpackageCollect.preview.waitingDesc":"기기에서 이번 수집 결과를 보고하기를 기다리는 중입니다.","subpackageCollect.preview.emptyResultDesc":"이번에 수집된 하위 패키지가 없습니다.","subpackageCollect.preview.empty":"아직 캡처된 하위 패키지가 없습니다.","subpackageCollect.reportScene.toastTitle":"reportScene({sceneId:9999}) 수신됨","subpackageCollect.reportScene.toastDesc":"게임이 대화형 상태에 도달했습니다. 이제 마감 컬렉션이 잠금 해제되었습니다.","subpackageCollect.reportScene.readyTitle":"reportScene 수신 — 수집이 완료될 수 있음","subpackageCollect.reportScene.readyDesc":"이 실행에는 현재 목록이 사용됩니다. 하위 패키지를 검토한 다음 컬렉션 마침을 선택하여 구성을 작성합니다.","subpackageCollect.wait.runningTitle":"reportScene를 기다리는 중","subpackageCollect.wait.running":"장치가 연결되어 있고 하위 패키지가 기록되고 있습니다. 실제 시작 경로를 따르십시오. 게임이 대화형이 되면 reportScene({sceneId:9999})를 호출해야 합니다. Finish 컬렉션은 디버그 페이지가 컬렉션을 받은 후에만 나타납니다.","subpackageCollect.wait.timeoutTitle":"reportScene를 받지 못함 - 수집을 완료할 수 없음","subpackageCollect.wait.timeout":"reportScene({sceneId:9999})가 게임 코드에 통합되어 있는지 확인한 다음 게임이 대화형이 될 때까지 실제 시작 경로를 따릅니다.","subpackageCollect.wait.docLink":"통합 가이드 보기","subpackageCollect.manualConnect.title":"스캔 후 연결되지 않았나요?","subpackageCollect.manualConnect.desc":"이는 VPN, 프록시 또는 다중 NIC 설정에서 일반적입니다. 이전 기록을 다시 시도하거나 클라이언트 IP 및 포트를 수동으로 입력하세요.","subpackageCollect.manualConnect.action":"수동 연결","subpackageCollect.manualConnect.retry":"마지막 연결 다시 시도","subpackageCollect.manualConnect.noRecordTitle":"수동 연결 기록 없음","subpackageCollect.manualConnect.noRecordDesc":"클라이언트 IP, HTTP 포트, WS 포트를 먼저 입력하세요. 저장한 후 이 페이지에서 직접 다시 시도할 수 있습니다.","subpackageCollect.manualConnect.retryTitle":"이전 연결을 다시 시도하는 중","subpackageCollect.manualConnect.retryDesc":"{{ip}}:{{port}}를 사용하여 클라이언트 디버그 서비스에 다시 연결합니다.","subpackageCollect.mock.title":"모의 보고(디버그 전용)","subpackageCollect.mock.subtitle":"실제 장치 보고가 보류 중입니다. 여기에서 사전 다운로드 / reportScene를 시뮬레이션하여 UI 및 CLI 쓰기 경로를 검증하세요.","subpackageCollect.mock.placeholder":"사용 가능한 하위 패키지 선택","subpackageCollect.mock.noCandidates":"이 항목 아래에는 미리 다운로드할 수 있는 하위 패키지가 없습니다(기존 루트 디렉터리가 있는 game.json에 하위 패키지 항목이 필요함). 여전히 reportScene를 트리거하여 수집을 완료할 수 있습니다.","subpackageCollect.mock.reportFp":"보고서 FP","subpackageCollect.mock.reportTti":"TTI 보고","subpackageCollect.mock.reportScene":"reportScene(9999)","subpackageCollect.finish.overwriteNote":"완료하면 이 항목의 기존 {{existing}} 항목을 이 실행의 {{current}} 항목으로 덮어씁니다(증분 병합이 아닌 항목당 전체 덮어쓰기).","subpackageCollect.finish.clearNote":"이 실행을 캡처한 하위 패키지가 없습니다. 마무리하면 이 항목의 기존 {{existing}} 항목이 지워집니다.","subpackageCollect.finish.clearTitle":"기존 구성을 삭제하시겠습니까?","subpackageCollect.finish.clearConfirm":"이번 실행에서는 하위 패키지가 캡처되지 않았습니다. 완료하면 이 항목의 기존 {{existing}} 항목이 지워지며 취소할 수 없습니다. 기존 구성을 유지하려면 컬렉션 종료를 선택하거나 다른 캡처를 실행하세요.","subpackageCollect.finish.okClear":"클리어하고 마무리","subpackageCollect.finish.cancel":"취소","subpackageCollect.action.finish":"컬렉션 완료","subpackageCollect.action.cancel":"수집 취소","subpackageCollect.action.exit":"컬렉션 종료","subpackageCollect.action.exitRun":"컬렉션 종료","subpackageCollect.action.recollect":"다시 수집","subpackageCollect.recollect.clearTitle":"기존 설정을 삭제하고 다시 수집할까요?","subpackageCollect.recollect.clearDesc":"수집에 영향을 주지 않도록 새 수집 전에 현재 진입점의 프리로드 설정을 game.json에서 즉시 삭제합니다. 이후 수집을 취소해도 이 설정은 복원되지 않습니다.","subpackageCollect.recollect.clearAction":"삭제하고 다시 수집","subpackageCollect.action.switch":"스위치 입력","subpackageCollect.loading":"프로젝트 구성 로드 중…","subpackageCollect.processing":"처리 중…","subpackageCollect.processing.write":"game.json에 구성을 쓰는 중…","subpackageCollect.processing.clear":"다시 수집하기 전에 이전 구성을 지우는 중…","subpackageCollect.processing.cancel":"수집을 취소하고 구성을 삭제하는 중…","subpackageCollect.success.title":"구성 작성됨","subpackageCollect.success.empty":"이 항목에 대해 작성된 하위 패키지가 없습니다.","subpackageCollect.failed.title":"수집 실패","subpackageCollect.error.generic":"구성을 쓰지 못했습니다. 다시 시도해 주세요.","ia.revisit.panel.modeName":"실행 모드","ia.revisit.panel.scene":"장면","ia.revisit.panel.launchParams":"매개변수 실행","ia.revisit.panel.package":"패키지","ia.revisit.panel.signal":"보상 확인","ia.revisit.sidebar.panel.title":"사이드바 재방문 디버그 모드를 빠르게 생성","ia.revisit.sidebar.panel.desc":"그러면 전용 `Sidebar revisit` 실행 모드가 생성됩니다. 선택한 후에는 스캐닝 인이 이미 사이드바 항목에서 열린 세션을 시뮬레이션하므로 추가 점프 단계 없이 `getEntranceMissionReward` 및 보상 전달을 직접 디버그할 수 있습니다.","ia.revisit.sidebar.panel.modeValue":"사이드바 재방문 장면에서 실행 시뮬레이션","ia.revisit.sidebar.panel.generatedModeName":"사이드바 디버그 모드 다시 방문","ia.revisit.sidebar.panel.signalValue":"`startEntranceMission` / `getEntranceMissionReward`","ia.revisit.sidebar.panel.createQr":"사이드바 재방문 디버그 QR 생성","ia.revisit.shortcut.panel.title":"바로가기-재방문 디버그 모드를 빠르게 생성","ia.revisit.shortcut.panel.desc":"그러면 전용 `Desktop Shortcut` 실행 모드가 생성됩니다. 선택한 후에는 스캐닝 인이 바탕화면 바로가기 항목에서 열린 세션을 이미 시뮬레이션하므로 바로가기를 먼저 추가하지 않고도 `getShortcutMissionReward` / `canReceiveReward` 및 보상 전달을 직접 디버깅할 수 있습니다.","ia.revisit.shortcut.panel.modeValue":"데스크탑 바로가기 장면에서 실행 시뮬레이션","ia.revisit.shortcut.panel.generatedModeName":"바로가기 디버그 모드 다시 방문","ia.revisit.shortcut.panel.signalValue":"`addShortcut` / `getShortcutMissionReward` / `canReceiveReward`","ia.revisit.shortcut.panel.createQr":"바로가기 만들기-디버그 QR 재방문","ia.directPlay.versionNotice":"직접 재생 2단계 디버깅에는 클라이언트 버전 45.4.0 이상이 필요합니다. 미리보기 QR 관련 기능을 사용하기 전에 먼저 클라이언트 버전을 확인하세요.","ia.directPlay.stage1.title":"1단계: 게임 패키지 자체 디버깅","ia.directPlay.stage1.desc":"이 단계에서는 미니 게임 패키지 자체만 디버깅합니다. TT 피드 프리젠테이션, 강제 삽입 및 `Play now` 핸드오프는 범위를 벗어납니다. 직접 재생 장면을 사용하여 실행 QR 코드를 생성하고 패키지가 정상적으로 시작 및 실행될 수 있는지 확인합니다.","ia.directPlay.stage1.ready":"직접 플레이 장면 준비됨","ia.directPlay.stage1.notReady":"직접 플레이 장면 적용 필요","ia.directPlay.stage1.modeName":"실행 모드","ia.directPlay.stage1.modeValue":"직접 플레이 장면에서 발사 시뮬레이션","ia.directPlay.stage1.generatedModeName":"다이렉트 플레이 패키지 디버그 모드","ia.directPlay.stage1.scene":"장면","ia.directPlay.stage1.package":"패키지","ia.directPlay.stage1.queries":"쿼리","ia.directPlay.stage1.apply":"직접 플레이 장면 적용","ia.directPlay.stage1.openHome":"이 모드로 홈 열기","ia.directPlay.stage1.createQr":"패키지 디버그 QR 생성","ia.directPlay.stage1.appliedTitle":"다이렉트 플레이 장면 적용","ia.directPlay.stage1.appliedDesc":"현재 실행 모드는 이제 직접 재생 장면을 사용합니다. 홈에서 계속 스캔하거나 시작 모드에서 미세 조정할 수 있습니다.","ia.directPlay.stage2.title":"2단계: 미리보기 QR 생성","ia.directPlay.stage2.desc":"게임 패키지 자체가 안정화되면 다이렉트 플레이 카드와 미리 보기 코드 버전을 선택한 다음 플랫폼 미리 보기 QR 코드를 생성하여 카드 프레젠테이션 및 핸드오프 경로를 확인하세요.","ia.directPlay.stage2.banner":"이 단계는 직접 플레이 카드 미리보기 및 핸드오프 확인에만 사용됩니다. 게임 패키지 자체가 여전히 불안정하다면 먼저 1단계로 돌아가세요.","ia.directPlay.stage2.cardSelect":"다이렉트 플레이 카드 선택","ia.directPlay.stage2.assetSelect":"미리보기 코드 버전 선택","ia.directPlay.stage2.selectedCard":"선택한 카드","ia.directPlay.stage2.selectedAsset":"선택한 미리보기 코드 버전","ia.directPlay.stage2.cardName":"카드 이름:","ia.directPlay.stage2.cardContentId":"콘텐츠 ID:","ia.directPlay.stage2.cardDesc":"카드 설명:","ia.directPlay.stage2.cardScenario":"대본:","ia.directPlay.stage2.cardStatus":"검토 상태:","ia.directPlay.stage2.cardStatus.approved":"승인됨","ia.directPlay.stage2.cardStatus.pending":"백엔드 검토 후 사용 가능","ia.directPlay.stage2.cardPackage":"출시 패키지:","ia.directPlay.stage2.cardQueries":"쿼리:","ia.directPlay.stage2.assetGroup":"코드 버전 그룹:","ia.directPlay.stage2.assetFile":"파일:","ia.directPlay.stage2.assetVersion":"버전:","ia.directPlay.stage2.assetSize":"크기:","ia.directPlay.stage2.assetUploaded":"업로드된 위치:","ia.directPlay.stage2.assetGroup.preview":"미리보기 코드 버전","ia.directPlay.stage2.assetGroup.live":"라이브 코드 버전","ia.directPlay.stage2.assetGroup.review":"검토 중인 코드 버전","ia.directPlay.stage2.emptyCard":"아직 다이렉트 플레이 카드를 사용할 수 없습니다.","ia.directPlay.stage2.emptyAsset":"아직 사용할 수 있는 게임 자산이 없습니다.","ia.directPlay.stage2.generate":"미리보기 QR 생성","ia.directPlay.stage2.refresh":"데이터 새로 고침","ia.directPlay.stage2.previewUrl":"미리보기 URL","ia.directPlay.stage2.copy":"URL 복사","ia.directPlay.stage2.open":"미리보기 열기","ia.directPlay.stage2.qrDesc":"TikTok를 사용하여 피드 내에서 이 코드를 스캔하고 다이렉트 플레이 카드 흐름을 경험해 보세요.","ia.directPlay.stage2.copyTitle":"미리보기 URL이 복사되었습니다.","ia.directPlay.stage2.copyDesc":"미리보기 URL이 클립보드에 복사되었습니다.","ia.directPlay.stage2.selectRequired":"먼저 다이렉트 플레이 카드와 게임 자산을 모두 선택하세요.","ia.directPlay.stage2.loadCardsFailed":"다이렉트 플레이 카드를 로드하지 못했습니다.","ia.directPlay.stage2.loadAssetsFailed":"게임 자산을 로드하지 못했습니다.","ia.directPlay.stage2.loadResourcesFailed":"다이렉트 플레이 디버깅 리소스를 로드하지 못했습니다.","ia.directPlay.stage2.previewFailed":"직접 재생 미리보기 URL을 생성하지 못했습니다.","ia.directPlay.stage2.modeSelect":"기존 카드 사용","ia.directPlay.stage2.modeCreate":"카드 만들기","ia.directPlay.stage2.create.title":"다이렉트 플레이 카드 만들기","ia.directPlay.stage2.create.desc":"디버그 도구에서 직접 새로운 다이렉트 플레이 카드를 만듭니다. 성공하면 목록이 새로 고쳐지고 새 카드가 자동으로 선택됩니다.","ia.directPlay.stage2.create.option":"+ 다이렉트 플레이 카드 만들기","ia.directPlay.stage2.create.cardName":"카드 이름","ia.directPlay.stage2.create.cardNamePlaceholder":"예: xx 게임 보상 카드 보내기","ia.directPlay.stage2.create.cardDesc":"카드 설명","ia.directPlay.stage2.create.cardDescPlaceholder":"예: 플레이어를 소환하기 위해 1000개의 코인을 보냅니다.","ia.directPlay.stage2.create.cardType":"카드 종류","ia.directPlay.stage2.create.cardType.fixed":"고정카드","ia.directPlay.stage2.create.cardType.dynamic":"다이나믹 카드","ia.directPlay.stage2.create.cardType.dynamicDesc":"동적 카드: 플랫폼은 서버 API를 제공하므로 개발자는 체력 회복 또는 이벤트 시작 알림과 같은 게임 내 이벤트 및 캠페인 알림을 동적으로 푸시할 수 있습니다.","ia.directPlay.stage2.create.cardType.fixedDesc":"고정 카드: 매번 동일한 규칙에 따라 선물 팩이 있는 사용자를 불러오는 등 고정된 클라이언트측 로직과 통합됩니다.","ia.directPlay.stage2.create.scenario":"대본","ia.directPlay.stage2.create.scenarioPlaceholder":"예: Recover_stamina","ia.directPlay.stage2.create.scenario.rewardIssue":"보상발행 Reward_issue","ia.directPlay.stage2.create.scenario.recoverStamina":"체력 회복 회복_stamina","ia.directPlay.stage2.create.scenario.unlockLevel":"잠금 해제 레벨 Unlock_level","ia.directPlay.stage2.create.subPkg":"패키지 출시","ia.directPlay.stage2.create.params":"쿼리","ia.directPlay.stage2.create.paramsPlaceholder":"예: a=1&b=상수","ia.directPlay.stage2.create.submit":"카드 생성 및 선택","ia.directPlay.stage2.create.success":"다이렉트 플레이 카드가 자동으로 생성되고 선택되었습니다.","ia.directPlay.stage2.create.failed":"다이렉트 플레이 카드를 생성하지 못했습니다.","ia.directPlay.stage3.title":"3단계: 다이렉트 플레이 카드 상태 관리","ia.directPlay.stage3.desc":"2단계 미리 보기가 확인된 후 현재 선택한 직접 재생 카드를 게시하거나 게시 취소하여 라이브 직접 재생 피드 경로에서 이를 사용할지 여부를 제어합니다.","ia.directPlay.stage3.banner":"게시하거나 게시 취소하면 현재 선택한 다이렉트 플레이 카드의 라이브 상태가 변경됩니다. 게시하기 전에 2단계 미리보기 QR 코드를 확인하세요.","ia.directPlay.stage3.selectedCard":"현재 카드 게시 상태","ia.directPlay.stage3.emptyCard":"먼저 2단계에서 직접 플레이 카드를 선택하세요.","ia.directPlay.stage3.publishStatus":"게시 상태:","ia.directPlay.stage3.cardStatus.online":"게시됨","ia.directPlay.stage3.cardStatus.notOnline":"게시되지 않음","ia.directPlay.stage3.publish":"다이렉트 플레이 카드 게시","ia.directPlay.stage3.published":"게시됨","ia.directPlay.stage3.offline":"다이렉트 플레이 카드 게시 취소","ia.directPlay.stage3.confirmTitle":"다이렉트 플레이 카드 {{name}}({{contentId}})를 게시하시겠습니까?","ia.directPlay.stage3.offlineConfirmTitle":"다이렉트 플레이 카드 {{name}}({{contentId}}) 게시를 취소하시겠습니까?","ia.directPlay.stage3.selectRequired":"먼저 2단계에서 직접 플레이 카드를 선택하세요.","ia.directPlay.stage3.publishSuccess":"다이렉트 플레이 카드가 공개되었으며 최신 상태가 새로 고쳐졌습니다.","ia.directPlay.stage3.publishFailed":"다이렉트 플레이 카드를 게시하지 못했습니다.","ia.directPlay.stage3.offlineSuccess":"다이렉트 플레이 카드가 게시 취소되었으며 최신 상태가 새로 고쳐졌습니다.","ia.directPlay.stage3.offlineFailed":"다이렉트 플레이 카드 게시를 취소하지 못했습니다.","ia.overview.eyebrow":"역량 지도","ia.overview.title":"기능 액세스","ia.overview.desc":"수익화 방식별 연동 항목을 확인하거나 아래에서 필요한 기능을 선택하세요. 표시는 비즈니스 연동 안내이며, 플랫폼 업로드 및 심사 요구사항은 별도로 확인하세요.","ia.overview.groups.title":"기능 개요","ia.overview.groups.desc":"로그인, 수익화, 재방문, 공유 및 기본 기능의 연동 안내를 확인하세요.","ia.overview.keyCapabilities.title":"주요 역량","ia.overview.keyCapabilities.desc":"이러한 기능은 수익화 모드에 따라 변경되지 않으므로 필요한 경우에만 확장하세요.","ia.overview.baseline.title":"기본 전제 조건","ia.overview.baseline.desc":"이러한 상태는 대부분의 기능 흐름에 영향을 미치므로 특정 모듈을 살펴보기 전에 여기에서 명백한 방해 요소를 제거하는 것이 좋습니다.","ia.overview.stat.capabilities":"기능","ia.overview.stat.groups":"여러 떼","ia.overview.stat.prerequisites":"전제조건","ia.overview.sectionLabel":"역량그룹","ia.overview.section.capabilityUnit":"능력","ia.monetization.title":"수익 창출 모델 선택","ia.monetization.desc":"미니 게임의 현재 수익화 모델을 기반으로 해당 기능 조합과 디버깅 초점을 검토합니다.","ia.monetization.meta.required":"필수","ia.monetization.meta.optional":"선택","ia.monetization.meta.support":"관련 기능","ia.monetization.meta.experimental":"실험적","ia.monetization.core.title":"핵심 역량","ia.monetization.recommended.title":"권장 기능 조합","ia.requirement.required":"필수","ia.requirement.optional":"선택","ia.requirement.recommended":"추천","ia.requirement.basic":"핵심","ia.requirement.experimental":"실험적","ia.overview.section.experience.title":"경험과 적응","ia.overview.section.experience.desc":"이 그룹은 장치 간 일관성, 특히 안전 영역, 캡슐 버튼 레이아웃 및 주요 작업 영역의 유용성에 관한 것입니다.","ia.overview.section.ui.title":"UI 적응","ia.overview.section.ui.desc":"이 그룹은 기기 간 UI 일관성, 특히 화면 크기, 안전 영역, 캡슐 버튼 레이아웃 및 주요 작업 가시성에만 중점을 둡니다.","ia.overview.section.performance.title":"성능","ia.overview.section.performance.desc":"번들 크기를 줄이고 시작 속도를 높이며 런타임 성능을 향상시키는 도구입니다. 기능별로 선택하세요. 향후 릴리스에서는 더 많은 최적화가 이루어질 것입니다.","ia.env.title":"전제 조건 기준","ia.env.desc":"실제 기능 경로가 여전히 차단되어 있는 동안 진입 흐름이 준비된 것처럼 보이지 않도록 세 가지 가장 쉬운 차단 요소를 먼저 표면화합니다.","ia.map.title":"역량 지도","ia.map.desc":"각 카드는 하나의 통합 경로를 나타냅니다. 개요부터 시작한 다음 맞춤형 디버깅 지침을 위한 전용 페이지로 들어갑니다.","ia.action.openGuide":"개방형 통합 가이드","ia.detail.notFound":"요청한 기능 가이드를 찾을 수 없습니다.","ia.detail.backToMap":"이전 페이지로 돌아가기",languageSwitcherLabel:b7,langChinese:w7,langEnglish:C7},P7="{{api}} is not integrated. Complete the integration before submitting for review.",D7="The page language changed, but the CLI preference could not be saved. Select the language again to retry.",_7="Compressing prepared Wasm code",T7="Import or export the same launch configuration used by ttmg dev --launch-config ttmg.launch.json. Includes the scene, package, query and debug settings; excludes account credentials.",E7="Import configuration",x7="Export configuration",I7="Imported configuration and debug settings will take effect when saved",$7="Invalid launch configuration. Check the schema, query, debug settings and independent package declared in this project.",R7="API call not detected (static check)",O7="API call detected (static check)",N7="DevTool",A7="Scan to start local debugging",L7="Device connected!",M7="Debug service disconnected",j7="Not Connected",F7="Node",G7="Browser",W7="Debug page",z7="Client",q7="Connected",U7="Disconnected",B7="Failed",H7="Unknown",V7="Legend",K7="Local debug service on your machine (connects the debug page and client, and forwards debug messages).",Q7="The DevTool debug page open in your browser.",X7="Debug service inside TikTok on the device (provides HTTP/WS capabilities).",Y7="Dots indicate link status; ws/http are shown on opposite sides on the same edge.",J7="Network diagnostics",Z7="Network diagnostics",eH="Diagnose QR scan stalls, connection failures, and unreachable ports.",tH="No response after scanning? Click to diagnose",nH="Network diagnostics",rH="Use this when TikTok scan gets no response, LAN access fails, or proxy setup gets in the way.",iH="Open",aH="Run all checks",oH="Manual connect",sH="Manual bind client debug service",lH="When QR scan path is unavailable (proxy/firewall/multi-NIC), you can manually enter client IP and ports to connect.",cH="Specify client endpoint",uH="Go to manual connect",dH="Current result",pH="Not checked yet",gH="Check local service, client HTTP, and client WS to locate the failing segment.",hH="Run all checks, or fill the client endpoint first.",mH="Checking links",fH="Checking local service, client HTTP, and client WS.",yH="Review check results below after it finishes.",vH="Client endpoint is missing",SH="Client IP / HTTP / WS ports are missing, so the phone-side link cannot be judged yet.",bH="Local debug service is unavailable",wH="The debug page cannot access local Node. Confirm `ttmg dev` is running first.",CH="The debug page cannot connect to local Node WebSocket. Confirm the local debug service has fully started.",kH="Client link is unreachable",PH="Local service is healthy, but debug-page access to phone-side HTTP and WS times out. The issue is on the phone-side path or client debug service.",DH="Client WS is unreachable",_H="Client HTTP is reachable, but WS times out. Check the WS port and client listener first.",TH="Network links are healthy",EH="Local service and client HTTP / WS are reachable. Return to scan debugging to continue upper-layer checks.",xH="Check result is incomplete",IH="This does not match a common failure pattern. Verify client endpoint values and run checks again.",$H="Confirm client IP, HTTP port, and WS port match the loading page.",RH="Computer IP",OH="WS Port",NH="HTTP Port",AH="Computer",LH="Client",MH="View troubleshooting guide",jH="Open proxy setup",FH="Environment details",GH="Expand to view computer and client endpoint values.",WH="Check results",zH="Keeps link-level evidence for locating the failing segment.",qH="Debug page ↔ Node (HTTP)",UH="Debug page ↔ Node (WS)",BH="Debug page ↔ Client (HTTP)",HH="Debug page ↔ Client (WS)",VH="Suggestions",KH="Try the actions below first, then run the checks again to see whether the problem is narrowing down.",QH="Actions",XH="Extra info: if the connection succeeds, return to the QR debug page to continue.",YH="Manual connection info has been saved and a full diagnosis was triggered automatically.",JH="Manual connection was submitted, but the quick connectivity check still failed:",ZH="When scan misses the endpoint or ports mismatch, fill client IP / HTTP / WS and re-check.",e9="Next step",t9="Result",n9="Recommended fix",r9="Fill endpoint",i9="Provide the client IP, HTTP port, and WS port first, then save and diagnose whether the current path is reachable.",a9="Return to scan debugging",o9="The core network path is reachable. Return to the home page to scan again or continue the current debug flow.",s9="Re-check after restart",l9="Make sure `ttmg dev` is running. Restart the local debug service if needed, then run the checks again.",c9="Run the checks again to confirm whether the issue has narrowed down.",u9="Expand",d9="Collapse",p9="Open docs",g9="Client endpoint not detected",h9="Scan to connect, or fill client IP / HTTP / WS ports.",m9="Client connectivity failed (LAN / proxy / firewall)",f9="Make sure phone and computer are on the same Wi‑Fi/subnet; disable global VPN/TUN; enable Allow LAN in proxy; allow Node.js in firewall.",y9="Local debug service unavailable",v9="Make sure `ttmg dev` is running in the project root and the port is not occupied.",S9="If you just changed network or proxy settings, go back to the project root and run `ttmg dev` again.",b9="Keep the phone on the debug loading page, enable client debug service, and match the displayed ports.",w9="Keep phone and computer on the same Wi-Fi/subnet; if using a proxy, enable Allow LAN and check VPN/TUN/firewall.",C9="Confirm the WS port is correct and listening; if it still times out, check firewall, router policy, or VPN/TUN.",k9="No obvious issues detected",P9="If it still fails, share the copied environment info and screenshots for investigation.",D9="HTTP reachable but WS unreachable: check WS port correctness and whether the client debug service is listening.",_9="If WS times out: the port is likely blocked by firewall/router policy, or global VPN/TUN affects LAN traffic.",T9="Both HTTP and WS unreachable: check if phone and computer are on the same Wi‑Fi/subnet (AP isolation may exist).",E9="Disable global VPN/TUN; enable Allow LAN in proxy; check firewall rules for LAN access.",x9="If it still fails, route the phone network through the computer network and scan again.",I9="Client HTTP address or port is not available",$9="Client WS address or port is not available",R9="Idle",O9="Running",N9="Check",A9="Waiting for check",L9="Checking...",M9="Network reachable",j9="Hint",F9="If ping works but WS fails, it's usually because the TCP port isn't listening or is blocked (ICMP differs from TCP/WS).",G9="Client disconnected. Please scan the QR code to reconnect.",W9="Node service disconnected. Please restart the debug service in the terminal.",z9="Switch debug device",q9="No device connected",U9="Please connect a device before debugging.",B9="Scan with TikTok to debug",H9="Switch scan device",V9="Initializing debug environment...",K9="Notifying client to initialize debug environment...",Q9="Fetching client debug environment configuration...",X9="Failed to fetch client debug environment configuration",Y9="Client debug environment configuration fetched successfully",J9="Client debug environment initialized. Waiting to upload game resources...",Z9="Failed to initialize client debug environment",eV="Initializing JS runtime environment...",tV="JS runtime environment initialized successfully",nV="Re-upload code package",rV="Uploading game resources...",iV="Uploading game resources",aV="Sending the package to the client. The game will start automatically when it finishes.",oV="Game resources uploaded successfully. Client is loading the game...",sV="Failed to upload game resources. Please check your environment.",lV="Initializing game environment...",cV="Game resources are being compiled locally. Please wait...",uV="Compiling game resources",dV="Game resources updated. Upload again for debugging?",pV="Game resources updated successfully!",gV="Failed to initialize game environment. Please check your environment.",hV="Fetching game debug environment configuration",mV="Game environment configuration fetched successfully",fV="Failed to fetch game environment configuration",yV="Fetching game scripts",vV="Browser debug environment initialized. The game will start after resources are uploaded.",SV="Game runtime environment initialized. Preparing to upload resources to client.",bV="Uploading game package to client...",wV="Game package uploaded successfully. Client is loading the game...",CV="Failed to upload game package",kV="Re-upload mini game package",PV="Restart mini game",DV="End debugging",_V="Starting debug environment...",TV="Failed to connect to local Node debug service",EV="Connecting to local Node debug service...",xV="Connected to local Node debug service",IV="Failed to connect to local Node debug service. Please make sure 'ttmg dev' is running in the game root directory.",$V="Node debug service disconnected. Please restart the debug service in the terminal.",RV="Client debug service connected successfully",OV="Failed to connect to client debug service. Please scan the QR code again to start the debug service.",NV="Client debug service disconnected. Please scan the QR code again to reconnect.",AV="Mobile QR scanning is unavailable on this network",LV="The local debug service is running, but the computer has no LAN address reachable from the phone. Make sure both devices are on the same network; if you use a VPN or proxy, enable LAN access.",MV="Set connection address",jV="Failed to start client debug environment. Please scan the QR code again to start the debug service.",FV="Failed to load game scripts",GV="Upload to device",WV="Do not upload",zV="Upload to platform",qV="Scanning QR code...",UV="Switch device to start a new debug session by scanning",BV="Make sure your TikTok account is added as a test user for the debug app",HV="Not logged in",VV="Launch mode name",KV="Select launch package",QV="Select independent subpackage",XV="Select entry scene",YV="Custom launch parameters",JV="Example: a=1&b=2",ZV="Search",eK="For Your feed card",tK="Creator anchor",nK="DM sharing",rK="Copy link",iK="Inbox",aK="Main package",oK="Independent subpackage",sK="Custom launch mode",lK="Are you sure you want to delete {{name}}?",cK="Save",uK="Developer options",dK="Allow requests to domains not configured on the platform during debugging.",pK="Enable Ad Mock",gK="Use mock ad results to debug ad scenarios.",hK="Enable IAP Mock",mK="Route payment results through the sandbox to debug result-related scenarios.",fK="Select launch mode",yK="Create new launch mode",vK="Select debug mode",SK="Remote debug",bK="Client preview",wK="Client debug",CK="Launch parameters must be a string",kK="Launch parameters should not contain the question mark (?) prefix. Please only input the parameter part.",PK=`Launch parameters format error: empty key-value pair found. Please ensure each '&' symbol has a complete "key=value" structure on both sides.`,DK=`Launch parameters format error: empty key found. Please ensure each '&' symbol has a complete "key=value" structure on both sides.`,_K="Launch parameters format error: duplicate key found. Each key must be unique.",TK="Launch parameters format error: invalid key characters found. Please use only letters, numbers, underscores (_), and hyphens (-).",EK="Launch parameters format error: invalid value characters found. Please use only letters, numbers, underscores (_), and hyphens (-).",xK="Launch parameters format error: invalid URL encoding found. Please use the correct encoding format.",IK='Launch parameters format error: missing equal sign (=) or empty value. Please use "key=value" format, and ensure the value is not empty.',$K="Cannot be empty",RK="Save and apply",OK="Apply",NK="Sending local debug setting to client...",AK="Local Node debug service configuration fetched successfully",LK="Failed to fetch local debug service configuration. Please check if Node service is running.",MK="Loading debug environment dependency scripts...",jK="Dependency scripts loaded successfully",FK="Failed to load dependency scripts. Please scan the QR code again to start the debug service.",GK="Dependency scripts are empty. Please scan the QR code again to start the debug service.",WK="Dependency scripts loaded and initialized successfully",zK="Game resources compiled successfully! Scan with your device to debug.",qK="Game resources compiled successfully!",UK="Start debugging",BK="Start debugging",HK="Scan to connect, start debugging",VK="Pick a launch mode, then scan with the TikTok client to preview your mini game on a real device or in the browser.",KK="Device connected, debugging in progress",QK="Connected to the TikTok client — preview your mini game on a real device or in the browser. To switch devices, scan again to start a new debugging session.",XK="Project overview",YK="Launch mode",JK="Upload & publish",ZK="Normal launch mode",eQ="New launch mode",tQ="In local debugging phase, you can quickly view the basic information of the current mini game, including: game name, icon, client key, description, total package size, main package size, independent subpackage size, trusted domains, service terms, privacy policy, etc.",nQ="By checking these core information in advance, you can promptly discover potential issues and ensure that the project status meets the platform requirements before formal release, reducing risks and rework after launch.",rQ="Not exceed project size {{limit}} limit",iQ="Not exceed main package size {{limit}} limit",aQ="Not exceed independent subpackage size {{limit}} limit",oQ="Exceed project size {{limit}} limit",sQ="Exceed main package size {{limit}} limit",lQ="Exceed independent subpackage size {{limit}} limit",cQ="By setting launch mode, you can flexibly select the launch package, entry scene, and launch parameters to meet different testing and online requirements. Please complete the relevant configuration based on actual needs to ensure that the game can start normally and enter the expected scene.",uQ="3. Configuration file check",dQ="Ensure that the subpackage file paths are configured correctly, and all paths can be accessed normally to avoid loading failures later.",pQ="1. Package size check",gQ="2. Mandatory API check",hQ="Static checks detect API calls in code. They do not verify device execution, successful login, ads, payments, or platform configuration.",mQ="The entire game package size must be controlled within {{projectSize}}; the main package size cannot exceed {{mainPackageSize}}, and the size of each independent subpackage cannot exceed {{independentPackageSize}}.",fQ="The entire game package size must be controlled within {{projectSize}}; no other additional restrictions.",yQ="Configuration file check passed!",vQ="Package size check passed!",SQ="Package size check failed!",bQ="Configuration file check failed!",wQ="Performance check",CQ="Performance check passed!",kQ="Performance check failed!",PQ="View docs",DQ="Expand check details",_Q="Close check details",TQ="Game project",EQ="Main package size",xQ="Independent subpackage size",IQ="Trusted domains",$Q="Terms & Privacy",RQ="Terms & Privacy - Terms URL",OQ="Terms & Privacy - Privacy URL",NQ="Terms of Service URL",AQ="Privacy policy URL",LQ="Project Size",MQ="Name",jQ="Icon",FQ="Client key",GQ="Description",WQ="Current game ClientKey {{clientKey}} cannot be enabled for debug, please check and try again.",zQ="Failed to fetch game details. Please try again later.",qQ="The current account is not logged in, so game details cannot be retrieved. Please run `ttmg login` in the console and log in with your developer platform account. After logging in, run the `ttmg dev` command to enable debug mode.",UQ="You can log in by entering the `ttmg login` command in the console and using your developer platform account and password.",BQ="Docs",HQ="Quick start",VQ="API Reference",KQ="Error reference",QQ="FAQ",XQ="Upload",YQ="Cancel",JQ="Version note",ZQ="Upload success",eX="Upload failed",tX="After the game resource is successfully uploaded to the platform, the platform will verify the resource and deploy it. You can view the preview version of the game on the platform.",nX="View on platform",rX="Only after logging in in the command line can the game package upload function on the debug page be used.",iX="Upload current game to platform",aX="No trusted domains are configured on the platform yet. Only domains added to the platform allowlist can send network requests at runtime. If the game needs to access external domains, add them here as needed.",oX="Debug environment script initialization failed, please scan the QR code again",sX="Game resource upload failed, please scan the QR code again",lX="The game is missing Terms & Privacy (Terms URL). The login/authorize flow depends on this field, so debugging will fail until it is configured on the platform.",cX="The game is missing Terms & Privacy (Privacy URL). The login/authorize flow depends on this field, so debugging will fail until it is configured on the platform.",uX="The game is missing Terms & Privacy (Terms URL and Privacy URL). The login/authorize flow depends on these fields, so debugging will fail until they are configured on the platform.",dX="Current Terms & Privacy (Terms URL) is empty. Please add this URL on the platform to ensure the game can run normally.",pX="Current Terms & Privacy (Privacy URL) is empty. Please add this URL on the platform to ensure the game can run normally.",gX="Current game name is empty. Please complete it before submission to avoid review rejection.",hX="Current game icon is empty. Please complete it before submission to avoid review rejection.",mX="Current game description is empty. Please add the game description to the game description list to ensure that the game can run normally.",fX="Current account does not have permission to view game details of ID {{clientKey}}. Please apply for development permission on the developer platform and run the `ttmg dev` command to enable debug mode.",yX="The terminal cannot reach the TikTok developer platform, so Trust Domains, Terms, Privacy, and other platform config cannot be fetched. Make sure VPN/proxy applies to the terminal, or configure `ttmg config set proxy ...` and restart debugging.",vX="Start connecting to client WebSocket, 👉🏼👉🏼👉🏼 {{wsURL}}...",SX="Client WebSocket service connection timeout, please check if the computer and mobile phone are in the same local area network.",bX="Current account is not logged in, so game details cannot be retrieved. Please run `ttmg login` in the console and log in with your developer platform account. After logging in, run the `ttmg dev` command to enable debug mode.",wX="Current account login expired, please log in again.",CX="Login",kX="Create rewarded video ad",PX="Add shortcut",DX="Open profile sidebar entrance",_X="Get shortcut mission reward",TX="Get entrance mission reward",EX="Integrated!",xX="Not integrated!",IX="Mandatory API check passed!",$X="Mandatory API check failed!",RX="Client preview loading game, please check the browser console for more details...",OX="Client preview environment initialized. Please check the browser console for more details...",NX="Start to send game meta data to client, after which the client will start to launch the game...",AX="Game meta data sent to client successfully, client will start to launch the game...",LX="1. Browser remote debugging: first initialize the remote debugging environment in the browser, and then connect the client to start debugging. This mode requires uploading the game package to the client, but the debugging process is based on the browser's capabilities for remote debugging.",MX="2. Client real preview: upload the local game code to the client, and then preview and debug on the real device. This mode directly verifies the performance and compatibility of the game on the real device.",jX="Invalid port number, please enter a valid port number",FX="If the QR code is no response, please click here to manually bind the client debug service address.",GX="Confirm",WX="Please enter the local IP address of the mobile phone",zX="Start upload",qX="Manually bind the client debug service address",UX="Go to check",BX="Check network",HX="1. Support manually connecting to the client debug service to resolve network connection issues caused by different network environments between the mobile phone and the computer.",VX="2. Only TikTok Android 42.9 and above versions are supported, and iOS does not support it for the time being.",KX="Back",QX="Start connection",XX="Connect",YX="Enter the IP, HTTP port, and WS port shown on the client loading page. After confirmation, the debug page saves them and tries to connect to the client debug service.",JX="Check connectivity",ZX="Connectivity check",eY="Client WebSocket",tY="Client HTTP",nY="OK",rY="Failed",iY="Timeout",aY="Connection failed",oY="Please fill IP and ports first",sY="Uploading the game package requires filling in the current game package description first.",lY="Disable domain check",cY="Enable vConsole log panel",uY="Enable developer info panel",dY="View vConsole runtime logs on the client.",pY="View developer info and runtime stats on the client.",gY="‼️ Detected {{count}} issues. Each item is labeled as Blocking or Suggestion.",hY="Blocking",mY="Suggestion",fY="Basic game info is missing: {{fields}}.",yY="title (Name)",vY="icon (Icon)",SY="description (Description)",bY=", ",wY="You are not logged in with a developer account: upload is unavailable, and network requests may be blocked. For temporary local debugging, disable domain check in Developer Options.",CY="Please resolve this before submission to avoid review rejection.",kY="View details",PY="Hide details",DY="Needs your attention",_Y="Recommended",TY="Terminal proxy is not applied",EY="Account lacks development access",xY="Developer login is unavailable",IY="Client Key cannot be recognized",$Y="Apply for permission",RY="Open developer portal",OY="{{count}} more issue(s)",NY="Switch to dark theme",AY="Switch to light theme",LY="Features",MY="Optimizations",jY="Bugfixes",FY="Learn more",GY="Changelog",WY="NEW",zY="Review what each DevTool release adds, improves, and fixes.",qY="New/Optimized Feature Target Version:",UY="Wasm Code Split",BY="Split Prepare",HY="Collect Functions",VY="Split Code",KY="Rollback",QY="Split failed",XY="Writing split artifacts...",YY="Retry",JY="Starting split code prepare...",ZY="Cancel split code prepare",eJ="Background run",tJ="Preparing split code, please wait...",nJ="During the preparation process, please do not modify the local game package, otherwise it may cause the preparation to fail.",rJ="Split code preparation successful!",iJ="Split code preparation failed!",aJ="Retry preparation",oJ="Download prepared Wasm code",sJ="Download failed",lJ="Retry download",cJ="Download successful",uJ="After downloading the prepared Wasm code, you can split the code in the local environment for debugging.",dJ="Split code description",pJ="Please input split code description",gJ="Start prepare",hJ="Processing...",mJ="Update Wasm split config",fJ="Update Wasm split config successful!",yJ="Update Wasm split config failed!",vJ="Compress prepared Wasm code successful!",SJ="Compress prepared Wasm code failed!",bJ="Write compress prepared Wasm code",wJ="Write compress prepared Wasm code successful!",CJ="Write compress prepared Wasm code failed!",kJ="Fetch download URL",PJ="Fetch download URL successful!",DJ="Fetch download URL failed!",_J="Download prepared Wasm code successful!",TJ="Download prepared Wasm code failed!",EJ="Start split",xJ="Collected functions must reach at least 8% of the total before splitting. Keep playing to cover first-screen and core gameplay paths.",IJ="Current local project already supports wasm split, please use TikTok client to scan the QR code, start collecting functions, please support complete loading process, game teaching, etc. in advance.",$J="Device connected · collecting functions",RJ="Walk through loading, tutorial and core gameplay on the connected device. DevTool keeps recording the functions being called. Once first-screen and core paths are covered you can start the split.",OJ="Start collect",NJ="Opening collect session...",AJ="Resumed previous collect session — your existing progress was preserved.",LJ="Wasm file size",MJ="Collected function count",jJ="Total function count",FJ="Split version",GJ="Split code processing, please wait...",WJ="Cancel split",zJ="Get split result",qJ="Retry get split result",UJ="Get split result failed, please retry.",BJ="Split code processing successful!",HJ="Download split result",VJ="Download split result failed, please retry.",KJ="Retry download split result",QJ="Download split result successful!",XJ="Local can use real device to scan debug QR code, experience split code loading process, confirm game no exception after, can upload current directory files to developer platform for testing and release.",YJ="Downloading Android main Wasm file...",JJ="Download Android main Wasm file successful",ZJ="Compressing Android main Wasm file...",eZ="Compress Android main Wasm file successful",tZ="Downloading Android sub Wasm code...",nZ="Download Android sub Wasm code successful",rZ="Compressing Android sub Wasm code...",iZ="Compress Android sub Wasm code successful",aZ="Downloading iOS main Wasm file...",oZ="Download iOS main Wasm file successful",sZ="Compressing iOS main Wasm file...",lZ="Compress iOS main Wasm file successful",cZ="Downloading iOS sub Wasm code...",uZ="Download iOS sub Wasm code successful",dZ="Compressing iOS sub Wasm code...",pZ="Compress iOS sub Wasm code successful",gZ="Writing split Wasm files...",hZ="Write split Wasm files successful",mZ="Updating Wasm split config...",fZ="Update Wasm split config successful!",yZ="No Wasm code found",vZ="No Wasm code found in the project. Please make sure the game has been packed with Wasm code and try again.",SZ="Current project already has split Wasm code, please use TikTok client to scan the QR code, start collecting functions, please support complete loading process, game teaching, etc. in advance.",bZ='You can compress and upload the current result as-is; to start over, hit "Discard split" below.',wZ="Discard split",CZ="Current project has not enabled Wasm split config",kZ="Current project has not enabled Wasm split config. Please enable it in the project config and try again.",PZ="Advanced guide",DZ="Capability access",_Z="Subpackage Collection",TZ="Language",EZ="简体中文",xZ="English",IZ={"performance.back":"Back to Performance",checkApiNotIntegrated:P7,languageSaveFailed:D7,compressPreparedWasmCode:_7,"uploadGame.summary.failedTitle":"Project check failed","uploadGame.summary.checkingDesc":"Checking package size, configuration and API usage.","uploadGame.summary.checkingTitle":"Checking project","ia.requirement.conditional":"Depends on use case",launchConfigHelp:T7,launchConfigImport:E7,launchConfigExport:x7,launchConfigPending:I7,launchConfigInvalid:$7,apiStaticNotDetected:R7,apiStaticDetected:O7,title:N7,scanQRcodeTitle:A7,deviceConnected:L7,serverDisconnected:M7,deviceDisconnected:j7,connectStatusNode:F7,connectStatusBrowser:G7,connectStatusDebugPage:W7,connectStatusClient:z7,connectStatusConnected:q7,connectStatusDisconnected:U7,connectStatusFailed:B7,connectStatusUnknown:H7,connectStatusLegendTitle:V7,connectStatusLegendNode:K7,connectStatusLegendBrowser:Q7,connectStatusLegendClient:X7,connectStatusLegendProto:Y7,netDiagNav:J7,netDiagTitle:Z7,netDiagSubtitle:eH,netDiagEntryScanNoResponse:tH,netDiagEntryTitle:nH,netDiagEntryDesc:rH,netDiagEntryAction:iH,netDiagRunAll:aH,netDiagManualConnectAndCheck:oH,netDiagManualBindTitle:sH,netDiagManualBindDesc:lH,netDiagManualBindEntry:cH,netDiagManualConnectGo:uH,netDiagSummaryTitle:dH,netDiagSummaryIdleTitle:pH,netDiagSummaryIdleDesc:gH,netDiagSummaryIdleHint:hH,netDiagSummaryRunningTitle:mH,netDiagSummaryRunningDesc:fH,netDiagSummaryRunningHint:yH,netDiagSummaryMissingClientTitle:vH,netDiagSummaryMissingClientDesc:SH,netDiagSummaryNodeTitle:bH,netDiagSummaryNodeDesc:wH,netDiagSummaryNodeWsDesc:CH,netDiagSummaryClientBothTitle:kH,netDiagSummaryClientBothDesc:PH,netDiagSummaryClientWsTitle:DH,netDiagSummaryClientWsDesc:_H,netDiagSummaryHealthyTitle:TH,netDiagSummaryHealthyDesc:EH,netDiagSummaryPartialTitle:xH,netDiagSummaryPartialDesc:IH,netDiagSummaryPartialHint:$H,netDiagEnvIP:RH,netDiagEnvWsPort:OH,netDiagEnvHttpPort:NH,netDiagComputerGroup:AH,netDiagClientGroup:LH,netDiagOpenTroubleshoot:MH,netDiagOpenProxy:jH,netDiagEnvTitle:FH,netDiagEnvSectionDesc:GH,netDiagChecksTitle:WH,netDiagCheckSectionDesc:zH,netDiagCheckNodeHttp:qH,netDiagCheckNodeWs:UH,netDiagCheckClientHttp:BH,netDiagCheckClientWs:HH,netDiagSuggestTitle:VH,netDiagSuggestSectionDesc:KH,netDiagActionsTitle:QH,netDiagSuccessHint:XH,netDiagManualConnectResultSuccess:YH,netDiagManualConnectResultError:JH,netDiagManualSectionDesc:ZH,netDiagNextStepTitle:e9,netDiagGuideEyebrow:t9,netDiagGuideStepsTitle:n9,netDiagActionManualConnect:r9,netDiagActionManualConnectDesc:i9,netDiagActionBackToScan:a9,netDiagActionBackToScanDesc:o9,netDiagActionRerunAfterRestart:s9,netDiagActionRerunAfterRestartDesc:l9,netDiagActionRunAllDesc:c9,netDiagExpand:u9,netDiagCollapse:d9,netDiagOpenDoc:p9,netDiagSuggestNoClientTitle:g9,netDiagSuggestNoClientDesc:h9,netDiagSuggestLanTitle:m9,netDiagSuggestLanDesc:f9,netDiagSuggestNodeTitle:y9,netDiagSuggestNodeDesc:v9,netDiagSuggestNodeRestart:S9,netDiagSuggestClientDebugService:b9,netDiagSuggestLanAndProxy:w9,netDiagSuggestWsBlocked:C9,netDiagSuggestOkTitle:k9,netDiagSuggestOkDesc:P9,netDiagSuggestHttpOkWsFail1:D9,netDiagSuggestHttpOkWsFail2:_9,netDiagSuggestBothFail1:T9,netDiagSuggestBothFail2:E9,netDiagSuggestPhoneProxyFallback:x9,netDiagMissingClientHttp:I9,netDiagMissingClientWs:$9,netDiagStatusIdle:R9,netDiagStatusRunning:O9,netDiagStatusWarning:N9,netDiagCheckIdleDetail:A9,netDiagCheckRunningDetail:L9,netDiagCheckReachableDetail:M9,netDiagQuickHintTitle:j9,netDiagQuickHintDesc:F9,clientDisconnected:G9,nodeDisconnected:W9,switchDevice:z9,disConnectionStatusTitle:q9,disConnectionStatusDesc:U9,scanQRCode:B9,switchScanDevice:H9,startDebug:V9,initClientEnv:K9,fetchClientDevConfig:Q9,fetchClientDevConfigFailed:X9,fetchClientDevConfigSuccess:Y9,initClientEnvSuccess:J9,initClientEnvFailed:Z9,startInitJSDevEnv:eV,initJSDevEnvSuccess:tV,uploadBtn:nV,uploadStart:rV,uploadProcess:iV,uploadProcessDesc:aV,uploadSuccess:oV,uploadError:sV,setupDevEnv:lV,gameResourceCompiling:cV,gameResourceCompilingTitle:uV,gameResourceChange:dV,gameResourceUpdated:pV,devEnvSetupError:gV,getDevEnvStart:hV,getDevEnvSuccess:mV,setDevEnvFailed:fV,getDevScriptsStart:yV,setDevScriptsSuccess:vV,devEnvSetupSuccess:SV,uploadGameStart:bV,uploadGameSuccess:wV,uploadGameFailed:CV,reUploadGame:kV,relaunchGame:PV,closeGame:DV,loading:_V,nodeServerConnectedFailed:TV,nodeServerStartConnect:EV,nodeServerConnectedSuccess:xV,nodeServerStartError:IV,nodeServerDisconnect:$V,clientConnectedSuccess:RV,clientServerStartError:OV,clientServerDisconnected:NV,networkNoLanIPTitle:AV,networkNoLanIPDesc:LV,networkNoLanIPAction:MV,startDebugFailed:jV,getDevScriptsFailed:FV,uploadToClient:GV,notUpload:WV,uploadToPlatform:zV,"uploadGame.pageTitle":"Upload game","uploadGame.pageDesc":"Uploading is the primary task here. Precheck acts as a safety net and is only emphasized when something needs attention.","uploadGame.guide.title":"Upload & publish","uploadGame.guide.desc":"Review precheck risks, add a short version note, then upload to the platform. Scan the generated preview build to verify it.","uploadGame.guide.precheck.title":"Code precheck","uploadGame.guide.precheck.desc":"Catch package size, API, config, and performance risks early","uploadGame.guide.version.title":"Version note","uploadGame.guide.version.desc":"Describe this change so upload records are easier to identify","uploadGame.guide.preview.title":"Platform preview","uploadGame.guide.preview.desc":"Scan after upload to verify the platform-generated build","uploadGame.packageSizeDoc":"View package size limits","uploadGame.checkTitle":"Code precheck","uploadGame.recheck":"Re-check","uploadGame.uploadTitle":"Upload game package","uploadGame.checkWarn":"Some precheck items failed. Fix them before uploading to avoid review rejection.","uploadGame.detailTitle":"Precheck details","uploadGame.detailDesc":"Expand only when you need the full breakdown for config, API, size, or performance issues.","uploadGame.showDetails":"View precheck details","uploadGame.hideDetails":"Hide precheck details","uploadGame.loginNoticeTitle":"Complete developer login first","uploadGame.readyTitle":"Precheck passed, ready to upload","uploadGame.readyDesc":"No blocking issue is detected right now. Add a version note and submit directly to the platform.","uploadGame.issueTitle":"Precheck note","uploadGame.issueDesc":"Only the key summary is shown here. Expand the full result when needed.","uploadGame.checkFetchFailed":"Failed to fetch precheck results. Re-run the check before deciding whether to upload.","uploadGame.issueCountSuffix":" issues","uploadGame.groupPassSuffix":" checks passed","uploadGame.status.loginReady":"Developer account logged in","uploadGame.status.loginRequired":"Login required for upload","uploadGame.status.checking":"Precheck running","uploadGame.status.checkFailed":"Precheck fetch failed","uploadGame.status.hasIssues":"Precheck has issues","uploadGame.status.ready":"Precheck passed","uploadGame.group.performance":"Performance","uploadGame.group.size":"Package size","uploadGame.group.api":"API","uploadGame.group.config":"Config","uploadGame.unknownIssue":"Issue needs review","uploadGame.uploadDescHint":"Briefly describe this change for later lookup.","uploadGame.progress.title":"Uploading and waiting for platform processing","uploadGame.progress.desc":"The package has been submitted. The platform is validating and deploying it now.","uploadGame.progress.assetTitle":"Platform is processing your package","uploadGame.progress.assetDesc":"Your package was uploaded. The platform is processing it now, please wait…","uploadGame.progress.previewTitle":"Fetching the platform preview QR code","uploadGame.progress.previewDesc":"Upload succeeded. Polling the platform for the preview QR code now.","uploadGame.progress.statusPending":"processing","uploadGame.progress.badgeUploading":"Uploading","uploadGame.progress.badgeChecking":"Validating","uploadGame.progress.badgePreview":"Preparing preview QR","uploadGame.progress.step1":"Pack and upload the code package","uploadGame.progress.step2":"Wait for the platform to finish processing","uploadGame.progress.step3":"Fetch the platform preview QR code","uploadGame.success.title":"Upload completed","uploadGame.success.readyTitle":"Platform preview is ready","uploadGame.success.desc":"The API returned success. Scan the QR code or open the platform page to continue reviewing this uploaded version.","uploadGame.success.pendingDesc":"Upload succeeded, but the preview QR code is not available yet. You can open the platform page first or upload again later.","uploadGame.success.qrHint":"Scan to open the platform result page","uploadGame.success.noQr":"No QR code is available yet","uploadGame.success.uploadAnother":"Upload another version","uploadGame.failure.title":"Platform preview is not ready yet","uploadGame.failure.retry":"Upload again","uploadGame.failure.missingAssetId":"The upload did not return a valid version reference, so platform validation cannot continue. Please upload again.","uploadGame.failure.assetTimeout":"The platform timed out while processing your package. Please check the result on the platform later.","uploadGame.failure.assetStatus":"The platform has not finished processing your package yet, so the preview QR code is not available. Please try again later.","uploadGame.failure.previewTimeout":"The platform finished processing, but no preview QR code was returned in time. Please try again later.","uploadGame.record.title":"Preview version history","uploadGame.record.desc":"Review recently uploaded preview versions here and keep scanning from the same module.","uploadGame.record.refresh":"Refresh","uploadGame.record.loading":"Loading version history...","uploadGame.record.empty":"No preview version records are available yet.","uploadGame.record.latest":"Latest upload","uploadGame.record.selectPlaceholder":"Select a version to view its details","uploadGame.record.noDesc":"No version note was provided","uploadGame.record.detailTitle":"Version {{version}}","uploadGame.record.detailDesc":"Keep the QR code and key metadata for the selected version on the right side.","uploadGame.record.previewHint":"Scan to preview this version","uploadGame.record.previewLoading":"Fetching the preview QR code for this version...","uploadGame.record.previewUnavailable":"No preview QR code is available for this version yet","uploadGame.record.pendingDesc":"This version is still being processed by the platform. Refresh the history and check again later.","uploadGame.record.failedDesc":"This version is currently in an abnormal state. Check the platform for the final result.","uploadGame.record.metaUploadedAt":"Uploaded at","uploadGame.record.metaAssetId":"Asset ID","uploadGame.record.metaSource":"Source group","uploadGame.record.metaSize":"Package size","uploadGame.record.metaUnknown":"-","uploadGame.record.loadFailed":"Failed to load version history. Please try again later.","uploadGame.record.state.ready":"Preview ready","uploadGame.record.state.pending":"Processing","uploadGame.record.state.failed":"Issue","uploadGame.record.source.preview":"Preview","uploadGame.record.source.review":"In review","uploadGame.record.source.live":"Live","uploadGame.record.source.other":"Other",scanning:qV,scanQRCodeChange:UV,scanQRCodeDesc:BV,"homeSession.title":"Current debug session","homeSession.modeLabel":"Debug mode","homeSession.entryLabel":"Launch entry","homeSession.domainLabel":"Domain policy","homeSession.mode.clientPreviewDesc":"Client runtime; check vConsole, device capabilities, and real device network.","homeSession.mode.remoteDebugDesc":"Browser runtime; good for JS logic and console checks, not all device capabilities.","homeSession.domainCheck.disabled":"Domain check disabled","homeSession.domainCheck.disabledDesc":"More flexible for temporary debugging. Complete platform config before release.","homeSession.domainCheck.enabledWithDomains":"{{count}} Trust Domains","homeSession.domainCheck.enabledWithDomainsDesc":"Network requests are checked against platform config.","homeSession.domainCheck.enabledNoDomains":"No Trust Domain","homeSession.domainCheck.enabledNoDomainsDesc":"External network requests may be blocked at runtime.","homeSession.chip.domainCheckOn":"Domain check on","homeSession.chip.domainCheckOff":"Domain check off","homeSession.chip.vConsoleOn":"vConsole on","homeSession.chip.vConsoleOff":"vConsole off","homeSession.chip.devPanelOn":"Dev info panel on","homeSession.chip.devPanelOff":"Dev info panel off","homeSession.option.domainCheck":"Domain check","homeSession.option.vConsole":"vConsole","homeSession.option.devPanel":"Developer info panel","homeSession.status.on":"On","homeSession.status.off":"Off","homeSession.diff.clientPreviewTitle":"Client preview","homeSession.diff.clientPreviewDesc":"Closer to the client runtime. For API, payment, ad, or domain issues, check phone vConsole and the developer info panel first.","homeSession.diff.remoteDebugTitle":"Remote debug","homeSession.diff.remoteDebugDesc":"Better for quick JS logic checks. Device capabilities, network policy, and client panels still need client preview verification.","homeSession.risk.domainTitle":"Domain risk","homeSession.risk.domainDesc":"Domain check is on but no Trust Domain is configured. External requests may fail at runtime.",notLogin:HV,launchModeName:VV,selectLaunchPkg:KV,selectIndependentPkg:QV,selectScene:XV,launchQueries:YV,launchQueriesDesc:JV,scene_search:ZV,scene_fyf_card:eK,scene_anchor:tK,scene_sharing:nK,scene_link:rK,scene_inbox:iK,gameMainPackage:aK,independentPackage:oK,customizeLaunchMode:sK,deleteLaunchModeConfirm:lK,save:cK,delete:"Delete",devOptions:uK,devOptionsDomainCheckDesc:dK,debugSettingAdMock:pK,debugSettingAdMockDesc:gK,debugSettingIAPMock:hK,debugSettingIAPMockDesc:mK,selectLaunchMode:fK,createNewMode:yK,selectDebugMode:vK,browserDebugMode:SK,clientPreviewMode:bK,clientDebugMode:wK,queriesStringMustBeString:CK,queriesStringNoQuestionMark:kK,queriesStringEmptyPair:PK,queriesStringEmptyKey:DK,queriesStringDuplicateKey:_K,queriesStringInvalidKeyChars:TK,queriesStringInvalidValueChars:EK,queriesStringInvalidEncoding:xK,queriesStringMissingEqual:IK,notEmpty:$K,saveAndUse:RK,use:OK,sendLocalDebugSetting:NK,getDevGameConfigSuccess:AK,getDevGameConfigFailed:LK,startLoadDevScripts:MK,loadDevScriptsSuccess:jK,loadDevScriptsFailed:FK,loadDevScriptsEmpty:GK,loadDevScriptsInitSuccess:WK,gameResourceCompileSuccess:zK,gameResourceCompileSuccessTitle:qK,scanQRCode2Debug:UK,homeHeroEyebrow:BK,homeHeroTitle:HK,homeHeroSubtitle:VK,homeHeroTitleConnected:KK,homeHeroSubtitleConnected:QK,projectInfo:XK,launchMode:YK,codePreCheck:JK,normalLaunchMode:ZK,createdLaunchMode:eQ,projectInfoDesc:tQ,"projectInfo.summary":"Review the active mini game's basics, package status, and platform configuration.",projectInfoDescTip:nQ,"projectInfo.section.basic":"Basic info","projectInfo.section.package":"Package status","projectInfo.section.platform":"Platform setup","projectInfo.error.guideTitle":"Complete the following steps to continue using this module","projectInfo.error.stepTitle":"How to restore access","projectInfo.error.helpTitle":"Additional guidance","projectInfo.error.login.title":"Platform config is not available yet","projectInfo.error.login.desc":"The local project is running, but the current debug session does not have a valid developer login yet. Finish login first, then return here to continue using this module.","projectInfo.error.login.stepLogin":"Run `ttmg login` in the terminal and sign in with your developer platform account.","projectInfo.error.login.stepRestart":"After login succeeds, run `ttmg dev` again so the current debug session picks up the latest login state.","projectInfo.error.login.stepProxy":"If login fails in a mainland China network environment, check your proxy or network setup before retrying.","projectInfo.error.permission.title":"This account does not have development access to this game","projectInfo.error.permission.desc":"The local project is available, but this account does not have development access to this game. Platform config and permission-dependent actions such as upload and publish are unavailable.","projectInfo.error.permission.stepCheckAccount":"First confirm the account used in `ttmg login` is the intended developer account for this game.","projectInfo.error.permission.stepApply":"If the account lacks access, apply for development permission for this game on the developer platform.","projectInfo.error.permission.stepRestart":"After permission is granted, run `ttmg dev` again to start a fresh debug session.","projectInfo.error.network.title":"Terminal proxy is not applied; platform API request failed","projectInfo.error.network.desc":"The local debug service is running, but the CLI cannot reach the TikTok developer platform. Trust Domains, Terms, Privacy, and other platform config may not be fetched. This often happens when VPN/proxy only applies to the browser, while terminal requests do not go through the proxy.","projectInfo.error.network.stepCheck":"If the developer platform opens in the browser but `ttmg dev` cannot fetch project overview, Trust Domains, or Terms & Privacy, treat it as a terminal-proxy issue first.","projectInfo.error.network.stepProxy":"Run `ttmg config set proxy http://127.0.0.1:7890`, replacing the port with the HTTP port exposed by your local proxy tool.","projectInfo.error.network.stepRestart":"Run `ttmg dev` again, then return here to continue.","projectInfo.error.general.title":"This module is temporarily unavailable","projectInfo.error.general.desc":"This usually means platform data is temporarily unavailable, project metadata is invalid, or the current debug context is not ready yet.","projectInfo.error.general.stepCheck":"Check whether the current Client key, logged-in account, and debug command all match the intended project.","projectInfo.error.general.stepRetry":"After correcting the issue, run `ttmg dev` again and return here to continue.","projectInfo.error.commandLogin":"Login command","projectInfo.error.commandRestart":"Restart debug command","projectInfo.error.commandProxy":"Proxy command example","projectInfo.error.commandProxyHint":"The address and port above are examples only. Replace them with the actual proxy endpoint exposed by your local proxy tool.","projectInfo.error.helpLoginDesc":"For developers in China, login failures are often caused by proxy settings, enterprise network policies, or terminal environment issues rather than the account itself. In those cases, the network and proxy troubleshooting guide is usually more effective than repeatedly retrying login.","projectInfo.error.helpPermissionDesc":"This is usually not a local project issue. Confirm the account used by `ttmg login` belongs to the target game, then grant this game's development access on the developer platform.","projectInfo.error.helpNetworkDesc":"This usually does not mean Trust Domains are truly missing, and it is not necessarily a permission issue. The CLI process is not reaching the platform through a proxy. Turning on a VPN client is often not enough; write the proxy endpoint into the ttmg config.","projectInfo.error.helpGeneralDesc":"If the steps above all look correct and this module is still unavailable, restart local debugging from the terminal and then continue checking whether the project metadata is configured correctly.","projectInfo.error.openProxyDoc":"Open network/proxy login guide","basicDebugGuide.bannerTitle":"No developer login session is detected right now","basicDebugGuide.bannerDesc":"This does not block the most basic scan-debug flow. If CLI login is temporarily unavailable because of network issues, you can still continue local debugging, switch launch modes, and troubleshoot connectivity.","basicDebugGuide.title":"Basic scan debugging still works without login","basicDebugGuide.desc":"Treat this as a limited mode: platform-dependent capabilities are restricted, but local scan debugging, launch mode switching, and connection troubleshooting still work. Continue with core local debugging first, then restore CLI login when you need platform-side capabilities.","basicDebugGuide.actionScan":"Go to scan debugging","basicDebugGuide.actionNetwork":"Open network diagnostics","basicDebugGuide.actionProxy":"Open network/proxy login guide","basicDebugGuide.availableTitle":"Still available now","basicDebugGuide.availableDesc":"The capabilities below depend on the local debug service and schema, so they do not require a valid developer-platform login session first.","basicDebugGuide.available.scan.title":"Scan debugging","basicDebugGuide.available.scan.desc":"Keep using the current QR code on your device to verify whether the core local debug flow still works.","basicDebugGuide.available.launch.title":"Launch mode","basicDebugGuide.available.launch.desc":"You can still switch scene, launch package, and queries to simulate different entries and runtime parameters.","basicDebugGuide.available.preview.title":"Browser preview / client preview","basicDebugGuide.available.preview.desc":"Continue switching between browser and client debug modes to validate package logic and runtime behavior.","basicDebugGuide.available.network.title":"Network diagnostics","basicDebugGuide.available.network.desc":"When scan has no response, LAN access fails, or proxy environments are complex, you can still diagnose connectivity inside the project.","basicDebugGuide.available.manual.title":"Manual connection","basicDebugGuide.available.manual.desc":"If QR scan is unavailable, you can still try binding the client debug service address manually and continue debugging.","basicDebugGuide.lockedTitle":"Fully available only after login","basicDebugGuide.lockedDesc":"These capabilities actively request developer-platform resources, so they stay restricted without a CLI login session.","basicDebugGuide.locked.project.title":"Project overview","basicDebugGuide.locked.project.desc":"Platform-side basic info, Terms, Privacy, and trusted domain config cannot be fetched reliably.","basicDebugGuide.locked.upload.title":"Upload & publish","basicDebugGuide.locked.upload.desc":"You cannot upload a new version, load preview version records, or generate platform preview QR codes.","basicDebugGuide.locked.platform.title":"Platform-dependent capability validation","basicDebugGuide.locked.platform.desc":"Capabilities such as login, authorize, payment, or direct-play preview depend on platform-side resources and will be incomplete or fail.","basicDebugGuide.stepsTitle":"Recommended flow","basicDebugGuide.stepsDesc":"If your current goal is simply to keep local scan debugging moving, follow this order first. Restore CLI login later when you need platform-side capabilities.","basicDebugGuide.step1":"Keep using scan debugging, launch mode, and client preview first so the local package flow is unblocked.","basicDebugGuide.step2":"If scan itself fails, use network diagnostics or manual connection first instead of treating every issue as a login problem.","basicDebugGuide.step3":"When platform-dependent capabilities are needed, troubleshoot network/proxy first; if necessary, configure a proxy before retrying login.","basicDebugGuide.step4":"After login succeeds, run `ttmg dev` again and return to the project to unlock project overview, upload & publish, and platform-side capability validation.","basicDebugGuide.commandProxy":"Proxy command example","basicDebugGuide.commandProxyHint":"The address and port above are examples only. Replace them with the actual proxy endpoint exposed by your local proxy tool.","basicDebugGuide.commandLogin":"Login command","basicDebugGuide.commandDev":"Restart debug command","basicDebugGuide.entryTitle":"Basic scan debugging still works even if CLI login fails","basicDebugGuide.entryDesc":"Check what is still available and what stays restricted, then decide whether to keep debugging now or fix proxy/login first.","basicDebugGuide.entryAction":"Open basic debug guide",notExceedSizeLimit:rQ,notExceedMainPkgSizeLimit:iQ,notExceedIndependentPkgSizeLimit:aQ,exceedSizeLimit:oQ,exceedMainPkgSizeLimit:sQ,exceedIndependentPkgSizeLimit:lQ,launchModeDesc:cQ,"launchMode.currentDesc":"Choose an existing configuration, or switch to new mode and configure it again.","launchMode.configDesc":"Set the launch package, entry scene, and launch parameters, then save it and scan from Home.",configFileCheck:uQ,gameJsonCheckDesc:dQ,pkgSizeCheckDesc:pQ,mandatoryApiCheck:gQ,mandatoryApiCheckDesc:hQ,commonPkgSizeCheckDescTip:mQ,unityPkgSizeCheckDescTip:fQ,checkConfigPassed:yQ,checkPkgSizePassed:vQ,checkPkgSizeFailed:SQ,checkConfigFailed:bQ,performanceCheck:wQ,checkPerformancePassed:CQ,checkPerformanceFailed:kQ,viewDoc:PQ,expandCheckDetail:DQ,closeCheckDetail:_Q,gameProject:TQ,gameMainPackageSize:EQ,gameIndependentPackageSize:xQ,gameTrustDomains:IQ,gameTermsAndPrivacy:$Q,gameServiceAgreement:RQ,gamePrivacyPolicy:OQ,termsLabel:NQ,privacyLabel:AQ,"projectInfo.configSummary.title":"Platform setup needs attention","projectInfo.configSummary.desc":"These settings come from the developer platform. You can keep debugging now, but complete them before submission or platform capability testing.","projectInfo.configSummary.count":"{{count}} pending","projectInfo.configSummary.reviewGroup":"Submission basics","projectInfo.configSummary.runtimeGroup":"Runtime setup","projectInfo.configSummary.item.icon":"Game icon","projectInfo.configSummary.item.name":"Game name","projectInfo.configSummary.item.description":"Game description","projectInfo.configSummary.item.domain":"Trusted domains","projectInfo.configSummary.item.terms":"Terms URL","projectInfo.configSummary.item.privacy":"Privacy URL","projectInfo.configSummary.reviewHint":"Complete before submission","projectInfo.configSummary.domainHint":"Required before external requests","projectInfo.configSummary.termsHint":"Required before login/authorize","projectInfo.configSummary.privacyHint":"Required for authorization and compliance","projectInfo.status.missing":"Missing","projectInfo.status.reviewBeforeSubmit":"Complete before submission","projectInfo.status.beforeRelease":"Complete before release","projectInfo.status.domainRequired":"Add before external requests","projectInfo.status.authRequired":"Add before login/authorize","projectInfo.logoMissingShort":"Icon missing",gameSize:LQ,gameName:MQ,gameIcon:jQ,gameID:FQ,gameDesc:GQ,getDevGameDetailNotFound:WQ,getDevGameDetailFailed:zQ,getDevGameDetailNotLogin:qQ,notLoginTip:UQ,docs:BQ,quickStart:HQ,jsApiList:VQ,errorReference:KQ,faq:QQ,upload:XQ,cancel:YQ,gameAssetDescription:JQ,uploadPlatformSuccess:ZQ,uploadPlatformFailed:eX,uploadPlatformDesc:tX,viewOnPlatform:nX,loginToUpload:rX,uploadGamePackageTip:iX,trustDomainEmptyTip:aX,scriptsSetupFailed:oX,resourcesSetupFailed:sX,policyDependencyTermsRequired:lX,policyDependencyPrivacyRequired:cX,policyDependencyTermsPrivacyRequired:uX,termsOfServiceEmptyTip:dX,privacyPolicyEmptyTip:pX,gameNameEmptyTip:gX,gameIconEmptyTip:hX,gameDescEmptyTip:mX,gameDetailNoPermission:fX,gameDetailNetworkProxyBlocked:yX,startConnectClientWS:vX,clientConnectTimeout:SX,gameDetailNotLogin:bX,gameLoginExpired:wX,login:CX,createRewardedVideoAd:kX,addShortcut:PX,startEntranceMission:DX,getShortcutMissionReward:_X,getEntranceMissionReward:TX,integrated:EX,notIntegrated:xX,checkApiSuccess:IX,checkApiFailed:$X,debugEnvSetupSuccess:RX,clientPreviewEnvSetupSuccess:OX,startToSendMetaToClient:NX,sendMetaToClientSuccess:AX,browserRemoteDebugDesc:LX,clientRealPreviewDesc:MX,"debug.scan.tips":"Before scanning with TikTok for debugging, you can choose from the following two default launch modes:","debug.mode.browser.title":"Browser Remote Debugging Mode","debug.mode.browser.point.logic":"Game logic runs in the browser","debug.mode.browser.point.devtools":"View logs and set breakpoints in the browser devtools","debug.mode.browser.point.preview":"Preview the game visuals in sync on the client","debug.mode.client.title":"Client On-Device Preview Mode","debug.mode.client.supportVersion":"TikTok iOS >=42.7,TikTok Android >=42.5","debug.mode.client.point.logic":"Game logic runs on the client (real device)","debug.mode.client.point.vconsole":"View runtime logs via vConsole","debug.mode.client.point.preview":"Accurately reproduce and preview game effects on the real device","debug.mode.custom.tip":"For more flexible configurations, you can create a custom launch mode to meet specific debugging and preview needs.","debug.guide.header":"Debug Mode Guide","debug.guide.manualBindIP":"Manually bind the local IP address of the computer","debug.guide.manualBindIPInvalid":"Invalid IP address, please enter a valid IP address",invalidPort:jX,scanQrcodeNoResponse:FX,confirm:GX,manualBindIPPlaceholder:WX,"debug.guide.manualBindIPDesc1":"Please confirm that the mobile phone and computer are in the same local area network. If not, please connect to the same local area network first.","debug.guide.manualBindIPDesc2":"Manually enter the debugging service address and port provided by the client loading page to connect.","debug.guide.manualBindIPDesc3":"Only Android 42.9 and above versions are supported, and iOS does not support it for the time being.",startUpload:zX,manualBindClientDebugServiceTitle:qX,gotoCheck:UX,checkNetworkTitle:BX,manualBindIPInfo1:HX,manualBindIPInfo2:VX,back:KX,manualConnectStart:QX,manualConnectConfirm:XX,manualConnectDialogDesc:YX,connectivityCheck:JX,connectivityCheckTitle:ZX,connectivityCheckWS:eY,connectivityCheckHTTP:tY,connectivityOK:nY,connectivityNotOK:rY,connectivityTimeout:iY,connectivityFailed:aY,connectivityMissingParams:oY,needDesc:sY,debugSettingDomainCheck:lY,debugSettingVConsole:cY,debugSettingDevInfoPanel:uY,debugSettingEnableVconsoleDesc:dY,debugSettingEnableDevInfoPanelDesc:pY,topErrorSummary:gY,topErrorTagRequired:hY,topErrorTagSuggested:mY,topBasicInfoMissing:fY,topBasicInfoNameField:yY,topBasicInfoIconField:vY,topBasicInfoDescriptionField:SY,topBasicInfoFieldJoiner:bY,topLoginStatusWarning:wY,topErrorSuggestedActionTip:CY,topErrorViewDetails:kY,topErrorHideDetails:PY,topErrorTitleRequired:DY,topErrorTitleSuggested:_Y,topErrorTitleNetworkProxy:TY,topErrorTitlePermission:EY,topErrorTitleLogin:xY,topErrorTitleProjectNotFound:IY,topErrorCtaApplyPermission:$Y,topErrorCtaOpenPortal:RY,topErrorMoreItems:OY,themeToggleToDark:NY,themeToggleToLight:AY,changelogFeature:LY,changelogOptimize:MY,changelogBugfix:jY,changelogLink:FY,changelog:GY,changelogNewTag:WY,changelogTip:zY,changelogTarget:qY,wasmSplit:UY,"wasmSplit.disabled.notLoggedIn":"Run `ttmg login` in the terminal and sign in with your developer-platform account before using Wasm Code Split.","wasmSplit.disabled.networkProxy":"The terminal cannot reach the TikTok developer platform. Configure the terminal proxy, rerun `ttmg dev`, then use Wasm Code Split.","wasmSplit.disabled.noPermission":"The current account does not have development permission for this game. Please apply for development permission on the developer platform before using Wasm Code Split.",splitPrepare:BY,splitCollect:HY,splitCode:VY,"splitPrepare.desc":"Submit a description and kick off the build task","splitCollect.desc":"Scan the QR code and play through the main flow","splitCode.desc":"Server generates the main bundle and sub-bundles",rollback:KY,"wasmSplit.subtitle":"Split Unity Wasm code into on-demand sub-bundles to shrink the first-screen size and improve cold-start performance.","wasmSplit.stage.loading":"Initializing","wasmSplit.stage.prepare":"Preparing","wasmSplit.stage.collect":"Collecting","wasmSplit.stage.split":"Splitting","wasmSplit.stage.splitted":"Already split","wasmSplit.stage.rollback":"Rolling back","wasmSplit.stage.error":"Error","wasmSplit.requirements.title":"Split requirements","wasmSplit.requirements.account":"The phone's TikTok app must use a non-US user account; US accounts cannot collect functions.","wasmSplit.requirements.unityPlugin":"Update the project to the latest Unity plugin before splitting.","wasmSplit.requirements.unityPluginLink":"View guide","wasmSplit.help.loading.title":"Initializing","wasmSplit.help.loading.line1":"Reading the current game's split configuration, please wait.","wasmSplit.help.prepare.title":"Prepare · what happens next","wasmSplit.help.prepare.line1":"After you submit, a build task starts to get the Unity Wasm ready for splitting.","wasmSplit.help.prepare.line2":"It usually takes 3–5 minutes; you can switch to other pages and the task keeps running in the background.","wasmSplit.help.collect.title":"Collect functions · record on a real device","wasmSplit.help.collect.line1":"Scan with your phone to enter the game and play through the main flow; the debug page records the called functions automatically.","wasmSplit.help.collect.line2":"The more complete the collection, the more accurate the final split.","wasmSplit.help.collect.line3":"Before scanning, confirm the phone's TikTok app uses a non-US user account and the project has the latest Unity plugin. US accounts cannot collect functions.","wasmSplit.help.split.title":"Split code · generating","wasmSplit.help.split.line1":"The backend generates the main bundle and sub-bundles from the collected function set.","wasmSplit.help.split.line2":"Once done, you can test the split version directly from “Start debugging”.","wasmSplit.help.rollback.title":"Roll back to the previous version","wasmSplit.help.rollback.line1":"This split will be undone and the project restored to its un-split state.","wasmSplit.help.splitted.title":"Already split","wasmSplit.help.splitted.line1":'This project already has a finished Wasm split — you can compress and upload as-is, or hit "Discard split" to start over.',"wasmSplit.help.error.title":"Something went wrong","wasmSplit.help.error.line1":"Follow the prompts to retry, or go back home to check the current game's status.","wasmSplit.meta.stage":"Current stage","wasmSplit.meta.mode":"Split mode","wasmSplit.meta.engine":"Engine","wasmSplit.meta.game":"Game","wasmSplit.meta.wasmSize":"WASM size","wasmSplit.meta.wasmMd5":"WASM MD5","wasmSplit.currentMode":"Current split mode","wasmSplit.initializingEnv":"Initializing split environment","wasmSplit.empty.unityOnly.title":"Available for Unity only","wasmSplit.empty.unityOnly.desc":"This project is not a Unity project. Wasm split is only available for Unity games. Switch to a Unity project and revisit this page.","wasmSplit.empty.backHome":"Back to home","wasmSplit.empty.needDevice.title":"Connect a device and select a game first","wasmSplit.empty.needDevice.desc":"Wasm split depends on the current mini game's Wasm package and login state. Scan to connect the client and select a game under “Start debugging”, then come back here to begin.","wasmSplit.empty.connectDevice":"Connect a device","wasmSplit.splitDoneToast":"Split complete — collected {{count}} functions this time.","rollback.rollbacking":"Rolling back...","rollback.backgroundRun":"Run in background","rollback.success":"Rollback succeeded","rollback.close":"Close","rollback.failed":"Rollback failed","rollback.retry":"Retry","collect.sessionClosed":"The collection session was closed (it may have timed out or been taken over by another client). Click “Start split” again to resume collecting.","collect.startFailed":"Failed to start collecting, please try again","collect.requirements.title":"Before scanning","collect.requirements.desc":"Use a non-US TikTok account and update to the latest Unity plugin before scanning; US accounts cannot collect functions.","collect.requirements.link":"View guide",splitFailed:QY,writingSplitResult:XY,retry:YY,startingPrepare:JY,cancelPrepare:ZY,backgroundRun:eJ,preparingSplit:tJ,warningDuringPreparing:nJ,preparingSplitSuccess:rJ,preparingSplitFailed:iJ,retryPrepare:aJ,downloadPreparedWasmCode:oJ,downloadFailed:sJ,retryDownload:lJ,downloadSuccess:cJ,downloadPreparedWasmCodeDesc:uJ,splitDesc:dJ,inputSplitDesc:pJ,startPrepare:gJ,processing:hJ,updateWasmSplitConfig:mJ,updateWasmSplitConfigSuccess:fJ,updateWasmSplitConfigFailed:yJ,compressPreparedWasmCodeSuccess:vJ,compressPreparedWasmCodeFailed:SJ,writeCompressPreparedWasmCode:bJ,writeCompressPreparedWasmCodeSuccess:wJ,writeCompressPreparedWasmCodeFailed:CJ,fetchDownloadUrl:kJ,fetchDownloadUrlSuccess:PJ,fetchDownloadUrlFailed:DJ,downloadPreparedWasmCodeSuccess:_J,downloadPreparedWasmCodeFailed:TJ,startSplit:EJ,cannotSplitTip:xJ,collectDesc:IJ,collectConnectedTitle:$J,collectConnectedDesc:RJ,startCollect:OJ,startingCollect:NJ,resumedCollectSession:AJ,wasmSize:LJ,collectedFuncCount:MJ,totalFuncCount:jJ,splitVersion:FJ,splittingDesc:GJ,cancelSplit:WJ,getSplitResult:zJ,retryGetSplitResult:qJ,getSplitResultFailed:UJ,splitSuccess:BJ,downloadSplitResult:HJ,downloadSplitResultFailed:VJ,retryDownloadSplitResult:KJ,downloadSplitResultSuccess:QJ,downloadSplitResultTip:XJ,start_download_android_main_wasm:YJ,download_android_main_wasm_done:JJ,start_compress_android_main_wasm:ZJ,compress_android_main_wasm_done:eZ,start_download_android_sub_wasm_code:tZ,download_android_sub_wasm_code_done:nZ,start_compress_android_sub_wasm_code:rZ,compress_android_sub_wasm_code_done:iZ,start_download_ios_main_wasm:aZ,download_ios_main_wasm_done:oZ,start_compress_ios_main_wasm:sZ,compress_ios_main_wasm_done:lZ,start_download_ios_sub_wasm_code:cZ,download_ios_sub_wasm_code_done:uZ,start_compress_ios_sub_wasm_code:dZ,compress_ios_sub_wasm_code_done:pZ,start_write_splited_wasm_br:gZ,write_splited_wasm_done:hZ,start_update_wasm_split_config:mZ,update_wasm_split_config_done:fZ,noWasmCode:yZ,noWasmCodeDesc:vZ,hasSplitedTitle:SZ,hasSplitedDesc:bZ,hasSplitedDiscard:wZ,noSplitConfigTitle:CZ,noSplitConfigDesc:kZ,advancedGuide:PZ,integrationAssistant:DZ,"ia.title":"Capability Access","ia.subtitle":"Collect key platform capabilities, prerequisites, and recommended debugging paths in one place so developers can move from reading docs to hands-on verification faster.","ia.banner.login":"Start with `ttmg login` in the terminal before debugging these capabilities. Many platform-dependent flows cannot be verified completely without a valid developer session.","ia.banner.termsPrivacy":"Configure Terms & Privacy first. Login and authorization flows depend directly on these platform settings.","ia.banner.ready":"The current baseline is ready for debugging. Read the capability guidance first, then jump to the relevant page to configure and verify it.","ia.menuTitle":"Capabilities","ia.sceneLabel":"Recommended entry scene: ","ia.section.prerequisites":"Pre-checks","ia.section.steps":"Recommended debugging path","ia.section.tips":"Development focus","ia.action.goHome":"Open Home","ia.status.ready":"Ready","ia.status.notReady":"Needs setup","ia.status.login.title":"Developer login","ia.status.login.ready":"A developer account is already loaded, so platform-dependent capability checks can continue.","ia.status.login.notReady":"No active login is detected. Upload, project detail fetches, and some platform task flows may stop here first.","ia.status.terms.title":"Terms URL","ia.status.terms.ready":"Terms URL is configured, so login / authorize checks can continue.","ia.status.terms.notReady":"Terms URL is missing. Login / authorize flows are likely to fail until it is configured.","ia.status.privacy.title":"Privacy URL","ia.status.privacy.ready":"Privacy URL is configured, so the privacy-related prerequisite is in place.","ia.status.privacy.notReady":"Privacy URL is missing. Authorization and compliance-related checks should wait until it is configured.","performance.menu.title":"Performance","performance.overview.title":"Performance","performance.overview.desc":"Choose by project type: Unity projects use Wasm Code Split; non-Unity projects can preview Subpackage Collection.","performance.section.title":"Optimization tools","performance.section.desc":"Each tool is a standalone capability. Click a card to enter its workflow.","performance.card.wasmSplit.title":"Wasm Code Split","performance.card.wasmSplit.desc":"Split the Unity Wasm bundle into on-demand chunks to shrink the initial payload and improve cold start. Unity engines only.","performance.card.subpackageCollect.title":"Subpackage Collection","performance.card.subpackageCollect.desc":"Record the subpackages predownloaded during startup on a real device, split by FP / TTI phase, and turn them into preload config in game.json.","performance.card.subpackageCollect.status":"New","performance.empty.comingSoon":"More performance tooling is on the way.",subpackageCollect:_Z,"subpackageCollect.subtitle":"Preview the startup flow on a real device, collect the subpackages predownloaded during startup, and write them into the preload config.","subpackageCollect.phase.fp":"FP","subpackageCollect.phase.tti":"TTI","subpackageCollect.stage.entry":"Pick entry","subpackageCollect.stage.empty":"No subpackages","subpackageCollect.stage.notStarted":"Not started","subpackageCollect.stage.collecting":"Collecting","subpackageCollect.stage.processing":"Processing","subpackageCollect.stage.success":"Done","subpackageCollect.stage.failed":"Failed","subpackageCollect.stage.unsupported":"Unsupported","subpackageCollect.entry.title":"Pick a startup entry","subpackageCollect.entry.subtitle":"Select the entry you will launch. The main package is the default; independent subpackages are listed when available.","subpackageCollect.entry.game":"Main package","subpackageCollect.entry.gameTag":"Default","subpackageCollect.entry.independentTag":"Independent","subpackageCollect.empty.title":"This game has no subpackages","subpackageCollect.empty.desc":"game.json defines no subpackages. Startup preload collection only applies to games with subpackages, so there is nothing to do here.","subpackageCollect.empty.back":"Back to Performance","subpackageCollect.unsupported.unity.title":"Unity mini games do not support subpackage collection","subpackageCollect.unsupported.unity.desc":"Subpackage collection only supports non-Unity mini games. This project is a Unity mini game, so entry selection, scanning, and collection controls are hidden.","subpackageCollect.unsupported.unity.action":"Go to Wasm Split","subpackageCollect.devGuide.link":"Subpackage Collection Guide","subpackageCollect.devGuide.clientVersion":"Supported client versions","subpackageCollect.devGuide.android":"Android 45.9+","subpackageCollect.devGuide.ios":"iOS 46.0+","subpackageCollect.devGuide.stepsTitle":"Main collection steps","subpackageCollect.devGuide.required.badge":"Required in code","subpackageCollect.devGuide.required.title":"Before collection, integrate this call in the game code:","subpackageCollect.devGuide.required.code":"reportScene({ sceneId: 9999 })","subpackageCollect.devGuide.required.desc":"Call it when the game becomes interactive. The debug page ends the run and shows Finish collection only after receiving this report.","subpackageCollect.devGuide.step1.title":"Confirm the account region","subpackageCollect.devGuide.step1.desc":"Subpackage collection is unavailable with a US-region account. Switch to a non-US account and scan again.","subpackageCollect.devGuide.step2.title":"Confirm subpackage config","subpackageCollect.devGuide.step2.desc":"game.json must define subpackages, and the run should target either the main package entry or an independent subpackage entry.","subpackageCollect.devGuide.step3.title":"Follow the real startup path","subpackageCollect.devGuide.step3.desc":"After scanning, do not stop at the first screen. Continue until the game is interactive so the client records the actually predownloaded subpackages.","subpackageCollect.scan.title":"Scan and run","subpackageCollect.scan.subtitle":"Keep DevTool open and preview once through the real startup path.","subpackageCollect.guide.step2":"After scanning, play through the game's real startup logic; as it runs, the client reports the subpackages it actually loads and they get collected.","subpackageCollect.guide.step3":"When the game becomes interactive, it must call reportScene({sceneId:9999}). The debug page ends the run and shows Finish collection only after receiving the report.","subpackageCollect.preview.noSchema":"No preview schema yet. Connect a device from Debug first, then come back.","subpackageCollect.preview.currentEntry":"Current entry","subpackageCollect.preview.collectedTitle":"Collected subpackages","subpackageCollect.preview.collectedDesc":"Live capture of this run, deduped by name (first report wins), split into FP / TTI.","subpackageCollect.preview.existingDesc":"Existing config for this entry. It is shown for reference only and is not merged into a new run.","subpackageCollect.preview.waitingDesc":"Waiting for the device to report the current collection.","subpackageCollect.preview.emptyResultDesc":"No subpackages were collected in this run.","subpackageCollect.preview.empty":"No subpackages captured yet.","subpackageCollect.reportScene.toastTitle":"reportScene({sceneId:9999}) received","subpackageCollect.reportScene.toastDesc":"The game reached the interactive state. Finish collection is now unlocked.","subpackageCollect.reportScene.readyTitle":"reportScene received — collection can finish","subpackageCollect.reportScene.readyDesc":"The current list will be used for this run. Review the subpackages, then select Finish collection to write the configuration.","subpackageCollect.wait.runningTitle":"Waiting for reportScene","subpackageCollect.wait.running":"The device is connected and subpackages are being recorded. Follow the real startup path; when the game becomes interactive, it must call reportScene({sceneId:9999}). Finish collection appears only after the debug page receives it.","subpackageCollect.wait.timeoutTitle":"reportScene not received — collection cannot finish","subpackageCollect.wait.timeout":"Confirm that reportScene({sceneId:9999}) is integrated in the game code, then follow the real startup path until the game becomes interactive.","subpackageCollect.wait.docLink":"View integration guide","subpackageCollect.manualConnect.title":"Not connected after scanning?","subpackageCollect.manualConnect.desc":"This is common with VPN, proxy, or multi-NIC setups. Retry the previous record or enter the client IP and ports manually.","subpackageCollect.manualConnect.action":"Manual connect","subpackageCollect.manualConnect.retry":"Retry last connection","subpackageCollect.manualConnect.noRecordTitle":"No manual connection record","subpackageCollect.manualConnect.noRecordDesc":"Fill in the client IP, HTTP port, and WS port first. After saving, this page can retry it directly.","subpackageCollect.manualConnect.retryTitle":"Retrying previous connection","subpackageCollect.manualConnect.retryDesc":"Reconnecting to the client debug service with {{ip}}:{{port}}.","subpackageCollect.mock.title":"Mock reporting (debug only)","subpackageCollect.mock.subtitle":"Real-device reporting is pending. Simulate predownload / reportScene here to validate the UI and CLI write path.","subpackageCollect.mock.placeholder":"Select an available subpackage","subpackageCollect.mock.noCandidates":"No predownloadable subpackage under this entry (requires a subpackages entry in game.json with an existing root directory). You can still trigger reportScene to finish collection.","subpackageCollect.mock.reportFp":"Report FP","subpackageCollect.mock.reportTti":"Report TTI","subpackageCollect.mock.reportScene":"reportScene(9999)","subpackageCollect.finish.overwriteNote":"Finishing overwrites this entry's existing {{existing}} item(s) with the {{current}} item(s) from this run (full overwrite per entry, not incremental merge).","subpackageCollect.finish.clearNote":"No subpackages captured this run; finishing clears this entry's existing {{existing}} item(s).","subpackageCollect.finish.clearTitle":"Clear existing config?","subpackageCollect.finish.clearConfirm":"No subpackages were captured this run. Finishing will clear this entry's existing {{existing}} item(s) and cannot be undone. To keep the existing config, choose Exit collection or run another capture.","subpackageCollect.finish.okClear":"Clear and finish","subpackageCollect.finish.cancel":"Cancel","subpackageCollect.action.finish":"Finish collection","subpackageCollect.action.cancel":"Cancel collection","subpackageCollect.action.exit":"Exit collection","subpackageCollect.action.exitRun":"Exit collection","subpackageCollect.action.recollect":"Collect again","subpackageCollect.recollect.clearTitle":"Clear the existing config and collect again?","subpackageCollect.recollect.clearDesc":"Before the new run, the current entry's preload config will be removed from game.json immediately so it does not affect collection. Canceling the new run will not restore it.","subpackageCollect.recollect.clearAction":"Clear and collect again","subpackageCollect.action.switch":"Switch entry","subpackageCollect.loading":"Loading project config…","subpackageCollect.processing":"Processing…","subpackageCollect.processing.write":"Writing config to game.json…","subpackageCollect.processing.clear":"Clearing old config before collecting again…","subpackageCollect.processing.cancel":"Canceling collection and clearing config…","subpackageCollect.success.title":"Config written","subpackageCollect.success.empty":"No subpackages were written for this entry.","subpackageCollect.failed.title":"Collection failed","subpackageCollect.error.generic":"Failed to write config. Please retry.","ia.revisit.panel.modeName":"Launch mode","ia.revisit.panel.scene":"Scene","ia.revisit.panel.launchParams":"Launch params","ia.revisit.panel.package":"Package","ia.revisit.panel.signal":"Reward check","ia.revisit.sidebar.panel.title":"Quickly create a sidebar-revisit debug mode","ia.revisit.sidebar.panel.desc":"This creates a dedicated `Sidebar revisit` launch mode for you. Once selected, scanning in already simulates a session opened from the sidebar entry, so you can directly debug `getEntranceMissionReward` and reward delivery without an extra jump step.","ia.revisit.sidebar.panel.modeValue":"Simulate launch under the sidebar-revisit scene","ia.revisit.sidebar.panel.generatedModeName":"Sidebar revisit debug mode","ia.revisit.sidebar.panel.signalValue":"`startEntranceMission` / `getEntranceMissionReward`","ia.revisit.sidebar.panel.createQr":"Create sidebar-revisit debug QR","ia.revisit.shortcut.panel.title":"Quickly create a shortcut-revisit debug mode","ia.revisit.shortcut.panel.desc":"This creates a dedicated `Desktop Shortcut` launch mode for you. Once selected, scanning in already simulates a session opened from the desktop shortcut entry, so you can directly debug `getShortcutMissionReward` / `canReceiveReward` and reward delivery without adding the shortcut first.","ia.revisit.shortcut.panel.modeValue":"Simulate launch under the desktop-shortcut scene","ia.revisit.shortcut.panel.generatedModeName":"Shortcut revisit debug mode","ia.revisit.shortcut.panel.signalValue":"`addShortcut` / `getShortcutMissionReward` / `canReceiveReward`","ia.revisit.shortcut.panel.createQr":"Create shortcut-revisit debug QR","ia.directPlay.versionNotice":"Direct-play stage 2 debugging requires client version 45.4.0 or later. Confirm the client version first before using preview-QR-related capabilities.","ia.directPlay.stage1.title":"Stage 1: debug the game package itself","ia.directPlay.stage1.desc":"This stage only debugs the mini game package itself. TT Feed presentation, forced insertion, and the `Play now` handoff are out of scope. Use the direct-play scene to generate a launch QR code and confirm the package can start and run normally.","ia.directPlay.stage1.ready":"Direct-play scene ready","ia.directPlay.stage1.notReady":"Need to apply direct-play scene","ia.directPlay.stage1.modeName":"Launch mode","ia.directPlay.stage1.modeValue":"Simulate launch under the direct-play scene","ia.directPlay.stage1.generatedModeName":"Direct-play package debug mode","ia.directPlay.stage1.scene":"Scene","ia.directPlay.stage1.package":"Package","ia.directPlay.stage1.queries":"Queries","ia.directPlay.stage1.apply":"Apply direct-play scene","ia.directPlay.stage1.openHome":"Open Home with this mode","ia.directPlay.stage1.createQr":"Create package debug QR","ia.directPlay.stage1.appliedTitle":"Direct-play scene applied","ia.directPlay.stage1.appliedDesc":"The current launch mode now uses the direct-play scene. You can continue scanning from Home or fine-tune it in Launch mode.","ia.directPlay.stage2.title":"Stage 2: generate preview QR","ia.directPlay.stage2.desc":"After the game package itself is stable, pick a direct-play card and a preview code version, then generate a platform preview QR code to validate the card presentation and handoff path.","ia.directPlay.stage2.banner":"This stage is only for direct-play-card preview and handoff verification. If the game package itself is still unstable, go back to stage 1 first.","ia.directPlay.stage2.cardSelect":"Select direct-play card","ia.directPlay.stage2.assetSelect":"Select preview code version","ia.directPlay.stage2.selectedCard":"Selected card","ia.directPlay.stage2.selectedAsset":"Selected preview code version","ia.directPlay.stage2.cardName":"Card name: ","ia.directPlay.stage2.cardContentId":"Content ID: ","ia.directPlay.stage2.cardDesc":"Card description: ","ia.directPlay.stage2.cardScenario":"Scenario: ","ia.directPlay.stage2.cardStatus":"Review status: ","ia.directPlay.stage2.cardStatus.approved":"Approved","ia.directPlay.stage2.cardStatus.pending":"Available after backend review","ia.directPlay.stage2.cardPackage":"Launch package: ","ia.directPlay.stage2.cardQueries":"Queries: ","ia.directPlay.stage2.assetGroup":"Code version group: ","ia.directPlay.stage2.assetFile":"File: ","ia.directPlay.stage2.assetVersion":"Version: ","ia.directPlay.stage2.assetSize":"Size: ","ia.directPlay.stage2.assetUploaded":"Uploaded at: ","ia.directPlay.stage2.assetGroup.preview":"Preview code version","ia.directPlay.stage2.assetGroup.live":"Live code version","ia.directPlay.stage2.assetGroup.review":"In-review code version","ia.directPlay.stage2.emptyCard":"No direct-play card is available yet.","ia.directPlay.stage2.emptyAsset":"No game asset is available yet.","ia.directPlay.stage2.generate":"Generate preview QR","ia.directPlay.stage2.refresh":"Refresh data","ia.directPlay.stage2.previewUrl":"Preview URL","ia.directPlay.stage2.copy":"Copy URL","ia.directPlay.stage2.open":"Open preview","ia.directPlay.stage2.qrDesc":"Use TikTok to scan this code inside Feed and experience the direct-play-card flow.","ia.directPlay.stage2.copyTitle":"Preview URL copied","ia.directPlay.stage2.copyDesc":"The preview URL has been copied to the clipboard.","ia.directPlay.stage2.selectRequired":"Please select both a direct-play card and a game asset first.","ia.directPlay.stage2.loadCardsFailed":"Failed to load direct-play cards.","ia.directPlay.stage2.loadAssetsFailed":"Failed to load game assets.","ia.directPlay.stage2.loadResourcesFailed":"Failed to load direct-play debugging resources.","ia.directPlay.stage2.previewFailed":"Failed to generate the direct-play preview URL.","ia.directPlay.stage2.modeSelect":"Use existing card","ia.directPlay.stage2.modeCreate":"Create card","ia.directPlay.stage2.create.title":"Create direct-play card","ia.directPlay.stage2.create.desc":"Create a new direct-play card directly in the debug tool. After it succeeds, the list will refresh and the new card will be selected automatically.","ia.directPlay.stage2.create.option":"+ Create direct-play card","ia.directPlay.stage2.create.cardName":"Card name","ia.directPlay.stage2.create.cardNamePlaceholder":"Example: Send reward card for xx game","ia.directPlay.stage2.create.cardDesc":"Card description","ia.directPlay.stage2.create.cardDescPlaceholder":"Example: Send 1000 coins to recall players","ia.directPlay.stage2.create.cardType":"Card type","ia.directPlay.stage2.create.cardType.fixed":"Fixed card","ia.directPlay.stage2.create.cardType.dynamic":"Dynamic card","ia.directPlay.stage2.create.cardType.dynamicDesc":"Dynamic card: the platform provides a server API so developers can push in-game events and campaign reminders dynamically, such as stamina recovery or event start reminders.","ia.directPlay.stage2.create.cardType.fixedDesc":"Fixed card: integrated with fixed client-side logic, such as recalling users with a gift pack by the same rule each time.","ia.directPlay.stage2.create.scenario":"Scenario","ia.directPlay.stage2.create.scenarioPlaceholder":"Example: recover_stamina","ia.directPlay.stage2.create.scenario.rewardIssue":"Reward issue reward_issue","ia.directPlay.stage2.create.scenario.recoverStamina":"Stamina recovery recover_stamina","ia.directPlay.stage2.create.scenario.unlockLevel":"Unlock level unlock_level","ia.directPlay.stage2.create.subPkg":"Launch package","ia.directPlay.stage2.create.params":"Queries","ia.directPlay.stage2.create.paramsPlaceholder":"Example: a=1&b=constant","ia.directPlay.stage2.create.submit":"Create and select card","ia.directPlay.stage2.create.success":"The direct-play card was created and selected automatically.","ia.directPlay.stage2.create.failed":"Failed to create the direct-play card.","ia.directPlay.stage3.title":"Stage 3: manage direct-play card status","ia.directPlay.stage3.desc":"After the stage 2 preview is verified, publish or unpublish the currently selected direct-play card to control whether the live direct-play Feed path uses it.","ia.directPlay.stage3.banner":"Publishing or unpublishing changes the live status of the currently selected direct-play card. Confirm the stage 2 preview QR code before publishing.","ia.directPlay.stage3.selectedCard":"Current card publish status","ia.directPlay.stage3.emptyCard":"Select a direct-play card in stage 2 first.","ia.directPlay.stage3.publishStatus":"Publish status: ","ia.directPlay.stage3.cardStatus.online":"Published","ia.directPlay.stage3.cardStatus.notOnline":"Not published","ia.directPlay.stage3.publish":"Publish direct-play card","ia.directPlay.stage3.published":"Published","ia.directPlay.stage3.offline":"Unpublish direct-play card","ia.directPlay.stage3.confirmTitle":"Publish direct-play card {{name}} ({{contentId}})?","ia.directPlay.stage3.offlineConfirmTitle":"Unpublish direct-play card {{name}} ({{contentId}})?","ia.directPlay.stage3.selectRequired":"Select a direct-play card in stage 2 first.","ia.directPlay.stage3.publishSuccess":"The direct-play card has been published and the latest status was refreshed.","ia.directPlay.stage3.publishFailed":"Failed to publish the direct-play card.","ia.directPlay.stage3.offlineSuccess":"The direct-play card has been unpublished and the latest status was refreshed.","ia.directPlay.stage3.offlineFailed":"Failed to unpublish the direct-play card.","ia.overview.eyebrow":"Capability Map","ia.overview.title":"Capability Access","ia.overview.desc":"Choose a monetization model or a capability below. Labels are business integration guidance; verify platform upload and review requirements separately.","ia.overview.groups.title":"Capability overview","ia.overview.groups.desc":"Browse login, monetization, revisit, sharing, and foundational capabilities.","ia.overview.keyCapabilities.title":"Key capabilities","ia.overview.keyCapabilities.desc":"These capabilities do not change with monetization mode, so expand them only when needed.","ia.overview.baseline.title":"Baseline prerequisites","ia.overview.baseline.desc":"These states affect most capability flows, so it is worth clearing obvious blockers here before diving into a specific module.","ia.overview.stat.capabilities":"Capabilities","ia.overview.stat.groups":"Groups","ia.overview.stat.prerequisites":"Prerequisites","ia.overview.sectionLabel":"Capability group","ia.overview.section.capabilityUnit":"capabilities","ia.monetization.title":"Choose monetization model","ia.monetization.desc":"Review the corresponding capability combination and debugging focus based on the current monetization model of the mini game.","ia.monetization.meta.required":"Required","ia.monetization.meta.optional":"Optional","ia.monetization.meta.support":"Supporting","ia.monetization.meta.experimental":"Experimental","ia.monetization.core.title":"Core capabilities","ia.monetization.recommended.title":"Recommended capability combination","ia.requirement.required":"Required","ia.requirement.optional":"Optional","ia.requirement.recommended":"Recommended","ia.requirement.basic":"Core","ia.requirement.experimental":"Experimental","ia.overview.section.experience.title":"Experience and adaptation","ia.overview.section.experience.desc":"This group is about cross-device consistency, especially safe areas, capsule-button layout, and the usability of key action regions.","ia.overview.section.ui.title":"UI adaptation","ia.overview.section.ui.desc":"This group focuses only on cross-device UI consistency, especially screen size, safe area, capsule-button layout, and key action visibility.","ia.overview.section.performance.title":"Performance","ia.overview.section.performance.desc":"Tools that shrink bundle size, speed up startup, and improve runtime performance. Opt in per capability; more optimizations will land here in upcoming releases.","ia.env.title":"Prerequisite baseline","ia.env.desc":"Surface the three easiest blockers first so the entry flow does not look ready while the actual capability path is still blocked.","ia.map.title":"Capability map","ia.map.desc":"Each card represents one integration path. Start with the overview, then enter a dedicated page for customized debugging guidance.","ia.action.openGuide":"Open integration guide","ia.detail.notFound":"The requested capability guide was not found.","ia.detail.backToMap":"Back to previous page",languageSwitcherLabel:TZ,langChinese:EZ,langEnglish:xZ},$Z="尚未接入 {{api}}。请在提审前完成接入。",RZ="页面语言已切换,但 CLI 语言设置保存失败。请重新选择该语言以重试。",OZ="正在压缩预处理文件",NZ="导入或导出与 ttmg dev --launch-config ttmg.launch.json 共用的配置。包含场景、分包、query 和调试设置,不包含账号凭据。",AZ="导入配置",LZ="导出配置",MZ="保存后生效的导入配置与调试设置",jZ="启动配置无效,请检查格式、query、调试设置及本项目声明的独立分包。",FZ="未检出 API 调用(静态检查)",GZ="检出 API 调用(静态检查)",WZ="DevTool",zZ="扫码开始本地调试",qZ="设备连接成功",UZ="调试服务已断开连接",BZ="未连接设备",HZ="Node",VZ="浏览器",KZ="调试页面",QZ="客户端",XZ="已连接",YZ="未连接",JZ="连接失败",ZZ="未知",eee="节点说明",tee="本机启动的调试服务(负责与调试页面、客户端建立通道并转发调试消息)",nee="当前打开 DevTool 的调试页面",ree="真机上的 TikTok 客户端调试服务(提供 HTTP/WS 能力)",iee="点表示该链路的连通状态;同一条边上 ws/http 分别显示在两侧以便区分",aee="网络诊断",oee="网络连接诊断",see="定位扫码卡住、连接失败和端口不可达。",lee="扫码没响应?点击这里进行诊断处理",cee="网络诊断",uee="TikTok 扫码无响应、局域网不通或代理复杂时,可先在这里快速定位问题。",dee="打开诊断",pee="一键检测",gee="手动连接",hee="手动绑定客户端调试服务",mee="当扫码链路不可用(代理/防火墙/多网卡)时,可通过手动填写客户端 IP 与端口进行连接。",fee="手动指定客户端地址",yee="进入手动连接",vee="当前结论",See="尚未开始检测",bee="先检测本地服务、客户端 HTTP 和客户端 WS,确定卡点在哪一段。",wee="点击一键检测,或先填写客户端地址后再检测。",Cee="正在检测链路",kee="正在检查本地服务、客户端 HTTP 和客户端 WS。",Pee="完成后查看下方检测结果。",Dee="缺少客户端地址",_ee="当前没有客户端 IP / HTTP / WS 端口,无法判断手机侧链路。",Tee="本地调试服务不可用",Eee="调试页面无法访问本地 Node 服务,请先确认 `ttmg dev` 正在运行。",xee="调试页面无法连接本地 Node WebSocket,请确认本地调试服务已启动完成。",Iee="客户端链路不可达",$ee="本地服务正常,但调试页面访问手机端 HTTP 和 WS 都超时,卡点在手机侧链路或客户端调试服务。",Ree="客户端 WS 不可达",Oee="客户端 HTTP 可访问,但 WS 超时,优先检查 WS 端口和客户端监听状态。",Nee="网络链路正常",Aee="本地服务和客户端 HTTP / WS 均可达,可返回扫码调试继续排查上层逻辑。",Lee="检测结果不完整",Mee="当前结果未命中典型故障,请核对客户端地址和端口后重新检测。",jee="确认客户端 IP、HTTP 端口、WS 端口与加载页一致。",Fee="电脑端 IP",Gee="WS 端口",Wee="HTTP 端口",zee="电脑端",qee="客户端",Uee="查看排错指南",Bee="打开代理配置",Hee="环境信息",Vee="展开查看本机和客户端地址。",Kee="检测结果",Qee="保留链路证据,便于确认问题发生在哪一段。",Xee="调试页面 ↔ Node(HTTP)",Yee="调试页面 ↔ Node(WS)",Jee="调试页面 ↔ 客户端(HTTP)",Zee="调试页面 ↔ 客户端(WS)",ete="诊断建议",tte="先按下面的建议处理,再回到上方重新检测,确认问题是否已经收敛。",nte="操作区域",rte="补充信息:如果连接成功,可返回扫码调试页面继续调试。",ite="手动连接已写入当前环境,并已自动触发完整检测。",ate="手动连接已提交,但快速连通性检查失败:",ote="扫码未带回地址或端口不一致时,填写客户端 IP / HTTP / WS 后重新检测。",ste="下一步",lte="诊断结果",cte="建议处理",ute="填写地址",dte="先补齐客户端 IP、HTTP 端口和 WS 端口,再保存并检测当前链路是否可达。",pte="返回扫码调试",gte="当前核心网络链路可达,可以回到首页重新扫码或继续当前调试流程。",hte="重启后重新检测",mte="请先确认 `ttmg dev` 正在运行,必要时重启本地调试服务,然后重新检测。",fte="重新检测当前环境,确认问题是否已经收敛。",yte="展开",vte="收起",Ste="查看文档",bte="未检测到客户端调试地址",wte="扫码连接,或填写客户端 IP / HTTP / WS 端口。",Cte="客户端连通失败(多为局域网/代理/防火墙问题)",kte="请确认手机与电脑同一 Wi‑Fi/网段;关闭全局代理/关闭 TUN;代理开启 Allow LAN;检查系统防火墙是否放行 Node.js。",Pte="本地调试服务不可用",Dte="请确认已在项目根目录运行 `ttmg dev`,且端口未被占用。",_te="如刚改过网络或代理配置,建议回到项目根目录重新执行 `ttmg dev`。",Tte="确认手机停留在调试加载页,客户端调试服务已开启,端口与加载页一致。",Ete="确认手机和电脑在同一 Wi-Fi / 网段;如使用代理,开启 Allow LAN,并检查 VPN/TUN 与防火墙。",xte="确认 WS 端口正确且正在监听;若仍超时,检查防火墙、路由策略或 VPN/TUN。",Ite="未发现明显异常",$te="若仍然连接失败,请将本页“复制环境信息”和报错截图发到群里协助排查。",Rte="HTTP 可达但 WS 不可达:优先检查 WS 端口是否正确、客户端调试服务是否在监听该端口。",Ote="若 WS 超时:多为端口被防火墙/路由策略拦截,或电脑开了全局代理/TUN 影响局域网。",Nte="HTTP 与 WS 均不可达:优先检查手机与电脑是否同一 Wi‑Fi/网段(公司网络可能有 AP 隔离)。",Ate="关闭全局 VPN/TUN,代理需开启 Allow LAN;检查防火墙是否放行局域网访问。",Lte="仍失败时,将手机网络代理到电脑网络后重新扫码。",Mte="当前未拿到客户端 HTTP 地址或端口",jte="当前未拿到客户端 WS 地址或端口",Fte="待检测",Gte="检测中",Wte="需确认",zte="等待检测",qte="检测中...",Ute="网络可达",Bte="提示",Hte="如果电脑能 ping 通手机但 WS 连不上,通常是端口未监听或被防火墙/策略拦截(ICMP 与 TCP/WS 条件不同)。",Vte="客户端连接已断开,请重新扫码连接",Kte="Node 服务连接中断,请在终端重启调试服务",Qte="切换调试设备",Xte="无设备连接",Yte="请先连接设备后再进行调试",Jte="使用 TikTok 扫码调试",Zte="切换扫码设备",ene="正在初始化调试环境...",tne="通知客户端初始化调试环境...",nne="获取客户端调试环境配置中...",rne="获取客户端调试环境配置失败",ine="客户端调试环境配置获取成功",ane="客户端调试环境初始化成功,等待上传游戏资源包...",one="客户端调试环境初始化失败",sne="初始化 JS 运行时环境中...",lne="JS 运行时环境初始化成功",cne="重新上传代码包",une="正在上传游戏资源包...",dne="游戏资源包上传中",pne="正在传输到客户端,完成后会自动启动游戏。",gne="游戏资源包上传成功,客户端准备启动游戏...",hne="游戏资源包上传失败,请检查环境配置",mne="正在初始化游戏环境...",fne="游戏资源正在本地编译,请稍候...",yne="游戏资源编译中",vne="游戏资源已更新,是否重新上传进行调试?",Sne="游戏资源更新成功!",bne="游戏环境初始化失败,请检查当前环境",wne="正在获取游戏调试环境配置",Cne="游戏环境配置获取成功",kne="游戏环境配置获取失败",Pne="正在获取游戏脚本",Dne="浏览器调试环境初始化成功,上传游戏资源后将自动启动游戏",_ne="游戏运行环境初始化成功,准备上传资源至客户端",Tne="正在上传游戏包至客户端",Ene="游戏包上传成功,客户端正在加载游戏...",xne="游戏包上传失败",Ine="重新上传小游戏包",$ne="重新启动小游戏",Rne="结束调试",One="正在启动调试环境...",Nne="本地 Node 调试服务连接失败",Ane="正在连接本地 Node 调试服务...",Lne="本地 Node 调试服务连接成功",Mne="本地 Node 调试服务连接失败,请确认已在游戏根目录下运行 ttmg dev",jne="Node 调试服务已断开,请在终端重启调试服务",Fne="客户端调试服务连接成功",Gne="客户端调试服务连接失败,请重新扫码开启调试服务",Wne="客户端调试服务已断开,请重新扫码连接",zne="当前网络无法用于手机扫码",qne="本地调试服务已启动,但电脑没有可供手机访问的局域网地址。请确认手机与电脑连接同一网络;使用 VPN 或代理时,请开启局域网访问。",Une="设置连接地址",Bne="客户端调试环境启动失败,请重新扫码连接",Hne="游戏脚本加载失败",Vne="上传至手机",Kne="暂不上传",Qne="上传至平台",Xne="正在扫描二维码...",Yne="可切换设备扫码开启新的调试会话",Jne="请确保您的 TikTok 账号已添加为调试应用的测试用户",Zne="未登录",ere="启动模式名称",tre="选择启动包",nre="选择独立分包",rre="选择进入场景",ire="自定义启动参数",are="示例:a=1&b=2",ore="查询参数必须是字符串类型",sre="搜索",lre="异形卡",cre="达人视频",ure="聊天分享",dre="链接访问",pre="消息通知",gre="首包",hre="查询参数不应包含问号(?)前缀,请只输入参数部分",mre=`查询参数格式错误:发现空的键值对片段。请确保每个 '&' 符号两侧都有完整的 "key=value" 结构。`,fre="独立分包",yre="自定义启动模式",vre="不能为空",Sre="保存",bre="当前启动模式",wre="新建启动模式",Cre="扫码使用",kre="选择调试模式",Pre="远程调试",Dre="真机预览",_re="真机调试",Tre="应用",Ere="本地 Node 调试服务配置信息获取成功",xre="获取本地调试服务配置信息失败,请检查 Node 服务是否正常启动",Ire="正在加载调试环境依赖脚本资源",$re="依赖脚本资源加载成功",Rre="依赖脚本资源加载失败,请重新扫码开启调试服务",Ore="依赖脚本内容为空,请重新扫码开启调试服务",Nre="依赖脚本资源加载并初始化成功",Are="游戏资源编译成功!请使用手机扫码调试。",Lre="游戏资源编译成功!",Mre="开始调试",jre="开始调试",Fre="扫码连接,开始调试",Gre="选择启动模式,使用 TikTok 客户端扫码即可在真机或浏览器中预览小游戏。",Wre="设备已连接,调试进行中",zre="已与 TikTok 客户端建立连接,可在真机或浏览器中预览小游戏;如需切换设备,重新扫码即可开启新的调试会话。",qre="项目概览",Ure="在本地调试阶段,您可以快速查看当前小游戏的基本信息,包括:游戏名称、图标、Client key、描述、整包大小、首包大小、独立分包大小、信任域名、服务条款、隐私政策等。",Bre="通过提前检查这些核心信息,能够及时发现潜在问题,确保在正式发布前,项目状态符合平台要求,减少上线后的风险和返工。",Hre="启动模式",Vre="上传发布",Kre="默认启动模式",Qre="新建启动模式",Xre="未超过项目大小 {{limit}} 限制",Yre="未超过首包大小 {{limit}} 限制",Jre="未超过独立分包大小 {{limit}} 限制",Zre="超过项目大小 {{limit}} 限制",eie="超过首包大小 {{limit}} 限制",tie="超过独立分包大小 {{limit}} 限制",nie="通过设置启动模式,您可以灵活选择游戏的调试模式、启动包、进入场景以及启动参数,满足不同测试和上线需求。请根据实际需求完成相关配置,确保游戏能够正常启动并进入预期场景。",rie="3. 配置文件检查",iie="确保分包文件路径配置正确,所有路径都能正常访问,避免后续加载失败。",aie="1. 包体大小检查",oie="整个游戏包大小需控制在 {{projectSize}} 以内,首包大小不能超过 {{mainPackageSize}},独立分包大小不能超过 {{independentPackageSize}}。",sie="整个游戏包大小需控制在 {{projectSize}} 以内,无其他额外限制。",lie="2. 必接能力检查",cie="静态检查只检测代码中的 API 调用,不验证真机执行、登录、广告、支付是否成功,也不验证平台配置。",uie="配置文件检查通过",die="包体大小检查通过",pie="包体大小检查失败",gie="配置文件检查失败",hie="性能检查",mie="性能检查通过",fie="性能检查未通过",yie="查看文档",vie="展开",Sie="收起",bie="游戏项目",wie="游戏首包",Cie="开发者选项",kie="调试时允许请求未在平台配置的域名。",Pie="使用模拟广告结果调试广告场景。",Die="支付结果走沙盒环境,便于调试支付结果相关场景。",_ie="开启广告 Mock",Tie="开启支付 Mock",Eie="📢 发送本地调试设至客户端...",xie="确定要删除{{name}}启动模式吗?",Iie="游戏名称",$ie="游戏图标",Rie="Client key",Oie="游戏描述",Nie="游戏大小",Aie="首包大小",Lie="独立分包大小",Mie="信任域名",jie="Terms & Privacy",Fie="Terms & Privacy - Terms URL",Gie="Terms & Privacy - Privacy URL",Wie="Terms of Service URL",zie="Privacy policy URL",qie="确保所有可能触发网络请求的域名都已添加到信任域名列表中,避免因域名未配置而导致的网络请求失败。",Uie="确认 Terms & Privacy(Terms URL)已填写且有效,用户在使用游戏时需要同意相关条款。",Bie="确认 Terms & Privacy(Privacy URL)已填写且有效,用户在使用游戏时需要同意相关条款。",Hie="查询参数格式错误:{{pair}} 缺少等号(=)或值为空。请使用 key=value 格式,且值不能为空。",Vie="查询参数格式错误:键不能为空。发现 {{pair}}",Kie="查询参数中发现重复的键:{{key}}。每个键必须是唯一的。",Qie="查询参数格式错误:键 {{key}} 包含无效字符。请只使用字母、数字、下划线(_)和短横线(-)。",Xie="查询参数格式错误:值 {{value}} 包含无效字符。请只使用字母、数字、下划线(_)和短横线(-)。",Yie="查询参数格式错误:键值对 {{pair}} 包含无效的 URL 编码字符。请使用正确的编码格式。",Jie="获取游戏详情失败,请稍后重试。",Zie="当前账号未登录,无法获取游戏详情。请先在控制台执行 【ttmg login】命令,使用开发者平台账号登录后,再运行 【ttmg dev】 命令以开启调试模式。",eae="你可以通过在控制台输入 `ttmg login` 命令,并使用开发者平台的账号和密码进行登录。",tae="文档",nae="快速开始",rae="API 参考",iae="错误代码参考",aae="常见问题",oae="上传",sae="取消",lae="版本说明",cae="上传成功",uae="上传失败",dae="成功上传游戏资源到平台,平台会对资源进行校验并部署,去平台查看上传后的预览版本。",pae="去平台查看",gae="只有在命令行完成登录后,调试页面的游戏包上传功能才可使用。请先在控制台执行 `ttmg login`,使用开发者平台账号登录后,再运行 `ttmg dev` 命令以开启调试模式。",hae="上传当前游戏包至平台",mae="当前尚未在平台设置信任域名。只有已填写到平台列表中的域名,才允许在运行时发起网络请求;如果游戏会请求外部域名,请按需补充对应配置。",fae="调试环境脚本初始化失败,请扫码重试",yae="游戏资源上传失败,请扫码重试",vae="当前游戏未配置 Terms & Privacy(Terms URL)。login/authorize 能力依赖该配置,缺失时会导致开发调试失败,请先在平台补充该 URL。",Sae="当前游戏未配置 Terms & Privacy(Privacy URL)。login/authorize 能力依赖该配置,缺失时会导致开发调试失败,请先在平台补充该 URL。",bae="当前游戏未配置 Terms & Privacy(Terms URL 和 Privacy URL)。login/authorize 能力依赖这两个配置,缺失时会导致开发调试失败,请先在平台补充对应 URL。",wae="当前尚未在平台设置 Terms & Privacy(Terms URL)。请确保在游戏上线前补充该 URL,以保护用户权益。",Cae="当前尚未在平台设置 Terms & Privacy(Privacy URL)。请确保在游戏上线前补充该 URL,以保护用户权益。",kae="当前尚未在平台配置游戏名称。请在提审前完成补充,避免审核阶段被拒审。",Pae="当前尚未在平台配置游戏图标。请在提审前完成补充,避免审核阶段被拒审。",Dae="当前尚未在平台配置游戏描述。请确保在游戏上线前,在平台完成描述填写,以保证可以顺利发布。",_ae="开始连接客户端 WebSocket 服务,👉👉👉 {{wsURL}}...",Tae="客户端 WebSocket 服务连接超时,检查电脑和手机是否在同一局域网下",Eae="当前账号未登录,无法获取游戏详情。请先在控制台执行 `ttmg login` 命令,使用开发者平台账号登录后,再运行 `ttmg dev` 命令以开启调试模式。",xae="当前账号登录过期,请重新登录。",Iae="当前游戏 ID {{clientKey}} 不存在,无法正常开启调试,请检查修改后重试。",$ae="当前账号无权限查看 ID {{clientKey}} 游戏详情,请在开发者平台申请此游戏的开发权限后,再运行 `ttmg dev` 命令以开启调试模式。",Rae="终端没有连到 TikTok 开发者平台,Trust Domain、Terms、Privacy 等平台配置无法拉取。请确认 VPN/代理已对终端生效,或配置 `ttmg config set proxy ...` 后重新启动调试。",Oae="获取游戏详情失败,请稍后重试。",Nae="用户静默登录",Aae="激励视频广告",Lae="添加桌面快捷方式",Mae="获取桌面快捷方式奖励",jae="跳转到个人主页侧边栏",Fae="获取个人主页侧边栏奖励",Gae="已集成!",Wae="未集成!",zae="必接能力检查通过",qae="必接能力检查未通过",Uae="调试环境已完成初始化,在浏览器控制台中查看日志进行游戏开发与调试...",Bae="调试环境已初始化,通过客户端 vConsole 日志面板查看日志进行游戏开发与调试...",Hae="开始向客户端发送游戏元数据,完成后客户端将开始启动游戏...",Vae="向客户端发送游戏元数据成功,客户端将开始启动游戏...",Kae="1. 浏览器远程调试:先在浏览器中初始化远程调试环境,客户端连接后即可开始调试。此模式下需要将代码包上传到客户端,但调试过程基于浏览器的能力进行远程调试。",Qae="2. 客户端真机预览:将本地的游戏代码上传到客户端,在真实设备上进行预览与调试,直接验证真机表现与兼容性。",Xae="手动绑定客户端调试服务地址",Yae="无效的端口号,请输入正确的端口号",Jae="若扫码长时间无响应,手动绑定客户端调试服务",Zae="确认",eoe="请输入手机端 IP 地址",toe="开始上传",noe="去检查",roe="检查网络",ioe="1. 支持手动连接客户端调试服务,用于解决因手机与电脑处于不同网络/代理环境而导致的连接失败问题。",aoe="2. 手动连接客户端调试服务仅支持 TikTok Android 42.9 及以上版本;iOS 暂不支持。",ooe="返回",soe="开始连接",loe="确认连接",coe="请填写客户端加载页展示的 IP、HTTP 端口和 WS 端口。确认后调试页面会立即保存并尝试连接客户端调试服务。",uoe="检测连通性",doe="连通性检测结果",poe="客户端 WebSocket",goe="客户端 HTTP",hoe="可用",moe="不可用",foe="超时",yoe="连接失败",voe="请先填写 IP 和端口",Soe="上传之前先填写当前游戏包描述",boe="展示 vConsole",woe="展示开发信息面板",Coe="关闭域名校验",koe="在客户端查看 vConsole 运行日志。",Poe="在客户端查看开发信息与运行统计。",Doe="‼️ 检测到 {{count}} 条问题,每条已标注为「卡点」或「建议」。",_oe="卡点",Toe="建议",Eoe="当前游戏缺少基础信息:{{fields}}。",xoe="标题(Name)",Ioe="图标(Icon)",$oe="描述(Description)",Roe="、",Ooe="当前未登录开发者账号:上传功能不可用,且网络请求可能被拦截。若需临时联调,请在开发者选项中关闭域名校验。",Noe="请在提审之前完成问题处理,避免审核阶段被拒审。",Aoe="查看详情",Loe="收起详情",Moe="需要立即处理",joe="建议处理",Foe="终端代理未生效",Goe="账号缺少开发权限",Woe="开发者登录态不可用",zoe="Client Key 无法识别",qoe="去申请开发权限",Uoe="前往开发者平台",Boe="查看其他 {{count}} 条问题",Hoe="切换为深色主题",Voe="切换为浅色主题",Koe="新增功能",Qoe="功能优化",Xoe="问题修复",Yoe="了解如何使用",Joe="更新记录",Zoe="有更新",ese="查看 DevTool 每个版本带来的新功能、优化与修复",tse="新增/优化功能适用 TikTok 版本",nse="Wasm 分包",rse="分包预处理",ise="收集函数",ase="代码分包",ose="回滚分包",sse="分包失败",lse="正在写入分包产物...",cse="重试",use="正在发起分包预处理...",dse="取消分包预处理",pse="后台运行",gse="分包预处理中,需要一些时间...",hse="期间请不要修改本地游戏包体,否则会造成分包预处理失败",mse="分包预处理成功!",fse="分包预处理失败!",yse="请点击重试",vse="下载预处理文件",Sse="下载失败",bse="请点击重试",wse="下载成功",Cse="下载预处理文件后,即可在本地进行代码分包。",kse="分包描述",Pse="请输入分包描述",Dse="开始预处理",_se="正在处理...",Tse="获取下载 URL",Ese="获取下载 URL 成功",xse="获取下载 URL 失败",Ise="下载预处理文件成功",$se="下载预处理文件失败",Rse="更新 Wasm 分包配置",Ose="更新 Wasm 分包配置成功",Nse="更新 Wasm 分包配置失败",Ase="压缩预处理文件成功",Lse="压缩预处理文件失败",Mse="写入压缩预处理文件",jse="写入压缩预处理文件成功",Fse="写入压缩预处理文件失败",Gse="开始分包",Wse="已收集函数数需达到总函数数的 8% 以上才能分包,请继续游玩直至覆盖首屏与核心流程",zse="当前本地项目已经支持 wasm 分包,请用 TikTok 客户端扫描二维码,开始收集函数,请支持完成加载环节、游戏教学等前期内容。",qse="设备已连接 · 正在收集函数",Use="请在已连接的设备上完成加载、游戏教学等前期流程,DevTool 会持续记录被调用的函数。覆盖首屏与核心流程后即可开始分包。",Bse="开始收集函数",Hse="正在开启收集会话...",Vse="已恢复上次的收集进度,已收集的函数不会丢失。",Kse="Wasm 文件大小",Qse="总函数数量",Xse="当前收集函数数量",Yse="分包版本号",Jse="分包处理中,可能需要一些时间,请在分包处理完成后点击下载分包。",Zse="取消分包",ele="分包处理成功,开始获取下载结果...",tle="重试获取下载结果",nle="获取下载结果失败,请点击重试。",rle="分包处理成功!",ile="下载分包文件",ale="分包下载失败,请点击重试。",ole="重试下载分包文件",sle="分包下载成功!",lle="本地可使用真机扫描调试二维码,体验分包后的加载流程,确认游戏无异常后,可将当前目录下的文件上传至开发者平台,进行测试和发布",cle="正在下载安卓分包主文件...",ule="下载安卓分包主文件成功",dle="正在压缩安卓分包主文件...",ple="压缩安卓分包主文件成功",gle="正在下载安卓分包代码...",hle="下载安卓分包代码成功",mle="正在压缩安卓分包代码...",fle="压缩安卓分包代码成功",yle="正在下载 iOS 分包主文件...",vle="下载 iOS 分包主文件成功",Sle="正在压缩 iOS 分包主文件...",ble="压缩 iOS 分包主文件成功",wle="正在下载 iOS 分包代码...",Cle="下载 iOS 分包代码成功",kle="正在压缩 iOS 分包代码...",Ple="压缩 iOS 分包代码成功",Dle="正在写入分包文件...",_le="写入分包文件成功",Tle="正在更新分包配置...",Ele="更新分包配置成功",xle="未发现 Wasm 代码包",Ile="未在项目中发现 wasmcode/[hash].webgl.wasm.code.unityweb.wasm.br 文件,请先通过游戏引擎打包项目后再进行 Wasm 分包操作。",$le="当前项目已完成 Wasm 分包,可直接压缩当前代码包后上传至平台",Rle="可基于当前结果直接压缩上传;如需放弃本次分包重新开始,点下方「放弃分包」。",Ole="放弃分包",Nle="当前项目未开启 Wasm 分包功能",Ale="当前项目未开启 Wasm 分包功能,请先在项目配置中开启后再进行操作。",Lle="深度指南",Mle="能力接入",jle="收集子包",Fle="语言",Gle="简体中文",Wle="English",zle={"performance.back":"返回性能优化",checkApiNotIntegrated:$Z,languageSaveFailed:RZ,compressPreparedWasmCode:OZ,"uploadGame.summary.failedTitle":"项目检查未通过","uploadGame.summary.checkingDesc":"正在检查包体积、配置和 API 使用情况。","uploadGame.summary.checkingTitle":"正在检查项目","ia.requirement.conditional":"按业务需要",launchConfigHelp:NZ,launchConfigImport:AZ,launchConfigExport:LZ,launchConfigPending:MZ,launchConfigInvalid:jZ,apiStaticNotDetected:FZ,apiStaticDetected:GZ,title:WZ,scanQRcodeTitle:zZ,deviceConnected:qZ,serverDisconnected:UZ,deviceDisconnected:BZ,connectStatusNode:HZ,connectStatusBrowser:VZ,connectStatusDebugPage:KZ,connectStatusClient:QZ,connectStatusConnected:XZ,connectStatusDisconnected:YZ,connectStatusFailed:JZ,connectStatusUnknown:ZZ,connectStatusLegendTitle:eee,connectStatusLegendNode:tee,connectStatusLegendBrowser:nee,connectStatusLegendClient:ree,connectStatusLegendProto:iee,netDiagNav:aee,netDiagTitle:oee,netDiagSubtitle:see,netDiagEntryScanNoResponse:lee,netDiagEntryTitle:cee,netDiagEntryDesc:uee,netDiagEntryAction:dee,netDiagRunAll:pee,netDiagManualConnectAndCheck:gee,netDiagManualBindTitle:hee,netDiagManualBindDesc:mee,netDiagManualBindEntry:fee,netDiagManualConnectGo:yee,netDiagSummaryTitle:vee,netDiagSummaryIdleTitle:See,netDiagSummaryIdleDesc:bee,netDiagSummaryIdleHint:wee,netDiagSummaryRunningTitle:Cee,netDiagSummaryRunningDesc:kee,netDiagSummaryRunningHint:Pee,netDiagSummaryMissingClientTitle:Dee,netDiagSummaryMissingClientDesc:_ee,netDiagSummaryNodeTitle:Tee,netDiagSummaryNodeDesc:Eee,netDiagSummaryNodeWsDesc:xee,netDiagSummaryClientBothTitle:Iee,netDiagSummaryClientBothDesc:$ee,netDiagSummaryClientWsTitle:Ree,netDiagSummaryClientWsDesc:Oee,netDiagSummaryHealthyTitle:Nee,netDiagSummaryHealthyDesc:Aee,netDiagSummaryPartialTitle:Lee,netDiagSummaryPartialDesc:Mee,netDiagSummaryPartialHint:jee,netDiagEnvIP:Fee,netDiagEnvWsPort:Gee,netDiagEnvHttpPort:Wee,netDiagComputerGroup:zee,netDiagClientGroup:qee,netDiagOpenTroubleshoot:Uee,netDiagOpenProxy:Bee,netDiagEnvTitle:Hee,netDiagEnvSectionDesc:Vee,netDiagChecksTitle:Kee,netDiagCheckSectionDesc:Qee,netDiagCheckNodeHttp:Xee,netDiagCheckNodeWs:Yee,netDiagCheckClientHttp:Jee,netDiagCheckClientWs:Zee,netDiagSuggestTitle:ete,netDiagSuggestSectionDesc:tte,netDiagActionsTitle:nte,netDiagSuccessHint:rte,netDiagManualConnectResultSuccess:ite,netDiagManualConnectResultError:ate,netDiagManualSectionDesc:ote,netDiagNextStepTitle:ste,netDiagGuideEyebrow:lte,netDiagGuideStepsTitle:cte,netDiagActionManualConnect:ute,netDiagActionManualConnectDesc:dte,netDiagActionBackToScan:pte,netDiagActionBackToScanDesc:gte,netDiagActionRerunAfterRestart:hte,netDiagActionRerunAfterRestartDesc:mte,netDiagActionRunAllDesc:fte,netDiagExpand:yte,netDiagCollapse:vte,netDiagOpenDoc:Ste,netDiagSuggestNoClientTitle:bte,netDiagSuggestNoClientDesc:wte,netDiagSuggestLanTitle:Cte,netDiagSuggestLanDesc:kte,netDiagSuggestNodeTitle:Pte,netDiagSuggestNodeDesc:Dte,netDiagSuggestNodeRestart:_te,netDiagSuggestClientDebugService:Tte,netDiagSuggestLanAndProxy:Ete,netDiagSuggestWsBlocked:xte,netDiagSuggestOkTitle:Ite,netDiagSuggestOkDesc:$te,netDiagSuggestHttpOkWsFail1:Rte,netDiagSuggestHttpOkWsFail2:Ote,netDiagSuggestBothFail1:Nte,netDiagSuggestBothFail2:Ate,netDiagSuggestPhoneProxyFallback:Lte,netDiagMissingClientHttp:Mte,netDiagMissingClientWs:jte,netDiagStatusIdle:Fte,netDiagStatusRunning:Gte,netDiagStatusWarning:Wte,netDiagCheckIdleDetail:zte,netDiagCheckRunningDetail:qte,netDiagCheckReachableDetail:Ute,netDiagQuickHintTitle:Bte,netDiagQuickHintDesc:Hte,clientDisconnected:Vte,nodeDisconnected:Kte,switchDevice:Qte,disConnectionStatusTitle:Xte,disConnectionStatusDesc:Yte,scanQRCode:Jte,switchScanDevice:Zte,startDebug:ene,initClientEnv:tne,fetchClientDevConfig:nne,fetchClientDevConfigFailed:rne,fetchClientDevConfigSuccess:ine,initClientEnvSuccess:ane,initClientEnvFailed:one,startInitJSDevEnv:sne,initJSDevEnvSuccess:lne,uploadBtn:cne,uploadStart:une,uploadProcess:dne,uploadProcessDesc:pne,uploadSuccess:gne,uploadError:hne,setupDevEnv:mne,gameResourceCompiling:fne,gameResourceCompilingTitle:yne,gameResourceChange:vne,gameResourceUpdated:Sne,devEnvSetupError:bne,getDevEnvStart:wne,getDevEnvSuccess:Cne,setDevEnvFailed:kne,getDevScriptsStart:Pne,setDevScriptsSuccess:Dne,devEnvSetupSuccess:_ne,uploadGameStart:Tne,uploadGameSuccess:Ene,uploadGameFailed:xne,reUploadGame:Ine,relaunchGame:$ne,closeGame:Rne,loading:One,nodeServerConnectedFailed:Nne,nodeServerStartConnect:Ane,nodeServerConnectedSuccess:Lne,nodeServerStartError:Mne,nodeServerDisconnect:jne,clientConnectedSuccess:Fne,clientServerStartError:Gne,clientServerDisconnected:Wne,networkNoLanIPTitle:zne,networkNoLanIPDesc:qne,networkNoLanIPAction:Une,startDebugFailed:Bne,getDevScriptsFailed:Hne,uploadToClient:Vne,notUpload:Kne,uploadToPlatform:Qne,"uploadGame.pageTitle":"上传游戏","uploadGame.pageDesc":"上传是主流程,预检作为提交前的风险兜底。只有存在问题时才重点提示,避免首屏被检查结果打断。","uploadGame.guide.title":"上传发布","uploadGame.guide.desc":"确认预检风险,补充版本说明后上传至平台。平台生成预览版本后,可继续扫码验证构建结果。","uploadGame.guide.precheck.title":"代码预检","uploadGame.guide.precheck.desc":"提前发现包体、API、配置和性能风险","uploadGame.guide.version.title":"版本说明","uploadGame.guide.version.desc":"补充本次变更,方便区分上传记录","uploadGame.guide.preview.title":"平台预览","uploadGame.guide.preview.desc":"上传后扫码验证平台侧生成结果","uploadGame.packageSizeDoc":"查看包体限制说明","uploadGame.checkTitle":"代码预检","uploadGame.recheck":"重新检查","uploadGame.uploadTitle":"上传游戏包","uploadGame.checkWarn":"代码预检存在未通过项,建议修复后再上传,以避免审核驳回。","uploadGame.detailTitle":"预检详情","uploadGame.detailDesc":"需要定位具体配置、API、包体或性能问题时再展开查看。","uploadGame.showDetails":"查看预检详情","uploadGame.hideDetails":"收起预检详情","uploadGame.loginNoticeTitle":"先完成开发者登录","uploadGame.readyTitle":"预检已通过,可直接上传","uploadGame.readyDesc":"当前未发现阻塞性问题,建议补充版本描述后直接提交平台。","uploadGame.issueTitle":"预检提示","uploadGame.issueDesc":"下方仅展示关键摘要,完整结果可按需展开查看。","uploadGame.checkFetchFailed":"预检结果获取失败,请重新检查后再决定是否上传。","uploadGame.issueCountSuffix":" 个问题","uploadGame.groupPassSuffix":" 项检查通过","uploadGame.status.loginReady":"已登录开发者账号","uploadGame.status.loginRequired":"需先登录后上传","uploadGame.status.checking":"预检检查中","uploadGame.status.checkFailed":"预检结果获取失败","uploadGame.status.hasIssues":"预检存在问题","uploadGame.status.ready":"预检通过","uploadGame.group.performance":"性能","uploadGame.group.size":"包体","uploadGame.group.api":"API","uploadGame.group.config":"配置","uploadGame.unknownIssue":"存在待确认问题","uploadGame.uploadDescHint":"简单说明本次变更,方便后续识别。","uploadGame.progress.title":"正在上传并等待平台处理","uploadGame.progress.desc":"代码包已提交,平台正在进行校验和部署,请稍候。","uploadGame.progress.assetTitle":"平台正在处理代码包","uploadGame.progress.assetDesc":"代码包已上传成功,平台正在处理中,请稍候…","uploadGame.progress.previewTitle":"正在获取平台预览二维码","uploadGame.progress.previewDesc":"上传已成功,正在轮询平台预览二维码,请稍候。","uploadGame.progress.statusPending":"处理中","uploadGame.progress.badgeUploading":"上传中","uploadGame.progress.badgeChecking":"校验中","uploadGame.progress.badgePreview":"生成预览码","uploadGame.progress.step1":"打包并上传代码包","uploadGame.progress.step2":"等待平台处理完成","uploadGame.progress.step3":"获取平台预览二维码","uploadGame.success.title":"上传完成","uploadGame.success.readyTitle":"平台预览已就绪","uploadGame.success.desc":"接口已返回成功结果。你可以扫码或前往平台继续查看本次上传后的版本信息。","uploadGame.success.pendingDesc":"上传已成功,但预览二维码暂未返回。你可以先前往平台查看,或稍后重新上传触发新一轮获取。","uploadGame.success.qrHint":"扫码查看平台结果页","uploadGame.success.noQr":"当前暂无可展示的二维码","uploadGame.success.uploadAnother":"继续上传新版本","uploadGame.failure.title":"平台预览尚未就绪","uploadGame.failure.retry":"重新上传","uploadGame.failure.missingAssetId":"上传未返回有效的版本标识,无法继续校验平台处理结果,请重新上传。","uploadGame.failure.assetTimeout":"平台处理代码包超时,请稍后在平台查看处理结果。","uploadGame.failure.assetStatus":"平台尚未完成代码包处理,暂时无法生成预览二维码,请稍后重试。","uploadGame.failure.previewTimeout":"平台已处理完成,但暂未拿到预览二维码,请稍后重试。","uploadGame.record.title":"预览版本记录","uploadGame.record.desc":"集中查看最近上传到平台的预览版本,并在这里继续扫码验证。","uploadGame.record.refresh":"刷新记录","uploadGame.record.loading":"正在加载历史记录...","uploadGame.record.empty":"当前还没有可展示的预览版本记录。","uploadGame.record.latest":"最新上传","uploadGame.record.selectPlaceholder":"选择一个历史版本后再查看详情","uploadGame.record.noDesc":"开发者未填写版本描述","uploadGame.record.detailTitle":"版本 {{version}}","uploadGame.record.detailDesc":"右侧保留当前版本的二维码和关键信息,方便持续回看。","uploadGame.record.previewHint":"扫码预览当前版本","uploadGame.record.previewLoading":"正在获取该版本的预览二维码...","uploadGame.record.previewUnavailable":"暂未获取到该版本的预览二维码","uploadGame.record.pendingDesc":"该版本仍在平台处理中,可稍后刷新记录继续查看。","uploadGame.record.failedDesc":"该版本当前状态异常,建议前往平台确认处理结果。","uploadGame.record.metaUploadedAt":"上传时间","uploadGame.record.metaAssetId":"Asset ID","uploadGame.record.metaSource":"来源分组","uploadGame.record.metaSize":"包体大小","uploadGame.record.metaUnknown":"-","uploadGame.record.loadFailed":"历史记录加载失败,请稍后重试。","uploadGame.record.state.ready":"可预览","uploadGame.record.state.pending":"处理中","uploadGame.record.state.failed":"异常","uploadGame.record.source.preview":"预览版本","uploadGame.record.source.review":"审核中","uploadGame.record.source.live":"线上版本","uploadGame.record.source.other":"其他记录",scanning:Xne,scanQRCodeChange:Yne,scanQRCodeDesc:Jne,"homeSession.title":"当前调试会话","homeSession.modeLabel":"调试模式","homeSession.entryLabel":"启动入口","homeSession.domainLabel":"域名策略","homeSession.mode.clientPreviewDesc":"真机运行时,重点看 vConsole、端侧能力和真机网络。","homeSession.mode.remoteDebugDesc":"浏览器运行时,适合看 JS 逻辑和控制台,不覆盖全部端侧能力。","homeSession.domainCheck.disabled":"域名校验已关闭","homeSession.domainCheck.disabledDesc":"临时联调更宽松,上线前仍需补齐平台配置。","homeSession.domainCheck.enabledWithDomains":"{{count}} 个 Trust Domain","homeSession.domainCheck.enabledWithDomainsDesc":"网络请求会按平台配置校验。","homeSession.domainCheck.enabledNoDomains":"未配置 Trust Domain","homeSession.domainCheck.enabledNoDomainsDesc":"若游戏请求外部域名,运行时可能被拦截。","homeSession.chip.domainCheckOn":"域名校验开启","homeSession.chip.domainCheckOff":"域名校验关闭","homeSession.chip.vConsoleOn":"vConsole 开启","homeSession.chip.vConsoleOff":"vConsole 关闭","homeSession.chip.devPanelOn":"开发信息面板开启","homeSession.chip.devPanelOff":"开发信息面板关闭","homeSession.option.domainCheck":"域名校验","homeSession.option.vConsole":"vConsole","homeSession.option.devPanel":"开发信息面板","homeSession.status.on":"已开启","homeSession.status.off":"已关闭","homeSession.diff.clientPreviewTitle":"真机预览","homeSession.diff.clientPreviewDesc":"更接近客户端运行时;接口、支付、广告或域名异常时,优先看手机 vConsole 和开发信息面板。","homeSession.diff.remoteDebugTitle":"远程调试","homeSession.diff.remoteDebugDesc":"更适合快速看 JS 逻辑;真机能力、网络策略和端侧面板仍需切到真机预览验证。","homeSession.risk.domainTitle":"域名风险","homeSession.risk.domainDesc":"当前开启域名校验但没有 Trust Domain;如果游戏请求外部域名,可能出现网络请求失败。",notLogin:Zne,launchModeName:ere,selectLaunchPkg:tre,selectIndependentPkg:nre,selectScene:rre,launchQueries:ire,launchQueriesDesc:are,queriesStringMustBeString:ore,scene_search:sre,scene_fyf_card:lre,scene_anchor:cre,scene_sharing:ure,scene_link:dre,scene_inbox:pre,mainPackage:gre,queriesStringNoQuestionMark:hre,queriesStringEmptyPair:mre,independentPackage:fre,customizeLaunchMode:yre,notEmpty:vre,save:Sre,delete:"删除",selectLaunchMode:bre,createNewMode:wre,saveAndUse:Cre,selectDebugMode:kre,browserDebugMode:Pre,clientPreviewMode:Dre,clientDebugMode:_re,use:Tre,getDevGameConfigSuccess:Ere,getDevGameConfigFailed:xre,startLoadDevScripts:Ire,loadDevScriptsSuccess:$re,loadDevScriptsFailed:Rre,loadDevScriptsEmpty:Ore,loadDevScriptsInitSuccess:Nre,gameResourceCompileSuccess:Are,gameResourceCompileSuccessTitle:Lre,scanQRCode2Debug:Mre,homeHeroEyebrow:jre,homeHeroTitle:Fre,homeHeroSubtitle:Gre,homeHeroTitleConnected:Wre,homeHeroSubtitleConnected:zre,projectInfo:qre,projectInfoDesc:Ure,"projectInfo.summary":"查看当前小游戏的基础信息、包体状态和平台配置。",projectInfoDescTip:Bre,"projectInfo.section.basic":"基础信息","projectInfo.section.package":"包体状态","projectInfo.section.platform":"平台配置","projectInfo.error.guideTitle":"完成以下准备后,即可继续使用当前模块","projectInfo.error.stepTitle":"如何恢复使用","projectInfo.error.helpTitle":"补充说明","projectInfo.error.login.title":"当前还无法拉取平台配置","projectInfo.error.login.desc":"本地项目已经启动,但当前调试会话还没有可用的开发者登录态。先完成登录,再回到这里继续当前模块。","projectInfo.error.login.stepLogin":"在命令行执行 `ttmg login`,使用开发者平台账号完成登录。","projectInfo.error.login.stepRestart":"登录成功后,重新执行 `ttmg dev`,让当前调试会话带上最新登录态。","projectInfo.error.login.stepProxy":"如果在国内网络环境下登录失败,优先检查代理或网络设置,再重试登录。","projectInfo.error.permission.title":"当前账号暂无此游戏开发权限","projectInfo.error.permission.desc":"项目本地环境已经可用,但当前账号没有这个游戏的开发权限,无法读取平台配置,也无法执行上传发布等依赖平台权限的操作。","projectInfo.error.permission.stepCheckAccount":"先确认当前执行 `ttmg login` 的账号是否就是目标游戏的开发者账号。","projectInfo.error.permission.stepApply":"如果账号无权限,请先在开发者平台申请该游戏的开发权限。","projectInfo.error.permission.stepRestart":"权限开通后,重新执行 `ttmg dev` 进入新的调试会话。","projectInfo.error.network.title":"终端代理未生效,平台接口请求失败","projectInfo.error.network.desc":"本地调试服务已启动,但 CLI 没有连到 TikTok 开发者平台。此时 Trust Domain、Terms、Privacy 等平台配置都可能拉不到;常见原因是 VPN/代理只对浏览器生效,终端请求没有走代理。","projectInfo.error.network.stepCheck":"如果浏览器能打开开发者平台,但 `ttmg dev` 无法拉取项目概览、信任域名或 Terms & Privacy,优先按终端代理处理。","projectInfo.error.network.stepProxy":"执行 `ttmg config set proxy http://127.0.0.1:7890`,把端口替换为本机代理工具提供的 HTTP 端口。","projectInfo.error.network.stepRestart":"重新执行 `ttmg dev`,再回到当前模块继续操作。","projectInfo.error.general.title":"当前模块暂时不可用","projectInfo.error.general.desc":"这通常是平台数据暂时不可用、项目信息异常,或当前调试上下文尚未准备完成。","projectInfo.error.general.stepCheck":"先确认当前项目的 Client key、登录账号与调试命令是否一致。","projectInfo.error.general.stepRetry":"修正后重新执行 `ttmg dev`,再返回此页面继续操作。","projectInfo.error.commandLogin":"登录命令","projectInfo.error.commandRestart":"重启调试命令","projectInfo.error.commandProxy":"代理命令示例","projectInfo.error.commandProxyHint":"以上地址和端口仅为示例,请替换成你本地代理工具实际提供的代理地址。","projectInfo.error.helpLoginDesc":"国内开发者在登录阶段更常见的问题并不是账号本身,而是网络代理、办公网络策略或终端环境导致无法正常完成登录。遇到这类情况时,优先按照网络与代理排查文档处理,通常比重复尝试登录更有效。","projectInfo.error.helpPermissionDesc":"这通常不是本地工程问题。请先确认 `ttmg login` 使用的账号是否属于目标游戏,并在开发者平台补齐该游戏的开发权限。","projectInfo.error.helpNetworkDesc":"这类问题不是 Trust Domain 真的没配,也不一定是开发权限问题,而是 CLI 进程出网没有走代理。只打开 VPN 客户端通常不够,需要把代理地址写进 ttmg 配置。","projectInfo.error.helpGeneralDesc":"如果上面的步骤都确认无误,仍然无法使用当前模块,可以先回到命令行重新启动调试,再进一步排查项目信息是否配置正确。","projectInfo.error.openProxyDoc":"查看网络/代理登录排查","basicDebugGuide.bannerTitle":"当前未检测到开发者登录态","basicDebugGuide.bannerDesc":"这不会阻断最基础的扫码调试链路。若 CLI 因网络原因暂时无法登录,你仍可继续本地调试、切换启动模式,并排查连接问题。","basicDebugGuide.title":"未登录也可以继续基础扫码调试","basicDebugGuide.desc":"把这里理解成一个受限模式:平台态能力会受影响,但本地扫码调试、启动模式与连接诊断仍然可用。建议先继续完成基础联调,再按网络/代理指引恢复登录。","basicDebugGuide.actionScan":"前往扫码调试","basicDebugGuide.actionNetwork":"打开网络诊断","basicDebugGuide.actionProxy":"查看网络/代理登录排查","basicDebugGuide.availableTitle":"当前仍可使用","basicDebugGuide.availableDesc":"下面这些能力依赖的是本地调试服务与 schema,本身不要求你已经拿到开发者平台登录态。","basicDebugGuide.available.scan.title":"扫码调试","basicDebugGuide.available.scan.desc":"继续使用当前二维码在手机端拉起本地调试,验证基础运行链路是否正常。","basicDebugGuide.available.launch.title":"启动模式","basicDebugGuide.available.launch.desc":"仍可切换 scene、启动包与 queries,模拟不同入口与调试参数。","basicDebugGuide.available.preview.title":"浏览器预览 / 客户端预览","basicDebugGuide.available.preview.desc":"继续在浏览器或客户端之间切换基础调试模式,验证包体逻辑与页面行为。","basicDebugGuide.available.network.title":"网络诊断","basicDebugGuide.available.network.desc":"当扫码无响应、局域网不可达或代理环境复杂时,可先在项目内完成自检。","basicDebugGuide.available.manual.title":"手动连接","basicDebugGuide.available.manual.desc":"如果扫码链路不可用,仍可尝试手动绑定客户端调试服务地址继续联调。","basicDebugGuide.lockedTitle":"登录后才能完整使用","basicDebugGuide.lockedDesc":"这些能力会主动请求开发者平台或依赖平台侧资源,没有 CLI 登录态时会被限制。","basicDebugGuide.locked.project.title":"项目概览","basicDebugGuide.locked.project.desc":"无法稳定拉取平台侧的基础信息、Terms、Privacy 与信任域名配置。","basicDebugGuide.locked.upload.title":"上传发布","basicDebugGuide.locked.upload.desc":"无法上传新版本、拉取预览版本记录,或生成平台侧预览二维码。","basicDebugGuide.locked.platform.title":"平台态能力验证","basicDebugGuide.locked.platform.desc":"例如登录、授权、支付、直玩卡等依赖平台资源的能力,联调会不完整或直接失败。","basicDebugGuide.stepsTitle":"推荐操作顺序","basicDebugGuide.stepsDesc":"如果你的目标只是继续推进基础扫码调试,建议按下面顺序操作;若需要平台态能力,再回头恢复 CLI 登录。","basicDebugGuide.step1":"先继续使用扫码调试、启动模式和客户端预览,把本地包体链路跑通。","basicDebugGuide.step2":"如果扫码本身有问题,先用网络诊断或手动连接定位,不要把所有问题都误判成登录问题。","basicDebugGuide.step3":"需要恢复平台态能力时,再优先处理网络/代理,必要时先配置代理后重试登录。","basicDebugGuide.step4":"登录成功后重新执行 `ttmg dev`,回到项目内解锁项目概览、上传发布和平台态能力验证。","basicDebugGuide.commandProxy":"代理命令示例","basicDebugGuide.commandProxyHint":"以上地址和端口仅为示例,请替换成你本地代理工具实际提供的代理地址。","basicDebugGuide.commandLogin":"登录命令","basicDebugGuide.commandDev":"重启调试命令","basicDebugGuide.entryTitle":"CLI 登录失败时,仍可继续基础扫码调试","basicDebugGuide.entryDesc":"先看可用能力与受限边界,再决定是继续联调,还是回头处理网络/代理登录问题。","basicDebugGuide.entryAction":"打开基础调试指南",launchMode:Hre,codePreCheck:Vre,normalLaunchMode:Kre,createdLaunchMode:Qre,notExceedSizeLimit:Xre,notExceedMainPkgSizeLimit:Yre,notExceedIndependentPkgSizeLimit:Jre,exceedSizeLimit:Zre,exceedMainPkgSizeLimit:eie,exceedIndependentPkgSizeLimit:tie,launchModeDesc:nie,"launchMode.currentDesc":"选择已有配置,或切换到新建模式后重新配置。","launchMode.configDesc":"设置启动包、入口场景和启动参数,保存后回到首页扫码使用。",configFileCheck:rie,gameJsonCheckDesc:iie,pkgSizeCheckDesc:aie,commonPkgSizeCheckDescTip:oie,unityPkgSizeCheckDescTip:sie,mandatoryApiCheck:lie,mandatoryApiCheckDesc:cie,checkConfigPassed:uie,checkPkgSizePassed:die,checkPkgSizeFailed:pie,checkConfigFailed:gie,performanceCheck:hie,checkPerformancePassed:mie,checkPerformanceFailed:fie,viewDoc:yie,expandCheckDetail:vie,closeCheckDetail:Sie,gameProject:bie,gameMainPackage:wie,devOptions:Cie,devOptionsDomainCheckDesc:kie,debugSettingAdMockDesc:Pie,debugSettingIAPMockDesc:Die,debugSettingAdMock:_ie,debugSettingIAPMock:Tie,sendLocalDebugSetting:Eie,deleteLaunchModeConfirm:xie,gameName:Iie,gameIcon:$ie,gameID:Rie,gameDesc:Oie,gameSize:Nie,gameMainPackageSize:Aie,gameIndependentPackageSize:Lie,gameTrustDomains:Mie,gameTermsAndPrivacy:jie,gameServiceAgreement:Fie,gamePrivacyPolicy:Gie,termsLabel:Wie,privacyLabel:zie,gameTrustDomainsDesc:qie,gameServiceAgreementDesc:Uie,gamePrivacyPolicyDesc:Bie,"projectInfo.configSummary.title":"平台配置待补齐","projectInfo.configSummary.desc":"以下配置来自开发者平台。调试阶段可以继续查看,提审或验证平台能力前请先补齐。","projectInfo.configSummary.count":"{{count}} 项待补","projectInfo.configSummary.reviewGroup":"提审基础信息","projectInfo.configSummary.runtimeGroup":"运行配置","projectInfo.configSummary.item.icon":"游戏图标","projectInfo.configSummary.item.name":"游戏名称","projectInfo.configSummary.item.description":"游戏描述","projectInfo.configSummary.item.domain":"信任域名","projectInfo.configSummary.item.terms":"Terms URL","projectInfo.configSummary.item.privacy":"Privacy URL","projectInfo.configSummary.reviewHint":"提审前补齐","projectInfo.configSummary.domainHint":"请求外部域名前补齐","projectInfo.configSummary.termsHint":"登录/授权前补齐","projectInfo.configSummary.privacyHint":"授权和合规流程依赖","projectInfo.status.missing":"未配置","projectInfo.status.reviewBeforeSubmit":"提审前补齐","projectInfo.status.beforeRelease":"上线前补齐","projectInfo.status.domainRequired":"外部请求前补齐","projectInfo.status.authRequired":"登录/授权前补齐","projectInfo.logoMissingShort":"图标未配置",queriesStringMissingEqual:Hie,queriesStringEmptyKey:Vie,queriesStringDuplicateKey:Kie,queriesStringInvalidKeyChars:Qie,queriesStringInvalidValueChars:Xie,queriesStringInvalidEncoding:Yie,getDevGameDetailFailed:Jie,getDevGameDetailNotLogin:Zie,notLoginTip:eae,docs:tae,quickStart:nae,jsApiList:rae,errorReference:iae,faq:aae,upload:oae,cancel:sae,gameAssetDescription:lae,uploadPlatformSuccess:cae,uploadPlatformFailed:uae,uploadPlatformDesc:dae,viewOnPlatform:pae,loginToUpload:gae,uploadGamePackageTip:hae,trustDomainEmptyTip:mae,scriptsSetupFailed:fae,resourcesSetupFailed:yae,policyDependencyTermsRequired:vae,policyDependencyPrivacyRequired:Sae,policyDependencyTermsPrivacyRequired:bae,termsOfServiceEmptyTip:wae,privacyPolicyEmptyTip:Cae,gameNameEmptyTip:kae,gameIconEmptyTip:Pae,gameDescEmptyTip:Dae,startConnectClientWS:_ae,clientConnectTimeout:Tae,gameDetailNotLogin:Eae,gameLoginExpired:xae,getDevGameDetailNotFound:Iae,gameDetailNoPermission:$ae,gameDetailNetworkProxyBlocked:Rae,gameDetailServerError:Oae,login:Nae,createRewardedVideoAd:Aae,addShortcut:Lae,getShortcutMissionReward:Mae,startEntranceMission:jae,getEntranceMissionReward:Fae,integrated:Gae,notIntegrated:Wae,checkApiSuccess:zae,checkApiFailed:qae,debugEnvSetupSuccess:Uae,clientPreviewEnvSetupSuccess:Bae,startToSendMetaToClient:Hae,sendMetaToClientSuccess:Vae,browserRemoteDebugDesc:Kae,clientRealPreviewDesc:Qae,"debug.scan.tips":"在用 TikTok 扫码调试前,你可以选择以下不同的调试模式:","debug.mode.browser.title":"浏览器远程调试","debug.mode.browser.point.logic":"游戏逻辑在浏览器中运行","debug.mode.browser.point.devtools":"可在浏览器环境查看日志、断点调试","debug.mode.browser.point.preview":"在客户端同步查看游戏画面效果","debug.mode.client.title":"客户端真机预览","debug.mode.client.supportVersion":"TikTok iOS >=42.7,TikTok Android >=42.5","debug.mode.client.point.logic":"游戏逻辑在客户端(真机)中运行","debug.mode.client.point.vconsole":"通过 vConsole 查看运行日志","debug.mode.client.point.preview":"在真机上真实还原并预览游戏效果","debug.mode.custom.tip":"如果需要更灵活的配置,你还可以新建自定义启动模式,以满足特定的调试与预览需求。","debug.guide.header":"调试模式简介","debug.guide.manualBindIP":"手动绑定手机端 IP 地址",manualBindClientDebugServiceTitle:Xae,"debug.guide.manualBindIPInvalid":"无效的 IP 地址,请输入正确的 IP 地址",invalidPort:Yae,scanQrcodeNoResponse:Jae,confirm:Zae,manualBindIPPlaceholder:eoe,"debug.guide.manualBindIPDesc1":"1. 请确认手机与电脑在同一局域网下,若不在同一局域网下,请先连接至同一局域网;","debug.guide.manualBindIPDesc2":"2. 手动输入客户端加载页提供的调试服务地址和端口进行连接","debug.guide.manualBindIPDesc3":"3. 只支持 Android 42.9 及以上版本,iOS 暂不支持",startUpload:toe,gotoCheck:noe,checkNetworkTitle:roe,manualBindIPInfo1:ioe,manualBindIPInfo2:aoe,back:ooe,manualConnectStart:soe,manualConnectConfirm:loe,manualConnectDialogDesc:coe,connectivityCheck:uoe,connectivityCheckTitle:doe,connectivityCheckWS:poe,connectivityCheckHTTP:goe,connectivityOK:hoe,connectivityNotOK:moe,connectivityTimeout:foe,connectivityFailed:yoe,connectivityMissingParams:voe,needDesc:Soe,debugSettingVConsole:boe,debugSettingDevInfoPanel:woe,debugSettingDomainCheck:Coe,debugSettingEnableVconsoleDesc:koe,debugSettingEnableDevInfoPanelDesc:Poe,topErrorSummary:Doe,topErrorTagRequired:_oe,topErrorTagSuggested:Toe,topBasicInfoMissing:Eoe,topBasicInfoNameField:xoe,topBasicInfoIconField:Ioe,topBasicInfoDescriptionField:$oe,topBasicInfoFieldJoiner:Roe,topLoginStatusWarning:Ooe,topErrorSuggestedActionTip:Noe,topErrorViewDetails:Aoe,topErrorHideDetails:Loe,topErrorTitleRequired:Moe,topErrorTitleSuggested:joe,topErrorTitleNetworkProxy:Foe,topErrorTitlePermission:Goe,topErrorTitleLogin:Woe,topErrorTitleProjectNotFound:zoe,topErrorCtaApplyPermission:qoe,topErrorCtaOpenPortal:Uoe,topErrorMoreItems:Boe,themeToggleToDark:Hoe,themeToggleToLight:Voe,changelogFeature:Koe,changelogOptimize:Qoe,changelogBugfix:Xoe,changelogLink:Yoe,changelog:Joe,changelogNewTag:Zoe,changelogTip:ese,changelogTarget:tse,wasmSplit:nse,"wasmSplit.disabled.notLoggedIn":"请先在终端执行 `ttmg login` 完成开发者账号登录,再使用 Wasm 分包功能。","wasmSplit.disabled.networkProxy":"当前终端无法连到 TikTok 开发者平台。请先配置终端代理并重新执行 `ttmg dev`,再使用 Wasm 分包功能。","wasmSplit.disabled.noPermission":"当前账号没有该游戏的开发权限,请到开发者平台申请此游戏的开发权限后,再使用 Wasm 分包功能。",splitPrepare:rse,splitCollect:ise,splitCode:ase,"splitPrepare.desc":"提交分包描述,启动构建任务","splitCollect.desc":"扫码进入游戏,录制函数调用","splitCode.desc":"服务端生成主包与子包产物",rollback:ose,"wasmSplit.subtitle":"将 Unity Wasm 代码拆分为按需加载的子包,缩小首屏体积,提升冷启表现。","wasmSplit.stage.loading":"初始化","wasmSplit.stage.prepare":"准备中","wasmSplit.stage.collect":"收集中","wasmSplit.stage.split":"分包中","wasmSplit.stage.splitted":"已分包","wasmSplit.stage.rollback":"回滚","wasmSplit.stage.error":"异常","wasmSplit.requirements.title":"分包要求","wasmSplit.requirements.account":"手机 TikTok 当前需登录非 US 地区用户账号;US 账号无法收集函数。","wasmSplit.requirements.unityPlugin":"开始分包前,请更新 Unity 最新插件。","wasmSplit.requirements.unityPluginLink":"查看文档","wasmSplit.help.loading.title":"正在初始化","wasmSplit.help.loading.line1":"读取当前游戏的分包配置,请稍候。","wasmSplit.help.prepare.title":"预处理 · 接下来会发生什么","wasmSplit.help.prepare.line1":"提交后将启动一次构建任务,把 Unity Wasm 拆分准备好。","wasmSplit.help.prepare.line2":"通常耗时 3 - 5 分钟,可在阶段中切换到其他页面,任务会在后台继续。","wasmSplit.help.collect.title":"收集函数 · 用真机录制","wasmSplit.help.collect.line1":"用手机扫码进入游戏,玩一遍主流程,调试页面会自动记录被调用的函数。","wasmSplit.help.collect.line2":"收集越完整,最终分包的精度越高。","wasmSplit.help.collect.line3":"扫码前请确认手机 TikTok 使用非 US 地区用户账号,并已更新 Unity 最新插件;US 账号无法收集函数。","wasmSplit.help.split.title":"代码分包 · 正在生成","wasmSplit.help.split.line1":"后端根据收集到的函数集合生成主包与子包。","wasmSplit.help.split.line2":"完成后可在「开始调试」中直接试跑分包后的版本。","wasmSplit.help.rollback.title":"回滚到上一个版本","wasmSplit.help.rollback.line1":"本次分包将被撤销,工程恢复为未拆分的状态。","wasmSplit.help.splitted.title":"已完成分包","wasmSplit.help.splitted.line1":"当前工程已经做过一次 Wasm 分包,可直接压缩上传;如需重做,点「放弃分包」后重新开始。","wasmSplit.help.error.title":"出现异常","wasmSplit.help.error.line1":"请按提示重试,或返回首页确认当前游戏的状态。","wasmSplit.meta.stage":"当前阶段","wasmSplit.meta.mode":"分包模式","wasmSplit.meta.engine":"引擎","wasmSplit.meta.game":"游戏","wasmSplit.meta.wasmSize":"WASM 大小","wasmSplit.meta.wasmMd5":"WASM MD5","wasmSplit.currentMode":"当前分包模式","wasmSplit.initializingEnv":"正在初始化分包环境","wasmSplit.empty.unityOnly.title":"仅对 Unity 引擎可用","wasmSplit.empty.unityOnly.desc":"当前项目不是 Unity 引擎,Wasm 分包仅对 Unity 游戏开放。请切换到 Unity 项目后再访问本页面。","wasmSplit.empty.backHome":"回到首页","wasmSplit.empty.needDevice.title":"需要先连接设备并选择游戏","wasmSplit.empty.needDevice.desc":"Wasm 分包依赖当前小游戏的 Wasm 包体与登录态。先在「开始调试」扫码连接客户端、选定游戏后,再回到这里开始分包流程。","wasmSplit.empty.connectDevice":"去连接设备","wasmSplit.splitDoneToast":"分包完成,本次共收集 {{count}} 个函数","rollback.rollbacking":"回滚中...","rollback.backgroundRun":"后台进行","rollback.success":"回滚成功","rollback.close":"关闭","rollback.failed":"回滚失败","rollback.retry":"重试","collect.sessionClosed":"收集会话已关闭(可能是超时或被其他端占用)。请重新点击「开始分包」以恢复收集。","collect.startFailed":"开始收集失败,请重试","collect.requirements.title":"扫码前确认","collect.requirements.desc":"手机 TikTok 需登录非 US 地区用户账号,并已更新 Unity 最新插件;US 账号无法收集函数。","collect.requirements.link":"查看文档",splitFailed:sse,writingSplitResult:lse,retry:cse,startingPrepare:use,cancelPrepare:dse,backgroundRun:pse,preparingSplit:gse,warningDuringPreparing:hse,preparingSplitSuccess:mse,preparingSplitFailed:fse,retryPrepare:yse,downloadPreparedWasmCode:vse,downloadFailed:Sse,retryDownload:bse,downloadSuccess:wse,downloadPreparedWasmCodeDesc:Cse,splitDesc:kse,inputSplitDesc:Pse,startPrepare:Dse,processing:_se,fetchDownloadUrl:Tse,fetchDownloadUrlSuccess:Ese,fetchDownloadUrlFailed:xse,downloadPreparedWasmCodeSuccess:Ise,downloadPreparedWasmCodeFailed:$se,updateWasmSplitConfig:Rse,updateWasmSplitConfigSuccess:Ose,updateWasmSplitConfigFailed:Nse,compressPreparedWasmCodeSuccess:Ase,compressPreparedWasmCodeFailed:Lse,writeCompressPreparedWasmCode:Mse,writeCompressPreparedWasmCodeSuccess:jse,writeCompressPreparedWasmCodeFailed:Fse,startSplit:Gse,cannotSplitTip:Wse,collectDesc:zse,collectConnectedTitle:qse,collectConnectedDesc:Use,startCollect:Bse,startingCollect:Hse,resumedCollectSession:Vse,wasmSize:Kse,totalFuncCount:Qse,collectedFuncCount:Xse,splitVersion:Yse,splittingDesc:Jse,cancelSplit:Zse,getSplitResult:ele,retryGetSplitResult:tle,getSplitResultFailed:nle,splitSuccess:rle,downloadSplitResult:ile,downloadSplitResultFailed:ale,retryDownloadSplitResult:ole,downloadSplitResultSuccess:sle,downloadSplitResultTip:lle,start_download_android_main_wasm:cle,download_android_main_wasm_done:ule,start_compress_android_main_wasm:dle,compress_android_main_wasm_done:ple,start_download_android_sub_wasm_code:gle,download_android_sub_wasm_code_done:hle,start_compress_android_sub_wasm_code:mle,compress_android_sub_wasm_code_done:fle,start_download_ios_main_wasm:yle,download_ios_main_wasm_done:vle,start_compress_ios_main_wasm:Sle,compress_ios_main_wasm_done:ble,start_download_ios_sub_wasm_code:wle,download_ios_sub_wasm_code_done:Cle,start_compress_ios_sub_wasm_code:kle,compress_ios_sub_wasm_code_done:Ple,start_write_splited_wasm_br:Dle,write_splited_wasm_done:_le,start_update_wasm_split_config:Tle,update_wasm_split_config_done:Ele,noWasmCode:xle,noWasmCodeDesc:Ile,hasSplitedTitle:$le,hasSplitedDesc:Rle,hasSplitedDiscard:Ole,noSplitConfigTitle:Nle,noSplitConfigDesc:Ale,advancedGuide:Lle,integrationAssistant:Mle,"ia.title":"能力接入","ia.subtitle":"把关键平台能力的接入前置条件、调试入口和联调顺序集中到一个页面里,减少开发者来回查文档与找入口的成本。","ia.banner.login":"建议先在命令行执行 `ttmg login`,再回到这里按能力开始联调;很多平台态能力在未登录时无法完整验证。","ia.banner.termsPrivacy":"当前建议先补齐 Terms & Privacy 配置;登录、授权等能力会直接依赖这两项平台信息。","ia.banner.ready":"当前基础状态可继续联调;建议先看能力说明,再跳转到对应页面完成配置和验证。","ia.menuTitle":"关键能力","ia.sceneLabel":"推荐入口场景:","ia.section.prerequisites":"前置检查","ia.section.steps":"建议调试路径","ia.section.tips":"开发关注点","ia.action.goHome":"打开首页","ia.status.ready":"已就绪","ia.status.notReady":"需补充","ia.status.login.title":"开发者登录","ia.status.login.ready":"当前开发者账号已登录,可继续验证依赖平台态的能力。","ia.status.login.notReady":"尚未检测到登录态,上传、项目详情拉取与部分平台流程可能无法继续。","ia.status.terms.title":"Terms URL","ia.status.terms.ready":"Terms URL 已配置,可继续推进 login / authorize 相关联调。","ia.status.terms.notReady":"Terms URL 缺失,login / authorize 能力容易在联调阶段直接卡住。","ia.status.privacy.title":"Privacy URL","ia.status.privacy.ready":"Privacy URL 已配置,隐私相关前置条件基本齐备。","ia.status.privacy.notReady":"Privacy URL 缺失,授权与合规相关流程需要先补齐配置。","performance.menu.title":"性能优化","performance.overview.title":"性能优化","performance.overview.desc":"按项目类型选择对应工具:Unity 项目使用 Wasm 分包;非 Unity 项目可预览子包收集能力。","performance.section.title":"优化工具","performance.section.desc":"每个工具对应一条独立能力,点开卡片进入接入流程。","performance.card.wasmSplit.title":"Wasm 分包","performance.card.wasmSplit.desc":"把 Unity Wasm 拆分为按需加载的子包,缩小首包体积、提升冷启表现;仅对 Unity 引擎可用。","performance.card.subpackageCollect.title":"收集子包","performance.card.subpackageCollect.desc":"在真机启动链路中记录被预下载的子包,按 FP / TTI 两段区分,并写入 game.json 供预加载策略消费。","performance.card.subpackageCollect.status":"新增","performance.empty.comingSoon":"更多性能优化能力陆续接入中。",subpackageCollect:jle,"subpackageCollect.subtitle":"真机预览启动链路,采集启动阶段被预下载的子包,并转成预加载配置。","subpackageCollect.phase.fp":"FP","subpackageCollect.phase.tti":"TTI","subpackageCollect.stage.entry":"选择入口","subpackageCollect.stage.empty":"无子包","subpackageCollect.stage.notStarted":"未开始","subpackageCollect.stage.collecting":"收集中","subpackageCollect.stage.processing":"处理中","subpackageCollect.stage.success":"已完成","subpackageCollect.stage.failed":"失败","subpackageCollect.stage.unsupported":"不支持","subpackageCollect.entry.title":"选择启动入口","subpackageCollect.entry.subtitle":"选择本次启动的入口。默认选择主包;存在独立分包时也会列出。","subpackageCollect.entry.game":"主包","subpackageCollect.entry.gameTag":"默认","subpackageCollect.entry.independentTag":"独立分包","subpackageCollect.empty.title":"当前游戏未配置子包","subpackageCollect.empty.desc":"game.json 中没有任何 subpackages,启动预加载收集仅对含子包的游戏有意义,无需在此操作。","subpackageCollect.empty.back":"返回性能优化","subpackageCollect.unsupported.unity.title":"Unity 小游戏不支持子包收集","subpackageCollect.unsupported.unity.desc":"子包收集仅支持非 Unity 小游戏。当前项目是 Unity 小游戏,因此不会展示入口选择、扫码和收集操作区。","subpackageCollect.unsupported.unity.action":"前往 Wasm 分包","subpackageCollect.devGuide.link":"子包收集使用指南","subpackageCollect.devGuide.clientVersion":"客户端支持版本","subpackageCollect.devGuide.android":"Android 45.9+","subpackageCollect.devGuide.ios":"iOS 46.0+","subpackageCollect.devGuide.stepsTitle":"收集主要步骤","subpackageCollect.devGuide.required.badge":"代码必接","subpackageCollect.devGuide.required.title":"开始收集前,请先在游戏代码中接入","subpackageCollect.devGuide.required.code":"reportScene({ sceneId: 9999 })","subpackageCollect.devGuide.required.desc":"游戏进入可交互状态时必须调用。调试页面收到该上报后,才会结束本轮收集并显示「完成收集」。","subpackageCollect.devGuide.step1.title":"确认账号地区","subpackageCollect.devGuide.step1.desc":"US 地区账号无法完成子包采集。请切换为非 US 地区账号后重新扫码。","subpackageCollect.devGuide.step2.title":"确认子包配置","subpackageCollect.devGuide.step2.desc":"game.json 需配置 subpackages,并确认本次采集的是主包入口还是独立分包入口。","subpackageCollect.devGuide.step3.title":"按真实启动路径操作","subpackageCollect.devGuide.step3.desc":"扫码后不要只停在首屏,按真实路径操作到游戏可交互,客户端会记录实际预下载的子包。","subpackageCollect.scan.title":"扫码操作","subpackageCollect.scan.subtitle":"保持 DevTool 打开,按真实启动路径完成一次预览。","subpackageCollect.guide.step2":"扫码后按真实启动路径操作游戏,跑通原本的启动逻辑;过程中客户端会把实际加载到的子包信息上报、被采集下来。","subpackageCollect.guide.step3":"游戏到达可交互状态后,必须执行 reportScene({sceneId:9999})。调试页面收到上报后才会结束本轮收集并显示「完成收集」。","subpackageCollect.preview.noSchema":"暂无预览 schema。请先在「开始调试」连接设备后再回到此页。","subpackageCollect.preview.currentEntry":"当前入口","subpackageCollect.preview.collectedTitle":"已采集子包","subpackageCollect.preview.collectedDesc":"本轮实时采集,按子包名去重(保留第一次上报),分 FP / TTI 两段。","subpackageCollect.preview.existingDesc":"该入口已有配置,仅作参考展示,不会并入本轮写入。","subpackageCollect.preview.waitingDesc":"等待设备上报本轮采集结果。","subpackageCollect.preview.emptyResultDesc":"本轮没有采集到子包。","subpackageCollect.preview.empty":"尚未采集到子包。","subpackageCollect.reportScene.toastTitle":"已收到 reportScene({sceneId:9999})","subpackageCollect.reportScene.toastDesc":"已确认游戏进入可交互状态,完成收集已解锁。","subpackageCollect.reportScene.readyTitle":"已收到 reportScene,可完成收集","subpackageCollect.reportScene.readyDesc":"当前列表将作为本轮收集结果。请确认子包记录无误,再点击「完成收集」写入配置。","subpackageCollect.wait.runningTitle":"等待 reportScene 上报","subpackageCollect.wait.running":"设备已连接并开始记录子包。请按真实启动路径操作;游戏进入可交互状态时必须执行 reportScene({sceneId:9999}),调试页面收到后才会显示「完成收集」。","subpackageCollect.wait.timeoutTitle":"未收到 reportScene,无法完成收集","subpackageCollect.wait.timeout":"请先确认游戏代码已接入 reportScene({sceneId:9999}),再按真实启动路径操作到可交互状态。","subpackageCollect.wait.docLink":"查看接入说明","subpackageCollect.manualConnect.title":"扫码后未自动连接?","subpackageCollect.manualConnect.desc":"常见于 VPN / 代理 / 多网卡环境,可重试上次记录或填写客户端 IP 与端口手动连接。","subpackageCollect.manualConnect.action":"手动连接","subpackageCollect.manualConnect.retry":"重试上次连接","subpackageCollect.manualConnect.noRecordTitle":"暂无手动连接记录","subpackageCollect.manualConnect.noRecordDesc":"请先填写客户端 IP、HTTP 端口和 WS 端口,保存后即可在此页一键重试。","subpackageCollect.manualConnect.retryTitle":"正在重试上次连接","subpackageCollect.manualConnect.retryDesc":"已使用 {{ip}}:{{port}} 重新连接客户端调试服务。","subpackageCollect.mock.title":"模拟上报(仅联调)","subpackageCollect.mock.subtitle":"客户端真机上报待联调,先在此模拟 predownload / reportScene,验证 UI 收集与 CLI 写入链路。","subpackageCollect.mock.placeholder":"选择可用子包","subpackageCollect.mock.noCandidates":"当前入口下没有可预下载的子包(需 game.json 配置 subpackages 且 root 目录真实存在),可直接触发 reportScene 完成采集。","subpackageCollect.mock.reportFp":"上报 FP","subpackageCollect.mock.reportTti":"上报 TTI","subpackageCollect.mock.reportScene":"reportScene(9999)","subpackageCollect.finish.overwriteNote":"完成后将用本轮采集的 {{current}} 条覆盖该入口原有 {{existing}} 条配置(按入口整体覆盖,非增量合并)。","subpackageCollect.finish.clearNote":"本轮未采集到子包,完成将清空该入口原有 {{existing}} 条配置。","subpackageCollect.finish.clearTitle":"确认清空原有配置?","subpackageCollect.finish.clearConfirm":"本轮未采集到任何子包,完成收集会清空该入口原有 {{existing}} 条配置且不可恢复。如需保留原配置,请改为「退出收集」或重新跑一轮采集。","subpackageCollect.finish.okClear":"清空并完成","subpackageCollect.finish.cancel":"取消","subpackageCollect.action.finish":"完成收集","subpackageCollect.action.cancel":"取消收集","subpackageCollect.action.exit":"退出收集","subpackageCollect.action.exitRun":"退出收集","subpackageCollect.action.recollect":"重新收集","subpackageCollect.recollect.clearTitle":"清除旧配置并重新收集?","subpackageCollect.recollect.clearDesc":"开始新一轮前,将立即从 game.json 删除当前入口的预加载配置,以免影响采集。之后取消收集不会恢复这份配置。","subpackageCollect.recollect.clearAction":"清除并重新收集","subpackageCollect.action.switch":"切换入口","subpackageCollect.loading":"正在读取项目配置…","subpackageCollect.processing":"正在处理…","subpackageCollect.processing.write":"正在写入 game.json 配置…","subpackageCollect.processing.clear":"正在清理旧配置,准备重新收集…","subpackageCollect.processing.cancel":"正在取消收集并清空配置…","subpackageCollect.success.title":"配置已写入","subpackageCollect.success.empty":"本入口未写入任何子包。","subpackageCollect.failed.title":"收集失败","subpackageCollect.error.generic":"写入配置失败,请重试。","ia.revisit.panel.modeName":"启动模式","ia.revisit.panel.scene":"场景","ia.revisit.panel.launchParams":"启动参数","ia.revisit.panel.package":"启动包","ia.revisit.panel.signal":"奖励校验","ia.revisit.sidebar.panel.title":"快速创建侧边栏复访调试模式","ia.revisit.sidebar.panel.desc":"这里会直接生成一个“侧边栏复访”启动模式。选中后扫码进入,即是在模拟“已经从侧边栏入口打开”的会话,可以直接联调 `getEntranceMissionReward` 与奖励发放逻辑,不需要额外先执行跳转动作。","ia.revisit.sidebar.panel.modeValue":"模拟侧边栏复访 scene 启动","ia.revisit.sidebar.panel.generatedModeName":"侧边栏复访调试模式","ia.revisit.sidebar.panel.signalValue":"`startEntranceMission` / `getEntranceMissionReward`","ia.revisit.sidebar.panel.createQr":"创建侧边栏复访调试二维码","ia.revisit.shortcut.panel.title":"快速创建加桌复访调试模式","ia.revisit.shortcut.panel.desc":"这里会直接生成一个“桌面快捷方式”启动模式。选中后扫码进入,即是在模拟“已经从桌面入口打开”的会话,可以直接联调 `getShortcutMissionReward` / `canReceiveReward` 与奖励发放逻辑,不需要额外先做加桌再回桌面。","ia.revisit.shortcut.panel.modeValue":"模拟桌面快捷方式 scene 启动","ia.revisit.shortcut.panel.generatedModeName":"加桌复访调试模式","ia.revisit.shortcut.panel.signalValue":"`addShortcut` / `getShortcutMissionReward` / `canReceiveReward`","ia.revisit.shortcut.panel.createQr":"创建加桌复访调试二维码","ia.directPlay.versionNotice":"直玩阶段二调试能力依赖客户端 45.4.0 及以上版本,请先确认客户端版本满足要求后再使用预览二维码相关能力。","ia.directPlay.stage1.title":"阶段一:调试游戏包本身","ia.directPlay.stage1.desc":"这一阶段只调试小游戏包本身,不涉及 TT Feed 卡面、强插或 Play now 承接。使用推荐流直玩 scene 创建启动二维码,确认包体能正常启动和运行。","ia.directPlay.stage1.ready":"直玩 scene 已就绪","ia.directPlay.stage1.notReady":"需要应用直玩 scene","ia.directPlay.stage1.modeName":"启动模式","ia.directPlay.stage1.modeValue":"模拟推荐流直玩 scene 启动","ia.directPlay.stage1.generatedModeName":"推荐流直玩包体调试模式","ia.directPlay.stage1.scene":"场景","ia.directPlay.stage1.package":"启动包","ia.directPlay.stage1.queries":"Queries","ia.directPlay.stage1.apply":"应用直玩 scene","ia.directPlay.stage1.openHome":"带着当前模式打开首页","ia.directPlay.stage1.createQr":"创建游戏包调试二维码","ia.directPlay.stage1.appliedTitle":"已应用直玩 scene","ia.directPlay.stage1.appliedDesc":"当前启动模式已切到推荐流直玩 scene。你可以直接回首页扫码,也可以到启动模式继续微调。","ia.directPlay.stage2.title":"阶段二:生成预览二维码","ia.directPlay.stage2.desc":"在游戏包本身稳定后,选择直玩卡内容和预览代码版本,生成平台预览二维码,用于验证直玩卡卡面和承接路径。","ia.directPlay.stage2.banner":"这一阶段只用于直玩卡预览与承接验证;若小游戏包本身还不稳定,请先回到阶段一处理。","ia.directPlay.stage2.cardSelect":"选择直玩卡内容","ia.directPlay.stage2.assetSelect":"选择预览代码版本","ia.directPlay.stage2.selectedCard":"当前选中的卡片","ia.directPlay.stage2.selectedAsset":"当前选中的预览代码版本","ia.directPlay.stage2.cardName":"卡片名称:","ia.directPlay.stage2.cardContentId":"Content ID:","ia.directPlay.stage2.cardDesc":"卡片描述:","ia.directPlay.stage2.cardScenario":"场景:","ia.directPlay.stage2.cardStatus":"审核状态:","ia.directPlay.stage2.cardStatus.approved":"已过审","ia.directPlay.stage2.cardStatus.pending":"待后台审核后可用","ia.directPlay.stage2.cardPackage":"启动包:","ia.directPlay.stage2.cardQueries":"Queries:","ia.directPlay.stage2.assetGroup":"代码版本分组:","ia.directPlay.stage2.assetFile":"文件:","ia.directPlay.stage2.assetVersion":"版本:","ia.directPlay.stage2.assetSize":"大小:","ia.directPlay.stage2.assetUploaded":"上传时间:","ia.directPlay.stage2.assetGroup.preview":"预览代码版本","ia.directPlay.stage2.assetGroup.live":"线上代码版本","ia.directPlay.stage2.assetGroup.review":"审核中代码版本","ia.directPlay.stage2.emptyCard":"当前还没有可用的直玩卡内容。","ia.directPlay.stage2.emptyAsset":"当前还没有可用的游戏素材。","ia.directPlay.stage2.generate":"生成预览二维码","ia.directPlay.stage2.refresh":"刷新数据","ia.directPlay.stage2.previewUrl":"预览链接","ia.directPlay.stage2.copy":"复制链接","ia.directPlay.stage2.open":"打开预览","ia.directPlay.stage2.qrDesc":"使用 TikTok 在 Feed 中扫码,体验直玩卡路径。","ia.directPlay.stage2.copyTitle":"已复制预览链接","ia.directPlay.stage2.copyDesc":"预览链接已复制到剪贴板。","ia.directPlay.stage2.selectRequired":"请先选择直玩卡内容和游戏素材。","ia.directPlay.stage2.loadCardsFailed":"加载直玩卡内容失败。","ia.directPlay.stage2.loadAssetsFailed":"加载游戏素材失败。","ia.directPlay.stage2.loadResourcesFailed":"加载直玩卡联调资源失败。","ia.directPlay.stage2.previewFailed":"生成直玩卡预览链接失败。","ia.directPlay.stage2.modeSelect":"选择已有卡片","ia.directPlay.stage2.modeCreate":"新建直玩卡","ia.directPlay.stage2.create.title":"新建直玩卡","ia.directPlay.stage2.create.desc":"直接在调试工具里创建一张新的直玩卡,创建成功后会自动刷新列表并选中这张卡。","ia.directPlay.stage2.create.option":"+ 新建直玩卡","ia.directPlay.stage2.create.cardName":"卡片名称","ia.directPlay.stage2.create.cardNamePlaceholder":"例如:xx游戏发送福利卡片","ia.directPlay.stage2.create.cardDesc":"卡片描述","ia.directPlay.stage2.create.cardDescPlaceholder":"例如:向玩家发送 1000 金币作为召回手段","ia.directPlay.stage2.create.cardType":"卡片类型","ia.directPlay.stage2.create.cardType.fixed":"固定卡","ia.directPlay.stage2.create.cardType.dynamic":"动态卡","ia.directPlay.stage2.create.cardType.dynamicDesc":"动态卡:平台提供 server 接口,支持开发者动态推送游戏内事件、活动提醒,平台收到后将向用户推送,如体力恢复、活动开始提醒。","ia.directPlay.stage2.create.cardType.fixedDesc":"固定卡:以客户端固定逻辑接入,如每次以固定规则的礼包召回用户。","ia.directPlay.stage2.create.scenario":"场景","ia.directPlay.stage2.create.scenarioPlaceholder":"例如:recover_stamina","ia.directPlay.stage2.create.scenario.rewardIssue":"发放福利 reward_issue","ia.directPlay.stage2.create.scenario.recoverStamina":"体力恢复 recover_stamina","ia.directPlay.stage2.create.scenario.unlockLevel":"解锁关卡 unlock_level","ia.directPlay.stage2.create.subPkg":"启动包","ia.directPlay.stage2.create.params":"Queries","ia.directPlay.stage2.create.paramsPlaceholder":"例如:a=1&b=constant","ia.directPlay.stage2.create.submit":"创建并选中卡片","ia.directPlay.stage2.create.success":"直玩卡已创建,并已自动选中。","ia.directPlay.stage2.create.failed":"创建直玩卡失败。","ia.directPlay.stage3.title":"阶段三:管理直玩卡上线状态","ia.directPlay.stage3.desc":"阶段二预览验证通过后,可将当前选中的直玩卡上线或下线,控制线上推荐流直玩链路是否使用。","ia.directPlay.stage3.banner":"上线或下线会修改当前选中直玩卡的线上状态。上线前请先确认阶段二预览二维码已经验证通过。","ia.directPlay.stage3.selectedCard":"当前卡片上线状态","ia.directPlay.stage3.emptyCard":"请先在阶段二选择一张直玩卡内容。","ia.directPlay.stage3.publishStatus":"上线状态:","ia.directPlay.stage3.cardStatus.online":"已上线","ia.directPlay.stage3.cardStatus.notOnline":"未上线","ia.directPlay.stage3.publish":"上线直玩卡","ia.directPlay.stage3.published":"已上线","ia.directPlay.stage3.offline":"下线直玩卡","ia.directPlay.stage3.confirmTitle":"确认上线直玩卡 {{name}}({{contentId}})?","ia.directPlay.stage3.offlineConfirmTitle":"确认下线直玩卡 {{name}}({{contentId}})?","ia.directPlay.stage3.selectRequired":"请先在阶段二选择一张直玩卡内容。","ia.directPlay.stage3.publishSuccess":"直玩卡已上线,已刷新最新状态。","ia.directPlay.stage3.publishFailed":"上线直玩卡失败。","ia.directPlay.stage3.offlineSuccess":"直玩卡已下线,已刷新最新状态。","ia.directPlay.stage3.offlineFailed":"下线直玩卡失败。","ia.overview.eyebrow":"Capability Map","ia.overview.title":"能力接入","ia.overview.desc":"按变现方式查看推荐接入项,或直接选择下方需要的能力。标签表示业务接入建议;平台上传与审核要求请另行核对。","ia.overview.groups.title":"能力接入概览","ia.overview.groups.desc":"按登录授权、变现、复访、分享和基础能力查看接入说明。","ia.overview.keyCapabilities.title":"关键能力","ia.overview.keyCapabilities.desc":"这些能力不随变现模式变化,建议按需展开查看。","ia.overview.baseline.title":"基础前置","ia.overview.baseline.desc":"这些基础状态会影响大部分能力链路,建议先排除明显阻塞,再进入具体模块联调。","ia.overview.stat.capabilities":"能力模块","ia.overview.stat.groups":"能力分组","ia.overview.stat.prerequisites":"基础前置","ia.overview.sectionLabel":"能力分组","ia.overview.section.capabilityUnit":"个能力","ia.monetization.title":"选择变现模式","ia.monetization.desc":"按小游戏当前的商业化模式查看对应能力组合与联调重点。","ia.monetization.meta.required":"必接能力","ia.monetization.meta.optional":"可选能力","ia.monetization.meta.support":"配套能力","ia.monetization.meta.experimental":"实验能力","ia.monetization.core.title":"核心能力","ia.monetization.recommended.title":"推荐能力组合","ia.requirement.required":"必接","ia.requirement.optional":"可选","ia.requirement.recommended":"推荐","ia.requirement.basic":"基础","ia.requirement.experimental":"实验","ia.overview.section.experience.title":"体验与适配","ia.overview.section.experience.desc":"这部分关注跨设备体验一致性,尤其是安全区、胶囊按钮和关键操作区在不同机型上的可用性。","ia.overview.section.ui.title":"UI适配","ia.overview.section.ui.desc":"这一组只聚焦多机型 UI 一致性,重点看屏幕尺寸、安全区、胶囊按钮与关键操作区是否被遮挡。","ia.overview.section.performance.title":"性能优化","ia.overview.section.performance.desc":"围绕首包体积、启动速度与运行时表现的优化工具集合;按需启用对应能力,后续将持续扩展更多优化项。","ia.env.title":"前置环境","ia.env.desc":"把最容易卡住接入联调的三项基础状态收紧到这里先看,避免页面很松但流程实际走不通。","ia.map.title":"能力地图","ia.map.desc":"每张卡片对应一条能力接入路径。先看能力简介,再进入二级页面查看定制化接入引导。","ia.action.openGuide":"进入接入引导","ia.detail.notFound":"未找到对应的能力引导。","ia.detail.backToMap":"返回上一页面",languageSwitcherLabel:Fle,langChinese:Gle,langEnglish:Wle},nl={"en-US":JSON.parse('{"ia.action.goLaunchMode":"Open Launch mode","ia.action.goSubpackageCollect":"Open Subpackage Collection","ia.action.goNetworkDiagnostics":"Open Network Diagnostics","ia.action.goPrecheck":"Open Code pre-check","ia.action.goProjectDetail":"Open Project detail","ia.action.openCapabilityDoc":"Detailed guide","ia.ad.highlight1":"Enable IAA and create placements first, then debug code paths; unreleased apps often cannot even finish placement setup.","ia.ad.highlight2":"Rewarded video needs accurate post-play rewards, while interstitials need strict pacing and low disruption.","ia.ad.prerequisite1":"Complete business verification and contract signing first, then enable In-App Ads in Monetization. Unreleased apps are usually blocked from creating usable ad placements.","ia.ad.prerequisite2":"For U.S. / EU launch, start Sensitive Data, USDS / TPRM, and related compliance work early, and prepare both IAA Mock and real-device verification paths.","ia.ad.step1":"Confirm IAA is enabled and the app is already released, then go to Ad placements and create the required placement ids.","ia.ad.step2":"In business code, integrate ad instance creation, load, show, and callback handling, and separately verify rewarded-video and interstitial success, failure, and close branches.","ia.ad.step3":"Focus the final regression on reward accuracy, frequency control, and experience boundaries: rewarded video should grant rewards only after full playback, and interstitials need at least a 60-second gap between triggers.","ia.ad.summary":"IAA ads cover rewarded video and interstitial formats, and the core chain is enablement, ad-placement creation, ad load/show, and close / reward callback handling without damaging the core experience.","ia.ad.tip1":"Make reward delivery idempotent so repeated callbacks, page switches, or re-entry do not cause duplicate rewards.","ia.ad.tip2":"Do not force ads into initialization, tutorial, or other high-frequency paths. If platform compliance or release gating is still blocked, fix that first.","ia.authorize.highlight1":"The key is not direct client-side profile access, but explicit extra-scope consent after `login`.","ia.authorize.highlight2":"Nickname, avatar, and other profile data should ultimately be fetched by the backend with `access_token`, not returned in one client call.","ia.authorize.prerequisite1":"Fill in Terms URL and Privacy URL in Project detail first, and make sure the `login` flow can already exchange for `open_id/access_token` reliably.","ia.authorize.prerequisite2":"Define scopes from real business needs. Do not assume profile fields such as nickname or avatar come directly from the client; they should come from backend OpenAPI calls after consent.","ia.authorize.step1":"Use `tt.login` to get the one-time `auth_code`, then exchange it on your backend for `open_id` / `access_token` so the base identity state is ready.","ia.authorize.step2":"Call `tt.authorize` only in flows that truly need extra profile data or permissions, for example `scope: \'user.info.basic\'`, and cover first-consent, reject, and re-entry branches.","ia.authorize.step3":"After the user agrees, let the backend call OpenAPI with `access_token`, then verify the returned scopes, profile fields, and fallback behavior all match the business path.","ia.authorize.summary":"Authorization asks users for extra scopes such as `user.info.basic` after `login` has already established base identity, then lets your backend use `access_token` to fetch profile data or complete permission checks.","ia.authorize.tip1":"Do not collapse authorization into login. `login` establishes identity, while `authorize` requests extra scopes, so their failure handling should stay separate.","ia.authorize.tip2":"Do not block the default flow on non-essential permissions. If users reject consent, the base flow should still work and there should be a clear re-trigger entry.","ia.directPlay.highlight1":"It reaches users in Feed with a previously played game card, and the main CTA is `Play now`.","ia.directPlay.highlight2":"It works well as a shared reproduction path for growth, delivery, and QA when recalling high-value users.","ia.directPlay.prerequisite1":"Stage 1 only focuses on the mini game package runtime. TT Feed presentation, forced insertion, and the `Play now` handoff are out of scope there.","ia.directPlay.prerequisite2":"Before moving into stage 2, make sure package launch, first-screen loading, and the core in-game path are already stable under the direct-play scene.","ia.directPlay.step1":"Open Launch mode, choose the direct-play scene, and save a dedicated mode for package debugging.","ia.directPlay.step2":"Return to Home and scan to launch. Verify that the package can enter reliably and complete the basic in-game flow under that scene.","ia.directPlay.step3":"Only after the package itself is stable should you come back here to validate the direct-play card presentation and handoff with a preview QR code, then manage the same card\'s live status.","ia.directPlay.summary":"Direct-play debugging is best split into three stages: first verify the mini game package itself, then use a preview QR code to validate the card presentation and handoff path, and finally manage the verified card\'s live status.","ia.directPlay.tip1":"If stage 1 fails, debug it like a normal package/runtime issue first instead of attributing it to Feed presentation or delivery logic too early.","ia.directPlay.tip2":"When stage 2 fails, separate package runtime issues from card configuration, asset, or handoff-path issues; stage 3 only manages the live status of the card already verified in stage 2.","ia.login.highlight1":"The core output is an `auth_code`, which your backend exchanges for `open_id` / session state.","ia.login.highlight2":"`login` and `authorize` are different paths: `login` establishes identity, while `authorize` requests extra scopes.","ia.login.prerequisite1":"Make sure the active `client_key` matches the terminal debug configuration and is injected correctly into the `tt.login` call path at runtime.","ia.login.prerequisite2":"Your backend should already expose the code-exchange API for `auth_code` -> `open_id` / session, with clear retry, error-code, and session-expiration handling.","ia.login.requirementScope":"Business login depends on whether the game needs an account or backend session. Platform upload checks may separately require Login API integration; this checklist does not waive those checks. Verify the login flow on a device when used.","ia.login.step1":"Call `tt.login` (or your business wrapper) from the business page and confirm the client can return a stable `auth_code`.","ia.login.step2":"Send the `auth_code` to your backend and verify the `open_id` / session exchange, session persistence, and downstream request propagation all work correctly.","ia.login.step3":"Cover user cancel, network failure, expired `auth_code`, and backend exchange failure branches, then confirm the UI fallback and retry strategy are usable.","ia.login.summary":"Login is the mini game identity capability. It gets an `auth_code` on the client, then your backend exchanges that code for `open_id` / session state.","ia.login.tip1":"Get the main `auth_code -> open_id / session` path stable first, then expand into profile, analytics, or other business flows that depend on login state.","ia.login.tip2":"In the current SDK, `login` defaults to `user.info.open_id`. If you need more user data or extra scopes, request them separately in `authorize`.","ia.menu.ad":"Ads","ia.menu.authorize":"Authorization","ia.menu.directPlayCard":"Direct play card","ia.menu.login":"Login","ia.menu.network":"Network and realtime","ia.menu.payment":"Payment","ia.menu.shareMessage":"In-app message share","ia.menu.shareStory":"Share to Story","ia.menu.shortcutRevisit":"Shortcut revisit","ia.menu.sidebarRevisit":"Sidebar revisit","ia.menu.subpackage":"Subpackage and preload","ia.menu.uiAdaptation":"UI adaptation","ia.menu.wasmSplit":"Wasm Code Split","ia.monetization.mode.iaa.desc":"Configure ad placements and verify ad requests and callbacks. Add login if your game needs an account or server session, and request profile authorization only when needed. Verify network failures and revisit paths that your game uses.","ia.monetization.mode.iaa.summary":"Verify ad placements, requests, and callbacks. Add business login as needed; check platform Login API requirements before upload.","ia.monetization.mode.iaa.title":"IAA","ia.monetization.mode.iaap.desc":"For hybrid monetization, use `login` to establish the shared user system first, then validate both the ad flow and the payment loop separately. Add `authorize` only when extra user profile data is required, make sure both monetization paths remain stable under the same account and gameplay session, and use revisit capabilities to verify ongoing return traffic for mixed-monetization users.","ia.monetization.mode.iaap.summary":"Ads and payments run together, so validate overall stability on top of the shared user system.","ia.monetization.mode.iaap.title":"IAAP","ia.monetization.mode.iap.desc":"For purchase-driven games, start with `login`, order creation, payment invocation, backend verification, and fulfillment as one closed loop. Add `authorize` only when extra profile data or additional scopes are required, pay special attention to weak-network, payment-cancel, and duplicate-order cases, and use revisit capabilities to validate the return path for paying users.","ia.monetization.mode.iap.summary":"The payment loop comes first, with order creation, payment, verification, and fulfillment kept consistent end to end.","ia.monetization.mode.iap.title":"IAP","ia.network.highlight1":"This topic is about weak-network and recovery behavior, not only single-request success on a good connection.","ia.network.highlight2":"Request, download, and realtime paths should each have explicit recovery rules.","ia.network.prerequisite1":"Unify request, download, and realtime paths before debugging so timeout, retry, and error visibility are not implemented differently in each page.","ia.network.prerequisite2":"Prepare different fallback and user feedback for HTTP, downloads, and long connections instead of treating them as the same failure type.","ia.network.step1":"Wrap request, download, and Socket calls behind a shared layer so timeout, cancel, retry, and logs are handled consistently.","ia.network.step2":"Use `getNetworkType`, network-change listeners, and weak-network listeners to verify that pages react to network changes instead of failing silently.","ia.network.step3":"On device, focus regression on weak-network, reconnect, interrupted downloads, and Socket recovery so state restoration is actually complete.","ia.network.summary":"Network and realtime covers `request`, `downloadFile`, `connectSocket`, and network-status observation, with the focus on usable weak-network, disconnect, and recovery behavior.","ia.network.tip1":"Do not test only ideal network. Most real issues come from timeout, half-downloaded assets, broken connections, and repeated reconnect attempts.","ia.network.tip2":"Realtime flows should explicitly cover close, background/foreground transition, and resubscribe logic after recovery.","ia.overview.section.foundation.desc":"Adapt the interface, configure network access, and plan resource loading and subpackages as needed for your game.","ia.overview.section.foundation.title":"Core capabilities","ia.overview.section.growth.desc":"These capabilities depend more on entry scenes and revisit paths, so scene selection and reward loops need extra attention.","ia.overview.section.growth.title":"Growth and revisit","ia.overview.section.identity.desc":"Establish the mini game identity first, then request profile or permission scopes only when needed.","ia.overview.section.identity.title":"Login and authorization","ia.overview.section.monetization.desc":"Revenue mainly comes from payment and ads, and both require portal enablement, business-loop validation, and device regression.","ia.overview.section.monetization.title":"Monetization","ia.overview.section.share.desc":"Help players share the game and return to the right in-game scene.","ia.overview.section.share.title":"Sharing and growth","ia.payment.highlight1":"The real payment loop is order creation, payment invocation, verification, and fulfillment, not just opening the pay panel.","ia.payment.highlight2":"Use IAP Mock to iterate faster, then validate real Beans payment against backend results on device.","ia.payment.prerequisite1":"Complete business verification and contract signing first, then enable In-App Purchases in Monetization. The payout entity should match the verified business entity.","ia.payment.prerequisite2":"Prepare product config, test accounts, and backend capabilities for order creation, persistence, and verification. For local iteration, enable IAP Mock first to cover the main branches.","ia.payment.step1":"Finish portal enablement, product setup, and payout info, then connect backend order creation, order persistence, and payment-result verification.","ia.payment.step2":"Integrate client payment invocation and callback handling, and use IAP Mock first to cover success, failure, cancel, and repeated-tap branches.","ia.payment.step3":"Then switch to real-device preview or real-device debug and verify real payment, backend verification, fulfillment / crediting, and retry handling as a complete loop.","ia.payment.summary":"IAP monetization is the full chain of backend order creation, client-side payment invocation, and backend verification / fulfillment for virtual goods or value-added services, with TikTok Beans as the only supported payment method.","ia.payment.tip1":"Do not treat the client success callback as the final truth. Fulfillment or crediting should rely on backend verification or the authoritative order state.","ia.payment.tip2":"Mock is useful for iteration speed, but real-device regression is still required before release, especially for weak-network, duplicate-order, cancel, and timeout cases.","ia.shareMessage.highlight1":"For `shareAppMessage`, the card title, description, and cover come from the game basic info in the developer portal, not from dynamic business-side customization.","ia.shareMessage.highlight2":"What the business side really needs to design is `query`, so proactive share, mission share, and campaign sharing can land in the correct in-game scenario.","ia.shareMessage.prerequisite1":"Confirm client-version support first and probe availability with `TTMinis.game.canIUse(\'shareAppMessage\')` instead of assuming the capability exists on every runtime.","ia.shareMessage.prerequisite2":"Make sure the game basic info is correctly configured in the developer portal first, because the in-app message card title, description, and cover are sourced from that portal config. Then focus the business logic on `query` and landing behavior.","ia.shareMessage.step1":"Integrate `TTMinis.game.shareAppMessage` in pages that fit acquisition, recall, or campaign sharing, and verify that the `query` value accurately represents the current business scenario.","ia.shareMessage.step2":"Focus on success, cancel, failure, and repeated-tap branches so the in-app message share action, callbacks, and user feedback all stay stable.","ia.shareMessage.step3":"On device, verify the message-card presentation and post-share return path so recipients land on the right page and the query-driven state is restored correctly.","ia.shareMessage.summary":"`shareAppMessage` is TikTok in-app message sharing. The card title, description, and cover come from the game basic info configured in the developer portal, while the business-side design focus is how `query` carries the exact in-game share scenario.","ia.shareMessage.tip1":"This is better described as an in-app message card share capability, but the card title, description, and cover are not dynamically customized by business code at share time. What you really control is `query` and the landing flow.","ia.shareMessage.tip2":"If many share entries exist, centralize `query` generation and parsing. Maintain the game basic info separately in the developer portal instead of assuming share-time overrides are supported.","ia.shareStory.highlight1":"`shareToStory` is more visual, but what the business side still needs to design carefully is `query`, so the share can return to the right in-game scenario.","ia.shareStory.highlight2":"Do dedicated device regression for Story, checking both asset presentation quality and `query`-driven return-path stability.","ia.shareStory.prerequisite1":"Identify which campaign, gameplay, or result pages are actually suitable for Story sharing instead of forcing a Story entry into every flow.","ia.shareStory.prerequisite2":"Prepare Story-appropriate assets first, then design the `query` value and landing behavior together. Do not optimize only for visual materials while leaving the in-game return logic ambiguous.","ia.shareStory.step1":"Integrate `shareToStory` on pages that are appropriate for visual propagation and verify that both the selected asset and the `query` value represent the active business scenario correctly.","ia.shareStory.step2":"Cover trigger, cancel, failure, and multiple-asset branches so the Story-sharing presentation and user feedback both behave as expected.","ia.shareStory.step3":"On device, verify the return path after Story sharing and confirm that the target page, campaign state, and params are restored correctly.","ia.shareStory.summary":"`shareToStory` focuses on Story sharing. The visible presentation depends more on the Story asset itself, while the business-side design focus is still the `query` value and the post-share landing flow.","ia.shareStory.tip1":"Story sharing should not be treated as a simple copy of message sharing. Asset expression is one part, but `query` and the post-share landing flow still need deliberate business-side design.","ia.shareStory.tip2":"If Story depends on strong visual materials, do focused real-device checks on both asset presentation and whether the `query`-driven return path restores the right page state.","ia.shortcut.highlight1":"Verify the path from adding the shortcut to returning from the home screen and checking reward eligibility.","ia.shortcut.highlight2":"Check the entry scene and `canReceiveReward`, then verify how your game grants the reward.","ia.shortcut.prerequisite1":"Compatibility: probe support via `TTMinis.game.canIUse(\'addShortcut\')`. Validate on TikTok 41.0.0+ (iOS requires 41.40+).","ia.shortcut.prerequisite2":"Reward verification: in the real user flow, `TTMinis.game.getShortcutMissionReward()` returns `canReceiveReward=true` only when the session is launched from the home-screen shortcut. Under `scene_shortcut` Launch mode, the session itself already simulates that entry.","ia.shortcut.step1":"Add a clear entry point in your UI: check `canIUse(\'addShortcut\')`, then call `TTMinis.game.addShortcut()`, and log `errorCode/errorMsg` on failures for debugging.","ia.shortcut.step2":"For local debugging: run `ttmg dev` → in Launch mode select the `Desktop Shortcut` scene (`scene_shortcut`) → scan to enter. That session is already simulating an open from the desktop shortcut entry.","ia.shortcut.step3":"Call `TTMinis.game.getShortcutMissionReward()` directly and check `canReceiveReward`. If true, continue into your reward/claim flow. Keep `addShortcut` and the real home-screen reopen for real user-flow regression.","ia.shortcut.summary":"Let players add a shortcut to their home screen and return through it to claim an eligible reward.","ia.shortcut.tip1":"Treat `canReceiveReward` as an entry-source signal: add-shortcut success does not mean the current session is eligible for claiming the revisit reward.","ia.shortcut.tip2":"Explain the benefit of adding a shortcut at an appropriate point in the game. Verify reward eligibility and prevent duplicate grants.","ia.sidebar.highlight1":"Verify the sidebar entry, task state, and reward eligibility together.","ia.sidebar.highlight2":"Choose a suitable in-game entry and verify the return and reward flows on a device.","ia.sidebar.prerequisite1":"Confirm the account region is within the supported rollout and check capability support with `canIUse` in business code first.","ia.sidebar.prerequisite2":"Use a dedicated sidebar-revisit scene in Launch mode instead of keeping the default QR path.","ia.sidebar.step1":"Go to Launch mode, select the `Sidebar revisit` scene, and save it as a dedicated debug mode.","ia.sidebar.step2":"For local debugging, run `ttmg dev`, switch Launch mode to `scene_center`, then scan to enter. That session is already simulating an open from the sidebar entry.","ia.sidebar.step3":"Call `getEntranceMissionReward` directly to verify `canReceiveReward` and your reward-delivery logic. Keep `startEntranceMission` for real user-flow regression instead of treating it as a required Launch mode step.","ia.sidebar.summary":"Let players return to the game from the TikTok sidebar and claim an eligible revisit reward.","ia.sidebar.tip1":"This capability strongly depends on scene and region conditions, so do not describe or validate it only through the default QR path.","ia.sidebar.tip2":"If the task cannot continue, check scene, account region, client capability, and task state before suspecting reward logic.","ia.subpackage.highlight1":"Split-package quality depends on boundary definition, preload timing, and fallback, not on splitting as much as possible.","ia.subpackage.highlight2":"Validate both first-screen speed and later scene transitions under weak network.","ia.subpackage.prerequisite1":"Identify what is truly required on the first screen versus what belongs to later gameplay or optional resources.","ia.subpackage.prerequisite2":"Prepare consistent loading fallback, retry, and loading-state UX instead of scattering split-package logic inside business pages.","ia.subpackage.step1":"Declare each name and root under `subpackages` in `game.json`, and check that the package root has a `game.js` entry. Keep first-screen resources in the main package.","ia.subpackage.step2":"Use `preDownloadSubpackage` to download ahead of time. Use `loadSubpackage` to download and execute the package entry; before entering the scene, wait for required assets and initialization.","ia.subpackage.step3":"Run device and weak-network regression on first-screen enter, later jumps, and split-package failure recovery so users do not get stuck mid-load.","ia.subpackage.summary":"Subpackage and preload focuses on first-package size, split boundaries, and resource loading timing so later content can arrive smoothly without hurting first-screen speed.","ia.subpackage.tip1":"Preload does not mean ready-to-use. Validate the actual business transition when the split package is truly needed.","ia.subpackage.tip2":"Do not over-split just to chase a smaller main package. Timing, fallback, and dependency correctness matter more than raw split count.","ia.uiAdaptation.highlight1":"The goal is not one-off page fixes but a shared layout baseline for safe area, capsule button, and window metrics.","ia.uiAdaptation.highlight2":"Validate on real devices with different sizes so titles, floating buttons, and bottom action areas stay unobstructed.","ia.uiAdaptation.prerequisite1":"List the key pages that depend on top bars, floating actions, fixed bottom areas, or full-screen visuals instead of patching only one page.","ia.uiAdaptation.prerequisite2":"Prepare real-device or multi-size preview coverage, especially across different aspect ratios, top safe areas, and bottom gesture areas.","ia.uiAdaptation.step1":"First centralize window-size, safe-area, and capsule-button metrics into a layout baseline instead of hardcoding them separately in each page.","ia.uiAdaptation.step2":"Adapt top title areas, top-right actions, bottom fixed controls, and modal content so they do not overlap with the capsule button or system safe areas.","ia.uiAdaptation.step3":"Run real-device regression on key pages and check aspect-ratio changes, scroll containers, full-screen backgrounds, and tap targets across devices.","ia.uiAdaptation.summary":"UI adaptation focuses on screen-size, capsule-button, and safe-area handling so key UI stays visible, tappable, and correctly aligned across devices.","ia.uiAdaptation.tip1":"Do not look only at visual alignment. Tap areas, modal close affordances, and bottom reachability are part of UI adaptation too.","ia.uiAdaptation.tip2":"Do not hardcode the capsule-button position with fixed pixels; base layout on platform metrics and safe-area data.","ia.wasmSplit.summary":"Split the Unity Wasm bundle into on-demand chunks to shrink the initial payload and improve cold start. Unity engines only.","scene_ad":"For Your feed ads","scene_center":"Sidebar","scene_fyf_promotion_direct_feed_play":"For You feed direct play","scene_scan_qrcode":"Scan QR code","scene_shortcut":"Desktop Shortcut"}'),"zh-CN":JSON.parse('{"ia.action.goLaunchMode":"打开启动模式","ia.action.goSubpackageCollect":"打开子包采集","ia.action.goNetworkDiagnostics":"打开网络诊断","ia.action.goPrecheck":"打开代码预检","ia.action.goProjectDetail":"打开项目详情","ia.action.openCapabilityDoc":"详细引导","ia.ad.highlight1":"先开通 IAA 并创建广告位,再看代码联调;未上线应用通常连广告位都配不起来。","ia.ad.highlight2":"激励视频要保证完整播放后准确发奖,插屏要控制频率和打断感。","ia.ad.prerequisite1":"先完成企业认证、合同签署,并在 Monetization 中启用 In-App Ads;未上线应用通常无法正常创建广告位。","ia.ad.prerequisite2":"如涉及 US / EU,上线前尽早补齐 Sensitive Data、USDS / TPRM 等合规要求,并准备好 IAA Mock / 真机联调方案。","ia.ad.step1":"先在平台确认 IAA 已开通且应用已上线,再进入 Ad placements 创建广告位并拿到对应 placement id。","ia.ad.step2":"在业务中接入广告实例创建、加载、展示和回调处理,分别验证激励视频和插屏的成功、失败、关闭分支。","ia.ad.step3":"重点回归奖励发放、频控与体验边界:激励视频完整播放后要准确发奖,插屏两次触发间隔需不少于 60 秒。","ia.ad.summary":"IAA 广告能力覆盖激励视频与插屏广告,核心链路是“开通广告能力 -> 创建广告位 -> 加载/展示广告 -> 处理关闭与发奖回调”,用于变现且不打断核心体验。","ia.ad.tip1":"广告回调和奖励发放要做幂等处理,避免重复回调、页面切换或重进场景导致重复发奖。","ia.ad.tip2":"不要在初始化、新手引导或高频操作链路强插广告;若平台侧合规或上线门槛未过,先处理这些阻塞项。","ia.authorize.highlight1":"核心不是在客户端直接拿资料,而是在 `login` 之后由用户显式授权额外 scope。","ia.authorize.highlight2":"昵称、头像等资料最终由服务端携带 `access_token` 调 OpenAPI 获取,不是客户端一键返回。","ia.authorize.prerequisite1":"先在项目详情页补齐 Terms URL 与 Privacy URL,并确认 `login` 主链路已能稳定换取 `open_id/access_token`。","ia.authorize.prerequisite2":"按业务场景梳理所需 scope;昵称、头像等资料不应假设由客户端直接返回,而要通过授权后的服务端 OpenAPI 获取。","ia.authorize.step1":"先通过 `tt.login` 获取一次性 `auth_code`,由服务端换取 `open_id` / `access_token`,建立基础身份态。","ia.authorize.step2":"在真正需要资料或额外权限的场景调用 `tt.authorize`(如 `scope: \'user.info.basic\'`),覆盖首次授权、拒绝授权和再次进入三类路径。","ia.authorize.step3":"用户同意后,由服务端携带 `access_token` 调用 OpenAPI 拉取资料并落到业务链路,确认 scope、资料字段和降级兜底一致。","ia.authorize.summary":"授权能力用于在 `login` 已拿到基础身份后,显式向用户申请 `user.info.basic` 等额外 scope;授权完成后,再由服务端结合 `access_token` 拉取资料或完成权限校验。","ia.authorize.tip1":"不要把授权和登录混成一步:`login` 建立基础身份,`authorize` 申请额外 scope,两个失败分支都要单独处理。","ia.authorize.tip2":"非必需权限不要做成默认拦截;用户拒绝后也应能继续基础流程,并保留明确的二次触发入口。","ia.directPlay.highlight1":"在 Feed 中通过历史玩过游戏卡片触达用户,主按钮是 “Play now”。","ia.directPlay.highlight2":"更适合高价值用户召回,可作为投放、增长和 QA 的统一复现入口。","ia.directPlay.prerequisite1":"阶段一只关注小游戏包自身运行,不涉及 TT Feed 卡面、强插或 “Play now” 承接效果。","ia.directPlay.prerequisite2":"进入阶段二前,建议先把推荐流直玩 scene 下的包体启动、首屏加载和核心游戏路径跑通。","ia.directPlay.step1":"在“启动模式”里选择推荐流直玩 scene,保存一个专用启动模式用于游戏包调试。","ia.directPlay.step2":"回到首页扫码启动,确认小游戏包在该 scene 下能够稳定进入并完成基础业务流程。","ia.directPlay.step3":"只有当包体本身稳定后,再回到本页使用预览二维码验证直玩卡卡面与承接路径,确认无误后再管理同一张卡的上线状态。","ia.directPlay.summary":"直玩卡联调建议拆成三个阶段:先调试小游戏包本身,再用预览二维码验证卡面和承接路径,最后管理已验证直玩卡的上线状态。","ia.directPlay.tip1":"阶段一遇到的问题优先按普通包体调试处理,不要过早归因到 Feed 卡面或投放链路。","ia.directPlay.tip2":"阶段二若出现问题,建议区分是包体运行异常,还是卡片配置、素材或承接链路异常;阶段三只管理阶段二已验证卡片的上线状态。","ia.login.highlight1":"先把 `tt.login` 的 `auth_code -> open_id` 主链路跑通:`open_id` 是业务侧的用户主键与会话索引。","ia.login.highlight2":"默认只拿 `user.info.open_id`;如需昵称/头像等资料或额外 scope,请走 `tt.authorize` 并在服务端完成资料获取与权限校验。","ia.login.prerequisite1":"先在项目详情页补齐 Terms URL 与 Privacy URL,并确认运行时注入的 `client_key` 与当前调试环境一致(`tt.login` 默认 scope 为 `user.info.open_id`)。","ia.login.prerequisite2":"业务服务端需提供 `code -> open_id` 的换取接口:使用 `auth_code` 调用 TikTok OpenAPI `https://open.tiktokapis.com/v2/oauth/token/`(`grant_type=authorization_code`),并持久化 `open_id`(及必要的令牌/过期时间)。","ia.login.requirementScope":"业务登录取决于游戏是否需要账号或服务端会话。平台上传检查可能另行要求接入 Login API,本清单不豁免该检查;实际使用登录时仍须真机验证。","ia.login.step1":"在业务页调用 `tt.login()`(或业务封装),确认回调稳定返回 `code`(对应 `auth_code`);失败分支记录 `errorCode/errorMsg` 便于联调定位。","ia.login.step2":"将 `code` 立即传给服务端(短时效、一次性),服务端以 `application/x-www-form-urlencoded` 请求 `https://open.tiktokapis.com/v2/oauth/token/` 换取 `open_id`(如业务需要也会同时返回 `access_token/refresh_token`)。","ia.login.step3":"用 `open_id` 建立业务会话并落库:补齐用户取消、弱网重试、防重复消费同一 `code`、`invalid_grant/invalid_client` 等异常;如需长期调用受保护资源,按 `grant_type=refresh_token` 刷新并更新存储。","ia.login.summary":"登录(`tt.login`)用于在客户端获取一次性 `auth_code`(这里透出的字段为 `code`),再由业务服务端换取 `open_id` 并建立会话态。","ia.login.tip1":"不要在客户端使用或下发 `client_secret`;所有 `auth_code -> token/open_id` 的交换必须在服务端完成。","ia.login.tip2":"排障优先级建议:Terms/Privacy 缺失(常见 `102102`)→ `client_key/client_secret` 不匹配(`invalid_client`)→ `auth_code` 过期或重复使用(`invalid_grant`)→ 请求头/参数格式错误(`invalid_request`)。","ia.menu.ad":"广告","ia.menu.authorize":"授权","ia.menu.directPlayCard":"直玩卡","ia.menu.login":"登录","ia.menu.network":"网络与实时通信","ia.menu.payment":"支付","ia.menu.shareMessage":"站内信分享","ia.menu.shareStory":"分享 Story","ia.menu.shortcutRevisit":"加桌复访","ia.menu.sidebarRevisit":"侧边栏复访","ia.menu.subpackage":"分包与预下载","ia.menu.uiAdaptation":"UI 适配","ia.menu.wasmSplit":"Wasm 分包","ia.monetization.mode.iaa.desc":"先配置广告位,验证广告请求和回调。游戏需要账号或服务端会话时接入 `login`;需要额外用户资料时再接入 `authorize`。同时验证网络异常,以及游戏实际使用的复访路径。","ia.monetization.mode.iaa.summary":"验证广告位、请求和回调。业务登录按需接入;上传前请核对平台对 Login API 的要求。","ia.monetization.mode.iaa.title":"IAA","ia.monetization.mode.iaap.desc":"广告与支付并行,建议先用 `login` 打通共用用户体系,再分别验证广告链路与支付闭环;`authorize` 仅在需要额外用户资料时补充接入,同时要关注两条变现链路在同一账号与同一局内场景下的联调稳定性,并结合复访能力验证混合变现用户的持续回流效果。","ia.monetization.mode.iaap.summary":"广告与支付双链路并行,优先验证共用用户体系下的整体联调稳定性。","ia.monetization.mode.iaap.title":"IAAP","ia.monetization.mode.iap.desc":"以内购变现为主,建议先打通 `login`、下单、支付拉起、服务端验单与发货闭环;`authorize` 仅在需要额外用户资料或扩展 scope 时再接入,同时要重点关注弱网、取消支付、重复下单等订单校验场景,并结合复访能力验证付费用户的回流承接。","ia.monetization.mode.iap.summary":"支付闭环优先,重点验证下单、支付、验单与发货链路的一致性。","ia.monetization.mode.iap.title":"IAP","ia.network.highlight1":"网络专题重点是弱网、断线与恢复,不是只看理想网络下的单次请求成功。","ia.network.highlight2":"请求、下载和实时通信应分别设计错误处理和状态恢复策略。","ia.network.prerequisite1":"先统一梳理项目里的请求、下载与实时通信路径,避免每个页面各自处理 timeout、重试和错误提示。","ia.network.prerequisite2":"为 HTTP 请求、资源下载和长连接分别设计失败兜底与状态提示,不要把它们混成同一种异常处理。","ia.network.step1":"先封装统一的请求/下载/Socket 调用入口,把超时、取消、重试和日志能力收拢到一层处理。","ia.network.step2":"结合 `getNetworkType`、网络变化监听和弱网监听,验证页面能对网络波动做出合理反馈,而不是静默失败。","ia.network.step3":"在真机上重点回归弱网、断网恢复、下载中断和 Socket 重连场景,确认状态恢复与用户提示是完整的。","ia.network.summary":"网络与实时通信专题覆盖 `request`、`downloadFile`、`connectSocket` 以及网络状态监听,重点是让弱网、断线和重连场景也保持可用。","ia.network.tip1":"不要只测理想网络;多数线上问题都发生在请求超时、资源半下载、连接闪断和重复重连上。","ia.network.tip2":"实时通信场景要单独验证连接关闭、前后台切换和恢复后的重订阅逻辑,不要只看首次连接成功。","ia.overview.section.foundation.desc":"按游戏需要完成界面适配、网络配置、资源加载和分包。","ia.overview.section.foundation.title":"基础能力","ia.overview.section.growth.desc":"这部分更偏入口场景和留存回流,调试时要特别注意 scene、入口路径和奖励闭环。","ia.overview.section.growth.title":"增长与复访","ia.overview.section.identity.desc":"先建立小游戏身份,再按需申请资料或权限 scope,这是很多用户态能力的起点。","ia.overview.section.identity.title":"登录与授权","ia.overview.section.monetization.desc":"收入链路主要分为支付和广告,两者都需要先打通平台开通、业务闭环和真机回归。","ia.overview.section.monetization.title":"商业化变现","ia.overview.section.share.desc":"让玩家分享游戏,并在返回时进入正确的游戏场景。","ia.overview.section.share.title":"分享与裂变","ia.payment.highlight1":"支付闭环重点是“下单、拉起支付、验单、发货”,不是只把支付面板调起来。","ia.payment.highlight2":"建议先用 IAP Mock 提速,再用真机验证真实 Beans 支付与服务端结果一致性。","ia.payment.prerequisite1":"先完成企业认证、合同签署,并在 Monetization 中启用 In-App Purchases;收款主体需与企业认证主体一致。","ia.payment.prerequisite2":"提前准备商品配置、测试账号,以及服务端下单、订单落库和验单能力;本地联调可先打开 IAP Mock 覆盖主分支。","ia.payment.step1":"先在平台完成 IAP 开通、商品配置和收款信息填写,再在服务端打通创建订单、订单持久化和支付结果校验。","ia.payment.step2":"客户端接入支付唤起与回调处理,先用 IAP Mock 验证成功、失败、取消、重复点击等基础分支。","ia.payment.step3":"最后切到真机预览或真机调试,验证真实支付、服务端验单、发货/到账以及异常重试链路是否闭环。","ia.payment.summary":"IAP 支付用于售卖虚拟道具或增值服务,核心链路是“服务端创建订单 -> 客户端发起支付 -> 服务端验单/发货”,当前仅支持 TikTok Beans。","ia.payment.tip1":"不要只看客户端支付成功回调;最终发货或到账应以后端验单结果或权威订单状态为准。","ia.payment.tip2":"Mock 适合提效,但提审前必须做真机回归,并覆盖弱网、重复下单、取消支付和超时回调。","ia.shareMessage.highlight1":"`shareAppMessage` 的卡片标题、描述和封面来自开发者平台的游戏基本信息,不是业务侧在分享时动态自定义。","ia.shareMessage.highlight2":"业务侧真正要设计的是 `query` 参数,让主动分享、任务分享和活动传播都能落到正确的游戏内场景。","ia.shareMessage.prerequisite1":"先确认客户端版本和能力前置,按文档建议通过 `TTMinis.game.canIUse(\'shareAppMessage\')` 判断是否可用,不要默认所有端上都支持。","ia.shareMessage.prerequisite2":"先在开发者平台补齐并确认游戏基本信息,因为站内信卡片展示的标题、描述和封面取自平台配置;业务侧再重点设计 `query` 参数和落地页承接规则。","ia.shareMessage.step1":"在适合拉新、召回或活动传播的页面接入 `TTMinis.game.shareAppMessage`,并重点确认不同入口下传入的 `query` 能准确表达当前业务场景。","ia.shareMessage.step2":"重点验证站内信分享的成功、取消、失败和重复点击分支,确认分享动作本身、回调和用户反馈都稳定。","ia.shareMessage.step3":"在真机检查站内信卡片的展示效果与回流路径,确认用户打开后能进入正确页面,且 query 对应的业务状态恢复正常。","ia.shareMessage.summary":"`shareAppMessage` 对应 TikTok 站内信分享,其中卡片标题、描述和封面来自开发者平台的游戏基本信息,开发者真正需要设计的是 `query` 参数如何承接具体分享场景。","ia.shareMessage.tip1":"这张卡更接近“站内信卡片分享”能力,但卡片标题、描述和封面并不是业务侧实时自定义的,真正可控的是 `query` 和分享后的承接逻辑。","ia.shareMessage.tip2":"如果分享入口很多,建议统一封装 `query` 生成和解析逻辑;平台侧游戏基本信息则应单独在开发者平台维护,不要误以为能在分享时动态覆盖。","ia.shareStory.highlight1":"`shareToStory` 更偏视觉传播,但业务侧真正需要设计的仍是 `query`,让分享后能回到正确的游戏内场景。","ia.shareStory.highlight2":"Story 分享建议单独做真机回归,同时检查素材展示效果和 `query` 驱动的回流路径是否稳定。","ia.shareStory.prerequisite1":"先梳理哪些活动、玩法或结果页适合 Story 分享,避免把不适合视觉传播的场景也强行套用 Story 入口。","ia.shareStory.prerequisite2":"提前准备符合 Story 场景的素材资源,并同步设计 `query` 参数和落地页承接方案;不要只准备视觉素材而忽略回流后的游戏内逻辑。","ia.shareStory.step1":"在适合传播的页面接入 `shareToStory`,确认素材选择和传入的 `query` 都能准确表达当前业务场景。","ia.shareStory.step2":"验证 Story 分享触发、取消、失败与不同素材组合分支,确认视觉展示和交互反馈都符合预期。","ia.shareStory.step3":"结合真机检查 Story 分享后的回流路径,确认用户回到小游戏时目标页面、活动状态和参数恢复正常。","ia.shareStory.summary":"`shareToStory` 聚焦 Story 分享,其中展示效果更依赖 Story 素材本身,而业务侧真正要设计的是 `query` 参数和分享后的回流承接逻辑。","ia.shareStory.tip1":"Story 分享不是普通消息分享的简单复用,素材表达是一部分,但业务侧仍要把 `query` 和回流承接链路单独设计清楚。","ia.shareStory.tip2":"如果 Story 场景依赖强视觉素材,提审前建议同时回归素材展示效果和 `query` 对应的页面恢复是否稳定。","ia.shortcut.highlight1":"验证添加快捷方式、从桌面返回和检查奖励资格的完整过程。","ia.shortcut.highlight2":"先检查入口 scene 和 `canReceiveReward`,再验证游戏内的发奖逻辑。","ia.shortcut.prerequisite1":"兼容性:先用 `TTMinis.game.canIUse(\'addShortcut\')` 做能力探测;推荐在 TikTok 41.0.0+ 版本验证(iOS 需 41.40+)。","ia.shortcut.prerequisite2":"奖励校验:真实用户链路里,`TTMinis.game.getShortcutMissionReward()` 的 `canReceiveReward` 只有在“从桌面图标进入”时才可能为 true;而在 `scene_shortcut` 启动模式里,会话本身就在模拟该入口。","ia.shortcut.step1":"在业务入口准备“添加到桌面”触发点:先判断 `canIUse(\'addShortcut\')`,再调用 `TTMinis.game.addShortcut()`,并记录 fail 分支的 `errorCode/errorMsg`。","ia.shortcut.step2":"本地联调:运行 `ttmg dev` → 在“启动模式”选择“桌面快捷方式” scene(`scene_shortcut`)→ 扫码进入;此时已经是在模拟“从桌面入口打开”的会话。","ia.shortcut.step3":"直接调用 `TTMinis.game.getShortcutMissionReward()` 检查 `canReceiveReward`,为 true 时再走业务发奖/领券逻辑;`addShortcut` 与“回桌面再进”留给真实用户路径回归即可。","ia.shortcut.summary":"让玩家将游戏添加到桌面,通过快捷方式返回,并在符合条件时领取奖励。","ia.shortcut.tip1":"把 `canReceiveReward` 当作“是否从桌面入口进入”的信号拆开看:加桌动作本身成功 ≠ 一定能在当前会话领取奖励。","ia.shortcut.tip2":"在合适的游戏时机说明添加快捷方式的用途,并验证奖励资格和防重复发放。","ia.sidebar.highlight1":"一起验证侧边栏入口、任务状态和奖励领取条件。","ia.sidebar.highlight2":"选择合适的游戏内入口,并在真机验证返回游戏和领取奖励的流程。","ia.sidebar.prerequisite1":"确认账号地区在能力开放范围内,并在业务代码里先做 `canIUse` 探测。","ia.sidebar.prerequisite2":"在启动模式中把进入场景切到侧边栏复访入口,避免继续沿用普通扫码场景。","ia.sidebar.step1":"先到“启动模式”选择“复访奖励 - 侧边栏” scene,并保存为独立的调试模式。","ia.sidebar.step2":"本地联调时先运行 `ttmg dev`,再把启动模式切到 `scene_center` 并扫码进入;此时已经是在模拟“从侧边栏入口打开”的会话。","ia.sidebar.step3":"直接调用 `getEntranceMissionReward` 检查 `canReceiveReward` 与业务发奖逻辑;`startEntranceMission` 留给真实用户路径回归,不是启动模式下的必做前置动作。","ia.sidebar.summary":"让玩家从 TikTok 侧边栏返回游戏,并在符合条件时领取复访奖励。","ia.sidebar.tip1":"这类能力强依赖入口场景与地区条件,不能只用默认扫码路径描述或验证。","ia.sidebar.tip2":"若任务无法继续,先排查 scene、账号地区、客户端能力与任务状态,而不是直接怀疑奖励逻辑。","ia.subpackage.highlight1":"分包的核心不是拆得多,而是主包边界、预下载时机和失败兜底是否合理。","ia.subpackage.highlight2":"要同时回归首屏速度、后续场景切换和弱网下的加载体验。","ia.subpackage.prerequisite1":"先梳理首屏必需资源与后续场景资源,明确哪些内容应该留在主包,哪些适合拆到分包。","ia.subpackage.prerequisite2":"为分包加载失败、弱网重试和加载中反馈准备统一兜底,避免把加载逻辑散落在业务页面里。","ia.subpackage.step1":"在 `game.json` 的 `subpackages` 中声明分包名称和根目录,确认分包根目录包含 `game.js` 入口。首屏必需资源保留在主包。","ia.subpackage.step2":"使用 `preDownloadSubpackage` 提前下载;需要加载并执行分包入口时使用 `loadSubpackage`。进入场景前,等待所需资源和初始化完成。","ia.subpackage.step3":"在真机与弱网场景回归首屏进入、后续跳转和分包失败重试,确认用户不会卡死在资源加载链路里。","ia.subpackage.summary":"分包与预下载专题关注首包体积、分包边界与资源加载时机,核心目标是在不拖慢首屏的前提下,让后续内容更平滑地进入。","ia.subpackage.tip1":"预下载不等于立即可用;仍然要验证真正进入业务场景时资源是否已经准备完成。","ia.subpackage.tip2":"不要为了追求首包小而过度拆包;分包数量、加载时机和失败兜底比机械地“拆得越多越好”更重要。","ia.uiAdaptation.highlight1":"重点不是单页修样式,而是把安全区、胶囊按钮和窗口尺寸沉淀成统一布局基线。","ia.uiAdaptation.highlight2":"要用真机覆盖多尺寸和异形屏,确认标题、悬浮按钮、底部操作区都不被遮挡。","ia.uiAdaptation.prerequisite1":"先梳理项目里与顶栏、浮层、固定按钮、全屏背景相关的核心页面,避免只在单一页面补样式。","ia.uiAdaptation.prerequisite2":"优先准备真机或多尺寸预览环境,特别覆盖不同长宽比、顶部安全区和底部手势区域差异。","ia.uiAdaptation.step1":"先统一读取设备窗口尺寸、安全区和胶囊按钮位置相关信息,沉淀成布局基线,而不是在页面里分散硬编码。","ia.uiAdaptation.step2":"对顶部标题区、右上角操作按钮、底部固定操作区和弹窗内容做适配,确认不会与胶囊按钮或系统安全区重叠。","ia.uiAdaptation.step3":"在多机型回归关键页面,重点检查横竖比例变化、滚动容器、全屏背景和点击热区是否仍然自然可用。","ia.uiAdaptation.summary":"UI 适配专题聚焦屏幕尺寸、胶囊按钮与安全区适配,核心目标是在不同设备上保证关键 UI 不被遮挡、裁切或错位。","ia.uiAdaptation.tip1":"不要只看视觉对齐;按钮点击区域、弹窗可关闭区域和底部可达性同样属于 UI 适配问题。","ia.uiAdaptation.tip2":"避免把胶囊按钮位置写死成固定像素,优先基于平台返回信息和安全区做动态布局。","ia.wasmSplit.summary":"把 Unity Wasm 拆分为按需加载的子包,缩小首包体积、提升冷启表现;仅对 Unity 引擎可用。","scene_ad":"推荐页广告","scene_center":"复访奖励 - 侧边栏","scene_fyf_promotion_direct_feed_play":"推荐流直玩","scene_scan_qrcode":"扫码打开","scene_shortcut":"桌面快捷方式"}'),"ja-JP":JSON.parse('{"ia.action.goLaunchMode":"起動モードを開く","ia.action.goSubpackageCollect":"サブパッケージ収集を開く","ia.action.goNetworkDiagnostics":"ネットワーク診断を開く","ia.action.goPrecheck":"オープンコードの事前チェック","ia.action.goProjectDetail":"プロジェクトの詳細を開く","ia.action.openCapabilityDoc":"詳細ガイド","ia.ad.highlight1":"IAA を有効にして、最初にプレースメントを作成してから、コード パスをデバッグします。リリースされていないアプリは、配置のセ​​ットアップを完了できないことがよくあります。","ia.ad.highlight2":"リワード付きビデオには正確な再生後のリワードが必要ですが、インタースティシャルには厳密なペースと中断の少ないことが必要です。","ia.ad.prerequisite1":"まずビジネスの検証と契約の署名を完了してから、収益化でアプリ内広告を有効にします。通常、リリースされていないアプリは、使用可能な広告プレースメントの作成がブロックされます。","ia.ad.prerequisite2":"米国 / EU での発売に向けて、機密データ、USDS / TPRM、および関連するコンプライアンス作業を早期に開始し、IAA モックと実デバイス検証パスの両方を準備します。","ia.ad.step1":"IAA が有効であり、アプリがすでにリリースされていることを確認し、[広告プレースメント] に移動して必要なプレースメント ID を作成します。","ia.ad.step2":"ビジネス コードで、広告インスタンスの作成、読み込み、表示、コールバック処理を統合し、リワードビデオとインタースティシャルの成功、失敗を個別に検証し、ブランチを閉じます。","ia.ad.step3":"最終回帰は報酬の精度、頻度制御、エクスペリエンスの境界に焦点を当てます。報酬付きビデオは完全に再生された後にのみ報酬を付与する必要があり、インタースティシャルはトリガー間に少なくとも 60 秒のギャップが必要です。","ia.ad.summary":"IAA 広告はリワードビデオとインタースティシャルフォーマットをカバーしており、コアチェーンはイネーブルメント、広告プレースメントの作成、広告の読み込み/表示、およびクローズ/リワードコールバック処理であり、コアエクスペリエンスを損なうことはありません。","ia.ad.tip1":"繰り返しのコールバック、ページ切り替え、または再エントリによって報酬が重複しないように、報酬配信を冪等にします。","ia.ad.tip2":"初期化、チュートリアル、またはその他の高頻度パスに広告を強制的に挿入しないでください。プラットフォームのコンプライアンスまたはリリース ゲートがまだブロックされている場合は、まずそれを修正してください。","ia.authorize.highlight1":"重要なのは、クライアント側のプロファイルへの直接アクセスではなく、`login` 後の明示的なスコープ外の同意です。","ia.authorize.highlight2":"ニックネーム、アバター、その他のプロフィール データは、最終的に `access_token` を使用してバックエンドによってフェッチされる必要があり、1 回のクライアント呼び出しで返されることはありません。","ia.authorize.prerequisite1":"まずプロジェクトの詳細に条件 URL とプライバシー URL を入力し、`login` フローが既に `open_id/access_token` と確実に交換できることを確認してください。","ia.authorize.prerequisite2":"実際のビジネス ニーズに基づいてスコープを定義します。ニックネームやアバターなどのプロフィール フィールドがクライアントから直接取得されると想定しないでください。これらは、同意後のバックエンド OpenAPI 呼び出しから取得される必要があります。","ia.authorize.step1":"`tt.login` を使用してワンタイム `auth_code` を取得し、バックエンドでそれを `open_id` / `access_token` と交換して、基本アイデンティティ状態の準備が整います。","ia.authorize.step2":"追加のプロファイル データまたは権限が本当に必要なフロー (`scope: \'user.info.basic\'` など) でのみ `tt.authorize` を呼び出し、最初の同意、拒否、および再エントリのブランチをカバーします。","ia.authorize.step3":"ユーザーが同意した後、バックエンドで `access_token` を使用して OpenAPI を呼び出し、返されたスコープ、プロファイル フィールド、およびフォールバック動作がすべてビジネス パスと一致することを確認します。","ia.authorize.summary":"承認では、`login` が基本 ID をすでに確立した後、`user.info.basic` などの追加のスコープをユーザーに要求し、バックエンドが `access_token` を使用してプロファイル データを取得したり、権限チェックを完了したりできるようにします。","ia.authorize.tip1":"認証をログインに統合しないでください。 `login` は ID を確立しますが、`authorize` は追加のスコープを要求するため、それらの障害処理は分離されたままにする必要があります。","ia.authorize.tip2":"必須ではないアクセス許可のデフォルト フローをブロックしないでください。ユーザーが同意を拒否した場合でも、基本フローは引き続き機能し、明確な再トリガー エントリが存在する必要があります。","ia.directPlay.highlight1":"以前にプレイしたゲーム カードがフィード内のユーザーに届き、メイン CTA は `Play now` です。","ia.directPlay.highlight2":"これは、価値の高いユーザーをリコールする際の、成長、配信、QA のための共有再生産パスとしてうまく機能します。","ia.directPlay.prerequisite1":"ステージ 1 では、ミニゲーム パッケージのランタイムのみに焦点を当てます。ここでは、TT フィードのプレゼンテーション、強制挿入、および `Play now` ハンドオフは対象外です。","ia.directPlay.prerequisite2":"ステージ 2 に進む前に、パッケージの起動、最初の画面の読み込み、およびコアのゲーム内パスがダイレクト プレイ シーンですでに安定していることを確認してください。","ia.directPlay.step1":"起動モードを開き、ダイレクトプレイ シーンを選択し、パッケージ デバッグ用の専用モードを保存します。","ia.directPlay.step2":"ホームに戻り、スキャンして起動します。パッケージが確実に入力できることを確認し、そのシーンで基本的なゲーム内フローを完了します。","ia.directPlay.step3":"パッケージ自体が安定した後でのみ、ここに戻ってダイレクト プレイ カードのプレゼンテーションとプレビュー QR コードでのハンドオフを検証し、同じカードのライブ ステータスを管理する必要があります。","ia.directPlay.summary":"ダイレクトプレイ デバッグは 3 つの段階に分割するのが最適です。最初にミニ ゲーム パッケージ自体を検証し、次にプレビュー QR コードを使用してカードのプレゼンテーションとハンドオフ パスを検証し、最後に検証されたカードのライブ ステータスを管理します。","ia.directPlay.tip1":"ステージ 1 が失敗した場合は、フィードのプレゼンテーションや配信ロジックが早すぎたことが原因であると考えるのではなく、最初に通常のパッケージ/ランタイムの問題と同様にデバッグします。","ia.directPlay.tip2":"ステージ 2 が失敗した場合、パッケージのランタイムの問題をカード構成、資産、またはハンドオフ パスの問題から分離します。ステージ 3 は、ステージ 2 で検証済みのカードのライブ ステータスのみを管理します。","ia.login.highlight1":"コア出力は `auth_code` で、バックエンドはこれを `open_id` / セッション状態と交換します。","ia.login.highlight2":"`login` と `authorize` は異なるパスです。`login` は ID を確立しますが、`authorize` は追加のスコープを要求します。","ia.login.prerequisite1":"アクティブな `client_key` が端末のデバッグ構成と一致し、実行時に `tt.login` 呼び出しパスに正しく挿入されていることを確認してください。","ia.login.prerequisite2":"バックエンドは、明確な再試行、エラーコード、およびセッション有効期限の処理を備えた、`auth_code` -> `open_id` / セッションのコード交換 API をすでに公開している必要があります。","ia.login.requirementScope":"ビジネス ログインは、ゲームにアカウントが必要かバックエンド セッションが必要かによって異なります。プラットフォームのアップロード チェックでは、ログイン API の統合が別途必要になる場合があります。このチェックリストはこれらのチェックを放棄するものではありません。デバイスの使用時にログイン フローを確認します。","ia.login.step1":"ビジネス ページから `tt.login` (またはビジネス ラッパー) を呼び出し、クライアントが安定した `auth_code` を返せることを確認します。","ia.login.step2":"`auth_code` をバックエンドに送信し、`open_id` / セッション交換、セッション永続性、およびダウンストリーム要求伝播がすべて正しく機能することを確認します。","ia.login.step3":"ユーザーのキャンセル、ネットワーク障害、期限切れの `auth_code`、バックエンド交換失敗ブランチをカバーし、UI フォールバックと再試行戦略が使用可能であることを確認します。","ia.login.summary":"ログインはミニゲームの ID 機能です。クライアントで `auth_code` を取得すると、バックエンドはそのコードを `open_id` / セッション状態と交換します。","ia.login.tip1":"まずメインの `auth_code -> open_id / session` パスを安定させてから、ログイン状態に依存するプロファイル、分析、またはその他のビジネス フローに拡張します。","ia.login.tip2":"現在の SDK では、`login` はデフォルトで `user.info.open_id` になります。さらに多くのユーザー データまたは追加のスコープが必要な場合は、`authorize` で個別にリクエストしてください。","ia.menu.ad":"広告","ia.menu.authorize":"ユーザー認可","ia.menu.directPlayCard":"ダイレクトプレイカード","ia.menu.login":"ログイン","ia.menu.network":"ネットワークとリアルタイム","ia.menu.payment":"お支払い","ia.menu.shareMessage":"アプリ内メッセージの共有","ia.menu.shareStory":"ストーリーにシェア","ia.menu.shortcutRevisit":"ショートカット再訪","ia.menu.sidebarRevisit":"サイドバーの再訪","ia.menu.subpackage":"サブパッケージとプリロード","ia.menu.uiAdaptation":"UIの適応","ia.menu.wasmSplit":"Wasm コード分割","ia.monetization.mode.iaa.desc":"広告枠を設定し、広告リクエストとコールバックを確認します。アカウントやサーバーセッションが必要な場合は `login` を実装し、追加のプロフィール情報が必要な場合は `authorize` を使用します。ネットワーク障害と、ゲームで使用する再訪経路も確認します。","ia.monetization.mode.iaa.summary":"広告枠、リクエスト、コールバックを確認します。ゲームのログインは必要に応じて実装し、アップロード前に Login API の要件を確認してください。","ia.monetization.mode.iaa.title":"IAA","ia.monetization.mode.iaap.desc":"ハイブリッド収益化の場合、最初に `login` を使用して共有ユーザー システムを確立し、次に広告フローと支払いループの両方を個別に検証します。追加のユーザー プロファイル データが必要な場合にのみ `authorize` を追加し、同じアカウントとゲームプレイ セッションで両方の収益化パスが安定していることを確認し、再訪問機能を使用して混合収益化ユーザーの進行中のリターン トラフィックを確認します。","ia.monetization.mode.iaap.summary":"広告と支払いは同時に実行されるため、共有ユーザー システム上で全体的な安定性が検証されます。","ia.monetization.mode.iaap.title":"IAAP","ia.monetization.mode.iap.desc":"購入主導のゲームの場合、`login` から開始し、注文の作成、支払いの呼び出し、バックエンドの検証、およびフルフィルメントを 1 つの閉じたループとして実行します。追加のプロファイル データまたは追加のスコープが必要な場合にのみ `authorize` を追加し、脆弱なネットワーク、支払いキャンセル、注文の重複のケースに特別な注意を払い、再訪機能を使用して支払いユーザーのリターン パスを検証します。","ia.monetization.mode.iap.summary":"支払いループが最初に行われ、注文の作成、支払い、検証、履行がエンドツーエンドで一貫して保たれます。","ia.monetization.mode.iap.title":"IAP","ia.network.highlight1":"このトピックは、良好な接続での単一リクエストの成功だけではなく、弱いネットワークと回復動作についても扱います。","ia.network.highlight2":"リクエスト、ダウンロード、およびリアルタイム パスには、それぞれ明示的な回復ルールが必要です。","ia.network.prerequisite1":"デバッグ前にリクエスト、ダウンロード、およびリアルタイムのパスを統合することで、タイムアウト、再試行、およびエラーの可視性が各ページで異なる実装にならないようにします。","ia.network.prerequisite2":"HTTP、ダウンロード、長時間接続を同じ障害タイプとして扱うのではなく、異なるフォールバックとユーザー フィードバックを用意します。","ia.network.step1":"リクエスト、ダウンロード、およびソケット呼び出しを共有レイヤーの背後でラップするため、タイムアウト、キャンセル、再試行、およびログが一貫して処理されます。","ia.network.step2":"`getNetworkType`、ネットワーク変更リスナー、および弱いネットワーク リスナーを使用して、ページがサイレントに失敗するのではなくネットワーク変更に反応することを検証します。","ia.network.step3":"デバイス上で、状態の復元が実際に完了するように、弱いネットワーク、再接続、ダウンロードの中断、およびソケットの回復に焦点を当てます。","ia.network.summary":"ネットワークとリアルタイムでは、使用可能な弱いネットワーク、切断、および回復動作に焦点を当てて、`request`、`downloadFile`、`connectSocket`、およびネットワーク ステータスの観察をカバーします。","ia.network.tip1":"理想的なネットワークだけをテストしないでください。実際の問題のほとんどは、タイムアウト、ダウンロード途中のアセット、切断された接続、および繰り返しの再接続試行によって発生します。","ia.network.tip2":"リアルタイム フローは、クローズ、バックグラウンド/フォアグラウンド遷移、および回復後の再サブスクライブ ロジックを明示的にカバーする必要があります。","ia.overview.section.foundation.desc":"ゲームに必要な画面適応、ネットワーク設定、リソース読み込み、サブパッケージを準備します。","ia.overview.section.foundation.title":"コア機能","ia.overview.section.growth.desc":"これらの機能はエントリ シーンと再訪問パスに大きく依存するため、シーンの選択と報酬ループには特別な注意が必要です。","ia.overview.section.growth.title":"成長と再訪","ia.overview.section.identity.desc":"まずミニゲーム ID を確立し、次に必要な場合にのみプロファイルまたは権限スコープをリクエストします。","ia.overview.section.identity.title":"ログインとユーザー認可","ia.overview.section.monetization.desc":"収益は主に支払いと広告から来ており、どちらもポータルの有効化、ビジネス ループの検証、デバイスの回帰が必要です。","ia.overview.section.monetization.title":"収益化","ia.overview.section.share.desc":"プレイヤーがゲームを共有し、正しいゲーム内シーンに戻れるようにします。","ia.overview.section.share.title":"共有と成長","ia.payment.highlight1":"実際の支払いループは、支払いパネルを開くだけではなく、注文の作成、支払いの呼び出し、検証、履行です。","ia.payment.highlight2":"IAP モックを使用して反復処理を高速化し、デバイス上のバックエンド結果に対して実際の Beans の支払いを検証します。","ia.payment.prerequisite1":"まずビジネスの検証と契約の署名を完了してから、収益化でアプリ内購入を有効にします。支払いエンティティは、検証されたビジネス エンティティと一致する必要があります。","ia.payment.prerequisite2":"製品構成、テストアカウント、注文の作成、永続化、検証のためのバックエンド機能を準備します。ローカル反復の場合は、最初に IAP モックを有効にしてメイン ブランチをカバーします。","ia.payment.step1":"ポータルの有効化、製品の設定、支払い情報を完了し、バックエンド注文の作成、注文の永続化、支払い結果の検証を接続します。","ia.payment.step2":"クライアントの支払い呼び出しとコールバック処理を統合し、最初に IAP モックを使用して、成功、失敗、キャンセル、および繰り返しタップの分岐をカバーします。","ia.payment.step3":"次に、実デバイスのプレビューまたは実デバイスのデバッグに切り替え、実際の支払い、バックエンド検証、フルフィルメント/クレジット、および完全なループとしての再試行処理を検証します。","ia.payment.summary":"IAP 収益化は、バックエンド注文の作成、クライアント側の支払い呼び出し、および仮想商品または付加価値サービスのバックエンド検証/履行の完全なチェーンであり、サポートされている唯一の支払い方法として TikTok Bean が使用されます。","ia.payment.tip1":"クライアントの成功コールバックを最終的な真実として扱わないでください。フルフィルメントまたはクレジットは、バックエンド検証または正式な注文状態に依存する必要があります。","ia.payment.tip2":"モックは反復速度の点で便利ですが、特に弱いネットワーク、重複した順序、キャンセル、およびタイムアウトの場合には、リリース前に実際のデバイスの回帰が依然として必要です。","ia.shareMessage.highlight1":"`shareAppMessage` の場合、カードのタイトル、説明、およびカバーは、ビジネス側の動的なカスタマイズからではなく、開発者ポータルのゲームの基本情報から取得されます。","ia.shareMessage.highlight2":"ビジネス側が本当に設計する必要があるのは `query` です。これにより、プロアクティブな共有、ミッションの共有、およびキャンペーンの共有が正しいゲーム内シナリオに反映されるようになります。","ia.shareMessage.prerequisite1":"機能がすべてのランタイムに存在すると仮定するのではなく、最初にクライアント バージョンのサポートを確認し、`TTMinis.game.canIUse(\'shareAppMessage\')` で可用性を調べます。","ia.shareMessage.prerequisite2":"アプリ内メッセージ カードのタイトル、説明、カバーはそのポータル設定から取得されるため、最初にゲームの基本情報が開発者ポータルで正しく設定されていることを確認してください。次に、ビジネス ロジックを `query` と着陸動作に焦点を当てます。","ia.shareMessage.step1":"獲得、リコール、またはキャンペーン共有に適合するページに `TTMinis.game.shareAppMessage` を統合し、`query` 値が現在のビジネス シナリオを正確に表していることを確認します。","ia.shareMessage.step2":"成功、キャンセル、失敗、繰り返しタップの分岐に焦点を当て、アプリ内メッセージ共有アクション、コールバック、ユーザーフィードバックがすべて安定した状態を維持できるようにします。","ia.shareMessage.step3":"デバイス上でメッセージ カードのプレゼンテーションと共有後のリターン パスを確認し、受信者が適切なページに到達し、クエリ主導の状態が正しく復元されるようにします。","ia.shareMessage.summary":"`shareAppMessage` は TikTok のアプリ内メッセージ共有です。カードのタイトル、説明、カバーは開発者ポータルで設定されたゲームの基本情報から取得されますが、ビジネス側の設計の焦点は、`query` が正確なゲーム内共有シナリオをどのように実行するかです。","ia.shareMessage.tip1":"これは、アプリ内メッセージ カードの共有機能として説明した方が適切ですが、カードのタイトル、説明、および表紙は、共有時にビジネス コードによって動的にカスタマイズされません。実際にコントロールするのは、`query` と着陸の流れです。","ia.shareMessage.tip2":"多くの共有エントリが存在する場合、`query` の生成と解析を集中化します。共有時間オーバーライドがサポートされていると想定するのではなく、開発者ポータルでゲームの基本情報を個別に管理します。","ia.shareStory.highlight1":"`shareToStory` はより視覚的ですが、ビジネス側が慎重に設計する必要があるのは `query` です。これにより、シェアは正しいゲーム内シナリオに戻ることができます。","ia.shareStory.highlight2":"Story の専用デバイス回帰を実行し、アセットのプレゼンテーション品質と `query` 主導のリターンパスの安定性の両方をチェックします。","ia.shareStory.prerequisite1":"ストーリーエントリをすべてのフローに強制するのではなく、どのキャンペーン、ゲームプレイ、結果ページがストーリー共有に実際に適しているかを特定します。","ia.shareStory.prerequisite2":"まずストーリーに適したアセットを準備し、次に `query` 値とランディング動作を一緒に設計します。ゲーム内の返品ロジックを曖昧にしたまま、ビジュアル素材のみを最適化しないでください。","ia.shareStory.step1":"視覚的な伝播に適したページに `shareToStory` を統合し、選択した資産と `query` 値の両方がアクティブなビジネス シナリオを正しく表していることを確認します。","ia.shareStory.step2":"ストーリー共有プレゼンテーションとユーザー フィードバックの両方が期待どおりに動作するように、トリガー、キャンセル、失敗、および複数アセットのブランチをカバーします。","ia.shareStory.step3":"デバイスで、ストーリー共有後のリターン パスを確認し、ターゲット ページ、キャンペーンの状態、パラメータが正しく復元されていることを確認します。","ia.shareStory.summary":"`shareToStory` はストーリーの共有に重点を置いています。表示されるプレゼンテーションはストーリー アセット自体に大きく依存しますが、ビジネス側の設計の焦点は依然として `query` 値と共有ランディング後のフローです。","ia.shareStory.tip1":"ストーリー共有は、メ​​ッセージ共有の単純なコピーとして扱われるべきではありません。資産表現は一部ですが、`query` と共有ランディング後のフローは、依然としてビジネス側の慎重な設計が必要です。","ia.shareStory.tip2":"Story が強力なビジュアル素材に依存している場合は、アセットのプレゼンテーションと、`query` 主導のリターン パスが正しいページ状態を復元するかどうかの両方について、集中的な実デバイス チェックを実行します。","ia.shortcut.highlight1":"ショートカットの追加、ホーム画面からの復帰、報酬の受け取り条件を確認します。","ia.shortcut.highlight2":"入口のシーンと `canReceiveReward` を確認し、ゲーム内の報酬付与を検証します。","ia.shortcut.prerequisite1":"互換性: `TTMinis.game.canIUse(\'addShortcut\')` によるプローブのサポート。 TikTok 41.0.0+ で検証します (iOS には 41.40+ が必要です)。","ia.shortcut.prerequisite2":"報酬の検証: 実際のユーザー フローでは、セッションがホーム画面のショートカットから起動された場合にのみ、`TTMinis.game.getShortcutMissionReward()` は `canReceiveReward=true` を返します。 `scene_shortcut` 起動モードでは、セッション自体がすでにそのエントリをシミュレートしています。","ia.shortcut.step1":"UI に明確なエントリ ポイントを追加します。`canIUse(\'addShortcut\')` をチェックしてから、`TTMinis.game.addShortcut()` を呼び出し、デバッグの失敗時に `errorCode/errorMsg` を記録します。","ia.shortcut.step2":"ローカル デバッグの場合: `ttmg dev` を実行 → 起動モードで `Desktop Shortcut` シーン (`scene_shortcut`) を選択 → スキャンして入力します。このセッションは、デスクトップ ショートカット エントリから開くことをすでにシミュレートしています。","ia.shortcut.step3":"`TTMinis.game.getShortcutMissionReward()` を直接呼び出して、`canReceiveReward` を確認します。 true の場合、報酬/請求フローに進みます。 `addShortcut` を維持し、実際のユーザー フロー回帰のために実際のホーム画面を再度開きます。","ia.shortcut.summary":"プレイヤーがゲームをホーム画面に追加し、ショートカットから戻って条件を満たした場合に報酬を受け取れるようにします。","ia.shortcut.tip1":"`canReceiveReward` をエントリーソースシグナルとして扱います: ショートカットの追加が成功しても、現在のセッションが再訪問報酬を請求できる資格があることを意味するわけではありません。","ia.shortcut.tip2":"ゲーム内の適切なタイミングでショートカット追加の利点を説明し、報酬条件と重複付与の防止を確認します。","ia.sidebar.highlight1":"サイドバーの入口、タスク状態、報酬の受け取り条件をまとめて確認します。","ia.sidebar.highlight2":"ゲーム内の適切な入口を選び、ゲームへの復帰と報酬の受け取りを実機で確認します。","ia.sidebar.prerequisite1":"アカウントのリージョンがサポートされているロールアウト内にあることを確認し、最初にビジネス コードの `canIUse` で機能のサポートを確認してください。","ia.sidebar.prerequisite2":"デフォルトの QR パスを維持する代わりに、起動モードで専用のサイドバー再訪シーンを使用します。","ia.sidebar.step1":"起動モードに移動し、`Sidebar revisit` シーンを選択し、専用のデバッグ モードとして保存します。","ia.sidebar.step2":"ローカル デバッグの場合は、`ttmg dev` を実行し、起動モードを `scene_center` に切り替えて、スキャンして開始します。このセッションはすでにサイドバー エントリからのオープンをシミュレートしています。","ia.sidebar.step3":"`getEntranceMissionReward` を直接呼び出して、`canReceiveReward` と報酬配信ロジックを確認します。 `startEntranceMission` は、必須の起動モード ステップとして扱うのではなく、実際のユーザー フロー回帰のために保持してください。","ia.sidebar.summary":"プレイヤーが TikTok のサイドバーからゲームに戻り、条件を満たした場合に再訪報酬を受け取れるようにします。","ia.sidebar.tip1":"この機能はシーンと領域の条件に大きく依存するため、デフォルトの QR パスのみを介して説明または検証しないでください。","ia.sidebar.tip2":"タスクを続行できない場合は、報酬ロジックを疑う前に、シーン、アカウント領域、クライアント機能、およびタスクの状態を確認してください。","ia.subpackage.highlight1":"分割パッケージの品質は、可能な限り分割することではなく、境界定義、プリロードのタイミング、およびフォールバックに依存します。","ia.subpackage.highlight2":"弱いネットワーク下での最初の画面の速度とその後のシーン遷移の両方を検証します。","ia.subpackage.prerequisite1":"最初の画面で本当に必要なものと、後のゲームプレイまたはオプションのリソースに属するものを識別します。","ia.subpackage.prerequisite2":"ビジネス ページ内に分割パッケージ ロジックを分散させるのではなく、一貫した読み込みフォールバック、再試行、読み込み状態の UX を準備します。","ia.subpackage.step1":"`game.json` の `subpackages` に名前とルートを宣言し、サブパッケージのルートに `game.js` エントリがあることを確認します。初期画面に必要なリソースはメインパッケージに残します。","ia.subpackage.step2":"事前ダウンロードには `preDownloadSubpackage` を使用します。サブパッケージのエントリを読み込んで実行するには `loadSubpackage` を使用します。シーンに入る前に必要なリソースの読み込みと初期化を完了してください。","ia.subpackage.step3":"最初の画面の開始時、その後のジャンプ時、および分割パッケージの障害回復時にデバイスと弱いネットワークの回帰を実行して、ユーザーが負荷の途中でスタックしないようにします。","ia.subpackage.summary":"サブパッケージとプリロードは、最初のパッケージのサイズ、分割境界、リソースの読み込みタイミングに重点を置いているため、最初の画面の速度を損なうことなく、後のコンテンツがスムーズに到着できます。","ia.subpackage.tip1":"プリロードはすぐに使用できることを意味するものではありません。分割パッケージが本当に必要な場合は、実際のビジネス移行を検証します。","ia.subpackage.tip2":"より小さなメインパッケージを追求するためだけに過度に分割しないでください。生の分割数よりも、タイミング、フォールバック、依存関係の正確さが重要です。","ia.uiAdaptation.highlight1":"目標は 1 回限りのページ修正ではなく、セーフ エリア、カプセル ボタン、ウィンドウ メトリクスの共有レイアウト ベースラインです。","ia.uiAdaptation.highlight2":"タイトル、フローティング ボタン、下部のアクション エリアが妨げられないように、さまざまなサイズの実際のデバイスで検証します。","ia.uiAdaptation.prerequisite1":"1 ページのみをパッチするのではなく、トップ バー、フローティング アクション、固定下部領域、または全画面ビジュアルに依存する主要なページをリストします。","ia.uiAdaptation.prerequisite2":"実際のデバイスまたはマルチサイズのプレビュー範囲を、特に異なるアスペクト比、上部の安全領域、および下部のジェスチャ領域にわたって準備します。","ia.uiAdaptation.step1":"まず、ウィンドウ サイズ、セーフ エリア、およびカプセル ボタンのメトリクスを、各ページで個別にハードコーディングするのではなく、レイアウト ベースラインに集中化します。","ia.uiAdaptation.step2":"カプセルボタンやシステムセーフエリアと重ならないように、上部のタイトル領域、右上のアクション、下部の固定コントロール、およびモーダルコンテンツを調整します。","ia.uiAdaptation.step3":"主要なページで実デバイス回帰を実行し、アスペクト比の変更、コンテナのスクロール、全画面の背景、デバイス間のタップ ターゲットを確認します。","ia.uiAdaptation.summary":"UI の適応は、画面サイズ、カプセル ボタン、安全領域の処理に重点を置いており、主要な UI がデバイス間で表示され、タップ可能で、正しく配置されたままになります。","ia.uiAdaptation.tip1":"視覚的な位置合わせだけを見てはいけません。タップ領域、モーダルクローズアフォーダンス、下部到達可能性も UI 適応の一部です。","ia.uiAdaptation.tip2":"カプセルボタンの位置を固定ピクセルでハードコーディングしないでください。プラットフォームのメトリクスと安全領域データに基づく基本レイアウト。","ia.wasmSplit.summary":"Unity Wasm バンドルをオンデマンドのチャンクに分割して、初期ペイロードを縮小し、コールド スタートを改善します。 Unity エンジンのみ。","scene_ad":"フィード広告用","scene_center":"サイドバー","scene_fyf_promotion_direct_feed_play":"For You フィード ダイレクト プレイ","scene_scan_qrcode":"QR コードをスキャンします","scene_shortcut":"デスクトップショートカット"}'),"ko-KR":JSON.parse('{"ia.action.goLaunchMode":"오픈 실행 모드","ia.action.goSubpackageCollect":"서브패키지 수집 열기","ia.action.goNetworkDiagnostics":"네트워크 진단 열기","ia.action.goPrecheck":"오픈코드 사전점검","ia.action.goProjectDetail":"프로젝트 세부정보 열기","ia.action.openCapabilityDoc":"상세안내","ia.ad.highlight1":"IAA를 활성화하고 먼저 배치를 생성한 다음 코드 경로를 디버깅합니다. 출시되지 않은 앱은 배치 설정조차 완료하지 못하는 경우가 많습니다.","ia.ad.highlight2":"보상형 비디오에는 정확한 재생 후 보상이 필요한 반면 전면 광고에는 엄격한 속도와 낮은 중단이 필요합니다.","ia.ad.prerequisite1":"먼저 비즈니스 인증과 계약 체결을 완료한 후 수익화에서 인앱 광고를 활성화하세요. 출시되지 않은 앱은 일반적으로 사용 가능한 광고 게재위치를 생성하지 못하도록 차단됩니다.","ia.ad.prerequisite2":"미국/EU 출시의 경우 민감한 데이터, USDS/TPRM 및 관련 규정 준수 작업을 조기에 시작하고 IAA Mock 및 실제 장치 검증 경로를 모두 준비하십시오.","ia.ad.step1":"IAA가 활성화되어 있고 앱이 이미 출시되었는지 확인한 다음 광고 게재위치로 이동하여 필수 게재위치 ID를 생성하세요.","ia.ad.step2":"비즈니스 코드에서 광고 인스턴스 생성, 로드, 표시 및 콜백 처리를 통합하고 보상형 비디오 및 삽입 광고의 성공, 실패 및 분기를 별도로 확인합니다.","ia.ad.step3":"보상 정확성, 빈도 제어 및 경험 경계에 대한 최종 회귀에 초점을 맞춥니다. 보상형 비디오는 전체 재생 후에만 보상을 제공해야 하며 전면 광고는 트리거 사이에 최소 60초의 간격이 필요합니다.","ia.ad.summary":"IAA 광고는 보상형 비디오 및 전면 광고 형식을 다루며, 핵심 체인은 핵심 경험을 손상시키지 않고 활성화, 광고 배치 생성, 광고 로드/표시, 닫기/보상 콜백 처리입니다.","ia.ad.tip1":"반복적인 콜백, 페이지 전환 또는 재진입으로 인해 중복된 보상이 발생하지 않도록 보상 전달을 멱등적으로 만듭니다.","ia.ad.tip2":"초기화, 튜토리얼 또는 기타 빈도가 높은 경로에 광고를 강요하지 마세요. 플랫폼 규정 준수 또는 릴리스 게이팅이 여전히 차단되면 먼저 문제를 해결하세요.","ia.authorize.highlight1":"핵심은 직접적인 클라이언트 측 프로필 액세스가 아니라 `login` 이후 명시적인 범위 외 동의입니다.","ia.authorize.highlight2":"닉네임, 아바타 및 기타 프로필 데이터는 궁극적으로 한 번의 클라이언트 호출로 반환되지 않고 `access_token`를 사용하여 백엔드에서 가져와야 합니다.","ia.authorize.prerequisite1":"먼저 프로젝트 세부사항에 용어 URL 및 개인정보 보호 URL을 입력하고 `login` 흐름이 이미 `open_id/access_token`로 안정적으로 교환될 수 있는지 확인하세요.","ia.authorize.prerequisite2":"실제 비즈니스 요구에 따라 범위를 정의합니다. 닉네임이나 아바타와 같은 프로필 필드가 클라이언트에서 직접 온다고 가정하지 마세요. 동의 후 백엔드 OpenAPI 호출에서 가져와야 합니다.","ia.authorize.step1":"`tt.login`를 사용하여 일회성 `auth_code`를 가져온 다음 백엔드에서 이를 `open_id` / `access_token`로 교환하여 기본 ID 상태가 준비되도록 합니다.","ia.authorize.step2":"실제로 추가 프로필 데이터나 권한이 필요한 흐름(예: `scope: \'user.info.basic\'`)에서만 `tt.authorize`를 호출하고 첫 번째 동의, 거부 및 재진입 분기를 포함합니다.","ia.authorize.step3":"사용자가 동의한 후 백엔드가 `access_token`를 사용하여 OpenAPI를 호출하도록 한 다음 반환된 범위, 프로필 필드 및 대체 동작이 모두 비즈니스 경로와 일치하는지 확인합니다.","ia.authorize.summary":"승인은 `login`가 이미 기본 ID를 설정한 후 사용자에게 `user.info.basic`와 같은 추가 범위를 요청한 다음 백엔드에서 `access_token`를 사용하여 프로필 데이터를 가져오거나 권한 확인을 완료하도록 합니다.","ia.authorize.tip1":"인증을 로그인으로 축소하지 마세요. `login`는 ID를 설정하고 `authorize`는 추가 범위를 요청하므로 오류 처리는 별도로 유지되어야 합니다.","ia.authorize.tip2":"필수적이지 않은 권한에 대한 기본 흐름을 차단하지 마십시오. 사용자가 동의를 거부하더라도 기본 흐름은 계속 작동해야 하며 명확한 재트리거 항목이 있어야 합니다.","ia.directPlay.highlight1":"이전에 플레이한 게임 카드로 피드의 사용자에게 도달하며, 주요 CTA는 `Play now`입니다.","ia.directPlay.highlight2":"고가치 사용자를 리콜할 때 성장, 전달, QA를 위한 공유 재생 경로로 잘 작동합니다.","ia.directPlay.prerequisite1":"1단계에서는 미니 게임 패키지 런타임에만 중점을 둡니다. TT 피드 프리젠테이션, 강제 삽입 및 `Play now` 핸드오프는 범위를 벗어납니다.","ia.directPlay.prerequisite2":"2단계로 이동하기 전에 직접 플레이 장면에서 패키지 실행, 첫 번째 화면 로딩, 핵심 게임 내 경로가 이미 안정적인지 확인하세요.","ia.directPlay.step1":"실행 모드를 열고 직접 재생 장면을 선택한 다음 패키지 디버깅을 위한 전용 모드를 저장하세요.","ia.directPlay.step2":"홈으로 돌아가서 스캔하여 실행하세요. 패키지가 안정적으로 들어가고 해당 장면에서 기본 게임 내 흐름을 완료할 수 있는지 확인하세요.","ia.directPlay.step3":"패키지 자체가 안정된 후에만 여기로 돌아와 다이렉트 플레이 카드 프리젠테이션을 검증하고 미리보기 QR 코드로 전달한 다음 동일한 카드의 라이브 상태를 관리해야 합니다.","ia.directPlay.summary":"직접 플레이 디버깅은 세 단계로 나누는 것이 가장 좋습니다. 먼저 미니 게임 패키지 자체를 확인한 다음 미리 보기 QR 코드를 사용하여 카드 제시 및 전달 경로를 확인하고 마지막으로 확인된 카드의 라이브 상태를 관리합니다.","ia.directPlay.tip1":"1단계가 실패하면 피드 프리젠테이션이나 전달 로직의 원인으로 너무 일찍 원인을 지정하는 대신 먼저 일반 패키지/런타임 문제처럼 디버깅하세요.","ia.directPlay.tip2":"2단계가 실패하면 패키지 런타임 문제를 카드 구성, 자산 또는 전달 경로 문제와 분리합니다. 3단계에서는 2단계에서 이미 검증된 카드의 실시간 상태만 관리합니다.","ia.login.highlight1":"핵심 출력은 백엔드가 `open_id`/세션 상태로 교환하는 `auth_code`입니다.","ia.login.highlight2":"`login`와 `authorize`는 서로 다른 경로입니다. `login`는 ID를 설정하고 `authorize`는 추가 범위를 요청합니다.","ia.login.prerequisite1":"활성 `client_key`가 터미널 디버그 구성과 일치하고 런타임 시 `tt.login` 호출 경로에 올바르게 삽입되었는지 확인하세요.","ia.login.prerequisite2":"백엔드는 명확한 재시도, 오류 코드 및 세션 만료 처리와 함께 `auth_code` -> `open_id`/세션에 대한 코드 교환 API를 이미 노출해야 합니다.","ia.login.requirementScope":"비즈니스 로그인은 게임에 계정이 필요한지 백엔드 세션이 필요한지에 따라 다릅니다. 플랫폼 업로드 확인에는 별도로 로그인 API 통합이 필요할 수 있습니다. 이 체크리스트는 해당 체크를 면제하지 않습니다. 사용 시 기기의 로그인 흐름을 확인하세요.","ia.login.step1":"비즈니스 페이지에서 `tt.login`(또는 비즈니스 래퍼)를 호출하고 클라이언트가 안정적인 `auth_code`를 반환할 수 있는지 확인하세요.","ia.login.step2":"`auth_code`를 백엔드로 보내고 `open_id`/세션 교환, 세션 지속성 및 다운스트림 요청 전파가 모두 올바르게 작동하는지 확인합니다.","ia.login.step3":"사용자 취소, 네트워크 오류, 만료된 `auth_code` 및 백엔드 교환 오류 분기를 처리한 다음 UI 대체 및 재시도 전략을 사용할 수 있는지 확인합니다.","ia.login.summary":"로그인은 미니게임 신원 확인 기능입니다. 클라이언트에서 `auth_code`를 얻은 다음 백엔드는 해당 코드를 `open_id`/세션 상태로 교환합니다.","ia.login.tip1":"먼저 기본 `auth_code -> open_id / session` 경로를 안정적으로 가져온 다음 로그인 상태에 따라 프로필, 분석 또는 기타 비즈니스 흐름으로 확장하세요.","ia.login.tip2":"현재 SDK에서는 `login`가 기본적으로 `user.info.open_id`로 설정되어 있습니다. 더 많은 사용자 데이터나 추가 범위가 필요한 경우 `authorize`에서 별도로 요청하세요.","ia.menu.ad":"광고","ia.menu.authorize":"권한 동의","ia.menu.directPlayCard":"다이렉트 플레이 카드","ia.menu.login":"로그인","ia.menu.network":"네트워크 및 실시간","ia.menu.payment":"지불","ia.menu.shareMessage":"인앱 메시지 공유","ia.menu.shareStory":"스토리에 공유","ia.menu.shortcutRevisit":"바로가기 재방문","ia.menu.sidebarRevisit":"사이드바 재방문","ia.menu.subpackage":"하위 패키지 및 사전 로드","ia.menu.uiAdaptation":"UI 적응","ia.menu.wasmSplit":"Wasm 코드 분할","ia.monetization.mode.iaa.desc":"광고 위치를 설정하고 광고 요청과 콜백을 확인하세요. 계정이나 서버 세션이 필요하면 `login`을, 추가 프로필 정보가 필요하면 `authorize`를 연동하세요. 네트워크 오류와 게임에서 사용하는 재방문 경로도 확인하세요.","ia.monetization.mode.iaa.summary":"광고 위치, 요청, 콜백을 확인하세요. 게임 로그인은 필요에 따라 연동하고 업로드 전에 플랫폼의 Login API 요구사항을 확인하세요.","ia.monetization.mode.iaa.title":"IAA","ia.monetization.mode.iaap.desc":"하이브리드 수익화의 경우 `login`를 사용하여 먼저 공유 사용자 시스템을 구축한 다음 광고 흐름과 결제 루프를 별도로 검증합니다. 추가 사용자 프로필 데이터가 필요한 경우에만 `authorize`를 추가하고, 동일한 계정 및 게임 플레이 세션에서 두 수익 창출 경로가 모두 안정적으로 유지되는지 확인하고, 재방문 기능을 사용하여 혼합 수익 창출 사용자에 대한 지속적인 반환 트래픽을 확인하세요.","ia.monetization.mode.iaap.summary":"광고와 결제는 함께 실행되므로 공유 사용자 시스템을 기반으로 전반적인 안정성을 검증하세요.","ia.monetization.mode.iaap.title":"IAAP","ia.monetization.mode.iap.desc":"구매 중심 게임의 경우 `login`부터 시작하여 주문 생성, 결제 호출, 백엔드 확인 및 이행을 하나의 폐쇄 루프로 진행합니다. 추가 프로필 데이터 또는 추가 범위가 필요한 경우에만 `authorize`를 추가하고, 약한 네트워크, 결제 취소 및 중복 주문 사례에 특히 주의하고, 재방문 기능을 사용하여 유료 사용자의 반환 경로를 검증합니다.","ia.monetization.mode.iap.summary":"결제 루프가 먼저 이루어지며 주문 생성, 결제, 확인 및 이행이 처음부터 끝까지 일관되게 유지됩니다.","ia.monetization.mode.iap.title":"IAP","ia.network.highlight1":"이 주제는 양호한 연결에서의 단일 요청 성공뿐만 아니라 약한 네트워크 및 복구 동작에 관한 것입니다.","ia.network.highlight2":"요청, 다운로드 및 실시간 경로에는 각각 명시적인 복구 규칙이 있어야 합니다.","ia.network.prerequisite1":"디버깅하기 전에 요청, 다운로드 및 실시간 경로를 통합하여 시간 초과, 재시도 및 오류 표시가 각 페이지에서 다르게 구현되지 않도록 합니다.","ia.network.prerequisite2":"HTTP, 다운로드, 긴 연결을 동일한 실패 유형으로 처리하는 대신 서로 다른 대체 및 사용자 피드백을 준비합니다.","ia.network.step1":"공유 레이어 뒤에서 요청, 다운로드 및 소켓 호출을 래핑하여 시간 초과, 취소, 재시도 및 로그가 일관되게 처리되도록 합니다.","ia.network.step2":"`getNetworkType`, 네트워크 변경 수신기 및 약한 네트워크 수신기를 사용하여 페이지가 자동으로 실패하는 대신 네트워크 변경에 반응하는지 확인하세요.","ia.network.step3":"장치에서는 약한 네트워크, 다시 연결, 다운로드 중단 및 소켓 복구에 회귀를 집중하여 상태 복원이 실제로 완료되도록 합니다.","ia.network.summary":"네트워크 및 실시간은 사용 가능한 약한 네트워크, 연결 해제 및 복구 동작에 중점을 두고 `request`, `downloadFile`, `connectSocket` 및 네트워크 상태 관찰을 다룹니다.","ia.network.tip1":"이상적인 네트워크만 테스트하지 마십시오. 대부분의 실제 문제는 시간 초과, 자산 절반 다운로드, 연결 끊김, 반복적인 재연결 시도로 인해 발생합니다.","ia.network.tip2":"실시간 흐름은 닫기, 백그라운드/포그라운드 전환 및 복구 후 재구독 논리를 명시적으로 다루어야 합니다.","ia.overview.section.foundation.desc":"게임에 필요한 화면 대응, 네트워크 설정, 리소스 로딩과 서브패키지를 준비하세요.","ia.overview.section.foundation.title":"핵심 역량","ia.overview.section.growth.desc":"이러한 기능은 진입 장면과 재방문 경로에 더 많이 의존하므로 장면 선택과 보상 루프에 특별한 주의가 필요합니다.","ia.overview.section.growth.title":"성장과 재방문","ia.overview.section.identity.desc":"미니게임 ID를 먼저 설정한 다음 필요한 경우에만 프로필이나 권한 범위를 요청하세요.","ia.overview.section.identity.title":"로그인 및 권한 동의","ia.overview.section.monetization.desc":"수익은 주로 결제와 광고에서 발생하며 둘 다 포털 활성화, 비즈니스 루프 검증 및 장치 회귀가 필요합니다.","ia.overview.section.monetization.title":"수익화","ia.overview.section.share.desc":"플레이어가 게임을 공유하고 올바른 게임 내 장면으로 돌아올 수 있게 하세요.","ia.overview.section.share.title":"나눔과 성장","ia.payment.highlight1":"실제 결제 루프는 단순히 결제 패널을 여는 것이 아니라 주문 생성, 결제 호출, 확인 및 이행입니다.","ia.payment.highlight2":"IAP Mock을 사용하여 더 빠르게 반복한 다음 장치의 백엔드 결과에 대해 실제 Beans 지불을 검증하십시오.","ia.payment.prerequisite1":"먼저 비즈니스 확인 및 계약 서명을 완료한 다음 수익화에서 인앱 구매를 활성화하세요. 지급 엔터티는 확인된 비즈니스 엔터티와 일치해야 합니다.","ia.payment.prerequisite2":"주문 생성, 지속성 및 확인을 위한 제품 구성, 테스트 계정 및 백엔드 기능을 준비합니다. 로컬 반복의 경우 먼저 IAP Mock을 활성화하여 기본 분기를 포괄합니다.","ia.payment.step1":"포털 활성화, 제품 설정 및 지급 정보를 완료한 다음 백엔드 주문 생성, 주문 지속성 및 결제 결과 확인을 연결합니다.","ia.payment.step2":"클라이언트 결제 호출 및 콜백 처리를 통합하고 IAP Mock을 먼저 사용하여 성공, 실패, 취소 및 반복 탭 분기를 처리합니다.","ia.payment.step3":"그런 다음 실제 장치 미리보기 또는 실제 장치 디버그로 전환하고 실제 결제, 백엔드 확인, 이행/크레딧 부여 및 재시도 처리를 전체 루프로 확인합니다.","ia.payment.summary":"IAP 수익화는 백엔드 주문 생성, 클라이언트 측 결제 호출, 가상 상품 또는 부가가치 서비스에 대한 백엔드 확인/이행의 전체 체인이며, TikTok Beans가 지원되는 유일한 결제 방법입니다.","ia.payment.tip1":"클라이언트 성공 콜백을 최종 진실로 취급하지 마세요. 이행 또는 적립은 백엔드 확인 또는 신뢰할 수 있는 주문 상태에 의존해야 합니다.","ia.payment.tip2":"모의는 반복 속도에 유용하지만 릴리스 전에 특히 약한 네트워크, 중복 주문, 취소 및 시간 초과 사례의 경우 실제 장치 회귀가 여전히 필요합니다.","ia.shareMessage.highlight1":"`shareAppMessage`의 경우 카드 제목, 설명 및 표지는 동적 비즈니스 측 사용자 정의가 아닌 개발자 포털의 게임 기본 정보에서 가져옵니다.","ia.shareMessage.highlight2":"비즈니스 측면에서 실제로 설계해야 하는 것은 `query`이므로 적극적인 공유, 임무 공유 및 캠페인 공유가 올바른 게임 내 시나리오에 포함될 수 있습니다.","ia.shareMessage.prerequisite1":"모든 런타임에 해당 기능이 존재한다고 가정하는 대신 먼저 클라이언트 버전 지원을 확인하고 `TTMinis.game.canIUse(\'shareAppMessage\')`로 가용성을 조사하십시오.","ia.shareMessage.prerequisite2":"인앱 메시지 카드 제목, 설명 및 표지가 해당 포털 구성에서 제공되므로 먼저 개발자 포털에서 게임 기본 정보가 올바르게 구성되었는지 확인하세요. 그런 다음 `query` 및 착륙 동작에 대한 비즈니스 논리에 중점을 둡니다.","ia.shareMessage.step1":"획득, 회수 또는 캠페인 공유에 적합한 페이지에 `TTMinis.game.shareAppMessage`를 통합하고 `query` 값이 현재 비즈니스 시나리오를 정확하게 나타내는지 확인합니다.","ia.shareMessage.step2":"성공, 취소, 실패 및 반복 탭 분기에 집중하여 인앱 메시지 공유 작업, 콜백 및 사용자 피드백이 모두 안정적으로 유지되도록 합니다.","ia.shareMessage.step3":"장치에서 수신자가 올바른 페이지로 이동하고 쿼리 기반 상태가 올바르게 복원되도록 메시지 카드 표시 및 공유 후 반환 경로를 확인합니다.","ia.shareMessage.summary":"`shareAppMessage`는 TikTok 인앱 메시지 공유입니다. 카드 제목, 설명, 표지는 개발자 포털에 구성된 게임 기본 정보에서 가져온 반면, 비즈니스 측면 디자인의 초점은 `query`가 정확한 게임 내 공유 시나리오를 전달하는 방법입니다.","ia.shareMessage.tip1":"이는 인앱 메시지 카드 공유 기능으로 더 잘 설명되지만 카드 제목, 설명 및 표지는 공유 시 비즈니스 코드에 의해 동적으로 사용자 정의되지 않습니다. 실제로 제어하는 ​​것은 `query`와 착륙 흐름입니다.","ia.shareMessage.tip2":"공유 항목이 많은 경우 `query` 생성 및 구문 분석을 중앙 집중화합니다. 공유 시간 재정의가 지원된다고 가정하는 대신 개발자 포털에서 게임 기본 정보를 별도로 유지 관리하세요.","ia.shareStory.highlight1":"`shareToStory`는 좀 더 시각적이지만 비즈니스 측면에서 여전히 신중하게 디자인해야 하는 것은 `query`이므로 공유가 게임 내 시나리오에 맞게 돌아올 수 있습니다.","ia.shareStory.highlight2":"Story에 대한 전용 장치 회귀를 수행하여 자산 표시 품질과 `query` 기반 반환 경로 안정성을 모두 확인합니다.","ia.shareStory.prerequisite1":"모든 흐름에 스토리 항목을 강제로 적용하는 대신 실제로 스토리 공유에 적합한 캠페인, 게임플레이 또는 결과 페이지를 식별하세요.","ia.shareStory.prerequisite2":"먼저 스토리에 적합한 자산을 준비한 다음 `query` 값과 착지 동작을 함께 설계하세요. 게임 내 반환 논리를 모호하게 유지하면서 시각적 자료에만 최적화하지 마십시오.","ia.shareStory.step1":"시각적 전파에 적합한 페이지에 `shareToStory`를 통합하고 선택한 자산과 `query` 값이 모두 활성 비즈니스 시나리오를 올바르게 나타내는지 확인합니다.","ia.shareStory.step2":"트리거, 취소, 실패 및 다중 자산 분기를 다루므로 스토리 공유 프레젠테이션과 사용자 피드백이 모두 예상대로 작동합니다.","ia.shareStory.step3":"디바이스에서는 스토리 공유 후 복귀 경로를 확인하고 대상 페이지, 캠페인 상태, 매개변수가 올바르게 복원되었는지 확인합니다.","ia.shareStory.summary":"`shareToStory`는 스토리 공유에 중점을 두고 있습니다. 눈에 보이는 프레젠테이션은 스토리 자산 자체에 더 많이 의존하는 반면, 비즈니스 측면 디자인의 초점은 여전히 ​​`query` 가치와 공유 후 랜딩 흐름입니다.","ia.shareStory.tip1":"스토리 공유를 단순한 메시지 공유의 사본으로 취급해서는 안 됩니다. 자산 표현은 한 부분이지만 `query`와 공유 후 착륙 흐름은 여전히 ​​신중한 비즈니스 측면 디자인이 필요합니다.","ia.shareStory.tip2":"Story가 강력한 시각적 자료에 의존하는 경우 자산 표시와 `query` 기반 반환 경로가 올바른 페이지 상태를 복원하는지 여부에 대해 집중적인 실제 장치 검사를 수행합니다.","ia.shortcut.highlight1":"바로가기 추가, 홈 화면에서 재진입, 보상 수령 조건 확인까지 검증하세요.","ia.shortcut.highlight2":"진입 장면과 `canReceiveReward`를 확인한 다음 게임의 보상 지급을 검증하세요.","ia.shortcut.prerequisite1":"호환성: `TTMinis.game.canIUse(\'addShortcut\')`를 통한 프로브 지원. TikTok 41.0.0+(iOS에는 41.40+ 필요)에서 유효성을 검사합니다.","ia.shortcut.prerequisite2":"보상 검증: 실제 사용자 흐름에서 `TTMinis.game.getShortcutMissionReward()`는 홈 화면 바로가기에서 세션이 시작된 경우에만 `canReceiveReward=true`를 반환합니다. `scene_shortcut` 시작 모드에서는 세션 자체가 이미 해당 항목을 시뮬레이션합니다.","ia.shortcut.step1":"UI에 명확한 진입점을 추가합니다. `canIUse(\'addShortcut\')`를 확인한 다음 `TTMinis.game.addShortcut()`를 호출하고 디버깅 실패 시 `errorCode/errorMsg`를 기록합니다.","ia.shortcut.step2":"로컬 디버깅의 경우: `ttmg dev` 실행 → 시작 모드에서 `Desktop Shortcut` 장면(`scene_shortcut`) 선택 → 스캔하여 입력합니다. 해당 세션은 이미 바탕 화면 바로 가기 항목에서 열기를 시뮬레이션하고 있습니다.","ia.shortcut.step3":"`TTMinis.game.getShortcutMissionReward()`에 직접 전화해서 `canReceiveReward`를 확인하세요. 사실이라면 보상/청구 흐름을 계속 진행하세요. 실제 사용자 흐름 회귀를 위해 `addShortcut`와 실제 홈 화면을 다시 열어두세요.","ia.shortcut.summary":"플레이어가 홈 화면에 게임 바로가기를 추가하고 이를 통해 돌아와 조건에 맞는 보상을 받게 하세요.","ia.shortcut.tip1":"`canReceiveReward`를 입력 소스 신호로 처리합니다. 바로가기 추가 성공이 현재 세션이 재방문 보상을 청구할 자격이 있다는 의미는 아닙니다.","ia.shortcut.tip2":"게임의 적절한 시점에 바로가기 추가의 이점을 안내하고 보상 자격과 중복 지급 방지를 확인하세요.","ia.sidebar.highlight1":"사이드바 진입점, 미션 상태, 보상 수령 조건을 함께 확인하세요.","ia.sidebar.highlight2":"적절한 게임 내 진입점을 선택하고 실제 기기에서 게임 복귀와 보상 수령을 확인하세요.","ia.sidebar.prerequisite1":"계정 지역이 지원되는 롤아웃 내에 있는지 확인하고 먼저 비즈니스 코드에서 `canIUse`를 사용하여 기능 지원을 확인하세요.","ia.sidebar.prerequisite2":"기본 QR 경로를 유지하는 대신 실행 모드에서 전용 사이드바 재방문 장면을 사용하세요.","ia.sidebar.step1":"실행 모드로 이동하여 `Sidebar revisit` 장면을 선택하고 전용 디버그 모드로 저장합니다.","ia.sidebar.step2":"로컬 디버깅의 경우 `ttmg dev`를 실행하고 시작 모드를 `scene_center`로 전환한 다음 스캔하여 들어갑니다. 해당 세션은 이미 사이드바 항목 열기를 시뮬레이션하고 있습니다.","ia.sidebar.step3":"`getEntranceMissionReward`를 직접 호출하여 `canReceiveReward`와 보상 전달 논리를 확인하세요. `startEntranceMission`를 필수 시작 모드 단계로 처리하는 대신 실제 사용자 흐름 회귀를 위해 유지하세요.","ia.sidebar.summary":"플레이어가 TikTok 사이드바에서 게임으로 돌아와 조건을 충족할 때 재방문 보상을 받을 수 있게 하세요.","ia.sidebar.tip1":"이 기능은 장면 및 지역 조건에 따라 크게 달라지므로 기본 QR 경로를 통해서만 설명하거나 검증하지 마세요.","ia.sidebar.tip2":"작업을 계속할 수 없는 경우 보상 논리를 의심하기 전에 장면, 계정 영역, 클라이언트 기능 및 작업 상태를 확인하십시오.","ia.subpackage.highlight1":"분할 패키지 품질은 가능한 한 분할하는 것이 아니라 경계 정의, 사전 로드 타이밍 및 대체에 따라 달라집니다.","ia.subpackage.highlight2":"약한 네트워크에서 첫 번째 화면 속도와 이후 장면 전환을 모두 검증합니다.","ia.subpackage.prerequisite1":"첫 번째 화면에서 실제로 필요한 것이 무엇인지, 이후의 게임 플레이나 선택적 리소스에 속하는 것이 무엇인지 확인하세요.","ia.subpackage.prerequisite2":"비즈니스 페이지 내부에 분할 패키지 로직을 분산시키는 대신 일관된 로딩 폴백, 재시도 및 로딩 상태 UX를 준비하세요.","ia.subpackage.step1":"`game.json`의 `subpackages`에 이름과 루트 디렉터리를 선언하고, 서브패키지 루트에 `game.js` 진입 파일이 있는지 확인하세요. 첫 화면에 필요한 리소스는 메인 패키지에 유지하세요.","ia.subpackage.step2":"미리 다운로드할 때는 `preDownloadSubpackage`를 사용하세요. 서브패키지 진입점을 로드하고 실행할 때는 `loadSubpackage`를 사용하세요. 장면에 들어가기 전에 필요한 리소스와 초기화가 완료되었는지 확인하세요.","ia.subpackage.step3":"첫 번째 화면 진입, 이후 점프 및 분할 패키지 오류 복구 시 장치 및 약한 네트워크 회귀를 실행하여 사용자가 로드 중에 막히지 않도록 하세요.","ia.subpackage.summary":"하위 패키지 및 사전 로드는 첫 번째 패키지 크기, 분할 경계 및 리소스 로딩 타이밍에 중점을 두므로 첫 번째 화면 속도를 저하시키지 않고 이후 콘텐츠가 원활하게 도착할 수 있습니다.","ia.subpackage.tip1":"사전 로드가 바로 사용 가능함을 의미하지는 않습니다. 분할 패키지가 정말로 필요한 경우 실제 비즈니스 전환을 검증합니다.","ia.subpackage.tip2":"더 작은 메인 패키지를 쫓기 위해 과도하게 분할하지 마십시오. 타이밍, 대체 및 종속성 정확성은 원시 분할 수보다 더 중요합니다.","ia.uiAdaptation.highlight1":"목표는 일회성 페이지 수정이 아니라 안전 영역, 캡슐 버튼 및 창 측정항목에 대한 공유 레이아웃 기준선입니다.","ia.uiAdaptation.highlight2":"제목, 플로팅 버튼, 하단 작업 영역이 방해받지 않도록 다양한 크기의 실제 장치에서 유효성을 검사합니다.","ia.uiAdaptation.prerequisite1":"한 페이지만 패치하는 대신 상단 표시줄, 플로팅 작업, 고정 하단 영역 또는 전체 화면 시각적 개체에 의존하는 주요 페이지를 나열하세요.","ia.uiAdaptation.prerequisite2":"특히 다양한 종횡비, 상단 안전 영역 및 하단 동작 영역에 걸쳐 실제 장치 또는 다중 크기 미리보기 범위를 준비합니다.","ia.uiAdaptation.step1":"먼저 창 크기, 안전 영역 및 캡슐 버튼 측정항목을 각 페이지에 별도로 하드코딩하는 대신 레이아웃 기준선으로 중앙 집중화합니다.","ia.uiAdaptation.step2":"상단 제목 영역, 상단 오른쪽 작업, 하단 고정 컨트롤 및 모달 콘텐츠를 조정하여 캡슐 버튼이나 시스템 안전 영역과 겹치지 않도록 합니다.","ia.uiAdaptation.step3":"주요 페이지에서 실제 장치 회귀를 실행하고 종횡비 변경 사항을 확인하고, 컨테이너, 전체 화면 배경을 스크롤하고, 장치 전반에 걸쳐 대상을 탭합니다.","ia.uiAdaptation.summary":"UI 적응은 화면 크기, 캡슐 버튼 및 안전 영역 처리에 중점을 두므로 주요 UI가 기기 전반에 걸쳐 표시되고 탭 가능하며 올바르게 정렬됩니다.","ia.uiAdaptation.tip1":"시각적 정렬만 보지 마십시오. 탭 영역, 모달 닫기 어포던스 및 하단 도달 가능성도 UI 적응의 일부입니다.","ia.uiAdaptation.tip2":"캡슐 버튼 위치를 고정 픽셀로 하드코딩하지 마세요. 플랫폼 측정항목 및 안전 영역 데이터를 기반으로 한 기본 레이아웃입니다.","ia.wasmSplit.summary":"Unity Wasm 번들을 온디맨드 청크로 분할하여 초기 페이로드를 줄이고 콜드 스타트를 개선합니다. Unity 엔진 전용.","scene_ad":"피드 광고의 경우","scene_center":"사이드바","scene_fyf_promotion_direct_feed_play":"For You 피드 직접 플레이","scene_scan_qrcode":"QR 코드 스캔","scene_shortcut":"데스크탑 바로가기"}')},qle={...IZ,...nl["en-US"]},Ule={...zle,...nl["zh-CN"]},Ok="en-US",Nk="__TTMG_IDE_LANG__",Ih={"en-US":qle,"zh-CN":Ule,"ja-JP":{...f5,...nl["ja-JP"]},"ko-KR":{...k7,...nl["ko-KR"]}};function Ak(){return Vi(typeof navigator>"u"?void 0:navigator.language)??Ok}const Lk=Vi;function Mk(){try{if(typeof window>"u")return;const i=window.localStorage.getItem(Nk);return Lk(i)}catch{return}}function Ble(i){try{if(typeof window>"u")return;window.localStorage.setItem(Nk,i)}catch{}}let Wn=Mk()??Ak();const $h="ttmg-language-change";typeof document<"u"&&(document.documentElement.lang=Wn);let jk=0;const I1=()=>jk;function Hle(i,e={}){e.userSelection&&jk++;const n=Lk(i),r=Wn;Wn=n??Mk()??Ak(),Ble(Wn),typeof document<"u"&&(document.documentElement.lang=Wn),r!==Wn&&typeof window<"u"&&window.dispatchEvent(new Event($h))}function Vle(i){return window.addEventListener($h,i),()=>window.removeEventListener($h,i)}const $1=()=>Wn;function Fk(){return T.useSyncExternalStore(Vle,$1,$1)}const x=(i,e)=>{let n=Ih[Wn][i]??Ih[Ok][i];return e&&Object.entries(e).forEach(([r,o])=>{n=n.replace(new RegExp(`{{${r}}}`,"g"),()=>String(o))}),n},Gk=new Map;for(const i of Object.values(Ih))for(const[e,n]of Object.entries(i))n.includes("{{")||Gk.set(n,e);function Xi(i){const e=Gk.get(i);if(e)return x(e);const n=/^([A-Za-z][\w.]*) not integrated\. Please resolve this before submission to avoid review rejection\.$/.exec(i);return n?x("checkApiNotIntegrated",{api:n[1]}):i}const Kle={"en-US":oO,"zh-CN":Js,"ja-JP":sO,"ko-KR":lO};function Qle({children:i}){const e=Fk();return P.jsx(mm,{locale:Kle[e],children:i})}const Pm=T.createContext(void 0),mn=()=>{const i=T.useContext(Pm);if(!i)throw new Error("useAppContext must be used within ContextProvider");return i};function Xle(i){return new URLSearchParams(window.location.search).get(i)}function Yle(i){const e={};if(!i||typeof i!="string")return e;const r=(i.startsWith("?")?i.substring(1):i).split("&");for(const o of r){if(!o)continue;const s=o.indexOf("=");let c,u;s===-1?(c=decodeURIComponent(o),u=""):(c=decodeURIComponent(o.substring(0,s)),u=decodeURIComponent(o.substring(s+1))),Object.prototype.hasOwnProperty.call(e,c)?Array.isArray(e[c])?e[c].push(u):e[c]=[e[c],u]:e[c]=u}return e}function Pge(i){if(!i)return{isValid:!0,message:""};if(typeof i!="string")return{isValid:!1,message:x("queriesStringMustBeString")};if(i.trim()==="")return{isValid:!0,message:""};if(i.startsWith("?"))return{isValid:!1,message:x("queriesStringNoQuestionMark")};const e=i.split("&"),n=new Set;for(const r of e){if(r.trim()==="")return{isValid:!1,message:x("queriesStringEmptyPair")};const o=r.indexOf("=");if(o===-1||o===r.length-1)return{isValid:!1,message:x("queriesStringMissingEqual",{pair:r})};let s=r.substring(0,o),c=r.substring(o+1);try{const u=decodeURIComponent(s),p=decodeURIComponent(c);if(u.trim()==="")return{isValid:!1,message:x("queriesStringEmptyKey",{pair:r})};if(n.has(u))return{isValid:!1,message:x("queriesStringDuplicateKey",{key:u})};n.add(u);const g=/^[\w\-.!~*'()]+$/,y=/[\x00-\x1F\x7F]/;if(!g.test(u)&&u.length>0){if(y.test(u))return{isValid:!1,message:x("queriesStringInvalidKeyChars",{key:u})};if(/[^a-zA-Z0-9\-.!~*'()_]/.test(u))return{isValid:!1,message:x("queriesStringInvalidKeyChars",{key:u})}}if(y.test(p))return{isValid:!1,message:x("queriesStringInvalidValueChars",{value:p})}}catch(u){return{isValid:!1,message:x("queriesStringInvalidEncoding",{pair:r,error:u.message})}}}return{isValid:!0,message:""}}function xl(i,...e){Number(Xle("enableLog"))&&console[i](...e)}const Yt=(...i)=>xl("log",...i);Yt.info=(...i)=>xl("info",...i);Yt.warn=(...i)=>xl("warn",...i);Yt.error=(...i)=>xl("error",...i);const Za={isNodeWSConnected:void 0,nodeWsPort:null,isClientWSConnected:void 0,clientHost:null,clientWsPort:null,clientHttpPort:null,clientKey:"",isResourcesReady:!1,isScriptsReady:!1,packages:{},email:null,hasSetup:!1,nodeStaticBaseUrl:null,remoteCdnResources:null,remoteResourceBaseUrl:null};class Jle{data;constructor(e){this.data={...Za,...e}}get(e){return this.data[e]}set(e,n){this.data[e]=n,this.logUpdate({[e]:n})}setMultiple(e){this.data={...this.data,...e},this.logUpdate(e)}getMultiple(e){return e.reduce((n,r)=>(n[r]=this.data[r],n),{})}getAll(){return{...this.data}}resetField(e){this.data[e]=Za[e],this.logUpdate({[e]:Za[e]})}clear(){this.data={...Za},this.logUpdate(Za,!0)}init(e){this.data=e,this.logUpdate(e,!0)}logUpdate(e,n=!1){n?Yt("Store has been reset/initialized."):Yt("Store updated with batch:",e)}}const De=new Jle,Wk=()=>`http://${De.get("clientHost")}:${De.get("clientHttpPort")}`,zk="__TTMG_LAUNCH_MODE__",qk="__TTMG_CHANGELOG_LAST_SEEN_VERSION__",Wr={browserDebug:"browserDebug",clientPreview:"clientPreview",clientDebug:"clientDebug"},Vs={get name(){return x("normalLaunchMode")},pkgName:"__GAME__",pkgType:"main",id:"normal",scene:"scan_qrcode"},Ks={get name(){return x("createdLaunchMode")},pkgName:"__GAME__",pkgType:"main",id:"created",scene:"scan_qrcode"},Dm="game",Uk="__TTMG_DEBUG_SETTING__";class Zle{listeners=new Map;on(e,n){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(n),()=>this.off(e,n)}off(e,n){const r=this.listeners.get(e);r&&(r.delete(n),r.size===0&&this.listeners.delete(e))}emit(e,n){const r=this.listeners.get(e);r&&r.forEach(o=>{try{o(n)}catch(s){console.error(`Error in listener for event "${String(e)}":`,s)}})}removeAllListeners(e){this.listeners.delete(e)}clearAll(){this.listeners.clear()}}const _e=new Zle,ece="docMode",tce="TTMG_DOCS_CAPTURE",nce="docScenario",rce="docLang",Rh="mgebtz3do4nz2vpc",R1="docs.example.com",co=1024*1024,Bk=[{name:"main",size:2.76*co,type:"main"},{name:"wasmcode",size:3.42*co,type:"independent"},{name:"configBundle",size:1.28*co,type:"independent"}],Hk=[{name:"main",size:2.76*co,type:"main"},{name:"wasmcode",size:5.42*co,type:"independent",root:"wasmcode/",md5:"docs-wasmcode-md5"}],O1=encodeURIComponent(`
13
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
14
- <rect width="128" height="128" rx="24" fill="#eef6ff"/>
15
- <path d="M64 22l36 20v44l-36 20-36-20V42l36-20z" fill="#7ab7f5"/>
16
- <path d="M64 38l20 11v30L64 90 44 79V49l20-11z" fill="#1f8fff"/>
17
- <circle cx="64" cy="64" r="10" fill="#ffffff"/>
18
- </svg>
19
- `);function _m(){return typeof window>"u"?new URLSearchParams:new URLSearchParams(window.location.search)}function Il(){if(typeof window>"u")return!1;if(_m().get(ece)==="1")return!0;try{return window.localStorage.getItem(tce)==="1"}catch{return!1}}function Tm(){return _m().get(nce)||"default"}function ice(i){const e=_m().get(rce);if(Vi(e))return Vi(e);const n=i?.["X-TTMG-Docs-Lang"]||i?.["x-ttmg-docs-lang"];return Vi(n)?Vi(n):"zh-CN"}function Em(){return Tm()==="wasm.prepare"}function ace(){return Tm()==="upload.permission-restricted"}function oce(i){try{return new URL(i,typeof window>"u"?"http://localhost":window.location.origin).pathname}catch{return i.split("?")[0]}}function sce(i){const e=ice(i),n=Em(),r=n?Hk:Bk;return{data:{schema:`snssdk1233://microapp?app_id=ttmg-doc-fixture&launch_from=devtool_docs&host=${R1}&host_list=${encodeURIComponent(JSON.stringify([R1]))}&port=3000&ws_port=2999`,nodeWsPort:4e3,nodeServerPort:3e3,nodeStaticBaseUrl:"http://127.0.0.1:3000",user:{user_id:"doc-user",email:"devtool-doc@example.com"},devToolVersion:"0.4.3",packages:r,engine:n?"unity":"cocos",clientKey:Rh,checkResult:[],lang:e}}}function lce(){const i=Em(),e=i?Hk:Bk,n={data:{name:i?"Unity Wasm Sample":"Coins Sort 20",client_key:Rh,size:e.reduce((r,o)=>r+o.size,0),description:"A sample mini game used for DevTool documentation screenshots.",icon_url:`data:image/svg+xml;charset=utf-8,${O1}`,display_icon_url:`data:image/svg+xml;charset=utf-8,${O1}`,created_at:1728e6,privacy_policy_link:"https://example.com/privacy",terms_of_service_link:"https://example.com/terms",request_allowed_domains:["https://api.example.com","https://assets.example.com"],sandbox_info:{sandbox_id:"doc-sandbox"},app_id:"ttmg-doc-fixture",packages:e,update_time:1728e6,scopes:["user.info.basic","im.share"]}};return ace()&&(n.error={errorCode:403,errorMsg:"The current account does not have permission for this game.",clientKey:Rh}),n}function cce({url:i,method:e,headers:n}){if(!Il())return null;const r=oce(i),o=e.toUpperCase();return o==="GET"&&r==="/game/config"?sce(n):o==="GET"&&r==="/game/detail"?lce():o==="GET"&&r==="/game/wasm-split-config"&&Em()?{code:0,data:{enableWasmCollect:!1,enableWasmSplit:!1}}:r==="/game/config-fillback"?{isSuccess:!0,data:{}}:null}const uce=6e5,dce={error:{errorCode:-1,errorMsg:"Request failed"},isSuccess:!1,msg:"Request failed"},pce={error:{errorCode:-1,errorMsg:"Request timeout"},isSuccess:!1,msg:"Request timeout"};function Zi(i){const{url:e,method:n="GET",data:r=void 0,headers:o={},timeout:s=uce}=i;let c=e;const u={method:n,headers:{"Content-Type":"application/json",...o}};if(n.toUpperCase()==="GET"&&r){const v=new URLSearchParams(r).toString();c+=(c.includes("?")?"&":"?")+v}else r&&(u.body=JSON.stringify(r));const p=cce({url:c,method:n,headers:o});if(p)return Promise.resolve(p);const g=new AbortController,y=setTimeout(()=>g.abort(),s);return u.signal=g.signal,fetch(c,u).then(async v=>{if(!v.ok)return{error:{errorCode:-1,errorMsg:v.statusText},isSuccess:!1,msg:v.statusText};const S=v.headers.get("content-type");if(S&&S.includes("application/json"))try{const D=await v.text();return D.trim()?JSON.parse(D):{isSuccess:!0,data:{}}}catch(D){throw new Error(`Failed to parse JSON response: ${D instanceof Error?D.message:"Unknown error"}`)}else return v.text()}).catch(v=>v instanceof DOMException&&v.name==="AbortError"?pce:dce).finally(()=>{clearTimeout(y)})}function N1(i){return typeof i=="string"&&i.length>0&&!/[\\:\x00-\x1f]/.test(i)&&i.split("/").every(e=>e!==""&&e!=="."&&e!=="..")}function gce(i){if(i==null)return;const e=i,n=new URL(e.base_url);if(!["http:","https:"].includes(n.protocol)||n.username||n.password||n.search||n.hash||!Array.isArray(e.resources)||e.resources.length===0||!e.resources.every(r=>r&&N1(r.root)&&N1(r.output)))throw new Error("Invalid compiled remote CDN resource declaration.");return{base_url:e.base_url,resources:e.resources.map(({root:r,output:o})=>({root:r,output:o}))}}function hce(i,e){const n=gce(i);if(!n)return;const r=new URL(e||"");if(!["http:","https:"].includes(r.protocol)||r.username||r.password||r.search||r.hash)throw new Error("Invalid local remote resource service URL.");return{...n,platform_cdn_base_url:r.href.replace(/\/+$/,"")+"/"}}const eo={allowed_domains:[],client_key_type:2,stage:2,description:"TTMG Dev Game",entity:"",icon_big_url:"",icon_url:"",minis_category:"mini_game",minis_status:1,minis_tech_type:0,minis_type:2,scopes:["user.info.open_id","user.info.basic"],tos_url:"",update_time:Date.now(),status_code:0,status_msg:"",name:"TikTok Mini Game"};function uh(i){return!!i&&typeof i=="object"&&!Array.isArray(i)}function mce(i){if(!uh(i)||Object.keys(i).length===0)throw new Error("Compiled package metadata must be a non-empty object keyed by package name.");for(const[e,n]of Object.entries(i)){if(!uh(n))throw new Error(`Compiled package metadata for ${e} is invalid.`);for(const r of["url","md5","root","main","output","type"])if(typeof n[r]!="string")throw new Error(`Compiled package metadata for ${e} is missing string field ${r}.`);if(!Array.isArray(n.dependencies))throw new Error(`Compiled package metadata for ${e} is missing dependencies.`)}if(!uh(i.__GAME__)||typeof i.__GAME__.main!="string")throw new Error("Compiled package metadata must contain the __GAME__ main package.")}function fce(i){mce(i.packages);const e=hce(i.remoteCdnResources,i.remoteResourceBaseUrl),{scopes:n,update_time:r,display_icon_url:o,request_allowed_domains:s,name:c,terms_of_service_link:u,privacy_policy_link:p,description:g}=i.gameDetail||eo;return{...eo,tos_url:u,privacy_url:p,name:c||eo.name,icon_url:o||eo.icon_url,icon_big_url:o||eo.icon_url,client_key:i.clientKey,minis_url:`https://minis-${i.clientKey}-vdebug-minigame.tiktok-minis.us/`,package_config:JSON.stringify({packages:i.packages,...e?{remote_cdn_resources:e}:{}}),allowed_domains:e?[...new Set([...s||[],new URL(e.platform_cdn_base_url).origin])]:s||[],status_code:0,status_msg:"",update_time:r,description:g,scopes:n}}async function yce(i){const e=Wk(),n=fce({clientKey:De.get("clientKey"),packages:De.get("packages"),gameDetail:i,remoteCdnResources:De.get("remoteCdnResources"),remoteResourceBaseUrl:De.get("remoteResourceBaseUrl")||void 0});console.log(`🚀 ${x("startToSendMetaToClient")}`,n);const r=await Zi({url:`${e}/game/meta`,method:"POST",data:n,headers:{"Content-Type":"application/json"}});return console.log(`✅ ${x("sendMetaToClientSuccess")}`),r}async function A1(){const i=document.getElementById(Dm);return new Promise(e=>{i.onload=()=>{i.onload=null,e(i)},i.contentWindow?.location.reload()})}const Vk="debugMode";function xm(i){return(i||"").trim().replace(/^v/i,"")}function vce(){const i=[Vs,Ks];try{const e=JSON.parse(localStorage.getItem(zk)||"[]");if(e.length){const n=e.filter(r=>r.id!==Ks.id).filter(r=>r.id!==Vs.id);return[Vs,...n,Ks]}else return i}catch{return i}}function Sce(i){try{localStorage.setItem(zk,JSON.stringify(i))}catch(e){console.error("Failed to save launch options:",e)}}function bce(i){try{localStorage.setItem(Uk,JSON.stringify(i))}catch(e){console.error("Failed to save debug setting:",e)}}function wce(){const i={enableAdMock:!1,enableIAPMock:!1,enableDomainCheck:!0,enableVConsole:!1,enableDevInfoPanel:!0},e={enableAdMock:!1,enableIAPMock:!1,enableDomainCheck:!0,enableVConsole:!0,enableDevInfoPanel:!0},r=Kk()===Wr.browserDebug;try{const o=localStorage.getItem(Uk);if(o){const s=JSON.parse(o);return r?{...s,enableVConsole:!1}:s}}catch(o){console.error("Failed to get debug setting:",o)}return r?i:e}function Kk(){try{return Qk()??Wr.browserDebug}catch(i){return console.error("Failed to get debug mode:",i),Wr.browserDebug}}function Qk(){try{const i=localStorage.getItem(Vk);return i&&Object.values(Wr).includes(i)?i:null}catch(i){return console.error("Failed to get stored debug mode:",i),null}}function Xk(i){try{localStorage.setItem(Vk,i)}catch(e){console.error("Failed to save debug mode:",e)}}function Cce(){try{return xm(localStorage.getItem(qk))}catch(i){return console.error("Failed to get changelog last seen version:",i),""}}function kce(i){const e=xm(i);if(e)try{localStorage.setItem(qk,e)}catch(n){console.error("Failed to save changelog last seen version:",n)}}function Pce(i){const e=xm(i);if(!e)return!1;const n=Cce();return n?e!==n:!0}function Dce(){const i={header:"font-weight:700;font-size:16px",subtitle:"font-weight:600;font-size:12px",desc:"font-size:12px",supportVersion:"font-size:12px; background:#FFE4B5;padding:1px 6px;border-radius:3px; color:#8B4513",tagBrowser:"background:#4F8BFF;color:#fff;border-radius:3px;padding:1px 6px",tagClient:"background:#22C55E;color:#fff;border-radius:3px;padding:1px 6px",bulletKey:"font-weight:600",bulletVal:"font-size:12px",tip:"font-size:12px;font-style:italic"},e={browserRemoteDebugDesc:x("browserRemoteDebugDesc"),clientRealPreviewDesc:x("clientRealPreviewDesc"),scanTips:x("debug.scan.tips"),browser:{title:x("debug.mode.browser.title"),points:{logic:x("debug.mode.browser.point.logic"),devtools:x("debug.mode.browser.point.devtools"),preview:x("debug.mode.browser.point.preview")}},client:{title:x("debug.mode.client.title"),supportVersion:x("debug.mode.client.supportVersion"),points:{logic:x("debug.mode.client.point.logic"),vconsole:x("debug.mode.client.point.vconsole"),preview:x("debug.mode.client.point.preview")}},customTip:x("debug.mode.custom.tip")};console.log("%c%s",i.header,`📌 ${x("debug.guide.header")}`),console.log("%c%s",i.desc,e.scanTips),console.group("%c%s %cBROWSER",i.subtitle,e.browser.title,i.tagBrowser),console.log("%c• %c%s",i.bulletKey,i.bulletVal,e.browser.points.logic),console.log("%c• %c%s",i.bulletKey,i.bulletVal,e.browser.points.devtools),console.log("%c• %c%s",i.bulletKey,i.bulletVal,e.browser.points.preview),console.groupEnd(),console.group("%c%s %cDEVICE",i.subtitle,e.client.title,i.tagClient),console.log("%c%s",i.supportVersion,e.client.supportVersion),console.log("%c• %c%s",i.bulletKey,i.bulletVal,e.client.points.logic),console.log("%c• %c%s",i.bulletKey,i.bulletVal,e.client.points.vconsole),console.log("%c• %c%s",i.bulletKey,i.bulletVal,e.client.points.preview),console.groupEnd(),console.log("%c💡 %s",i.tip,e.customTip)}const _ce="ttmg.";function Tce(i){return i===""||i==="1"||i==="true"}function Yk(i){const e=_ce+i;try{const n=new URLSearchParams(window.location.search);if(n.has(i)){const r=Tce(n.get(i));try{r?sessionStorage.setItem(e,"1"):sessionStorage.removeItem(e)}catch{}return r}}catch{}try{return sessionStorage.getItem(e)==="1"}catch{return!1}}const Ece=Yk("enableExperiment"),xce=Yk("enableLocalDev");function Dge(){return Ece}function _ge(){return xce}function dh({baseSchema:i,option:e,debugMode:n}){if(e){const{scene:r,pkgName:o,queries:s}=e;let u=`${i}&debugMode=${n}&_tiktok_minis_params=${encodeURIComponent(JSON.stringify({enter_from:r,ttmg_init_module:o}))}`;if(s){const p=Yle(s);p&&Object.keys(p).forEach(g=>{u+=`&${g}=${encodeURIComponent(p[g])}`})}return u}else return i}const Ice=-1001;function Im(i){return!!(i?.user_id||i?.email)}function $m(i){const{errorCode:e,user:n}=i;return e===Ice||e===0?"networkProxy":e?e===404?"notFound":e===403?"noPermission":e===401?Im(n)?"loginExpired":"notLoggedIn":"unknown":"ok"}function $ce(i){const{clientKey:e,errorMsg:n}=i,r=$m(i);return r==="notFound"?x("getDevGameDetailNotFound",{clientKey:e}):r==="noPermission"?x("gameDetailNoPermission",{clientKey:e}):r==="loginExpired"?x("gameLoginExpired",{clientKey:e}):r==="networkProxy"?x("gameDetailNetworkProxyBlocked",{clientKey:e}):r==="notLoggedIn"?x("gameDetailNotLogin",{clientKey:e}):n||""}const Jk="tt-theme";function Rce(){try{const i=window.localStorage.getItem(Jk);if(i==="light"||i==="dark")return i}catch{}return null}function Oce(i){try{window.localStorage.setItem(Jk,i)}catch{}}function Nce(){const i=Rce();return i||"light"}function Zk(i){if(typeof document>"u")return;const e=document.documentElement,n=document.body;e.setAttribute("data-theme",i),n&&(n.setAttribute("data-theme",i),n.setAttribute("theme-mode",i))}function L1(i){Zk(i),Oce(i)}function Ace(){return typeof document>"u"?"light":document.documentElement.getAttribute("data-theme")||"light"}function Lce(){const i=Nce();return Zk(i),i}const Mce={devToolVersion:"",engine:"unknown",isConnected:!1,hasSetup:!1,showManualBindIP:!1,debugMode:Kk(),schema:"",devSchema:"",gameDetail:null,user:null,feature:{upload:!0,loginStatus:!0,debugSetting:!0,launchMode:!0,sidebar:{enable:!0,info:!1,launch:!1,setting:!1,log:!1,code:!1}},launchOptions:vce(),selectedLaunchOption:Vs,loading:{visible:!0,text:x("loading")},error:{text:""},message:{type:"info",title:x("disConnectionStatusTitle"),desc:x("disConnectionStatusDesc")},debugSetting:wce(),packages:[]};function jce(i,e){switch(e.type){case"SHOW_LOADING":return{...i,loading:{visible:!0,text:e.payload??x("loading")}};case"HIDE_LOADING":return{...i,loading:{...i.loading,visible:!1}};case"SET_MESSAGE":return{...i,message:e.payload};case"SET_IS_CONNECTED":return{...i,isConnected:e.payload};case"SET_SCHEMA":return{...i,schema:e.payload,devSchema:dh({baseSchema:e.payload,option:i.selectedLaunchOption,debugMode:i.debugMode})};case"CLEAR_MESSAGE":return{...i,message:{type:"info",title:"",desc:""}};case"SET_USER":return{...i,user:e.payload};case"SET_LAUNCH_OPTIONS":return Sce(e.payload),{...i,launchOptions:e.payload};case"SET_SELECTED_LAUNCH_OPTION":return{...i,selectedLaunchOption:e.payload,devSchema:dh({baseSchema:i.schema,option:e.payload,debugMode:i.debugMode})};case"SET_PACKAGES":return{...i,packages:e.payload};case"SET_DEBUG_SETTING":return bce(e.payload),{...i,debugSetting:e.payload};case"SET_GAME_DETAIL":return{...i,gameDetail:e.payload};case"SET_HAS_SETUP":return{...i,hasSetup:e.payload};case"SET_ERROR":return{...i,error:e.payload};case"SET_DEV_TOOL_VERSION":return{...i,devToolVersion:e.payload};case"SET_DEBUG_MODE":return{...i,debugMode:e.payload,devSchema:dh({baseSchema:i.schema,option:i.selectedLaunchOption,debugMode:e.payload})};case"SET_SHOW_MANUAL_BIND_IP":return{...i,showManualBindIP:e.payload};case"SET_ENGINE":return{...i,engine:e.payload};default:return i}}const Fce=({children:i})=>{const[e,n]=T.useReducer(jce,Mce),r=T.useCallback(N=>{n({type:"SET_IS_CONNECTED",payload:N})},[]),o=T.useCallback(N=>{n({type:"SHOW_LOADING",payload:N})},[]),s=T.useCallback(()=>{setTimeout(()=>{n({type:"HIDE_LOADING"})},500)},[]),c=T.useCallback(N=>{n({type:"SET_MESSAGE",payload:N})},[]),u=T.useCallback(()=>{n({type:"CLEAR_MESSAGE"})},[]),p=T.useCallback(N=>{n({type:"SET_SCHEMA",payload:N})},[]),g=T.useCallback(N=>{n({type:"SET_USER",payload:N})},[]),y=T.useCallback(N=>{n({type:"SET_LAUNCH_OPTIONS",payload:N})},[]),v=T.useCallback(N=>{n({type:"SET_SELECTED_LAUNCH_OPTION",payload:N})},[]),S=T.useCallback(N=>{n({type:"SET_DEBUG_SETTING",payload:N})},[]),D=T.useCallback(N=>{n({type:"SET_PACKAGES",payload:N})},[]),_=T.useCallback(N=>{n({type:"SET_GAME_DETAIL",payload:N})},[]),b=T.useCallback(N=>{n({type:"SET_HAS_SETUP",payload:N})},[]),w=T.useCallback(N=>{n({type:"SET_ERROR",payload:N})},[]),E=T.useCallback(N=>{n({type:"SET_DEV_TOOL_VERSION",payload:N})},[]),R=T.useCallback(N=>{n({type:"SET_DEBUG_MODE",payload:N})},[]),O=T.useCallback(N=>{n({type:"SET_SHOW_MANUAL_BIND_IP",payload:N})},[]),M=T.useCallback(N=>{n({type:"SET_ENGINE",payload:N})},[]),F=T.useMemo(()=>({state:e,showLoading:o,hideLoading:s,setIsConnected:r,setSchema:p,setMessage:c,clearMessage:u,setUser:g,setLaunchOptions:y,setSelectedLaunchOption:v,setDebugSetting:S,setPackages:D,setGameDetail:_,setHasSetup:b,setError:w,setDevToolVersion:E,setDebugMode:R,setShowManualBindIP:O,setEngine:M}),[e,o,s,r,p,c,u,g,y,v,S,D,_,b,w,E,R,O,M]);return P.jsx(Pm.Provider,{value:F,children:i})};var M1="popstate";function j1(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function Gce(i={}){function e(r,o){let s=o.state?.masked,{pathname:c,search:u,hash:p}=s||r.location;return Oh("",{pathname:c,search:u,hash:p},o.state&&o.state.usr||null,o.state&&o.state.key||"default",s?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,o){return typeof o=="string"?o:ho(o)}return zce(e,n,null,i)}function He(i,e){if(i===!1||i===null||typeof i>"u")throw new Error(e)}function Tn(i,e){if(!i){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Wce(){return Math.random().toString(36).substring(2,10)}function F1(i,e){return{usr:i.state,key:i.key,idx:e,masked:i.unstable_mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function Oh(i,e,n=null,r,o){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof e=="string"?oa(e):e,state:n,key:e&&e.key||r||Wce(),unstable_mask:o}}function ho({pathname:i="/",search:e="",hash:n=""}){return e&&e!=="?"&&(i+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(i+=n.charAt(0)==="#"?n:"#"+n),i}function oa(i){let e={};if(i){let n=i.indexOf("#");n>=0&&(e.hash=i.substring(n),i=i.substring(0,n));let r=i.indexOf("?");r>=0&&(e.search=i.substring(r),i=i.substring(0,r)),i&&(e.pathname=i)}return e}function zce(i,e,n,r={}){let{window:o=document.defaultView,v5Compat:s=!1}=r,c=o.history,u="POP",p=null,g=y();g==null&&(g=0,c.replaceState({...c.state,idx:g},""));function y(){return(c.state||{idx:null}).idx}function v(){u="POP";let w=y(),E=w==null?null:w-g;g=w,p&&p({action:u,location:b.location,delta:E})}function S(w,E){u="PUSH";let R=j1(w)?w:Oh(b.location,w,E);g=y()+1;let O=F1(R,g),M=b.createHref(R.unstable_mask||R);try{c.pushState(O,"",M)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;o.location.assign(M)}s&&p&&p({action:u,location:b.location,delta:1})}function D(w,E){u="REPLACE";let R=j1(w)?w:Oh(b.location,w,E);g=y();let O=F1(R,g),M=b.createHref(R.unstable_mask||R);c.replaceState(O,"",M),s&&p&&p({action:u,location:b.location,delta:0})}function _(w){return qce(w)}let b={get action(){return u},get location(){return i(o,c)},listen(w){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(M1,v),p=w,()=>{o.removeEventListener(M1,v),p=null}},createHref(w){return e(o,w)},createURL:_,encodeLocation(w){let E=_(w);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:S,replace:D,go(w){return c.go(w)}};return b}function qce(i,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),He(n,"No window.location.(origin|href) available to create URL");let r=typeof i=="string"?i:ho(i);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function eP(i,e,n="/"){return Uce(i,e,n,!1)}function Uce(i,e,n,r){let o=typeof e=="string"?oa(e):e,s=sr(o.pathname||"/",n);if(s==null)return null;let c=tP(i);Bce(c);let u=null;for(let p=0;u==null&&p<c.length;++p){let g=nue(s);u=eue(c[p],g,r)}return u}function tP(i,e=[],n=[],r="",o=!1){let s=(c,u,p=o,g)=>{let y={relativePath:g===void 0?c.path||"":g,caseSensitive:c.caseSensitive===!0,childrenIndex:u,route:c};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(r)&&p)return;He(y.relativePath.startsWith(r),`Absolute route path "${y.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(r.length)}let v=qn([r,y.relativePath]),S=n.concat(y);c.children&&c.children.length>0&&(He(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),tP(c.children,e,S,v,p)),!(c.path==null&&!c.index)&&e.push({path:v,score:Jce(v,c.index),routesMeta:S})};return i.forEach((c,u)=>{if(c.path===""||!c.path?.includes("?"))s(c,u);else for(let p of nP(c.path))s(c,u,!0,p)}),e}function nP(i){let e=i.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let c=nP(r.join("/")),u=[];return u.push(...c.map(p=>p===""?s:[s,p].join("/"))),o&&u.push(...c),u.map(p=>i.startsWith("/")&&p===""?"/":p)}function Bce(i){i.sort((e,n)=>e.score!==n.score?n.score-e.score:Zce(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Hce=/^:[\w-]+$/,Vce=3,Kce=2,Qce=1,Xce=10,Yce=-2,G1=i=>i==="*";function Jce(i,e){let n=i.split("/"),r=n.length;return n.some(G1)&&(r+=Yce),e&&(r+=Kce),n.filter(o=>!G1(o)).reduce((o,s)=>o+(Hce.test(s)?Vce:s===""?Qce:Xce),r)}function Zce(i,e){return i.length===e.length&&i.slice(0,-1).every((r,o)=>r===e[o])?i[i.length-1]-e[e.length-1]:0}function eue(i,e,n=!1){let{routesMeta:r}=i,o={},s="/",c=[];for(let u=0;u<r.length;++u){let p=r[u],g=u===r.length-1,y=s==="/"?e:e.slice(s.length)||"/",v=rl({path:p.relativePath,caseSensitive:p.caseSensitive,end:g},y),S=p.route;if(!v&&g&&n&&!r[r.length-1].route.index&&(v=rl({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},y)),!v)return null;Object.assign(o,v.params),c.push({params:o,pathname:qn([s,v.pathname]),pathnameBase:oue(qn([s,v.pathnameBase])),route:S}),v.pathnameBase!=="/"&&(s=qn([s,v.pathnameBase]))}return c}function rl(i,e){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[n,r]=tue(i.path,i.caseSensitive,i.end),o=e.match(n);if(!o)return null;let s=o[0],c=s.replace(/(.)\/+$/,"$1"),u=o.slice(1);return{params:r.reduce((g,{paramName:y,isOptional:v},S)=>{if(y==="*"){let _=u[S]||"";c=s.slice(0,s.length-_.length).replace(/(.)\/+$/,"$1")}const D=u[S];return v&&!D?g[y]=void 0:g[y]=(D||"").replace(/%2F/g,"/"),g},{}),pathname:s,pathnameBase:c,pattern:i}}function tue(i,e=!1,n=!0){Tn(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let r=[],o="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,u,p,g,y)=>{if(r.push({paramName:u,isOptional:p!=null}),p){let v=y.charAt(g+c.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(r.push({paramName:"*"}),o+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":i!==""&&i!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function nue(i){try{return i.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Tn(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),i}}function sr(i,e){if(e==="/")return i;if(!i.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=i.charAt(n);return r&&r!=="/"?null:i.slice(n)||"/"}var rue=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function iue(i,e="/"){let{pathname:n,search:r="",hash:o=""}=typeof i=="string"?oa(i):i,s;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?s=W1(n.substring(1),"/"):s=W1(n,e)):s=e,{pathname:s,search:sue(r),hash:lue(o)}}function W1(i,e){let n=e.replace(/\/+$/,"").split("/");return i.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ph(i,e,n,r){return`Cannot include a '${i}' character in a manually specified \`to.${e}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function aue(i){return i.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Rm(i){let e=aue(i);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function $l(i,e,n,r=!1){let o;typeof i=="string"?o=oa(i):(o={...i},He(!o.pathname||!o.pathname.includes("?"),ph("?","pathname","search",o)),He(!o.pathname||!o.pathname.includes("#"),ph("#","pathname","hash",o)),He(!o.search||!o.search.includes("#"),ph("#","search","hash",o)));let s=i===""||o.pathname==="",c=s?"/":o.pathname,u;if(c==null)u=n;else{let v=e.length-1;if(!r&&c.startsWith("..")){let S=c.split("/");for(;S[0]==="..";)S.shift(),v-=1;o.pathname=S.join("/")}u=v>=0?e[v]:"/"}let p=iue(o,u),g=c&&c!=="/"&&c.endsWith("/"),y=(s||c===".")&&n.endsWith("/");return!p.pathname.endsWith("/")&&(g||y)&&(p.pathname+="/"),p}var qn=i=>i.join("/").replace(/\/\/+/g,"/"),oue=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),sue=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,lue=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,cue=class{constructor(i,e,n,r=!1){this.status=i,this.statusText=e||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function uue(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function due(i){return i.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var rP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function iP(i,e){let n=i;if(typeof n!="string"||!rue.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(rP)try{let s=new URL(window.location.href),c=n.startsWith("//")?new URL(s.protocol+n):new URL(n),u=sr(c.pathname,e);c.origin===s.origin&&u!=null?n=u+c.search+c.hash:o=!0}catch{Tn(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var aP=["POST","PUT","PATCH","DELETE"];new Set(aP);var pue=["GET",...aP];new Set(pue);var sa=T.createContext(null);sa.displayName="DataRouter";var Rl=T.createContext(null);Rl.displayName="DataRouterState";var gue=T.createContext(!1),oP=T.createContext({isTransitioning:!1});oP.displayName="ViewTransition";var hue=T.createContext(new Map);hue.displayName="Fetchers";var mue=T.createContext(null);mue.displayName="Await";var en=T.createContext(null);en.displayName="Navigation";var Do=T.createContext(null);Do.displayName="Location";var In=T.createContext({outlet:null,matches:[],isDataRoute:!1});In.displayName="Route";var Om=T.createContext(null);Om.displayName="RouteError";var sP="REACT_ROUTER_ERROR",fue="REDIRECT",yue="ROUTE_ERROR_RESPONSE";function vue(i){if(i.startsWith(`${sP}:${fue}:{`))try{let e=JSON.parse(i.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function Sue(i){if(i.startsWith(`${sP}:${yue}:{`))try{let e=JSON.parse(i.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new cue(e.status,e.statusText,e.data)}catch{}}function bue(i,{relative:e}={}){He(la(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=T.useContext(en),{hash:o,pathname:s,search:c}=To(i,{relative:e}),u=s;return n!=="/"&&(u=s==="/"?n:qn([n,s])),r.createHref({pathname:u,search:c,hash:o})}function la(){return T.useContext(Do)!=null}function cr(){return He(la(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(Do).location}var lP="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cP(i){T.useContext(en).static||T.useLayoutEffect(i)}function _o(){let{isDataRoute:i}=T.useContext(In);return i?Oue():wue()}function wue(){He(la(),"useNavigate() may be used only in the context of a <Router> component.");let i=T.useContext(sa),{basename:e,navigator:n}=T.useContext(en),{matches:r}=T.useContext(In),{pathname:o}=cr(),s=JSON.stringify(Rm(r)),c=T.useRef(!1);return cP(()=>{c.current=!0}),T.useCallback((p,g={})=>{if(Tn(c.current,lP),!c.current)return;if(typeof p=="number"){n.go(p);return}let y=$l(p,JSON.parse(s),o,g.relative==="path");i==null&&e!=="/"&&(y.pathname=y.pathname==="/"?e:qn([e,y.pathname])),(g.replace?n.replace:n.push)(y,g.state,g)},[e,n,s,o,i])}T.createContext(null);function Tge(){let{matches:i}=T.useContext(In),e=i[i.length-1];return e?e.params:{}}function To(i,{relative:e}={}){let{matches:n}=T.useContext(In),{pathname:r}=cr(),o=JSON.stringify(Rm(n));return T.useMemo(()=>$l(i,JSON.parse(o),r,e==="path"),[i,o,r,e])}function Cue(i,e){return uP(i,e)}function uP(i,e,n){He(la(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=T.useContext(en),{matches:o}=T.useContext(In),s=o[o.length-1],c=s?s.params:{},u=s?s.pathname:"/",p=s?s.pathnameBase:"/",g=s&&s.route;{let w=g&&g.path||"";pP(u,!g||w.endsWith("*")||w.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${w}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
20
-
21
- Please change the parent <Route path="${w}"> to <Route path="${w==="/"?"*":`${w}/*`}">.`)}let y=cr(),v;if(e){let w=typeof e=="string"?oa(e):e;He(p==="/"||w.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${w.pathname}" was given in the \`location\` prop.`),v=w}else v=y;let S=v.pathname||"/",D=S;if(p!=="/"){let w=p.replace(/^\//,"").split("/");D="/"+S.replace(/^\//,"").split("/").slice(w.length).join("/")}let _=eP(i,{pathname:D});Tn(g||_!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),Tn(_==null||_[_.length-1].route.element!==void 0||_[_.length-1].route.Component!==void 0||_[_.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=Tue(_&&_.map(w=>Object.assign({},w,{params:Object.assign({},c,w.params),pathname:qn([p,r.encodeLocation?r.encodeLocation(w.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?p:qn([p,r.encodeLocation?r.encodeLocation(w.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathnameBase])})),o,n);return e&&b?T.createElement(Do.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...v},navigationType:"POP"}},b):b}function kue(){let i=Rue(),e=uue(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),n=i instanceof Error?i.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},s={padding:"2px 4px",backgroundColor:r},c=null;return console.error("Error handled by React Router default ErrorBoundary:",i),c=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:s},"ErrorBoundary")," or"," ",T.createElement("code",{style:s},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),n?T.createElement("pre",{style:o},n):null,c)}var Pue=T.createElement(kue,null),dP=class extends T.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,e){return e.location!==i.location||e.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:e.error,location:e.location,revalidation:i.revalidation||e.revalidation}}componentDidCatch(i,e){this.props.onError?this.props.onError(i,e):console.error("React Router caught the following error during render",i)}render(){let i=this.state.error;if(this.context&&typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){const n=Sue(i.digest);n&&(i=n)}let e=i!==void 0?T.createElement(In.Provider,{value:this.props.routeContext},T.createElement(Om.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?T.createElement(Due,{error:i},e):e}};dP.contextType=gue;var gh=new WeakMap;function Due({children:i,error:e}){let{basename:n}=T.useContext(en);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=vue(e.digest);if(r){let o=gh.get(e);if(o)throw o;let s=iP(r.location,n);if(rP&&!gh.get(e))if(s.isExternal||r.reloadDocument)window.location.href=s.absoluteURL||s.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(s.to,{replace:r.replace}));throw gh.set(e,c),c}return T.createElement("meta",{httpEquiv:"refresh",content:`0;url=${s.absoluteURL||s.to}`})}}return i}function _ue({routeContext:i,match:e,children:n}){let r=T.useContext(sa);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),T.createElement(In.Provider,{value:i},n)}function Tue(i,e=[],n){let r=n?.state;if(i==null){if(!r)return null;if(r.errors)i=r.matches;else if(e.length===0&&!r.initialized&&r.matches.length>0)i=r.matches;else return null}let o=i,s=r?.errors;if(s!=null){let y=o.findIndex(v=>v.route.id&&s?.[v.route.id]!==void 0);He(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),o=o.slice(0,Math.min(o.length,y+1))}let c=!1,u=-1;if(n&&r){c=r.renderFallback;for(let y=0;y<o.length;y++){let v=o[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(u=y),v.route.id){let{loaderData:S,errors:D}=r,_=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!D||D[v.route.id]===void 0);if(v.route.lazy||_){n.isStatic&&(c=!0),u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}}let p=n?.onError,g=r&&p?(y,v)=>{p(y,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:due(r.matches),errorInfo:v})}:void 0;return o.reduceRight((y,v,S)=>{let D,_=!1,b=null,w=null;r&&(D=s&&v.route.id?s[v.route.id]:void 0,b=v.route.errorElement||Pue,c&&(u<0&&S===0?(pP("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,w=null):u===S&&(_=!0,w=v.route.hydrateFallbackElement||null)));let E=e.concat(o.slice(0,S+1)),R=()=>{let O;return D?O=b:_?O=w:v.route.Component?O=T.createElement(v.route.Component,null):v.route.element?O=v.route.element:O=y,T.createElement(_ue,{match:v,routeContext:{outlet:y,matches:E,isDataRoute:r!=null},children:O})};return r&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?T.createElement(dP,{location:r.location,revalidation:r.revalidation,component:b,error:D,children:R(),routeContext:{outlet:null,matches:E,isDataRoute:!0},onError:g}):R()},null)}function Nm(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Eue(i){let e=T.useContext(sa);return He(e,Nm(i)),e}function xue(i){let e=T.useContext(Rl);return He(e,Nm(i)),e}function Iue(i){let e=T.useContext(In);return He(e,Nm(i)),e}function Am(i){let e=Iue(i),n=e.matches[e.matches.length-1];return He(n.route.id,`${i} can only be used on routes that contain a unique "id"`),n.route.id}function $ue(){return Am("useRouteId")}function Rue(){let i=T.useContext(Om),e=xue("useRouteError"),n=Am("useRouteError");return i!==void 0?i:e.errors?.[n]}function Oue(){let{router:i}=Eue("useNavigate"),e=Am("useNavigate"),n=T.useRef(!1);return cP(()=>{n.current=!0}),T.useCallback(async(o,s={})=>{Tn(n.current,lP),n.current&&(typeof o=="number"?await i.navigate(o):await i.navigate(o,{fromRouteId:e,...s}))},[i,e])}var z1={};function pP(i,e,n){!e&&!z1[i]&&(z1[i]=!0,Tn(!1,n))}T.memo(Nue);function Nue({routes:i,future:e,state:n,isStatic:r,onError:o}){return uP(i,void 0,{state:n,isStatic:r,onError:o})}function hh({to:i,replace:e,state:n,relative:r}){He(la(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=T.useContext(en);Tn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=T.useContext(In),{pathname:c}=cr(),u=_o(),p=$l(i,Rm(s),c,r==="path"),g=JSON.stringify(p);return T.useEffect(()=>{u(JSON.parse(g),{replace:e,state:n,relative:r})},[u,g,r,e,n]),null}function lt(i){He(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Aue({basename:i="/",children:e=null,location:n,navigationType:r="POP",navigator:o,static:s=!1,unstable_useTransitions:c}){He(!la(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=i.replace(/^\/*/,"/"),p=T.useMemo(()=>({basename:u,navigator:o,static:s,unstable_useTransitions:c,future:{}}),[u,o,s,c]);typeof n=="string"&&(n=oa(n));let{pathname:g="/",search:y="",hash:v="",state:S=null,key:D="default",unstable_mask:_}=n,b=T.useMemo(()=>{let w=sr(g,u);return w==null?null:{location:{pathname:w,search:y,hash:v,state:S,key:D,unstable_mask:_},navigationType:r}},[u,g,y,v,S,D,r,_]);return Tn(b!=null,`<Router basename="${u}"> is not able to match the URL "${g}${y}${v}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:T.createElement(en.Provider,{value:p},T.createElement(Do.Provider,{children:e,value:b}))}function Lue({children:i,location:e}){return Cue(Nh(i),e)}function Nh(i,e=[]){let n=[];return T.Children.forEach(i,(r,o)=>{if(!T.isValidElement(r))return;let s=[...e,o];if(r.type===T.Fragment){n.push.apply(n,Nh(r.props.children,s));return}He(r.type===lt,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),He(!r.props.index||!r.props.children,"An index route cannot have child routes.");let c={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(c.children=Nh(r.props.children,s)),n.push(c)}),n}var Qs="get",Xs="application/x-www-form-urlencoded";function Ol(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function Mue(i){return Ol(i)&&i.tagName.toLowerCase()==="button"}function jue(i){return Ol(i)&&i.tagName.toLowerCase()==="form"}function Fue(i){return Ol(i)&&i.tagName.toLowerCase()==="input"}function Gue(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function Wue(i,e){return i.button===0&&(!e||e==="_self")&&!Gue(i)}var zs=null;function zue(){if(zs===null)try{new FormData(document.createElement("form"),0),zs=!1}catch{zs=!0}return zs}var que=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function mh(i){return i!=null&&!que.has(i)?(Tn(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Xs}"`),null):i}function Uue(i,e){let n,r,o,s,c;if(jue(i)){let u=i.getAttribute("action");r=u?sr(u,e):null,n=i.getAttribute("method")||Qs,o=mh(i.getAttribute("enctype"))||Xs,s=new FormData(i)}else if(Mue(i)||Fue(i)&&(i.type==="submit"||i.type==="image")){let u=i.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=i.getAttribute("formaction")||u.getAttribute("action");if(r=p?sr(p,e):null,n=i.getAttribute("formmethod")||u.getAttribute("method")||Qs,o=mh(i.getAttribute("formenctype"))||mh(u.getAttribute("enctype"))||Xs,s=new FormData(u,i),!zue()){let{name:g,type:y,value:v}=i;if(y==="image"){let S=g?`${g}.`:"";s.append(`${S}x`,"0"),s.append(`${S}y`,"0")}else g&&s.append(g,v)}}else{if(Ol(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Qs,r=null,o=Xs,c=i}return s&&o==="text/plain"&&(c=s,s=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:s,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Lm(i,e){if(i===!1||i===null||typeof i>"u")throw new Error(e)}function Bue(i,e,n,r){let o=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:e&&sr(o.pathname,e)==="/"?o.pathname=`${e.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function Hue(i,e){if(i.id in e)return e[i.id];try{let n=await import(i.module);return e[i.id]=n,n}catch(n){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Vue(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function Kue(i,e,n){let r=await Promise.all(i.map(async o=>{let s=e.routes[o.route.id];if(s){let c=await Hue(s,n);return c.links?c.links():[]}return[]}));return Jue(r.flat(1).filter(Vue).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function q1(i,e,n,r,o,s){let c=(p,g)=>n[g]?p.route.id!==n[g].route.id:!0,u=(p,g)=>n[g].pathname!==p.pathname||n[g].route.path?.endsWith("*")&&n[g].params["*"]!==p.params["*"];return s==="assets"?e.filter((p,g)=>c(p,g)||u(p,g)):s==="data"?e.filter((p,g)=>{let y=r.routes[p.route.id];if(!y||!y.hasLoader)return!1;if(c(p,g)||u(p,g))return!0;if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(i,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function Que(i,e,{includeHydrateFallback:n}={}){return Xue(i.map(r=>{let o=e.routes[r.route.id];if(!o)return[];let s=[o.module];return o.clientActionModule&&(s=s.concat(o.clientActionModule)),o.clientLoaderModule&&(s=s.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(s=s.concat(o.hydrateFallbackModule)),o.imports&&(s=s.concat(o.imports)),s}).flat(1))}function Xue(i){return[...new Set(i)]}function Yue(i){let e={},n=Object.keys(i).sort();for(let r of n)e[r]=i[r];return e}function Jue(i,e){let n=new Set;return new Set(e),i.reduce((r,o)=>{let s=JSON.stringify(Yue(o));return n.has(s)||(n.add(s),r.push({key:s,link:o})),r},[])}function gP(){let i=T.useContext(sa);return Lm(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function Zue(){let i=T.useContext(Rl);return Lm(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var Mm=T.createContext(void 0);Mm.displayName="FrameworkContext";function hP(){let i=T.useContext(Mm);return Lm(i,"You must render this element inside a <HydratedRouter> element"),i}function ede(i,e){let n=T.useContext(Mm),[r,o]=T.useState(!1),[s,c]=T.useState(!1),{onFocus:u,onBlur:p,onMouseEnter:g,onMouseLeave:y,onTouchStart:v}=e,S=T.useRef(null);T.useEffect(()=>{if(i==="render"&&c(!0),i==="viewport"){let b=E=>{E.forEach(R=>{c(R.isIntersecting)})},w=new IntersectionObserver(b,{threshold:.5});return S.current&&w.observe(S.current),()=>{w.disconnect()}}},[i]),T.useEffect(()=>{if(r){let b=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(b)}}},[r]);let D=()=>{o(!0)},_=()=>{o(!1),c(!1)};return n?i!=="intent"?[s,S,{}]:[s,S,{onFocus:to(u,D),onBlur:to(p,_),onMouseEnter:to(g,D),onMouseLeave:to(y,_),onTouchStart:to(v,D)}]:[!1,S,{}]}function to(i,e){return n=>{i&&i(n),n.defaultPrevented||e(n)}}function tde({page:i,...e}){let{router:n}=gP(),r=T.useMemo(()=>eP(n.routes,i,n.basename),[n.routes,i,n.basename]);return r?T.createElement(rde,{page:i,matches:r,...e}):null}function nde(i){let{manifest:e,routeModules:n}=hP(),[r,o]=T.useState([]);return T.useEffect(()=>{let s=!1;return Kue(i,e,n).then(c=>{s||o(c)}),()=>{s=!0}},[i,e,n]),r}function rde({page:i,matches:e,...n}){let r=cr(),{future:o,manifest:s,routeModules:c}=hP(),{basename:u}=gP(),{loaderData:p,matches:g}=Zue(),y=T.useMemo(()=>q1(i,e,g,s,r,"data"),[i,e,g,s,r]),v=T.useMemo(()=>q1(i,e,g,s,r,"assets"),[i,e,g,s,r]),S=T.useMemo(()=>{if(i===r.pathname+r.search+r.hash)return[];let b=new Set,w=!1;if(e.forEach(R=>{let O=s.routes[R.route.id];!O||!O.hasLoader||(!y.some(M=>M.route.id===R.route.id)&&R.route.id in p&&c[R.route.id]?.shouldRevalidate||O.hasClientLoader?w=!0:b.add(R.route.id))}),b.size===0)return[];let E=Bue(i,u,o.unstable_trailingSlashAwareDataRequests,"data");return w&&b.size>0&&E.searchParams.set("_routes",e.filter(R=>b.has(R.route.id)).map(R=>R.route.id).join(",")),[E.pathname+E.search]},[u,o.unstable_trailingSlashAwareDataRequests,p,r,s,y,e,i,c]),D=T.useMemo(()=>Que(v,s),[v,s]),_=nde(v);return T.createElement(T.Fragment,null,S.map(b=>T.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...n})),D.map(b=>T.createElement("link",{key:b,rel:"modulepreload",href:b,...n})),_.map(({key:b,link:w})=>T.createElement("link",{key:b,nonce:n.nonce,...w,crossOrigin:w.crossOrigin??n.crossOrigin})))}function ide(...i){return e=>{i.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var ade=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{ade&&(window.__reactRouterVersion="7.13.1")}catch{}function ode({basename:i,children:e,unstable_useTransitions:n,window:r}){let o=T.useRef();o.current==null&&(o.current=Gce({window:r,v5Compat:!0}));let s=o.current,[c,u]=T.useState({action:s.action,location:s.location}),p=T.useCallback(g=>{n===!1?u(g):T.startTransition(()=>u(g))},[n]);return T.useLayoutEffect(()=>s.listen(p),[s,p]),T.createElement(Aue,{basename:i,children:e,location:c.location,navigationType:c.action,navigator:s,unstable_useTransitions:n})}var mP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fP=T.forwardRef(function({onClick:e,discover:n="render",prefetch:r="none",relative:o,reloadDocument:s,replace:c,unstable_mask:u,state:p,target:g,to:y,preventScrollReset:v,viewTransition:S,unstable_defaultShouldRevalidate:D,..._},b){let{basename:w,navigator:E,unstable_useTransitions:R}=T.useContext(en),O=typeof y=="string"&&mP.test(y),M=iP(y,w);y=M.to;let F=bue(y,{relative:o}),N=cr(),A=null;if(u){let se=$l(u,[],N.unstable_mask?N.unstable_mask.pathname:"/",!0);w!=="/"&&(se.pathname=se.pathname==="/"?w:qn([w,se.pathname])),A=E.createHref(se)}let[G,U,V]=ede(r,_),B=ude(y,{replace:c,unstable_mask:u,state:p,target:g,preventScrollReset:v,relative:o,viewTransition:S,unstable_defaultShouldRevalidate:D,unstable_useTransitions:R});function te(se){e&&e(se),se.defaultPrevented||B(se)}let ee=!(M.isExternal||s),oe=T.createElement("a",{..._,...V,href:(ee?A:void 0)||M.absoluteURL||F,onClick:ee?te:e,ref:ide(b,U),target:g,"data-discover":!O&&n==="render"?"true":void 0});return G&&!O?T.createElement(T.Fragment,null,oe,T.createElement(tde,{page:F})):oe});fP.displayName="Link";var sde=T.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:r="",end:o=!1,style:s,to:c,viewTransition:u,children:p,...g},y){let v=To(c,{relative:g.relative}),S=cr(),D=T.useContext(Rl),{navigator:_,basename:b}=T.useContext(en),w=D!=null&&mde(v)&&u===!0,E=_.encodeLocation?_.encodeLocation(v).pathname:v.pathname,R=S.pathname,O=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;n||(R=R.toLowerCase(),O=O?O.toLowerCase():null,E=E.toLowerCase()),O&&b&&(O=sr(O,b)||O);const M=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let F=R===E||!o&&R.startsWith(E)&&R.charAt(M)==="/",N=O!=null&&(O===E||!o&&O.startsWith(E)&&O.charAt(E.length)==="/"),A={isActive:F,isPending:N,isTransitioning:w},G=F?e:void 0,U;typeof r=="function"?U=r(A):U=[r,F?"active":null,N?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let V=typeof s=="function"?s(A):s;return T.createElement(fP,{...g,"aria-current":G,className:U,ref:y,style:V,to:c,viewTransition:u},typeof p=="function"?p(A):p)});sde.displayName="NavLink";var lde=T.forwardRef(({discover:i="render",fetcherKey:e,navigate:n,reloadDocument:r,replace:o,state:s,method:c=Qs,action:u,onSubmit:p,relative:g,preventScrollReset:y,viewTransition:v,unstable_defaultShouldRevalidate:S,...D},_)=>{let{unstable_useTransitions:b}=T.useContext(en),w=gde(),E=hde(u,{relative:g}),R=c.toLowerCase()==="get"?"get":"post",O=typeof u=="string"&&mP.test(u),M=F=>{if(p&&p(F),F.defaultPrevented)return;F.preventDefault();let N=F.nativeEvent.submitter,A=N?.getAttribute("formmethod")||c,G=()=>w(N||F.currentTarget,{fetcherKey:e,method:A,navigate:n,replace:o,state:s,relative:g,preventScrollReset:y,viewTransition:v,unstable_defaultShouldRevalidate:S});b&&n!==!1?T.startTransition(()=>G()):G()};return T.createElement("form",{ref:_,method:R,action:E,onSubmit:r?p:M,...D,"data-discover":!O&&i==="render"?"true":void 0})});lde.displayName="Form";function cde(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function yP(i){let e=T.useContext(sa);return He(e,cde(i)),e}function ude(i,{target:e,replace:n,unstable_mask:r,state:o,preventScrollReset:s,relative:c,viewTransition:u,unstable_defaultShouldRevalidate:p,unstable_useTransitions:g}={}){let y=_o(),v=cr(),S=To(i,{relative:c});return T.useCallback(D=>{if(Wue(D,e)){D.preventDefault();let _=n!==void 0?n:ho(v)===ho(S),b=()=>y(i,{replace:_,unstable_mask:r,state:o,preventScrollReset:s,relative:c,viewTransition:u,unstable_defaultShouldRevalidate:p});g?T.startTransition(()=>b()):b()}},[v,y,S,n,r,o,e,i,s,c,u,p,g])}var dde=0,pde=()=>`__${String(++dde)}__`;function gde(){let{router:i}=yP("useSubmit"),{basename:e}=T.useContext(en),n=$ue(),r=i.fetch,o=i.navigate;return T.useCallback(async(s,c={})=>{let{action:u,method:p,encType:g,formData:y,body:v}=Uue(s,e);if(c.navigate===!1){let S=c.fetcherKey||pde();await r(S,n,c.action||u,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:y,body:v,formMethod:c.method||p,formEncType:c.encType||g,flushSync:c.flushSync})}else await o(c.action||u,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:y,body:v,formMethod:c.method||p,formEncType:c.encType||g,replace:c.replace,state:c.state,fromRouteId:n,flushSync:c.flushSync,viewTransition:c.viewTransition})},[r,o,e,n])}function hde(i,{relative:e}={}){let{basename:n}=T.useContext(en),r=T.useContext(In);He(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),s={...To(i||".",{relative:e})},c=cr();if(i==null){s.search=c.search;let u=new URLSearchParams(s.search),p=u.getAll("index");if(p.some(y=>y==="")){u.delete("index"),p.filter(v=>v).forEach(v=>u.append("index",v));let y=u.toString();s.search=y?`?${y}`:""}}return(!i||i===".")&&o.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:qn([n,s.pathname])),ho(s)}function mde(i,{relative:e}={}){let n=T.useContext(oP);He(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=yP("useViewTransitionState"),o=To(i,{relative:e});if(!n.isTransitioning)return!1;let s=sr(n.currentLocation.pathname,r)||n.currentLocation.pathname,c=sr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return rl(o.pathname,c)!=null||rl(o.pathname,s)!=null}var fde=Object.defineProperty,U1=Object.getOwnPropertySymbols,yde=Object.prototype.hasOwnProperty,vde=Object.prototype.propertyIsEnumerable,B1=(i,e,n)=>e in i?fde(i,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[e]=n,Sde=(i,e)=>{for(var n in e||(e={}))yde.call(e,n)&&B1(i,n,e[n]);if(U1)for(var n of U1(e))vde.call(e,n)&&B1(i,n,e[n]);return i};function bde(i){return T.createElement("svg",Sde({width:200,height:200,viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",focusable:!1,"aria-hidden":!0},i),T.createElement("rect",{width:200,height:200,fill:"transparent"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.09 64.86V8.56L5.76 78.94h44.26v20.3h14.07v-20.3h8.82V64.86h-8.82Zm110.18 0V8.56L124.1 69.08c.7-3.74 1.07-7.7 1.07-11.76 0-11-2.7-21.1-7.25-28.55-4.5-7.4-11.13-12.63-19-12.63-7.88 0-14.5 5.23-19.01 12.63-4.54 7.45-7.25 17.55-7.25 28.55s2.7 21.1 7.25 28.55c4.5 7.4 11.13 12.62 19 12.62 7.88 0 14.5-5.23 19.01-12.62a44.09 44.09 0 0 0 3.4-6.93h38.86v20.3h14.08v-20.3h8.81V64.86h-8.81Zm-138.57 0L50.02 47.6v17.26H35.7Zm124.5 0h-14.32L160.2 47.6v17.26Zm-49.1-7.54c0 8.84-2.2 16.32-5.19 21.22-3.08 5.08-5.87 5.87-6.98 5.87-1.12 0-3.9-.8-7-5.87-2.98-4.9-5.19-12.38-5.19-21.22 0-8.85 2.21-16.33 5.2-21.23 3.09-5.07 5.87-5.87 6.98-5.87 1.12 0 3.9.8 7 5.87 2.98 4.9 5.19 12.38 5.19 21.23Z",fill:"var(--semi-color-primary-light-default)"}),T.createElement("path",{d:"M178.34 186.57c-1.85 2.2-6.66 1.02-8.13.24a2.46 2.46 0 0 1-.34-.22c-1.94.22-14.94-.5-15.12-.46-6.12 1.43-14.06 1.03-15.2 1-1.36-.05-4.53-1.33-5.75-5.08-1.2-3.67 0-7.12 2.16-13.37l.13-.38-1.43 2.83c-7.37 14.43-11.05 19.7-17.43 20.14-6.38.45-34.34-.09-41.09-.78-6.75-.7-9.42-1.68-9.35-2.83.05-.92 2.98-2.2 4.44-2.72-5.88-1.57-20.16-5.97-30.18-10.98-12.52-6.26-25.14-15.8-21.91-28.92 3.22-13.13 15.76-16.8 25.59-17.38 2.75-.16 5.14-.1 7.16.07 3.76.33 6.21 1.06 7.2 1.53-1.12-6.37-3.33-19.34-3.33-20.21 0-1.1-3.02-10.67-3.64-14.35-.1-.55-1.11-5.6 3.64-5.02 4.75.57 12.4 18.2 15.88 28.7a401.55 401.55 0 0 0 11.15-9.87c.84-1.02 9.36-9.75 14.87-13.84a60.09 60.09 0 0 1 33-11.76c16.29-.81 34.49 2.36 40.9 11.91 6.4 9.55 6.1 34.44 6.44 48.71.35 14.27.84 27.64 2.11 29.76 1.27 2.12 6.45 5.02 9.77 7.14 3.33 2.11 4.45 3.9 4.36 4.2-.1.3-.4.58-2.24 1.08.34.47.12 1.38-2.12 1.6-4.7.48-8.64-.74-11.54-.74Z",fill:"white"}),T.createElement("path",{d:"M192 185.71c-1.6-2.3-9.7-5.34-15.04-5.75-5.34-.41-6.45.53-7.4 1.85-1 1.37-1.05 3.72.3 4.78m22.14-.88c.34.47.12 1.38-2.12 1.6-4.7.48-8.64-.74-11.54-.74-1.85 2.2-6.66 1.02-8.13.24a2.46 2.46 0 0 1-.34-.22m22.13-.88c1.84-.5 2.15-.78 2.24-1.08.09-.3-1.03-2.09-4.36-4.2-3.32-2.12-8.5-5.02-9.77-7.14-1.27-2.12-1.76-15.49-2.1-29.76-.36-14.27-.06-39.16-6.46-48.7-6.4-9.56-24.6-12.73-40.89-11.92a60.09 60.09 0 0 0-33 11.76c-5.5 4.09-14.03 12.82-14.87 13.84-.37.46-5.43 4.9-11.15 9.87-3.49-10.5-11.13-28.13-15.88-28.7-4.75-.58-3.73 4.47-3.64 5.02.62 3.68 3.64 13.26 3.64 14.35 0 .87 2.21 13.84 3.32 20.2-.98-.46-3.43-1.2-7.19-1.52m19.34 57.21c-5.88-1.57-20.16-5.97-30.18-10.98-12.52-6.26-25.14-15.8-21.91-28.92 3.22-13.13 15.76-16.8 25.59-17.38 2.75-.16 5.14-.1 7.16.07m19.34 57.21c-1.46.52-4.39 1.8-4.44 2.72-.07 1.15 2.6 2.14 9.35 2.83 6.75.7 34.71 1.23 41.09.78 6.38-.44 10.06-5.71 17.43-20.14l1.43-2.83m-64.86 16.64c5.89-2.49 12.35-6.32 16.49-10.11 5.07-4.65 9.55-13.46 9.96-14.28l.82-1.56m43.43 4.15c-.47-3-1.21-7.33.37-14.67 1.47-6.81 6.6-15.3 6.65-11.03.05 4-6.05 17.35-12.86 30.86m0 0c-2.25 6.5-3.51 10-2.3 13.75 1.23 3.75 4.4 5.03 5.76 5.07 1.14.04 9.08.44 15.2-.99m0 0a19.5 19.5 0 0 0 3.27-1.03c6.09-2.63 10.92-8.55 13.53-24.26 2.62-15.71 1.5-42.36-10.29-50.78-11.78-8.41-21.32-6.07-34.03 5.8-5.34 4.98-11.86 14.52-17.42 23.52m44.94 46.75c.18-.04 13.19.68 15.12.46m-60.06-47.2c-.8-3.66-1.44-7.16-1.94-10.43m1.94 10.42c-1.24 2-2.43 3.98-3.55 5.87m.32-30.9c0 3.75.41 8.8 1.3 14.61m0 0c-2.32 2.46-7.78 7.15-13.67 11.55m-42.32-12.78s1.24 7.12 3.87 11.42a29.93 29.93 0 0 0 6.61 7.8m36.13 12.04c-6.87-3.1-17.87-6.8-22.51-8.27m22.51 8.27a394.7 394.7 0 0 1 7.76-13.74M76 150.72c.39-.06.78-.14 1.17-.23 3.97-.93 10.76-5.29 17.05-9.98m-18.22 10.2c-4.7.8-9.36-.34-13.62-3.76m0 0c-3.29-.85-11.28-2.39-12.86-2.41m56.75.71c-2.32-.94-9-3.55-12.05-4.74",stroke:"#515151"}),T.createElement("path",{d:"m77.74 73.31 23.73 43.2-1.7 2.5-22.73 9.55-24.58-44.48 21.9-10.77h3.38Z",fill:"#E6E8EA"}),T.createElement("path",{d:"M74.35 73.31h3.4l23.72 43.2-1.7 2.5m-25.42-45.7-21.9 10.77 24.59 44.48L99.78 119m-25.43-45.7 25.43 45.7",stroke:"#515151"}),T.createElement("path",{d:"M83.9 116.95c.96 1.97-4.91 4.57-8.32 6.18-1.33.63-2.1.98-2.7 1.2.9 3.3 1.24 8.14-4.48 9.82-5.73 1.69-15.07-1.02-18-9.6-2.95-8.6.01-19.97 9.05-27.04 5.67-4.42 15.01-5.77 19.42-4.05 2.15.82 1.38 2.71-.56 4.44a58.1 58.1 0 0 1-4.53 3.58c.4-.01.8-.02 1.23 0 4.13.06 7.26 1.11 7.42 3.14.07.94-.8 2.13-1.95 3.45-.62.71-1.28 1.34-1.95 1.88 2.8-.22 5.94 1.05 2.9 4.2-.41.43-.85.83-1.29 1.2 1.73.02 3.24.56 3.75 1.6Z",fill:"white"}),T.createElement("path",{d:"M69.73 125.1c1.65-.34 2.2-.4 3.14-.76m0 0c.6-.23 1.38-.58 2.7-1.21 3.42-1.6 9.3-4.21 8.32-6.17-.86-1.76-4.53-2.09-7.33-.97-2.84 1.13-3.58 2.24-3.46 2.56.12.31 4.75-.69 8.34-4.4 3.4-3.54-.96-4.7-3.9-4.06-2.26.5-6.4 2.06-6.16 2.85.16.5 5.33-.54 9.1-4.87 1.14-1.32 2.02-2.51 1.95-3.45-.16-2.03-3.3-3.08-7.42-3.15-8.83-.16-11.56 4.78-11.16 5.1 1.1.92 9.36-4.15 14.46-8.67 1.94-1.73 2.71-3.62.56-4.44-4.4-1.72-13.75-.37-19.42 4.05-9.04 7.07-12 18.44-9.06 27.03 2.94 8.6 12.28 11.3 18 9.61 5.73-1.68 5.4-6.53 4.48-9.81Z",stroke:"#515151"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.48 120.15c-.2 1.56-.53 3.98-1.2 6.51-.68 2.53-1.71 5.16-3.3 7.14l.2.19 5.67-4.97-1.1-8.87h-.27Zm31.09 45.32-.25-.1-11.3 21.27h11.92l-.43-.26c-3.5-2.07-4.07-5.79-3.46-9.77.52-3.4 1.9-6.95 3-9.77l.52-1.37Zm-85.81-37.9-.24.13a55.3 55.3 0 0 0 1.65 6.39l.01.04.05.03c1.63.84 4.4 1.85 7.45 2.14 3.05.3 6.39-.12 9.1-2.15l-.12-.24c-3.14 1.2-11.14 1.63-17.9-6.33Z",fill:"#515151"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m133.54 82.83.02-.16h-.16c-1.82.1-5.84.39-9.87.96-2.02.28-4.04.64-5.79 1.08-1.74.43-3.23.95-4.18 1.58l-.06.04v.07c-.04 1.8.13 3.69.65 5.35a7.28 7.28 0 0 0 2.8 4.05c2.81 1.86 6.69 1.62 9.98-.58 3.3-2.2 6.04-6.37 6.61-12.4Z",fill:"#515151"}),T.createElement("path",{d:"M126.66 84.73a9.79 9.79 0 0 1-9.7 9.87 9.79 9.79 0 0 1-9.7-9.87 9.79 9.79 0 0 1 9.7-9.87c5.35 0 9.7 4.41 9.7 9.87Z",fill:"white",stroke:"#515151"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M109.41 70.6c.66.25 1.25.47 1.9.26.52-.18.83-.7 1.18-1.3.75-1.27 1.73-2.93 5.56-2.56 3.86.38 4.6 2.17 5.1 3.43.21.5.38.9.69 1.12.48.32.84.33 1.26.35.55.02 1.2.05 2.37.75 1.41.85 2.49 5.65.23 9.93l.26.43c-.45 2.15-3.05 4.37-3.05 4.14 0-3.04 0-4.75-2.92-7.43-4.26 1.6-10.89 1.13-13.94.14-4-1.28-5.98-6.81-2.53-9 1.72-1.1 2.88-.65 3.9-.26Z",fill:"#515151"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M116.7 81.6a.41.41 0 1 0-.74.4c.2.39.47.74.9.95.41.2.93.25 1.58.17a.41.41 0 1 0-.1-.82c-.58.07-.9.01-1.12-.09-.2-.1-.36-.28-.53-.6Zm-6.57 4.22a1.07 1.07 0 0 0 1-1.13 1.06 1.06 0 0 0-1.1-1.02c-.59.03-1.03.54-1 1.13.02.6.52 1.05 1.1 1.02Zm6.82.73a1.07 1.07 0 0 0 1-1.13 1.06 1.06 0 0 0-1.1-1.01c-.58.02-1.03.53-1 1.12.03.6.52 1.05 1.1 1.02Z",fill:"#515151"}),T.createElement("ellipse",{cx:127.42,cy:86.0081,rx:2.47934,ry:2.47934,fill:"white",stroke:"#515151"}),T.createElement("circle",{r:4.67102,transform:"matrix(0.707106 0.707108 -0.707106 0.707108 75.0508 75.7794)",fill:"var(--semi-color-primary)",stroke:"var(--semi-color-primary)",strokeWidth:3}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M77.9 72.97a1.1 1.1 0 0 0-1.57 0l-1.26 1.27-1.31-1.3a1.1 1.1 0 1 0-1.57 1.56l1.31 1.3-1.3 1.31a1.1 1.1 0 0 0 1.56 1.57l1.3-1.3 1.27 1.26a1.1 1.1 0 1 0 1.57-1.57l-1.26-1.26 1.26-1.27a1.1 1.1 0 0 0 0-1.57Z",fill:"white"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M99.41 49.11a32.26 32.26 0 0 0-19-9.84 2.14 2.14 0 0 0-2.42 2.02c-.07 1.2.82 2.2 1.97 2.37a27.86 27.86 0 0 1 16.13 8.36c.83.87 2.24.99 3.17.15.88-.79.99-2.17.15-3.06Zm-35.8-8.52a32.5 32.5 0 0 0-18.74 15.73 2.14 2.14 0 0 0 1.01 2.93c1.11.52 2.4.02 2.96-1.02a28.08 28.08 0 0 1 15.96-13.4 2.28 2.28 0 0 0 1.53-2.72 2.14 2.14 0 0 0-2.72-1.52Zm27.75 15.78c-3.02-3.14-7-5.38-11.53-6.22a2.11 2.11 0 0 0-2.47 2 2.33 2.33 0 0 0 1.9 2.38c3.41.69 6.43 2.37 8.75 4.72.85.85 2.26 1 3.2.15.87-.78 1-2.15.15-3.03Zm-24.64-4.65a21.63 21.63 0 0 0-11.66 9.8 2.1 2.1 0 0 0 .99 2.94c1.12.52 2.4.01 2.98-1 2-3.45 5.17-6.11 8.91-7.5 1.1-.4 1.81-1.56 1.5-2.75a2.1 2.1 0 0 0-2.72-1.5Zm16.63 11.95a10.69 10.69 0 0 0-4-2.47c-1.35-.47-2.56.62-2.63 1.9-.07 1.14.73 2.04 1.65 2.44.56.25 1.07.56 1.52.94.89.74 2.33 1 3.32.11.82-.74 1-2.07.14-2.92Zm-14.28-.76c-1.82.83-3.39 2.16-4.5 3.83-.73 1.08-.16 2.42.9 2.92 1.14.53 2.38-.02 3.05-.88a6.35 6.35 0 0 1 1.93-1.63c.95-.52 1.68-1.63 1.37-2.83-.3-1.15-1.54-1.95-2.75-1.4Z",fill:"var(--semi-color-primary)"}))}var wde=bde;function Cde(){return document.getElementById(Dm)?.contentWindow}class kde{ws;connectTimeoutTimer;isTimeout=!1;init(e){this.connectTimeoutTimer&&(clearTimeout(this.connectTimeoutTimer),this.connectTimeoutTimer=void 0),this.ws&&(this.ws.close(),this.ws=void 0),this.isTimeout=!1;const n=`ws://${e.clientHost}:${e.clientWsPort||e.clientHttpPort-1}`;console.info(`⌛️ ${x("startConnectClientWS",{wsURL:n})}`);const r=new WebSocket(n);this.connectTimeoutTimer=setTimeout(()=>{r.readyState!==WebSocket.OPEN&&(this.isTimeout=!0,r.close(),console.error(`${x("clientConnectTimeout")||"客户端连接超时"}`),_e.emit("connectionChange",{node:De.get("isNodeWSConnected"),client:!1,from:"client",reason:"timeout"}),A1())},5e3),r.onclose=()=>{this.connectTimeoutTimer&&(clearTimeout(this.connectTimeoutTimer),this.connectTimeoutTimer=void 0),this.isTimeout||(console.error(`${x("clientServerDisconnected")}`),_e.emit("connectionChange",{node:De.get("isNodeWSConnected"),client:!1,from:"client",reason:"close"}),A1())},r.onerror=()=>{if(this.connectTimeoutTimer&&(clearTimeout(this.connectTimeoutTimer),this.connectTimeoutTimer=void 0),!this.isTimeout){const o=x("clientServerStartError");_e.emit("connectionChange",{node:De.get("isNodeWSConnected"),client:!1,from:"client",reason:"error"}),console.error(o)}},this.ws=r,r.onopen=()=>{this.connectTimeoutTimer&&(clearTimeout(this.connectTimeoutTimer),this.connectTimeoutTimer=void 0),this.isTimeout||(console.log(`✅ ${x("clientConnectedSuccess")}`),_e.emit("connectionChange",{node:De.get("isNodeWSConnected"),client:!0,from:"client",reason:"open"}),r.send(JSON.stringify({stage:"connecting",status:"success",message:"Browser connected to Client Server Successfully"})))},r.onmessage=function(o){try{const s=JSON.parse(o.data),c=Cde();switch(s?.method){case"subscribeHandler":c?.__DEV__?.subscribeHandler?.(s?.payload?.event,s?.payload?.data);break;case"invokeHandler":c?.__DEV__?.invokeHandler?.(s?.payload?.callbackId,s?.payload?.data);break;case"predownloadSubpackage":case"reportScene":s?.payload&&typeof s.payload=="object"&&(_e.emit(s.method,s.payload),e.onRuntimeMessage?.({method:s.method,payload:s.payload}));break;default:break}}catch(s){console.error(s)}}}send(e){this.ws?.readyState===WebSocket.OPEN&&(e.from="browser",this.ws?.send(JSON.stringify(e)))}close(){this.connectTimeoutTimer&&(clearTimeout(this.connectTimeoutTimer),this.connectTimeoutTimer=void 0),this.ws?.close(),this.ws=void 0}}const Eo=new kde,Pde={start:{msgKey:"uploadGameStart"},success:{msgKey:"uploadGameSuccess",handle:i=>{const{packages:e,clientKey:n,remoteCdnResources:r,remoteResourceBaseUrl:o}=i||{};De.setMultiple({packages:e,clientKey:n,remoteCdnResources:r||null,remoteResourceBaseUrl:o||null,isResourcesReady:!0}),_e.emit("setupStatusChange",{isScriptsReady:De.get("isScriptsReady"),isResourcesReady:!0})}},process:{msgKey:"uploadProcess"},error:{msgKey:"uploadError",handle:i=>{const{msg:e}=i||{};De.set("isResourcesReady",!1),_e.emit("setupStatusChange",{isScriptsReady:De.get("isScriptsReady"),isResourcesReady:!1,isResourcesFailed:!0})}},restart:{msgKey:"uploadGameRestart"}};function Dde(i){const{status:e,payload:n}=i,r=Pde[e];if(!r){console.warn(`Unknown upload status: ${e}`);return}const o=x(r.msgKey);_e.emit("uploadGame",{status:e,msg:o,progress:n?.progress}),r.handle&&r.handle(n)}class _de{ws;retryTimer;retryAttempt=0;reconnectEnabled=!1;nodeWsPort;retryDelays=[300,700,1500,3e3,5e3];init(){return this.close(),this.nodeWsPort=De.get("nodeWsPort"),this.reconnectEnabled=!0,this.retryAttempt=0,this.connect(),!0}connect(){if(!this.reconnectEnabled||!this.nodeWsPort)return;console.info(`⌛️ ${x("nodeServerStartConnect")}`);let e=!1;const n=new WebSocket(`ws://localhost:${this.nodeWsPort}`);this.ws=n,n.onclose=()=>{this.ws===n&&(this.ws=void 0),console.error(`❌ ${x("nodeServerDisconnect")}`),_e.emit("connectionChange",{node:!1,client:De.get("isClientWSConnected"),from:"node",reason:e?"error":"close"}),this.scheduleReconnect()},n.onerror=()=>{e=!0;const r=x("nodeServerStartError");console.error(r)},n.onopen=()=>{if(this.ws!==n||!this.reconnectEnabled){n.close();return}this.retryAttempt=0,console.log(`✅ ${x("nodeServerConnectedSuccess")}`),_e.emit("connectionChange",{node:!0,client:De.get("isClientWSConnected"),from:"node",reason:"open"}),n.send(JSON.stringify({event:"connected",method:"connected",from:"browser"}))},n.onmessage=r=>{if(r.data){let o;try{o=JSON.parse(r.data)}catch{Yt.warn("Node WS received an invalid message",r.data);return}switch(o.method){case"uploadStatus":{Dde(o);break}case"compilationStatus":{_e.emit("compilationStatus",o.payload);break}case"unitySplitStatus":{_e.emit("unitySplitStatus",o.payload);break}case"resourceChange":{Yt.info("Node WS resourceChange",o?.payload),_e.emit("resourceChange",{});break}case"scanQRCodeSuccess":case"clientDebugInfo":{this.connectClient(o.payload);break}case"scanQRCodeFailed":{const{msg:c}=o.payload;_e.emit("scanQRCode",{status:"failed",msg:c});break}}}}}connectClient(e){const{clientWsPort:n,clientHost:r,clientHttpPort:o}=e||{};if(!n||!r){Yt.warn("Node WS client info is incomplete",e);return}De.setMultiple({clientHost:r,clientWsPort:String(n),clientHttpPort:o==null?null:String(o)}),Eo.init({clientWsPort:n,clientHost:r,clientHttpPort:o,onRuntimeMessage:s=>{this.send({method:"runtimeEvent",payload:s})}}),_e.emit("scanQRCode",{status:"success"})}scheduleReconnect(){if(!this.reconnectEnabled||this.retryTimer||this.retryAttempt>=this.retryDelays.length)return;const e=this.retryDelays[this.retryAttempt];this.retryAttempt+=1,this.retryTimer=setTimeout(()=>{this.retryTimer=void 0,this.connect()},e)}send(e){if(e.from="browser",this.ws?.readyState!==WebSocket.OPEN){Yt.warn("Node WS is not ready, message skipped",e);return}this.ws.send(JSON.stringify(e))}close(){this.reconnectEnabled=!1,this.retryTimer&&(clearTimeout(this.retryTimer),this.retryTimer=void 0),this.retryAttempt=0,this.ws?.close(),this.ws=void 0}}const Yi=new _de,Tde=["krypton.js","ttmg-core.js"];async function H1(i){try{const e=Wk();console.log(`⌛️ ${x("startDebug")}`),console.log(`⌛️ ${x("initClientEnv")}`);const n=await Zi({url:`${e}/game/cwd`,method:"POST",data:{command:"start"}});if(console.log(`✅ ${x("initClientEnvSuccess")}`),Eo.send({method:"setDebugSettings",payload:i.debugSetting}),i.debugMode==="clientPreview"||i.debugMode==="clientDebug")De.set("isScriptsReady",!0),Yi.send({method:"startUpload"});else{console.log(`⌛️ ${x("startInitJSDevEnv")}`);const o=document.getElementById(Dm).contentWindow;o.__DEV__={isEnable:!0,server:e,nodeStaticBaseUrl:De.get("nodeStaticBaseUrl")},console.log(`✅ ${x("initJSDevEnvSuccess")}`);const s=await Ede(o,Tde,e),c=Object.values(s).some(u=>!u);De.set("isScriptsReady",Object.values(s).every(u=>u)),_e.emit("setupStatusChange",{isScriptsReady:De.get("isScriptsReady"),isResourcesReady:De.get("isResourcesReady"),isScriptsFailed:c}),c||(console.log(`✅ ${x("setDevScriptsSuccess")}`),Yi.send({method:"startUpload"}))}}catch(e){console.log(`❌ ${x("setDevEnvFailed")}`,e?.message??e)}}async function Ede(i,e,n){const r={};for(const o of e)try{console.log(`⏳ ${x("startLoadDevScripts")}: ${o}`);const s=await fetch(`${n}/game/scripts/${o}`);if(!s.ok){console.error(`${x("loadDevScriptsFailed")}: ${o}`),r[o]=!1;continue}const c=await s.text();if(!c){console.error(`${x("loadDevScriptsEmpty")}: ${o}`),r[o]=!1;continue}console.log(`✅ ${x("loadDevScriptsSuccess")}: ${o}`);const u=i.document.createElement("script");u.id=o,u.type="text/javascript",u.text=c,i.document.body.appendChild(u),r[o]=!0,console.log(`✅ ${x("loadDevScriptsInitSuccess")}: ${o}`)}catch(s){console.error(`${x("loadDevScriptsFailed")}: ${o}`,s),r[o]=!1}return r}function xde(){const i=()=>typeof document<"u"?document.hidden:!1,[e,n]=T.useState(i);return T.useEffect(()=>{const r=()=>{n(document.hidden),Eo.send({method:"sendPageVisibility",payload:{isHidden:document.hidden}})};return document.addEventListener("visibilitychange",r),()=>{document.removeEventListener("visibilitychange",r)}},[]),e}function Ide(){const[i,e]=T.useState([]),n=T.useRef([]),r=T.useRef([]),o=T.useRef([]),s=T.useRef([]),c=T.useRef([]),u=T.useCallback(()=>{const _=[...c.current,...n.current,...r.current,...o.current,...s.current],b=new Map;_.forEach(w=>{const E=w?.text?.trim();if(!E)return;const R=b.get(E);if(!R){b.set(E,{title:w.title,text:E,required:w.required,detail:w.detail});return}!R.required&&w.required&&b.set(E,{title:R.title??w.title,text:E,required:!0,detail:R.detail??w.detail})}),e(Array.from(b.values()))},[]),p=T.useCallback(_=>{const b=[],w=!_?.terms_of_service_link?.trim(),E=!_?.privacy_policy_link?.trim();return w&&E?(b.push({text:x("policyDependencyTermsPrivacyRequired"),required:!0}),b):(w&&b.push({text:x("policyDependencyTermsRequired"),required:!0}),E&&b.push({text:x("policyDependencyPrivacyRequired"),required:!0}),b)},[]),g=T.useCallback(_=>{const b=[],w=!_?.name?.trim(),E=!_?.display_icon_url?.trim()&&!_?.icon_url?.trim(),R=!_?.description?.trim();return w&&b.push(x("topBasicInfoNameField")),E&&b.push(x("topBasicInfoIconField")),R&&b.push(x("topBasicInfoDescriptionField")),b.length===0?[]:[{text:x("topBasicInfoMissing",{fields:b.join(x("topBasicInfoFieldJoiner"))}),required:!1}]},[]),y=T.useCallback(_=>Im(_)?[]:[{text:x("topLoginStatusWarning"),required:!1}],[]),v=T.useCallback(_=>{r.current=p(_),o.current=g(_),u()},[g,p,u]),S=T.useCallback(({currentUser:_,checkResult:b=[]})=>{s.current=y(_),n.current=b.filter(w=>w?.passed===!1).map(w=>({text:w.msg,required:w.required===!0,detail:w.detail})),u()},[y,u]),D=T.useCallback(_=>{c.current=_,u()},[u]);return{topErrorItems:i,updateGameDetailTopErrors:v,updateConfigTopErrors:S,updateGameDetailAccessErrors:D}}const V1="https://developers.tiktok.com/",$de="https://bytedance.larkoffice.com/wiki/PeIawT4M4ia9R8kYyLMcjwHknOg";function Rde(i){const e=$m({errorCode:i.errorCode,user:i.user});if(e==="noPermission")return{link:V1,text:x("topErrorCtaApplyPermission")};if(e==="networkProxy")return{link:$de,text:x("projectInfo.error.openProxyDoc")};if(e==="notFound"||e==="unknown")return{link:V1,text:x("topErrorCtaOpenPortal")}}function Ode(i){const e=$m({errorCode:i.errorCode,user:i.user});if(e==="networkProxy")return x("topErrorTitleNetworkProxy");if(e==="noPermission")return x("topErrorTitlePermission");if(e==="notLoggedIn"||e==="loginExpired")return x("topErrorTitleLogin");if(e==="notFound")return x("topErrorTitleProjectNotFound")}function Nde({onSuccess:i,updateGameDetailAccessErrors:e}){const{state:{user:n},hideLoading:r,setError:o,setGameDetail:s}=mn(),c=T.useRef(!1),u=T.useRef(!1),p=T.useCallback(g=>{if(c.current){u.current=!0;return}c.current=!0,Zi({url:"/game/detail",method:"GET"}).then(y=>{if(y.error){r();const{errorCode:v,errorMsg:S}=y.error,D=$ce({errorCode:v,errorMsg:S,clientKey:y.error.clientKey,user:g??n});s({client_key:y.error.clientKey,has_error:!0,error_msg:S,error_code:v}),o({text:""}),e(D?[{title:Ode({errorCode:v,user:g??n}),text:D,required:!0,detail:Rde({errorCode:v,user:g??n})}]:[]);return}o({text:""}),e([]),s(y.data),i(y.data),r()}).finally(()=>{c.current=!1,u.current&&(u.current=!1,p(g))})},[r,i,o,s,e,n]);return{fetchGameDetail:p}}function Ade({fetchGameDetail:i,updateConfigTopErrors:e}){const{showLoading:n,hideLoading:r,setError:o,setSchema:s,setUser:c,setPackages:u,setDevToolVersion:p,setEngine:g,setDebugMode:y,setMessage:v}=mn(),[S,D]=T.useState(""),_=T.useRef(!1);return T.useEffect(()=>{if(_.current)return;_.current=!0;const b=I1();n(),Zi({url:"/game/config",method:"GET"}).then(w=>{if(w.error){r(),o({text:x("getDevGameConfigFailed")+`: ${w.error.errorMsg}`}),D(x("getDevGameConfigFailed")),console.log(`❌ ${x("getDevGameConfigFailed")}: ${w.error.errorMsg}`);return}const{schema:E,nodeWsPort:R,user:O,packages:M,devToolVersion:F,clientKey:N,engine:A,nodeStaticBaseUrl:G,remoteCdnResources:U,remoteResourceBaseUrl:V,checkResult:B,lang:te}=w.data;if(b===I1()&&Hle(te),Dce(),console.log(`✅ ${x("getDevGameConfigSuccess")}`),te||Zi({url:"/game/config-fillback",method:"POST",data:{lang:navigator.language}}),s(E),De.setMultiple({nodeWsPort:R,email:O?.email,clientKey:N,nodeStaticBaseUrl:G,remoteCdnResources:U||null,remoteResourceBaseUrl:V||null}),c(O),p(F),u(M),g(A),Il()&&v({type:"success",desc:x("nodeServerConnectedSuccess")}),!Qk()){const ee=A==="unity"?Wr.clientPreview:Wr.browserDebug;y(ee),Xk(ee)}i(O),e({currentUser:O,checkResult:B}),r()})},[i,r,p,g,y,o,u,s,c,v,n,e]),{isServerError:!!S,serverErrorMsg:S}}function Lde({onResourceChange:i}){T.useEffect(()=>{const e=()=>{i()};return _e.on("resourceChange",e),()=>{_e.off("resourceChange",e)}},[i])}function Mde(){const[i,e]=T.useState(()=>Ace());T.useEffect(()=>{const o=s=>{if(s.key!=="tt-theme")return;const c=s.newValue;(c==="light"||c==="dark")&&(L1(c),e(c))};return window.addEventListener("storage",o),()=>window.removeEventListener("storage",o)},[]);const n=T.useCallback(o=>{L1(o),e(o)},[]),r=T.useCallback(()=>{n(i==="dark"?"light":"dark")},[i,n]);return{theme:i,setTheme:n,toggle:r}}const jde="modulepreload",Fde=function(i){return"/"+i},K1={},ut=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let p=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),u=c?.nonce||c?.getAttribute("nonce");o=p(n.map(g=>{if(g=Fde(g),g in K1)return;K1[g]=!0;const y=g.endsWith(".css"),v=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${v}`))return;const S=document.createElement("link");if(S.rel=y?"stylesheet":jde,y||(S.as="script"),S.crossOrigin="",S.href=g,u&&S.setAttribute("nonce",u),document.head.appendChild(S),y)return new Promise((D,_)=>{S.addEventListener("load",D),S.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${g}`)))})}))}function s(c){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=c,window.dispatchEvent(u),!u.defaultPrevented)throw c}return o.then(c=>{for(const u of c||[])u.status==="rejected"&&s(u.reason);return e().catch(s)})},vP=()=>{const{state:{loading:i}}=mn();return i.visible?P.jsx("div",{className:"loading-container",children:P.jsxs("div",{className:"loading-content",children:[P.jsx(Fr,{size:"large"}),P.jsx("div",{className:"loading-text",children:Xi(i.text)})]})}):null},Gde=({size:i=24,color:e="#000",style:n,className:r})=>P.jsx("div",{style:{display:"flex",alignItems:"center",position:"relative"},children:P.jsxs("svg",{fill:"currentColor",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,children:[P.jsx("path",{d:"M37.86 17.82c.14.24.14.67.14 1.53v9.5c0 1.14 0 1.72-.2 2.26-.16.49-.43.96-.77 1.34-.37.44-.87.73-1.86 1.3l-7.84 4.53c-.74.43-1.11.64-1.4.64a.66.66 0 0 1-.58-.34c-.14-.24-.14-.67-.14-1.53v-9.5c0-1.14 0-1.71.2-2.26.16-.48.43-.95.76-1.34.38-.44.88-.73 1.87-1.3l7.84-4.52c.74-.43 1.11-.65 1.4-.64.25 0 .45.12.58.33Z"}),P.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m27.54 1.99 7 3.93 6.89 4a7.23 7.23 0 0 1 3.59 6.2l.06 7.88-.06 7.88a7.23 7.23 0 0 1-3.6 6.2l-6.88 4-7 3.93a7.23 7.23 0 0 1-7.08 0l-7-3.93-6.9-4a7.23 7.23 0 0 1-3.58-6.2L2.9 24l.07-7.88a7.23 7.23 0 0 1 3.59-6.2l6.89-4 7-3.93a7.23 7.23 0 0 1 7.08 0Zm-2.07 3.67 6.98 3.92 6.86 3.99a3.01 3.01 0 0 1 1.5 2.58l.06 7.85-.07 7.85c0 1.06-.57 2.04-1.5 2.58l-6.85 4-6.98 3.9c-.91.52-2.03.52-2.95 0l-6.97-3.9-6.86-4a3.01 3.01 0 0 1-1.5-2.58L7.13 24l.06-7.85c.01-1.06.58-2.04 1.5-2.58l6.86-4 6.97-3.9a3.01 3.01 0 0 1 2.95 0Z"})]})}),Wde=()=>P.jsxs("div",{className:"logo-container",children:[P.jsx(Gde,{size:24}),P.jsx("div",{className:"logo-title",children:x("title")})]});function Q1(i){return x(i==="ok"?"connectStatusConnected":i==="fail"?"connectStatusFailed":"connectStatusDisconnected")}function no(i){return i==="ok"?"var(--tt-success-text)":i==="fail"?"var(--tt-error-text)":"var(--tt-text-faint)"}function zde(){return Il()?["subpackage.collecting","subpackage.ready","subpackage.success"].includes(Tm()):!1}const qde=()=>{const{state:{schema:i,isConnected:e},setIsConnected:n,setMessage:r}=mn(),o=e||zde(),[s,c]=T.useState("off"),[u,p]=T.useState("off"),[g,y]=T.useState("off"),v={node:{bg:"var(--tt-info-bg)",stroke:"var(--tt-info-border)",text:"var(--tt-info-text)"},browser:{bg:"var(--tt-success-bg)",stroke:"var(--tt-success-border)",text:"var(--tt-success-text)"},client:{bg:"var(--tt-accent-soft)",stroke:"var(--tt-accent-strong)",text:"var(--tt-accent-text)"}},S=T.useMemo(()=>{const{nodeWsPort:O,clientHost:M,clientHttpPort:F,clientWsPort:N}=De.getMultiple(["nodeWsPort","clientHost","clientHttpPort","clientWsPort"]);let A="",G="";try{if(i){const U=new URL(i);A=(U.searchParams.get("host")||"").trim(),G=(U.searchParams.get("port")||"").trim()}}catch{}return{nodeWsPort:O,clientHost:M,clientHttpPort:F,clientWsPort:N,schemaHost:A,schemaPort:G}},[s,u,g,i]),D=O=>{const{client:M,node:F,reason:N}=O||{};Yt.info("connectionChange",M,F),De.get("isNodeWSConnected")===F&&(M||r({type:"danger",desc:x("clientServerStartError")})),De.get("isClientWSConnected")===M&&(F||r({type:"danger",desc:x("nodeServerStartError")})),De.get("isClientWSConnected")&&!M&&(De.setMultiple({isClientWSConnected:!1,isResourcesReady:!1,isScriptsReady:!1}),r({type:"danger",desc:x("clientDisconnected")})),De.get("isNodeWSConnected")&&!F&&(De.setMultiple({isNodeWSConnected:!1,isResourcesReady:!1,isScriptsReady:!1}),r({type:"danger",title:x("serverDisconnected"),desc:x("nodeDisconnected")})),!De.get("isClientWSConnected")&&M&&(De.set("isClientWSConnected",!0),r({type:"success",desc:x("clientConnectedSuccess")})),!De.get("isNodeWSConnected")&&F&&(De.set("isNodeWSConnected",!0),r({type:"success",desc:x("nodeServerConnectedSuccess")})),typeof F=="boolean"&&(c(F?"ok":N==="error"||N==="timeout"?"fail":"off"),F||y("off")),typeof M=="boolean"&&p(M?"ok":N==="error"||N==="timeout"?"fail":"off"),n(!!M&&!!F)},_=O=>{if(O?.status==="success"){y("ok");return}if(O?.status==="failed"){y("fail");return}O?.status==="start"&&y("off")};T.useEffect(()=>(_e.on("connectionChange",D),_e.on("scanQRCode",_),()=>{_e.off("connectionChange",D),_e.off("scanQRCode",_)}),[n]);const b=P.jsxs("div",{children:[P.jsxs("div",{children:[x("connectStatusNode"),": ",Q1(s)]}),P.jsxs("div",{children:[x("connectStatusDebugPage"),": ",window.location.origin]}),S.nodeWsPort?P.jsxs("div",{children:["WS: ws://localhost:",S.nodeWsPort]}):null,P.jsxs("div",{children:["HTTP: ",window.location.origin]}),S.schemaHost&&S.schemaPort?P.jsxs("div",{children:[x("scanQRCode"),":ws://",S.schemaHost,":",S.schemaPort]}):null]}),w=P.jsx("div",{children:P.jsxs("div",{children:[x("connectStatusBrowser"),": ",x("connectStatusConnected")]})}),E=P.jsxs("div",{children:[P.jsxs("div",{children:[x("connectStatusClient"),": ",Q1(u)]}),S.clientHost?P.jsxs("div",{children:[S.clientHost,S.clientHttpPort?` http:${S.clientHttpPort}`:"",S.clientWsPort?` ws:${S.clientWsPort}`:""]}):null]}),R=P.jsxs("div",{className:"conn-graph-wrap",children:[P.jsx("div",{className:"conn-graph",children:P.jsx("svg",{className:"conn-graph-svg",width:"340",height:"220",viewBox:"0 0 360 240",children:(()=>{const O={x:180,y:44},M={x:70,y:206},F={x:290,y:206},N=14,A=26,G=4,U=5,V=8,B={x:(O.x+M.x+F.x)/3,y:(O.y+M.y+F.y)/3},te=(J,I)=>({x:I.x-J.x,y:I.y-J.y}),ee=J=>Math.hypot(J.x,J.y)||1,oe=J=>{const I=ee(J);return{x:J.x/I,y:J.y/I}},se=J=>({x:-J.y,y:J.x}),he=(J,I,H=1)=>({x:J.x+I.x*H,y:J.y+I.y*H}),ue=(J,I,H)=>{const ae=te(J,I),re=oe(ae),ie=oe(se(ae)),ke=H.offset||0,ye=he(he(J,re,A),ie,ke),ve=he(he(I,re,-A),ie,ke),Ce=typeof H.t=="number"?Math.min(.9,Math.max(.1,H.t)):.5,Se={x:ye.x+(ve.x-ye.x)*Ce,y:ye.y+(ve.y-ye.y)*Ce},yt=he(J,re,A),Dt=he(I,re,-A),ur={x:yt.x+(Dt.x-yt.x)*Ce,y:yt.y+(Dt.y-yt.y)*Ce},$n=H.markMode||"byLineOffset",Rn=te(ur,B),tn=Rn.x*ie.x+Rn.y*ie.y>0?{x:-ie.x,y:-ie.y}:ie,Te=H.labelSide==="inner"?-1:1,zt=ke>=0?1:-1,_t=$n==="byTriangleSide"?Te:zt,je={w:360,h:240,pad:10};let $e=he(Se,tn,V*_t);($e.y>je.h-je.pad||$e.y<je.pad||$e.x>je.w-je.pad||$e.x<je.pad)&&($e=he(Se,tn,-V*_t));const at=$e.x<je.w-60,Ge={x:at?$e.x+U+G:$e.x-U-G,y:$e.y},Tt=at?"start":"end",Ot=H.label.length*6+8,On=Tt==="start"?Ge.x:Ge.x-Ot,nn=Tt==="start"?Ge.x+Ot:Ge.x;let Je=Tt,Et=Ge.x;return On<je.pad&&nn>je.w-je.pad?(Je="start",Et=je.pad):On<je.pad?(Je="start",Et=$e.x+U+G):nn>je.w-je.pad&&(Je="end",Et=$e.x-U-G),P.jsxs("g",{children:[P.jsx("line",{x1:ye.x,y1:ye.y,x2:ve.x,y2:ve.y,stroke:"var(--tt-border-strong)",strokeWidth:"2",strokeDasharray:H.dashed?"4 3":void 0}),P.jsx("circle",{cx:$e.x,cy:$e.y,r:U,fill:H.statusColor}),P.jsx("text",{x:Et,y:Ge.y,fontSize:"10",fill:"var(--tt-text-dim)",dominantBaseline:"middle",textAnchor:Je,paintOrder:"stroke",stroke:"var(--tt-bg-panel)",strokeWidth:"3",children:H.label})]})},K=(J,I,H,ae)=>P.jsx(or,{content:H,children:P.jsxs("g",{className:"conn-vertex",children:[P.jsx("rect",{x:J.x-28,y:J.y-14,width:56,height:22,rx:8,fill:ae.bg,stroke:ae.stroke}),P.jsx("text",{x:J.x,y:J.y-1,textAnchor:"middle",dominantBaseline:"middle",fontSize:"12",fill:ae.text,children:I})]})});return P.jsxs(P.Fragment,{children:[ue(M,O,{label:"ws",statusColor:no(s),offset:-N/2,labelSide:"outer",markMode:"byLineOffset",t:.42}),ue(M,O,{label:"http",statusColor:no(s),offset:N/2,labelSide:"inner",markMode:"byLineOffset",t:.58}),ue(O,F,{label:"ws",statusColor:no(g),dashed:!0,offset:0,labelSide:"outer",markMode:"byTriangleSide",t:.55}),ue(M,F,{label:"ws",statusColor:no(u),offset:-N/2,labelSide:"outer",markMode:"byLineOffset",t:.55}),ue(M,F,{label:"http",statusColor:no(u),offset:N/2,labelSide:"inner",markMode:"byLineOffset",t:.45}),K(O,x("connectStatusNode"),b,v.node),K(M,x("connectStatusBrowser"),w,v.browser),K(F,x("connectStatusClient"),E,v.client)]})})()})}),P.jsxs("div",{className:"conn-legend",children:[P.jsx("div",{className:"conn-legend-title",children:x("connectStatusLegendTitle")}),P.jsxs("div",{className:"conn-legend-item",children:[P.jsx("div",{className:"conn-legend-name",children:P.jsx(pn,{className:"conn-legend-tag-node",type:"ghost",size:"small",style:{marginRight:6},children:x("connectStatusNode")})}),P.jsx("div",{className:"conn-legend-desc",children:x("connectStatusLegendNode")})]}),P.jsxs("div",{className:"conn-legend-item",children:[P.jsx("div",{className:"conn-legend-name",children:P.jsx(pn,{color:"green",type:"ghost",size:"small",style:{marginRight:6},children:x("connectStatusBrowser")})}),P.jsx("div",{className:"conn-legend-desc",children:x("connectStatusLegendBrowser")})]}),P.jsxs("div",{className:"conn-legend-item",children:[P.jsx("div",{className:"conn-legend-name",children:P.jsx(pn,{className:"conn-legend-tag-client",type:"ghost",size:"small",style:{marginRight:6},children:x("connectStatusClient")})}),P.jsx("div",{className:"conn-legend-desc",children:x("connectStatusLegendClient")})]}),P.jsxs("div",{className:"conn-legend-item",children:[P.jsxs("div",{className:"conn-legend-name",children:[P.jsx(pn,{color:"grey",type:"ghost",size:"small",style:{marginRight:6},children:"WS"}),P.jsx(pn,{color:"grey",type:"ghost",size:"small",children:"HTTP"})]}),P.jsx("div",{className:"conn-legend-desc",children:x("connectStatusLegendProto")})]})]})]});return P.jsx(Un,{content:R,trigger:"hover",showArrow:!1,children:P.jsxs("div",{className:"connect-status tt-header-chip"+(o?" connect-status-on":" connect-status-off"),role:"status","aria-label":x(o?"deviceConnected":"deviceDisconnected"),children:[P.jsx("span",{className:"connect-status-dot","aria-hidden":"true"}),P.jsx("span",{className:"connect-status-text",children:x(o?"deviceConnected":"deviceDisconnected")})]})})},Ude=({version:i})=>{const e=_o(),{state:{devToolVersion:n}}=mn(),[r,o]=T.useState(!1);if(T.useEffect(()=>{o(Pce(n))},[n]),!i)return null;const s=()=>{n&&(kce(n),o(!1)),e("/changelog")};return P.jsxs("button",{type:"button",onClick:s,className:"version-tag tt-header-chip"+(r?" version-tag-has-new":""),"aria-label":r?`${x("changelog")||"Changelog"} · ${x("changelogNewTag")||"NEW"}`:x("changelog")||"Changelog",title:r?x("changelogNewTag")||"NEW":void 0,children:[P.jsx("span",{className:"version-tag-text",children:i}),r&&P.jsx("span",{className:"version-tag-new",children:x("changelogNewTag")||"NEW"})]})};const SP=(...i)=>i.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim();const Bde=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Hde=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase());const X1=i=>{const e=Hde(i);return e.charAt(0).toUpperCase()+e.slice(1)};var fh={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"};const Vde=i=>{for(const e in i)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1},Kde=T.createContext({}),Qde=()=>T.useContext(Kde),Xde=T.forwardRef(({color:i,size:e,strokeWidth:n,absoluteStrokeWidth:r,className:o="",children:s,iconNode:c,...u},p)=>{const{size:g=24,strokeWidth:y=2,absoluteStrokeWidth:v=!1,color:S="currentColor",className:D=""}=Qde()??{},_=r??v?Number(n??y)*24/Number(e??g):n??y;return T.createElement("svg",{ref:p,...fh,width:e??g??fh.width,height:e??g??fh.height,stroke:i??S,strokeWidth:_,className:SP("lucide",D,o),...!s&&!Vde(u)&&{"aria-hidden":"true"},...u},[...c.map(([b,w])=>T.createElement(b,w)),...Array.isArray(s)?s:[s]])});const Nl=(i,e)=>{const n=T.forwardRef(({className:r,...o},s)=>T.createElement(Xde,{ref:s,iconNode:e,className:SP(`lucide-${Bde(X1(i))}`,`lucide-${i}`,r),...o}));return n.displayName=X1(i),n};const Yde=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Jde=Nl("arrow-left",Yde);const Zde=[["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"}]],epe=Nl("external-link",Zde);const tpe=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],npe=Nl("moon",tpe);const rpe=[["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"}]],ipe=Nl("sun",rpe),ape=()=>{const{theme:i,toggle:e}=Mde(),n=i==="dark",r=n?ipe:npe,o=x(n?"themeToggleToLight":"themeToggleToDark");return P.jsx("button",{type:"button",onClick:e,className:"theme-toggle tt-header-chip","aria-label":o,title:o,children:P.jsx(r,{className:"theme-toggle-icon",size:14,strokeWidth:2})})},ope=T.lazy(()=>ut(()=>import("./index-CC4YJwDI.js"),__vite__mapDeps([0,1,2,3])).then(i=>({default:i.AccessDocs}))),spe=T.lazy(()=>ut(()=>import("./index-DS-Ah-pZ.js"),__vite__mapDeps([4,1,2,5,6,7])).then(i=>({default:i.LangSwitcher})));T.lazy(()=>ut(()=>import("./index-BhTApVX6.js"),__vite__mapDeps([8,9,10,11])).then(i=>({default:i.GameUploader})));const lpe=T.lazy(()=>ut(()=>import("./index-3IxvKwO3.js"),__vite__mapDeps([12,13])).then(i=>({default:i.LoginStatus}))),cpe=T.lazy(()=>ut(()=>import("./index-DpCdlpoj.js"),__vite__mapDeps([14,15])).then(i=>({default:i.WasmCodeSplit}))),upe=()=>{const{state:{devToolVersion:i,engine:e}}=mn();return P.jsxs("div",{className:"header-wrapper",children:[P.jsxs("div",{className:"header-content",children:[P.jsxs("div",{className:"header-content-left",children:[P.jsx(Wde,{}),P.jsx(Ude,{version:i}),P.jsx(qde,{})]}),P.jsx("div",{className:"header-content-right",children:P.jsxs(ko,{spacing:12,children:[P.jsx(T.Suspense,{fallback:null,children:P.jsx(ope,{})}),e==="unity"&&P.jsx(T.Suspense,{fallback:null,children:P.jsx(cpe,{})}),P.jsx(T.Suspense,{fallback:null,children:P.jsx(spe,{})}),P.jsx(ape,{}),P.jsx(T.Suspense,{fallback:null,children:P.jsx(lpe,{})})]})})]}),P.jsx(SR,{})]})},dpe=({enabled:i=!0})=>(T.useEffect(()=>{if(!i){Yi.close();return}return Yi.init(),()=>{Yi.close()}},[i]),null),ppe=T.lazy(()=>ut(()=>import("./index-C0-lsmcf.js"),__vite__mapDeps([16,17,18,19])).then(i=>({default:i.Sidebar}))),gpe=()=>P.jsx("div",{className:"sidebar-container",children:P.jsx(T.Suspense,{fallback:P.jsx("div",{className:"sidebar-loading-placeholder"}),children:P.jsx(ppe,{})})}),hpe=({title:i,subtitle:e,action:n,decoration:r=!0,className:o})=>P.jsxs("header",{className:X("tt-page-hero",r&&"tt-page-hero-decorated",o),children:[P.jsxs("div",{className:"tt-page-hero-text",children:[P.jsx("h1",{className:"tt-page-hero-title",children:i}),e&&P.jsx("p",{className:"tt-page-hero-subtitle",children:e})]}),n&&P.jsx("div",{className:"tt-page-hero-action",children:n})]}),mpe=({tone:i="neutral",withDot:e=!1,variant:n="solid",size:r="md",className:o,children:s})=>P.jsxs("span",{className:X("tt-tag",`tt-tag-${i}`,`tt-tag-${n}`,`tt-tag-size-${r}`,o),children:[e&&P.jsx("span",{className:"tt-tag-dot","aria-hidden":"true"}),P.jsx("span",{className:"tt-tag-label",children:s})]}),bP=({href:i,iconSize:e=13,className:n="",children:r,target:o="_blank",rel:s="noopener noreferrer",...c})=>P.jsxs("a",{...c,className:`tt-document-link ${n}`.trim(),href:i,target:o,rel:s,children:[P.jsx("span",{className:"tt-document-link-label",children:r}),P.jsx(epe,{className:"tt-document-link-icon",size:e,strokeWidth:2,"aria-hidden":"true"})]}),fpe=({items:i,fallbackErrorText:e})=>{const[n,r]=T.useState(!1),o=T.useMemo(()=>{const g=e?.trim();return g?[{text:g,required:!0},...i.filter(y=>y.text.trim()!==g)]:i},[e,i]);if(T.useEffect(()=>{r(!1)},[o]),o.length===0)return null;const s=g=>g.detail?.link?P.jsx(bP,{className:"app-error-cta",href:g.detail.link,children:Xi(g.detail.text||x("viewDoc"))}):null,c=(g,y)=>{const v=g.required?Zh:em,S=g.required?"required":"suggested",D=g.title||(g.required?x("topErrorTitleRequired"):x("topErrorTitleSuggested"));return P.jsxs("div",{className:`app-error-row app-error-row-${S}`,role:g.required?"alert":"status",children:[P.jsx("span",{className:"app-error-row-accent","aria-hidden":"true"}),P.jsx("span",{className:"app-error-row-icon",children:P.jsx(v,{})}),P.jsxs("div",{className:"app-error-row-body",children:[P.jsx("div",{className:"app-error-row-title",children:Xi(D)}),P.jsx("div",{className:"app-error-row-text",children:Xi(g.text)})]}),s(g)]},`${g.text}-${S}-${y}`)};if(o.length===1)return P.jsx("div",{className:"app-error-banner",children:c(o[0],0)});const u=o.find(g=>g.required)??o[0],p=o.filter(g=>g!==u);return P.jsxs("div",{className:"app-error-banner app-error-banner-multi",children:[P.jsxs("div",{className:"app-error-multi-head",children:[c(u,0),P.jsx("button",{type:"button",className:"app-error-multi-toggle",onClick:()=>r(g=>!g),children:n?x("topErrorHideDetails"):x("topErrorMoreItems",{count:String(p.length)})})]}),n&&P.jsx("div",{className:"app-error-multi-body",children:p.map((g,y)=>c(g,y+1))})]})},ype=i=>Number.isFinite(i)?Math.max(0,Math.min(1,i??0)):0,vpe=k.memo(()=>{const{setMessage:i,hideLoading:e,state:{gameDetail:n,debugSetting:r,isConnected:o,selectedLaunchOption:s,debugMode:c}}=mn();xde();const[u,p]=T.useState(""),g=_=>{if(!_.client||!_.node){De.set("hasSetup",!1);return}if(De.get("hasSetup"))return;De.set("hasSetup",!0),(async()=>(e(),i({type:"success",desc:x("setupDevEnv")}),await H1({debugSetting:r,debugMode:c})))()},y=T.useCallback(({status:_,msg:b,progress:w})=>{switch(_){case"start":const E=x("uploadProcess");i({type:"info",title:E,desc:x("uploadProcessDesc"),progress:0,intent:"uploading"}),console.log(E);break;case"success":i({type:"success",desc:x("uploadSuccess")}),console.log(`✅ ${x("uploadSuccess")}`);break;case"error":const R=`${x("uploadError")}: ${b}`;i({type:"danger",desc:R}),console.log(R);break;case"restart":break;case"process":const O=ype(w);`${x("uploadProcess")}${(O*100).toFixed(0)}`,i({type:"info",title:x("uploadProcess"),desc:x("uploadProcessDesc"),progress:O,intent:"uploading"});break}},[]),v=T.useCallback(({isScriptsReady:_,isResourcesReady:b,isScriptsFailed:w,isResourcesFailed:E})=>{_&&b?(Yt.info("scripts and resources are ready, send meta"),yce(n),i({type:"success",desc:x(c==="clientPreview"?"clientPreviewEnvSetupSuccess":"debugEnvSetupSuccess")})):w?i({type:"danger",desc:x("scriptsSetupFailed")}):E&&i({type:"danger",desc:x("resourcesSetupFailed")})},[n,s,c]),S=()=>{if(!o)return;const _=ir.warning({position:"top",duration:1e4,title:x("gameResourceUpdated"),id:u,onClose:()=>{p("")},content:P.jsxs(P.Fragment,{children:[P.jsx("p",{children:x("gameResourceChange")}),P.jsxs("div",{className:"banner-footer",children:[P.jsx(tt,{type:"tertiary",onClick:()=>{ir.close(_)},children:x("notUpload")}),P.jsx(tt,{style:{marginLeft:12},type:"warning",onClick:()=>{Yt.info("upload"),Yt.info("upload iframe onload, 开始重新初始化"),H1({debugSetting:r,debugMode:c}),ir.close(_)},children:x("uploadToClient")})]})]})});p(_)},D=T.useCallback(({status:_,errorMsg:b})=>{_==="start"?(i({type:"info",title:x("gameResourceCompilingTitle"),desc:x("gameResourceCompiling")}),console.warn(`⚠️ ${x("gameResourceCompiling")}`)):_==="end"&&(b?(i({type:"danger",desc:b}),console.error(`❌ ${b}`)):(i({type:"success",title:x("gameResourceCompileSuccessTitle"),desc:x("gameResourceCompileSuccess")}),console.log(`✅ ${x("gameResourceCompileSuccess")}`)))},[]);return T.useEffect(()=>(_e.on("connectionChange",g),_e.on("compilationStatus",D),_e.on("resourceChange",S),_e.on("uploadGame",y),_e.on("setupStatusChange",v),()=>{_e.off("compilationStatus",D),_e.off("resourceChange",S),_e.off("setupStatusChange",v),_e.off("uploadGame",y),_e.off("connectionChange",g)}),[g,D,S,v,y]),null});var Hi={},yh,Y1;function wP(){return Y1||(Y1=1,yh={L:1,M:0,Q:3,H:2}),yh}var vh,J1;function CP(){return J1||(J1=1,vh={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}),vh}var Sh,Z1;function Spe(){if(Z1)return Sh;Z1=1;var i=CP();function e(n){this.mode=i.MODE_8BIT_BYTE,this.data=n}return e.prototype={getLength:function(n){return this.data.length},write:function(n){for(var r=0;r<this.data.length;r++)n.put(this.data.charCodeAt(r),8)}},Sh=e,Sh}var bh,eC;function bpe(){if(eC)return bh;eC=1;var i=wP();function e(n,r){this.totalCount=n,this.dataCount=r}return e.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],e.getRSBlocks=function(n,r){var o=e.getRsBlockTable(n,r);if(o==null)throw new Error("bad rs block @ typeNumber:"+n+"/errorCorrectLevel:"+r);for(var s=o.length/3,c=new Array,u=0;u<s;u++)for(var p=o[u*3+0],g=o[u*3+1],y=o[u*3+2],v=0;v<p;v++)c.push(new e(g,y));return c},e.getRsBlockTable=function(n,r){switch(r){case i.L:return e.RS_BLOCK_TABLE[(n-1)*4+0];case i.M:return e.RS_BLOCK_TABLE[(n-1)*4+1];case i.Q:return e.RS_BLOCK_TABLE[(n-1)*4+2];case i.H:return e.RS_BLOCK_TABLE[(n-1)*4+3];default:return}},bh=e,bh}var wh,tC;function wpe(){if(tC)return wh;tC=1;function i(){this.buffer=new Array,this.length=0}return i.prototype={get:function(e){var n=Math.floor(e/8);return(this.buffer[n]>>>7-e%8&1)==1},put:function(e,n){for(var r=0;r<n;r++)this.putBit((e>>>n-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){var n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}},wh=i,wh}var Ch,nC;function kP(){if(nC)return Ch;nC=1;for(var i={glog:function(n){if(n<1)throw new Error("glog("+n+")");return i.LOG_TABLE[n]},gexp:function(n){for(;n<0;)n+=255;for(;n>=256;)n-=255;return i.EXP_TABLE[n]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},e=0;e<8;e++)i.EXP_TABLE[e]=1<<e;for(var e=8;e<256;e++)i.EXP_TABLE[e]=i.EXP_TABLE[e-4]^i.EXP_TABLE[e-5]^i.EXP_TABLE[e-6]^i.EXP_TABLE[e-8];for(var e=0;e<255;e++)i.LOG_TABLE[i.EXP_TABLE[e]]=e;return Ch=i,Ch}var kh,rC;function PP(){if(rC)return kh;rC=1;var i=kP();function e(n,r){if(n.length==null)throw new Error(n.length+"/"+r);for(var o=0;o<n.length&&n[o]==0;)o++;this.num=new Array(n.length-o+r);for(var s=0;s<n.length-o;s++)this.num[s]=n[s+o]}return e.prototype={get:function(n){return this.num[n]},getLength:function(){return this.num.length},multiply:function(n){for(var r=new Array(this.getLength()+n.getLength()-1),o=0;o<this.getLength();o++)for(var s=0;s<n.getLength();s++)r[o+s]^=i.gexp(i.glog(this.get(o))+i.glog(n.get(s)));return new e(r,0)},mod:function(n){if(this.getLength()-n.getLength()<0)return this;for(var r=i.glog(this.get(0))-i.glog(n.get(0)),o=new Array(this.getLength()),s=0;s<this.getLength();s++)o[s]=this.get(s);for(var s=0;s<n.getLength();s++)o[s]^=i.gexp(i.glog(n.get(s))+r);return new e(o,0).mod(n)}},kh=e,kh}var Ph,iC;function Cpe(){if(iC)return Ph;iC=1;var i=CP(),e=PP(),n=kP(),r={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},o={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(s){for(var c=s<<10;o.getBCHDigit(c)-o.getBCHDigit(o.G15)>=0;)c^=o.G15<<o.getBCHDigit(c)-o.getBCHDigit(o.G15);return(s<<10|c)^o.G15_MASK},getBCHTypeNumber:function(s){for(var c=s<<12;o.getBCHDigit(c)-o.getBCHDigit(o.G18)>=0;)c^=o.G18<<o.getBCHDigit(c)-o.getBCHDigit(o.G18);return s<<12|c},getBCHDigit:function(s){for(var c=0;s!=0;)c++,s>>>=1;return c},getPatternPosition:function(s){return o.PATTERN_POSITION_TABLE[s-1]},getMask:function(s,c,u){switch(s){case r.PATTERN000:return(c+u)%2==0;case r.PATTERN001:return c%2==0;case r.PATTERN010:return u%3==0;case r.PATTERN011:return(c+u)%3==0;case r.PATTERN100:return(Math.floor(c/2)+Math.floor(u/3))%2==0;case r.PATTERN101:return c*u%2+c*u%3==0;case r.PATTERN110:return(c*u%2+c*u%3)%2==0;case r.PATTERN111:return(c*u%3+(c+u)%2)%2==0;default:throw new Error("bad maskPattern:"+s)}},getErrorCorrectPolynomial:function(s){for(var c=new e([1],0),u=0;u<s;u++)c=c.multiply(new e([1,n.gexp(u)],0));return c},getLengthInBits:function(s,c){if(1<=c&&c<10)switch(s){case i.MODE_NUMBER:return 10;case i.MODE_ALPHA_NUM:return 9;case i.MODE_8BIT_BYTE:return 8;case i.MODE_KANJI:return 8;default:throw new Error("mode:"+s)}else if(c<27)switch(s){case i.MODE_NUMBER:return 12;case i.MODE_ALPHA_NUM:return 11;case i.MODE_8BIT_BYTE:return 16;case i.MODE_KANJI:return 10;default:throw new Error("mode:"+s)}else if(c<41)switch(s){case i.MODE_NUMBER:return 14;case i.MODE_ALPHA_NUM:return 13;case i.MODE_8BIT_BYTE:return 16;case i.MODE_KANJI:return 12;default:throw new Error("mode:"+s)}else throw new Error("type:"+c)},getLostPoint:function(s){for(var c=s.getModuleCount(),u=0,p=0;p<c;p++)for(var g=0;g<c;g++){for(var y=0,v=s.isDark(p,g),S=-1;S<=1;S++)if(!(p+S<0||c<=p+S))for(var D=-1;D<=1;D++)g+D<0||c<=g+D||S==0&&D==0||v==s.isDark(p+S,g+D)&&y++;y>5&&(u+=3+y-5)}for(var p=0;p<c-1;p++)for(var g=0;g<c-1;g++){var _=0;s.isDark(p,g)&&_++,s.isDark(p+1,g)&&_++,s.isDark(p,g+1)&&_++,s.isDark(p+1,g+1)&&_++,(_==0||_==4)&&(u+=3)}for(var p=0;p<c;p++)for(var g=0;g<c-6;g++)s.isDark(p,g)&&!s.isDark(p,g+1)&&s.isDark(p,g+2)&&s.isDark(p,g+3)&&s.isDark(p,g+4)&&!s.isDark(p,g+5)&&s.isDark(p,g+6)&&(u+=40);for(var g=0;g<c;g++)for(var p=0;p<c-6;p++)s.isDark(p,g)&&!s.isDark(p+1,g)&&s.isDark(p+2,g)&&s.isDark(p+3,g)&&s.isDark(p+4,g)&&!s.isDark(p+5,g)&&s.isDark(p+6,g)&&(u+=40);for(var b=0,g=0;g<c;g++)for(var p=0;p<c;p++)s.isDark(p,g)&&b++;var w=Math.abs(100*b/c/c-50)/5;return u+=w*10,u}};return Ph=o,Ph}var Dh,aC;function kpe(){if(aC)return Dh;aC=1;var i=Spe(),e=bpe(),n=wpe(),r=Cpe(),o=PP();function s(u,p){this.typeNumber=u,this.errorCorrectLevel=p,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=s.prototype;return c.addData=function(u){var p=new i(u);this.dataList.push(p),this.dataCache=null},c.isDark=function(u,p){if(u<0||this.moduleCount<=u||p<0||this.moduleCount<=p)throw new Error(u+","+p);return this.modules[u][p]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var u=1;for(u=1;u<40;u++){for(var p=e.getRSBlocks(u,this.errorCorrectLevel),g=new n,y=0,v=0;v<p.length;v++)y+=p[v].dataCount;for(var v=0;v<this.dataList.length;v++){var S=this.dataList[v];g.put(S.mode,4),g.put(S.getLength(),r.getLengthInBits(S.mode,u)),S.write(g)}if(g.getLengthInBits()<=y*8)break}this.typeNumber=u}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(u,p){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(var g=0;g<this.moduleCount;g++){this.modules[g]=new Array(this.moduleCount);for(var y=0;y<this.moduleCount;y++)this.modules[g][y]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(u,p),this.typeNumber>=7&&this.setupTypeNumber(u),this.dataCache==null&&(this.dataCache=s.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,p)},c.setupPositionProbePattern=function(u,p){for(var g=-1;g<=7;g++)if(!(u+g<=-1||this.moduleCount<=u+g))for(var y=-1;y<=7;y++)p+y<=-1||this.moduleCount<=p+y||(0<=g&&g<=6&&(y==0||y==6)||0<=y&&y<=6&&(g==0||g==6)||2<=g&&g<=4&&2<=y&&y<=4?this.modules[u+g][p+y]=!0:this.modules[u+g][p+y]=!1)},c.getBestMaskPattern=function(){for(var u=0,p=0,g=0;g<8;g++){this.makeImpl(!0,g);var y=r.getLostPoint(this);(g==0||u>y)&&(u=y,p=g)}return p},c.createMovieClip=function(u,p,g){var y=u.createEmptyMovieClip(p,g),v=1;this.make();for(var S=0;S<this.modules.length;S++)for(var D=S*v,_=0;_<this.modules[S].length;_++){var b=_*v,w=this.modules[S][_];w&&(y.beginFill(0,100),y.moveTo(b,D),y.lineTo(b+v,D),y.lineTo(b+v,D+v),y.lineTo(b,D+v),y.endFill())}return y},c.setupTimingPattern=function(){for(var u=8;u<this.moduleCount-8;u++)this.modules[u][6]==null&&(this.modules[u][6]=u%2==0);for(var p=8;p<this.moduleCount-8;p++)this.modules[6][p]==null&&(this.modules[6][p]=p%2==0)},c.setupPositionAdjustPattern=function(){for(var u=r.getPatternPosition(this.typeNumber),p=0;p<u.length;p++)for(var g=0;g<u.length;g++){var y=u[p],v=u[g];if(this.modules[y][v]==null)for(var S=-2;S<=2;S++)for(var D=-2;D<=2;D++)S==-2||S==2||D==-2||D==2||S==0&&D==0?this.modules[y+S][v+D]=!0:this.modules[y+S][v+D]=!1}},c.setupTypeNumber=function(u){for(var p=r.getBCHTypeNumber(this.typeNumber),g=0;g<18;g++){var y=!u&&(p>>g&1)==1;this.modules[Math.floor(g/3)][g%3+this.moduleCount-8-3]=y}for(var g=0;g<18;g++){var y=!u&&(p>>g&1)==1;this.modules[g%3+this.moduleCount-8-3][Math.floor(g/3)]=y}},c.setupTypeInfo=function(u,p){for(var g=this.errorCorrectLevel<<3|p,y=r.getBCHTypeInfo(g),v=0;v<15;v++){var S=!u&&(y>>v&1)==1;v<6?this.modules[v][8]=S:v<8?this.modules[v+1][8]=S:this.modules[this.moduleCount-15+v][8]=S}for(var v=0;v<15;v++){var S=!u&&(y>>v&1)==1;v<8?this.modules[8][this.moduleCount-v-1]=S:v<9?this.modules[8][15-v-1+1]=S:this.modules[8][15-v-1]=S}this.modules[this.moduleCount-8][8]=!u},c.mapData=function(u,p){for(var g=-1,y=this.moduleCount-1,v=7,S=0,D=this.moduleCount-1;D>0;D-=2)for(D==6&&D--;;){for(var _=0;_<2;_++)if(this.modules[y][D-_]==null){var b=!1;S<u.length&&(b=(u[S]>>>v&1)==1);var w=r.getMask(p,y,D-_);w&&(b=!b),this.modules[y][D-_]=b,v--,v==-1&&(S++,v=7)}if(y+=g,y<0||this.moduleCount<=y){y-=g,g=-g;break}}},s.PAD0=236,s.PAD1=17,s.createData=function(u,p,g){for(var y=e.getRSBlocks(u,p),v=new n,S=0;S<g.length;S++){var D=g[S];v.put(D.mode,4),v.put(D.getLength(),r.getLengthInBits(D.mode,u)),D.write(v)}for(var _=0,S=0;S<y.length;S++)_+=y[S].dataCount;if(v.getLengthInBits()>_*8)throw new Error("code length overflow. ("+v.getLengthInBits()+">"+_*8+")");for(v.getLengthInBits()+4<=_*8&&v.put(0,4);v.getLengthInBits()%8!=0;)v.putBit(!1);for(;!(v.getLengthInBits()>=_*8||(v.put(s.PAD0,8),v.getLengthInBits()>=_*8));)v.put(s.PAD1,8);return s.createBytes(v,y)},s.createBytes=function(u,p){for(var g=0,y=0,v=0,S=new Array(p.length),D=new Array(p.length),_=0;_<p.length;_++){var b=p[_].dataCount,w=p[_].totalCount-b;y=Math.max(y,b),v=Math.max(v,w),S[_]=new Array(b);for(var E=0;E<S[_].length;E++)S[_][E]=255&u.buffer[E+g];g+=b;var R=r.getErrorCorrectPolynomial(w),O=new o(S[_],R.getLength()-1),M=O.mod(R);D[_]=new Array(R.getLength()-1);for(var E=0;E<D[_].length;E++){var F=E+M.getLength()-D[_].length;D[_][E]=F>=0?M.get(F):0}}for(var N=0,E=0;E<p.length;E++)N+=p[E].totalCount;for(var A=new Array(N),G=0,E=0;E<y;E++)for(var _=0;_<p.length;_++)E<S[_].length&&(A[G++]=S[_][E]);for(var E=0;E<v;E++)for(var _=0;_<p.length;_++)E<D[_].length&&(A[G++]=D[_][E]);return A},Dh=s,Dh}var qs={},oC;function Ppe(){if(oC)return qs;oC=1,Object.defineProperty(qs,"__esModule",{value:!0});var i=Object.assign||function(g){for(var y=1;y<arguments.length;y++){var v=arguments[y];for(var S in v)Object.prototype.hasOwnProperty.call(v,S)&&(g[S]=v[S])}return g},e=Gh(),n=s(e),r=mo(),o=s(r);function s(g){return g&&g.__esModule?g:{default:g}}function c(g,y){var v={};for(var S in g)y.indexOf(S)>=0||Object.prototype.hasOwnProperty.call(g,S)&&(v[S]=g[S]);return v}var u={bgColor:n.default.oneOfType([n.default.object,n.default.string]).isRequired,bgD:n.default.string.isRequired,fgColor:n.default.oneOfType([n.default.object,n.default.string]).isRequired,fgD:n.default.string.isRequired,size:n.default.number.isRequired,title:n.default.string,viewBoxSize:n.default.number.isRequired,xmlns:n.default.string},p=(0,r.forwardRef)(function(g,y){var v=g.bgColor,S=g.bgD,D=g.fgD,_=g.fgColor,b=g.size,w=g.title,E=g.viewBoxSize,R=g.xmlns,O=R===void 0?"http://www.w3.org/2000/svg":R,M=c(g,["bgColor","bgD","fgD","fgColor","size","title","viewBoxSize","xmlns"]);return o.default.createElement("svg",i({},M,{height:b,ref:y,viewBox:"0 0 "+E+" "+E,width:b,xmlns:O}),w?o.default.createElement("title",null,w):null,o.default.createElement("path",{d:S,fill:v}),o.default.createElement("path",{d:D,fill:_}))});return p.displayName="QRCodeSvg",p.propTypes=u,qs.default=p,qs}var sC;function Dpe(){if(sC)return Hi;sC=1,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.QRCode=void 0;var i=Object.assign||function(b){for(var w=1;w<arguments.length;w++){var E=arguments[w];for(var R in E)Object.prototype.hasOwnProperty.call(E,R)&&(b[R]=E[R])}return b},e=Gh(),n=v(e),r=wP(),o=v(r),s=kpe(),c=v(s),u=mo(),p=v(u),g=Ppe(),y=v(g);function v(b){return b&&b.__esModule?b:{default:b}}function S(b,w){var E={};for(var R in b)w.indexOf(R)>=0||Object.prototype.hasOwnProperty.call(b,R)&&(E[R]=b[R]);return E}var D={bgColor:n.default.oneOfType([n.default.object,n.default.string]),fgColor:n.default.oneOfType([n.default.object,n.default.string]),level:n.default.string,size:n.default.number,value:n.default.string.isRequired},_=(0,u.forwardRef)(function(b,w){var E=b.bgColor,R=E===void 0?"#FFFFFF":E,O=b.fgColor,M=O===void 0?"#000000":O,F=b.level,N=F===void 0?"L":F,A=b.size,G=A===void 0?256:A,U=b.value,V=S(b,["bgColor","fgColor","level","size","value"]),B=new c.default(-1,o.default[N]);B.addData(U),B.make();var te=B.modules;return p.default.createElement(y.default,i({},V,{bgColor:R,bgD:te.map(function(ee,oe){return ee.map(function(se,he){return se?"":"M "+he+" "+oe+" l 1 0 0 1 -1 0 Z"}).join(" ")}).join(" "),fgColor:M,fgD:te.map(function(ee,oe){return ee.map(function(se,he){return se?"M "+he+" "+oe+" l 1 0 0 1 -1 0 Z":""}).join(" ")}).join(" "),ref:w,size:G,viewBoxSize:te.length}))});return Hi.QRCode=_,_.displayName="QRCode",_.propTypes=D,Hi.default=_,Hi}var _pe=Dpe();const lC=Xe(_pe),Tpe=i=>{const e=_o(),{isConnected:n}=i,{state:{devSchema:r,schema:o,launchOptions:s,selectedLaunchOption:c,debugMode:u,debugSetting:p,user:g},setShowManualBindIP:y,setSelectedLaunchOption:v,setDebugMode:S}=mn(),[D,_]=T.useState(!1),b=Im(g),w=!p.enableDomainCheck,E=u===Wr.clientPreview,R=c?.pkgType==="independent"?x("independentPackage"):x("gameMainPackage"),O=c?.id==="normal"?x("normalLaunchMode"):c?.name||x("normalLaunchMode"),M=x(E?"clientPreviewMode":"browserDebugMode"),F=`${O} · ${R}${c?.scene?` · ${c.scene}`:""}`,N=[{key:"domain-check",label:x("homeSession.option.domainCheck"),status:x(w?"homeSession.status.off":"homeSession.status.on"),tone:w?"warn":"accent"},{key:"v-console",label:x("homeSession.option.vConsole"),status:p.enableVConsole?x("homeSession.status.on"):x("homeSession.status.off"),tone:p.enableVConsole?"accent":"neutral"},{key:"dev-panel",label:x("homeSession.option.devPanel"),status:p.enableDevInfoPanel?x("homeSession.status.on"):x("homeSession.status.off"),tone:p.enableDevInfoPanel?"accent":"neutral"}],A=T.useMemo(()=>{try{if(!r)return null;const B=new URL(r),te=(B.searchParams.get("host")||"").trim(),ee=B.searchParams.get("host_list")||"";let oe=[];if(ee)try{const ue=JSON.parse(ee);oe=Array.isArray(ue)?ue.filter(K=>typeof K=="string"):[]}catch{return null}const se=ue=>{const K=ue.trim().toLowerCase();return!["","127.0.0.1","localhost","0.0.0.0","::","::1","undefined","null"].includes(K)};return se(te)||Array.isArray(oe)&&oe.some(se)?null:{host:te,hostList:oe}}catch{return null}},[r]),G=B=>{B.status==="success"&&_(!1),B.status==="failed"&&_(!1),B.status==="start"&&_(!0)},U=B=>{S(B),Xk(B)};T.useEffect(()=>(_e.on("scanQRCode",G),()=>{_e.off("scanQRCode",G)}),[]);const V=B=>{if(B==="created")v({...Ks,name:""}),e("/launch_mode");else{const te=s.find(ee=>ee.id===B);te&&v(te)}};return n?P.jsx("div",{className:"qr-code-container-connected",children:P.jsxs("div",{className:"qr-code-connected-content",children:[P.jsx("div",{className:"qr-code-tile qr-code-tile-connected",children:P.jsx(lC,{className:"qr-code-connected",size:150,value:o,bgColor:"transparent",fgColor:"#0e0f13"})}),P.jsxs("div",{className:"qr-code-connected-info",children:[P.jsx("div",{className:"qr-code-connected-desc-title",children:x("scanQRCodeChange")}),P.jsx("div",{className:"qr-code-connected-desc",children:x("scanQRCodeDesc")})]}),P.jsxs("div",{className:"qr-code-session-panel",children:[P.jsx("div",{className:"qr-code-session-header",children:P.jsx("span",{children:x("homeSession.title")})}),P.jsxs("div",{className:"qr-code-session-grid",children:[P.jsxs("div",{className:"qr-code-session-item",children:[P.jsx("span",{children:x("homeSession.modeLabel")}),P.jsx("strong",{children:M})]}),P.jsxs("div",{className:"qr-code-session-item",children:[P.jsx("span",{children:x("homeSession.entryLabel")}),P.jsx("strong",{children:F})]})]}),P.jsxs("div",{className:"qr-code-session-options",children:[P.jsx("div",{className:"qr-code-session-options-heading",children:P.jsx("span",{children:x("devOptions")})}),P.jsx("div",{className:"qr-code-session-option-list",children:N.map(B=>P.jsxs("div",{className:"qr-code-session-option",children:[P.jsx("span",{className:"qr-code-session-option-label",children:B.label}),P.jsx(mpe,{tone:B.tone,size:"sm",children:B.status})]},B.key))})]})]})]})}):P.jsxs("div",{className:"qr-code-container-disconnected",children:[P.jsx("div",{className:"qr-code-select-container",children:P.jsx(Gr,{className:"qr-code-launch-select",value:c?.id,onChange:V,placeholder:x("selectLaunchMode"),style:{width:"216px"},optionList:s.map(B=>({label:B.id==="normal"?x("normalLaunchMode"):B.id==="created"?x("createdLaunchMode"):B.name,value:B.id}))})}),P.jsxs("div",{className:"qr-code-content",children:[A?P.jsxs("div",{className:"qr-code-network-hint",role:"status",children:[P.jsxs("div",{className:"qr-code-network-hint-main",children:[P.jsx("span",{className:"qr-code-network-hint-icon","aria-hidden":"true",children:P.jsx(nm,{})}),P.jsxs("div",{className:"qr-code-network-hint-copy",children:[P.jsx(Qe.Text,{strong:!0,children:x("networkNoLanIPTitle")}),P.jsx(Qe.Text,{type:"tertiary",children:x("networkNoLanIPDesc")})]})]}),P.jsx(tt,{className:"qr-code-network-hint-action",size:"small",theme:"light",type:"tertiary",onClick:()=>y(!0),children:x("networkNoLanIPAction")})]}):null,A?null:P.jsxs("div",{className:"qr-code-schema",children:[P.jsx("div",{className:"qr-code-tile",children:P.jsx(lC,{size:256,value:r,bgColor:"transparent",fgColor:"#0e0f13"})}),P.jsxs("div",{className:"qr-code-mode-switches",role:"group","aria-label":x("homeSession.modeLabel"),children:[P.jsx(tt,{className:`qr-code-mode-button ${u==="browserDebug"?"is-active":""}`,"aria-pressed":u==="browserDebug",theme:"borderless",type:"tertiary",size:"small",onClick:()=>U("browserDebug"),children:x("browserDebugMode")}),P.jsx(tt,{className:`qr-code-mode-button ${u==="clientPreview"?"is-active":""}`,"aria-pressed":u==="clientPreview",onClick:()=>U("clientPreview"),theme:"borderless",type:"tertiary",size:"small",children:x("clientPreviewMode")})]}),D&&P.jsxs("div",{className:"qr-code-spin",children:[P.jsx(Fr,{size:"large"}),P.jsx("div",{className:"qr-code-text",children:x("scanning")})]})]}),P.jsxs("div",{className:"qr-code-side-panel",children:[P.jsxs("div",{className:"qr-code-diagnostics-card",children:[P.jsx("div",{className:"qr-code-diagnostics-card-copy",children:P.jsx(Qe.Text,{children:x("netDiagEntryDesc")})}),P.jsx(tt,{className:"qr-code-diagnostics-entry",theme:"light",size:"small",onClick:()=>e("/network_diagnostics"),children:x("netDiagEntryAction")})]}),b?null:P.jsxs("div",{className:"qr-code-login-guide",children:[P.jsxs("div",{className:"qr-code-login-guide-copy",children:[P.jsx(Qe.Text,{strong:!0,children:x("basicDebugGuide.entryTitle")}),P.jsx(Qe.Text,{children:x("basicDebugGuide.entryDesc")})]}),P.jsx(tt,{theme:"light",onClick:()=>e("/basic_debug_guide"),children:x("basicDebugGuide.entryAction")})]})]})]})]})},Epe=[{key:"domain-check",labelKey:"debugSettingDomainCheck",descriptionKey:"devOptionsDomainCheckDesc",getChecked:i=>!i.enableDomainCheck,getNextSetting:(i,e)=>({...i,enableDomainCheck:!e})},{key:"ad-mock",labelKey:"debugSettingAdMock",descriptionKey:"debugSettingAdMockDesc",getChecked:i=>i.enableAdMock,getNextSetting:(i,e)=>({...i,enableAdMock:e})},{key:"iap-mock",labelKey:"debugSettingIAPMock",descriptionKey:"debugSettingIAPMockDesc",getChecked:i=>i.enableIAPMock,getNextSetting:(i,e)=>({...i,enableIAPMock:e})},{key:"dev-info-panel",labelKey:"debugSettingDevInfoPanel",descriptionKey:"debugSettingEnableDevInfoPanelDesc",getChecked:i=>i.enableDevInfoPanel,getNextSetting:(i,e)=>({...i,enableDevInfoPanel:e})},{key:"vconsole",labelKey:"debugSettingVConsole",descriptionKey:"debugSettingEnableVconsoleDesc",isAvailable:i=>i!==Wr.browserDebug,getChecked:i=>i.enableVConsole,getNextSetting:(i,e)=>({...i,enableVConsole:e})}];function xpe({debugMode:i,debugSetting:e,onChange:n}){return Epe.filter(r=>!r.isAvailable||r.isAvailable(i)).map(r=>({key:r.key,checked:r.getChecked(e),label:x(r.labelKey),description:x(r.descriptionKey),onChange:o=>n(r.getNextSetting(e,o))}))}const DP=()=>{const{state:{debugSetting:i,debugMode:e},setDebugSetting:n}=mn(),r=c=>{n(c)},o=()=>{Eo.send({method:"setDebugSettings",payload:i})};T.useEffect(()=>(_e.on("connectionChange",o),()=>{_e.off("connectionChange",o)}),[o]);const s=xpe({debugMode:e,debugSetting:i,onChange:r});return P.jsx("div",{className:"debug-setting-card",children:P.jsxs(Dl,{style:{width:"100%"},children:[P.jsx("div",{className:"debug-setting-head",children:P.jsx(Qe.Text,{style:{fontWeight:"bold",fontSize:16},children:x("devOptions")})}),P.jsx("div",{className:"debug-setting-row",children:s.map(c=>P.jsxs("div",{className:"debug-setting-item",children:[P.jsxs("div",{className:"debug-setting-item-head",children:[P.jsx(km,{className:"debug-setting-switch",checked:c.checked,onChange:c.onChange}),P.jsx(Qe.Text,{className:"debug-setting-item-title",children:c.label})]}),P.jsx(Qe.Text,{className:"debug-setting-item-desc",type:"tertiary",children:c.description})]},c.key))})]})})},Ipe=Object.freeze(Object.defineProperty({__proto__:null,DebugSetting:DP},Symbol.toStringTag,{value:"Module"}));function _P(){return{ip:De.get("clientHost")||localStorage.getItem("clientHost")||"",port:De.get("clientHttpPort")||localStorage.getItem("clientHttpPort")||"",wsPort:De.get("clientWsPort")||localStorage.getItem("clientWsPort")||""}}function Ege(i=_P()){return!!(String(i.ip||"").trim()&&String(i.port||"").trim()&&String(i.wsPort||"").trim())}function $pe(i){const{ip:e,port:n,wsPort:r}=i;De.setMultiple({clientHost:e,clientWsPort:r,clientHttpPort:n}),Yi.send({method:"manualConnect",payload:{clientHost:e,clientWsPort:r,clientHttpPort:n}}),Eo.init({clientWsPort:r,clientHost:e,clientHttpPort:n}),localStorage.setItem("clientHost",e),localStorage.setItem("clientWsPort",r),localStorage.setItem("clientHttpPort",n)}function cC(i){const e=String(i.ip||""),n=String(i.port||""),r=String(i.wsPort||"");De.setMultiple({clientHost:e,clientWsPort:r,clientHttpPort:n}),localStorage.setItem("clientHost",e),localStorage.setItem("clientWsPort",r),localStorage.setItem("clientHttpPort",n)}const TP=i=>{const{onClose:e,onSuccess:n,onValuesChange:r,onConnectResult:o,getFormApi:s,layout:c="default"}=i,[u,p]=T.useState(!1),[g,y]=T.useState({}),v=(A,G=3e3)=>new Promise(U=>{let V=!1;const B=setTimeout(()=>{if(!V){V=!0;try{te?.close()}catch{}U({ok:!1,message:x("connectivityTimeout")})}},G);let te=null;try{te=new WebSocket(A),te.onopen=()=>{if(!V){V=!0,clearTimeout(B);try{te?.close()}catch{}U({ok:!0,message:x("connectivityOK")})}},te.onerror=()=>{V||(V=!0,clearTimeout(B),U({ok:!1,message:x("connectivityFailed")}))}}catch{clearTimeout(B),U({ok:!1,message:x("connectivityFailed")})}}),S=async A=>{if(!N(A)){o?.({ok:!1,message:x("connectivityMissingParams")});return}p(!0),$pe(A);const{ip:G,wsPort:U}=A,V=await v(`ws://${G}:${U}`);o?.(V),V.ok&&n?.(),p(!1)},D=T.useMemo(()=>_P(),[]),[_,b]=T.useState(D),w=T.useRef(D),E=T.useRef(null),R=T.useRef(null),O=T.useRef(null),M=A=>{const G={...w.current,...A};w.current=G,b(G),y(U=>({...U,...A.ip!==void 0?{ip:void 0}:{},...A.port!==void 0?{port:void 0}:{},...A.wsPort!==void 0?{wsPort:void 0}:{}})),r?.(G),cC(G)},F=()=>{const A=E.current?.querySelector("input")?.value,G=R.current?.querySelector("input")?.value,U=O.current?.querySelector("input")?.value,V={ip:String(A||""),port:String(G||""),wsPort:String(U||"")};(V.ip!==w.current.ip||V.port!==w.current.port||V.wsPort!==w.current.wsPort)&&M(V)};T.useEffect(()=>{w.current=D,b(D),r?.(D),cC(D)},[D]),T.useEffect(()=>{const A=[0,80,300,800].map(G=>window.setTimeout(()=>F(),G));return()=>{A.forEach(G=>window.clearTimeout(G))}},[]),T.useEffect(()=>{s?.({getValues:()=>w.current,submitForm:()=>S(w.current)})},[s]);const N=A=>{const G={};return String(A.ip||"").trim()||(G.ip=x("debug.guide.manualBindIPInvalid")),String(A.port||"").trim()||(G.port=x("invalidPort")),String(A.wsPort||"").trim()||(G.wsPort=x("invalidPort")),y(G),Object.keys(G).length===0};return P.jsxs("div",{className:`manual-connection-form manual-connection-form-${c}`,children:[c==="default"?P.jsx("div",{className:"manual-connection-tip",children:x("manualConnectDialogDesc")}):null,P.jsxs("div",{className:"manual-connection-grid",children:[P.jsxs("div",{className:"manual-connection-field",children:[P.jsxs("div",{className:"manual-connection-label",children:[P.jsx(Qe.Text,{strong:!0,children:"Client IP "}),P.jsx(Qe.Text,{type:"danger",children:"*"})]}),P.jsx("div",{ref:E,children:P.jsx(so,{value:_.ip,onChange:A=>M({ip:String(A||"")}),onBlur:F,placeholder:"192.168.x.x"})}),g.ip?P.jsx(Qe.Text,{type:"danger",children:g.ip}):null]}),P.jsxs("div",{className:"manual-connection-field",children:[P.jsxs("div",{className:"manual-connection-label",children:[P.jsx(Qe.Text,{strong:!0,children:"Port 1(HTTP 端口) "}),P.jsx(Qe.Text,{type:"danger",children:"*"})]}),P.jsx("div",{ref:R,children:P.jsx(so,{value:_.port,onChange:A=>M({port:String(A||"")}),onBlur:F,placeholder:"3000"})}),g.port?P.jsx(Qe.Text,{type:"danger",children:g.port}):null]}),P.jsxs("div",{className:"manual-connection-field",children:[P.jsxs("div",{className:"manual-connection-label",children:[P.jsx(Qe.Text,{strong:!0,children:"Port 2(WS 端口) "}),P.jsx(Qe.Text,{type:"danger",children:"*"})]}),P.jsx("div",{ref:O,children:P.jsx(so,{value:_.wsPort,onChange:A=>M({wsPort:String(A||"")}),onBlur:F,placeholder:"2999"})}),g.wsPort?P.jsx(Qe.Text,{type:"danger",children:g.wsPort}):null]})]}),e?P.jsxs("div",{className:"manual-connection-footer",children:[P.jsx(tt,{type:"tertiary",onClick:()=>e(),disabled:u,children:x("cancel")}),P.jsx(tt,{type:"primary",theme:"solid",onClick:()=>S(w.current),loading:u,children:x("manualConnectConfirm")})]}):null]})},Rpe=()=>{const{state:{showManualBindIP:i},setShowManualBindIP:e}=mn();return P.jsx(Gt,{className:"manual-connection-modal",width:520,title:x("manualBindClientDebugServiceTitle"),visible:i,showCancel:!1,onCancel:()=>e(!1),showOk:!1,footer:null,children:P.jsx(TP,{onClose:()=>e(!1),onSuccess:()=>e(!1)})})},Ope=()=>{const{state:{isConnected:i,message:e}}=T.useContext(Pm),n=e?.intent==="uploading",r=Math.max(0,Math.min(100,Math.round((e?.progress??0)*100))),o=!!e?.title;return P.jsxs("div",{"data-doc-shot":"start-debug-qr-idle",className:`home-container ${i?"home-container-connected":""}`,children:[P.jsx(hpe,{title:x(i?"homeHeroTitleConnected":"homeHeroTitle"),subtitle:x(i?"homeHeroSubtitleConnected":"homeHeroSubtitle")}),P.jsxs("div",{className:X("home-status-banner",`home-status-banner-${e?.type??"info"}`,{"home-status-banner-uploading":n}),"aria-live":"polite",children:[P.jsx("span",{className:"home-status-dot"}),P.jsxs("div",{className:"home-status-copy",children:[e?.title?P.jsx("div",{className:"home-status-title",children:Xi(e.title)}):null,e?.desc?P.jsx("div",{className:X("home-status-desc",{"home-status-desc-standalone":!o}),children:Xi(e.desc)}):null]}),n?P.jsxs("div",{className:"home-status-progress-value",children:[r,"%"]}):null,n?P.jsx("div",{className:"home-status-progress-track",children:P.jsx("span",{className:"home-status-progress-fill",style:{width:`${r}%`}})}):null]}),P.jsx(Tpe,{isConnected:i}),!i&&P.jsx(DP,{})]})},Npe="https://bytedance.larkoffice.com/wiki/WvifwWjGri7bTzkPbqKcqVi5ntc";function Ape(i){try{return i?(new URL(i).searchParams.get("port")||"").trim():""}catch{return""}}function Lpe(i,e){return i?i.ok?"success":i.code==="status"?"warning":"error":e?"running":"idle"}function Mpe(i){return x(i==="success"?"connectivityOK":i==="warning"?"netDiagStatusWarning":i==="error"?"connectivityNotOK":i==="running"?"netDiagStatusRunning":"netDiagStatusIdle")}function jpe(i,e){return i?i.ok?x("netDiagCheckReachableDetail"):i.msg||x("connectivityFailed"):x(e?"netDiagCheckRunningDetail":"netDiagCheckIdleDetail")}function Fpe({hasChecked:i,running:e,nodeHttp:n,nodeWs:r,clientHttp:o,clientWs:s,hasClientEndpoint:c}){return e?{kind:"running",title:x("netDiagSummaryRunningTitle"),desc:x("netDiagSummaryRunningDesc"),suggestions:[x("netDiagSummaryRunningHint")]}:i?c?n&&!n.ok?{kind:"node-service",title:x("netDiagSummaryNodeTitle"),desc:x("netDiagSummaryNodeDesc"),suggestions:[x("netDiagSuggestNodeDesc"),x("netDiagSuggestNodeRestart")]}:r&&!r.ok?{kind:"node-service",title:x("netDiagSummaryNodeTitle"),desc:x("netDiagSummaryNodeWsDesc"),suggestions:[x("netDiagSuggestNodeDesc")]}:o?.ok&&s&&!s.ok?{kind:"client-ws-failed",title:x("netDiagSummaryClientWsTitle"),desc:x("netDiagSummaryClientWsDesc"),suggestions:[x("netDiagSuggestClientDebugService"),x("netDiagSuggestWsBlocked"),x("netDiagSuggestPhoneProxyFallback")]}:o&&!o.ok&&s&&!s.ok?{kind:"client-both-failed",title:x("netDiagSummaryClientBothTitle"),desc:x("netDiagSummaryClientBothDesc"),suggestions:[x("netDiagSuggestClientDebugService"),x("netDiagSuggestLanAndProxy"),x("netDiagSuggestPhoneProxyFallback")]}:n?.ok&&r?.ok&&o?.ok&&s?.ok?{kind:"healthy",title:x("netDiagSummaryHealthyTitle"),desc:x("netDiagSummaryHealthyDesc"),suggestions:[x("netDiagSuggestOkDesc")]}:{kind:"partial",title:x("netDiagSummaryPartialTitle"),desc:x("netDiagSummaryPartialDesc"),suggestions:[x("netDiagSummaryPartialHint")]}:{kind:"missing-client",title:x("netDiagSummaryMissingClientTitle"),desc:x("netDiagSummaryMissingClientDesc"),suggestions:[x("netDiagSuggestNoClientDesc")]}:c?{kind:"idle",title:x("netDiagSummaryIdleTitle"),desc:x("netDiagSummaryIdleDesc"),suggestions:[x("netDiagSummaryIdleHint")]}:{kind:"missing-client",title:x("netDiagSummaryMissingClientTitle"),desc:x("netDiagSummaryMissingClientDesc"),suggestions:[x("netDiagSuggestNoClientDesc")]}}const uC=(i,e=3e3)=>new Promise(n=>{let r=!1;const o=setTimeout(()=>{if(!r){r=!0;try{s?.close()}catch{}n({ok:!1,code:"timeout",msg:x("connectivityTimeout")})}},e);let s=null;try{s=new WebSocket(i),s.onopen=()=>{if(!r){r=!0,clearTimeout(o);try{s?.close()}catch{}n({ok:!0,code:"ok"})}},s.onerror=()=>{r||(r=!0,clearTimeout(o),n({ok:!1,code:"error",msg:x("connectivityFailed")}))}}catch{clearTimeout(o),n({ok:!1,code:"error",msg:x("connectivityFailed")})}}),dC=async i=>{try{const e=new AbortController,n=setTimeout(()=>e.abort(),3e3),r=await fetch(i,{method:"GET",cache:"no-store",signal:e.signal});return clearTimeout(n),r.ok?{ok:!0,code:"ok"}:{ok:!1,code:"status",msg:`${r.status} ${r.statusText}`}}catch(e){return e instanceof DOMException&&e.name==="AbortError"?{ok:!1,code:"timeout",msg:x("connectivityTimeout")}:{ok:!1,code:"error",msg:x("connectivityFailed")}}},Gpe=()=>{const i=_o(),{state:{devSchema:e,schema:n}}=mn(),r=T.useRef(0),[o,s]=T.useState(!1),[c,u]=T.useState(!1),[p,g]=T.useState(!0),[y,v]=T.useState(!1),[S,D]=T.useState(!1),[_,b]=T.useState(),[w,E]=T.useState(),[R,O]=T.useState(),[M,F]=T.useState(),[N,A]=T.useState(!1),[G,U]=T.useState(null),[V,B]=T.useState(()=>({ip:String(De.get("clientHost")||localStorage.getItem("clientHost")||""),port:String(De.get("clientHttpPort")||localStorage.getItem("clientHttpPort")||""),wsPort:String(De.get("clientWsPort")||localStorage.getItem("clientWsPort")||"")})),te=T.useMemo(()=>({ip:String(V.ip||""),port:String(V.port||""),wsPort:String(V.wsPort||"")}),[V]),ee=T.useCallback(re=>{B(re)},[]),oe=T.useMemo(()=>{const{nodeWsPort:re,clientHost:ie,clientHttpPort:ke,clientWsPort:ye}=De.getMultiple(["nodeWsPort","clientHost","clientHttpPort","clientWsPort"]);let ve="";try{n&&(ve=(new URL(n).searchParams.get("host")||"").trim())}catch{}return{schemaHost:ve,httpPort:Ape(n),nodeWsPort:re,clientHost:ie,clientHttpPort:ke,clientWsPort:ye}},[e,n]),se=String(te.ip||oe.clientHost||"").trim(),he=String(te.port||oe.clientHttpPort||"").trim(),ue=String(te.wsPort||oe.clientWsPort||"").trim(),K=T.useCallback(async()=>{A(!0),s(!0),b(void 0),E(void 0),O(void 0),F(void 0);const re=await dC("/game/config");b(re);const ie=oe.nodeWsPort;E(ie?await uC(`ws://localhost:${ie}`):{ok:!1,code:"error",msg:x("connectivityMissingParams")}),O(se&&he?await dC(`http://${se}:${he}/game/scripts/krypton.js`):{ok:!1,code:"error",msg:x("netDiagMissingClientHttp")}),F(se&&ue?await uC(`ws://${se}:${ue}`):{ok:!1,code:"error",msg:x("netDiagMissingClientWs")}),D(!0),s(!1)},[oe.nodeWsPort,se,he,ue]);T.useEffect(()=>{K()},[K]);const J=T.useMemo(()=>[{key:"node-http",title:x("netDiagCheckNodeHttp"),target:"/game/config",item:_},{key:"node-ws",title:x("netDiagCheckNodeWs"),target:oe.nodeWsPort?`ws://localhost:${oe.nodeWsPort}`:"-",item:w},{key:"client-http",title:x("netDiagCheckClientHttp"),target:se&&he?`http://${se}:${he}`:"-",item:R},{key:"client-ws",title:x("netDiagCheckClientWs"),target:se&&ue?`ws://${se}:${ue}`:"-",item:M}],[Wn,R,M,oe.nodeWsPort,_,w,se,he,ue]),I=T.useMemo(()=>Fpe({hasChecked:N,running:o,nodeHttp:_,nodeWs:w,clientHttp:R,clientWs:M,hasClientEndpoint:!!(se&&he&&ue)}),[Wn,R,M,N,_,w,se,he,ue,o]),H=I.suggestions,ae=T.useCallback(()=>{r.current=window.scrollY,U(null),v(!0)},[]);return T.useEffect(()=>{if(!y)return;const re=()=>{window.scrollTo({top:r.current,left:0})},ie=window.requestAnimationFrame(re),ke=window.setTimeout(re,80);return()=>{window.cancelAnimationFrame(ie),window.clearTimeout(ke)}},[y]),P.jsxs("div",{className:"check-network-container",children:[P.jsxs("div",{className:"check-network-hero",children:[P.jsx("div",{className:"check-network-back",children:P.jsxs("button",{type:"button",className:"check-network-back-link",onClick:()=>i("/"),children:[P.jsx(Jde,{size:14,strokeWidth:2}),P.jsx("span",{children:x("back")})]})}),P.jsx("div",{className:"check-network-hero-head",children:P.jsxs("div",{className:"check-network-hero-copy",children:[P.jsx("div",{className:"check-network-hero-title",children:x("netDiagTitle")}),P.jsx("div",{className:"check-network-hero-subtitle",children:x("netDiagSubtitle")})]})})]}),P.jsxs("section",{className:`check-network-section check-network-summary-result check-network-summary-result-${I.kind}`,children:[P.jsxs("div",{className:"check-network-section-headline",children:[P.jsx("div",{children:P.jsxs("div",{className:"check-network-title-row",children:[P.jsx("div",{className:"check-network-section-title",children:x("netDiagSummaryTitle")}),P.jsx(bP,{className:"check-network-title-link",href:Npe,children:x("netDiagOpenTroubleshoot")})]})}),P.jsx(tt,{className:"check-network-section-toggle",theme:"borderless",onClick:()=>g(re=>!re),children:x(p?"netDiagCollapse":"netDiagExpand")})]}),p?P.jsxs(P.Fragment,{children:[P.jsxs("div",{className:"check-network-summary-main",children:[P.jsx("div",{className:"check-network-summary-eyebrow",children:x("netDiagGuideEyebrow")}),P.jsx("div",{className:"check-network-summary-result-title",children:I.title}),P.jsx("div",{className:"check-network-summary-result-desc",children:I.desc})]}),P.jsxs("div",{className:"check-network-guide-panel",children:[P.jsx("div",{className:"check-network-guide-label",children:x("netDiagGuideStepsTitle")}),P.jsx("div",{className:"check-network-suggestion-list",children:H.map((re,ie)=>P.jsxs("div",{className:"check-network-suggestion-item",children:[P.jsx("span",{className:"check-network-suggestion-index",children:ie+1}),P.jsx("span",{className:"check-network-suggestion-text",children:re})]},`${re}_${ie}`))})]})]}):null]}),P.jsxs("section",{className:"check-network-section check-network-manual-entry",children:[P.jsxs("div",{className:"check-network-section-headline",children:[P.jsxs("div",{children:[P.jsx("div",{className:"check-network-section-title",children:x("netDiagManualBindEntry")}),P.jsx("div",{className:"check-network-suggest-desc",children:x("netDiagManualSectionDesc")})]}),P.jsxs("div",{className:"check-network-manual-entry-actions",children:[P.jsx(tt,{className:"check-network-recheck-action",theme:"borderless",loading:o,onClick:()=>{K()},children:x("netDiagRunAll")}),P.jsx(tt,{className:"check-network-next-step-action",theme:"solid",type:"primary",onClick:ae,children:x("netDiagActionManualConnect")})]})]}),G?P.jsx("div",{className:`check-network-inline-result ${G.ok?"success":"error"}`,children:G.ok?x("netDiagManualConnectResultSuccess"):`${x("netDiagManualConnectResultError")} ${G.message}`}):null]}),P.jsxs("section",{className:"check-network-section check-network-env-section",children:[P.jsxs("div",{className:"check-network-section-headline",children:[P.jsxs("div",{children:[P.jsx("div",{className:"check-network-section-title",children:x("netDiagEnvTitle")}),P.jsx("div",{className:"check-network-suggest-desc",children:x("netDiagEnvSectionDesc")})]}),P.jsx(tt,{className:"check-network-section-toggle",theme:"borderless",onClick:()=>u(re=>!re),children:x(c?"netDiagCollapse":"netDiagExpand")})]}),c?P.jsxs("div",{className:"check-network-summary-grid",children:[P.jsxs("div",{className:"check-network-summary-card",children:[P.jsx("div",{className:"check-network-summary-title",children:x("netDiagComputerGroup")}),P.jsxs("div",{className:"check-network-kv",children:[P.jsx("span",{children:x("netDiagEnvIP")}),P.jsx("span",{children:oe.schemaHost||"-"})]}),P.jsxs("div",{className:"check-network-kv",children:[P.jsx("span",{children:x("netDiagEnvWsPort")}),P.jsx("span",{children:oe.nodeWsPort||"-"})]}),P.jsxs("div",{className:"check-network-kv",children:[P.jsx("span",{children:x("netDiagEnvHttpPort")}),P.jsx("span",{children:oe.httpPort||"-"})]})]}),P.jsxs("div",{className:"check-network-summary-card",children:[P.jsx("div",{className:"check-network-summary-title",children:x("netDiagClientGroup")}),P.jsxs("div",{className:"check-network-kv",children:[P.jsx("span",{children:"IP"}),P.jsx("span",{children:se||"-"})]}),P.jsxs("div",{className:"check-network-kv",children:[P.jsx("span",{children:x("netDiagEnvWsPort")}),P.jsx("span",{children:ue||"-"})]}),P.jsxs("div",{className:"check-network-kv",children:[P.jsx("span",{children:x("netDiagEnvHttpPort")}),P.jsx("span",{children:he||"-"})]})]})]}):null]}),P.jsxs("section",{className:"check-network-section check-network-check-section",children:[P.jsxs("div",{className:"check-network-section-headline",children:[P.jsxs("div",{children:[P.jsx("div",{className:"check-network-section-title",children:x("netDiagChecksTitle")}),P.jsx("div",{className:"check-network-suggest-desc",children:x("netDiagCheckSectionDesc")})]}),P.jsx(tt,{className:"check-network-section-toggle",theme:"borderless",onClick:()=>D(re=>!re),children:x(S?"netDiagCollapse":"netDiagExpand")})]}),S?P.jsx("div",{className:"check-network-checks",children:J.map(re=>{const ie=Lpe(re.item,o&&N);return P.jsxs("div",{className:`check-network-check-card check-network-check-${ie}`,children:[P.jsxs("div",{className:"check-network-check-main",children:[P.jsxs("div",{className:"check-network-check-title-row",children:[P.jsx("span",{className:"check-network-check-dot"}),P.jsx("span",{className:"check-network-check-title",children:re.title})]}),P.jsxs("div",{className:"check-network-check-meta",children:[P.jsx("span",{className:"check-network-check-target",children:re.target}),P.jsx("span",{className:"check-network-check-detail",children:jpe(re.item,o&&N)})]})]}),P.jsx("span",{className:`check-network-check-badge check-network-check-badge-${ie}`,children:Mpe(ie)})]},re.key)})}):null]}),P.jsxs(Gt,{className:"manual-connection-modal check-network-manual-modal",width:560,title:x("manualBindClientDebugServiceTitle"),visible:y,showCancel:!1,showOk:!1,footer:null,onCancel:()=>v(!1),children:[P.jsx(TP,{onClose:()=>v(!1),onSuccess:()=>v(!1),onValuesChange:ee,onConnectResult:re=>{U(re),K()}}),G&&!G.ok?P.jsx("div",{className:"check-network-inline-result error",children:`${x("netDiagManualConnectResultError")} ${G.message}`}):null]})]})},Wpe=T.lazy(()=>ut(()=>import("./index-Ba7wrRXG.js"),__vite__mapDeps([20,21,22,23,24,25,26,27])).then(i=>({default:i.ProjectDetail}))),zpe=T.lazy(()=>ut(()=>Promise.resolve().then(()=>Ipe),void 0).then(i=>({default:i.DebugSetting}))),qpe=T.lazy(()=>ut(()=>import("./index-xPCWyPvk.js"),__vite__mapDeps([28,29,30,5,6,9,10,31])).then(i=>({default:i.LaunchMode}))),Upe=T.lazy(()=>ut(()=>import("./index-FKgvaTum.js"),__vite__mapDeps([32,24,25,9,10,23,33])).then(i=>({default:i.CheckCode}))),Bpe=T.lazy(()=>ut(()=>import("./index-CSOt669g.js"),__vite__mapDeps([34,24,25,35])).then(i=>({default:i.BasicDebugGuide}))),Hpe=T.lazy(()=>ut(()=>import("./index-CbUw1wBM.js"),__vite__mapDeps([36,24,25,21,22,37,38])).then(i=>({default:i.ChangeLog}))),Vpe=T.lazy(()=>ut(()=>import("./index-ejkbZVVo.js"),__vite__mapDeps([39,21,40,22,41,42,43,17])).then(i=>({default:i.IntegrationAssistant}))),Kpe=T.lazy(()=>ut(()=>import("./Detail-DPCqXgFa.js"),__vite__mapDeps([44,45,46,21,22,24,25,29,30,9,10,41,42,47,37])).then(i=>({default:i.IntegrationAssistantDetail}))),Qpe=T.lazy(()=>ut(()=>import("./MonetizationMode-BGXVb7wG.js"),__vite__mapDeps([48,45,46,21,22,40,41,42,43,17])).then(i=>({default:i.IntegrationAssistantMonetizationMode}))),Xpe=T.lazy(()=>ut(()=>import("./index-wGfWSqnF.js"),__vite__mapDeps([49,50])).then(i=>({default:i.ManualConnect}))),Ype=T.lazy(()=>ut(()=>import("./index-C947zURI.js"),__vite__mapDeps([51,21,22,52,53,9,10,5,6,47,37,54,15])).then(i=>({default:i.WasmCodeSplit}))),Jpe=T.lazy(()=>ut(()=>import("./index-CF4RJ3VA.js"),__vite__mapDeps([55,22,18,43,56])).then(i=>({default:i.Performance}))),Zpe=T.lazy(()=>ut(()=>import("./index-BIkx7MZA.js"),__vite__mapDeps([57,21,22,52,53,26,58])).then(i=>({default:i.SubpackageCollect}))),ege=()=>P.jsx("div",{className:"routes-container",children:P.jsx(T.Suspense,{fallback:P.jsx(vP,{}),children:P.jsxs(Lue,{children:[P.jsx(lt,{path:"/",element:P.jsx(Ope,{})}),P.jsx(lt,{path:"/integration_assistant",element:P.jsx(Vpe,{})}),P.jsx(lt,{path:"/integration_assistant/mode/:modeKey",element:P.jsx(Qpe,{})}),P.jsx(lt,{path:"/integration_assistant/:capabilityKey",element:P.jsx(Kpe,{})}),P.jsx(lt,{path:"/project_overview",element:P.jsx(Wpe,{})}),P.jsx(lt,{path:"/project_detail",element:P.jsx(hh,{to:"/project_overview",replace:!0})}),P.jsx(lt,{path:"/basic_debug_guide",element:P.jsx(Bpe,{})}),P.jsx(lt,{path:"/debug_setting",element:P.jsx(zpe,{})}),P.jsx(lt,{path:"/launch_mode",element:P.jsx(qpe,{})}),P.jsx(lt,{path:"/upload_publish",element:P.jsx(Upe,{})}),P.jsx(lt,{path:"/version_upload",element:P.jsx(hh,{to:"/upload_publish",replace:!0})}),P.jsx(lt,{path:"/precheck_code",element:P.jsx(hh,{to:"/upload_publish",replace:!0})}),P.jsx(lt,{path:"/network_diagnostics",element:P.jsx(Gpe,{})}),P.jsx(lt,{path:"/manual_connect",element:P.jsx(Xpe,{})}),P.jsx(lt,{path:"/changelog",element:P.jsx(Hpe,{})}),P.jsx(lt,{path:"/wasm_split",element:P.jsx(Ype,{})}),P.jsx(lt,{path:"/performance",element:P.jsx(Jpe,{})}),P.jsx(lt,{path:"/subpackage_collect",element:P.jsx(Zpe,{})})]})})});function tge(){Fk();const{state:{loading:i,error:e,user:n}}=mn(),{topErrorItems:r,updateGameDetailTopErrors:o,updateConfigTopErrors:s,updateGameDetailAccessErrors:c}=Ide(),{fetchGameDetail:u}=Nde({onSuccess:o,updateGameDetailAccessErrors:c}),{isServerError:p,serverErrorMsg:g}=Ade({fetchGameDetail:u,updateConfigTopErrors:s}),y=Il();return Lde({onResourceChange:u}),T.useEffect(()=>{const v=async S=>{if(S.status!=="update_wasm_split_config_done")return;const D=await Zi({url:"/game/config",method:"GET"});D.error||s({currentUser:n,checkResult:D.data?.checkResult})};return _e.on("unitySplitStatus",v),()=>{_e.off("unitySplitStatus",v)}},[s,n]),p&&!i.visible?P.jsxs("div",{className:"server-error-container",children:[P.jsx(wde,{}),P.jsx("div",{className:"server-error-text",children:g})]}):P.jsxs(ode,{children:[P.jsx(fpe,{items:r,fallbackErrorText:e.text}),P.jsx(dpe,{enabled:!y&&!i.visible&&!p}),P.jsx(vpe,{}),P.jsx(Rpe,{}),P.jsxs("div",{className:"main-layout",children:[P.jsx(upe,{}),P.jsxs("div",{className:"content-wrapper",children:[P.jsx(gpe,{}),P.jsx(ege,{})]})]}),P.jsx(vP,{})]})}Lce();x_.createRoot(document.getElementById("root")).render(P.jsx(Qle,{children:P.jsx(Fce,{children:P.jsx(tge,{})})}));export{Fh as $,Jde as A,tt as B,Dl as C,bP as D,tm as E,Xt as F,vi as G,Bn as H,Zx as I,m as J,lr as K,jr as L,fe as M,Vs as N,em as O,hpe as P,lC as Q,k as R,ko as S,Qe as T,Mr as U,bi as V,Zh as W,Dge as X,_ge as Y,TP as Z,xe as _,pn as a,gl as a$,dh as a0,or as a1,_e as a2,Il as a3,Tm as a4,_P as a5,Ege as a6,$pe as a7,Gt as a8,cr as a9,$2 as aA,_h as aB,t1 as aC,N2 as aD,uE as aE,Th as aF,n1 as aG,CT as aH,ct as aI,oo as aJ,Or as aK,pm as aL,mi as aM,uo as aN,_n as aO,ik as aP,so as aQ,C0 as aR,gT as aS,Mh as aT,yl as aU,w$ as aV,ta as aW,$T as aX,Hh as aY,na as aZ,e0 as a_,Zt as aa,Hle as ab,Lr as ac,Gn as ad,Ys as ae,nr as af,po as ag,Ki as ah,oge as ai,sge as aj,Nr as ak,pge as al,uge as am,bl as an,dge as ao,age as ap,cge as aq,lge as ar,YC as as,ci as at,ir as au,Xe as av,hT as aw,hn as ax,Jh as ay,R2 as az,mpe as b,AI as b$,P$ as b0,x0 as b1,OC as b2,TC as b3,mC as b4,s2 as b5,ul as b6,hl as b7,Jt as b8,Vh as b9,kC as bA,HC as bB,ek as bC,ml as bD,Bh as bE,WT as bF,Sl as bG,kl as bH,el as bI,rr as bJ,qT as bK,J0 as bL,Wh as bM,U0 as bN,sT as bO,N_ as bP,v$ as bQ,Y0 as bR,P0 as bS,ZT as bT,di as bU,ige as bV,r2 as bW,RS as bX,EC as bY,fge as bZ,NI as b_,_C as ba,jh as bb,$0 as bc,il as bd,Kh as be,p0 as bf,I_ as bg,G0 as bh,zC as bi,C$ as bj,k$ as bk,qC as bl,tr as bm,IT as bn,yge as bo,im as bp,zr as bq,xn as br,N$ as bs,PT as bt,vl as bu,sm as bv,XC as bw,_0 as bx,iT as by,oT as bz,Nl as c,Qi as c0,TI as c1,bge as c2,aT as c3,Vx as c4,p2 as c5,tl as c6,JR as c7,pI as c8,hge as c9,km as ca,mge as cb,Ji as cc,Zi as d,Wn as e,Fr as f,$m as g,$ce as h,x as i,P as j,_o as k,Im as l,nm as m,JC as n,Gr as o,Un as p,Tge as q,T as r,kce as s,Ie as t,mn as u,Pge as v,Wt as w,b1 as x,Rt as y,X as z};