shopify 3.93.2 → 3.94.1

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 (111) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/index-Bm_GpKQW.js +51 -0
  2. package/dist/assets/dev-console/index.html +1 -1
  3. package/dist/assets/hydrogen/starter/CHANGELOG.md +0 -64
  4. package/dist/assets/hydrogen/starter/app/components/Aside.tsx +2 -4
  5. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +3 -6
  6. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +23 -117
  7. package/dist/assets/hydrogen/starter/app/components/Header.tsx +3 -3
  8. package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +4 -24
  9. package/dist/assets/hydrogen/starter/app/components/ProductPrice.tsx +1 -1
  10. package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +53 -14
  11. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +4 -11
  12. package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +1 -1
  13. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +2 -2
  14. package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +1 -1
  15. package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +14 -0
  16. package/dist/assets/hydrogen/starter/package.json +5 -5
  17. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +11 -0
  18. package/dist/assets/hydrogen/starter/vite.config.ts +1 -1
  19. package/dist/assets/hydrogen/vite/vite.config.js +1 -1
  20. package/dist/{chunk-5FCKEHCK.js → chunk-3CRQIN6A.js} +154 -154
  21. package/dist/{chunk-4VZV4LQX.js → chunk-3TG7H626.js} +66 -66
  22. package/dist/chunk-52KHWFYF.js +1 -0
  23. package/dist/{chunk-IG47ZDRU.js → chunk-6OKIHCZG.js} +1 -1
  24. package/dist/chunk-7FYGRWMW.js +415 -0
  25. package/dist/{chunk-MX6WWR5F.js → chunk-D24XVLOA.js} +16 -16
  26. package/dist/chunk-EU23C3Y3.js +3 -0
  27. package/dist/chunk-FU2Y2M3M.js +5 -0
  28. package/dist/chunk-JBSYWYIP.js +2 -0
  29. package/dist/chunk-QYR5VPQA.js +4 -0
  30. package/dist/{chunk-XVFYDYZA.js → chunk-SVA22NZQ.js} +209 -211
  31. package/dist/cli/commands/config/autoupgrade/constants.d.ts +5 -0
  32. package/dist/cli/commands/config/autoupgrade/constants.js +6 -0
  33. package/dist/cli/commands/config/autoupgrade/off.d.ts +7 -0
  34. package/dist/cli/commands/config/autoupgrade/off.js +22 -0
  35. package/dist/cli/commands/config/autoupgrade/on.d.ts +7 -0
  36. package/dist/cli/commands/config/autoupgrade/on.js +22 -0
  37. package/dist/cli/commands/config/autoupgrade/status.d.ts +7 -0
  38. package/dist/cli/commands/config/autoupgrade/status.js +30 -0
  39. package/dist/cli/commands/docs/generate.d.ts +1 -1
  40. package/dist/cli/commands/docs/generate.js +6 -3
  41. package/dist/cli/commands/upgrade.js +3 -1
  42. package/dist/cli/services/kitchen-sink/static.js +1 -1
  43. package/dist/configs/all.yml +3 -0
  44. package/dist/configs/recommended.yml +3 -0
  45. package/dist/data/filters.json +30 -0
  46. package/dist/data/objects.json +17 -1
  47. package/dist/data/setting.json +25 -0
  48. package/dist/data/shopify_system_translations.json +29 -6
  49. package/dist/error-handler-YQEGKTYS.js +1 -0
  50. package/dist/hooks/postrun.js +1 -1
  51. package/dist/hooks/prerun.js +1 -1
  52. package/dist/{http-proxy-node16-DSQMBVDI.js → http-proxy-node16-TTURN6MD.js} +1 -1
  53. package/dist/index.js +1117 -1121
  54. package/dist/lib-3WHF5XD3.js +1 -0
  55. package/dist/{local-WHQ3ZS4K.js → local-J5FE2ICC.js} +1 -1
  56. package/dist/{morph-Q32V442A.js → morph-DQREIZD2.js} +1 -1
  57. package/dist/node-package-manager-AKAMTDCS.js +1 -0
  58. package/dist/path-HUAU3YBW.js +1 -0
  59. package/dist/tsconfig.tsbuildinfo +1 -1
  60. package/dist/{ui-GZ7DOSHP.js → ui-65JEOETJ.js} +1 -1
  61. package/dist/{workerd-LJU6AVMQ.js → workerd-2QD5AUPI.js} +1 -1
  62. package/oclif.manifest.json +65 -4
  63. package/package.json +8 -7
  64. package/dist/assets/dev-console/extensions/dev-console/assets/index-BnXVL6nA.js +0 -78
  65. package/dist/chunk-4QL77VYJ.js +0 -415
  66. package/dist/chunk-DDTYWTF2.js +0 -1
  67. package/dist/chunk-FYQIRCLV.js +0 -5
  68. package/dist/chunk-NOSKVZWJ.js +0 -2
  69. package/dist/chunk-QJEBL3WX.js +0 -4
  70. package/dist/cli/commands/store/auth.d.ts +0 -15
  71. package/dist/cli/commands/store/auth.js +0 -46
  72. package/dist/cli/commands/store/execute.d.ts +0 -21
  73. package/dist/cli/commands/store/execute.js +0 -89
  74. package/dist/cli/services/store/auth/callback.d.ts +0 -8
  75. package/dist/cli/services/store/auth/callback.js +0 -140
  76. package/dist/cli/services/store/auth/config.d.ts +0 -6
  77. package/dist/cli/services/store/auth/config.js +0 -15
  78. package/dist/cli/services/store/auth/existing-scopes.d.ts +0 -5
  79. package/dist/cli/services/store/auth/existing-scopes.js +0 -40
  80. package/dist/cli/services/store/auth/index.d.ts +0 -18
  81. package/dist/cli/services/store/auth/index.js +0 -88
  82. package/dist/cli/services/store/auth/pkce.d.ts +0 -36
  83. package/dist/cli/services/store/auth/pkce.js +0 -49
  84. package/dist/cli/services/store/auth/recovery.d.ts +0 -4
  85. package/dist/cli/services/store/auth/recovery.js +0 -17
  86. package/dist/cli/services/store/auth/result.d.ts +0 -24
  87. package/dist/cli/services/store/auth/result.js +0 -39
  88. package/dist/cli/services/store/auth/scopes.d.ts +0 -4
  89. package/dist/cli/services/store/auth/scopes.js +0 -53
  90. package/dist/cli/services/store/auth/session-lifecycle.d.ts +0 -3
  91. package/dist/cli/services/store/auth/session-lifecycle.js +0 -69
  92. package/dist/cli/services/store/auth/session-store.d.ts +0 -32
  93. package/dist/cli/services/store/auth/session-store.js +0 -127
  94. package/dist/cli/services/store/auth/token-client.d.ts +0 -40
  95. package/dist/cli/services/store/auth/token-client.js +0 -95
  96. package/dist/cli/services/store/execute/admin-context.d.ts +0 -11
  97. package/dist/cli/services/store/execute/admin-context.js +0 -41
  98. package/dist/cli/services/store/execute/admin-transport.d.ts +0 -6
  99. package/dist/cli/services/store/execute/admin-transport.js +0 -42
  100. package/dist/cli/services/store/execute/index.d.ts +0 -13
  101. package/dist/cli/services/store/execute/index.js +0 -22
  102. package/dist/cli/services/store/execute/request.d.ts +0 -21
  103. package/dist/cli/services/store/execute/request.js +0 -88
  104. package/dist/cli/services/store/execute/result.d.ts +0 -3
  105. package/dist/cli/services/store/execute/result.js +0 -29
  106. package/dist/cli/services/store/execute/targets.d.ts +0 -18
  107. package/dist/cli/services/store/execute/targets.js +0 -21
  108. package/dist/error-handler-GZ2I7BG5.js +0 -1
  109. package/dist/lib-GGVLMXY5.js +0 -1
  110. package/dist/node-package-manager-6XMPTNUI.js +0 -1
  111. package/dist/path-IT7KPARG.js +0 -1
@@ -1,78 +0,0 @@
1
- function mh(o,u){for(var i=0;i<u.length;i++){const a=u[i];if(typeof a!="string"&&!Array.isArray(a)){for(const f in a)if(f!=="default"&&!(f in o)){const p=Object.getOwnPropertyDescriptor(a,f);p&&Object.defineProperty(o,f,p.get?p:{enumerable:!0,get:()=>a[f]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))a(f);new MutationObserver(f=>{for(const p of f)if(p.type==="childList")for(const h of p.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&a(h)}).observe(document,{childList:!0,subtree:!0});function i(f){const p={};return f.integrity&&(p.integrity=f.integrity),f.referrerPolicy&&(p.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?p.credentials="include":f.crossOrigin==="anonymous"?p.credentials="omit":p.credentials="same-origin",p}function a(f){if(f.ep)return;f.ep=!0;const p=i(f);fetch(f.href,p)}})();function Vs(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var hs={exports:{}},$r={},ms={exports:{}},oe={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Zc;function vh(){if(Zc)return oe;Zc=1;var o=Symbol.for("react.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),E=Symbol.iterator;function S(x){return x===null||typeof x!="object"?null:(x=E&&x[E]||x["@@iterator"],typeof x=="function"?x:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,L={};function k(x,O,te){this.props=x,this.context=O,this.refs=L,this.updater=te||R}k.prototype.isReactComponent={},k.prototype.setState=function(x,O){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,O,"setState")},k.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function U(){}U.prototype=k.prototype;function K(x,O,te){this.props=x,this.context=O,this.refs=L,this.updater=te||R}var B=K.prototype=new U;B.constructor=K,P(B,k.prototype),B.isPureReactComponent=!0;var $=Array.isArray,q=Object.prototype.hasOwnProperty,pe={current:null},ye={key:!0,ref:!0,__self:!0,__source:!0};function ie(x,O,te){var ne,ae={},ce=null,we=null;if(O!=null)for(ne in O.ref!==void 0&&(we=O.ref),O.key!==void 0&&(ce=""+O.key),O)q.call(O,ne)&&!ye.hasOwnProperty(ne)&&(ae[ne]=O[ne]);var he=arguments.length-2;if(he===1)ae.children=te;else if(1<he){for(var Ne=Array(he),lt=0;lt<he;lt++)Ne[lt]=arguments[lt+2];ae.children=Ne}if(x&&x.defaultProps)for(ne in he=x.defaultProps,he)ae[ne]===void 0&&(ae[ne]=he[ne]);return{$$typeof:o,type:x,key:ce,ref:we,props:ae,_owner:pe.current}}function ze(x,O){return{$$typeof:o,type:x.type,key:O,ref:x.ref,props:x.props,_owner:x._owner}}function je(x){return typeof x=="object"&&x!==null&&x.$$typeof===o}function ge(x){var O={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(te){return O[te]})}var xe=/\/+/g;function Ee(x,O){return typeof x=="object"&&x!==null&&x.key!=null?ge(""+x.key):O.toString(36)}function se(x,O,te,ne,ae){var ce=typeof x;(ce==="undefined"||ce==="boolean")&&(x=null);var we=!1;if(x===null)we=!0;else switch(ce){case"string":case"number":we=!0;break;case"object":switch(x.$$typeof){case o:case u:we=!0}}if(we)return we=x,ae=ae(we),x=ne===""?"."+Ee(we,0):ne,$(ae)?(te="",x!=null&&(te=x.replace(xe,"$&/")+"/"),se(ae,O,te,"",function(lt){return lt})):ae!=null&&(je(ae)&&(ae=ze(ae,te+(!ae.key||we&&we.key===ae.key?"":(""+ae.key).replace(xe,"$&/")+"/")+x)),O.push(ae)),1;if(we=0,ne=ne===""?".":ne+":",$(x))for(var he=0;he<x.length;he++){ce=x[he];var Ne=ne+Ee(ce,he);we+=se(ce,O,te,Ne,ae)}else if(Ne=S(x),typeof Ne=="function")for(x=Ne.call(x),he=0;!(ce=x.next()).done;)ce=ce.value,Ne=ne+Ee(ce,he++),we+=se(ce,O,te,Ne,ae);else if(ce==="object")throw O=String(x),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.");return we}function ve(x,O,te){if(x==null)return x;var ne=[],ae=0;return se(x,ne,"","",function(ce){return O.call(te,ce,ae++)}),ne}function de(x){if(x._status===-1){var O=x._result;O=O(),O.then(function(te){(x._status===0||x._status===-1)&&(x._status=1,x._result=te)},function(te){(x._status===0||x._status===-1)&&(x._status=2,x._result=te)}),x._status===-1&&(x._status=0,x._result=O)}if(x._status===1)return x._result.default;throw x._result}var re={current:null},F={transition:null},Z={ReactCurrentDispatcher:re,ReactCurrentBatchConfig:F,ReactCurrentOwner:pe};function H(){throw Error("act(...) is not supported in production builds of React.")}return oe.Children={map:ve,forEach:function(x,O,te){ve(x,function(){O.apply(this,arguments)},te)},count:function(x){var O=0;return ve(x,function(){O++}),O},toArray:function(x){return ve(x,function(O){return O})||[]},only:function(x){if(!je(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},oe.Component=k,oe.Fragment=i,oe.Profiler=f,oe.PureComponent=K,oe.StrictMode=a,oe.Suspense=d,oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,oe.act=H,oe.cloneElement=function(x,O,te){if(x==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var ne=P({},x.props),ae=x.key,ce=x.ref,we=x._owner;if(O!=null){if(O.ref!==void 0&&(ce=O.ref,we=pe.current),O.key!==void 0&&(ae=""+O.key),x.type&&x.type.defaultProps)var he=x.type.defaultProps;for(Ne in O)q.call(O,Ne)&&!ye.hasOwnProperty(Ne)&&(ne[Ne]=O[Ne]===void 0&&he!==void 0?he[Ne]:O[Ne])}var Ne=arguments.length-2;if(Ne===1)ne.children=te;else if(1<Ne){he=Array(Ne);for(var lt=0;lt<Ne;lt++)he[lt]=arguments[lt+2];ne.children=he}return{$$typeof:o,type:x.type,key:ae,ref:ce,props:ne,_owner:we}},oe.createContext=function(x){return x={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},x.Provider={$$typeof:p,_context:x},x.Consumer=x},oe.createElement=ie,oe.createFactory=function(x){var O=ie.bind(null,x);return O.type=x,O},oe.createRef=function(){return{current:null}},oe.forwardRef=function(x){return{$$typeof:g,render:x}},oe.isValidElement=je,oe.lazy=function(x){return{$$typeof:v,_payload:{_status:-1,_result:x},_init:de}},oe.memo=function(x,O){return{$$typeof:m,type:x,compare:O===void 0?null:O}},oe.startTransition=function(x){var O=F.transition;F.transition={};try{x()}finally{F.transition=O}},oe.unstable_act=H,oe.useCallback=function(x,O){return re.current.useCallback(x,O)},oe.useContext=function(x){return re.current.useContext(x)},oe.useDebugValue=function(){},oe.useDeferredValue=function(x){return re.current.useDeferredValue(x)},oe.useEffect=function(x,O){return re.current.useEffect(x,O)},oe.useId=function(){return re.current.useId()},oe.useImperativeHandle=function(x,O,te){return re.current.useImperativeHandle(x,O,te)},oe.useInsertionEffect=function(x,O){return re.current.useInsertionEffect(x,O)},oe.useLayoutEffect=function(x,O){return re.current.useLayoutEffect(x,O)},oe.useMemo=function(x,O){return re.current.useMemo(x,O)},oe.useReducer=function(x,O,te){return re.current.useReducer(x,O,te)},oe.useRef=function(x){return re.current.useRef(x)},oe.useState=function(x){return re.current.useState(x)},oe.useSyncExternalStore=function(x,O,te){return re.current.useSyncExternalStore(x,O,te)},oe.useTransition=function(){return re.current.useTransition()},oe.version="18.3.1",oe}var qc;function Hs(){return qc||(qc=1,ms.exports=vh()),ms.exports}/**
10
- * @license React
11
- * react-jsx-runtime.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var Jc;function gh(){if(Jc)return $r;Jc=1;var o=Hs(),u=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function h(g,d,m){var v,E={},S=null,R=null;m!==void 0&&(S=""+m),d.key!==void 0&&(S=""+d.key),d.ref!==void 0&&(R=d.ref);for(v in d)a.call(d,v)&&!p.hasOwnProperty(v)&&(E[v]=d[v]);if(g&&g.defaultProps)for(v in d=g.defaultProps,d)E[v]===void 0&&(E[v]=d[v]);return{$$typeof:u,type:g,key:S,ref:R,props:E,_owner:f.current}}return $r.Fragment=i,$r.jsx=h,$r.jsxs=h,$r}var bc;function yh(){return bc||(bc=1,hs.exports=gh()),hs.exports}var M=yh();const Eh="Developer Console",wh="Close Developer Console",Ch={extensions:"Extensions"},Sh={title:Eh,close:wh,nav:Ch},xh="_OuterContainer_15qjc_1",_h="_DevTool_15qjc_7",kh="_Header_15qjc_32",Nh="_HeaderContent_15qjc_42",Pf=window.top&&new URLSearchParams(location.search).get("app-preview")==="true";var I=Hs();const Q=Vs(I),Th=mh({__proto__:null,default:Q},[I]);function Ph(o,u){const i=u.split(".").reduce((a,f)=>{if(a!=null&&typeof a=="object")return a[f]},o);return typeof i=="string"?i:void 0}function Rh(o,u){if(!u)return o;if(!Object.values(u).some(g=>Q.isValidElement(g)))return o.replace(/\{(\w+)\}/g,(g,d)=>d in u?String(u[d]):g);const a=[],f=/\{(\w+)\}/g;let p=0,h;for(;(h=f.exec(o))!==null;){h.index>p&&a.push(o.slice(p,h.index));const g=h[1];a.push(g in u?u[g]:h[0]),p=f.lastIndex}return p<o.length&&a.push(o.slice(p)),Q.createElement(Q.Fragment,null,...a)}function Lt({fallback:o}){return[{translate(u,i){const a=Ph(o,u);return a==null?u:Rh(a,i)}}]}var Ws=function(u){return Q.createElement("svg",Object.assign({viewBox:"0 0 20 20"},u),Q.createElement("path",{fillRule:"evenodd",d:"M6.515 4.75a2 2 0 0 1 1.985-1.75h3a2 2 0 0 1 1.985 1.75h.265a2.25 2.25 0 0 1 2.25 2.25v7.75a2.25 2.25 0 0 1-2.25 2.25h-7.5a2.25 2.25 0 0 1-2.25-2.25v-7.75a2.25 2.25 0 0 1 2.25-2.25h.265Zm1.985-.25h3a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5Zm-1.987 1.73.002.02h-.265a.75.75 0 0 0-.75.75v7.75c0 .414.336.75.75.75h7.5a.75.75 0 0 0 .75-.75v-7.75a.75.75 0 0 0-.75-.75h-.265a2 2 0 0 1-1.985 1.75h-3a2 2 0 0 1-1.987-1.77Z"}))};Ws.displayName="ClipboardIcon";var Rf=function(u){return Q.createElement("svg",Object.assign({viewBox:"0 0 20 20"},u),Q.createElement("path",{fillRule:"evenodd",d:"M6.52 3.83a4.768 4.768 0 0 1 6.423 5.374l2.783 2.782a2.644 2.644 0 0 1-3.74 3.74l-2.782-2.782a4.768 4.768 0 0 1-5.373-6.424.75.75 0 0 1 1.228-.256l1.646 1.647a.853.853 0 0 0 1.206-1.206l-1.646-1.646a.75.75 0 0 1 .256-1.228Zm1.809 1.17.643.644a2.353 2.353 0 1 1-3.327 3.327l-.644-.644a3.268 3.268 0 0 0 4.216 3.069.75.75 0 0 1 .748.187l3.082 3.082a1.144 1.144 0 1 0 1.618-1.618l-3.082-3.082a.75.75 0 0 1-.187-.748 3.268 3.268 0 0 0-3.067-4.217Z"}))};Rf.displayName="WrenchIcon";var Lf=function(u){return Q.createElement("svg",Object.assign({viewBox:"0 0 20 20"},u),Q.createElement("path",{d:"M12.72 13.78a.75.75 0 1 0 1.06-1.06l-2.72-2.72 2.72-2.72a.75.75 0 0 0-1.06-1.06l-2.72 2.72-2.72-2.72a.75.75 0 0 0-1.06 1.06l2.72 2.72-2.72 2.72a.75.75 0 1 0 1.06 1.06l2.72-2.72 2.72 2.72Z"}))};Lf.displayName="XIcon";function Lh({children:o}){const[u]=Lt({fallback:Sh});return M.jsx("div",{className:xh,children:M.jsxs("div",{className:_h,children:[!Pf&&M.jsx("header",{className:kh,children:M.jsxs("section",{className:Nh,children:[M.jsx(Rf,{}),M.jsxs("h1",{children:[" ",u.translate("title")]})]})}),M.jsx("main",{children:o})]})})}const Mh="_Intro_1aphs_1",Ih="_ExtensionList_1aphs_9",Oh="_isAppPreview_1aphs_23",zh="_Empty_1aphs_45",jh="View mobile",Dh={viewMobile:jh},Ah="_Title_mda4k_1",Fh=["localization","name","description"];function Uh(o){const u=new Map;return Mf(o,(i,a)=>u.set(i,a)),u}function Mf(o,u,i){Object.keys(o).forEach(a=>{const f=o[a],p=i?`${i}.${a}`:a;f!=null&&(typeof f=="string"?u(p,f):Mf(f,u,p))})}function Bh(o,u){const i=vs(o.translations[o.defaultLocale]),a=Ps(u),f=vs(o.translations[a]),p=vs(o.translations[u]);return Vh(new Map([...i,...f,...p]))}function vs(o){return o?Uh(o):new Map}function $h(o,u){const i=new Set(Object.keys(o.translations));if(i.size===0||i.has(u.user))return u.user;const a=Ps(u.user);if(i.has(a))return a;if(u.shop&&i.has(u.shop))return u.shop;const f=u.shop&&Ps(u.shop);return f&&i.has(f)?f:o.defaultLocale}function Vh(o){const u={};for(const[i,a]of o)u[i]=a;return u}function Ps(o){return o.split("-")[0]}function Hh(o,u){if(!o||!u)return;if(Rs(o))return o;const i=$h(o,u),a=JSON.stringify(Bh(o,i));return{extensionLocale:i,translations:a,lastUpdated:o.lastUpdated}}function Rs(o){return typeof o.translations=="string"&&Object.prototype.hasOwnProperty.call(o,"extensionLocale")}const ef=()=>{};function Wh(o,u,i){const a=new Map(u.map(p=>[i(p),p]));return[...o.map(p=>{const h=i(p);if(a.has(h)){const g=a.get(h);return a.delete(h),g}else return p}),...a.values()]}function ol(o,u,i){const a=[],f=new Proxy({},{get:(d,m)=>(a.push(m),f)});u(f);const p={...o};let h=p;const g=a.pop();for(const d of a)h[d]={...h[d]},h=h[d];return h[g]=i,p}function gs(o){const u=new URL(o.url);return u.searchParams.set("lastUpdated",String(o.lastUpdated)),u.toString()}const Qh=["admin","checkout","post_purchase","point_of_sale","customer-accounts"];function If(o){return!!o&&Qh.includes(o)}function Ls(o){const u=o;return u.type==="ui_extension"&&Array.isArray(u.extensionPoints)&&u.extensionPoints.every(i=>typeof i=="object")}class Of{constructor(u={}){this.EVENT_THAT_WILL_MUTATE_THE_SERVER=["update"],this.listeners={},this.connectionListeners={close:new Set,open:new Set},this.connected=!1,this.uiExtensionsByUuid={},this.id=(Math.random()+1).toString(36).substring(7),this.options=zf({...u,connection:{automaticConnect:!0,protocols:[],...u.connection??{}}}),this.setupConnection(this.options.connection.automaticConnect)}connect(u={connection:{}}){const i=Kh(this.options,u);return JSON.stringify(i)!==JSON.stringify(this.options)&&(this.options=i,this.setupConnection(!0)),()=>{this.closeConnection()}}on(u,i){return this.listeners[u]||(this.listeners[u]=new Set),this.listeners[u].add(i),()=>this.listeners[u].delete(i)}persist(u,i){var a,f,p;if(this.EVENT_THAT_WILL_MUTATE_THE_SERVER.includes(u))return this.options.locales?((f=i.extensions)==null||f.forEach(h=>{Fh.forEach(g=>{var d;Ls(h)&&((d=h.extensionPoints)==null||d.forEach(m=>{delete m[g]})),delete h[g]})}),(p=this.connection)==null?void 0:p.send(JSON.stringify({event:u,data:i}))):(a=this.connection)==null?void 0:a.send(JSON.stringify({event:u,data:i}));console.warn('You tried to use "persist" with a dispatch event. Please use the "emit" method instead.')}emit(...u){var f;const i=u[0],a=u.length>1?u[1]:void 0;if(this.EVENT_THAT_WILL_MUTATE_THE_SERVER.includes(i))return console.warn(`You tried to use "emit" with a the "${i}" event. Please use the "persist" method instead to persist changes to the server.`);(f=this.connection)==null||f.send(JSON.stringify({event:"dispatch",data:{type:i,payload:a}}))}onConnection(u,i){return this.connectionListeners[u].add(i),()=>this.connectionListeners[u].delete(i)}initializeConnection(){var u;this.connection&&(this.connection.addEventListener("open",i=>{this.connected=!0,this.connectionListeners.open.forEach(a=>a(i))}),this.connection.addEventListener("close",i=>{this.connected=!1,this.connectionListeners.close.forEach(a=>a(i))}),(u=this.connection)==null||u.addEventListener("message",i=>{var a,f;try{const{event:p,data:h}=JSON.parse(i.data),g=h;if(p==="dispatch"){const{type:m,payload:v}=g;(a=this.listeners[m])==null||a.forEach(E=>E(v));return}const d=g.extensions?Yh(g.extensions,this.options.surface):g.extensions;(f=this.listeners[p])==null||f.forEach(m=>{m({...g,extensions:this._getLocalizedExtensions(d)})})}catch(p){console.error("[ExtensionServer] Something went wrong while parsing a server message:",p instanceof Error?p.message:p)}}))}setupConnection(u=!0){this.options.connection.url&&u&&(this.closeConnection(),this.connection=new WebSocket(this.options.connection.url,this.options.connection.protocols),this.initializeConnection())}closeConnection(){var u;this.connected&&((u=this.connection)==null||u.close())}_getLocalizedExtensions(u){return u==null?void 0:u.map(i=>{var g,d,m,v,E;if(!this.options.locales||!Ls(i))return i;const f=((d=(g=this.uiExtensionsByUuid[i.uuid])==null?void 0:g.localization)==null?void 0:d.lastUpdated)!==((m=i.localization)==null?void 0:m.lastUpdated)?Hh(i.localization,this.options.locales):((v=this.uiExtensionsByUuid[i.uuid])==null?void 0:v.localization)??i.localization,p=f&&Rs(f)?JSON.parse(f.translations):f,h={...i,localization:f,name:p&&i.name.startsWith("t:")?this._getLocalizedValue(p,i.name):i.name,...i.description&&{description:p&&((E=i.description)!=null&&E.startsWith("t:"))?this._getLocalizedValue(p,i.description):i.description}};return this.uiExtensionsByUuid[i.uuid]={...h,extensionPoints:this._getLocalizedExtensionPoints(f,h)},this.uiExtensionsByUuid[i.uuid]})}_getLocalizedExtensionPoints(u,{extensionPoints:i,name:a,description:f}){return!u||!Rs(u)?i:i==null?void 0:i.map(p=>({...p,localization:u,name:a,...f&&{description:f}}))}_getLocalizedValue(u,i){const a=i.replace("t:","");return u[a]||i}}function Kh(o,u){return zf({...o,...u,connection:{...o.connection,...u.connection}})}function zf(o){return If(o.surface)||delete o.surface,o}function Yh(o,u){return u?o.filter(i=>i.surface===u?!0:Array.isArray(i.extensionPoints)?i.extensionPoints.filter(p=>typeof p=="string"?!1:p.surface===u).length>0:!1):o}function Gh(o){return{type:"connected",payload:o}}function Xh(o){return{type:"update",payload:o}}function Zh(o){return{type:"refresh",payload:o}}function qh(o){return{type:"focus",payload:o}}function Jh(o){return{type:"unfocus",payload:o}}const jf={extensions:[],store:""};function bh(o,u){switch(u.type){case"connected":{const i=(u.payload.extensions??[]).map(a=>(Object.keys(a.assets).forEach(f=>a.assets[f].url=gs(a.assets[f])),a));return{...o,store:u.payload.store,app:u.payload.app,extensions:i}}case"update":{const i=(u.payload.extensions??[]).map(a=>(Object.keys(a.assets).forEach(f=>a.assets[f].url=gs(a.assets[f])),a));return{...o,app:{...o.app??{},...u.payload.app??{}},extensions:Wh(o.extensions,i,({uuid:a})=>a)}}case"refresh":return{...o,extensions:o.extensions.map(i=>{if(u.payload.some(({uuid:a})=>i.uuid===a)){const a={};return Object.keys(i.assets).forEach(f=>{const p={...i.assets[f]};p.lastUpdated=Date.now(),p.url=gs(p),a[f]=p}),ol(i,f=>f.assets,a)}return i})};case"focus":return{...o,extensions:o.extensions.map(i=>u.payload.some(({uuid:a})=>i.uuid===a)?ol(i,a=>a.development.focused,!0):i.development.focused?ol(i,a=>a.development.focused,!1):i)};case"unfocus":return{...o,extensions:o.extensions.map(i=>i.development.focused?ol(i,a=>a.development.focused,!1):i)};default:return o}}const em={connect:ef,dispatch:ef,state:jf,client:new Of},Df=I.createContext(em),tm=typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),tf=tm?I.useEffect:I.useLayoutEffect;function nm(){return I.useReducer(bh,jf)}function rm({children:o,options:u}){const[i,a]=nm(),[f,p]=I.useState(u),[h]=I.useState(()=>new Of),g=I.useCallback((m=f)=>{p(m)},[f]);tf(()=>h.connect(f),[h,f]),tf(()=>{const m=[h.on("update",v=>a(Xh(v))),h.on("connected",v=>a(Gh(v))),h.on("refresh",v=>a(Zh(v))),h.on("focus",v=>a(qh(v))),h.on("unfocus",v=>a(Jh(v)))];return()=>m.forEach(v=>v())},[a]);const d=I.useMemo(()=>({dispatch:a,state:i,connect:g,client:h}),[a,g,i,h]);return M.jsx(Df.Provider,{value:d,children:o})}const Kr=()=>I.useContext(Df);function Qs(){const o=Kr(),u=o.state.store,i=o.state.app;return I.useMemo(()=>({store:u,app:i}),[JSON.stringify(i),u])}function Af(){const u=Kr().client.options;return I.useMemo(()=>u,[JSON.stringify(u)])}const om="_Button_s4bwx_1",lm="_WithIcon_s4bwx_12",im="_Icon_s4bwx_15",sm="_Icon_dakzz_1",um="_Muted_dakzz_18",ys={Icon:sm,Muted:um},am="_VisuallyHidden_1p9uv_1",cm={VisuallyHidden:am};function fm({children:o}){return M.jsx("span",{className:cm.VisuallyHidden,children:o})}function ct(...o){return o.filter(Boolean).join(" ")}function Ff({source:o,accessibilityLabel:u,muted:i=!1}){const a=o;return M.jsxs(M.Fragment,{children:[M.jsx(fm,{children:u}),M.jsx("span",{className:ys.Icon,children:M.jsx(a,{className:ct(ys.Svg,i&&ys.Muted),focusable:"false","aria-hidden":"true"})})]})}function Uf({className:o,selected:u,icon:i,children:a,...f}){const p=i?M.jsx("span",{className:im,children:M.jsx(Ff,{source:i.source})}):null;return M.jsxs("button",{...f,className:ct(i&&lm,om,o),"aria-pressed":u,children:[i&&i.position==="left"&&p,M.jsx("span",{children:a}),i&&i.position==="right"&&p]})}const dm="_IconButton_wwtfg_1",pm="_Icon_wwtfg_1";function Ks({className:o,selected:u,source:i,accessibilityLabel:a,...f}){return M.jsx("button",{...f,className:ct(o,dm),"aria-pressed":u,children:M.jsx("span",{className:pm,children:M.jsx(Ff,{source:i,accessibilityLabel:a})})})}const hm="_BodyWrapper_11cpl_1",mm={BodyWrapper:hm},vm="_Backdrop_1yvdu_9",gm={Backdrop:vm};function ym({onClick:o,setClosing:u}){const i=()=>{u(!0)},a=()=>{u(!1),o()};return M.jsx(M.Fragment,{children:M.jsx("div",{className:gm.Backdrop,onClick:o,onMouseDown:i,onMouseUp:a})})}const Em="Close modal",wm={close:Em};function Cm({pressed:o,onClick:u}){const[i]=Lt({fallback:wm});return M.jsx(Ks,{source:Lf,type:"button",onClick:u,selected:o,accessibilityLabel:i.translate("close")})}const Sm="_Container_rwtbo_1",xm="_Dialog_rwtbo_14",_m="_Modal_rwtbo_18",km="_animateFadeUp_rwtbo_40",Nm="_entering_rwtbo_46",Tm="_exiting_rwtbo_46",Pm="_exited_rwtbo_46",Rm="_entered_rwtbo_50",Ge={Container:Sm,Dialog:xm,Modal:_m,"Width-large":"_Width-large_rwtbo_33","Width-small":"_Width-small_rwtbo_36",animateFadeUp:km,entering:Nm,exiting:Tm,exited:Pm,entered:Rm};function Lm(o,u=!0){var i;(i=Mm(o,u))==null||i.focus()}function Mm(o,u=!0){const i='a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled):not([aria-disabled="true"]):not([tabindex="-1"]),*[tabindex]';return!u&&Im(o,i)?o:o.querySelector(i)}function Im(o,u){if(o.matches)return o.matches(u);const i=(o.ownerDocument||document).querySelectorAll(u);let a=i.length;for(;--a>=0&&i.item(a)!==o;)return a>-1}function cl(){return cl=Object.assign?Object.assign.bind():function(o){for(var u=1;u<arguments.length;u++){var i=arguments[u];for(var a in i)({}).hasOwnProperty.call(i,a)&&(o[a]=i[a])}return o},cl.apply(null,arguments)}function Ys(o,u){if(o==null)return{};var i={};for(var a in o)if({}.hasOwnProperty.call(o,a)){if(u.indexOf(a)!==-1)continue;i[a]=o[a]}return i}function Ms(o,u){return Ms=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},Ms(o,u)}function Gs(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,Ms(o,u)}function Om(o,u){return o.classList?!!u&&o.classList.contains(u):(" "+(o.className.baseVal||o.className)+" ").indexOf(" "+u+" ")!==-1}function zm(o,u){o.classList?o.classList.add(u):Om(o,u)||(typeof o.className=="string"?o.className=o.className+" "+u:o.setAttribute("class",(o.className&&o.className.baseVal||"")+" "+u))}function nf(o,u){return o.replace(new RegExp("(^|\\s)"+u+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function jm(o,u){o.classList?o.classList.remove(u):typeof o.className=="string"?o.className=nf(o.className,u):o.setAttribute("class",nf(o.className&&o.className.baseVal||"",u))}var Es={exports:{}},nt={},ws={exports:{}},Cs={};/**
18
- * @license React
19
- * scheduler.production.min.js
20
- *
21
- * Copyright (c) Facebook, Inc. and its affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */var rf;function Dm(){return rf||(rf=1,(function(o){function u(F,Z){var H=F.length;F.push(Z);e:for(;0<H;){var x=H-1>>>1,O=F[x];if(0<f(O,Z))F[x]=Z,F[H]=O,H=x;else break e}}function i(F){return F.length===0?null:F[0]}function a(F){if(F.length===0)return null;var Z=F[0],H=F.pop();if(H!==Z){F[0]=H;e:for(var x=0,O=F.length,te=O>>>1;x<te;){var ne=2*(x+1)-1,ae=F[ne],ce=ne+1,we=F[ce];if(0>f(ae,H))ce<O&&0>f(we,ae)?(F[x]=we,F[ce]=H,x=ce):(F[x]=ae,F[ne]=H,x=ne);else if(ce<O&&0>f(we,H))F[x]=we,F[ce]=H,x=ce;else break e}}return Z}function f(F,Z){var H=F.sortIndex-Z.sortIndex;return H!==0?H:F.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;o.unstable_now=function(){return p.now()}}else{var h=Date,g=h.now();o.unstable_now=function(){return h.now()-g}}var d=[],m=[],v=1,E=null,S=3,R=!1,P=!1,L=!1,k=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function B(F){for(var Z=i(m);Z!==null;){if(Z.callback===null)a(m);else if(Z.startTime<=F)a(m),Z.sortIndex=Z.expirationTime,u(d,Z);else break;Z=i(m)}}function $(F){if(L=!1,B(F),!P)if(i(d)!==null)P=!0,de(q);else{var Z=i(m);Z!==null&&re($,Z.startTime-F)}}function q(F,Z){P=!1,L&&(L=!1,U(ie),ie=-1),R=!0;var H=S;try{for(B(Z),E=i(d);E!==null&&(!(E.expirationTime>Z)||F&&!ge());){var x=E.callback;if(typeof x=="function"){E.callback=null,S=E.priorityLevel;var O=x(E.expirationTime<=Z);Z=o.unstable_now(),typeof O=="function"?E.callback=O:E===i(d)&&a(d),B(Z)}else a(d);E=i(d)}if(E!==null)var te=!0;else{var ne=i(m);ne!==null&&re($,ne.startTime-Z),te=!1}return te}finally{E=null,S=H,R=!1}}var pe=!1,ye=null,ie=-1,ze=5,je=-1;function ge(){return!(o.unstable_now()-je<ze)}function xe(){if(ye!==null){var F=o.unstable_now();je=F;var Z=!0;try{Z=ye(!0,F)}finally{Z?Ee():(pe=!1,ye=null)}}else pe=!1}var Ee;if(typeof K=="function")Ee=function(){K(xe)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,ve=se.port2;se.port1.onmessage=xe,Ee=function(){ve.postMessage(null)}}else Ee=function(){k(xe,0)};function de(F){ye=F,pe||(pe=!0,Ee())}function re(F,Z){ie=k(function(){F(o.unstable_now())},Z)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(F){F.callback=null},o.unstable_continueExecution=function(){P||R||(P=!0,de(q))},o.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ze=0<F?Math.floor(1e3/F):5},o.unstable_getCurrentPriorityLevel=function(){return S},o.unstable_getFirstCallbackNode=function(){return i(d)},o.unstable_next=function(F){switch(S){case 1:case 2:case 3:var Z=3;break;default:Z=S}var H=S;S=Z;try{return F()}finally{S=H}},o.unstable_pauseExecution=function(){},o.unstable_requestPaint=function(){},o.unstable_runWithPriority=function(F,Z){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var H=S;S=F;try{return Z()}finally{S=H}},o.unstable_scheduleCallback=function(F,Z,H){var x=o.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?x+H:x):H=x,F){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=H+O,F={id:v++,callback:Z,priorityLevel:F,startTime:H,expirationTime:O,sortIndex:-1},H>x?(F.sortIndex=H,u(m,F),i(d)===null&&F===i(m)&&(L?(U(ie),ie=-1):L=!0,re($,H-x))):(F.sortIndex=O,u(d,F),P||R||(P=!0,de(q))),F},o.unstable_shouldYield=ge,o.unstable_wrapCallback=function(F){var Z=S;return function(){var H=S;S=Z;try{return F.apply(this,arguments)}finally{S=H}}}})(Cs)),Cs}var of;function Am(){return of||(of=1,ws.exports=Dm()),ws.exports}/**
26
- * @license React
27
- * react-dom.production.min.js
28
- *
29
- * Copyright (c) Facebook, Inc. and its affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var lf;function Fm(){if(lf)return nt;lf=1;var o=Hs(),u=Am();function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,f={};function p(e,t){h(e,t),h(e+"Capture",t)}function h(e,t){for(f[e]=t,e=0;e<t.length;e++)a.add(t[e])}var g=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,m=/^[: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]*$/,v={},E={};function S(e){return d.call(E,e)?!0:d.call(v,e)?!1:m.test(e)?E[e]=!0:(v[e]=!0,!1)}function R(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P(e,t,n,r){if(t===null||typeof t>"u"||R(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function L(e,t,n,r,l,s,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=c}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new L(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];k[t]=new L(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new L(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new L(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){k[e]=new L(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new L(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new L(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new L(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new L(e,5,!1,e.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(U,K);k[t]=new L(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(U,K);k[t]=new L(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(U,K);k[t]=new L(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new L(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new L(e,1,!1,e.toLowerCase(),null,!0,!0)});function B(e,t,n,r){var l=k.hasOwnProperty(t)?k[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(P(t,n,l,r)&&(n=null),r||l===null?S(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var $=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,q=Symbol.for("react.element"),pe=Symbol.for("react.portal"),ye=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),ze=Symbol.for("react.profiler"),je=Symbol.for("react.provider"),ge=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),ve=Symbol.for("react.memo"),de=Symbol.for("react.lazy"),re=Symbol.for("react.offscreen"),F=Symbol.iterator;function Z(e){return e===null||typeof e!="object"?null:(e=F&&e[F]||e["@@iterator"],typeof e=="function"?e:null)}var H=Object.assign,x;function O(e){if(x===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);x=t&&t[1]||""}return`
34
- `+x+e}var te=!1;function ne(e,t){if(!e||te)return"";te=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(T){var r=T}Reflect.construct(e,[],t)}else{try{t.call()}catch(T){r=T}e.call(t.prototype)}else{try{throw Error()}catch(T){r=T}e()}}catch(T){if(T&&r&&typeof T.stack=="string"){for(var l=T.stack.split(`
35
- `),s=r.stack.split(`
36
- `),c=l.length-1,y=s.length-1;1<=c&&0<=y&&l[c]!==s[y];)y--;for(;1<=c&&0<=y;c--,y--)if(l[c]!==s[y]){if(c!==1||y!==1)do if(c--,y--,0>y||l[c]!==s[y]){var w=`
37
- `+l[c].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=c&&0<=y);break}}}finally{te=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?O(e):""}function ae(e){switch(e.tag){case 5:return O(e.type);case 16:return O("Lazy");case 13:return O("Suspense");case 19:return O("SuspenseList");case 0:case 2:case 15:return e=ne(e.type,!1),e;case 11:return e=ne(e.type.render,!1),e;case 1:return e=ne(e.type,!0),e;default:return""}}function ce(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ye:return"Fragment";case pe:return"Portal";case ze:return"Profiler";case ie:return"StrictMode";case Ee:return"Suspense";case se:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ge:return(e.displayName||"Context")+".Consumer";case je:return(e._context.displayName||"Context")+".Provider";case xe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ve:return t=e.displayName||null,t!==null?t:ce(e.type)||"Memo";case de:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}function we(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ce(t);case 8:return t===ie?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function he(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ne(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lt(e){var t=Ne(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(c){r=""+c,s.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(c){r=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yr(e){e._valueTracker||(e._valueTracker=lt(e))}function nu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ne(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Gr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Cl(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ru(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=he(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ou(e,t){t=t.checked,t!=null&&B(e,"checked",t,!1)}function Sl(e,t){ou(e,t);var n=he(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xl(e,t.type,n):t.hasOwnProperty("defaultValue")&&xl(e,t.type,he(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function xl(e,t,n){(t!=="number"||Gr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var nr=Array.isArray;function Tn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+he(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function _l(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(i(91));return H({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function iu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(i(92));if(nr(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:he(n)}}function su(e,t){var n=he(t.value),r=he(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function uu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function au(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function kl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?au(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Xr,cu=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Xr=Xr||document.createElement("div"),Xr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Xr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var or={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},Ed=["Webkit","ms","Moz","O"];Object.keys(or).forEach(function(e){Ed.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),or[t]=or[e]})});function fu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||or.hasOwnProperty(e)&&or[e]?(""+t).trim():t+"px"}function du(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=fu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var wd=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Nl(e,t){if(t){if(wd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(i(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(t.style!=null&&typeof t.style!="object")throw Error(i(62))}}function Tl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Pl=null;function Rl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ll=null,Pn=null,Rn=null;function pu(e){if(e=Nr(e)){if(typeof Ll!="function")throw Error(i(280));var t=e.stateNode;t&&(t=Eo(t),Ll(e.stateNode,e.type,t))}}function hu(e){Pn?Rn?Rn.push(e):Rn=[e]:Pn=e}function mu(){if(Pn){var e=Pn,t=Rn;if(Rn=Pn=null,pu(e),t)for(e=0;e<t.length;e++)pu(t[e])}}function vu(e,t){return e(t)}function gu(){}var Ml=!1;function yu(e,t,n){if(Ml)return e(t,n);Ml=!0;try{return vu(e,t,n)}finally{Ml=!1,(Pn!==null||Rn!==null)&&(gu(),mu())}}function lr(e,t){var n=e.stateNode;if(n===null)return null;var r=Eo(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(i(231,t,typeof n));return n}var Il=!1;if(g)try{var ir={};Object.defineProperty(ir,"passive",{get:function(){Il=!0}}),window.addEventListener("test",ir,ir),window.removeEventListener("test",ir,ir)}catch{Il=!1}function Cd(e,t,n,r,l,s,c,y,w){var T=Array.prototype.slice.call(arguments,3);try{t.apply(n,T)}catch(j){this.onError(j)}}var sr=!1,Zr=null,qr=!1,Ol=null,Sd={onError:function(e){sr=!0,Zr=e}};function xd(e,t,n,r,l,s,c,y,w){sr=!1,Zr=null,Cd.apply(Sd,arguments)}function _d(e,t,n,r,l,s,c,y,w){if(xd.apply(this,arguments),sr){if(sr){var T=Zr;sr=!1,Zr=null}else throw Error(i(198));qr||(qr=!0,Ol=T)}}function un(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Eu(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function wu(e){if(un(e)!==e)throw Error(i(188))}function kd(e){var t=e.alternate;if(!t){if(t=un(e),t===null)throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var s=l.alternate;if(s===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===n)return wu(l),e;if(s===r)return wu(l),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=l,r=s;else{for(var c=!1,y=l.child;y;){if(y===n){c=!0,n=l,r=s;break}if(y===r){c=!0,r=l,n=s;break}y=y.sibling}if(!c){for(y=s.child;y;){if(y===n){c=!0,n=s,r=l;break}if(y===r){c=!0,r=s,n=l;break}y=y.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function Cu(e){return e=kd(e),e!==null?Su(e):null}function Su(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Su(e);if(t!==null)return t;e=e.sibling}return null}var xu=u.unstable_scheduleCallback,_u=u.unstable_cancelCallback,Nd=u.unstable_shouldYield,Td=u.unstable_requestPaint,Ie=u.unstable_now,Pd=u.unstable_getCurrentPriorityLevel,zl=u.unstable_ImmediatePriority,ku=u.unstable_UserBlockingPriority,Jr=u.unstable_NormalPriority,Rd=u.unstable_LowPriority,Nu=u.unstable_IdlePriority,br=null,kt=null;function Ld(e){if(kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(br,e,void 0,(e.current.flags&128)===128)}catch{}}var yt=Math.clz32?Math.clz32:Od,Md=Math.log,Id=Math.LN2;function Od(e){return e>>>=0,e===0?32:31-(Md(e)/Id|0)|0}var eo=64,to=4194304;function ur(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function no(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,c=n&268435455;if(c!==0){var y=c&~l;y!==0?r=ur(y):(s&=c,s!==0&&(r=ur(s)))}else c=n&~l,c!==0?r=ur(c):s!==0&&(r=ur(s));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,s=t&-t,l>=s||l===16&&(s&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-yt(t),l=1<<n,r|=e[n],t&=~l;return r}function zd(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,s=e.pendingLanes;0<s;){var c=31-yt(s),y=1<<c,w=l[c];w===-1?((y&n)===0||(y&r)!==0)&&(l[c]=zd(y,t)):w<=t&&(e.expiredLanes|=y),s&=~y}}function jl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Tu(){var e=eo;return eo<<=1,(eo&4194240)===0&&(eo=64),e}function Dl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ar(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=n}function Dd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-yt(n),s=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~s}}function Al(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-yt(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var me=0;function Pu(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ru,Fl,Lu,Mu,Iu,Ul=!1,ro=[],Bt=null,$t=null,Vt=null,cr=new Map,fr=new Map,Ht=[],Ad="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 Ou(e,t){switch(e){case"focusin":case"focusout":Bt=null;break;case"dragenter":case"dragleave":$t=null;break;case"mouseover":case"mouseout":Vt=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fr.delete(t.pointerId)}}function dr(e,t,n,r,l,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[l]},t!==null&&(t=Nr(t),t!==null&&Fl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Fd(e,t,n,r,l){switch(t){case"focusin":return Bt=dr(Bt,e,t,n,r,l),!0;case"dragenter":return $t=dr($t,e,t,n,r,l),!0;case"mouseover":return Vt=dr(Vt,e,t,n,r,l),!0;case"pointerover":var s=l.pointerId;return cr.set(s,dr(cr.get(s)||null,e,t,n,r,l)),!0;case"gotpointercapture":return s=l.pointerId,fr.set(s,dr(fr.get(s)||null,e,t,n,r,l)),!0}return!1}function zu(e){var t=an(e.target);if(t!==null){var n=un(t);if(n!==null){if(t=n.tag,t===13){if(t=Eu(n),t!==null){e.blockedOn=t,Iu(e.priority,function(){Lu(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function oo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=$l(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Pl=r,n.target.dispatchEvent(r),Pl=null}else return t=Nr(n),t!==null&&Fl(t),e.blockedOn=n,!1;t.shift()}return!0}function ju(e,t,n){oo(e)&&n.delete(t)}function Ud(){Ul=!1,Bt!==null&&oo(Bt)&&(Bt=null),$t!==null&&oo($t)&&($t=null),Vt!==null&&oo(Vt)&&(Vt=null),cr.forEach(ju),fr.forEach(ju)}function pr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ul||(Ul=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Ud)))}function hr(e){function t(l){return pr(l,e)}if(0<ro.length){pr(ro[0],e);for(var n=1;n<ro.length;n++){var r=ro[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Bt!==null&&pr(Bt,e),$t!==null&&pr($t,e),Vt!==null&&pr(Vt,e),cr.forEach(t),fr.forEach(t),n=0;n<Ht.length;n++)r=Ht[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ht.length&&(n=Ht[0],n.blockedOn===null);)zu(n),n.blockedOn===null&&Ht.shift()}var Ln=$.ReactCurrentBatchConfig,lo=!0;function Bd(e,t,n,r){var l=me,s=Ln.transition;Ln.transition=null;try{me=1,Bl(e,t,n,r)}finally{me=l,Ln.transition=s}}function $d(e,t,n,r){var l=me,s=Ln.transition;Ln.transition=null;try{me=4,Bl(e,t,n,r)}finally{me=l,Ln.transition=s}}function Bl(e,t,n,r){if(lo){var l=$l(e,t,n,r);if(l===null)oi(e,t,r,io,n),Ou(e,r);else if(Fd(l,e,t,n,r))r.stopPropagation();else if(Ou(e,r),t&4&&-1<Ad.indexOf(e)){for(;l!==null;){var s=Nr(l);if(s!==null&&Ru(s),s=$l(e,t,n,r),s===null&&oi(e,t,r,io,n),s===l)break;l=s}l!==null&&r.stopPropagation()}else oi(e,t,r,null,n)}}var io=null;function $l(e,t,n,r){if(io=null,e=Rl(r),e=an(e),e!==null)if(t=un(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Eu(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return io=e,null}function Du(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Pd()){case zl:return 1;case ku:return 4;case Jr:case Rd:return 16;case Nu:return 536870912;default:return 16}default:return 16}}var Wt=null,Vl=null,so=null;function Au(){if(so)return so;var e,t=Vl,n=t.length,r,l="value"in Wt?Wt.value:Wt.textContent,s=l.length;for(e=0;e<n&&t[e]===l[e];e++);var c=n-e;for(r=1;r<=c&&t[n-r]===l[s-r];r++);return so=l.slice(e,1<r?1-r:void 0)}function uo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ao(){return!0}function Fu(){return!1}function it(e){function t(n,r,l,s,c){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=s,this.target=c,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(n=e[y],this[y]=n?n(s):s[y]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ao:Fu,this.isPropagationStopped=Fu,this}return H(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ao)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ao)},persist:function(){},isPersistent:ao}),t}var Mn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hl=it(Mn),mr=H({},Mn,{view:0,detail:0}),Vd=it(mr),Wl,Ql,vr,co=H({},mr,{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(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==vr&&(vr&&e.type==="mousemove"?(Wl=e.screenX-vr.screenX,Ql=e.screenY-vr.screenY):Ql=Wl=0,vr=e),Wl)},movementY:function(e){return"movementY"in e?e.movementY:Ql}}),Uu=it(co),Hd=H({},co,{dataTransfer:0}),Wd=it(Hd),Qd=H({},mr,{relatedTarget:0}),Kl=it(Qd),Kd=H({},Mn,{animationName:0,elapsedTime:0,pseudoElement:0}),Yd=it(Kd),Gd=H({},Mn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xd=it(Gd),Zd=H({},Mn,{data:0}),Bu=it(Zd),qd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jd={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"},bd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ep(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bd[e])?!!t[e]:!1}function Yl(){return ep}var tp=H({},mr,{key:function(e){if(e.key){var t=qd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=uo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Jd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yl,charCode:function(e){return e.type==="keypress"?uo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),np=it(tp),rp=H({},co,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$u=it(rp),op=H({},mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yl}),lp=it(op),ip=H({},Mn,{propertyName:0,elapsedTime:0,pseudoElement:0}),sp=it(ip),up=H({},co,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ap=it(up),cp=[9,13,27,32],Gl=g&&"CompositionEvent"in window,gr=null;g&&"documentMode"in document&&(gr=document.documentMode);var fp=g&&"TextEvent"in window&&!gr,Vu=g&&(!Gl||gr&&8<gr&&11>=gr),Hu=" ",Wu=!1;function Qu(e,t){switch(e){case"keyup":return cp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ku(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var In=!1;function dp(e,t){switch(e){case"compositionend":return Ku(t);case"keypress":return t.which!==32?null:(Wu=!0,Hu);case"textInput":return e=t.data,e===Hu&&Wu?null:e;default:return null}}function pp(e,t){if(In)return e==="compositionend"||!Gl&&Qu(e,t)?(e=Au(),so=Vl=Wt=null,In=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vu&&t.locale!=="ko"?null:t.data;default:return null}}var hp={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 Yu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hp[e.type]:t==="textarea"}function Gu(e,t,n,r){hu(r),t=vo(t,"onChange"),0<t.length&&(n=new Hl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var yr=null,Er=null;function mp(e){da(e,0)}function fo(e){var t=An(e);if(nu(t))return e}function vp(e,t){if(e==="change")return t}var Xu=!1;if(g){var Xl;if(g){var Zl="oninput"in document;if(!Zl){var Zu=document.createElement("div");Zu.setAttribute("oninput","return;"),Zl=typeof Zu.oninput=="function"}Xl=Zl}else Xl=!1;Xu=Xl&&(!document.documentMode||9<document.documentMode)}function qu(){yr&&(yr.detachEvent("onpropertychange",Ju),Er=yr=null)}function Ju(e){if(e.propertyName==="value"&&fo(Er)){var t=[];Gu(t,Er,e,Rl(e)),yu(mp,t)}}function gp(e,t,n){e==="focusin"?(qu(),yr=t,Er=n,yr.attachEvent("onpropertychange",Ju)):e==="focusout"&&qu()}function yp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fo(Er)}function Ep(e,t){if(e==="click")return fo(t)}function wp(e,t){if(e==="input"||e==="change")return fo(t)}function Cp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Et=typeof Object.is=="function"?Object.is:Cp;function wr(e,t){if(Et(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!d.call(t,l)||!Et(e[l],t[l]))return!1}return!0}function bu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ea(e,t){var n=bu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=bu(n)}}function ta(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ta(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function na(){for(var e=window,t=Gr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Gr(e.document)}return t}function ql(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Sp(e){var t=na(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ta(n.ownerDocument.documentElement,n)){if(r!==null&&ql(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=ea(n,s);var c=ea(n,r);l&&c&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var xp=g&&"documentMode"in document&&11>=document.documentMode,On=null,Jl=null,Cr=null,bl=!1;function ra(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bl||On==null||On!==Gr(r)||(r=On,"selectionStart"in r&&ql(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Cr&&wr(Cr,r)||(Cr=r,r=vo(Jl,"onSelect"),0<r.length&&(t=new Hl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=On)))}function po(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var zn={animationend:po("Animation","AnimationEnd"),animationiteration:po("Animation","AnimationIteration"),animationstart:po("Animation","AnimationStart"),transitionend:po("Transition","TransitionEnd")},ei={},oa={};g&&(oa=document.createElement("div").style,"AnimationEvent"in window||(delete zn.animationend.animation,delete zn.animationiteration.animation,delete zn.animationstart.animation),"TransitionEvent"in window||delete zn.transitionend.transition);function ho(e){if(ei[e])return ei[e];if(!zn[e])return e;var t=zn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in oa)return ei[e]=t[n];return e}var la=ho("animationend"),ia=ho("animationiteration"),sa=ho("animationstart"),ua=ho("transitionend"),aa=new Map,ca="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 Qt(e,t){aa.set(e,t),p(t,[e])}for(var ti=0;ti<ca.length;ti++){var ni=ca[ti],_p=ni.toLowerCase(),kp=ni[0].toUpperCase()+ni.slice(1);Qt(_p,"on"+kp)}Qt(la,"onAnimationEnd"),Qt(ia,"onAnimationIteration"),Qt(sa,"onAnimationStart"),Qt("dblclick","onDoubleClick"),Qt("focusin","onFocus"),Qt("focusout","onBlur"),Qt(ua,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sr="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(" "),Np=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sr));function fa(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,_d(r,t,void 0,e),e.currentTarget=null}function da(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var c=r.length-1;0<=c;c--){var y=r[c],w=y.instance,T=y.currentTarget;if(y=y.listener,w!==s&&l.isPropagationStopped())break e;fa(l,y,T),s=w}else for(c=0;c<r.length;c++){if(y=r[c],w=y.instance,T=y.currentTarget,y=y.listener,w!==s&&l.isPropagationStopped())break e;fa(l,y,T),s=w}}}if(qr)throw e=Ol,qr=!1,Ol=null,e}function _e(e,t){var n=t[ci];n===void 0&&(n=t[ci]=new Set);var r=e+"__bubble";n.has(r)||(pa(t,e,2,!1),n.add(r))}function ri(e,t,n){var r=0;t&&(r|=4),pa(n,e,r,t)}var mo="_reactListening"+Math.random().toString(36).slice(2);function xr(e){if(!e[mo]){e[mo]=!0,a.forEach(function(n){n!=="selectionchange"&&(Np.has(n)||ri(n,!1,e),ri(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mo]||(t[mo]=!0,ri("selectionchange",!1,t))}}function pa(e,t,n,r){switch(Du(t)){case 1:var l=Bd;break;case 4:l=$d;break;default:l=Bl}n=l.bind(null,t,n,e),l=void 0,!Il||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function oi(e,t,n,r,l){var s=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var c=r.tag;if(c===3||c===4){var y=r.stateNode.containerInfo;if(y===l||y.nodeType===8&&y.parentNode===l)break;if(c===4)for(c=r.return;c!==null;){var w=c.tag;if((w===3||w===4)&&(w=c.stateNode.containerInfo,w===l||w.nodeType===8&&w.parentNode===l))return;c=c.return}for(;y!==null;){if(c=an(y),c===null)return;if(w=c.tag,w===5||w===6){r=s=c;continue e}y=y.parentNode}}r=r.return}yu(function(){var T=s,j=Rl(n),D=[];e:{var z=aa.get(e);if(z!==void 0){var V=Hl,Y=e;switch(e){case"keypress":if(uo(n)===0)break e;case"keydown":case"keyup":V=np;break;case"focusin":Y="focus",V=Kl;break;case"focusout":Y="blur",V=Kl;break;case"beforeblur":case"afterblur":V=Kl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=Uu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=Wd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=lp;break;case la:case ia:case sa:V=Yd;break;case ua:V=sp;break;case"scroll":V=Vd;break;case"wheel":V=ap;break;case"copy":case"cut":case"paste":V=Xd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=$u}var G=(t&4)!==0,Oe=!G&&e==="scroll",_=G?z!==null?z+"Capture":null:z;G=[];for(var C=T,N;C!==null;){N=C;var A=N.stateNode;if(N.tag===5&&A!==null&&(N=A,_!==null&&(A=lr(C,_),A!=null&&G.push(_r(C,A,N)))),Oe)break;C=C.return}0<G.length&&(z=new V(z,Y,null,n,j),D.push({event:z,listeners:G}))}}if((t&7)===0){e:{if(z=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",z&&n!==Pl&&(Y=n.relatedTarget||n.fromElement)&&(an(Y)||Y[Mt]))break e;if((V||z)&&(z=j.window===j?j:(z=j.ownerDocument)?z.defaultView||z.parentWindow:window,V?(Y=n.relatedTarget||n.toElement,V=T,Y=Y?an(Y):null,Y!==null&&(Oe=un(Y),Y!==Oe||Y.tag!==5&&Y.tag!==6)&&(Y=null)):(V=null,Y=T),V!==Y)){if(G=Uu,A="onMouseLeave",_="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(G=$u,A="onPointerLeave",_="onPointerEnter",C="pointer"),Oe=V==null?z:An(V),N=Y==null?z:An(Y),z=new G(A,C+"leave",V,n,j),z.target=Oe,z.relatedTarget=N,A=null,an(j)===T&&(G=new G(_,C+"enter",Y,n,j),G.target=N,G.relatedTarget=Oe,A=G),Oe=A,V&&Y)t:{for(G=V,_=Y,C=0,N=G;N;N=jn(N))C++;for(N=0,A=_;A;A=jn(A))N++;for(;0<C-N;)G=jn(G),C--;for(;0<N-C;)_=jn(_),N--;for(;C--;){if(G===_||_!==null&&G===_.alternate)break t;G=jn(G),_=jn(_)}G=null}else G=null;V!==null&&ha(D,z,V,G,!1),Y!==null&&Oe!==null&&ha(D,Oe,Y,G,!0)}}e:{if(z=T?An(T):window,V=z.nodeName&&z.nodeName.toLowerCase(),V==="select"||V==="input"&&z.type==="file")var X=vp;else if(Yu(z))if(Xu)X=wp;else{X=yp;var J=gp}else(V=z.nodeName)&&V.toLowerCase()==="input"&&(z.type==="checkbox"||z.type==="radio")&&(X=Ep);if(X&&(X=X(e,T))){Gu(D,X,n,j);break e}J&&J(e,z,T),e==="focusout"&&(J=z._wrapperState)&&J.controlled&&z.type==="number"&&xl(z,"number",z.value)}switch(J=T?An(T):window,e){case"focusin":(Yu(J)||J.contentEditable==="true")&&(On=J,Jl=T,Cr=null);break;case"focusout":Cr=Jl=On=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,ra(D,n,j);break;case"selectionchange":if(xp)break;case"keydown":case"keyup":ra(D,n,j)}var b;if(Gl)e:{switch(e){case"compositionstart":var ee="onCompositionStart";break e;case"compositionend":ee="onCompositionEnd";break e;case"compositionupdate":ee="onCompositionUpdate";break e}ee=void 0}else In?Qu(e,n)&&(ee="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(ee="onCompositionStart");ee&&(Vu&&n.locale!=="ko"&&(In||ee!=="onCompositionStart"?ee==="onCompositionEnd"&&In&&(b=Au()):(Wt=j,Vl="value"in Wt?Wt.value:Wt.textContent,In=!0)),J=vo(T,ee),0<J.length&&(ee=new Bu(ee,e,null,n,j),D.push({event:ee,listeners:J}),b?ee.data=b:(b=Ku(n),b!==null&&(ee.data=b)))),(b=fp?dp(e,n):pp(e,n))&&(T=vo(T,"onBeforeInput"),0<T.length&&(j=new Bu("onBeforeInput","beforeinput",null,n,j),D.push({event:j,listeners:T}),j.data=b))}da(D,t)})}function _r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vo(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,s=l.stateNode;l.tag===5&&s!==null&&(l=s,s=lr(e,n),s!=null&&r.unshift(_r(e,s,l)),s=lr(e,t),s!=null&&r.push(_r(e,s,l))),e=e.return}return r}function jn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ha(e,t,n,r,l){for(var s=t._reactName,c=[];n!==null&&n!==r;){var y=n,w=y.alternate,T=y.stateNode;if(w!==null&&w===r)break;y.tag===5&&T!==null&&(y=T,l?(w=lr(n,s),w!=null&&c.unshift(_r(n,w,y))):l||(w=lr(n,s),w!=null&&c.push(_r(n,w,y)))),n=n.return}c.length!==0&&e.push({event:t,listeners:c})}var Tp=/\r\n?/g,Pp=/\u0000|\uFFFD/g;function ma(e){return(typeof e=="string"?e:""+e).replace(Tp,`
38
- `).replace(Pp,"")}function go(e,t,n){if(t=ma(t),ma(e)!==t&&n)throw Error(i(425))}function yo(){}var li=null,ii=null;function si(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ui=typeof setTimeout=="function"?setTimeout:void 0,Rp=typeof clearTimeout=="function"?clearTimeout:void 0,va=typeof Promise=="function"?Promise:void 0,Lp=typeof queueMicrotask=="function"?queueMicrotask:typeof va<"u"?function(e){return va.resolve(null).then(e).catch(Mp)}:ui;function Mp(e){setTimeout(function(){throw e})}function ai(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),hr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);hr(t)}function Kt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ga(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Dn=Math.random().toString(36).slice(2),Nt="__reactFiber$"+Dn,kr="__reactProps$"+Dn,Mt="__reactContainer$"+Dn,ci="__reactEvents$"+Dn,Ip="__reactListeners$"+Dn,Op="__reactHandles$"+Dn;function an(e){var t=e[Nt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Mt]||n[Nt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ga(e);e!==null;){if(n=e[Nt])return n;e=ga(e)}return t}e=n,n=e.parentNode}return null}function Nr(e){return e=e[Nt]||e[Mt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function An(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Eo(e){return e[kr]||null}var fi=[],Fn=-1;function Yt(e){return{current:e}}function ke(e){0>Fn||(e.current=fi[Fn],fi[Fn]=null,Fn--)}function Ce(e,t){Fn++,fi[Fn]=e.current,e.current=t}var Gt={},We=Yt(Gt),qe=Yt(!1),cn=Gt;function Un(e,t){var n=e.type.contextTypes;if(!n)return Gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in n)l[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Je(e){return e=e.childContextTypes,e!=null}function wo(){ke(qe),ke(We)}function ya(e,t,n){if(We.current!==Gt)throw Error(i(168));Ce(We,t),Ce(qe,n)}function Ea(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(i(108,we(e)||"Unknown",l));return H({},n,r)}function Co(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,cn=We.current,Ce(We,e),Ce(qe,qe.current),!0}function wa(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ea(e,t,cn),r.__reactInternalMemoizedMergedChildContext=e,ke(qe),ke(We),Ce(We,e)):ke(qe),Ce(qe,n)}var It=null,So=!1,di=!1;function Ca(e){It===null?It=[e]:It.push(e)}function zp(e){So=!0,Ca(e)}function Xt(){if(!di&&It!==null){di=!0;var e=0,t=me;try{var n=It;for(me=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}It=null,So=!1}catch(l){throw It!==null&&(It=It.slice(e+1)),xu(zl,Xt),l}finally{me=t,di=!1}}return null}var Bn=[],$n=0,xo=null,_o=0,ft=[],dt=0,fn=null,Ot=1,zt="";function dn(e,t){Bn[$n++]=_o,Bn[$n++]=xo,xo=e,_o=t}function Sa(e,t,n){ft[dt++]=Ot,ft[dt++]=zt,ft[dt++]=fn,fn=e;var r=Ot;e=zt;var l=32-yt(r)-1;r&=~(1<<l),n+=1;var s=32-yt(t)+l;if(30<s){var c=l-l%5;s=(r&(1<<c)-1).toString(32),r>>=c,l-=c,Ot=1<<32-yt(t)+l|n<<l|r,zt=s+e}else Ot=1<<s|n<<l|r,zt=e}function pi(e){e.return!==null&&(dn(e,1),Sa(e,1,0))}function hi(e){for(;e===xo;)xo=Bn[--$n],Bn[$n]=null,_o=Bn[--$n],Bn[$n]=null;for(;e===fn;)fn=ft[--dt],ft[dt]=null,zt=ft[--dt],ft[dt]=null,Ot=ft[--dt],ft[dt]=null}var st=null,ut=null,Te=!1,wt=null;function xa(e,t){var n=vt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _a(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,st=e,ut=Kt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,st=e,ut=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=fn!==null?{id:Ot,overflow:zt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=vt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,st=e,ut=null,!0):!1;default:return!1}}function mi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function vi(e){if(Te){var t=ut;if(t){var n=t;if(!_a(e,t)){if(mi(e))throw Error(i(418));t=Kt(n.nextSibling);var r=st;t&&_a(e,t)?xa(r,n):(e.flags=e.flags&-4097|2,Te=!1,st=e)}}else{if(mi(e))throw Error(i(418));e.flags=e.flags&-4097|2,Te=!1,st=e}}}function ka(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;st=e}function ko(e){if(e!==st)return!1;if(!Te)return ka(e),Te=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!si(e.type,e.memoizedProps)),t&&(t=ut)){if(mi(e))throw Na(),Error(i(418));for(;t;)xa(e,t),t=Kt(t.nextSibling)}if(ka(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ut=Kt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ut=null}}else ut=st?Kt(e.stateNode.nextSibling):null;return!0}function Na(){for(var e=ut;e;)e=Kt(e.nextSibling)}function Vn(){ut=st=null,Te=!1}function gi(e){wt===null?wt=[e]:wt.push(e)}var jp=$.ReactCurrentBatchConfig;function Tr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var l=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(c){var y=l.refs;c===null?delete y[s]:y[s]=c},t._stringRef=s,t)}if(typeof e!="string")throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function No(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ta(e){var t=e._init;return t(e._payload)}function Pa(e){function t(_,C){if(e){var N=_.deletions;N===null?(_.deletions=[C],_.flags|=16):N.push(C)}}function n(_,C){if(!e)return null;for(;C!==null;)t(_,C),C=C.sibling;return null}function r(_,C){for(_=new Map;C!==null;)C.key!==null?_.set(C.key,C):_.set(C.index,C),C=C.sibling;return _}function l(_,C){return _=rn(_,C),_.index=0,_.sibling=null,_}function s(_,C,N){return _.index=N,e?(N=_.alternate,N!==null?(N=N.index,N<C?(_.flags|=2,C):N):(_.flags|=2,C)):(_.flags|=1048576,C)}function c(_){return e&&_.alternate===null&&(_.flags|=2),_}function y(_,C,N,A){return C===null||C.tag!==6?(C=us(N,_.mode,A),C.return=_,C):(C=l(C,N),C.return=_,C)}function w(_,C,N,A){var X=N.type;return X===ye?j(_,C,N.props.children,A,N.key):C!==null&&(C.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===de&&Ta(X)===C.type)?(A=l(C,N.props),A.ref=Tr(_,C,N),A.return=_,A):(A=Zo(N.type,N.key,N.props,null,_.mode,A),A.ref=Tr(_,C,N),A.return=_,A)}function T(_,C,N,A){return C===null||C.tag!==4||C.stateNode.containerInfo!==N.containerInfo||C.stateNode.implementation!==N.implementation?(C=as(N,_.mode,A),C.return=_,C):(C=l(C,N.children||[]),C.return=_,C)}function j(_,C,N,A,X){return C===null||C.tag!==7?(C=wn(N,_.mode,A,X),C.return=_,C):(C=l(C,N),C.return=_,C)}function D(_,C,N){if(typeof C=="string"&&C!==""||typeof C=="number")return C=us(""+C,_.mode,N),C.return=_,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case q:return N=Zo(C.type,C.key,C.props,null,_.mode,N),N.ref=Tr(_,null,C),N.return=_,N;case pe:return C=as(C,_.mode,N),C.return=_,C;case de:var A=C._init;return D(_,A(C._payload),N)}if(nr(C)||Z(C))return C=wn(C,_.mode,N,null),C.return=_,C;No(_,C)}return null}function z(_,C,N,A){var X=C!==null?C.key:null;if(typeof N=="string"&&N!==""||typeof N=="number")return X!==null?null:y(_,C,""+N,A);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case q:return N.key===X?w(_,C,N,A):null;case pe:return N.key===X?T(_,C,N,A):null;case de:return X=N._init,z(_,C,X(N._payload),A)}if(nr(N)||Z(N))return X!==null?null:j(_,C,N,A,null);No(_,N)}return null}function V(_,C,N,A,X){if(typeof A=="string"&&A!==""||typeof A=="number")return _=_.get(N)||null,y(C,_,""+A,X);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case q:return _=_.get(A.key===null?N:A.key)||null,w(C,_,A,X);case pe:return _=_.get(A.key===null?N:A.key)||null,T(C,_,A,X);case de:var J=A._init;return V(_,C,N,J(A._payload),X)}if(nr(A)||Z(A))return _=_.get(N)||null,j(C,_,A,X,null);No(C,A)}return null}function Y(_,C,N,A){for(var X=null,J=null,b=C,ee=C=0,$e=null;b!==null&&ee<N.length;ee++){b.index>ee?($e=b,b=null):$e=b.sibling;var fe=z(_,b,N[ee],A);if(fe===null){b===null&&(b=$e);break}e&&b&&fe.alternate===null&&t(_,b),C=s(fe,C,ee),J===null?X=fe:J.sibling=fe,J=fe,b=$e}if(ee===N.length)return n(_,b),Te&&dn(_,ee),X;if(b===null){for(;ee<N.length;ee++)b=D(_,N[ee],A),b!==null&&(C=s(b,C,ee),J===null?X=b:J.sibling=b,J=b);return Te&&dn(_,ee),X}for(b=r(_,b);ee<N.length;ee++)$e=V(b,_,ee,N[ee],A),$e!==null&&(e&&$e.alternate!==null&&b.delete($e.key===null?ee:$e.key),C=s($e,C,ee),J===null?X=$e:J.sibling=$e,J=$e);return e&&b.forEach(function(on){return t(_,on)}),Te&&dn(_,ee),X}function G(_,C,N,A){var X=Z(N);if(typeof X!="function")throw Error(i(150));if(N=X.call(N),N==null)throw Error(i(151));for(var J=X=null,b=C,ee=C=0,$e=null,fe=N.next();b!==null&&!fe.done;ee++,fe=N.next()){b.index>ee?($e=b,b=null):$e=b.sibling;var on=z(_,b,fe.value,A);if(on===null){b===null&&(b=$e);break}e&&b&&on.alternate===null&&t(_,b),C=s(on,C,ee),J===null?X=on:J.sibling=on,J=on,b=$e}if(fe.done)return n(_,b),Te&&dn(_,ee),X;if(b===null){for(;!fe.done;ee++,fe=N.next())fe=D(_,fe.value,A),fe!==null&&(C=s(fe,C,ee),J===null?X=fe:J.sibling=fe,J=fe);return Te&&dn(_,ee),X}for(b=r(_,b);!fe.done;ee++,fe=N.next())fe=V(b,_,ee,fe.value,A),fe!==null&&(e&&fe.alternate!==null&&b.delete(fe.key===null?ee:fe.key),C=s(fe,C,ee),J===null?X=fe:J.sibling=fe,J=fe);return e&&b.forEach(function(hh){return t(_,hh)}),Te&&dn(_,ee),X}function Oe(_,C,N,A){if(typeof N=="object"&&N!==null&&N.type===ye&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case q:e:{for(var X=N.key,J=C;J!==null;){if(J.key===X){if(X=N.type,X===ye){if(J.tag===7){n(_,J.sibling),C=l(J,N.props.children),C.return=_,_=C;break e}}else if(J.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===de&&Ta(X)===J.type){n(_,J.sibling),C=l(J,N.props),C.ref=Tr(_,J,N),C.return=_,_=C;break e}n(_,J);break}else t(_,J);J=J.sibling}N.type===ye?(C=wn(N.props.children,_.mode,A,N.key),C.return=_,_=C):(A=Zo(N.type,N.key,N.props,null,_.mode,A),A.ref=Tr(_,C,N),A.return=_,_=A)}return c(_);case pe:e:{for(J=N.key;C!==null;){if(C.key===J)if(C.tag===4&&C.stateNode.containerInfo===N.containerInfo&&C.stateNode.implementation===N.implementation){n(_,C.sibling),C=l(C,N.children||[]),C.return=_,_=C;break e}else{n(_,C);break}else t(_,C);C=C.sibling}C=as(N,_.mode,A),C.return=_,_=C}return c(_);case de:return J=N._init,Oe(_,C,J(N._payload),A)}if(nr(N))return Y(_,C,N,A);if(Z(N))return G(_,C,N,A);No(_,N)}return typeof N=="string"&&N!==""||typeof N=="number"?(N=""+N,C!==null&&C.tag===6?(n(_,C.sibling),C=l(C,N),C.return=_,_=C):(n(_,C),C=us(N,_.mode,A),C.return=_,_=C),c(_)):n(_,C)}return Oe}var Hn=Pa(!0),Ra=Pa(!1),To=Yt(null),Po=null,Wn=null,yi=null;function Ei(){yi=Wn=Po=null}function wi(e){var t=To.current;ke(To),e._currentValue=t}function Ci(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){Po=e,yi=Wn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(be=!0),e.firstContext=null)}function pt(e){var t=e._currentValue;if(yi!==e)if(e={context:e,memoizedValue:t,next:null},Wn===null){if(Po===null)throw Error(i(308));Wn=e,Po.dependencies={lanes:0,firstContext:e}}else Wn=Wn.next=e;return t}var pn=null;function Si(e){pn===null?pn=[e]:pn.push(e)}function La(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Si(t)):(n.next=l.next,l.next=n),t.interleaved=n,jt(e,r)}function jt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Zt=!1;function xi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ma(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Dt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(ue&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,jt(e,n)}return l=r.interleaved,l===null?(t.next=t,Si(r)):(t.next=l.next,l.next=t),r.interleaved=t,jt(e,n)}function Ro(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Al(e,n)}}function Ia(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var c={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?l=s=c:s=s.next=c,n=n.next}while(n!==null);s===null?l=s=t:s=s.next=t}else l=s=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Lo(e,t,n,r){var l=e.updateQueue;Zt=!1;var s=l.firstBaseUpdate,c=l.lastBaseUpdate,y=l.shared.pending;if(y!==null){l.shared.pending=null;var w=y,T=w.next;w.next=null,c===null?s=T:c.next=T,c=w;var j=e.alternate;j!==null&&(j=j.updateQueue,y=j.lastBaseUpdate,y!==c&&(y===null?j.firstBaseUpdate=T:y.next=T,j.lastBaseUpdate=w))}if(s!==null){var D=l.baseState;c=0,j=T=w=null,y=s;do{var z=y.lane,V=y.eventTime;if((r&z)===z){j!==null&&(j=j.next={eventTime:V,lane:0,tag:y.tag,payload:y.payload,callback:y.callback,next:null});e:{var Y=e,G=y;switch(z=t,V=n,G.tag){case 1:if(Y=G.payload,typeof Y=="function"){D=Y.call(V,D,z);break e}D=Y;break e;case 3:Y.flags=Y.flags&-65537|128;case 0:if(Y=G.payload,z=typeof Y=="function"?Y.call(V,D,z):Y,z==null)break e;D=H({},D,z);break e;case 2:Zt=!0}}y.callback!==null&&y.lane!==0&&(e.flags|=64,z=l.effects,z===null?l.effects=[y]:z.push(y))}else V={eventTime:V,lane:z,tag:y.tag,payload:y.payload,callback:y.callback,next:null},j===null?(T=j=V,w=D):j=j.next=V,c|=z;if(y=y.next,y===null){if(y=l.shared.pending,y===null)break;z=y,y=z.next,z.next=null,l.lastBaseUpdate=z,l.shared.pending=null}}while(!0);if(j===null&&(w=D),l.baseState=w,l.firstBaseUpdate=T,l.lastBaseUpdate=j,t=l.shared.interleaved,t!==null){l=t;do c|=l.lane,l=l.next;while(l!==t)}else s===null&&(l.shared.lanes=0);vn|=c,e.lanes=c,e.memoizedState=D}}function Oa(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(i(191,l));l.call(r)}}}var Pr={},Tt=Yt(Pr),Rr=Yt(Pr),Lr=Yt(Pr);function hn(e){if(e===Pr)throw Error(i(174));return e}function _i(e,t){switch(Ce(Lr,t),Ce(Rr,e),Ce(Tt,Pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:kl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=kl(t,e)}ke(Tt),Ce(Tt,t)}function Kn(){ke(Tt),ke(Rr),ke(Lr)}function za(e){hn(Lr.current);var t=hn(Tt.current),n=kl(t,e.type);t!==n&&(Ce(Rr,e),Ce(Tt,n))}function ki(e){Rr.current===e&&(ke(Tt),ke(Rr))}var Pe=Yt(0);function Mo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ni=[];function Ti(){for(var e=0;e<Ni.length;e++)Ni[e]._workInProgressVersionPrimary=null;Ni.length=0}var Io=$.ReactCurrentDispatcher,Pi=$.ReactCurrentBatchConfig,mn=0,Re=null,Ae=null,Ue=null,Oo=!1,Mr=!1,Ir=0,Dp=0;function Qe(){throw Error(i(321))}function Ri(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Et(e[n],t[n]))return!1;return!0}function Li(e,t,n,r,l,s){if(mn=s,Re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Io.current=e===null||e.memoizedState===null?Bp:$p,e=n(r,l),Mr){s=0;do{if(Mr=!1,Ir=0,25<=s)throw Error(i(301));s+=1,Ue=Ae=null,t.updateQueue=null,Io.current=Vp,e=n(r,l)}while(Mr)}if(Io.current=Do,t=Ae!==null&&Ae.next!==null,mn=0,Ue=Ae=Re=null,Oo=!1,t)throw Error(i(300));return e}function Mi(){var e=Ir!==0;return Ir=0,e}function Pt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ue===null?Re.memoizedState=Ue=e:Ue=Ue.next=e,Ue}function ht(){if(Ae===null){var e=Re.alternate;e=e!==null?e.memoizedState:null}else e=Ae.next;var t=Ue===null?Re.memoizedState:Ue.next;if(t!==null)Ue=t,Ae=e;else{if(e===null)throw Error(i(310));Ae=e,e={memoizedState:Ae.memoizedState,baseState:Ae.baseState,baseQueue:Ae.baseQueue,queue:Ae.queue,next:null},Ue===null?Re.memoizedState=Ue=e:Ue=Ue.next=e}return Ue}function Or(e,t){return typeof t=="function"?t(e):t}function Ii(e){var t=ht(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=Ae,l=r.baseQueue,s=n.pending;if(s!==null){if(l!==null){var c=l.next;l.next=s.next,s.next=c}r.baseQueue=l=s,n.pending=null}if(l!==null){s=l.next,r=r.baseState;var y=c=null,w=null,T=s;do{var j=T.lane;if((mn&j)===j)w!==null&&(w=w.next={lane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),r=T.hasEagerState?T.eagerState:e(r,T.action);else{var D={lane:j,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null};w===null?(y=w=D,c=r):w=w.next=D,Re.lanes|=j,vn|=j}T=T.next}while(T!==null&&T!==s);w===null?c=r:w.next=y,Et(r,t.memoizedState)||(be=!0),t.memoizedState=r,t.baseState=c,t.baseQueue=w,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do s=l.lane,Re.lanes|=s,vn|=s,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Oi(e){var t=ht(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,s=t.memoizedState;if(l!==null){n.pending=null;var c=l=l.next;do s=e(s,c.action),c=c.next;while(c!==l);Et(s,t.memoizedState)||(be=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function ja(){}function Da(e,t){var n=Re,r=ht(),l=t(),s=!Et(r.memoizedState,l);if(s&&(r.memoizedState=l,be=!0),r=r.queue,zi(Ua.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Ue!==null&&Ue.memoizedState.tag&1){if(n.flags|=2048,zr(9,Fa.bind(null,n,r,l,t),void 0,null),Be===null)throw Error(i(349));(mn&30)!==0||Aa(n,t,l)}return l}function Aa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Re.updateQueue,t===null?(t={lastEffect:null,stores:null},Re.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Fa(e,t,n,r){t.value=n,t.getSnapshot=r,Ba(t)&&$a(e)}function Ua(e,t,n){return n(function(){Ba(t)&&$a(e)})}function Ba(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Et(e,n)}catch{return!0}}function $a(e){var t=jt(e,1);t!==null&&_t(t,e,1,-1)}function Va(e){var t=Pt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Or,lastRenderedState:e},t.queue=e,e=e.dispatch=Up.bind(null,Re,e),[t.memoizedState,e]}function zr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Re.updateQueue,t===null?(t={lastEffect:null,stores:null},Re.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ha(){return ht().memoizedState}function zo(e,t,n,r){var l=Pt();Re.flags|=e,l.memoizedState=zr(1|t,n,void 0,r===void 0?null:r)}function jo(e,t,n,r){var l=ht();r=r===void 0?null:r;var s=void 0;if(Ae!==null){var c=Ae.memoizedState;if(s=c.destroy,r!==null&&Ri(r,c.deps)){l.memoizedState=zr(t,n,s,r);return}}Re.flags|=e,l.memoizedState=zr(1|t,n,s,r)}function Wa(e,t){return zo(8390656,8,e,t)}function zi(e,t){return jo(2048,8,e,t)}function Qa(e,t){return jo(4,2,e,t)}function Ka(e,t){return jo(4,4,e,t)}function Ya(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ga(e,t,n){return n=n!=null?n.concat([e]):null,jo(4,4,Ya.bind(null,t,e),n)}function ji(){}function Xa(e,t){var n=ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ri(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Za(e,t){var n=ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ri(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qa(e,t,n){return(mn&21)===0?(e.baseState&&(e.baseState=!1,be=!0),e.memoizedState=n):(Et(n,t)||(n=Tu(),Re.lanes|=n,vn|=n,e.baseState=!0),t)}function Ap(e,t){var n=me;me=n!==0&&4>n?n:4,e(!0);var r=Pi.transition;Pi.transition={};try{e(!1),t()}finally{me=n,Pi.transition=r}}function Ja(){return ht().memoizedState}function Fp(e,t,n){var r=tn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ba(e))ec(t,n);else if(n=La(e,t,n,r),n!==null){var l=Ze();_t(n,e,r,l),tc(n,t,r)}}function Up(e,t,n){var r=tn(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ba(e))ec(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var c=t.lastRenderedState,y=s(c,n);if(l.hasEagerState=!0,l.eagerState=y,Et(y,c)){var w=t.interleaved;w===null?(l.next=l,Si(t)):(l.next=w.next,w.next=l),t.interleaved=l;return}}catch{}finally{}n=La(e,t,l,r),n!==null&&(l=Ze(),_t(n,e,r,l),tc(n,t,r))}}function ba(e){var t=e.alternate;return e===Re||t!==null&&t===Re}function ec(e,t){Mr=Oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function tc(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Al(e,n)}}var Do={readContext:pt,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useInsertionEffect:Qe,useLayoutEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useMutableSource:Qe,useSyncExternalStore:Qe,useId:Qe,unstable_isNewReconciler:!1},Bp={readContext:pt,useCallback:function(e,t){return Pt().memoizedState=[e,t===void 0?null:t],e},useContext:pt,useEffect:Wa,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,zo(4194308,4,Ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zo(4194308,4,e,t)},useInsertionEffect:function(e,t){return zo(4,2,e,t)},useMemo:function(e,t){var n=Pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Fp.bind(null,Re,e),[r.memoizedState,e]},useRef:function(e){var t=Pt();return e={current:e},t.memoizedState=e},useState:Va,useDebugValue:ji,useDeferredValue:function(e){return Pt().memoizedState=e},useTransition:function(){var e=Va(!1),t=e[0];return e=Ap.bind(null,e[1]),Pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Re,l=Pt();if(Te){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Be===null)throw Error(i(349));(mn&30)!==0||Aa(r,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,Wa(Ua.bind(null,r,s,e),[e]),r.flags|=2048,zr(9,Fa.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Pt(),t=Be.identifierPrefix;if(Te){var n=zt,r=Ot;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ir++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Dp++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$p={readContext:pt,useCallback:Xa,useContext:pt,useEffect:zi,useImperativeHandle:Ga,useInsertionEffect:Qa,useLayoutEffect:Ka,useMemo:Za,useReducer:Ii,useRef:Ha,useState:function(){return Ii(Or)},useDebugValue:ji,useDeferredValue:function(e){var t=ht();return qa(t,Ae.memoizedState,e)},useTransition:function(){var e=Ii(Or)[0],t=ht().memoizedState;return[e,t]},useMutableSource:ja,useSyncExternalStore:Da,useId:Ja,unstable_isNewReconciler:!1},Vp={readContext:pt,useCallback:Xa,useContext:pt,useEffect:zi,useImperativeHandle:Ga,useInsertionEffect:Qa,useLayoutEffect:Ka,useMemo:Za,useReducer:Oi,useRef:Ha,useState:function(){return Oi(Or)},useDebugValue:ji,useDeferredValue:function(e){var t=ht();return Ae===null?t.memoizedState=e:qa(t,Ae.memoizedState,e)},useTransition:function(){var e=Oi(Or)[0],t=ht().memoizedState;return[e,t]},useMutableSource:ja,useSyncExternalStore:Da,useId:Ja,unstable_isNewReconciler:!1};function Ct(e,t){if(e&&e.defaultProps){t=H({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Di(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:H({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ao={isMounted:function(e){return(e=e._reactInternals)?un(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ze(),l=tn(e),s=Dt(r,l);s.payload=t,n!=null&&(s.callback=n),t=qt(e,s,l),t!==null&&(_t(t,e,l,r),Ro(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ze(),l=tn(e),s=Dt(r,l);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=qt(e,s,l),t!==null&&(_t(t,e,l,r),Ro(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ze(),r=tn(e),l=Dt(n,r);l.tag=2,t!=null&&(l.callback=t),t=qt(e,l,r),t!==null&&(_t(t,e,r,n),Ro(t,e,r))}};function nc(e,t,n,r,l,s,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,c):t.prototype&&t.prototype.isPureReactComponent?!wr(n,r)||!wr(l,s):!0}function rc(e,t,n){var r=!1,l=Gt,s=t.contextType;return typeof s=="object"&&s!==null?s=pt(s):(l=Je(t)?cn:We.current,r=t.contextTypes,s=(r=r!=null)?Un(e,l):Gt),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ao,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=s),t}function oc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ao.enqueueReplaceState(t,t.state,null)}function Ai(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},xi(e);var s=t.contextType;typeof s=="object"&&s!==null?l.context=pt(s):(s=Je(t)?cn:We.current,l.context=Un(e,s)),l.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Di(e,t,s,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Ao.enqueueReplaceState(l,l.state,null),Lo(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Yn(e,t){try{var n="",r=t;do n+=ae(r),r=r.return;while(r);var l=n}catch(s){l=`
39
- Error generating stack: `+s.message+`
40
- `+s.stack}return{value:e,source:t,stack:l,digest:null}}function Fi(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ui(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Hp=typeof WeakMap=="function"?WeakMap:Map;function lc(e,t,n){n=Dt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wo||(Wo=!0,es=r),Ui(e,t)},n}function ic(e,t,n){n=Dt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Ui(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ui(e,t),typeof r!="function"&&(bt===null?bt=new Set([this]):bt.add(this));var c=t.stack;this.componentDidCatch(t.value,{componentStack:c!==null?c:""})}),n}function sc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hp;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=rh.bind(null,e,t,n),t.then(e,e))}function uc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ac(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Dt(-1,1),t.tag=2,qt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var Wp=$.ReactCurrentOwner,be=!1;function Xe(e,t,n,r){t.child=e===null?Ra(t,null,n,r):Hn(t,e.child,n,r)}function cc(e,t,n,r,l){n=n.render;var s=t.ref;return Qn(t,l),r=Li(e,t,n,r,s,l),n=Mi(),e!==null&&!be?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,At(e,t,l)):(Te&&n&&pi(t),t.flags|=1,Xe(e,t,r,l),t.child)}function fc(e,t,n,r,l){if(e===null){var s=n.type;return typeof s=="function"&&!ss(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,dc(e,t,s,r,l)):(e=Zo(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,(e.lanes&l)===0){var c=s.memoizedProps;if(n=n.compare,n=n!==null?n:wr,n(c,r)&&e.ref===t.ref)return At(e,t,l)}return t.flags|=1,e=rn(s,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,l){if(e!==null){var s=e.memoizedProps;if(wr(s,r)&&e.ref===t.ref)if(be=!1,t.pendingProps=r=s,(e.lanes&l)!==0)(e.flags&131072)!==0&&(be=!0);else return t.lanes=e.lanes,At(e,t,l)}return Bi(e,t,n,r,l)}function pc(e,t,n){var r=t.pendingProps,l=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ce(Xn,at),at|=n;else{if((n&1073741824)===0)return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ce(Xn,at),at|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Ce(Xn,at),at|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,Ce(Xn,at),at|=r;return Xe(e,t,l,n),t.child}function hc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bi(e,t,n,r,l){var s=Je(n)?cn:We.current;return s=Un(t,s),Qn(t,l),n=Li(e,t,n,r,s,l),r=Mi(),e!==null&&!be?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,At(e,t,l)):(Te&&r&&pi(t),t.flags|=1,Xe(e,t,n,l),t.child)}function mc(e,t,n,r,l){if(Je(n)){var s=!0;Co(t)}else s=!1;if(Qn(t,l),t.stateNode===null)Uo(e,t),rc(t,n,r),Ai(t,n,r,l),r=!0;else if(e===null){var c=t.stateNode,y=t.memoizedProps;c.props=y;var w=c.context,T=n.contextType;typeof T=="object"&&T!==null?T=pt(T):(T=Je(n)?cn:We.current,T=Un(t,T));var j=n.getDerivedStateFromProps,D=typeof j=="function"||typeof c.getSnapshotBeforeUpdate=="function";D||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(y!==r||w!==T)&&oc(t,c,r,T),Zt=!1;var z=t.memoizedState;c.state=z,Lo(t,r,c,l),w=t.memoizedState,y!==r||z!==w||qe.current||Zt?(typeof j=="function"&&(Di(t,n,j,r),w=t.memoizedState),(y=Zt||nc(t,n,y,r,z,w,T))?(D||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"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=w),c.props=r,c.state=w,c.context=T,r=y):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{c=t.stateNode,Ma(e,t),y=t.memoizedProps,T=t.type===t.elementType?y:Ct(t.type,y),c.props=T,D=t.pendingProps,z=c.context,w=n.contextType,typeof w=="object"&&w!==null?w=pt(w):(w=Je(n)?cn:We.current,w=Un(t,w));var V=n.getDerivedStateFromProps;(j=typeof V=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(y!==D||z!==w)&&oc(t,c,r,w),Zt=!1,z=t.memoizedState,c.state=z,Lo(t,r,c,l);var Y=t.memoizedState;y!==D||z!==Y||qe.current||Zt?(typeof V=="function"&&(Di(t,n,V,r),Y=t.memoizedState),(T=Zt||nc(t,n,T,r,z,Y,w)||!1)?(j||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(r,Y,w),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(r,Y,w)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||y===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=Y),c.props=r,c.state=Y,c.context=w,r=T):(typeof c.componentDidUpdate!="function"||y===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),r=!1)}return $i(e,t,n,r,s,l)}function $i(e,t,n,r,l,s){hc(e,t);var c=(t.flags&128)!==0;if(!r&&!c)return l&&wa(t,n,!1),At(e,t,s);r=t.stateNode,Wp.current=t;var y=c&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&c?(t.child=Hn(t,e.child,null,s),t.child=Hn(t,null,y,s)):Xe(e,t,y,s),t.memoizedState=r.state,l&&wa(t,n,!0),t.child}function vc(e){var t=e.stateNode;t.pendingContext?ya(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ya(e,t.context,!1),_i(e,t.containerInfo)}function gc(e,t,n,r,l){return Vn(),gi(l),t.flags|=256,Xe(e,t,n,r),t.child}var Vi={dehydrated:null,treeContext:null,retryLane:0};function Hi(e){return{baseLanes:e,cachePool:null,transitions:null}}function yc(e,t,n){var r=t.pendingProps,l=Pe.current,s=!1,c=(t.flags&128)!==0,y;if((y=c)||(y=e!==null&&e.memoizedState===null?!1:(l&2)!==0),y?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Ce(Pe,l&1),e===null)return vi(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(c=r.children,e=r.fallback,s?(r=t.mode,s=t.child,c={mode:"hidden",children:c},(r&1)===0&&s!==null?(s.childLanes=0,s.pendingProps=c):s=qo(c,r,0,null),e=wn(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Hi(n),t.memoizedState=Vi,e):Wi(t,c));if(l=e.memoizedState,l!==null&&(y=l.dehydrated,y!==null))return Qp(e,t,c,r,y,l,n);if(s){s=r.fallback,c=t.mode,l=e.child,y=l.sibling;var w={mode:"hidden",children:r.children};return(c&1)===0&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=w,t.deletions=null):(r=rn(l,w),r.subtreeFlags=l.subtreeFlags&14680064),y!==null?s=rn(y,s):(s=wn(s,c,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,c=e.child.memoizedState,c=c===null?Hi(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~n,t.memoizedState=Vi,r}return s=e.child,e=s.sibling,r=rn(s,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Wi(e,t){return t=qo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Fo(e,t,n,r){return r!==null&&gi(r),Hn(t,e.child,null,n),e=Wi(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Qp(e,t,n,r,l,s,c){if(n)return t.flags&256?(t.flags&=-257,r=Fi(Error(i(422))),Fo(e,t,c,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,l=t.mode,r=qo({mode:"visible",children:r.children},l,0,null),s=wn(s,l,c,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,(t.mode&1)!==0&&Hn(t,e.child,null,c),t.child.memoizedState=Hi(c),t.memoizedState=Vi,s);if((t.mode&1)===0)return Fo(e,t,c,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var y=r.dgst;return r=y,s=Error(i(419)),r=Fi(s,r,void 0),Fo(e,t,c,r)}if(y=(c&e.childLanes)!==0,be||y){if(r=Be,r!==null){switch(c&-c){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(r.suspendedLanes|c))!==0?0:l,l!==0&&l!==s.retryLane&&(s.retryLane=l,jt(e,l),_t(r,e,l,-1))}return is(),r=Fi(Error(i(421))),Fo(e,t,c,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=oh.bind(null,e),l._reactRetry=t,null):(e=s.treeContext,ut=Kt(l.nextSibling),st=t,Te=!0,wt=null,e!==null&&(ft[dt++]=Ot,ft[dt++]=zt,ft[dt++]=fn,Ot=e.id,zt=e.overflow,fn=t),t=Wi(t,r.children),t.flags|=4096,t)}function Ec(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ci(e.return,t,n)}function Qi(e,t,n,r,l){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=l)}function wc(e,t,n){var r=t.pendingProps,l=r.revealOrder,s=r.tail;if(Xe(e,t,r.children,n),r=Pe.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ec(e,n,t);else if(e.tag===19)Ec(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ce(Pe,r),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Mo(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Qi(t,!1,l,n,s);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Mo(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Qi(t,!0,n,null,s);break;case"together":Qi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Uo(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function At(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),vn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=rn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=rn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Kp(e,t,n){switch(t.tag){case 3:vc(t),Vn();break;case 5:za(t);break;case 1:Je(t.type)&&Co(t);break;case 4:_i(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;Ce(To,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ce(Pe,Pe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?yc(e,t,n):(Ce(Pe,Pe.current&1),e=At(e,t,n),e!==null?e.sibling:null);Ce(Pe,Pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return wc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ce(Pe,Pe.current),r)break;return null;case 22:case 23:return t.lanes=0,pc(e,t,n)}return At(e,t,n)}var Cc,Ki,Sc,xc;Cc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ki=function(){},Sc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,hn(Tt.current);var s=null;switch(n){case"input":l=Cl(e,l),r=Cl(e,r),s=[];break;case"select":l=H({},l,{value:void 0}),r=H({},r,{value:void 0}),s=[];break;case"textarea":l=_l(e,l),r=_l(e,r),s=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=yo)}Nl(n,r);var c;n=null;for(T in l)if(!r.hasOwnProperty(T)&&l.hasOwnProperty(T)&&l[T]!=null)if(T==="style"){var y=l[T];for(c in y)y.hasOwnProperty(c)&&(n||(n={}),n[c]="")}else T!=="dangerouslySetInnerHTML"&&T!=="children"&&T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(f.hasOwnProperty(T)?s||(s=[]):(s=s||[]).push(T,null));for(T in r){var w=r[T];if(y=l!=null?l[T]:void 0,r.hasOwnProperty(T)&&w!==y&&(w!=null||y!=null))if(T==="style")if(y){for(c in y)!y.hasOwnProperty(c)||w&&w.hasOwnProperty(c)||(n||(n={}),n[c]="");for(c in w)w.hasOwnProperty(c)&&y[c]!==w[c]&&(n||(n={}),n[c]=w[c])}else n||(s||(s=[]),s.push(T,n)),n=w;else T==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,y=y?y.__html:void 0,w!=null&&y!==w&&(s=s||[]).push(T,w)):T==="children"?typeof w!="string"&&typeof w!="number"||(s=s||[]).push(T,""+w):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&(f.hasOwnProperty(T)?(w!=null&&T==="onScroll"&&_e("scroll",e),s||y===w||(s=[])):(s=s||[]).push(T,w))}n&&(s=s||[]).push("style",n);var T=s;(t.updateQueue=T)&&(t.flags|=4)}},xc=function(e,t,n,r){n!==r&&(t.flags|=4)};function jr(e,t){if(!Te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yp(e,t,n){var r=t.pendingProps;switch(hi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(t),null;case 1:return Je(t.type)&&wo(),Ke(t),null;case 3:return r=t.stateNode,Kn(),ke(qe),ke(We),Ti(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ko(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,wt!==null&&(rs(wt),wt=null))),Ki(e,t),Ke(t),null;case 5:ki(t);var l=hn(Lr.current);if(n=t.type,e!==null&&t.stateNode!=null)Sc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Ke(t),null}if(e=hn(Tt.current),ko(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Nt]=t,r[kr]=s,e=(t.mode&1)!==0,n){case"dialog":_e("cancel",r),_e("close",r);break;case"iframe":case"object":case"embed":_e("load",r);break;case"video":case"audio":for(l=0;l<Sr.length;l++)_e(Sr[l],r);break;case"source":_e("error",r);break;case"img":case"image":case"link":_e("error",r),_e("load",r);break;case"details":_e("toggle",r);break;case"input":ru(r,s),_e("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},_e("invalid",r);break;case"textarea":iu(r,s),_e("invalid",r)}Nl(n,s),l=null;for(var c in s)if(s.hasOwnProperty(c)){var y=s[c];c==="children"?typeof y=="string"?r.textContent!==y&&(s.suppressHydrationWarning!==!0&&go(r.textContent,y,e),l=["children",y]):typeof y=="number"&&r.textContent!==""+y&&(s.suppressHydrationWarning!==!0&&go(r.textContent,y,e),l=["children",""+y]):f.hasOwnProperty(c)&&y!=null&&c==="onScroll"&&_e("scroll",r)}switch(n){case"input":Yr(r),lu(r,s,!0);break;case"textarea":Yr(r),uu(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=yo)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{c=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=au(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=c.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),n==="select"&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Nt]=t,e[kr]=r,Cc(e,t,!1,!1),t.stateNode=e;e:{switch(c=Tl(n,r),n){case"dialog":_e("cancel",e),_e("close",e),l=r;break;case"iframe":case"object":case"embed":_e("load",e),l=r;break;case"video":case"audio":for(l=0;l<Sr.length;l++)_e(Sr[l],e);l=r;break;case"source":_e("error",e),l=r;break;case"img":case"image":case"link":_e("error",e),_e("load",e),l=r;break;case"details":_e("toggle",e),l=r;break;case"input":ru(e,r),l=Cl(e,r),_e("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=H({},r,{value:void 0}),_e("invalid",e);break;case"textarea":iu(e,r),l=_l(e,r),_e("invalid",e);break;default:l=r}Nl(n,l),y=l;for(s in y)if(y.hasOwnProperty(s)){var w=y[s];s==="style"?du(e,w):s==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,w!=null&&cu(e,w)):s==="children"?typeof w=="string"?(n!=="textarea"||w!=="")&&rr(e,w):typeof w=="number"&&rr(e,""+w):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(f.hasOwnProperty(s)?w!=null&&s==="onScroll"&&_e("scroll",e):w!=null&&B(e,s,w,c))}switch(n){case"input":Yr(e),lu(e,r,!1);break;case"textarea":Yr(e),uu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+he(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Tn(e,!!r.multiple,s,!1):r.defaultValue!=null&&Tn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=yo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ke(t),null;case 6:if(e&&t.stateNode!=null)xc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(i(166));if(n=hn(Lr.current),hn(Tt.current),ko(t)){if(r=t.stateNode,n=t.memoizedProps,r[Nt]=t,(s=r.nodeValue!==n)&&(e=st,e!==null))switch(e.tag){case 3:go(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&go(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Nt]=t,t.stateNode=r}return Ke(t),null;case 13:if(ke(Pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Te&&ut!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Na(),Vn(),t.flags|=98560,s=!1;else if(s=ko(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(i(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(i(317));s[Nt]=t}else Vn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ke(t),s=!1}else wt!==null&&(rs(wt),wt=null),s=!0;if(!s)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Pe.current&1)!==0?Fe===0&&(Fe=3):is())),t.updateQueue!==null&&(t.flags|=4),Ke(t),null);case 4:return Kn(),Ki(e,t),e===null&&xr(t.stateNode.containerInfo),Ke(t),null;case 10:return wi(t.type._context),Ke(t),null;case 17:return Je(t.type)&&wo(),Ke(t),null;case 19:if(ke(Pe),s=t.memoizedState,s===null)return Ke(t),null;if(r=(t.flags&128)!==0,c=s.rendering,c===null)if(r)jr(s,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Mo(e),c!==null){for(t.flags|=128,jr(s,!1),r=c.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ce(Pe,Pe.current&1|2),t.child}e=e.sibling}s.tail!==null&&Ie()>Zn&&(t.flags|=128,r=!0,jr(s,!1),t.lanes=4194304)}else{if(!r)if(e=Mo(c),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),jr(s,!0),s.tail===null&&s.tailMode==="hidden"&&!c.alternate&&!Te)return Ke(t),null}else 2*Ie()-s.renderingStartTime>Zn&&n!==1073741824&&(t.flags|=128,r=!0,jr(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n!==null?n.sibling=c:t.child=c,s.last=c)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ie(),t.sibling=null,n=Pe.current,Ce(Pe,r?n&1|2:n&1),t):(Ke(t),null);case 22:case 23:return ls(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(at&1073741824)!==0&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),null;case 24:return null;case 25:return null}throw Error(i(156,t.tag))}function Gp(e,t){switch(hi(t),t.tag){case 1:return Je(t.type)&&wo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Kn(),ke(qe),ke(We),Ti(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ki(t),null;case 13:if(ke(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ke(Pe),null;case 4:return Kn(),null;case 10:return wi(t.type._context),null;case 22:case 23:return ls(),null;case 24:return null;default:return null}}var Bo=!1,Ye=!1,Xp=typeof WeakSet=="function"?WeakSet:Set,W=null;function Gn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Le(e,t,r)}else n.current=null}function Yi(e,t,n){try{n()}catch(r){Le(e,t,r)}}var _c=!1;function Zp(e,t){if(li=lo,e=na(),ql(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var c=0,y=-1,w=-1,T=0,j=0,D=e,z=null;t:for(;;){for(var V;D!==n||l!==0&&D.nodeType!==3||(y=c+l),D!==s||r!==0&&D.nodeType!==3||(w=c+r),D.nodeType===3&&(c+=D.nodeValue.length),(V=D.firstChild)!==null;)z=D,D=V;for(;;){if(D===e)break t;if(z===n&&++T===l&&(y=c),z===s&&++j===r&&(w=c),(V=D.nextSibling)!==null)break;D=z,z=D.parentNode}D=V}n=y===-1||w===-1?null:{start:y,end:w}}else n=null}n=n||{start:0,end:0}}else n=null;for(ii={focusedElem:e,selectionRange:n},lo=!1,W=t;W!==null;)if(t=W,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,W=e;else for(;W!==null;){t=W;try{var Y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(Y!==null){var G=Y.memoizedProps,Oe=Y.memoizedState,_=t.stateNode,C=_.getSnapshotBeforeUpdate(t.elementType===t.type?G:Ct(t.type,G),Oe);_.__reactInternalSnapshotBeforeUpdate=C}break;case 3:var N=t.stateNode.containerInfo;N.nodeType===1?N.textContent="":N.nodeType===9&&N.documentElement&&N.removeChild(N.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(A){Le(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}return Y=_c,_c=!1,Y}function Dr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&Yi(t,n,s)}l=l.next}while(l!==r)}}function $o(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Gi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function kc(e){var t=e.alternate;t!==null&&(e.alternate=null,kc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Nt],delete t[kr],delete t[ci],delete t[Ip],delete t[Op])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Nc(e){return e.tag===5||e.tag===3||e.tag===4}function Tc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Nc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yo));else if(r!==4&&(e=e.child,e!==null))for(Xi(e,t,n),e=e.sibling;e!==null;)Xi(e,t,n),e=e.sibling}function Zi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Zi(e,t,n),e=e.sibling;e!==null;)Zi(e,t,n),e=e.sibling}var Ve=null,St=!1;function Jt(e,t,n){for(n=n.child;n!==null;)Pc(e,t,n),n=n.sibling}function Pc(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(br,n)}catch{}switch(n.tag){case 5:Ye||Gn(n,t);case 6:var r=Ve,l=St;Ve=null,Jt(e,t,n),Ve=r,St=l,Ve!==null&&(St?(e=Ve,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ve.removeChild(n.stateNode));break;case 18:Ve!==null&&(St?(e=Ve,n=n.stateNode,e.nodeType===8?ai(e.parentNode,n):e.nodeType===1&&ai(e,n),hr(e)):ai(Ve,n.stateNode));break;case 4:r=Ve,l=St,Ve=n.stateNode.containerInfo,St=!0,Jt(e,t,n),Ve=r,St=l;break;case 0:case 11:case 14:case 15:if(!Ye&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,c=s.destroy;s=s.tag,c!==void 0&&((s&2)!==0||(s&4)!==0)&&Yi(n,t,c),l=l.next}while(l!==r)}Jt(e,t,n);break;case 1:if(!Ye&&(Gn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(y){Le(n,t,y)}Jt(e,t,n);break;case 21:Jt(e,t,n);break;case 22:n.mode&1?(Ye=(r=Ye)||n.memoizedState!==null,Jt(e,t,n),Ye=r):Jt(e,t,n);break;default:Jt(e,t,n)}}function Rc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Xp),t.forEach(function(r){var l=lh.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function xt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var s=e,c=t,y=c;e:for(;y!==null;){switch(y.tag){case 5:Ve=y.stateNode,St=!1;break e;case 3:Ve=y.stateNode.containerInfo,St=!0;break e;case 4:Ve=y.stateNode.containerInfo,St=!0;break e}y=y.return}if(Ve===null)throw Error(i(160));Pc(s,c,l),Ve=null,St=!1;var w=l.alternate;w!==null&&(w.return=null),l.return=null}catch(T){Le(l,t,T)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Lc(t,e),t=t.sibling}function Lc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xt(t,e),Rt(e),r&4){try{Dr(3,e,e.return),$o(3,e)}catch(G){Le(e,e.return,G)}try{Dr(5,e,e.return)}catch(G){Le(e,e.return,G)}}break;case 1:xt(t,e),Rt(e),r&512&&n!==null&&Gn(n,n.return);break;case 5:if(xt(t,e),Rt(e),r&512&&n!==null&&Gn(n,n.return),e.flags&32){var l=e.stateNode;try{rr(l,"")}catch(G){Le(e,e.return,G)}}if(r&4&&(l=e.stateNode,l!=null)){var s=e.memoizedProps,c=n!==null?n.memoizedProps:s,y=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{y==="input"&&s.type==="radio"&&s.name!=null&&ou(l,s),Tl(y,c);var T=Tl(y,s);for(c=0;c<w.length;c+=2){var j=w[c],D=w[c+1];j==="style"?du(l,D):j==="dangerouslySetInnerHTML"?cu(l,D):j==="children"?rr(l,D):B(l,j,D,T)}switch(y){case"input":Sl(l,s);break;case"textarea":su(l,s);break;case"select":var z=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!s.multiple;var V=s.value;V!=null?Tn(l,!!s.multiple,V,!1):z!==!!s.multiple&&(s.defaultValue!=null?Tn(l,!!s.multiple,s.defaultValue,!0):Tn(l,!!s.multiple,s.multiple?[]:"",!1))}l[kr]=s}catch(G){Le(e,e.return,G)}}break;case 6:if(xt(t,e),Rt(e),r&4){if(e.stateNode===null)throw Error(i(162));l=e.stateNode,s=e.memoizedProps;try{l.nodeValue=s}catch(G){Le(e,e.return,G)}}break;case 3:if(xt(t,e),Rt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{hr(t.containerInfo)}catch(G){Le(e,e.return,G)}break;case 4:xt(t,e),Rt(e);break;case 13:xt(t,e),Rt(e),l=e.child,l.flags&8192&&(s=l.memoizedState!==null,l.stateNode.isHidden=s,!s||l.alternate!==null&&l.alternate.memoizedState!==null||(bi=Ie())),r&4&&Rc(e);break;case 22:if(j=n!==null&&n.memoizedState!==null,e.mode&1?(Ye=(T=Ye)||j,xt(t,e),Ye=T):xt(t,e),Rt(e),r&8192){if(T=e.memoizedState!==null,(e.stateNode.isHidden=T)&&!j&&(e.mode&1)!==0)for(W=e,j=e.child;j!==null;){for(D=W=j;W!==null;){switch(z=W,V=z.child,z.tag){case 0:case 11:case 14:case 15:Dr(4,z,z.return);break;case 1:Gn(z,z.return);var Y=z.stateNode;if(typeof Y.componentWillUnmount=="function"){r=z,n=z.return;try{t=r,Y.props=t.memoizedProps,Y.state=t.memoizedState,Y.componentWillUnmount()}catch(G){Le(r,n,G)}}break;case 5:Gn(z,z.return);break;case 22:if(z.memoizedState!==null){Oc(D);continue}}V!==null?(V.return=z,W=V):Oc(D)}j=j.sibling}e:for(j=null,D=e;;){if(D.tag===5){if(j===null){j=D;try{l=D.stateNode,T?(s=l.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(y=D.stateNode,w=D.memoizedProps.style,c=w!=null&&w.hasOwnProperty("display")?w.display:null,y.style.display=fu("display",c))}catch(G){Le(e,e.return,G)}}}else if(D.tag===6){if(j===null)try{D.stateNode.nodeValue=T?"":D.memoizedProps}catch(G){Le(e,e.return,G)}}else if((D.tag!==22&&D.tag!==23||D.memoizedState===null||D===e)&&D.child!==null){D.child.return=D,D=D.child;continue}if(D===e)break e;for(;D.sibling===null;){if(D.return===null||D.return===e)break e;j===D&&(j=null),D=D.return}j===D&&(j=null),D.sibling.return=D.return,D=D.sibling}}break;case 19:xt(t,e),Rt(e),r&4&&Rc(e);break;case 21:break;default:xt(t,e),Rt(e)}}function Rt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Nc(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(rr(l,""),r.flags&=-33);var s=Tc(e);Zi(e,s,l);break;case 3:case 4:var c=r.stateNode.containerInfo,y=Tc(e);Xi(e,y,c);break;default:throw Error(i(161))}}catch(w){Le(e,e.return,w)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function qp(e,t,n){W=e,Mc(e)}function Mc(e,t,n){for(var r=(e.mode&1)!==0;W!==null;){var l=W,s=l.child;if(l.tag===22&&r){var c=l.memoizedState!==null||Bo;if(!c){var y=l.alternate,w=y!==null&&y.memoizedState!==null||Ye;y=Bo;var T=Ye;if(Bo=c,(Ye=w)&&!T)for(W=l;W!==null;)c=W,w=c.child,c.tag===22&&c.memoizedState!==null?zc(l):w!==null?(w.return=c,W=w):zc(l);for(;s!==null;)W=s,Mc(s),s=s.sibling;W=l,Bo=y,Ye=T}Ic(e)}else(l.subtreeFlags&8772)!==0&&s!==null?(s.return=l,W=s):Ic(e)}}function Ic(e){for(;W!==null;){var t=W;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ye||$o(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ye)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Ct(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Oa(t,s,r);break;case 3:var c=t.updateQueue;if(c!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Oa(t,c,n)}break;case 5:var y=t.stateNode;if(n===null&&t.flags&4){n=y;var w=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":w.autoFocus&&n.focus();break;case"img":w.src&&(n.src=w.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var T=t.alternate;if(T!==null){var j=T.memoizedState;if(j!==null){var D=j.dehydrated;D!==null&&hr(D)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Ye||t.flags&512&&Gi(t)}catch(z){Le(t,t.return,z)}}if(t===e){W=null;break}if(n=t.sibling,n!==null){n.return=t.return,W=n;break}W=t.return}}function Oc(e){for(;W!==null;){var t=W;if(t===e){W=null;break}var n=t.sibling;if(n!==null){n.return=t.return,W=n;break}W=t.return}}function zc(e){for(;W!==null;){var t=W;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$o(4,t)}catch(w){Le(t,n,w)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(w){Le(t,l,w)}}var s=t.return;try{Gi(t)}catch(w){Le(t,s,w)}break;case 5:var c=t.return;try{Gi(t)}catch(w){Le(t,c,w)}}}catch(w){Le(t,t.return,w)}if(t===e){W=null;break}var y=t.sibling;if(y!==null){y.return=t.return,W=y;break}W=t.return}}var Jp=Math.ceil,Vo=$.ReactCurrentDispatcher,qi=$.ReactCurrentOwner,mt=$.ReactCurrentBatchConfig,ue=0,Be=null,De=null,He=0,at=0,Xn=Yt(0),Fe=0,Ar=null,vn=0,Ho=0,Ji=0,Fr=null,et=null,bi=0,Zn=1/0,Ft=null,Wo=!1,es=null,bt=null,Qo=!1,en=null,Ko=0,Ur=0,ts=null,Yo=-1,Go=0;function Ze(){return(ue&6)!==0?Ie():Yo!==-1?Yo:Yo=Ie()}function tn(e){return(e.mode&1)===0?1:(ue&2)!==0&&He!==0?He&-He:jp.transition!==null?(Go===0&&(Go=Tu()),Go):(e=me,e!==0||(e=window.event,e=e===void 0?16:Du(e.type)),e)}function _t(e,t,n,r){if(50<Ur)throw Ur=0,ts=null,Error(i(185));ar(e,n,r),((ue&2)===0||e!==Be)&&(e===Be&&((ue&2)===0&&(Ho|=n),Fe===4&&nn(e,He)),tt(e,r),n===1&&ue===0&&(t.mode&1)===0&&(Zn=Ie()+500,So&&Xt()))}function tt(e,t){var n=e.callbackNode;jd(e,t);var r=no(e,e===Be?He:0);if(r===0)n!==null&&_u(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&_u(n),t===1)e.tag===0?zp(Dc.bind(null,e)):Ca(Dc.bind(null,e)),Lp(function(){(ue&6)===0&&Xt()}),n=null;else{switch(Pu(r)){case 1:n=zl;break;case 4:n=ku;break;case 16:n=Jr;break;case 536870912:n=Nu;break;default:n=Jr}n=Wc(n,jc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function jc(e,t){if(Yo=-1,Go=0,(ue&6)!==0)throw Error(i(327));var n=e.callbackNode;if(qn()&&e.callbackNode!==n)return null;var r=no(e,e===Be?He:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Xo(e,r);else{t=r;var l=ue;ue|=2;var s=Fc();(Be!==e||He!==t)&&(Ft=null,Zn=Ie()+500,yn(e,t));do try{th();break}catch(y){Ac(e,y)}while(!0);Ei(),Vo.current=s,ue=l,De!==null?t=0:(Be=null,He=0,t=Fe)}if(t!==0){if(t===2&&(l=jl(e),l!==0&&(r=l,t=ns(e,l))),t===1)throw n=Ar,yn(e,0),nn(e,r),tt(e,Ie()),n;if(t===6)nn(e,r);else{if(l=e.current.alternate,(r&30)===0&&!bp(l)&&(t=Xo(e,r),t===2&&(s=jl(e),s!==0&&(r=s,t=ns(e,s))),t===1))throw n=Ar,yn(e,0),nn(e,r),tt(e,Ie()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:En(e,et,Ft);break;case 3:if(nn(e,r),(r&130023424)===r&&(t=bi+500-Ie(),10<t)){if(no(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Ze(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=ui(En.bind(null,e,et,Ft),t);break}En(e,et,Ft);break;case 4:if(nn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var c=31-yt(r);s=1<<c,c=t[c],c>l&&(l=c),r&=~s}if(r=l,r=Ie()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jp(r/1960))-r,10<r){e.timeoutHandle=ui(En.bind(null,e,et,Ft),r);break}En(e,et,Ft);break;case 5:En(e,et,Ft);break;default:throw Error(i(329))}}}return tt(e,Ie()),e.callbackNode===n?jc.bind(null,e):null}function ns(e,t){var n=Fr;return e.current.memoizedState.isDehydrated&&(yn(e,t).flags|=256),e=Xo(e,t),e!==2&&(t=et,et=n,t!==null&&rs(t)),e}function rs(e){et===null?et=e:et.push.apply(et,e)}function bp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],s=l.getSnapshot;l=l.value;try{if(!Et(s(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function nn(e,t){for(t&=~Ji,t&=~Ho,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-yt(t),r=1<<n;e[n]=-1,t&=~r}}function Dc(e){if((ue&6)!==0)throw Error(i(327));qn();var t=no(e,0);if((t&1)===0)return tt(e,Ie()),null;var n=Xo(e,t);if(e.tag!==0&&n===2){var r=jl(e);r!==0&&(t=r,n=ns(e,r))}if(n===1)throw n=Ar,yn(e,0),nn(e,t),tt(e,Ie()),n;if(n===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,En(e,et,Ft),tt(e,Ie()),null}function os(e,t){var n=ue;ue|=1;try{return e(t)}finally{ue=n,ue===0&&(Zn=Ie()+500,So&&Xt())}}function gn(e){en!==null&&en.tag===0&&(ue&6)===0&&qn();var t=ue;ue|=1;var n=mt.transition,r=me;try{if(mt.transition=null,me=1,e)return e()}finally{me=r,mt.transition=n,ue=t,(ue&6)===0&&Xt()}}function ls(){at=Xn.current,ke(Xn)}function yn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Rp(n)),De!==null)for(n=De.return;n!==null;){var r=n;switch(hi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&wo();break;case 3:Kn(),ke(qe),ke(We),Ti();break;case 5:ki(r);break;case 4:Kn();break;case 13:ke(Pe);break;case 19:ke(Pe);break;case 10:wi(r.type._context);break;case 22:case 23:ls()}n=n.return}if(Be=e,De=e=rn(e.current,null),He=at=t,Fe=0,Ar=null,Ji=Ho=vn=0,et=Fr=null,pn!==null){for(t=0;t<pn.length;t++)if(n=pn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,s=n.pending;if(s!==null){var c=s.next;s.next=l,r.next=c}n.pending=r}pn=null}return e}function Ac(e,t){do{var n=De;try{if(Ei(),Io.current=Do,Oo){for(var r=Re.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Oo=!1}if(mn=0,Ue=Ae=Re=null,Mr=!1,Ir=0,qi.current=null,n===null||n.return===null){Fe=1,Ar=t,De=null;break}e:{var s=e,c=n.return,y=n,w=t;if(t=He,y.flags|=32768,w!==null&&typeof w=="object"&&typeof w.then=="function"){var T=w,j=y,D=j.tag;if((j.mode&1)===0&&(D===0||D===11||D===15)){var z=j.alternate;z?(j.updateQueue=z.updateQueue,j.memoizedState=z.memoizedState,j.lanes=z.lanes):(j.updateQueue=null,j.memoizedState=null)}var V=uc(c);if(V!==null){V.flags&=-257,ac(V,c,y,s,t),V.mode&1&&sc(s,T,t),t=V,w=T;var Y=t.updateQueue;if(Y===null){var G=new Set;G.add(w),t.updateQueue=G}else Y.add(w);break e}else{if((t&1)===0){sc(s,T,t),is();break e}w=Error(i(426))}}else if(Te&&y.mode&1){var Oe=uc(c);if(Oe!==null){(Oe.flags&65536)===0&&(Oe.flags|=256),ac(Oe,c,y,s,t),gi(Yn(w,y));break e}}s=w=Yn(w,y),Fe!==4&&(Fe=2),Fr===null?Fr=[s]:Fr.push(s),s=c;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var _=lc(s,w,t);Ia(s,_);break e;case 1:y=w;var C=s.type,N=s.stateNode;if((s.flags&128)===0&&(typeof C.getDerivedStateFromError=="function"||N!==null&&typeof N.componentDidCatch=="function"&&(bt===null||!bt.has(N)))){s.flags|=65536,t&=-t,s.lanes|=t;var A=ic(s,y,t);Ia(s,A);break e}}s=s.return}while(s!==null)}Bc(n)}catch(X){t=X,De===n&&n!==null&&(De=n=n.return);continue}break}while(!0)}function Fc(){var e=Vo.current;return Vo.current=Do,e===null?Do:e}function is(){(Fe===0||Fe===3||Fe===2)&&(Fe=4),Be===null||(vn&268435455)===0&&(Ho&268435455)===0||nn(Be,He)}function Xo(e,t){var n=ue;ue|=2;var r=Fc();(Be!==e||He!==t)&&(Ft=null,yn(e,t));do try{eh();break}catch(l){Ac(e,l)}while(!0);if(Ei(),ue=n,Vo.current=r,De!==null)throw Error(i(261));return Be=null,He=0,Fe}function eh(){for(;De!==null;)Uc(De)}function th(){for(;De!==null&&!Nd();)Uc(De)}function Uc(e){var t=Hc(e.alternate,e,at);e.memoizedProps=e.pendingProps,t===null?Bc(e):De=t,qi.current=null}function Bc(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Yp(n,t,at),n!==null){De=n;return}}else{if(n=Gp(n,t),n!==null){n.flags&=32767,De=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Fe=6,De=null;return}}if(t=t.sibling,t!==null){De=t;return}De=t=e}while(t!==null);Fe===0&&(Fe=5)}function En(e,t,n){var r=me,l=mt.transition;try{mt.transition=null,me=1,nh(e,t,n,r)}finally{mt.transition=l,me=r}return null}function nh(e,t,n,r){do qn();while(en!==null);if((ue&6)!==0)throw Error(i(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Dd(e,s),e===Be&&(De=Be=null,He=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Qo||(Qo=!0,Wc(Jr,function(){return qn(),null})),s=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||s){s=mt.transition,mt.transition=null;var c=me;me=1;var y=ue;ue|=4,qi.current=null,Zp(e,n),Lc(n,e),Sp(ii),lo=!!li,ii=li=null,e.current=n,qp(n),Td(),ue=y,me=c,mt.transition=s}else e.current=n;if(Qo&&(Qo=!1,en=e,Ko=l),s=e.pendingLanes,s===0&&(bt=null),Ld(n.stateNode),tt(e,Ie()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Wo)throw Wo=!1,e=es,es=null,e;return(Ko&1)!==0&&e.tag!==0&&qn(),s=e.pendingLanes,(s&1)!==0?e===ts?Ur++:(Ur=0,ts=e):Ur=0,Xt(),null}function qn(){if(en!==null){var e=Pu(Ko),t=mt.transition,n=me;try{if(mt.transition=null,me=16>e?16:e,en===null)var r=!1;else{if(e=en,en=null,Ko=0,(ue&6)!==0)throw Error(i(331));var l=ue;for(ue|=4,W=e.current;W!==null;){var s=W,c=s.child;if((W.flags&16)!==0){var y=s.deletions;if(y!==null){for(var w=0;w<y.length;w++){var T=y[w];for(W=T;W!==null;){var j=W;switch(j.tag){case 0:case 11:case 15:Dr(8,j,s)}var D=j.child;if(D!==null)D.return=j,W=D;else for(;W!==null;){j=W;var z=j.sibling,V=j.return;if(kc(j),j===T){W=null;break}if(z!==null){z.return=V,W=z;break}W=V}}}var Y=s.alternate;if(Y!==null){var G=Y.child;if(G!==null){Y.child=null;do{var Oe=G.sibling;G.sibling=null,G=Oe}while(G!==null)}}W=s}}if((s.subtreeFlags&2064)!==0&&c!==null)c.return=s,W=c;else e:for(;W!==null;){if(s=W,(s.flags&2048)!==0)switch(s.tag){case 0:case 11:case 15:Dr(9,s,s.return)}var _=s.sibling;if(_!==null){_.return=s.return,W=_;break e}W=s.return}}var C=e.current;for(W=C;W!==null;){c=W;var N=c.child;if((c.subtreeFlags&2064)!==0&&N!==null)N.return=c,W=N;else e:for(c=C;W!==null;){if(y=W,(y.flags&2048)!==0)try{switch(y.tag){case 0:case 11:case 15:$o(9,y)}}catch(X){Le(y,y.return,X)}if(y===c){W=null;break e}var A=y.sibling;if(A!==null){A.return=y.return,W=A;break e}W=y.return}}if(ue=l,Xt(),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(br,e)}catch{}r=!0}return r}finally{me=n,mt.transition=t}}return!1}function $c(e,t,n){t=Yn(n,t),t=lc(e,t,1),e=qt(e,t,1),t=Ze(),e!==null&&(ar(e,1,t),tt(e,t))}function Le(e,t,n){if(e.tag===3)$c(e,e,n);else for(;t!==null;){if(t.tag===3){$c(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(bt===null||!bt.has(r))){e=Yn(n,e),e=ic(t,e,1),t=qt(t,e,1),e=Ze(),t!==null&&(ar(t,1,e),tt(t,e));break}}t=t.return}}function rh(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ze(),e.pingedLanes|=e.suspendedLanes&n,Be===e&&(He&n)===n&&(Fe===4||Fe===3&&(He&130023424)===He&&500>Ie()-bi?yn(e,0):Ji|=n),tt(e,t)}function Vc(e,t){t===0&&((e.mode&1)===0?t=1:(t=to,to<<=1,(to&130023424)===0&&(to=4194304)));var n=Ze();e=jt(e,t),e!==null&&(ar(e,t,n),tt(e,n))}function oh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Vc(e,n)}function lh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}r!==null&&r.delete(t),Vc(e,n)}var Hc;Hc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qe.current)be=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return be=!1,Kp(e,t,n);be=(e.flags&131072)!==0}else be=!1,Te&&(t.flags&1048576)!==0&&Sa(t,_o,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Uo(e,t),e=t.pendingProps;var l=Un(t,We.current);Qn(t,n),l=Li(null,t,r,e,l,n);var s=Mi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Je(r)?(s=!0,Co(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,xi(t),l.updater=Ao,t.stateNode=l,l._reactInternals=t,Ai(t,r,e,n),t=$i(null,t,r,!0,s,n)):(t.tag=0,Te&&s&&pi(t),Xe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Uo(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=sh(r),e=Ct(r,e),l){case 0:t=Bi(null,t,r,e,n);break e;case 1:t=mc(null,t,r,e,n);break e;case 11:t=cc(null,t,r,e,n);break e;case 14:t=fc(null,t,r,Ct(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ct(r,l),Bi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ct(r,l),mc(e,t,r,l,n);case 3:e:{if(vc(t),e===null)throw Error(i(387));r=t.pendingProps,s=t.memoizedState,l=s.element,Ma(e,t),Lo(t,r,null,n);var c=t.memoizedState;if(r=c.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=Yn(Error(i(423)),t),t=gc(e,t,r,n,l);break e}else if(r!==l){l=Yn(Error(i(424)),t),t=gc(e,t,r,n,l);break e}else for(ut=Kt(t.stateNode.containerInfo.firstChild),st=t,Te=!0,wt=null,n=Ra(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Vn(),r===l){t=At(e,t,n);break e}Xe(e,t,r,n)}t=t.child}return t;case 5:return za(t),e===null&&vi(t),r=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,c=l.children,si(r,l)?c=null:s!==null&&si(r,s)&&(t.flags|=32),hc(e,t),Xe(e,t,c,n),t.child;case 6:return e===null&&vi(t),null;case 13:return yc(e,t,n);case 4:return _i(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Hn(t,null,r,n):Xe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ct(r,l),cc(e,t,r,l,n);case 7:return Xe(e,t,t.pendingProps,n),t.child;case 8:return Xe(e,t,t.pendingProps.children,n),t.child;case 12:return Xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,s=t.memoizedProps,c=l.value,Ce(To,r._currentValue),r._currentValue=c,s!==null)if(Et(s.value,c)){if(s.children===l.children&&!qe.current){t=At(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var y=s.dependencies;if(y!==null){c=s.child;for(var w=y.firstContext;w!==null;){if(w.context===r){if(s.tag===1){w=Dt(-1,n&-n),w.tag=2;var T=s.updateQueue;if(T!==null){T=T.shared;var j=T.pending;j===null?w.next=w:(w.next=j.next,j.next=w),T.pending=w}}s.lanes|=n,w=s.alternate,w!==null&&(w.lanes|=n),Ci(s.return,n,t),y.lanes|=n;break}w=w.next}}else if(s.tag===10)c=s.type===t.type?null:s.child;else if(s.tag===18){if(c=s.return,c===null)throw Error(i(341));c.lanes|=n,y=c.alternate,y!==null&&(y.lanes|=n),Ci(c,n,t),c=s.sibling}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===t){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}Xe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Qn(t,n),l=pt(l),r=r(l),t.flags|=1,Xe(e,t,r,n),t.child;case 14:return r=t.type,l=Ct(r,t.pendingProps),l=Ct(r.type,l),fc(e,t,r,l,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ct(r,l),Uo(e,t),t.tag=1,Je(r)?(e=!0,Co(t)):e=!1,Qn(t,n),rc(t,r,l),Ai(t,r,l,n),$i(null,t,r,!0,e,n);case 19:return wc(e,t,n);case 22:return pc(e,t,n)}throw Error(i(156,t.tag))};function Wc(e,t){return xu(e,t)}function ih(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vt(e,t,n,r){return new ih(e,t,n,r)}function ss(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sh(e){if(typeof e=="function")return ss(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xe)return 11;if(e===ve)return 14}return 2}function rn(e,t){var n=e.alternate;return n===null?(n=vt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zo(e,t,n,r,l,s){var c=2;if(r=e,typeof e=="function")ss(e)&&(c=1);else if(typeof e=="string")c=5;else e:switch(e){case ye:return wn(n.children,l,s,t);case ie:c=8,l|=8;break;case ze:return e=vt(12,n,t,l|2),e.elementType=ze,e.lanes=s,e;case Ee:return e=vt(13,n,t,l),e.elementType=Ee,e.lanes=s,e;case se:return e=vt(19,n,t,l),e.elementType=se,e.lanes=s,e;case re:return qo(n,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case je:c=10;break e;case ge:c=9;break e;case xe:c=11;break e;case ve:c=14;break e;case de:c=16,r=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=vt(c,n,t,l),t.elementType=e,t.type=r,t.lanes=s,t}function wn(e,t,n,r){return e=vt(7,e,r,t),e.lanes=n,e}function qo(e,t,n,r){return e=vt(22,e,r,t),e.elementType=re,e.lanes=n,e.stateNode={isHidden:!1},e}function us(e,t,n){return e=vt(6,e,null,t),e.lanes=n,e}function as(e,t,n){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uh(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dl(0),this.expirationTimes=Dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function cs(e,t,n,r,l,s,c,y,w){return e=new uh(e,t,n,y,w),t===1?(t=1,s===!0&&(t|=8)):t=0,s=vt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},xi(s),e}function ah(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:pe,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Qc(e){if(!e)return Gt;e=e._reactInternals;e:{if(un(e)!==e||e.tag!==1)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(i(171))}if(e.tag===1){var n=e.type;if(Je(n))return Ea(e,n,t)}return t}function Kc(e,t,n,r,l,s,c,y,w){return e=cs(n,r,!0,e,l,s,c,y,w),e.context=Qc(null),n=e.current,r=Ze(),l=tn(n),s=Dt(r,l),s.callback=t??null,qt(n,s,l),e.current.lanes=l,ar(e,l,r),tt(e,r),e}function Jo(e,t,n,r){var l=t.current,s=Ze(),c=tn(l);return n=Qc(n),t.context===null?t.context=n:t.pendingContext=n,t=Dt(s,c),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=qt(l,t,c),e!==null&&(_t(e,l,c,s),Ro(e,l,c)),c}function bo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Yc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function fs(e,t){Yc(e,t),(e=e.alternate)&&Yc(e,t)}function ch(){return null}var Gc=typeof reportError=="function"?reportError:function(e){console.error(e)};function ds(e){this._internalRoot=e}el.prototype.render=ds.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));Jo(e,t,null,null)},el.prototype.unmount=ds.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;gn(function(){Jo(null,e,null,null)}),t[Mt]=null}};function el(e){this._internalRoot=e}el.prototype.unstable_scheduleHydration=function(e){if(e){var t=Mu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ht.length&&t!==0&&t<Ht[n].priority;n++);Ht.splice(n,0,e),n===0&&zu(e)}};function ps(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function tl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Xc(){}function fh(e,t,n,r,l){if(l){if(typeof r=="function"){var s=r;r=function(){var T=bo(c);s.call(T)}}var c=Kc(t,r,e,0,null,!1,!1,"",Xc);return e._reactRootContainer=c,e[Mt]=c.current,xr(e.nodeType===8?e.parentNode:e),gn(),c}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var y=r;r=function(){var T=bo(w);y.call(T)}}var w=cs(e,0,!1,null,null,!1,!1,"",Xc);return e._reactRootContainer=w,e[Mt]=w.current,xr(e.nodeType===8?e.parentNode:e),gn(function(){Jo(t,w,n,r)}),w}function nl(e,t,n,r,l){var s=n._reactRootContainer;if(s){var c=s;if(typeof l=="function"){var y=l;l=function(){var w=bo(c);y.call(w)}}Jo(t,c,e,l)}else c=fh(n,t,e,l,r);return bo(c)}Ru=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ur(t.pendingLanes);n!==0&&(Al(t,n|1),tt(t,Ie()),(ue&6)===0&&(Zn=Ie()+500,Xt()))}break;case 13:gn(function(){var r=jt(e,1);if(r!==null){var l=Ze();_t(r,e,1,l)}}),fs(e,1)}},Fl=function(e){if(e.tag===13){var t=jt(e,134217728);if(t!==null){var n=Ze();_t(t,e,134217728,n)}fs(e,134217728)}},Lu=function(e){if(e.tag===13){var t=tn(e),n=jt(e,t);if(n!==null){var r=Ze();_t(n,e,t,r)}fs(e,t)}},Mu=function(){return me},Iu=function(e,t){var n=me;try{return me=e,t()}finally{me=n}},Ll=function(e,t,n){switch(t){case"input":if(Sl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=Eo(r);if(!l)throw Error(i(90));nu(r),Sl(r,l)}}}break;case"textarea":su(e,n);break;case"select":t=n.value,t!=null&&Tn(e,!!n.multiple,t,!1)}},vu=os,gu=gn;var dh={usingClientEntryPoint:!1,Events:[Nr,An,Eo,hu,mu,os]},Br={findFiberByHostInstance:an,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ph={bundleType:Br.bundleType,version:Br.version,rendererPackageName:Br.rendererPackageName,rendererConfig:Br.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Cu(e),e===null?null:e.stateNode},findFiberByHostInstance:Br.findFiberByHostInstance||ch,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rl.isDisabled&&rl.supportsFiber)try{br=rl.inject(ph),kt=rl}catch{}}return nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dh,nt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ps(t))throw Error(i(200));return ah(e,t,null,n)},nt.createRoot=function(e,t){if(!ps(e))throw Error(i(299));var n=!1,r="",l=Gc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=cs(e,1,!1,null,null,n,!1,r,l),e[Mt]=t.current,xr(e.nodeType===8?e.parentNode:e),new ds(t)},nt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Cu(t),e=e===null?null:e.stateNode,e},nt.flushSync=function(e){return gn(e)},nt.hydrate=function(e,t,n){if(!tl(t))throw Error(i(200));return nl(null,e,t,!0,n)},nt.hydrateRoot=function(e,t,n){if(!ps(e))throw Error(i(405));var r=n!=null&&n.hydratedSources||null,l=!1,s="",c=Gc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(c=n.onRecoverableError)),t=Kc(t,null,e,1,n??null,l,!1,s,c),e[Mt]=t.current,xr(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new el(t)},nt.render=function(e,t,n){if(!tl(t))throw Error(i(200));return nl(null,e,t,!1,n)},nt.unmountComponentAtNode=function(e){if(!tl(e))throw Error(i(40));return e._reactRootContainer?(gn(function(){nl(null,null,e,!1,function(){e._reactRootContainer=null,e[Mt]=null})}),!0):!1},nt.unstable_batchedUpdates=os,nt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!tl(n))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return nl(e,t,n,!1,r)},nt.version="18.3.1-next-f1338f8080-20240426",nt}var sf;function Bf(){if(sf)return Es.exports;sf=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(u){console.error(u)}}return o(),Es.exports=Fm(),Es.exports}var $f=Bf();const ll=Vs($f),uf={disabled:!1},fl=Q.createContext(null);var Vf=function(u){return u.scrollTop},Vr="unmounted",Cn="exited",Sn="entering",bn="entered",Is="exiting",Ut=(function(o){Gs(u,o);function u(a,f){var p;p=o.call(this,a,f)||this;var h=f,g=h&&!h.isMounting?a.enter:a.appear,d;return p.appearStatus=null,a.in?g?(d=Cn,p.appearStatus=Sn):d=bn:a.unmountOnExit||a.mountOnEnter?d=Vr:d=Cn,p.state={status:d},p.nextCallback=null,p}u.getDerivedStateFromProps=function(f,p){var h=f.in;return h&&p.status===Vr?{status:Cn}:null};var i=u.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(f){var p=null;if(f!==this.props){var h=this.state.status;this.props.in?h!==Sn&&h!==bn&&(p=Sn):(h===Sn||h===bn)&&(p=Is)}this.updateStatus(!1,p)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var f=this.props.timeout,p,h,g;return p=h=g=f,f!=null&&typeof f!="number"&&(p=f.exit,h=f.enter,g=f.appear!==void 0?f.appear:h),{exit:p,enter:h,appear:g}},i.updateStatus=function(f,p){if(f===void 0&&(f=!1),p!==null)if(this.cancelNextCallback(),p===Sn){if(this.props.unmountOnExit||this.props.mountOnEnter){var h=this.props.nodeRef?this.props.nodeRef.current:ll.findDOMNode(this);h&&Vf(h)}this.performEnter(f)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Cn&&this.setState({status:Vr})},i.performEnter=function(f){var p=this,h=this.props.enter,g=this.context?this.context.isMounting:f,d=this.props.nodeRef?[g]:[ll.findDOMNode(this),g],m=d[0],v=d[1],E=this.getTimeouts(),S=g?E.appear:E.enter;if(!f&&!h||uf.disabled){this.safeSetState({status:bn},function(){p.props.onEntered(m)});return}this.props.onEnter(m,v),this.safeSetState({status:Sn},function(){p.props.onEntering(m,v),p.onTransitionEnd(S,function(){p.safeSetState({status:bn},function(){p.props.onEntered(m,v)})})})},i.performExit=function(){var f=this,p=this.props.exit,h=this.getTimeouts(),g=this.props.nodeRef?void 0:ll.findDOMNode(this);if(!p||uf.disabled){this.safeSetState({status:Cn},function(){f.props.onExited(g)});return}this.props.onExit(g),this.safeSetState({status:Is},function(){f.props.onExiting(g),f.onTransitionEnd(h.exit,function(){f.safeSetState({status:Cn},function(){f.props.onExited(g)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(f,p){p=this.setNextCallback(p),this.setState(f,p)},i.setNextCallback=function(f){var p=this,h=!0;return this.nextCallback=function(g){h&&(h=!1,p.nextCallback=null,f(g))},this.nextCallback.cancel=function(){h=!1},this.nextCallback},i.onTransitionEnd=function(f,p){this.setNextCallback(p);var h=this.props.nodeRef?this.props.nodeRef.current:ll.findDOMNode(this),g=f==null&&!this.props.addEndListener;if(!h||g){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[h,this.nextCallback],m=d[0],v=d[1];this.props.addEndListener(m,v)}f!=null&&setTimeout(this.nextCallback,f)},i.render=function(){var f=this.state.status;if(f===Vr)return null;var p=this.props,h=p.children;p.in,p.mountOnEnter,p.unmountOnExit,p.appear,p.enter,p.exit,p.timeout,p.addEndListener,p.onEnter,p.onEntering,p.onEntered,p.onExit,p.onExiting,p.onExited,p.nodeRef;var g=Ys(p,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Q.createElement(fl.Provider,{value:null},typeof h=="function"?h(f,g):Q.cloneElement(Q.Children.only(h),g))},u})(Q.Component);Ut.contextType=fl;Ut.propTypes={};function Jn(){}Ut.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Jn,onEntering:Jn,onEntered:Jn,onExit:Jn,onExiting:Jn,onExited:Jn};Ut.UNMOUNTED=Vr;Ut.EXITED=Cn;Ut.ENTERING=Sn;Ut.ENTERED=bn;Ut.EXITING=Is;var Um=function(u,i){return u&&i&&i.split(" ").forEach(function(a){return zm(u,a)})},Ss=function(u,i){return u&&i&&i.split(" ").forEach(function(a){return jm(u,a)})},Xs=(function(o){Gs(u,o);function u(){for(var a,f=arguments.length,p=new Array(f),h=0;h<f;h++)p[h]=arguments[h];return a=o.call.apply(o,[this].concat(p))||this,a.appliedClasses={appear:{},enter:{},exit:{}},a.onEnter=function(g,d){var m=a.resolveArguments(g,d),v=m[0],E=m[1];a.removeClasses(v,"exit"),a.addClass(v,E?"appear":"enter","base"),a.props.onEnter&&a.props.onEnter(g,d)},a.onEntering=function(g,d){var m=a.resolveArguments(g,d),v=m[0],E=m[1],S=E?"appear":"enter";a.addClass(v,S,"active"),a.props.onEntering&&a.props.onEntering(g,d)},a.onEntered=function(g,d){var m=a.resolveArguments(g,d),v=m[0],E=m[1],S=E?"appear":"enter";a.removeClasses(v,S),a.addClass(v,S,"done"),a.props.onEntered&&a.props.onEntered(g,d)},a.onExit=function(g){var d=a.resolveArguments(g),m=d[0];a.removeClasses(m,"appear"),a.removeClasses(m,"enter"),a.addClass(m,"exit","base"),a.props.onExit&&a.props.onExit(g)},a.onExiting=function(g){var d=a.resolveArguments(g),m=d[0];a.addClass(m,"exit","active"),a.props.onExiting&&a.props.onExiting(g)},a.onExited=function(g){var d=a.resolveArguments(g),m=d[0];a.removeClasses(m,"exit"),a.addClass(m,"exit","done"),a.props.onExited&&a.props.onExited(g)},a.resolveArguments=function(g,d){return a.props.nodeRef?[a.props.nodeRef.current,g]:[g,d]},a.getClassNames=function(g){var d=a.props.classNames,m=typeof d=="string",v=m&&d?d+"-":"",E=m?""+v+g:d[g],S=m?E+"-active":d[g+"Active"],R=m?E+"-done":d[g+"Done"];return{baseClassName:E,activeClassName:S,doneClassName:R}},a}var i=u.prototype;return i.addClass=function(f,p,h){var g=this.getClassNames(p)[h+"ClassName"],d=this.getClassNames("enter"),m=d.doneClassName;p==="appear"&&h==="done"&&m&&(g+=" "+m),h==="active"&&f&&Vf(f),g&&(this.appliedClasses[p][h]=g,Um(f,g))},i.removeClasses=function(f,p){var h=this.appliedClasses[p],g=h.base,d=h.active,m=h.done;this.appliedClasses[p]={},g&&Ss(f,g),d&&Ss(f,d),m&&Ss(f,m)},i.render=function(){var f=this.props;f.classNames;var p=Ys(f,["classNames"]);return Q.createElement(Ut,cl({},p,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},u})(Q.Component);Xs.defaultProps={classNames:""};Xs.propTypes={};function Bm(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Zs(o,u){var i=function(p){return u&&I.isValidElement(p)?u(p):p},a=Object.create(null);return o&&I.Children.map(o,function(f){return f}).forEach(function(f){a[f.key]=i(f)}),a}function $m(o,u){o=o||{},u=u||{};function i(v){return v in u?u[v]:o[v]}var a=Object.create(null),f=[];for(var p in o)p in u?f.length&&(a[p]=f,f=[]):f.push(p);var h,g={};for(var d in u){if(a[d])for(h=0;h<a[d].length;h++){var m=a[d][h];g[a[d][h]]=i(m)}g[d]=i(d)}for(h=0;h<f.length;h++)g[f[h]]=i(f[h]);return g}function _n(o,u,i){return i[u]!=null?i[u]:o.props[u]}function Vm(o,u){return Zs(o.children,function(i){return I.cloneElement(i,{onExited:u.bind(null,i),in:!0,appear:_n(i,"appear",o),enter:_n(i,"enter",o),exit:_n(i,"exit",o)})})}function Hm(o,u,i){var a=Zs(o.children),f=$m(u,a);return Object.keys(f).forEach(function(p){var h=f[p];if(I.isValidElement(h)){var g=p in u,d=p in a,m=u[p],v=I.isValidElement(m)&&!m.props.in;d&&(!g||v)?f[p]=I.cloneElement(h,{onExited:i.bind(null,h),in:!0,exit:_n(h,"exit",o),enter:_n(h,"enter",o)}):!d&&g&&!v?f[p]=I.cloneElement(h,{in:!1}):d&&g&&I.isValidElement(m)&&(f[p]=I.cloneElement(h,{onExited:i.bind(null,h),in:m.props.in,exit:_n(h,"exit",o),enter:_n(h,"enter",o)}))}}),f}var Wm=Object.values||function(o){return Object.keys(o).map(function(u){return o[u]})},Qm={component:"div",childFactory:function(u){return u}},qs=(function(o){Gs(u,o);function u(a,f){var p;p=o.call(this,a,f)||this;var h=p.handleExited.bind(Bm(p));return p.state={contextValue:{isMounting:!0},handleExited:h,firstRender:!0},p}var i=u.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},u.getDerivedStateFromProps=function(f,p){var h=p.children,g=p.handleExited,d=p.firstRender;return{children:d?Vm(f,g):Hm(f,h,g),firstRender:!1}},i.handleExited=function(f,p){var h=Zs(this.props.children);f.key in h||(f.props.onExited&&f.props.onExited(p),this.mounted&&this.setState(function(g){var d=cl({},g.children);return delete d[f.key],{children:d}}))},i.render=function(){var f=this.props,p=f.component,h=f.childFactory,g=Ys(f,["component","childFactory"]),d=this.state.contextValue,m=Wm(this.state.children).map(h);return delete g.appear,delete g.enter,delete g.exit,p===null?Q.createElement(fl.Provider,{value:d},m):Q.createElement(fl.Provider,{value:d},Q.createElement(p,g,m))},u})(Q.Component);qs.propTypes={};qs.defaultProps=Qm;function Km({labelledBy:o,children:u,onClose:i,setClosing:a,width:f,...p}){const h=I.useRef(null),g=I.useCallback(()=>{h.current&&!h.current.contains(document.activeElement)&&Lm(h.current)},[]),d=v=>{v.keyCode===27&&a(!0)},m=v=>{v.keyCode===27&&(a(!1),i())};return I.useLayoutEffect(g,[]),I.useLayoutEffect(()=>(document.addEventListener("keydown",d),document.addEventListener("keyup",m),()=>{document.removeEventListener("keydown",d),document.removeEventListener("keyup",m)}),[]),M.jsx(Xs,{classNames:Ym,nodeRef:h,mountOnEnter:!0,unmountOnExit:!0,timeout:200,...p,children:M.jsx("div",{className:Ge.Container,ref:h,children:M.jsx("div",{role:"dialog","aria-modal":!0,"aria-labelledby":o,tabIndex:-1,className:Ge.Dialog,children:M.jsx("div",{className:ct(Ge.Modal,Ge[`Width-${f}`]),children:u})})})})}const Ym={appear:ct(Ge.animateFadeUp,Ge.entering),appearActive:ct(Ge.animateFadeUp,Ge.entered),enter:ct(Ge.animateFadeUp,Ge.entering),enterActive:ct(Ge.animateFadeUp,Ge.entered),exit:ct(Ge.animateFadeUp,Ge.exiting),exitActive:ct(Ge.animateFadeUp,Ge.exited)},Gm="_Header_rltzr_1",Xm="_Title_rltzr_10",af={Header:Gm,Title:Xm};function Zm({id:o,closing:u,children:i,onClose:a}){return M.jsxs("div",{className:af.Header,children:[M.jsx("div",{id:o,className:af.Title,children:M.jsx("h2",{children:i})}),M.jsx(Cm,{pressed:u,onClick:a})]})}const Os="modal-container";function qm(){return M.jsx("div",{id:Os})}function Jm({children:o,title:u,open:i,onClose:a,width:f="large"}){const[p,h]=I.useState(!1);let g,d;i&&(g=M.jsxs(Km,{labelledBy:"modal-header",onClose:a,setClosing:h,in:i,width:f,children:[M.jsx(Zm,{id:"modal-header",closing:p,onClose:a,children:u}),M.jsx("div",{className:mm.BodyWrapper,children:o})]}),d=M.jsx(ym,{setClosing:h,onClick:a}));const m=document.getElementById(Os);return m===null?(i&&console.error(`Could not find element with id ${Os} to render Modal inside`),null):$f.createPortal(M.jsxs(M.Fragment,{children:[M.jsx(qs,{appear:!0,enter:!0,exit:!0,children:g}),d]}),m)}function bm(){const[o,u]=I.useState(!1),[i]=Lt({fallback:Dh}),{surface:a}=Af(),{app:f}=Qs();if(!f)return null;const p=a==="admin"&&f.handle?`/admin/apps/${f.handle}`:void 0;return M.jsxs(Js,{children:[M.jsx("td",{children:M.jsx("span",{className:Ah,children:f.title})}),M.jsx("td",{children:M.jsx(As,{resourceUrl:p,rootUrl:f.url,title:"App home"})}),M.jsxs("td",{children:[M.jsx(Uf,{type:"button",onClick:()=>u(!0),children:i.translate("viewMobile")}),M.jsx(id,{code:o?{url:f.url,type:"home",title:f.title}:void 0,onClose:()=>u(!1)})]}),M.jsx("td",{children:M.jsx(Hf,{})})]})}const ev="Extension targets",tv={previewLinksTitle:ev},nv="_PreviewLinksTitle_w3znb_1",rv="_PreviewLinks_w3znb_1";function ov({extension:o,isUnifiedPOSUI:u}){var a;const[i]=Lt({fallback:tv});if(o.surface==="point_of_sale")return M.jsx(Hf,{});if(o.type==="ui_extension"||o.type==="checkout_post_purchase"){const f=o.extensionPoints&&o.extensionPoints.length>1,p=f?M.jsxs("span",{className:nv,children:[i.translate("previewLinksTitle"),":"]}):null;return M.jsxs(M.Fragment,{children:[p,M.jsx("span",{className:ct(f&&rv),children:(a=o.extensionPoints)==null?void 0:a.map(h=>{if(typeof h=="string")return null;const{root:g,target:d,resource:m}=h;return M.jsx(As,{rootUrl:g.url,title:o.type==="checkout_post_purchase"?"checkout post-purchase":d,resourceUrl:m.url,hasLink:!u},d)})})]})}return M.jsx(As,{rootUrl:o.development.root.url,resourceUrl:o.development.resource.url,title:o.type.replaceAll("_"," ")})}const lv="View mobile",iv={viewMobile:lv},sv="_Title_mda4k_1";function uv(o){const u=Kr(),i=u.state.extensions,a=i.find(f=>f.uuid===o);return I.useMemo(()=>({extension:a,focus:()=>u.client.emit("focus",[{uuid:o}]),unfocus:()=>u.client.emit("unfocus"),navigate:f=>u.client.emit("navigate",{url:f})}),[JSON.stringify(i)])}function zs(o){var u;return(u=o.extensionPoints)==null?void 0:u.some(i=>i.surface==="point_of_sale")}function av(o){return Ls(o)?zs(o):o.surface==="point_of_sale"||o.surface==="admin"}function cv({uuid:o}){const[u,i]=I.useState(!1),[a]=Lt({fallback:iv}),{focus:f,unfocus:p,extension:h}=uv(o);return h?M.jsxs(Js,{onMouseEnter:f,onMouseLeave:p,children:[M.jsx("td",{children:M.jsx("span",{className:sv,children:h.handle})}),M.jsx("td",{children:M.jsx(ov,{extension:h,isUnifiedPOSUI:zs(h)})}),M.jsxs("td",{children:[av(h)&&M.jsx(Uf,{id:"showQRCodeModalButton",type:"button",onClick:()=>i(!0),children:a.translate("viewMobile")}),M.jsx(id,{code:u?{url:h.development.root.url,type:zs(h)?"point_of_sale":h.surface,title:h.handle}:void 0,onClose:()=>i(!1)})]}),M.jsx("td",{children:M.jsx(ug,{status:h.development.status})})]}):null}const fv="_NotApplicable_d2d93_1";function Hf(){return M.jsx("span",{className:fv,children:"--"})}const dv={success:"URL copied",error:"Couldn't copy URL"},pv="Preview {title}",hv="Copy preview link for {title} to clipboard",mv={copy:dv,linkLabel:pv,iconLabel:hv},vv="_PreviewLink_18l39_1";function gv(){const o=Kr();return I.useMemo(()=>u=>o.client.emit("navigate",{url:u}),[o.client.emit])}const js=window.top&&new URLSearchParams(location.search).get("embedded")==="true";function Wf(o){var u,i,a="";if(typeof o=="string"||typeof o=="number")a+=o;else if(typeof o=="object")if(Array.isArray(o))for(u=0;u<o.length;u++)o[u]&&(i=Wf(o[u]))&&(a&&(a+=" "),a+=i);else for(u in o)o[u]&&(a&&(a+=" "),a+=u);return a}function ln(){for(var o,u,i=0,a="";i<arguments.length;)(o=arguments[i++])&&(u=Wf(o))&&(a&&(a+=" "),a+=u);return a}const Wr=o=>typeof o=="number"&&!isNaN(o),kn=o=>typeof o=="string",rt=o=>typeof o=="function",al=o=>kn(o)||rt(o)?o:null,xs=o=>I.isValidElement(o)||kn(o)||rt(o)||Wr(o);function yv(o,u,i){i===void 0&&(i=300);const{scrollHeight:a,style:f}=o;requestAnimationFrame(()=>{f.minHeight="initial",f.height=a+"px",f.transition=`all ${i}ms`,requestAnimationFrame(()=>{f.height="0",f.padding="0",f.margin="0",setTimeout(u,i)})})}function vl(o){let{enter:u,exit:i,appendPosition:a=!1,collapse:f=!0,collapseDuration:p=300}=o;return function(h){let{children:g,position:d,preventExitTransition:m,done:v,nodeRef:E,isIn:S}=h;const R=a?`${u}--${d}`:u,P=a?`${i}--${d}`:i,L=I.useRef(0);return I.useLayoutEffect(()=>{const k=E.current,U=R.split(" "),K=B=>{B.target===E.current&&(k.dispatchEvent(new Event("d")),k.removeEventListener("animationend",K),k.removeEventListener("animationcancel",K),L.current===0&&B.type!=="animationcancel"&&k.classList.remove(...U))};k.classList.add(...U),k.addEventListener("animationend",K),k.addEventListener("animationcancel",K)},[]),I.useEffect(()=>{const k=E.current,U=()=>{k.removeEventListener("animationend",U),f?yv(k,v,p):v()};S||(m?U():(L.current=1,k.className+=` ${P}`,k.addEventListener("animationend",U)))},[S]),Q.createElement(Q.Fragment,null,g)}}function cf(o,u){return o!=null?{content:o.content,containerId:o.props.containerId,id:o.props.toastId,theme:o.props.theme,type:o.props.type,data:o.props.data||{},isLoading:o.props.isLoading,icon:o.props.icon,status:u}:{}}const gt={list:new Map,emitQueue:new Map,on(o,u){return this.list.has(o)||this.list.set(o,[]),this.list.get(o).push(u),this},off(o,u){if(u){const i=this.list.get(o).filter(a=>a!==u);return this.list.set(o,i),this}return this.list.delete(o),this},cancelEmit(o){const u=this.emitQueue.get(o);return u&&(u.forEach(clearTimeout),this.emitQueue.delete(o)),this},emit(o){this.list.has(o)&&this.list.get(o).forEach(u=>{const i=setTimeout(()=>{u(...[].slice.call(arguments,1))},0);this.emitQueue.has(o)||this.emitQueue.set(o,[]),this.emitQueue.get(o).push(i)})}},il=o=>{let{theme:u,type:i,...a}=o;return Q.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:u==="colored"?"currentColor":`var(--toastify-icon-color-${i})`,...a})},_s={info:function(o){return Q.createElement(il,{...o},Q.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(o){return Q.createElement(il,{...o},Q.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(o){return Q.createElement(il,{...o},Q.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(o){return Q.createElement(il,{...o},Q.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return Q.createElement("div",{className:"Toastify__spinner"})}};function Ev(o){const[,u]=I.useReducer(R=>R+1,0),[i,a]=I.useState([]),f=I.useRef(null),p=I.useRef(new Map).current,h=R=>i.indexOf(R)!==-1,g=I.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:o,containerId:null,isToastActive:h,getToast:R=>p.get(R)}).current;function d(R){let{containerId:P}=R;const{limit:L}=g.props;!L||P&&g.containerId!==P||(g.count-=g.queue.length,g.queue=[])}function m(R){a(P=>R==null?[]:P.filter(L=>L!==R))}function v(){const{toastContent:R,toastProps:P,staleId:L}=g.queue.shift();S(R,P,L)}function E(R,P){let{delay:L,staleId:k,...U}=P;if(!xs(R)||(function(xe){return!f.current||g.props.enableMultiContainer&&xe.containerId!==g.props.containerId||p.has(xe.toastId)&&xe.updateId==null})(U))return;const{toastId:K,updateId:B,data:$}=U,{props:q}=g,pe=()=>m(K),ye=B==null;ye&&g.count++;const ie={...q,style:q.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(U).filter(xe=>{let[Ee,se]=xe;return se!=null})),toastId:K,updateId:B,data:$,closeToast:pe,isIn:!1,className:al(U.className||q.toastClassName),bodyClassName:al(U.bodyClassName||q.bodyClassName),progressClassName:al(U.progressClassName||q.progressClassName),autoClose:!U.isLoading&&(ze=U.autoClose,je=q.autoClose,ze===!1||Wr(ze)&&ze>0?ze:je),deleteToast(){const xe=cf(p.get(K),"removed");p.delete(K),gt.emit(4,xe);const Ee=g.queue.length;if(g.count=K==null?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),Ee>0){const se=K==null?g.props.limit:1;if(Ee===1||se===1)g.displayedToast++,v();else{const ve=se>Ee?Ee:se;g.displayedToast=ve;for(let de=0;de<ve;de++)v()}}else u()}};var ze,je;ie.iconOut=(function(xe){let{theme:Ee,type:se,isLoading:ve,icon:de}=xe,re=null;const F={theme:Ee,type:se};return de===!1||(rt(de)?re=de(F):I.isValidElement(de)?re=I.cloneElement(de,F):kn(de)||Wr(de)?re=de:ve?re=_s.spinner():(Z=>Z in _s)(se)&&(re=_s[se](F))),re})(ie),rt(U.onOpen)&&(ie.onOpen=U.onOpen),rt(U.onClose)&&(ie.onClose=U.onClose),ie.closeButton=q.closeButton,U.closeButton===!1||xs(U.closeButton)?ie.closeButton=U.closeButton:U.closeButton===!0&&(ie.closeButton=!xs(q.closeButton)||q.closeButton);let ge=R;I.isValidElement(R)&&!kn(R.type)?ge=I.cloneElement(R,{closeToast:pe,toastProps:ie,data:$}):rt(R)&&(ge=R({closeToast:pe,toastProps:ie,data:$})),q.limit&&q.limit>0&&g.count>q.limit&&ye?g.queue.push({toastContent:ge,toastProps:ie,staleId:k}):Wr(L)?setTimeout(()=>{S(ge,ie,k)},L):S(ge,ie,k)}function S(R,P,L){const{toastId:k}=P;L&&p.delete(L);const U={content:R,props:P};p.set(k,U),a(K=>[...K,k].filter(B=>B!==L)),gt.emit(4,cf(U,U.props.updateId==null?"added":"updated"))}return I.useEffect(()=>(g.containerId=o.containerId,gt.cancelEmit(3).on(0,E).on(1,R=>f.current&&m(R)).on(5,d).emit(2,g),()=>{p.clear(),gt.emit(3,g)}),[]),I.useEffect(()=>{g.props=o,g.isToastActive=h,g.displayedToast=i.length}),{getToastToRender:function(R){const P=new Map,L=Array.from(p.values());return o.newestOnTop&&L.reverse(),L.forEach(k=>{const{position:U}=k.props;P.has(U)||P.set(U,[]),P.get(U).push(k)}),Array.from(P,k=>R(k[0],k[1]))},containerRef:f,isToastActive:h}}function ff(o){return o.targetTouches&&o.targetTouches.length>=1?o.targetTouches[0].clientX:o.clientX}function df(o){return o.targetTouches&&o.targetTouches.length>=1?o.targetTouches[0].clientY:o.clientY}function wv(o){const[u,i]=I.useState(!1),[a,f]=I.useState(!1),p=I.useRef(null),h=I.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,g=I.useRef(o),{autoClose:d,pauseOnHover:m,closeToast:v,onClick:E,closeOnClick:S}=o;function R($){if(o.draggable){$.nativeEvent.type==="touchstart"&&$.nativeEvent.preventDefault(),h.didMove=!1,document.addEventListener("mousemove",U),document.addEventListener("mouseup",K),document.addEventListener("touchmove",U),document.addEventListener("touchend",K);const q=p.current;h.canCloseOnClick=!0,h.canDrag=!0,h.boundingRect=q.getBoundingClientRect(),q.style.transition="",h.x=ff($.nativeEvent),h.y=df($.nativeEvent),o.draggableDirection==="x"?(h.start=h.x,h.removalDistance=q.offsetWidth*(o.draggablePercent/100)):(h.start=h.y,h.removalDistance=q.offsetHeight*(o.draggablePercent===80?1.5*o.draggablePercent:o.draggablePercent/100))}}function P($){if(h.boundingRect){const{top:q,bottom:pe,left:ye,right:ie}=h.boundingRect;$.nativeEvent.type!=="touchend"&&o.pauseOnHover&&h.x>=ye&&h.x<=ie&&h.y>=q&&h.y<=pe?k():L()}}function L(){i(!0)}function k(){i(!1)}function U($){const q=p.current;h.canDrag&&q&&(h.didMove=!0,u&&k(),h.x=ff($),h.y=df($),h.delta=o.draggableDirection==="x"?h.x-h.start:h.y-h.start,h.start!==h.x&&(h.canCloseOnClick=!1),q.style.transform=`translate${o.draggableDirection}(${h.delta}px)`,q.style.opacity=""+(1-Math.abs(h.delta/h.removalDistance)))}function K(){document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",K),document.removeEventListener("touchmove",U),document.removeEventListener("touchend",K);const $=p.current;if(h.canDrag&&h.didMove&&$){if(h.canDrag=!1,Math.abs(h.delta)>h.removalDistance)return f(!0),void o.closeToast();$.style.transition="transform 0.2s, opacity 0.2s",$.style.transform=`translate${o.draggableDirection}(0)`,$.style.opacity="1"}}I.useEffect(()=>{g.current=o}),I.useEffect(()=>(p.current&&p.current.addEventListener("d",L,{once:!0}),rt(o.onOpen)&&o.onOpen(I.isValidElement(o.children)&&o.children.props),()=>{const $=g.current;rt($.onClose)&&$.onClose(I.isValidElement($.children)&&$.children.props)}),[]),I.useEffect(()=>(o.pauseOnFocusLoss&&(document.hasFocus()||k(),window.addEventListener("focus",L),window.addEventListener("blur",k)),()=>{o.pauseOnFocusLoss&&(window.removeEventListener("focus",L),window.removeEventListener("blur",k))}),[o.pauseOnFocusLoss]);const B={onMouseDown:R,onTouchStart:R,onMouseUp:P,onTouchEnd:P};return d&&m&&(B.onMouseEnter=k,B.onMouseLeave=L),S&&(B.onClick=$=>{E&&E($),h.canCloseOnClick&&v()}),{playToast:L,pauseToast:k,isRunning:u,preventExitTransition:a,toastRef:p,eventHandlers:B}}function Qf(o){let{closeToast:u,theme:i,ariaLabel:a="close"}=o;return Q.createElement("button",{className:`Toastify__close-button Toastify__close-button--${i}`,type:"button",onClick:f=>{f.stopPropagation(),u(f)},"aria-label":a},Q.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},Q.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function Cv(o){let{delay:u,isRunning:i,closeToast:a,type:f="default",hide:p,className:h,style:g,controlledProgress:d,progress:m,rtl:v,isIn:E,theme:S}=o;const R=p||d&&m===0,P={...g,animationDuration:`${u}ms`,animationPlayState:i?"running":"paused",opacity:R?0:1};d&&(P.transform=`scaleX(${m})`);const L=ln("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${S}`,`Toastify__progress-bar--${f}`,{"Toastify__progress-bar--rtl":v}),k=rt(h)?h({rtl:v,type:f,defaultClassName:L}):ln(L,h);return Q.createElement("div",{role:"progressbar","aria-hidden":R?"true":"false","aria-label":"notification timer",className:k,style:P,[d&&m>=1?"onTransitionEnd":"onAnimationEnd"]:d&&m<1?null:()=>{E&&a()}})}const Sv=o=>{const{isRunning:u,preventExitTransition:i,toastRef:a,eventHandlers:f}=wv(o),{closeButton:p,children:h,autoClose:g,onClick:d,type:m,hideProgressBar:v,closeToast:E,transition:S,position:R,className:P,style:L,bodyClassName:k,bodyStyle:U,progressClassName:K,progressStyle:B,updateId:$,role:q,progress:pe,rtl:ye,toastId:ie,deleteToast:ze,isIn:je,isLoading:ge,iconOut:xe,closeOnClick:Ee,theme:se}=o,ve=ln("Toastify__toast",`Toastify__toast-theme--${se}`,`Toastify__toast--${m}`,{"Toastify__toast--rtl":ye},{"Toastify__toast--close-on-click":Ee}),de=rt(P)?P({rtl:ye,position:R,type:m,defaultClassName:ve}):ln(ve,P),re=!!pe||!g,F={closeToast:E,type:m,theme:se};let Z=null;return p===!1||(Z=rt(p)?p(F):I.isValidElement(p)?I.cloneElement(p,F):Qf(F)),Q.createElement(S,{isIn:je,done:ze,position:R,preventExitTransition:i,nodeRef:a},Q.createElement("div",{id:ie,onClick:d,className:de,...f,style:L,ref:a},Q.createElement("div",{...je&&{role:q},className:rt(k)?k({type:m}):ln("Toastify__toast-body",k),style:U},xe!=null&&Q.createElement("div",{className:ln("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!ge})},xe),Q.createElement("div",null,h)),Z,Q.createElement(Cv,{...$&&!re?{key:`pb-${$}`}:{},rtl:ye,theme:se,delay:g,isRunning:u,isIn:je,closeToast:E,hide:v,type:m,style:B,className:K,controlledProgress:re,progress:pe||0})))},gl=function(o,u){return u===void 0&&(u=!1),{enter:`Toastify--animate Toastify__${o}-enter`,exit:`Toastify--animate Toastify__${o}-exit`,appendPosition:u}},xv=vl(gl("bounce",!0));vl(gl("slide",!0));vl(gl("zoom"));vl(gl("flip"));const Ds=I.forwardRef((o,u)=>{const{getToastToRender:i,containerRef:a,isToastActive:f}=Ev(o),{className:p,style:h,rtl:g,containerId:d}=o;function m(v){const E=ln("Toastify__toast-container",`Toastify__toast-container--${v}`,{"Toastify__toast-container--rtl":g});return rt(p)?p({position:v,rtl:g,defaultClassName:E}):ln(E,al(p))}return I.useEffect(()=>{u&&(u.current=a.current)},[]),Q.createElement("div",{ref:a,className:"Toastify",id:d},i((v,E)=>{const S=E.length?{...h}:{...h,pointerEvents:"none"};return Q.createElement("div",{className:m(v),style:S,key:`container-${v}`},E.map((R,P)=>{let{content:L,props:k}=R;return Q.createElement(Sv,{...k,isIn:f(k.toastId),style:{...k.style,"--nth":P+1,"--len":E.length},key:`toast-${k.key}`},L)}))}))});Ds.displayName="ToastContainer",Ds.defaultProps={position:"top-right",transition:xv,autoClose:5e3,closeButton:Qf,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let ks,xn=new Map,Hr=[],_v=1;function Kf(){return""+_v++}function kv(o){return o&&(kn(o.toastId)||Wr(o.toastId))?o.toastId:Kf()}function Qr(o,u){return xn.size>0?gt.emit(0,o,u):Hr.push({content:o,options:u}),u.toastId}function dl(o,u){return{...u,type:u&&u.type||o,toastId:kv(u)}}function sl(o){return(u,i)=>Qr(u,dl(o,i))}function Se(o,u){return Qr(o,dl("default",u))}Se.loading=(o,u)=>Qr(o,dl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...u})),Se.promise=function(o,u,i){let a,{pending:f,error:p,success:h}=u;f&&(a=kn(f)?Se.loading(f,i):Se.loading(f.render,{...i,...f}));const g={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},d=(v,E,S)=>{if(E==null)return void Se.dismiss(a);const R={type:v,...g,...i,data:S},P=kn(E)?{render:E}:E;return a?Se.update(a,{...R,...P}):Se(P.render,{...R,...P}),S},m=rt(o)?o():o;return m.then(v=>d("success",h,v)).catch(v=>d("error",p,v)),m},Se.success=sl("success"),Se.info=sl("info"),Se.error=sl("error"),Se.warning=sl("warning"),Se.warn=Se.warning,Se.dark=(o,u)=>Qr(o,dl("default",{theme:"dark",...u})),Se.dismiss=o=>{xn.size>0?gt.emit(1,o):Hr=Hr.filter(u=>o!=null&&u.options.toastId!==o)},Se.clearWaitingQueue=function(o){return o===void 0&&(o={}),gt.emit(5,o)},Se.isActive=o=>{let u=!1;return xn.forEach(i=>{i.isToastActive&&i.isToastActive(o)&&(u=!0)}),u},Se.update=function(o,u){u===void 0&&(u={}),setTimeout(()=>{const i=(function(a,f){let{containerId:p}=f;const h=xn.get(p||ks);return h&&h.getToast(a)})(o,u);if(i){const{props:a,content:f}=i,p={delay:100,...a,...u,toastId:u.toastId||o,updateId:Kf()};p.toastId!==o&&(p.staleId=o);const h=p.render||f;delete p.render,Qr(h,p)}},0)},Se.done=o=>{Se.update(o,{progress:1})},Se.onChange=o=>(gt.on(4,o),()=>{gt.off(4,o)}),Se.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Se.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},gt.on(2,o=>{ks=o.containerId||o,xn.set(ks,o),Hr.forEach(u=>{gt.emit(0,u.content,u.options)}),Hr=[]}).on(3,o=>{xn.delete(o.containerId||o),xn.size===0&&gt.off(0).off(1).off(5)});function As({rootUrl:o,resourceUrl:u,title:i,hasLink:a=!0}){const[f]=Lt({fallback:mv}),p=gv(),h=d=>{js&&u&&(p(u),d.preventDefault())};function g(){navigator.clipboard.writeText(o).then(()=>{Se(f.translate("copy.success"),{toastId:`copy-${o}`})}).catch(()=>{Se(f.translate("copy.error"),{type:"error",toastId:`copy-${o}-error`})})}return M.jsxs("span",{className:vv,children:[a?M.jsx("a",{href:o,target:js?"_top":"_blank","aria-label":f.translate("linkLabel",{title:i}),onClick:h,children:i}):i,M.jsx(Ks,{type:"button",onClick:()=>g(),source:Ws,accessibilityLabel:f.translate("iconLabel",{title:i})})]})}const Nv="_Wrapper_1tz7v_1",Tv="_LeftColumn_1tz7v_6",Pv="_QRCode_1tz7v_15",Rv="_RightColumn_1tz7v_21",Lv="_UrlCta_1tz7v_29",Mv="View your work on mobile",Iv={one:"Scan with your phone camera to see your work",two:"Or copy the URL to share:"},Ov={copy:"Copy link",copied:"Link copied",content:"Scan to test {title} on mobile"},Yf={title:Mv,right:Iv,qrcode:Ov};var Ns,pf;function zv(){return pf||(pf=1,Ns=function(){var o=document.getSelection();if(!o.rangeCount)return function(){};for(var u=document.activeElement,i=[],a=0;a<o.rangeCount;a++)i.push(o.getRangeAt(a));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return o.removeAllRanges(),function(){o.type==="Caret"&&o.removeAllRanges(),o.rangeCount||i.forEach(function(f){o.addRange(f)}),u&&u.focus()}}),Ns}var Ts,hf;function jv(){if(hf)return Ts;hf=1;var o=zv(),u={"text/plain":"Text","text/html":"Url",default:"Text"},i="Copy to clipboard: #{key}, Enter";function a(p){var h=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,h)}function f(p,h){var g,d,m,v,E,S,R=!1;h||(h={}),g=h.debug||!1;try{m=o(),v=document.createRange(),E=document.getSelection(),S=document.createElement("span"),S.textContent=p,S.ariaHidden="true",S.style.all="unset",S.style.position="fixed",S.style.top=0,S.style.clip="rect(0, 0, 0, 0)",S.style.whiteSpace="pre",S.style.webkitUserSelect="text",S.style.MozUserSelect="text",S.style.msUserSelect="text",S.style.userSelect="text",S.addEventListener("copy",function(L){if(L.stopPropagation(),h.format)if(L.preventDefault(),typeof L.clipboardData>"u"){g&&console.warn("unable to use e.clipboardData"),g&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var k=u[h.format]||u.default;window.clipboardData.setData(k,p)}else L.clipboardData.clearData(),L.clipboardData.setData(h.format,p);h.onCopy&&(L.preventDefault(),h.onCopy(L.clipboardData))}),document.body.appendChild(S),v.selectNodeContents(S),E.addRange(v);var P=document.execCommand("copy");if(!P)throw new Error("copy command was unsuccessful");R=!0}catch(L){g&&console.error("unable to copy using execCommand: ",L),g&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",p),h.onCopy&&h.onCopy(window.clipboardData),R=!0}catch(k){g&&console.error("unable to copy using clipboardData: ",k),g&&console.error("falling back to prompt"),d=a("message"in h?h.message:i),window.prompt(d,p)}}finally{E&&(typeof E.removeRange=="function"?E.removeRange(v):E.removeAllRanges()),S&&document.body.removeChild(S),m()}return R}return Ts=f,Ts}var Dv=jv();const Av=Vs(Dv);var Fv=Object.defineProperty,pl=Object.getOwnPropertySymbols,Gf=Object.prototype.hasOwnProperty,Xf=Object.prototype.propertyIsEnumerable,mf=(o,u,i)=>u in o?Fv(o,u,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[u]=i,Fs=(o,u)=>{for(var i in u||(u={}))Gf.call(u,i)&&mf(o,i,u[i]);if(pl)for(var i of pl(u))Xf.call(u,i)&&mf(o,i,u[i]);return o},Us=(o,u)=>{var i={};for(var a in o)Gf.call(o,a)&&u.indexOf(a)<0&&(i[a]=o[a]);if(o!=null&&pl)for(var a of pl(o))u.indexOf(a)<0&&Xf.call(o,a)&&(i[a]=o[a]);return i};/**
41
- * @license QR Code generator library (TypeScript)
42
- * Copyright (c) Project Nayuki.
43
- * SPDX-License-Identifier: MIT
44
- */var Nn;(o=>{const u=class le{constructor(d,m,v,E){if(this.version=d,this.errorCorrectionLevel=m,this.modules=[],this.isFunction=[],d<le.MIN_VERSION||d>le.MAX_VERSION)throw new RangeError("Version value out of range");if(E<-1||E>7)throw new RangeError("Mask value out of range");this.size=d*4+17;let S=[];for(let P=0;P<this.size;P++)S.push(!1);for(let P=0;P<this.size;P++)this.modules.push(S.slice()),this.isFunction.push(S.slice());this.drawFunctionPatterns();const R=this.addEccAndInterleave(v);if(this.drawCodewords(R),E==-1){let P=1e9;for(let L=0;L<8;L++){this.applyMask(L),this.drawFormatBits(L);const k=this.getPenaltyScore();k<P&&(E=L,P=k),this.applyMask(L)}}f(0<=E&&E<=7),this.mask=E,this.applyMask(E),this.drawFormatBits(E),this.isFunction=[]}static encodeText(d,m){const v=o.QrSegment.makeSegments(d);return le.encodeSegments(v,m)}static encodeBinary(d,m){const v=o.QrSegment.makeBytes(d);return le.encodeSegments([v],m)}static encodeSegments(d,m,v=1,E=40,S=-1,R=!0){if(!(le.MIN_VERSION<=v&&v<=E&&E<=le.MAX_VERSION)||S<-1||S>7)throw new RangeError("Invalid value");let P,L;for(P=v;;P++){const B=le.getNumDataCodewords(P,m)*8,$=h.getTotalBits(d,P);if($<=B){L=$;break}if(P>=E)throw new RangeError("Data too long")}for(const B of[le.Ecc.MEDIUM,le.Ecc.QUARTILE,le.Ecc.HIGH])R&&L<=le.getNumDataCodewords(P,B)*8&&(m=B);let k=[];for(const B of d){i(B.mode.modeBits,4,k),i(B.numChars,B.mode.numCharCountBits(P),k);for(const $ of B.getData())k.push($)}f(k.length==L);const U=le.getNumDataCodewords(P,m)*8;f(k.length<=U),i(0,Math.min(4,U-k.length),k),i(0,(8-k.length%8)%8,k),f(k.length%8==0);for(let B=236;k.length<U;B^=253)i(B,8,k);let K=[];for(;K.length*8<k.length;)K.push(0);return k.forEach((B,$)=>K[$>>>3]|=B<<7-($&7)),new le(P,m,K,S)}getModule(d,m){return 0<=d&&d<this.size&&0<=m&&m<this.size&&this.modules[m][d]}getModules(){return this.modules}drawFunctionPatterns(){for(let v=0;v<this.size;v++)this.setFunctionModule(6,v,v%2==0),this.setFunctionModule(v,6,v%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const d=this.getAlignmentPatternPositions(),m=d.length;for(let v=0;v<m;v++)for(let E=0;E<m;E++)v==0&&E==0||v==0&&E==m-1||v==m-1&&E==0||this.drawAlignmentPattern(d[v],d[E]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(d){const m=this.errorCorrectionLevel.formatBits<<3|d;let v=m;for(let S=0;S<10;S++)v=v<<1^(v>>>9)*1335;const E=(m<<10|v)^21522;f(E>>>15==0);for(let S=0;S<=5;S++)this.setFunctionModule(8,S,a(E,S));this.setFunctionModule(8,7,a(E,6)),this.setFunctionModule(8,8,a(E,7)),this.setFunctionModule(7,8,a(E,8));for(let S=9;S<15;S++)this.setFunctionModule(14-S,8,a(E,S));for(let S=0;S<8;S++)this.setFunctionModule(this.size-1-S,8,a(E,S));for(let S=8;S<15;S++)this.setFunctionModule(8,this.size-15+S,a(E,S));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let d=this.version;for(let v=0;v<12;v++)d=d<<1^(d>>>11)*7973;const m=this.version<<12|d;f(m>>>18==0);for(let v=0;v<18;v++){const E=a(m,v),S=this.size-11+v%3,R=Math.floor(v/3);this.setFunctionModule(S,R,E),this.setFunctionModule(R,S,E)}}drawFinderPattern(d,m){for(let v=-4;v<=4;v++)for(let E=-4;E<=4;E++){const S=Math.max(Math.abs(E),Math.abs(v)),R=d+E,P=m+v;0<=R&&R<this.size&&0<=P&&P<this.size&&this.setFunctionModule(R,P,S!=2&&S!=4)}}drawAlignmentPattern(d,m){for(let v=-2;v<=2;v++)for(let E=-2;E<=2;E++)this.setFunctionModule(d+E,m+v,Math.max(Math.abs(E),Math.abs(v))!=1)}setFunctionModule(d,m,v){this.modules[m][d]=v,this.isFunction[m][d]=!0}addEccAndInterleave(d){const m=this.version,v=this.errorCorrectionLevel;if(d.length!=le.getNumDataCodewords(m,v))throw new RangeError("Invalid argument");const E=le.NUM_ERROR_CORRECTION_BLOCKS[v.ordinal][m],S=le.ECC_CODEWORDS_PER_BLOCK[v.ordinal][m],R=Math.floor(le.getNumRawDataModules(m)/8),P=E-R%E,L=Math.floor(R/E);let k=[];const U=le.reedSolomonComputeDivisor(S);for(let B=0,$=0;B<E;B++){let q=d.slice($,$+L-S+(B<P?0:1));$+=q.length;const pe=le.reedSolomonComputeRemainder(q,U);B<P&&q.push(0),k.push(q.concat(pe))}let K=[];for(let B=0;B<k[0].length;B++)k.forEach(($,q)=>{(B!=L-S||q>=P)&&K.push($[B])});return f(K.length==R),K}drawCodewords(d){if(d.length!=Math.floor(le.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let m=0;for(let v=this.size-1;v>=1;v-=2){v==6&&(v=5);for(let E=0;E<this.size;E++)for(let S=0;S<2;S++){const R=v-S,L=(v+1&2)==0?this.size-1-E:E;!this.isFunction[L][R]&&m<d.length*8&&(this.modules[L][R]=a(d[m>>>3],7-(m&7)),m++)}}f(m==d.length*8)}applyMask(d){if(d<0||d>7)throw new RangeError("Mask value out of range");for(let m=0;m<this.size;m++)for(let v=0;v<this.size;v++){let E;switch(d){case 0:E=(v+m)%2==0;break;case 1:E=m%2==0;break;case 2:E=v%3==0;break;case 3:E=(v+m)%3==0;break;case 4:E=(Math.floor(v/3)+Math.floor(m/2))%2==0;break;case 5:E=v*m%2+v*m%3==0;break;case 6:E=(v*m%2+v*m%3)%2==0;break;case 7:E=((v+m)%2+v*m%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[m][v]&&E&&(this.modules[m][v]=!this.modules[m][v])}}getPenaltyScore(){let d=0;for(let S=0;S<this.size;S++){let R=!1,P=0,L=[0,0,0,0,0,0,0];for(let k=0;k<this.size;k++)this.modules[S][k]==R?(P++,P==5?d+=le.PENALTY_N1:P>5&&d++):(this.finderPenaltyAddHistory(P,L),R||(d+=this.finderPenaltyCountPatterns(L)*le.PENALTY_N3),R=this.modules[S][k],P=1);d+=this.finderPenaltyTerminateAndCount(R,P,L)*le.PENALTY_N3}for(let S=0;S<this.size;S++){let R=!1,P=0,L=[0,0,0,0,0,0,0];for(let k=0;k<this.size;k++)this.modules[k][S]==R?(P++,P==5?d+=le.PENALTY_N1:P>5&&d++):(this.finderPenaltyAddHistory(P,L),R||(d+=this.finderPenaltyCountPatterns(L)*le.PENALTY_N3),R=this.modules[k][S],P=1);d+=this.finderPenaltyTerminateAndCount(R,P,L)*le.PENALTY_N3}for(let S=0;S<this.size-1;S++)for(let R=0;R<this.size-1;R++){const P=this.modules[S][R];P==this.modules[S][R+1]&&P==this.modules[S+1][R]&&P==this.modules[S+1][R+1]&&(d+=le.PENALTY_N2)}let m=0;for(const S of this.modules)m=S.reduce((R,P)=>R+(P?1:0),m);const v=this.size*this.size,E=Math.ceil(Math.abs(m*20-v*10)/v)-1;return f(0<=E&&E<=9),d+=E*le.PENALTY_N4,f(0<=d&&d<=2568888),d}getAlignmentPatternPositions(){if(this.version==1)return[];{const d=Math.floor(this.version/7)+2,m=this.version==32?26:Math.ceil((this.version*4+4)/(d*2-2))*2;let v=[6];for(let E=this.size-7;v.length<d;E-=m)v.splice(1,0,E);return v}}static getNumRawDataModules(d){if(d<le.MIN_VERSION||d>le.MAX_VERSION)throw new RangeError("Version number out of range");let m=(16*d+128)*d+64;if(d>=2){const v=Math.floor(d/7)+2;m-=(25*v-10)*v-55,d>=7&&(m-=36)}return f(208<=m&&m<=29648),m}static getNumDataCodewords(d,m){return Math.floor(le.getNumRawDataModules(d)/8)-le.ECC_CODEWORDS_PER_BLOCK[m.ordinal][d]*le.NUM_ERROR_CORRECTION_BLOCKS[m.ordinal][d]}static reedSolomonComputeDivisor(d){if(d<1||d>255)throw new RangeError("Degree out of range");let m=[];for(let E=0;E<d-1;E++)m.push(0);m.push(1);let v=1;for(let E=0;E<d;E++){for(let S=0;S<m.length;S++)m[S]=le.reedSolomonMultiply(m[S],v),S+1<m.length&&(m[S]^=m[S+1]);v=le.reedSolomonMultiply(v,2)}return m}static reedSolomonComputeRemainder(d,m){let v=m.map(E=>0);for(const E of d){const S=E^v.shift();v.push(0),m.forEach((R,P)=>v[P]^=le.reedSolomonMultiply(R,S))}return v}static reedSolomonMultiply(d,m){if(d>>>8||m>>>8)throw new RangeError("Byte out of range");let v=0;for(let E=7;E>=0;E--)v=v<<1^(v>>>7)*285,v^=(m>>>E&1)*d;return f(v>>>8==0),v}finderPenaltyCountPatterns(d){const m=d[1];f(m<=this.size*3);const v=m>0&&d[2]==m&&d[3]==m*3&&d[4]==m&&d[5]==m;return(v&&d[0]>=m*4&&d[6]>=m?1:0)+(v&&d[6]>=m*4&&d[0]>=m?1:0)}finderPenaltyTerminateAndCount(d,m,v){return d&&(this.finderPenaltyAddHistory(m,v),m=0),m+=this.size,this.finderPenaltyAddHistory(m,v),this.finderPenaltyCountPatterns(v)}finderPenaltyAddHistory(d,m){m[0]==0&&(d+=this.size),m.pop(),m.unshift(d)}};u.MIN_VERSION=1,u.MAX_VERSION=40,u.PENALTY_N1=3,u.PENALTY_N2=3,u.PENALTY_N3=40,u.PENALTY_N4=10,u.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],u.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],o.QrCode=u;function i(g,d,m){if(d<0||d>31||g>>>d)throw new RangeError("Value out of range");for(let v=d-1;v>=0;v--)m.push(g>>>v&1)}function a(g,d){return(g>>>d&1)!=0}function f(g){if(!g)throw new Error("Assertion error")}const p=class Me{constructor(d,m,v){if(this.mode=d,this.numChars=m,this.bitData=v,m<0)throw new RangeError("Invalid argument");this.bitData=v.slice()}static makeBytes(d){let m=[];for(const v of d)i(v,8,m);return new Me(Me.Mode.BYTE,d.length,m)}static makeNumeric(d){if(!Me.isNumeric(d))throw new RangeError("String contains non-numeric characters");let m=[];for(let v=0;v<d.length;){const E=Math.min(d.length-v,3);i(parseInt(d.substring(v,v+E),10),E*3+1,m),v+=E}return new Me(Me.Mode.NUMERIC,d.length,m)}static makeAlphanumeric(d){if(!Me.isAlphanumeric(d))throw new RangeError("String contains unencodable characters in alphanumeric mode");let m=[],v;for(v=0;v+2<=d.length;v+=2){let E=Me.ALPHANUMERIC_CHARSET.indexOf(d.charAt(v))*45;E+=Me.ALPHANUMERIC_CHARSET.indexOf(d.charAt(v+1)),i(E,11,m)}return v<d.length&&i(Me.ALPHANUMERIC_CHARSET.indexOf(d.charAt(v)),6,m),new Me(Me.Mode.ALPHANUMERIC,d.length,m)}static makeSegments(d){return d==""?[]:Me.isNumeric(d)?[Me.makeNumeric(d)]:Me.isAlphanumeric(d)?[Me.makeAlphanumeric(d)]:[Me.makeBytes(Me.toUtf8ByteArray(d))]}static makeEci(d){let m=[];if(d<0)throw new RangeError("ECI assignment value out of range");if(d<128)i(d,8,m);else if(d<16384)i(2,2,m),i(d,14,m);else if(d<1e6)i(6,3,m),i(d,21,m);else throw new RangeError("ECI assignment value out of range");return new Me(Me.Mode.ECI,0,m)}static isNumeric(d){return Me.NUMERIC_REGEX.test(d)}static isAlphanumeric(d){return Me.ALPHANUMERIC_REGEX.test(d)}getData(){return this.bitData.slice()}static getTotalBits(d,m){let v=0;for(const E of d){const S=E.mode.numCharCountBits(m);if(E.numChars>=1<<S)return 1/0;v+=4+S+E.bitData.length}return v}static toUtf8ByteArray(d){d=encodeURI(d);let m=[];for(let v=0;v<d.length;v++)d.charAt(v)!="%"?m.push(d.charCodeAt(v)):(m.push(parseInt(d.substring(v+1,v+3),16)),v+=2);return m}};p.NUMERIC_REGEX=/^[0-9]*$/,p.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,p.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let h=p;o.QrSegment=p})(Nn||(Nn={}));(o=>{(u=>{const i=class{constructor(f,p){this.ordinal=f,this.formatBits=p}};i.LOW=new i(0,1),i.MEDIUM=new i(1,0),i.QUARTILE=new i(2,3),i.HIGH=new i(3,2),u.Ecc=i})(o.QrCode||(o.QrCode={}))})(Nn||(Nn={}));(o=>{(u=>{const i=class{constructor(f,p){this.modeBits=f,this.numBitsCharCount=p}numCharCountBits(f){return this.numBitsCharCount[Math.floor((f+7)/17)]}};i.NUMERIC=new i(1,[10,12,14]),i.ALPHANUMERIC=new i(2,[9,11,13]),i.BYTE=new i(4,[8,16,16]),i.KANJI=new i(8,[8,10,12]),i.ECI=new i(7,[0,0,0]),u.Mode=i})(o.QrSegment||(o.QrSegment={}))})(Nn||(Nn={}));var er=Nn;/**
45
- * @license qrcode.react
46
- * Copyright (c) Paul O'Shannessy
47
- * SPDX-License-Identifier: ISC
48
- */var Uv={L:er.QrCode.Ecc.LOW,M:er.QrCode.Ecc.MEDIUM,Q:er.QrCode.Ecc.QUARTILE,H:er.QrCode.Ecc.HIGH},Zf=128,qf="L",Jf="#FFFFFF",bf="#000000",ed=!1,td=1,Bv=4,$v=0,Vv=.1;function nd(o,u=0){const i=[];return o.forEach(function(a,f){let p=null;a.forEach(function(h,g){if(!h&&p!==null){i.push(`M${p+u} ${f+u}h${g-p}v1H${p+u}z`),p=null;return}if(g===a.length-1){if(!h)return;p===null?i.push(`M${g+u},${f+u} h1v1H${g+u}z`):i.push(`M${p+u},${f+u} h${g+1-p}v1H${p+u}z`);return}h&&p===null&&(p=g)})}),i.join("")}function rd(o,u){return o.slice().map((i,a)=>a<u.y||a>=u.y+u.h?i:i.map((f,p)=>p<u.x||p>=u.x+u.w?f:!1))}function Hv(o,u,i,a){if(a==null)return null;const f=o.length+i*2,p=Math.floor(u*Vv),h=f/u,g=(a.width||p)*h,d=(a.height||p)*h,m=a.x==null?o.length/2-g/2:a.x*h,v=a.y==null?o.length/2-d/2:a.y*h,E=a.opacity==null?1:a.opacity;let S=null;if(a.excavate){let P=Math.floor(m),L=Math.floor(v),k=Math.ceil(g+m-P),U=Math.ceil(d+v-L);S={x:P,y:L,w:k,h:U}}const R=a.crossOrigin;return{x:m,y:v,h:d,w:g,excavation:S,opacity:E,crossOrigin:R}}function Wv(o,u){return u!=null?Math.max(Math.floor(u),0):o?Bv:$v}function od({value:o,level:u,minVersion:i,includeMargin:a,marginSize:f,imageSettings:p,size:h,boostLevel:g}){let d=Q.useMemo(()=>{const P=(Array.isArray(o)?o:[o]).reduce((L,k)=>(L.push(...er.QrSegment.makeSegments(k)),L),[]);return er.QrCode.encodeSegments(P,Uv[u],i,void 0,void 0,g)},[o,u,i,g]);const{cells:m,margin:v,numCells:E,calculatedImageSettings:S}=Q.useMemo(()=>{let R=d.getModules();const P=Wv(a,f),L=R.length+P*2,k=Hv(R,h,P,p);return{cells:R,margin:P,numCells:L,calculatedImageSettings:k}},[d,h,p,a,f]);return{qrcode:d,margin:v,cells:m,numCells:E,calculatedImageSettings:S}}var Qv=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),ld=Q.forwardRef(function(u,i){const a=u,{value:f,size:p=Zf,level:h=qf,bgColor:g=Jf,fgColor:d=bf,includeMargin:m=ed,minVersion:v=td,boostLevel:E,marginSize:S,imageSettings:R}=a,L=Us(a,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:k}=L,U=Us(L,["style"]),K=R==null?void 0:R.src,B=Q.useRef(null),$=Q.useRef(null),q=Q.useCallback(se=>{B.current=se,typeof i=="function"?i(se):i&&(i.current=se)},[i]),[pe,ye]=Q.useState(!1),{margin:ie,cells:ze,numCells:je,calculatedImageSettings:ge}=od({value:f,level:h,minVersion:v,boostLevel:E,includeMargin:m,marginSize:S,imageSettings:R,size:p});Q.useEffect(()=>{if(B.current!=null){const se=B.current,ve=se.getContext("2d");if(!ve)return;let de=ze;const re=$.current,F=ge!=null&&re!==null&&re.complete&&re.naturalHeight!==0&&re.naturalWidth!==0;F&&ge.excavation!=null&&(de=rd(ze,ge.excavation));const Z=window.devicePixelRatio||1;se.height=se.width=p*Z;const H=p/je*Z;ve.scale(H,H),ve.fillStyle=g,ve.fillRect(0,0,je,je),ve.fillStyle=d,Qv?ve.fill(new Path2D(nd(de,ie))):ze.forEach(function(x,O){x.forEach(function(te,ne){te&&ve.fillRect(ne+ie,O+ie,1,1)})}),ge&&(ve.globalAlpha=ge.opacity),F&&ve.drawImage(re,ge.x+ie,ge.y+ie,ge.w,ge.h)}}),Q.useEffect(()=>{ye(!1)},[K]);const xe=Fs({height:p,width:p},k);let Ee=null;return K!=null&&(Ee=Q.createElement("img",{src:K,key:K,style:{display:"none"},onLoad:()=>{ye(!0)},ref:$,crossOrigin:ge==null?void 0:ge.crossOrigin})),Q.createElement(Q.Fragment,null,Q.createElement("canvas",Fs({style:xe,height:p,width:p,ref:q,role:"img"},U)),Ee)});ld.displayName="QRCodeCanvas";var Kv=Q.forwardRef(function(u,i){const a=u,{value:f,size:p=Zf,level:h=qf,bgColor:g=Jf,fgColor:d=bf,includeMargin:m=ed,minVersion:v=td,boostLevel:E,title:S,marginSize:R,imageSettings:P}=a,L=Us(a,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:k,cells:U,numCells:K,calculatedImageSettings:B}=od({value:f,level:h,minVersion:v,boostLevel:E,includeMargin:m,marginSize:R,imageSettings:P,size:p});let $=U,q=null;P!=null&&B!=null&&(B.excavation!=null&&($=rd(U,B.excavation)),q=Q.createElement("image",{href:P.src,height:B.h,width:B.w,x:B.x+k,y:B.y+k,preserveAspectRatio:"none",opacity:B.opacity,crossOrigin:B.crossOrigin}));const pe=nd($,k);return Q.createElement("svg",Fs({height:p,width:p,viewBox:`0 0 ${K} ${K}`,ref:i,role:"img"},L),!!S&&Q.createElement("title",null,S),Q.createElement("path",{fill:g,d:`M0,0 h${K}v${K}H0z`,shapeRendering:"crispEdges"}),Q.createElement("path",{fill:d,d:pe,shapeRendering:"crispEdges"}),q)});Kv.displayName="QRCodeSVG";function id({code:o,onClose:u}){const[i]=Lt({fallback:Yf});return M.jsx(Jm,{title:i.translate("title",{title:o==null?void 0:o.title}),open:!!o,onClose:u,width:"small",children:o?M.jsx(Yv,{...o}):null})}function Yv({url:o,type:u}){const[i]=Lt({fallback:Yf}),{store:a,app:f}=Qs(),p=I.useMemo(()=>f?u==="point_of_sale"?`com.shopify.pos://pos-ui-extensions?url=${o}`:u==="home"?f.mobileUrl:`https://${a}/admin/extensions-dev/mobile?url=${o}`:null,[o,f,f==null?void 0:f.mobileUrl]),h=I.useCallback(()=>{p&&Av(p)&&Se(i.translate("qrcode.copied"),{toastId:`copy-qrcode-${p}`})},[p]);return p?M.jsxs("div",{className:Nv,children:[M.jsx("span",{className:Tv,children:M.jsx("span",{className:Pv,children:M.jsx(ld,{value:p,size:170})})}),M.jsxs("span",{className:Rv,children:[i.translate("right.one"),M.jsxs("span",{className:Lv,children:[i.translate("right.two")," ",M.jsx(Ks,{type:"button",source:Ws,accessibilityLabel:i.translate("qrcode.copy"),onClick:h})]})]})]}):null}const Gv="_Row_1rpxh_1",Xv="_Hoverable_1rpxh_9";function Js({className:o,children:u,...i}){const a=ct(o,Gv,i.onMouseEnter||i.onMouseLeave?Xv:void 0);return M.jsx("tr",{className:a,...i,children:u})}const Zv={label:"Connected",tooltipMessage:"No connection issues detected."},qv={label:"Disconnected",tooltipMessage:"Extension not available. Return to the CLI and run the 'dev' command again."},Jv={label:"Build Error",tooltipMessage:"Check the CLI logs about an error in your source code."},bv={success:Zv,disconnected:qv,error:Jv},bs="_Status_1aimo_1",sd="_success_1aimo_10",ud="_disconnected_1aimo_11",eu="_error_1aimo_12",eg={Status:bs,success:sd,disconnected:ud,error:eu},tg=Object.freeze(Object.defineProperty({__proto__:null,Status:bs,default:eg,disconnected:ud,error:eu,success:sd},Symbol.toStringTag,{value:"Module"})),ng="_Tooltip_ru6ke_1",rg="_TooltipUnderline_ru6ke_9",vf={Tooltip:ng,TooltipUnderline:rg},og="_Popover_1ehpl_5",lg={Popover:og},gf=10;function ig({targetRef:o,text:u}){const i=I.useRef(null),a=()=>{if(!o.current)return{x:0,y:0};const{x:f,y:p,height:h}=o.current.getBoundingClientRect(),{scrollY:g,scrollX:d}=window;return{x:f+d,y:p+h+gf+g}};return I.useLayoutEffect(()=>{if(!i.current||!(o!=null&&o.current))return;let{x:f,y:p}=a();const{innerWidth:h,innerHeight:g}=window,{height:d,width:m}=i.current.getBoundingClientRect();f+m>h&&(f-=m-o.current.getBoundingClientRect().width),p+d>g&&(p-=d+o.current.getBoundingClientRect().height+2*gf),i.current.style.top=`${p}px`,i.current.style.left=`${f}px`},[]),M.jsx("div",{className:lg.Popover,role:"tooltip",ref:i,children:u})}function sg({children:o,text:u}){const i=I.useRef(null),[a,f]=I.useState(!1),p=()=>{!i.current||a||(typeof o!="string"&&(i.current.firstChild.tabIndex=-1),f(!0))},h=g=>{var d;g.key==="Enter"&&((d=i.current)==null?void 0:d.firstChild).click()};return M.jsxs("div",{className:ct(vf.Tooltip,typeof o=="string"&&vf.TooltipUnderline),onMouseEnter:p,onFocus:p,onBlur:()=>f(!1),onMouseLeave:()=>f(!1),onKeyUp:h,ref:i,tabIndex:0,children:[o,a&&M.jsx(ig,{text:u,targetRef:i})]})}function ug({status:o}){const[u]=Lt({fallback:bv}),i=o?tg[o||"error"]:eu;return M.jsxs("span",{className:bs,children:[M.jsx("span",{className:i}),M.jsx(sg,{text:u.translate(`${o}.tooltipMessage`),children:u.translate(`${o}.label`)})]})}const ag="{installLink} to see changes live. Share preview links with teammates or clients.",cg="Install your app",fg={handle:"Handle",preview:"Preview link",mobile:"Mobile",view:"View",status:"Status",refresh:"Refresh",delete:"Delete"},dg={viewColumnHeader:"Hide your local extensions to view what's in production."},pg={show:"Show",hide:"Hide",selectAll:"Select all",deselectAll:"Deselect all"},hg={noExtensions:"No extensions found",noExtensionsForSurface:"No extensions found for the surface: {surface}"},mg={intro:ag,introInstallCta:cg,extensionList:fg,tooltips:dg,bulkActions:pg,errors:hg};function vg(){const o=Kr();return I.useMemo(()=>o.state.extensions.sort((u,i)=>u.type.toLowerCase()==="app_home"?-1:u.handle.localeCompare(i.handle)).map(({uuid:u,type:i})=>({uuid:u,type:i})),[o.state.extensions.length])}function gg(){const[o]=Lt({fallback:mg}),u=vg(),{surface:i}=Af(),{app:a}=Qs();if(!u.length)return M.jsx("div",{className:zh,children:i?o.translate("errors.noExtensionsForSurface",{surface:i}):o.translate("errors.noExtensions")});const f=o.translate("intro",{installLink:M.jsx("a",{href:a==null?void 0:a.url,target:"_blank","aria-label":o.translate("introInstallCta"),children:o.translate("introInstallCta")})});return M.jsxs("section",{className:`${Ih} ${Pf?Oh:""}`,children:[js?null:M.jsx("p",{className:Mh,children:f}),M.jsxs("table",{children:[M.jsx("thead",{children:M.jsxs(Js,{children:[M.jsx("th",{children:o.translate("extensionList.handle")}),M.jsx("th",{children:o.translate("extensionList.preview")}),M.jsx("th",{children:o.translate("extensionList.mobile")}),M.jsx("th",{children:o.translate("extensionList.status")})]})}),M.jsxs("tbody",{children:[M.jsx(bm,{}),u.map(({uuid:p})=>M.jsx(cv,{uuid:p},p))]})]})]})}/**
49
- * @remix-run/router v1.23.2
50
- *
51
- * Copyright (c) Remix Software Inc.
52
- *
53
- * This source code is licensed under the MIT license found in the
54
- * LICENSE.md file in the root directory of this source tree.
55
- *
56
- * @license MIT
57
- */function hl(){return hl=Object.assign?Object.assign.bind():function(o){for(var u=1;u<arguments.length;u++){var i=arguments[u];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])}return o},hl.apply(this,arguments)}var sn;(function(o){o.Pop="POP",o.Push="PUSH",o.Replace="REPLACE"})(sn||(sn={}));const yf="popstate";function yg(o){o===void 0&&(o={});function u(a,f){let{pathname:p,search:h,hash:g}=a.location;return Bs("",{pathname:p,search:h,hash:g},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function i(a,f){return typeof f=="string"?f:cd(f)}return wg(u,i,null,o)}function ot(o,u){if(o===!1||o===null||typeof o>"u")throw new Error(u)}function ad(o,u){if(!o){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function Eg(){return Math.random().toString(36).substr(2,8)}function Ef(o,u){return{usr:o.state,key:o.key,idx:u}}function Bs(o,u,i,a){return i===void 0&&(i=null),hl({pathname:typeof o=="string"?o:o.pathname,search:"",hash:""},typeof u=="string"?yl(u):u,{state:i,key:u&&u.key||a||Eg()})}function cd(o){let{pathname:u="/",search:i="",hash:a=""}=o;return i&&i!=="?"&&(u+=i.charAt(0)==="?"?i:"?"+i),a&&a!=="#"&&(u+=a.charAt(0)==="#"?a:"#"+a),u}function yl(o){let u={};if(o){let i=o.indexOf("#");i>=0&&(u.hash=o.substr(i),o=o.substr(0,i));let a=o.indexOf("?");a>=0&&(u.search=o.substr(a),o=o.substr(0,a)),o&&(u.pathname=o)}return u}function wg(o,u,i,a){a===void 0&&(a={});let{window:f=document.defaultView,v5Compat:p=!1}=a,h=f.history,g=sn.Pop,d=null,m=v();m==null&&(m=0,h.replaceState(hl({},h.state,{idx:m}),""));function v(){return(h.state||{idx:null}).idx}function E(){g=sn.Pop;let k=v(),U=k==null?null:k-m;m=k,d&&d({action:g,location:L.location,delta:U})}function S(k,U){g=sn.Push;let K=Bs(L.location,k,U);m=v()+1;let B=Ef(K,m),$=L.createHref(K);try{h.pushState(B,"",$)}catch(q){if(q instanceof DOMException&&q.name==="DataCloneError")throw q;f.location.assign($)}p&&d&&d({action:g,location:L.location,delta:1})}function R(k,U){g=sn.Replace;let K=Bs(L.location,k,U);m=v();let B=Ef(K,m),$=L.createHref(K);h.replaceState(B,"",$),p&&d&&d({action:g,location:L.location,delta:0})}function P(k){let U=f.location.origin!=="null"?f.location.origin:f.location.href,K=typeof k=="string"?k:cd(k);return K=K.replace(/ $/,"%20"),ot(U,"No window.location.(origin|href) available to create URL for href: "+K),new URL(K,U)}let L={get action(){return g},get location(){return o(f,h)},listen(k){if(d)throw new Error("A history only accepts one active listener");return f.addEventListener(yf,E),d=k,()=>{f.removeEventListener(yf,E),d=null}},createHref(k){return u(f,k)},createURL:P,encodeLocation(k){let U=P(k);return{pathname:U.pathname,search:U.search,hash:U.hash}},push:S,replace:R,go(k){return h.go(k)}};return L}var wf;(function(o){o.data="data",o.deferred="deferred",o.redirect="redirect",o.error="error"})(wf||(wf={}));function Cg(o,u,i){return i===void 0&&(i="/"),Sg(o,u,i)}function Sg(o,u,i,a){let f=typeof u=="string"?yl(u):u,p=pd(f.pathname||"/",i);if(p==null)return null;let h=fd(o);xg(h);let g=null;for(let d=0;g==null&&d<h.length;++d){let m=jg(p);g=Ig(h[d],m)}return g}function fd(o,u,i,a){u===void 0&&(u=[]),i===void 0&&(i=[]),a===void 0&&(a="");let f=(p,h,g)=>{let d={relativePath:g===void 0?p.path||"":g,caseSensitive:p.caseSensitive===!0,childrenIndex:h,route:p};d.relativePath.startsWith("/")&&(ot(d.relativePath.startsWith(a),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+a+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(a.length));let m=tr([a,d.relativePath]),v=i.concat(d);p.children&&p.children.length>0&&(ot(p.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),fd(p.children,u,v,m)),!(p.path==null&&!p.index)&&u.push({path:m,score:Lg(m,p.index),routesMeta:v})};return o.forEach((p,h)=>{var g;if(p.path===""||!((g=p.path)!=null&&g.includes("?")))f(p,h);else for(let d of dd(p.path))f(p,h,d)}),u}function dd(o){let u=o.split("/");if(u.length===0)return[];let[i,...a]=u,f=i.endsWith("?"),p=i.replace(/\?$/,"");if(a.length===0)return f?[p,""]:[p];let h=dd(a.join("/")),g=[];return g.push(...h.map(d=>d===""?p:[p,d].join("/"))),f&&g.push(...h),g.map(d=>o.startsWith("/")&&d===""?"/":d)}function xg(o){o.sort((u,i)=>u.score!==i.score?i.score-u.score:Mg(u.routesMeta.map(a=>a.childrenIndex),i.routesMeta.map(a=>a.childrenIndex)))}const _g=/^:[\w-]+$/,kg=3,Ng=2,Tg=1,Pg=10,Rg=-2,Cf=o=>o==="*";function Lg(o,u){let i=o.split("/"),a=i.length;return i.some(Cf)&&(a+=Rg),u&&(a+=Ng),i.filter(f=>!Cf(f)).reduce((f,p)=>f+(_g.test(p)?kg:p===""?Tg:Pg),a)}function Mg(o,u){return o.length===u.length&&o.slice(0,-1).every((a,f)=>a===u[f])?o[o.length-1]-u[u.length-1]:0}function Ig(o,u,i){let{routesMeta:a}=o,f={},p="/",h=[];for(let g=0;g<a.length;++g){let d=a[g],m=g===a.length-1,v=p==="/"?u:u.slice(p.length)||"/",E=Og({path:d.relativePath,caseSensitive:d.caseSensitive,end:m},v),S=d.route;if(!E)return null;Object.assign(f,E.params),h.push({params:f,pathname:tr([p,E.pathname]),pathnameBase:Dg(tr([p,E.pathnameBase])),route:S}),E.pathnameBase!=="/"&&(p=tr([p,E.pathnameBase]))}return h}function Og(o,u){typeof o=="string"&&(o={path:o,caseSensitive:!1,end:!0});let[i,a]=zg(o.path,o.caseSensitive,o.end),f=u.match(i);if(!f)return null;let p=f[0],h=p.replace(/(.)\/+$/,"$1"),g=f.slice(1);return{params:a.reduce((m,v,E)=>{let{paramName:S,isOptional:R}=v;if(S==="*"){let L=g[E]||"";h=p.slice(0,p.length-L.length).replace(/(.)\/+$/,"$1")}const P=g[E];return R&&!P?m[S]=void 0:m[S]=(P||"").replace(/%2F/g,"/"),m},{}),pathname:p,pathnameBase:h,pattern:o}}function zg(o,u,i){u===void 0&&(u=!1),i===void 0&&(i=!0),ad(o==="*"||!o.endsWith("*")||o.endsWith("/*"),'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".'));let a=[],f="^"+o.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,g,d)=>(a.push({paramName:g,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return o.endsWith("*")?(a.push({paramName:"*"}),f+=o==="*"||o==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?f+="\\/*$":o!==""&&o!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,u?void 0:"i"),a]}function jg(o){try{return o.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return ad(!1,'The URL path "'+o+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+u+").")),o}}function pd(o,u){if(u==="/")return o;if(!o.toLowerCase().startsWith(u.toLowerCase()))return null;let i=u.endsWith("/")?u.length-1:u.length,a=o.charAt(i);return a&&a!=="/"?null:o.slice(i)||"/"}const tr=o=>o.join("/").replace(/\/\/+/g,"/"),Dg=o=>o.replace(/\/+$/,"").replace(/^\/*/,"/");function Ag(o){return o!=null&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.internal=="boolean"&&"data"in o}const hd=["post","put","patch","delete"];new Set(hd);const Fg=["get",...hd];new Set(Fg);/**
58
- * React Router v6.30.3
59
- *
60
- * Copyright (c) Remix Software Inc.
61
- *
62
- * This source code is licensed under the MIT license found in the
63
- * LICENSE.md file in the root directory of this source tree.
64
- *
65
- * @license MIT
66
- */function ml(){return ml=Object.assign?Object.assign.bind():function(o){for(var u=1;u<arguments.length;u++){var i=arguments[u];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])}return o},ml.apply(this,arguments)}const Ug=I.createContext(null),Bg=I.createContext(null),md=I.createContext(null),El=I.createContext(null),wl=I.createContext({outlet:null,matches:[],isDataRoute:!1}),vd=I.createContext(null);function tu(){return I.useContext(El)!=null}function $g(){return tu()||ot(!1),I.useContext(El).location}function Vg(o,u){return Hg(o,u)}function Hg(o,u,i,a){tu()||ot(!1);let{navigator:f}=I.useContext(md),{matches:p}=I.useContext(wl),h=p[p.length-1],g=h?h.params:{};h&&h.pathname;let d=h?h.pathnameBase:"/";h&&h.route;let m=$g(),v;if(u){var E;let k=typeof u=="string"?yl(u):u;d==="/"||(E=k.pathname)!=null&&E.startsWith(d)||ot(!1),v=k}else v=m;let S=v.pathname||"/",R=S;if(d!=="/"){let k=d.replace(/^\//,"").split("/");R="/"+S.replace(/^\//,"").split("/").slice(k.length).join("/")}let P=Cg(o,{pathname:R}),L=Gg(P&&P.map(k=>Object.assign({},k,{params:Object.assign({},g,k.params),pathname:tr([d,f.encodeLocation?f.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?d:tr([d,f.encodeLocation?f.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),p,i,a);return u&&L?I.createElement(El.Provider,{value:{location:ml({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:sn.Pop}},L):L}function Wg(){let o=Jg(),u=Ag(o)?o.status+" "+o.statusText:o instanceof Error?o.message:JSON.stringify(o),i=o instanceof Error?o.stack:null,f={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return I.createElement(I.Fragment,null,I.createElement("h2",null,"Unexpected Application Error!"),I.createElement("h3",{style:{fontStyle:"italic"}},u),i?I.createElement("pre",{style:f},i):null,null)}const Qg=I.createElement(Wg,null);class Kg extends I.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,i){return i.location!==u.location||i.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:i.error,location:i.location,revalidation:u.revalidation||i.revalidation}}componentDidCatch(u,i){console.error("React Router caught the following error during render",u,i)}render(){return this.state.error!==void 0?I.createElement(wl.Provider,{value:this.props.routeContext},I.createElement(vd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Yg(o){let{routeContext:u,match:i,children:a}=o,f=I.useContext(Ug);return f&&f.static&&f.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(f.staticContext._deepestRenderedBoundaryId=i.route.id),I.createElement(wl.Provider,{value:u},a)}function Gg(o,u,i,a){var f;if(u===void 0&&(u=[]),i===void 0&&(i=null),a===void 0&&(a=null),o==null){var p;if(!i)return null;if(i.errors)o=i.matches;else if((p=a)!=null&&p.v7_partialHydration&&u.length===0&&!i.initialized&&i.matches.length>0)o=i.matches;else return null}let h=o,g=(f=i)==null?void 0:f.errors;if(g!=null){let v=h.findIndex(E=>E.route.id&&(g==null?void 0:g[E.route.id])!==void 0);v>=0||ot(!1),h=h.slice(0,Math.min(h.length,v+1))}let d=!1,m=-1;if(i&&a&&a.v7_partialHydration)for(let v=0;v<h.length;v++){let E=h[v];if((E.route.HydrateFallback||E.route.hydrateFallbackElement)&&(m=v),E.route.id){let{loaderData:S,errors:R}=i,P=E.route.loader&&S[E.route.id]===void 0&&(!R||R[E.route.id]===void 0);if(E.route.lazy||P){d=!0,m>=0?h=h.slice(0,m+1):h=[h[0]];break}}}return h.reduceRight((v,E,S)=>{let R,P=!1,L=null,k=null;i&&(R=g&&E.route.id?g[E.route.id]:void 0,L=E.route.errorElement||Qg,d&&(m<0&&S===0?(bg("route-fallback"),P=!0,k=null):m===S&&(P=!0,k=E.route.hydrateFallbackElement||null)));let U=u.concat(h.slice(0,S+1)),K=()=>{let B;return R?B=L:P?B=k:E.route.Component?B=I.createElement(E.route.Component,null):E.route.element?B=E.route.element:B=v,I.createElement(Yg,{match:E,routeContext:{outlet:v,matches:U,isDataRoute:i!=null},children:B})};return i&&(E.route.ErrorBoundary||E.route.errorElement||S===0)?I.createElement(Kg,{location:i.location,revalidation:i.revalidation,component:L,error:R,children:K(),routeContext:{outlet:null,matches:U,isDataRoute:!0}}):K()},null)}var gd=(function(o){return o.UseBlocker="useBlocker",o.UseLoaderData="useLoaderData",o.UseActionData="useActionData",o.UseRouteError="useRouteError",o.UseNavigation="useNavigation",o.UseRouteLoaderData="useRouteLoaderData",o.UseMatches="useMatches",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o.UseRouteId="useRouteId",o})(gd||{});function Xg(o){let u=I.useContext(Bg);return u||ot(!1),u}function Zg(o){let u=I.useContext(wl);return u||ot(!1),u}function qg(o){let u=Zg(),i=u.matches[u.matches.length-1];return i.route.id||ot(!1),i.route.id}function Jg(){var o;let u=I.useContext(vd),i=Xg(gd.UseRouteError),a=qg();return u!==void 0?u:(o=i.errors)==null?void 0:o[a]}const Sf={};function bg(o,u,i){Sf[o]||(Sf[o]=!0)}function e0(o,u){o==null||o.v7_startTransition,o==null||o.v7_relativeSplatPath}function yd(o){ot(!1)}function t0(o){let{basename:u="/",children:i=null,location:a,navigationType:f=sn.Pop,navigator:p,static:h=!1,future:g}=o;tu()&&ot(!1);let d=u.replace(/^\/*/,"/"),m=I.useMemo(()=>({basename:d,navigator:p,static:h,future:ml({v7_relativeSplatPath:!1},g)}),[d,g,p,h]);typeof a=="string"&&(a=yl(a));let{pathname:v="/",search:E="",hash:S="",state:R=null,key:P="default"}=a,L=I.useMemo(()=>{let k=pd(v,d);return k==null?null:{location:{pathname:k,search:E,hash:S,state:R,key:P},navigationType:f}},[d,v,E,S,R,P,f]);return L==null?null:I.createElement(md.Provider,{value:m},I.createElement(El.Provider,{children:i,value:L}))}function n0(o){let{children:u,location:i}=o;return Vg($s(u),i)}new Promise(()=>{});function $s(o,u){u===void 0&&(u=[]);let i=[];return I.Children.forEach(o,(a,f)=>{if(!I.isValidElement(a))return;let p=[...u,f];if(a.type===I.Fragment){i.push.apply(i,$s(a.props.children,p));return}a.type!==yd&&ot(!1),!a.props.index||!a.props.children||ot(!1);let h={id:a.props.id||p.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,loader:a.props.loader,action:a.props.action,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(h.children=$s(a.props.children,p)),i.push(h)}),i}/**
67
- * React Router DOM v6.30.3
68
- *
69
- * Copyright (c) Remix Software Inc.
70
- *
71
- * This source code is licensed under the MIT license found in the
72
- * LICENSE.md file in the root directory of this source tree.
73
- *
74
- * @license MIT
75
- */const r0="6";try{window.__reactRouterVersion=r0}catch{}const o0="startTransition",xf=Th[o0];function l0(o){let{basename:u,children:i,future:a,window:f}=o,p=I.useRef();p.current==null&&(p.current=yg({window:f,v5Compat:!0}));let h=p.current,[g,d]=I.useState({action:h.action,location:h.location}),{v7_startTransition:m}=a||{},v=I.useCallback(E=>{m&&xf?xf(()=>d(E)):d(E)},[d,m]);return I.useLayoutEffect(()=>h.listen(v),[h,v]),I.useEffect(()=>e0(a),[a]),I.createElement(t0,{basename:u,children:i,location:g.location,navigationType:g.action,navigator:h,future:a})}var _f;(function(o){o.UseScrollRestoration="useScrollRestoration",o.UseSubmit="useSubmit",o.UseSubmitFetcher="useSubmitFetcher",o.UseFetcher="useFetcher",o.useViewTransitionState="useViewTransitionState"})(_f||(_f={}));var kf;(function(o){o.UseFetcher="useFetcher",o.UseFetchers="useFetchers",o.UseScrollRestoration="useScrollRestoration"})(kf||(kf={}));function i0(){return M.jsx(l0,{children:M.jsx(n0,{children:M.jsx(yd,{path:"*",element:M.jsx(gg,{})})})})}const s0="_Toast_1qbvq_1";function u0(){return M.jsxs("div",{className:s0,children:[M.jsx(Ds,{position:"bottom-center",theme:"dark",closeButton:!1,pauseOnFocusLoss:!1,closeOnClick:!0,hideProgressBar:!0}),M.jsx("style",{children:`.Toastify__toast-body {
76
- padding: 0 16px;
77
- margin: 0;
78
- }`})]})}const a0="_Theme_1aigu_1";function c0({children:o}){return M.jsx("div",{className:a0,children:o})}function f0(){return`${location.protocol==="http:"?"ws:":"wss:"}//${location.host}/extensions`}const Nf=new URLSearchParams(location.search).get("surface"),d0={connection:{url:f0()},surface:If(Nf)?Nf:void 0};function p0(){return M.jsx(rm,{options:d0,children:M.jsx(c0,{children:M.jsxs(Lh,{children:[M.jsx(i0,{}),M.jsx(u0,{}),M.jsx(qm,{})]})})})}var ul={},Tf;function h0(){if(Tf)return ul;Tf=1;var o=Bf();return ul.createRoot=o.createRoot,ul.hydrateRoot=o.hydrateRoot,ul}var m0=h0();m0.createRoot(document.getElementById("root")).render(M.jsx(Q.StrictMode,{children:M.jsx(p0,{})}));