@hanzo/team 0.1.13 → 0.1.15

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 (174) hide show
  1. package/README.md +1 -0
  2. package/dist/404.html +26 -3
  3. package/dist/admin/index.html +26 -3
  4. package/dist/agents/algo/index.html +26 -3
  5. package/dist/agents/art/index.html +26 -3
  6. package/dist/agents/biz/index.html +26 -3
  7. package/dist/agents/cal/index.html +26 -3
  8. package/dist/agents/core/index.html +26 -3
  9. package/dist/agents/cyber/index.html +26 -3
  10. package/dist/agents/data/index.html +26 -3
  11. package/dist/agents/db/index.html +26 -3
  12. package/dist/agents/des/index.html +26 -3
  13. package/dist/agents/dev/index.html +26 -3
  14. package/dist/agents/doc/index.html +26 -3
  15. package/dist/agents/ed/index.html +26 -3
  16. package/dist/agents/fin/index.html +26 -3
  17. package/dist/agents/gov/index.html +26 -3
  18. package/dist/agents/huma/index.html +26 -3
  19. package/dist/agents/index.html +26 -3
  20. package/dist/agents/lang/index.html +26 -3
  21. package/dist/agents/law/index.html +26 -3
  22. package/dist/agents/mana/index.html +26 -3
  23. package/dist/agents/mark/index.html +26 -3
  24. package/dist/agents/mo/index.html +26 -3
  25. package/dist/agents/mu/index.html +26 -3
  26. package/dist/agents/opera/index.html +26 -3
  27. package/dist/agents/rev/index.html +26 -3
  28. package/dist/agents/sal/index.html +26 -3
  29. package/dist/agents/sci/index.html +26 -3
  30. package/dist/agents/sec/index.html +26 -3
  31. package/dist/agents/su/index.html +26 -3
  32. package/dist/agents/vi/index.html +26 -3
  33. package/dist/apps/ads/index.html +26 -3
  34. package/dist/apps/ai-chat/index.html +26 -3
  35. package/dist/apps/analytics/index.html +26 -3
  36. package/dist/apps/billing/index.html +26 -3
  37. package/dist/apps/bots/index.html +26 -3
  38. package/dist/apps/cal/index.html +26 -3
  39. package/dist/apps/chat/index.html +26 -3
  40. package/dist/apps/cms/index.html +26 -3
  41. package/dist/apps/commerce/index.html +26 -3
  42. package/dist/apps/console/index.html +26 -3
  43. package/dist/apps/crm/index.html +26 -3
  44. package/dist/apps/dataroom/index.html +26 -3
  45. package/dist/apps/dev/index.html +26 -3
  46. package/dist/apps/email/index.html +26 -3
  47. package/dist/apps/index.html +26 -3
  48. package/dist/apps/meet/index.html +26 -3
  49. package/dist/apps/platform/index.html +26 -3
  50. package/dist/apps/sign/index.html +26 -3
  51. package/dist/apps/social/index.html +26 -3
  52. package/dist/apps/tracker/index.html +26 -3
  53. package/dist/assets/Bots-B8ku2Lx_.js +174 -0
  54. package/dist/assets/Bots-B8ku2Lx_.js.map +1 -0
  55. package/dist/assets/ThemeToggleNext-Ch0Z0z5a.js +2 -0
  56. package/dist/assets/{ThemeToggleNext-Dl_lG82A.js.map → ThemeToggleNext-Ch0Z0z5a.js.map} +1 -1
  57. package/dist/assets/index-DVi69rnL.css +1 -0
  58. package/dist/assets/index-x1c3_XFq.js +186 -0
  59. package/dist/assets/index-x1c3_XFq.js.map +1 -0
  60. package/dist/assets/instrument-D2ByLhpL.js +42 -0
  61. package/dist/assets/instrument-D2ByLhpL.js.map +1 -0
  62. package/dist/assets/rolldown-runtime-B0Z9INg1.js +1 -0
  63. package/dist/assets/sha3-DDKddPFc.js +2 -0
  64. package/dist/assets/sha3-DDKddPFc.js.map +1 -0
  65. package/dist/auth/callback/index.html +26 -3
  66. package/dist/auth/index.html +26 -3
  67. package/dist/bots/index.html +26 -3
  68. package/dist/cal/index.html +26 -3
  69. package/dist/calendar/index.html +26 -3
  70. package/dist/chat/c-design/index.html +26 -3
  71. package/dist/chat/c-general/index.html +26 -3
  72. package/dist/chat/c-lux-bank/index.html +26 -3
  73. package/dist/chat/c-lux-bridge/index.html +26 -3
  74. package/dist/chat/c-revenue/index.html +26 -3
  75. package/dist/chat/c-support/index.html +26 -3
  76. package/dist/chat/c-tracker/index.html +26 -3
  77. package/dist/chat/c-ui/index.html +26 -3
  78. package/dist/chat/c-video/index.html +26 -3
  79. package/dist/chat/dm-algo/index.html +26 -3
  80. package/dist/chat/dm-art/index.html +26 -3
  81. package/dist/chat/dm-biz/index.html +26 -3
  82. package/dist/chat/dm-cal/index.html +26 -3
  83. package/dist/chat/dm-core/index.html +26 -3
  84. package/dist/chat/dm-cyber/index.html +26 -3
  85. package/dist/chat/dm-data/index.html +26 -3
  86. package/dist/chat/dm-db/index.html +26 -3
  87. package/dist/chat/dm-des/index.html +26 -3
  88. package/dist/chat/dm-dev/index.html +26 -3
  89. package/dist/chat/dm-doc/index.html +26 -3
  90. package/dist/chat/dm-ed/index.html +26 -3
  91. package/dist/chat/dm-fin/index.html +26 -3
  92. package/dist/chat/dm-gov/index.html +26 -3
  93. package/dist/chat/dm-huma/index.html +26 -3
  94. package/dist/chat/dm-lang/index.html +26 -3
  95. package/dist/chat/dm-law/index.html +26 -3
  96. package/dist/chat/dm-mana/index.html +26 -3
  97. package/dist/chat/dm-mark/index.html +26 -3
  98. package/dist/chat/dm-mo/index.html +26 -3
  99. package/dist/chat/dm-mu/index.html +26 -3
  100. package/dist/chat/dm-opera/index.html +26 -3
  101. package/dist/chat/dm-rev/index.html +26 -3
  102. package/dist/chat/dm-sal/index.html +26 -3
  103. package/dist/chat/dm-sci/index.html +26 -3
  104. package/dist/chat/dm-sec/index.html +26 -3
  105. package/dist/chat/dm-su/index.html +26 -3
  106. package/dist/chat/dm-vi/index.html +26 -3
  107. package/dist/chat/index.html +26 -3
  108. package/dist/crm/analytics/index.html +26 -3
  109. package/dist/crm/automations/index.html +26 -3
  110. package/dist/crm/campaigns/index.html +26 -3
  111. package/dist/crm/companies/index.html +26 -3
  112. package/dist/crm/contacts/index.html +26 -3
  113. package/dist/crm/customers/index.html +26 -3
  114. package/dist/crm/deliverability/index.html +26 -3
  115. package/dist/crm/forms/index.html +26 -3
  116. package/dist/crm/funds/index.html +26 -3
  117. package/dist/crm/index.html +26 -3
  118. package/dist/crm/investors/index.html +26 -3
  119. package/dist/crm/journeys/index.html +26 -3
  120. package/dist/crm/leads/index.html +26 -3
  121. package/dist/crm/lists/index.html +26 -3
  122. package/dist/crm/opportunities/index.html +26 -3
  123. package/dist/crm/segments/index.html +26 -3
  124. package/dist/crm/settings/index.html +26 -3
  125. package/dist/crm/templates/index.html +26 -3
  126. package/dist/crm/webhooks/index.html +26 -3
  127. package/dist/docs/index.html +26 -3
  128. package/dist/files/index.html +26 -3
  129. package/dist/inbox/index.html +26 -3
  130. package/dist/index.html +26 -3
  131. package/dist/issues/index.html +26 -3
  132. package/dist/issues/kanban/index.html +26 -3
  133. package/dist/issues/list/index.html +26 -3
  134. package/dist/login/index.html +26 -3
  135. package/dist/mail/index.html +26 -3
  136. package/dist/meet/index.html +26 -3
  137. package/dist/mine/index.html +26 -3
  138. package/dist/people/index.html +26 -3
  139. package/dist/projects/index.html +26 -3
  140. package/dist/projects/proj-crm/components/index.html +26 -3
  141. package/dist/projects/proj-crm/index.html +26 -3
  142. package/dist/projects/proj-crm/issues/index.html +26 -3
  143. package/dist/projects/proj-crm/issues/kanban/index.html +26 -3
  144. package/dist/projects/proj-crm/issues/list/index.html +26 -3
  145. package/dist/projects/proj-crm/milestones/index.html +26 -3
  146. package/dist/projects/proj-crm/templates/index.html +26 -3
  147. package/dist/projects/proj-dev/components/index.html +26 -3
  148. package/dist/projects/proj-dev/index.html +26 -3
  149. package/dist/projects/proj-dev/issues/index.html +26 -3
  150. package/dist/projects/proj-dev/issues/kanban/index.html +26 -3
  151. package/dist/projects/proj-dev/issues/list/index.html +26 -3
  152. package/dist/projects/proj-dev/milestones/index.html +26 -3
  153. package/dist/projects/proj-dev/templates/index.html +26 -3
  154. package/dist/projects/proj-mkt/components/index.html +26 -3
  155. package/dist/projects/proj-mkt/index.html +26 -3
  156. package/dist/projects/proj-mkt/issues/index.html +26 -3
  157. package/dist/projects/proj-mkt/issues/kanban/index.html +26 -3
  158. package/dist/projects/proj-mkt/issues/list/index.html +26 -3
  159. package/dist/projects/proj-mkt/milestones/index.html +26 -3
  160. package/dist/projects/proj-mkt/templates/index.html +26 -3
  161. package/dist/projects/proj-next/components/index.html +26 -3
  162. package/dist/projects/proj-next/index.html +26 -3
  163. package/dist/projects/proj-next/issues/index.html +26 -3
  164. package/dist/projects/proj-next/issues/kanban/index.html +26 -3
  165. package/dist/projects/proj-next/issues/list/index.html +26 -3
  166. package/dist/projects/proj-next/milestones/index.html +26 -3
  167. package/dist/projects/proj-next/templates/index.html +26 -3
  168. package/dist/settings/index.html +26 -3
  169. package/dist/time/index.html +26 -3
  170. package/package.json +9 -2
  171. package/dist/assets/ThemeToggleNext-Dl_lG82A.js +0 -2
  172. package/dist/assets/index-B-xfsR5K.js +0 -221
  173. package/dist/assets/index-B-xfsR5K.js.map +0 -1
  174. package/dist/assets/index-Cs7y8nyH.css +0 -1
@@ -0,0 +1,42 @@
1
+ import{a as e,i as t,n,r,t as i}from"./rolldown-runtime-B0Z9INg1.js";var a=i((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function ee(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function te(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function ne(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,ne(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+ee(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),ne(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+ee(a,u),c+=ne(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+ee(a,u++),c+=ne(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return ne(te(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function re(e,t,n){if(e==null)return e;var r=[],i=0;return ne(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function j(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var M=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ie={map:re,forEach:function(e,t,n){re(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return re(e,function(){t++}),t},toArray:function(e){return re(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ie,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:j}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,M)}catch(e){M(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.8`})),o=i(((e,t)=>{t.exports=a()})),s=i((e=>{var t=o();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return s(e,t,null,r)},e.flushSync=function(e){var t=c.T,n=i.p;try{if(c.T=null,i.p=2,e)return e()}finally{c.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=l(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.8`})),c=i(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=s()})),l=e(o(),1),u={SIGNUP_VIEWED:`signup_viewed`,SIGNUP_SUBMITTED:`signup_submitted`,SIGNUP_VERIFIED:`signup_verified`,SIGNUP_COMPLETED:`signup_completed`,LOGIN_COMPLETED:`login_completed`,LOGOUT_COMPLETED:`logout_completed`,FIRST_ACTION:`first_action`,WAITLIST_JOINED:`waitlist_joined`,WAITLIST_SHARED:`waitlist_shared`,REFERRAL_USED:`referral_used`,REFERRAL_CLAIMED:`referral_claimed`,PRICING_VIEWED:`pricing_viewed`,PLAN_CLICKED:`plan_clicked`,PLAN_SELECTED:`plan_selected`,PLAN_SKIPPED:`plan_skipped`,PLAN_CHANGED:`plan_changed`,UPGRADE_CLICKED:`upgrade_clicked`,CHECKOUT_STARTED:`checkout_started`,PAYMENT_INFO_ADDED:`payment_info_added`,CHECKOUT_FAILED:`checkout_failed`,ORDER_COMPLETED:`order_completed`,SUBSCRIPTION_CHANGED:`subscription_changed`,SUBSCRIPTION_CANCELED:`subscription_canceled`,ORDER_REFUNDED:`order_refunded`,SALES_CONTACTED:`sales_contacted`,PRODUCT_VIEWED:`product_viewed`,SEARCH_PERFORMED:`search_performed`,CTA_CLICKED:`cta_clicked`,NEWSLETTER_SUBSCRIBED:`newsletter_subscribed`,BETA_SUBMITTED:`beta_submitted`,RESEARCH_ACCESS_APPLIED:`research_access_applied`,USAGE_SELECTED:`usage_selected`,TEAM_CREATED:`team_created`,FIRST_CHAT_NOTICE_ACCEPTED:`first_chat_notice_accepted`,NAME_SET:`name_set`,ROLE_SELECTED:`role_selected`,STARTER_PROMPT_USED:`starter_prompt_used`,OWN_TOPIC_CHOSEN:`own_topic_chosen`,FEATURE_USED:`feature_used`,API_KEY_CREATED:`api_key_created`,APP_CREATED:`app_created`,PROJECT_CREATED:`project_created`,AGENT_CREATED:`agent_created`,CHAT_STARTED:`chat_started`,CHAT_MESSAGE_SENT:`chat_message_sent`,MODEL_SWITCHED:`model_switched`,TASK_STARTED:`task_started`,TASK_COMPLETED:`task_completed`,BUILD_STARTED:`build_started`,GENERATION_COMPLETED:`generation_completed`,GENERATION_FAILED:`generation_failed`,DEPLOY_STARTED:`deploy_started`,DEPLOY_SUCCEEDED:`deploy_succeeded`,DEPLOY_FAILED:`deploy_failed`},d=`$pageview`,f=`$exception`,p={signup_viewed:{standard:`view_content`,ga4:`view_item`,meta:`ViewContent`,tiktok:`ViewContent`},signup_submitted:{standard:`lead`,ga4:`generate_lead`,meta:`Lead`},signup_completed:{standard:`signup`,ga4:`sign_up`,meta:`CompleteRegistration`,linkedin:`sign_up`,x:`sign_up`,tiktok:`CompleteRegistration`,ads:!0},login_completed:{standard:`login`,ga4:`login`},first_action:{ga4:`first_message`},pricing_viewed:{standard:`view_item_list`,ga4:`view_item_list`,meta:`ViewContent`,tiktok:`ViewContent`},plan_clicked:{standard:`select_item`,ga4:`select_item`,meta:`PlanClicked`,tiktok:`ClickButton`},plan_selected:{standard:`add_to_cart`,ga4:`add_to_cart`,meta:`AddToCart`,x:`add_to_cart`,tiktok:`AddToCart`},plan_changed:{ga4:[`remove_from_cart`,`add_to_cart`],meta:`CustomizeProduct`},plan_skipped:{ga4:`plan_skipped`,meta:`PlanSkipped`},upgrade_clicked:{ga4:`select_promotion`,meta:`UpgradeClicked`},checkout_started:{standard:`start_checkout`,ga4:`begin_checkout`,meta:`InitiateCheckout`,linkedin:`begin_checkout`,x:`begin_checkout`,tiktok:`InitiateCheckout`,ads:!0},payment_info_added:{ga4:`add_payment_info`,meta:`AddPaymentInfo`,tiktok:`AddPaymentInfo`},checkout_failed:{ga4:`checkout_failed`,meta:`CheckoutFailed`},order_completed:{standard:`purchase`,ga4:`purchase`,meta:[`Purchase`,`Subscribe`],linkedin:`purchase`,x:`purchase`,tiktok:`CompletePayment`,ads:!0,money:!0},subscription_changed:{ga4:`purchase`,meta:`Subscribe`,money:!0},subscription_canceled:{ga4:`subscription_canceled`,meta:`SubscriptionCanceled`},order_refunded:{ga4:`refund`,meta:`OrderRefunded`,money:!0},sales_contacted:{standard:`lead`,ga4:`generate_lead`,meta:`Lead`,linkedin:`lead`,x:`lead`,tiktok:`SubmitForm`,ads:!0},waitlist_joined:{standard:`lead`,ga4:`generate_lead`,meta:`Lead`,linkedin:`lead`,x:`lead`,tiktok:`SubmitForm`},referral_used:{standard:`lead`},newsletter_subscribed:{standard:`lead`,ga4:`generate_lead`,meta:`Lead`,linkedin:`lead`,x:`lead`,tiktok:`SubmitForm`},beta_submitted:{standard:`lead`,ga4:`generate_lead`,meta:`Lead`,linkedin:`lead`,x:`lead`,tiktok:`SubmitForm`},research_access_applied:{standard:`lead`,ga4:`generate_lead`,meta:`Lead`,linkedin:`lead`,x:`lead`,tiktok:`SubmitForm`},product_viewed:{standard:`view_content`,ga4:`view_item`,meta:`ViewContent`,tiktok:`ViewContent`},search_performed:{standard:`search`,ga4:`search`,meta:`Search`,tiktok:`Search`},cta_clicked:{ga4:`cta_click`,meta:`CTAClicked`,tiktok:`ClickButton`}};function m(e,t){let n=p[e]?.[t];return n===void 0?[]:typeof n==`string`?[n]:n}var h=(e,t,n)=>({event:e,label:t,...n??{}}),g={signup:{label:`Signup`,products:[`site`,`id`],join:`aggregate`,steps:[h(d,`Landed`,{product:`site`}),h(u.SIGNUP_VIEWED,`Opened signup`,{product:`site`}),h(u.SIGNUP_SUBMITTED,`Redirected to Hanzo ID`,{product:`site`}),h(u.SIGNUP_VIEWED,`Saw the form`,{product:`id`}),h(u.SIGNUP_SUBMITTED,`Submitted the form`,{product:`id`}),h(u.SIGNUP_COMPLETED,`Account created`,{product:`site`})]},journey:{label:`Hanzo journey`,products:[`site`,`app`,`chat`,`pay`,`commerce`],join:`person`,steps:[h(d,`Landed`),h(u.SIGNUP_VIEWED,`Saw sign-up`),h(u.SIGNUP_SUBMITTED,`Asked for an account`),h(u.SIGNUP_COMPLETED,`Account created`),h(u.USAGE_SELECTED,`Said how they will use Hanzo`),h(u.PRICING_VIEWED,`Saw plans`),h(u.PLAN_CLICKED,`Pressed a plan`),h(u.PLAN_SELECTED,`Opened checkout on a plan`),h(u.CHECKOUT_STARTED,`Saw the billing form`),h(u.PAYMENT_INFO_ADDED,`Card tokenized`),h(u.ORDER_COMPLETED,`Paid`),h(u.FIRST_ACTION,`First action`)]},apiActivation:{label:`API activation`,products:[`site`,`cloud`],join:`person`,steps:[h(u.SIGNUP_COMPLETED,`Account created`),h(u.API_KEY_CREATED,`Key minted`),h(u.FIRST_ACTION,`First successful API call`,{where:{property:`action`,equals:`api_call`}})]},upgrade:{label:`Upgrade`,products:[`site`,`app`,`console`,`billing`,`pay`],join:`person`,steps:[h(u.PRICING_VIEWED,`Viewed pricing`),h(u.PLAN_CLICKED,`Chose a plan`),h(u.CHECKOUT_STARTED,`Left for checkout`,{product:`billing`}),h(u.CHECKOUT_STARTED,`Reached the card form`,{product:`pay`}),h(u.ORDER_COMPLETED,`Paid`)]},appShip:{label:`Describe → ship`,products:[`app`],join:`person`,steps:[h(d,`Landed`),h(u.BUILD_STARTED,`Described an app`),h(u.GENERATION_COMPLETED,`Got a working build`),h(u.DEPLOY_STARTED,`Hit publish`),h(u.DEPLOY_SUCCEEDED,`Live URL`)]},chatEngage:{label:`Chat engagement`,products:[`chat`],join:`person`,steps:[h(d,`Landed`),h(u.CHAT_STARTED,`Started a conversation`),h(u.CHAT_MESSAGE_SENT,`Sent a message`),h(u.GENERATION_COMPLETED,`Got an answer`)]},siteToChat:{label:`Site → Chat handoff`,products:[`site`,`chat`],join:`aggregate`,steps:[h(u.CHAT_STARTED,`Submitted the hanzo.ai composer`,{product:`site`,where:{property:`source`,equals:`composer`}}),h(u.CHAT_STARTED,`Landed in hanzo.chat`,{product:`chat`,where:{property:`referrerProduct`,equals:`site`}}),h(u.GENERATION_COMPLETED,`Got an answer`)]}};function _(e){return g[e].steps.map(e=>e.event)}Object.freeze(Object.values(u)),Object.freeze([d,f]);var v=[`facebook.`,`instagram.`,`twitter.`,`x.com`,`t.co`,`linkedin.`,`reddit.`,`youtube.`,`tiktok.`,`pinterest.`,`news.ycombinator.com`],y=[`google.`,`bing.`,`duckduckgo.`,`yahoo.`,`baidu.`,`ecosia.`];function b(e,t){let n=new URLSearchParams(e||``),r=e=>{let t=n.get(e);return t?t.trim():void 0},i={utm:{source:r(`utm_source`),medium:r(`utm_medium`),campaign:r(`utm_campaign`),term:r(`utm_term`),content:r(`utm_content`)},referrer:t?t.trim():void 0,refCode:r(`ref`)||r(`refCode`)||r(`ref_code`)||void 0};return i.channel=x(i),i}function x(e){let t=(e.utm.medium||``).toLowerCase();if(/(cpc|ppc|paid|paidsearch|display|cpm)/.test(t))return`paid`;if(e.utm.source||e.utm.campaign)return`campaign`;if(e.refCode)return`referral`;let n=S(e.referrer);return n?v.some(e=>n.includes(e))?`social`:y.some(e=>n.includes(e))?`organic`:`referral`:`direct`}function S(e){if(!e)return``;let t=e.trim(),n=t.indexOf(`://`);n>=0&&(t=t.slice(n+3));let r=t.search(/[/?#]/);r>=0&&(t=t.slice(0,r));let i=t.indexOf(`@`);i>=0&&(t=t.slice(i+1));let a=t.indexOf(`:`);return a>=0&&(t=t.slice(0,a)),t.toLowerCase().trim()}function C(e){return!!(e.utm.source||e.utm.medium||e.utm.campaign||e.utm.term||e.utm.content||e.refCode||e.referrer&&S(e.referrer))}var w=Object.freeze({hanzo:Object.freeze([`hanzo.ai`,`hanzo.agency`,`hanzo.app`,`hanzo.bot`,`hanzo.chat`,`hanzo.codes`,`hanzo.community`,`hanzo.computer`,`hanzo.help`,`hanzo.id`,`hanzo.industries`,`hanzo.market`,`hanzo.network`,`hanzo.sh`,`hanzo.team`,`hanzo.ventures`,`hanzo.works`,`hanzoskills.com`]),lux:Object.freeze([`lux.network`,`lux.exchange`,`lux.market`,`lux.finance`,`lux.financial`,`lux.credit`,`lux.fund`,`lux.id`]),zoo:Object.freeze([`zoo.ngo`,`zoo.network`,`zoolabs.id`,`zoolabs.io`])}),T=Object.freeze({hanzo:`pk-CmfLA2K6kvsPflrS9DSkt06H_kSoQB_21sjedt6VJdc`,lux:`pk-gUZp6ZVfhJzSwK-rb4oLbVkpCnMBx5uSCpxf_5yEhQk`,zoo:`pk-3TKpKnERV9AQSsBUERWkZejC1O1mUxc1jRzsP3MPbs4`}),E=Object.freeze({"hanzo.ai":`pk-CmfLA2K6kvsPflrS9DSkt06H_kSoQB_21sjedt6VJdc`,"www.hanzo.ai":`pk-CmfLA2K6kvsPflrS9DSkt06H_kSoQB_21sjedt6VJdc`,"hanzo.app":`pk-wlnXN2a9_vmCm60yTFtQ629Q8TyuaxBNZbY1RWT72gQ`,"hanzo.team":`pk-NCzD2FiHpZv8KUpkCX4olT1LJOJsMxBC_Z8NkiQsOFQ`,"pay.hanzo.ai":`pk-eX6kv7JZNoiYn1WkeJH3tT_8OvkVYScmCXnLMwxTKf8`,"platform.hanzo.ai":`pk-My1RpZLEUnTj8vAdPbWKYdDUuhxZJ4dVjHcwjZN4rZ8`,"docs.hanzo.ai":`pk-jukhtjMT2ymoeBDAeFjINQWlBv-v9sNn1TPztiCrrwk`,"hanzo.bot":`pk-W5d7Mn7ZukT7igyscIy6Pqe8JpA0Ge604Yn4xNR4JCU`,"hanzo.chat":`pk-ATxWeB2jNyRSxDgqnkGoDj3CCbzrmTxSktUh9zlrO-E`,"hanzo.id":`pk-_GVF3KlaqprlPHDumBMRFeFU1lIGOaarQfgimNVDIo8`,"hanzo.industries":`pk-Vh1wvL2HqIAv9qpVvmrznTI9uMHrTD-jyIC-vnlBsgY`,"hanzo.market":`pk-DN3xQFa0H61epUVg9OkiOYLzCdteNt9hE6f-S-ednjQ`,"hanzo.network":`pk-YJ2eiA_7ckLStMPte8Ar8FsmRp_ycmeIeRbpGprZYmM`,"hanzo.agency":`pk-26a2clOaJFe24aKJZ0PkI-GWR9F4EEa8rthHzgy_Efw`,"console.hanzo.ai":`pk-oFNXoiO1wOD8PqGdHYyiSq6jaNCdrd7TpztGpwM2ZiQ`,"admin.hanzo.ai":`pk-RYZwxkomW-tlAnEu2DKo_kAzcxFbSF2YiYcsUY48QL0`,"bot.hanzo.ai":`pk-W5d7Mn7ZukT7igyscIy6Pqe8JpA0Ge604Yn4xNR4JCU`,"cloud.hanzo.ai":`pk-RAfEGHPoNdCEU9fnA_cPd_Xo9Tci44rlYQV9xuJ1Ob0`});function D(e){let t=k(e).replace(/^www\./,``);return E[t]??(t.endsWith(`.hanzo.app`)?E[`hanzo.app`]:void 0)}var O=`pk-`,k=e=>e.trim().toLowerCase().replace(/\.$/,``).split(`:`)[0]??``;function A(e){let t=k(e);if(!t)return;let n,r=0;for(let[e,i]of Object.entries(w))for(let a of i)(t===a||t.endsWith(`.${a}`))&&a.length>r&&(n=e,r=a.length);return n}function ee(e,t=T){if(t===T){let t=D(e);if(t)return t}let n=A(e);if(!n)return;let r=t[n];if(typeof r!=`string`)return;let i=r.trim();return i.startsWith(O)?i:void 0}function te(e=T){if(!(typeof location>`u`))return ee(location.hostname,e)}var ne=`[redacted]`,re=`[email]`,j=`[ip]`,M=[/-----BEGIN[ A-Z]*PRIVATE KEY-----[\s\S]*?-----END[ A-Z]*PRIVATE KEY-----/g,/eyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{6,}\.[A-Za-z0-9_-]{6,}/g,/\bbearer\s+[A-Za-z0-9._~+/-]{12,}=*/gi,/\b(?:sk|pk|rk)-[A-Za-z0-9]{2,}-?[A-Za-z0-9]{12,}/g,/\b(?:sk|pk)_(?:live|test)_[A-Za-z0-9]{16,}/g,/\bhk-[A-Za-z0-9]{16,}/g,/\bAKIA[0-9A-Z]{16}\b/g,/\bASIA[0-9A-Z]{16}\b/g,/\bAIza[0-9A-Za-z_-]{20,}/g,/\bgh[posru]_[A-Za-z0-9]{20,}/g,/\bxox[baprs]-[A-Za-z0-9-]{10,}/g,/[a-zA-Z][a-zA-Z0-9+.-]{0,32}:\/\/[^\s:@/]{1,256}:[^\s@/]{1,256}@/g],ie=/\b(?:\d[ -]?){13,19}\b/g;function ae(e){let t=0,n=!1;for(let r=e.length-1;r>=0;r--){let i=e.charCodeAt(r)-48;n&&(i*=2,i>9&&(i-=9)),t+=i,n=!n}return t%10==0}function oe(e){return e.replace(ie,e=>{let t=e.replace(/[ -]/g,``);return t.length<13||t.length>19?e:ae(t)?ne:e})}var se=/[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{1,255}\.[A-Za-z]{2,24}/g,ce=/\b(?:\d{1,3}\.){3}\d{1,3}\b/g,le=/\b(?:[0-9A-Fa-f]{1,4}:){2,7}[0-9A-Fa-f]{1,4}\b/g,ue=RegExp(`([?&#;](?:`+`code.state.token.access_token.id_token.refresh_token.auth.authorization.secret.client_secret.password.passwd.pwd.api_key.apikey.key.session.session_id.sid.sig.signature.nonce.otp.invite.invitation.reset_token.confirmation_token.magic.ticket.assertion`.split(`.`).join(`|`)+`)=)[^&#;\\s]{1,4096}`,`gi`);function N(e){return e.replace(ue,(e,t)=>t+ne)}var P=/(^|[^A-Za-z0-9_-]|%[0-9A-Fa-f]{2})((?=[A-Za-z0-9_-]{0,42}[a-z])(?=[A-Za-z0-9_-]{0,42}[A-Z])[A-Za-z0-9_-]{43})(?![A-Za-z0-9_-])/g;function F(e){e=N(e);for(let t of M)e=e.replace(t,ne);return e=e.replace(P,(e,t)=>t+ne),oe(e)}function de(e){let t=e.indexOf(`#`);return t<0?e:e.slice(0,t)}function fe(e){return e=e.replace(se,re),e=e.replace(le,j),e=e.replace(ce,j),e}var pe=8192;function me(e,t=pe){return e.length>t?e.slice(0,t)+`… [truncated]`:e}function he(e,t=!1){return e?(e=me(e),e=F(e),t||(e=fe(e)),e):e??``}var I=50,ge=500,L=2048,_e=/^\s*at\s+(?:(.+?)\s+\()?(?:(.+?):(\d+):(\d+)|([^)]+))\)?\s*$/,R=/^\s*(?:(.*?)@)?(.+?):(\d+):(\d+)\s*$/;function z(e){return e?!(e.includes(`node_modules`)||e.startsWith(`webpack-internal`)||e.startsWith(`webpack://`)||e.startsWith(`chrome-extension://`)||e.startsWith(`moz-extension://`)):!1}function ve(e){if(!e)return[];let t=e.split(`
2
+ `,ge),n=[];for(let e of t){if(e.length>L)continue;let t=e.trimEnd();if(!t)continue;let r,i=``,a=0,o=0,s=_e.exec(t);if(s)r=s[1],s[2]?(i=s[2],a=Number(s[3])||0,o=Number(s[4])||0):i=(s[5]||``).trim();else{let e=R.exec(t);if(!e)continue;r=e[1],i=e[2],a=Number(e[3])||0,o=Number(e[4])||0}(i||r)&&n.push({function:r||`<anonymous>`,filename:i,abs_path:i,lineno:a,colno:o,in_app:z(i)})}return n.reverse(),n.length>I?n.slice(n.length-I):n}function B(e){if(e instanceof Error){let t=ye(e,`name`),n=ye(e,`message`),r=ye(e,`stack`);return{name:typeof t==`string`&&t?t:`Error`,message:typeof n==`string`&&n?n:be(e),stack:typeof r==`string`?r:void 0}}if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)??be(e)}}catch{return{name:`Error`,message:be(e)}}}function ye(e,t){try{return e[t]}catch{return}}function be(e){try{return String(e)}catch{return`[unstringifiable]`}}var V=`iam-anon-id`,xe=[`hz_anon_id`,`hz_id`],H=`hanzo.ai`,Se=63072e3,Ce;function we(e){var t=new Uint8Array(16),n,r=typeof crypto<`u`?crypto:void 0;if(r&&typeof r.getRandomValues==`function`)r.getRandomValues(t);else for(n=0;n<16;n++)t[n]=Math.random()*256|0;var i=Math.floor(e===void 0?Date.now():e);for(n=5;n>=0;n--)t[n]=i%256,i=Math.floor(i/256);t[6]=112|t[6]&15,t[8]=128|t[8]&63;var a=``;for(n=0;n<16;n++)a+=(t[n]+256).toString(16).slice(1),(n===3||n===5||n===7||n===9)&&(a+=`-`);return a}function U(){try{return typeof document>`u`||typeof document.cookie!=`string`?null:document}catch{return null}}function Te(){try{return typeof window>`u`||!window.localStorage?null:window.localStorage}catch{return null}}function Ee(e,t){try{return e&&e.getItem(t)||``}catch{return``}}function De(e){var t=U();if(!t)return``;for(var n=t.cookie.split(`;`),r=0;r<n.length;r++){var i=n[r].indexOf(`=`);if(!(i<0||n[r].slice(0,i).trim()!==e)){var a=n[r].slice(i+1).trim();if(a)try{return decodeURIComponent(a)}catch{return a}}}return``}function Oe(e,t){var n=U();if(n){var r=``,i=!1;try{typeof window<`u`&&window.location&&(r=window.location.hostname||``,i=window.location.protocol===`https:`)}catch{}var a=e+`=`+encodeURIComponent(t);a+=`; Path=/; Max-Age=`+Se+`; SameSite=Lax`,(`.`+r).slice(-(H.length+1))===`.`+H&&(a+=`; Domain=`+H),i&&(a+=`; Secure`);try{n.cookie=a}catch{}}}function ke(e){for(var t=0;t<xe.length;t++){var n=De(xe[t])||Ee(e,xe[t]);if(n)return n}return``}function Ae(){if(typeof window>`u`)return``;var e=Te(),t=De(V)||Ee(e,V)||ke(e)||Ce||we();Ce=t,Oe(V,t);try{e&&e.getItem(V)!==t&&e.setItem(V,t)}catch{}return t}function W(e){Ce=e,Oe(V,e);try{var t=Te();t&&t.setItem(V,e)}catch{}}var je={session:`hz_session`,firstTouch:`hz_first_touch`,lastTouch:`hz_last_touch`,cohort:`hz_cohort`},Me=7776e6,Ne=18e5;function Pe(){try{return typeof window>`u`||!window.localStorage?void 0:window.localStorage}catch{return}}function Fe(){return Ae()||void 0}function G(e=Date.now()){let t=Pe();if(!t)return;let n=null;try{n=JSON.parse(t.getItem(je.session)||`null`)}catch{n=null}return!n||e-n.last>Ne?n={id:we(e),last:e}:n.last=e,t.setItem(je.session,JSON.stringify(n)),n.id}function K(e,t=Date.now()){let n=Pe();n&&n.setItem(je.session,JSON.stringify({id:e,last:t}))}function Ie(e){W(e)}function Le(){let e=Pe();if(e)try{let t=e.getItem(je.firstTouch);return t?JSON.parse(t):void 0}catch{return}}function Re(e){let t=Pe();return Le()||(t&&t.setItem(je.firstTouch,JSON.stringify(e)),e)}function ze(e=Date.now()){let t=Pe();if(t)try{let n=JSON.parse(t.getItem(je.lastTouch)||`null`);return!n?.utm||typeof n.at!=`number`||e-n.at>Me?void 0:n.utm}catch{return}}function q(e,t=Date.now()){let n=Pe();n&&n.setItem(je.lastTouch,JSON.stringify({utm:e,at:t}))}function Be(){let e=Pe();if(e)try{let t=e.getItem(je.cohort);return t?JSON.parse(t):void 0}catch{return}}function Ve(e){let t=Pe(),n=Be()||{},r={signupWeek:n.signupWeek||e.signupWeek,channel:e.channel||n.channel,refCode:n.refCode||e.refCode};return t&&t.setItem(je.cohort,JSON.stringify(r)),r}var He=86400,Ue=new Set([`hanzo.app`]);function We(e){for(let t of Object.values(w))for(let n of t)if(!Ue.has(n)&&(e===n||e.endsWith(`.${n}`)))return n;return``}function Ge(){let e=We(window.location.hostname.toLowerCase());return e?`; Domain=.${e}`:``}function Ke(e){if(typeof document>`u`||typeof document.cookie!=`string`)return;let t=document.cookie.split(`; `).find(t=>t.startsWith(`${e}=`));return t?decodeURIComponent(t.slice(e.length+1)):void 0}function qe(e,t,n){if(typeof document>`u`)return;let r=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${e}=${encodeURIComponent(t)}; Max-Age=${n*He}; Path=/; SameSite=Lax${Ge()}${r}`}function Je(e){return typeof window<`u`&&window.location?.protocol===`https:`?`__Host-${e}`:e}function Ye(e,t,n){if(typeof document>`u`)return;let r=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${Je(e)}=${encodeURIComponent(t)}; Max-Age=${n*He}; Path=/; SameSite=Lax${r}`}function Xe(e,t=[]){if(typeof document>`u`||typeof document.cookie!=`string`)return;let n=document.cookie.split(`; `).map(e=>e.slice(0,e.indexOf(`=`))),r=new Set([...e,...n.filter(e=>t.some(t=>t.test(e)))]),i=window.location.hostname.split(`.`),a=new Set([``,Ge(),...i.slice(0,-1).map((e,t)=>`; Domain=.${i.slice(t).join(`.`)}`)]);for(let e of r)for(let t of a)document.cookie=`${e}=; Max-Age=0; Path=/${t}`}var Ze=()=>typeof navigator<`u`&&navigator.webdriver===!0,Qe=`hz_internal`;function $e(){if(Ze())return!0;if(typeof window>`u`||typeof document>`u`||typeof document.cookie!=`string`)return!1;let e=new URLSearchParams(window.location?.search??``).get(Qe);return e===`1`&&qe(Qe,`1`,365),e===`0`?(qe(Qe,``,0),!1):e===`1`||Ke(Qe)===`1`}function J(){typeof document>`u`||typeof document.cookie!=`string`||qe(Qe,`1`,365)}var et={anon:`hz_aid`,session:`hz_sid`,firstTouch:`hz_ft`},tt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,nt=e=>!!e&&tt.test(e);function rt(e){return JSON.stringify([e.utm.source,e.utm.medium,e.utm.campaign,e.utm.term,e.utm.content,e.refCode,e.referrer,e.channel].map(e=>e??``))}function it(e){if(!(!e||e.length>1024))try{let t=JSON.parse(e);if(!Array.isArray(t)||t.length!==8||t.some(e=>typeof e!=`string`))return;let[n,r,i,a,o,s,c,l]=t,u=e=>e||void 0;return{utm:{source:u(n),medium:u(r),campaign:u(i),term:u(a),content:u(o)},refCode:u(s),referrer:u(c),channel:u(l)}}catch{return}}function at(e,t,n,r){let i;try{i=new URL(e,r)}catch{return e}if(i.protocol!==`https:`&&i.protocol!==`http:`||!A(i.hostname)||i.hostname===n)return e;let a=(e,t)=>t&&i.searchParams.set(e,t);return nt(t.anonId)&&a(et.anon,t.anonId),nt(t.sessionId)&&a(et.session,t.sessionId),t.firstTouch&&a(et.firstTouch,rt(t.firstTouch)),i.toString()}function ot(e){let t=new URLSearchParams(e||``),n=t.get(et.anon),r=t.get(et.session);return{anonId:nt(n)?n:void 0,sessionId:nt(r)?r:void 0,firstTouch:it(t.get(et.firstTouch))}}function st(e){let t=new URL(e),n=!1;for(let e of Object.values(et))t.searchParams.has(e)&&(t.searchParams.delete(e),n=!0);return n?t.pathname+t.search+t.hash:void 0}var ct=`hz_consent`,Y=`hz_consent_v`,lt=`hz_consent_rule`,ut=`hz_consent_notice`,dt=`hzpolicy`,ft=`hzconsent`,pt={analytics:!1,marketing:!1,ads:!1},mt={analytics:!0,marketing:!0,ads:!0},ht=[`eu`,`us_privacy`,`global`],gt=`hz_consent_policy`,_t=Symbol.for(`hanzo.event.consent`);function vt(){let e=globalThis;return e[_t]??(e[_t]={})}function yt(e){if(typeof e!=`object`||!e)return;let t=e;if(typeof t.version==`number`||typeof t.mode==`string`)return{mode:ht.includes(t.mode)?t.mode:`eu`,refused:t.refused===!0,version:Number(t.version)||0,region:String(t.region??``),floor:Number(t.floor)||2}}function bt(){try{return typeof window>`u`?void 0:window.sessionStorage}catch{return}}function xt(e){let t=yt(e);vt().served=t;try{t&&bt()?.setItem(gt,JSON.stringify(t))}catch{}t&&(Mt(),typeof window<`u`&&window.dispatchEvent(new Event(dt)))}function St(){let e=vt().served;if(e)return e;try{let e=yt(JSON.parse(bt()?.getItem(gt)??`null`));if(e)return e}catch{}return{mode:`eu`,refused:!1,version:3,region:``,floor:2}}function Ct(){let e=St();return{mode:e.mode,refused:e.refused||Tt(),version:Et(),region:e.region}}function wt(){return typeof navigator>`u`?!1:navigator.globalPrivacyControl===!0}function Tt(){if(typeof window>`u`)return!1;let e=typeof navigator>`u`?{}:navigator,t=e.doNotTrack??window.doNotTrack??e.msDoNotTrack;return wt()||t===`1`||t===`yes`}var Et=()=>Math.max(vt().served?.version??0,3),Dt=()=>Ct().refused;function Ot(){let e=Ke(Je(ct));if(e===void 0)return;let t=Number(Ke(Je(Y))),n=Ke(Je(lt));if(Ct().mode===`eu`&&!(n===`eu`||n===void 0&&t===2))return;let r=e.split(`,`);return{held:{analytics:r.includes(`analytics`),marketing:r.includes(`marketing`),ads:r.includes(`ads`)},current:t>=St().floor&&t<=Et()}}var kt=e=>e.analytics||e.marketing||e.ads;function At(){let e=Ot();return e!==void 0&&(e.current||!kt(e.held))}function jt(){let e=Ct();if(e.refused)return{...pt};let t=e.mode===`eu`?pt:mt,n=Ot();return n?n.current?{...n.held}:{analytics:t.analytics&&n.held.analytics,marketing:t.marketing&&n.held.marketing,ads:t.ads&&n.held.ads}:{...t}}function Mt(){let e=Ot();Dt()&&e&&kt(e.held)&&zt({...pt})}function Nt(){if(typeof document>`u`)return!1;let e=Ct();return e.mode===`eu`&&!e.refused&&!At()}function Pt(e){vt().sheet=e,!e&&typeof window<`u`&&window.dispatchEvent(new Event(ft))}var Ft=()=>vt().sheet===!0;function It(){Ye(ut,`1`,395),typeof window<`u`&&window.dispatchEvent(new Event(ft))}var Lt=()=>Ke(Je(ut))===`1`;function Rt(e){return[`analytics`,`marketing`,`ads`].filter(t=>e[t]).join(`,`)}function zt(e){let t=Ct(),n=t.refused?{...pt}:{analytics:e.analytics,marketing:e.marketing,ads:e.ads};Ye(ct,Rt(n),395),Ye(Y,String(Et()),395),Ye(lt,t.mode,395),n.analytics||Ut(Bt),n.marketing||Ut(Vt),n.ads||Ut(Ht),typeof window<`u`&&window.dispatchEvent(new Event(ft))}var Bt={cookies:[`_ga`,`_gid`,`_gat`,`hz_cid`],patterns:[/^_ga_[A-Z0-9]+$/,/^_gat_[\w-]+$/],storage:[]},Vt={cookies:[`hz_touch`,`_fbp`,`_fbc`,`_ttp`,`_tt_enable_cookie`,`ttcsid`,`_twclid`,`li_fat_id`,`li_giant`,`_uetsid`,`_uetvid`,`_pin_unauth`,`_epik`,`_derived_epik`,`_rdt_uuid`,`_rdt_cid`],patterns:[/^ttcsid_[A-Z0-9]+$/],storage:[]},Ht={cookies:[],patterns:[/^_gcl_[a-z]+$/,/^_gac_[\w-]+$/],storage:[]};function Ut(e){if(Xe(e.cookies,e.patterns),!(typeof window>`u`))try{for(let t of e.storage)window.localStorage?.removeItem(t)}catch{}}var Wt=()=>zt({...mt}),Gt=()=>zt({...pt}),Kt=`0.3.66`,qt=`/v1/event`,Jt=`https://api.hanzo.ai`,Yt=`text/plain`;function Xt(e){try{if(typeof process<`u`)return{}[e]||void 0}catch{}}function Zt(e,t,n){return e+(e.includes(`?`)?`&`:`?`)+t+`=`+encodeURIComponent(n)}function Qt(e){let t=B(e),n=ve(t.stack).slice(-50).map(e=>({function:e.function,file:e.filename,line:e.lineno,column:e.colno}));return{type:t.name,message:t.message,stack:t.stack,frames:n}}var $t=()=>en()?{screen:`${window.screen?.width??0}x${window.screen?.height??0}`,language:navigator.language||``}:{},en=()=>typeof window<`u`&&typeof document<`u`;function tn(e){if(!en())return e;let t=new Set(Rt(jt()).split(`,`).filter(Boolean)),n=String(e.properties?.consent??``).split(`,`).filter(e=>t.has(e)).join(`,`);return{...e,properties:{...e.properties,consent:n}}}function nn(e){try{return JSON.stringify({batch:e})}catch{}let t=[];for(let n of e)try{t.push(JSON.stringify(n))}catch{try{t.push(JSON.stringify({...n,properties:{$unserializable:!0}}))}catch{}}return t.length>0?`{"batch":[`+t.join(`,`)+`]}`:null}var rn=class{send(e,t,n){if(n.beacon&&en()&&typeof navigator.sendBeacon==`function`){let r=n.ingestKey?Zt(e,`ingest_key`,n.ingestKey):e;try{if(navigator.sendBeacon(r,new Blob([t],{type:Yt})))return;n.debug&&console.warn(`[event] beacon refused, falling back to fetch`)}catch{}}if(typeof fetch!=`function`)return;let r=n.ingestKey!==void 0&&n.token===void 0&&n.contentType===void 0,i={"Content-Type":r?Yt:n.contentType??`application/json`},a=r?void 0:n.token??n.ingestKey;a&&(i.Authorization=`Bearer ${a}`),fetch(n.ingestKey?Zt(e,`ingest_key`,n.ingestKey):e,{method:`POST`,headers:i,body:t,keepalive:!0,credentials:r?`omit`:`include`}).then(t=>{!t.ok&&n.debug&&console.warn(`[event] ingest rejected`,t.status,e.split(`?`)[0])}).catch(t=>{n.debug&&console.warn(`[event] ingest failed`,e.split(`?`)[0],t)})}},an=class{constructor(e){this.queue=[],this.timer=null,this.attribution={utm:{}},this.cohort={},this.started=!1,this.reentrant=!1,this.cfg={host:Jt,batchSize:20,flushIntervalMs:5e3,enabled:!0,captureErrors:!0,...e,ingestKey:e.ingestKey??Xt(`NEXT_PUBLIC_PUBLISHABLE_KEY`)??te()},this.transport=e.transport??new rn}adopt(e){e.ingestKey&&!this.cfg.ingestKey&&(this.cfg.ingestKey=e.ingestKey),e.getToken&&!this.cfg.getToken&&(this.cfg.getToken=e.getToken)}init(){if(this.started||!this.cfg.enabled||(this.started=!0,!en()))return;let e=ot(window.location.search),t=st(window.location.href);if(t!==void 0)try{window.history.replaceState(window.history.state,``,t)}catch{}this.settle(e,b(window.location.search,document.referrer)),Mt(),window.addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&this.flush(!0)}),window.addEventListener(`pagehide`,()=>this.flush(!0)),this.cfg.captureErrors&&(window.addEventListener(`error`,e=>{this.captureError(e.error??e.message,{handled:!1})}),window.addEventListener(`unhandledrejection`,e=>{this.captureError(e.reason,{handled:!1})}))}settle(e,t){e.anonId&&Ie(e.anonId),e.sessionId&&K(e.sessionId);let n=e.firstTouch&&!Le()?Re(e.firstTouch):void 0;this.attribution=n??(C(t)?Re(t):Le()??t),(t.utm.source||t.utm.campaign)&&q(t.utm),this.lastUtm=ze(),this.cohort=Ve({channel:this.attribution.channel??x(this.attribution),refCode:this.attribution.refCode})}link(e){return en()?(this.started||this.init(),at(e,{anonId:Fe(),sessionId:G(),firstTouch:this.attribution},window.location.hostname,window.location.href)):e}authorize(e){let t=this.link(e);return this.flush(!0),t}identify(e,t){this.personId=e,this.enqueue(`identify`,void 0,{properties:t})}group(e,t){this.enqueue(`group`,void 0,{groupId:e,properties:t})}pageview(e,t){let n=e??(en()?window.location.pathname:void 0),r=(n??``)+`\0`+(en()?window.location.href:``);r!==this.counted&&(this.counted=r,this.enqueue(`pageview`,d,{path:n,properties:{...$t(),...t}}))}capture(e,t,n){this.enqueue(`event`,e,{properties:t,...n})}captureError(e,t){if(!this.reentrant){this.reentrant=!0;try{let n=t?.handled??!0,r=Qt(e);r.handled=n,this.enqueue(`error`,void 0,{error:r,level:t?.level??(n?`error`:`fatal`),release:this.cfg.release??Xt(`NEXT_PUBLIC_HANZO_RELEASE`),environment:this.cfg.environment??Xt(`NODE_ENV`),site:en()?window.location.hostname:void 0,properties:t?.properties}),this.flush()}catch{}finally{this.reentrant=!1}}}setCohort(e){this.cohort=Ve(e)}flush(e=!1){if(!this.cfg.enabled||this.queue.length===0)return;let t=this.queue.map(tn);if(this.queue=[],this.clearTimer(),t.length===0)return;let n=this.cfg.getToken?.()??void 0,r=this.cfg.ingestKey?.trim()||void 0,i=e&&!n,a=nn(t);if(a===null){this.cfg.debug&&console.debug(`[event] flush → dropped, batch unserializable`);return}this.cfg.debug&&console.debug(`[event] flush →`,qt,t.length),this.transport.send(this.cfg.host+qt,a,{beacon:i,token:n,ingestKey:r,debug:this.cfg.debug})}enqueue(e,t,n){this.cfg.enabled&&(this.started||this.init(),this.queue.push(this.build(e,t,n)),this.queue.length>=this.cfg.batchSize?this.flush():this.schedule())}build(e,t,n){let r=Fe(),i={messageId:we(),type:e,event:t,timestamp:new Date().toISOString(),distinctId:this.personId??r,anonymousId:r,personId:this.personId,sessionId:G(),product:this.cfg.product,referrer:this.attribution.referrer,utm:this.attribution.utm,lastUtm:this.lastUtm,refCode:this.cohort.refCode??this.attribution.refCode,channel:this.cohort.channel??this.attribution.channel,signupWeek:this.cohort.signupWeek,url:en()?window.location.href:void 0,path:en()?window.location.pathname:void 0,library:`@hanzo/event`,libraryVersion:Kt,...n},a=this.cfg.capturePII??!1;return i.url&&=he(de(i.url),a),i.path&&=he(de(i.path),a),i.referrer&&=he(de(i.referrer),a),$e()&&(i.properties={...i.properties,internal:!0}),en()&&(i.properties={...i.properties,consent:Rt(jt())}),i}schedule(){!this.timer&&this.cfg.enabled&&(this.timer=setTimeout(()=>{this.timer=null,this.flush()},this.cfg.flushIntervalMs))}clearTimer(){this.timer&&=(clearTimeout(this.timer),null)}},on=Symbol.for(`hanzo.event.clients.optin`);function sn(){let e=globalThis,t=e[on];if(t)return t;let n=new Map;return e[on]=n,n}function cn(e){if(!en()||e.enabled===!1)return new an(e);let t=(e.host??Jt)+`\0`+e.product,n=sn(),r=n.get(t);if(r)return r.adopt(e),r;let i=new an(e);return n.set(t,i),i}var ln=[`gclid`,`gbraid`,`wbraid`,`fbclid`,`li_fat_id`,`twclid`,`ttclid`],un=90,dn=()=>Math.floor(Date.now()/1e3),fn=()=>Math.floor(Math.random()*2**31);function pn(e){if(!(typeof window>`u`)){if(e.marketing){let e=new URLSearchParams(window.location.search),t={};for(let n of ln){let r=e.get(n)?.trim();r&&(t[n]=r)}Object.keys(t).length&&(t.clicked=dn(),qe(`hz_touch`,JSON.stringify(t),un),t.fbclid&&qe(`_fbc`,`fb.1.${Date.now()}.${t.fbclid}`,un)),Ke(`_fbp`)||qe(`_fbp`,`fb.1.${Date.now()}.${fn()}`,un)}e.analytics&&!Ke(`_ga`)&&!Ke(`hz_cid`)&&qe(`hz_cid`,`${fn()}.${dn()}`,730)}}function mn(e){let t={};if(e.marketing){try{Object.assign(t,JSON.parse(Ke(`hz_touch`)??`{}`))}catch{}let e=Ke(`_fbc`),n=Ke(`_fbp`);e&&(t.fbc=e),n&&(t.fbp=n)}if(e.analytics){let e=Ke(`_ga`)?.split(`.`),n=e&&e.length>=4?e.slice(-2).join(`.`):Ke(`hz_cid`);n&&(t.cid=n)}return t}var hn=()=>window,gn=[],_n=`person`,vn=!1,yn=``,bn={},xn=new Set,Sn=`idle`,Cn=!1,wn=[],Tn=!1;function En(){return Cn&&Sn!==`wait`}function Dn(){return En()&&!Nt()}function On(){(Dn()||Tn)&&wn.splice(0).forEach(e=>e())}function kn(e,t,n){let r=document.createElement(`script`);r.async=!0,r.src=e,t&&(r.onload=t),n&&(r.onerror=n),document.head.appendChild(r)}var An=()=>_n===`bot`||Ze(),jn=()=>_n===`internal`||$e();function Mn(){let e=hn();return e.dataLayer=e.dataLayer||[],e.gtag||=function(){e.dataLayer.push(arguments)},e.gtag}var Nn=e=>e?`granted`:`denied`,Pn=()=>Ct().mode===`eu`;function Fn(e,t){let n=Mn();if(t){let e=Nn(!Pn());n(`consent`,`default`,{analytics_storage:e,ad_storage:e,ad_user_data:e,ad_personalization:e,...Pn()?{wait_for_update:500}:{}})}let r={ad_storage:Nn(e.ads),ad_user_data:Nn(e.ads),ad_personalization:Nn(e.ads)};n(`consent`,`update`,Pn()?{analytics_storage:Nn(e.analytics),...r}:r)}function In(e){let t=Mn(),n=e.filter(e=>!xn.has(e));if(n.length){if(Sn===`idle`){Sn=`wait`,t(`js`,new Date);let e=e=>()=>{Sn===`wait`&&(Sn=e,On())};kn(`https://www.googletagmanager.com/gtag/js?id=${encodeURIComponent(n[0])}`,e(`loaded`),e(`failed`)),setTimeout(e(`failed`),8e3)}for(let e of n)xn.add(e),t(`config`,e,{...bn.domains?{linker:{domains:bn.domains}}:{},...jn()?{traffic_type:`internal`}:{}})}}function Ln(e){let t=hn();e.ads?t.fbq(`dataProcessingOptions`,[]):t.fbq(`dataProcessingOptions`,[`LDU`],0,0)}var Rn=!1,zn={revoked:!1,fetched:!1,viewed:!1};function Bn(e,t){let n=e.filter(e=>!xn.has(`meta:${e}`)),r=hn();if(n.length){if(!r.fbq){let e=r.fbq=function(...t){e.callMethod?e.callMethod(...t):e.queue.push(t)};r._fbq||=e,e.push=e,e.loaded=!0,e.version=`2.0`,e.queue=[]}xn.has(`meta`)||(xn.add(`meta`),t.marketing||(r.fbq(`consent`,`revoke`),zn.revoked=!0),t.ads||Ln(t));for(let e of n)r.fbq(`init`,e),xn.add(`meta:${e}`)}xn.has(`meta`)&&t.marketing&&Vn()}function Vn(){let e=hn();zn.revoked&&=(zn.fetched?e.fbq(`consent`,`grant`):e.fbq?.queue&&(e.fbq.queue=e.fbq.queue.filter(e=>e[0]!==`consent`||e[1]!==`revoke`)),!1),zn.fetched||(zn.fetched=!0,kn(`https://connect.facebook.net/en_US/fbevents.js`)),zn.viewed||(zn.viewed=!0,e.fbq(`track`,`PageView`))}function Hn(e){let t=hn();if(t._linkedin_data_partner_ids=t._linkedin_data_partner_ids||[],t._linkedin_data_partner_ids.push(e),!t.lintrk){let e=t.lintrk=function(...t){e.q.push(t)};e.q=[]}kn(`https://snap.licdn.com/li.lms-analytics/insight.min.js`)}function Un(e){let t=hn();if(!t.twq){let e=t.twq=function(...t){e.exe?e.exe(...t):e.queue.push(t)};e.version=`1.1`,e.queue=[],kn(`https://static.ads-twitter.com/uwt.js`)}t.twq(`config`,e)}var Wn=[`page`,`track`,`identify`,`instances`,`debug`,`on`,`off`,`once`,`ready`,`alias`,`group`,`enableCookie`,`disableCookie`];function Gn(e){let t=hn();t.TiktokAnalyticsObject=`ttq`;let n=t.ttq=t.ttq||[];if(!n._i){n.methods=Wn;for(let e of Wn)n[e]=(...t)=>n.push([e,...t]);n._i={},n._t={},n._o={},n.load=e=>{n._i[e]=[],n._t[e]=Date.now(),kn(`https://analytics.tiktok.com/i18n/pixel/events.js?sdkid=${encodeURIComponent(e)}&lib=ttq`)}}n.load(e),n.page()}var Kn={ga:`analytics`,gads:`marketing`,meta:`marketing`,linkedin:`marketing`,x:`marketing`,tiktok:`marketing`},qn=(e,t)=>!Ct().refused&&(e.type===`meta`||e.type===`ga`&&Pn()||!!(Kn[e.type]&&t[Kn[e.type]])),Jn=(e,t)=>e.type===`meta`?t.marketing:qn(e,t);function Yn(){if(typeof window>`u`||!vn)return;let e=jt(),t=yn;if(yn=Rt(e),Zn(e,t))return;pn(e);let n=An()?[]:gn.filter(t=>qn(t,e)&&(t.type===`ga`||!jn())),r=n.filter(e=>e.type===`ga`||e.type===`gads`).map(e=>e.id);r.length&&(xn.has(`consent`)||Fn(e,!0),xn.add(`consent`),In(r)),Bn(n.filter(e=>e.type===`meta`).map(e=>e.id),e);for(let e of n){let t=`${e.type}:${e.id}`;if(!(xn.has(t)||e.type===`meta`)){if(e.type===`linkedin`)Hn(e.id);else if(e.type===`x`)Un(e.id);else if(e.type===`tiktok`)Gn(e.id);else continue;xn.add(t)}}On()}var Xn=e=>xn.has(e.type===`ga`||e.type===`gads`?e.id:`${e.type}:${e.id}`);function Zn(e,t){let n=hn(),r=t.split(`,`);Rt(e)!==t&&xn.has(`consent`)&&Fn(e,!1),xn.has(`meta`)&&(e.ads!==r.includes(`ads`)&&Ln(e),!e.marketing&&!zn.revoked&&(n.fbq(`consent`,`revoke`),zn.revoked=!0));let i=gn.filter(t=>t.type!==`meta`&&Xn(t)&&!qn(t,e));if(!i.length)return!1;for(let e of i)(e.type===`ga`||e.type===`gads`)&&(window[`ga-disable-${e.id}`]=!0);return!Ft()&&!Rn&&(Rn=!0,setTimeout(()=>window.location.reload(),0)),!0}function Qn(e={}){if(typeof window>`u`)return()=>void 0;bn=e,addEventListener(ft,Yn);let t=()=>{document.visibilityState!==`hidden`&&Rt(jt())!==yn&&Yn()};if(addEventListener(`pageshow`,t),addEventListener(`visibilitychange`,t),addEventListener(`pagehide`,er),!vn){vn=!0;let t=(e.base??`https://api.hanzo.ai`).replace(/\/$/,``),n=new URLSearchParams,r=e.host??window.location.hostname,i=e.key??D(r);i&&n.set(`key`,i),n.set(`host`,r);let a=e=>{gn=e,Cn=!0,Yn()},o=`${t}/v1/project/tags?${n}`,s=$n(e),c=e=>fetch(o,e?{headers:{Authorization:`Bearer ${e}`}}:void 0),l=setTimeout(()=>a([]),3e3);c(s).catch(e=>s?c():Promise.reject(e)).then(e=>e.ok?e.json():{tags:[]}).then(e=>{clearTimeout(l),xt(e.consent),(e.audience===`bot`||e.audience===`internal`)&&(_n=e.audience),_n===`internal`&&jt().analytics&&J(),a(Array.isArray(e.tags)?e.tags:[])}).catch(()=>{clearTimeout(l),a([])})}return()=>{removeEventListener(ft,Yn),removeEventListener(`pagehide`,er)}}function $n(e){try{return e.token?.()||void 0}catch{return}}function er(){Tn=!0,On()}function tr(){let e=jt(),t=[];for(let n of gn)Jn(n,e)&&(n.type===`ga`||n.type===`gads`?Sn===`loaded`:xn.has(`${n.type}:${n.id}`))&&!t.includes(n.type)&&t.push(n.type);return t.join(`,`)}var nr=new Set([`AddPaymentInfo`,`AddToCart`,`AddToWishlist`,`CompleteRegistration`,`Contact`,`CustomizeProduct`,`Donate`,`FindLocation`,`InitiateCheckout`,`Lead`,`Purchase`,`Schedule`,`Search`,`StartTrial`,`SubmitApplication`,`Subscribe`,`ViewContent`]);function rr(e,t){let n=Array.isArray(t.items)?t.items:[],r={};return typeof t.value==`number`&&(r.value=t.value),r.currency=typeof t.currency==`string`?t.currency:`USD`,typeof t.search_string==`string`&&t.search_string&&e!==`x`&&(r[e===`tiktok`?`query`:`search_string`]=t.search_string),n.length&&(e===`meta`?(r.content_type=`product`,r.content_ids=n.map(e=>e.item_id),r.contents=n.map(e=>({id:e.item_id,quantity:e.quantity??1,item_price:e.price})),r.content_name=n[0].item_name,r.num_items=n.reduce((e,t)=>e+(t.quantity??1),0)):e===`tiktok`?(r.content_type=`product`,r.contents=n.map(e=>({content_id:e.item_id,content_name:e.item_name,quantity:e.quantity??1,price:e.price}))):r.contents=n.map(e=>({content_id:e.item_id,content_name:e.item_name,content_price:e.price,num_items:e.quantity??1}))),r}function ir(e){let t={...e,value:0};return Array.isArray(e.items)&&(t.items=e.items.map(e=>({...e,price:0}))),t}function ar(e,t,n,r=tr()){let i=hn(),a=jt(),o=new Set(r.split(`,`).filter(Boolean)),s=m(e,`ga4`),c=t.test===!0;c&&(t=ir(t));let l=typeof t.order_id==`string`?{transaction_id:t.order_id}:{},u=!1;for(let r of gn){if(!o.has(r.type)||!Jn(r,a)||r.type===`meta`&&u)continue;r.type===`meta`&&(u=!0);let d=r.events?.[e];if(r.type===`ga`)for(let e of s)i.gtag?.(`event`,e,{...t,...l,event_id:n,send_to:r.id,transport_type:`beacon`,...c?{debug_mode:!0}:{}});else if(r.type===`gads`&&d)i.gtag?.(`event`,`conversion`,{send_to:d,value:typeof t.value==`number`?t.value:void 0,currency:typeof t.currency==`string`?t.currency:`USD`,...l});else if(r.type===`meta`)for(let r of m(e,`meta`))i.fbq?.(nr.has(r)?`track`:`trackCustom`,r,rr(`meta`,t),{eventID:n});else if(r.type===`tiktok`)for(let r of m(e,`tiktok`))i.ttq?.track?.(r,rr(`tiktok`,t),{event_id:n});else r.type===`linkedin`&&d&&m(e,`linkedin`).length?i.lintrk?.(`track`,{conversion_id:Number(d)}):r.type===`x`&&d&&m(e,`x`).length&&i.twq?.(`event`,d,{...rr(`x`,t),conversion_id:n})}}function or(e,t,n={},r){if(typeof window>`u`)return;if(!Tn&&!Dn()){wn.push(()=>or(e,t,n,r));return}let i=jt(),a=typeof n.event_id==`string`&&n.event_id?n.event_id:we(),o=tr();ar(t,n,a,o),r!==`tags`&&e?.capture(t,{...n,...mn(i),event_id:a,consent:Rt(i),tags:o,userAgent:navigator.userAgent,url:window.location.href})}u.SIGNUP_COMPLETED,_(`signup`),u.ORDER_COMPLETED,_(`upgrade`),u.PLAN_CLICKED,_(`upgrade`),u.FIRST_ACTION,_(`apiActivation`);var sr=`modulepreload`,cr=function(e){return`/`+e},lr={},ur=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=cr(t,n),t=s(t),t in lr)return;lr[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:sr,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},dr=i((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),fr=i(((e,t)=>{t.exports=dr()})),pr={hoverStyle:{name:`hover`,priority:2},pressStyle:{name:`active`,stateKey:`press`,priority:3},focusVisibleStyle:{name:`focus-visible`,priority:4,stateKey:`focusVisible`},focusStyle:{name:`focus`,priority:4},focusWithinStyle:{name:`focus-within`,priority:4,stateKey:`focusWithin`},disabledStyle:{name:`disabled`,priority:5,stateKey:`disabled`}},mr={hover:pr.hoverStyle.priority,press:pr.pressStyle.priority,focus:pr.focusStyle.priority,focusVisible:pr.focusVisibleStyle.priority,focusWithin:pr.focusWithinStyle.priority,disabled:pr.disabledStyle.priority},hr={...pr,enterStyle:{name:`enter`,selector:`.t_unmounted`,priority:4},exitStyle:{name:`exit`,priority:5}},gr=Object.keys(hr).length,X=fr(),_r=(e,t)=>{let n={};for(let r in e)r in t||(n[r]=e[r]);for(let r in t)yr(n,e,t,r);return n},vr=(e,t,n)=>{let r=null;if(!e&&!t)return[n,r];if(e&&!t)return[_r(e,n),r];let i={};for(let t in e)t in n||(i[t]=e[t]);for(let e in t){if(e in n)continue;let r=t[e];r!==void 0&&(i[e]=r)}for(let a in n)yr(i,e,n,a),t&&a in t&&(r||={},r[a]=n[a]);return[i,r]};function yr(e,t,n,r){let i=n[r];if(t&&r in t&&(r in hr||r[0]===`$`)&&i&&typeof i==`object`){let e=t[r];e&&typeof e==`object`&&(i=_r(e,i))}e[r]=i}function br(e){let t=``;for(let n in e){t+=n;let r=e[n],i=typeof r;if(!r||i!==`object`&&i!==`function`)t+=i+r;else if(xr.has(r))t+=xr.get(r);else{let e=Math.random();xr.set(r,e),t+=e}}return t}var xr=new WeakMap,Sr=(e,t=``)=>{"use no memo";let n=l.default.createContext,r=l.default.useMemo,i=l.default.useContext,a=n(e),o=a.Provider,s=a,c=new Map,u=n(t);function d(t){let r=c.get(t);return r||(r=n(e),c.set(t,r)),r}let f=e=>t?`${t}--${e}`:e;return s.Provider=({children:t,scope:n,__disableMergeDefaultValues:i,...a})=>{let s=f(n),c=r(()=>i?a:_r(e,a),[br(a)]),l=o;return s&&(l=d(s).Provider),(0,X.jsx)(u.Provider,{value:s,children:(0,X.jsx)(l,{value:c,children:t})})},s.props=e,s.context=a,s.useStyledContext=(e=``)=>{let n=i(u),r=t?e?f(e):n:e,o=r?d(r):a;return i(o)},s},Cr=Sr({disableSSR:void 0,inText:!1,language:null,animationDriver:null,setParentFocusState:null,insets:null}),wr=()=>(0,l.useContext)(Cr),Tr=(0,l.createContext)(null);function Er(e,t){return(0,l.useCallback)(t=>{e(e=>Dr(e,typeof t==`function`?t(e):t))},[e,t])}function Dr(e,t){return!e||!t||Or(e,t)?e||t:{...e,...t}}function Or(e,t){for(let n in t)if(e[n]!==t[n])return!1;return!0}var kr=typeof navigator<`u`&&typeof location<`u`,Ar=!kr,jr=kr,Mr=Ar?l.useEffect:l.useLayoutEffect;typeof navigator<`u`&&/Chrome/.test(navigator.userAgent||``);var Nr=jr&&(`ontouchstart`in window||navigator.maxTouchPoints>0),Pr={}.TEST_NATIVE_PLATFORM===`android`||{}.TEST_NATIVE_PLATFORM===`androidtv`,Fr={}.TEST_NATIVE_PLATFORM===`ios`||{}.TEST_NATIVE_PLATFORM===`tvos`;Fr||{}.GUI_DYNAMIC_COLOR_IOS;var Ir={}.TEST_NATIVE_PLATFORM===`androidtv`||{}.TEST_NATIVE_PLATFORM===`tvos`,Lr=null;function Rr(){return Lr}var zr=`Missing theme.`,Br,Vr=()=>Br||(globalThis.__hanzoguiConfig?globalThis.__hanzoguiConfig:null),Hr=e=>{let t=Vr();return t.settings[e]??t[e]};function Ur(){let e=Vr();return(e?.settings.styleCompat??e?.styleCompat)||`web`}var Wr=e=>{Br=e,globalThis.__hanzoguiConfig=e},Gr=()=>{let e=Vr();if(!e)throw Error(`Err0`);return e},Kr=()=>Vr(),qr;function Jr(e){qr=e}var Yr=({prefixed:e}={})=>{let{tokens:t,tokensParsed:n}=Vr();return e===!1?t:e===!0?n:qr},Xr=(e,t)=>Vr().specificTokens[e]??(t?qr[t]?.[e]:qr[Object.keys(qr).find(t=>qr[t][e])||``]?.[e]),Zr=(e,t,n=!0)=>{let r=Xr(e,t);return n?r?.variable:r?.val},Qr=(e,t)=>{if(e!==`unset`&&e!==`auto`)return Zr(e,t,!1)};function $r(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).toLowerCase()}var ei=new WeakMap;function ti(e){if(typeof e==`string`)return e;if(ei.has(e))return ei.get(e);let t=Object.entries(e).map(([e,t])=>(e=$r(e),typeof t==`string`||typeof t==`number`&&/[height|width]$/.test(e)&&(t=`${t}px`),`(${e}: ${t})`)).join(` and `);return ei.set(e,t),t}var ni={},ri=e=>{ni=e},ii={},ai=()=>ni,oi=new Set;function si(e){return e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function ci(e){return e?si(e)in mr:!1}function li(e){let t=ai(),[n,r,i,a,o]=e.split(`-`),s=i&&a?`${i}-${a}`:``,c=s&&s in t&&s||i&&i in t&&i||void 0,l=c?c===s?o:a?`${a}${o?`-${o}`:``}`:void 0:i?`${i}${a?`-${a}`:``}${o?`-${o}`:``}`:void 0;return l&&!ci(l)&&(l=void 0),{name:r,pseudo:l,media:c}}var ui=null,di=null;function fi(){ui=null,di=null}var pi={press:`active`,focusVisible:`focus-visible`,focusWithin:`focus-within`},mi=Array(12).fill(0).map((e,t)=>Array(t).fill(`:root`).join(``));function hi(e,t,n,r,i=!1,a=``){let o=t.lastIndexOf(`:root`)+5,s=t.lastIndexOf(`{`),c=t.slice(o,s),l=Hr(`addThemeClassName`)!==!1&&i?``:` `,u=r.pseudo?pi[r.pseudo]||r.pseudo:void 0,d=u?`:${u}`:``;return[c,`${`:root${a}${l}`}${`.t_${n?`group_`:``}${e}${d}`} ${c.replaceAll(`:root`,``)}`]}var gi=(e,t,n,r,i,a)=>{let[o,,s,c,l]=e,u=r===`theme`,d=r===`platform`,f=r===`group`,p=u||d||f,m=i?`0`:``,h=s.slice(0,s.indexOf(`-`)+1),g=`${h}_${t.replace(`-`,``)}${m}_`,_=``,v,y,b=s.replace(h,g),x=l.map(e=>e.replaceAll(s,b)).join(`;`),S=!1;if(p){let e=(a||0)+(f||d?1:0);if(u||f){let n=li(u?`theme-`+t:t),{name:r,media:i,pseudo:a}=n;v=i,f&&(y=r),(a===`press`||c===`active`)&&(e+=2),a===`hover`&&(S=!0);let[o,s]=hi(r,x,f,n,u,mi[e]);_=x.replace(o,s)}else{let t=mi[e];_=t&&x[0]===`@`?x.replace(`{`,`{${t}`):`${t}${x}`}}if(!p||v){if(!di){let e=Object.keys(n);di=Object.fromEntries(e.map(e=>[e,ti(n[e])])),ui=Object.fromEntries(e.map((e,t)=>[e,Array(t+1).fill(`:root`).join(``)]))}let e=v||t,r=di[e],a=`${i?`not all and `:``}${r}`,o=v?``:ui[e],s=v?`@container ${y}`:`@media`;v&&(x=_),_=x.includes(s)?x.replace(`{`,` and ${a} {`).replace(`and screen and`,`and`):`${s} ${a}{${o}${x}}`,v&&(_=`@supports (contain: ${Hr(`webContainerType`)||`inline-size`}) {${_}}`)}return S&&(_=`@media (hover:hover){${_}}`),[o,void 0,b,void 0,[_]]},_i=typeof window<`u`&&window.matchMedia||vi;function vi(e){return{match:(e,t)=>!1,addListener(){},removeListener(){},matches:!1}}var yi=/\$(platform|theme|group)-/,bi=e=>e[0]===`$`&&!!(oi.has(e)||yi.test(e)),xi=e=>{if(e[0]!==`$`)return!1;if(oi.has(e))return!0;let t=e.match(yi);return t?t[1]:!1},Si,Ci,wi=e=>Ci.indexOf(e)+100,Ti=new Set,Ei=0,Di=e=>{let{media:t}=e,n=Hr(`mediaQueryDefaultActive`);if(t){Ei++,fi(),Ri();for(let e in t)ai()[e]=n?.[e]||!1,oi.add(`$${e}`);Object.assign(ii,t),Si={...ai()},Ci=Object.keys(t),Ai()}};function Oi(){Ti.forEach(e=>e()),Ti.clear()}var ki=-1;function Ai(){if(!Ar&&!{}.IS_STATIC&&ki!==Ei){ki=Ei,Oi();for(let e in ii){let t=ti(ii[e]),n=()=>_i(t),r=n();if(!r)throw Error(`⚠️ No match`);r.addListener(i),Ti.add(()=>{r.removeListener(i)});function i(){let t=!!n().matches;t!==ai()[e]&&(ri({...ai(),[e]:t}),Mi())}i()}}}var ji=new Set;function Mi(){ji.forEach(e=>e(ai()))}var Ni=new WeakMap,Pi=null,Fi=Symbol(`mediaRefSlot`);function Ii(){let e={};for(let t of oi){let n=t[0]===`$`?t.slice(1):t;e[n]={enumerable:!0,configurable:!0,get(){let e=this[Fi];return Ui||e.keys.add(n),e.proxyTarget[n]}}}return Object.create(null,e)}function Li(){return Pi||=Ii(),Pi}function Ri(){Pi=null}function zi(e,t,n){let r=Ni.get(e);(!r||r.enabled!==t||n)&&Ni.set(e,{...r,enabled:t,keys:n})}function Bi(e){return ji.add(e),()=>{ji.delete(e)}}function Vi(e,t){"use no memo";let n=(0,l.useRef)(null);if(n.current)n.current.componentContext=e,n.current.debug=t;else{let r=ai(),i={keys:new Set,lastState:r,renderVersion:0,proxyTarget:r,proxy:void 0,getSnapshot:void 0,componentContext:e,debug:t},a=Object.create(Li());a[Fi]={proxyTarget:r,keys:i.keys},i.proxy=a,i.getSnapshot=()=>{let e=i.componentContext&&Ni.get(i.componentContext)?.keys||i.keys,{lastState:t,pendingState:n}=i;if(!e.size)return t;let r=ai();for(let a of e)if(r[a]!==(n||t)[a])return i.componentContext?.mediaEmit?(i.componentContext.mediaEmit(r),i.pendingState=r,t):(i.lastState=r,r);return t},n.current=i}let r=n.current;r.renderVersion++,r.pendingState&&=(r.lastState=r.pendingState,void 0),r.keys.size&&r.keys.clear();let[,i]=(0,l.useReducer)(Hi,0),a=Ar?Si:r.getSnapshot();return r.proxyTarget=a,r.proxy[Fi].proxyTarget=a,(0,l.useEffect)(()=>{let e=r.renderVersion;return!r.componentContext||Ni.get(r.componentContext)?.enabled?r.unsubscribe||=Bi(()=>{let e=r.getSnapshot();e!==r.proxyTarget&&(r.proxyTarget=e,r.proxy[Fi].proxyTarget=e,i())}):r.unsubscribe&&=(r.unsubscribe(),void 0),()=>{r.renderVersion===e&&(r.unsubscribe?.(),r.unsubscribe=void 0)}}),r.proxy}var Hi=e=>e+1,Ui=!1;function Wi(e,t){Ui=!0;let n;try{n=Object.fromEntries([...e].map(e=>[e,Ki(e,t)]))}finally{Ui=!1}return n}var Gi=(e,t,n,r)=>{let i=r?wi(e):gr,a=n.usedKeys;return!a[t]||i>a[t]?i:null};function Ki(e,t){let n=ii[e];return Object.keys(n).every(e=>{let r=+n[e],i=e.startsWith(`max`),a=t[e.endsWith(`Width`)?`width`:`height`];return i?a<r:a>r})}var qi=new Map,Ji=0,Yi=(e,t=10)=>{if(qi.has(e))return qi.get(e);let n=e;n[0]===`v`&&n.startsWith(`var(`)&&(n=n.slice(6,n.length-1));let r=0,i=``,a=0,o=n.length;for(let e=0;e<o;e++){if(t!==`strict`&&a<=t){let t=n.charCodeAt(e);if(t===46){i+=`--`;continue}if(Zi(t)){a++,i+=n[e];continue}}r=Xi(r,n[e])}let s=i+(r?Math.abs(r):``);return Ji>1e4&&(qi.clear(),Ji=0),qi.set(e,s),Ji++,s},Xi=(e,t)=>Math.imul(31,e)+t.charCodeAt(0)|0;function Zi(e){return e>=65&&e<=90||e>=97&&e<=122||e===95||e===45||e>=48&&e<=57}function Qi(e,t,{checkDefaultPrevented:n=!0}={}){return!e||!t?t||e||void 0:r=>{if(e?.(r),!r||!(n&&typeof r==`object`&&`defaultPrevented`in r)||`defaultPrevented`in r&&!r.defaultPrevented)return t?.(r)}}var $i={gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0},ea={grid:!0,gridArea:!0,gridAutoFlow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,gridTemplate:!0,gridTemplateAreas:!0,justifyItems:!0,justifySelf:!0,placeContent:!0,placeItems:!0,placeSelf:!0},ta={...$i,...ea},na={backgroundAttachment:!0,backgroundBlendMode:!0,backgroundClip:!0,backgroundOrigin:!0,backgroundRepeat:!0,borderBottomStyle:!0,borderLeftStyle:!0,borderRightStyle:!0,borderTopStyle:!0,contain:!0,containerType:!0,content:!0,float:!0,maskBorderMode:!0,maskBorderRepeat:!0,maskClip:!0,maskComposite:!0,maskMode:!0,maskOrigin:!0,maskRepeat:!0,maskType:!0,objectFit:!0,overflowBlock:!0,overflowInline:!0,overflowX:!0,overflowY:!0,pointerEvents:!0,scrollbarWidth:!0,textWrap:!0,touchAction:!0,transformStyle:!0,willChange:!0},ra={whiteSpace:!0,wordWrap:!0,textOverflow:!0,WebkitBoxOrient:!0},ia={...na,transition:!0,backdropFilter:!0,WebkitBackdropFilter:!0,background:!0,borderTop:!0,borderRight:!0,borderBottom:!0,borderLeft:!0,backgroundPosition:!0,backgroundSize:!0,borderImage:!0,caretColor:!0,clipPath:!0,mask:!0,maskBorder:!0,maskBorderOutset:!0,maskBorderSlice:!0,maskBorderSource:!0,maskBorderWidth:!0,maskImage:!0,maskPosition:!0,maskSize:!0,objectPosition:!0,textEmphasis:!0,userSelect:!0},aa={...ra,textDecorationDistance:!0,WebkitLineClamp:!0},oa={borderWidth:!0,borderStyle:!0,borderColor:!0,borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0,borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0,borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0,borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0,outlineWidth:!0,outlineStyle:!0,outlineColor:!0,outlineOffset:!0},sa={color:!0,textDecorationColor:!0,textShadowColor:!0},ca={radius:{borderRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderStartStartRadius:!0,borderStartEndRadius:!0,borderEndStartRadius:!0,borderEndEndRadius:!0},size:{width:!0,height:!0,minWidth:!0,minHeight:!0,maxWidth:!0,maxHeight:!0,blockSize:!0,minBlockSize:!0,maxBlockSize:!0,inlineSize:!0,minInlineSize:!0,maxInlineSize:!0},zIndex:{zIndex:!0},color:{backgroundColor:!0,borderColor:!0,borderBlockStartColor:!0,borderBlockEndColor:!0,borderBlockColor:!0,borderBottomColor:!0,borderInlineColor:!0,borderInlineStartColor:!0,borderInlineEndColor:!0,borderTopColor:!0,borderLeftColor:!0,borderRightColor:!0,borderEndColor:!0,borderStartColor:!0,shadowColor:!0,...sa,outlineColor:!0,caretColor:!0}},la={...ta,alignContent:!0,alignItems:!0,alignSelf:!0,backfaceVisibility:!0,borderCurve:!0,borderStyle:!0,borderBlockStyle:!0,borderBlockEndStyle:!0,borderBlockStartStyle:!0,borderInlineStyle:!0,borderInlineEndStyle:!0,borderInlineStartStyle:!0,boxSizing:!0,cursor:!0,direction:!0,display:!0,flexDirection:!0,flexWrap:!0,isolation:!0,justifyContent:!0,mixBlendMode:!0,outlineStyle:!0,overflow:!0,position:!0},ua={fontFamily:!0,fontStyle:!0,fontVariant:!0,textTransform:!0},da={textAlign:!0,textDecorationLine:!0,textDecorationStyle:!0,userSelect:!0},fa={WebkitLineClamp:!0,lineClamp:!0},pa={...la,...ua,...da,...fa,...na,...ra},ma={...fa,...ea,animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},ha={x:!0,y:!0,scale:!0,perspective:!0,scaleX:!0,scaleY:!0,skewX:!0,skewY:!0,matrix:!0,rotate:!0,rotateY:!0,rotateX:!0,rotateZ:!0},ga={...la,borderBottomEndRadius:!0,borderBottomStartRadius:!0,borderBottomWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderBlockWidth:!0,borderBlockEndWidth:!0,borderBlockStartWidth:!0,borderInlineWidth:!0,borderInlineEndWidth:!0,borderInlineStartWidth:!0,borderTopEndRadius:!0,borderTopStartRadius:!0,borderTopWidth:!0,borderWidth:!0,transform:!0,transformOrigin:!0,borderEndWidth:!0,borderStartWidth:!0,bottom:!0,end:!0,flexBasis:!0,gap:!0,columnGap:!0,rowGap:!0,left:!0,margin:!0,marginBlock:!0,marginBlockEnd:!0,marginBlockStart:!0,marginInline:!0,marginInlineStart:!0,marginInlineEnd:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,padding:!0,paddingBottom:!0,paddingInline:!0,paddingBlock:!0,paddingBlockStart:!0,paddingInlineEnd:!0,paddingInlineStart:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,right:!0,start:!0,top:!0,inset:!0,insetBlock:!0,insetBlockEnd:!0,insetBlockStart:!0,insetInline:!0,insetInlineEnd:!0,insetInlineStart:!0,shadowOffset:!0,shadowRadius:!0,...ca.color,...ca.radius,...ca.size,...ha,...ma,...Pr?{elevationAndroid:!0}:{},boxShadow:!0,border:!0,filter:!0,backgroundImage:!0,experimental_backgroundImage:!0,outline:!0,outlineColor:!0,outlineOffset:!0,outlineWidth:!0,...ia},_a={...ua,fontSize:!0,fontWeight:!0,letterSpacing:!0,lineHeight:!0,...da,...sa,textShadow:!0,textShadowOffset:!0,textShadowRadius:!0,verticalAlign:!0,...aa},va={...ga,..._a},ya=va,ba={enterStyle:!0,exitStyle:!0,hoverStyle:!0,pressStyle:!0,focusStyle:!0,disabledStyle:!0,focusWithinStyle:!0,focusVisibleStyle:!0},xa=ga,Sa=Symbol(),Ca=(e,t)=>(Object.assign(e,t),e[Sa]=!0,e);function wa(e){return`var(--${{}.GUI_CSS_VARIABLE_PREFIX||``}${e})`}var Ta=(e,t=!1)=>{if(!t&&Da(e))return e;let{key:n,name:r,val:i}=e;return{isVar:!0,key:n,name:t?r:Yi(r,40),val:i,variable:t?wa(r):Pa(r)}};function Ea(e,t=!1){return Da(e)?!t&&e.variable?e.variable:`${e.val}`:`${e||``}`}function Da(e){return e&&typeof e==`object`&&`isVar`in e}function Oa(e,t=`size`){if(e?.dynamic)return e;if(Aa(!0),Da(e))return Ea(e);let n=Gr().tokensParsed;return Ea(n[t]?.[e]??e)}var ka=!1,Aa=e=>ka=e,ja=()=>ka;function Ma(e,t){if(Da(e))return Aa(!0),e.val;if(t){let n=Gr().tokensParsed[t]?.[e];if(n)return Aa(!0),n.val}return e}function Na(e){return Da(e)?e.variable:e}var Pa=(e,t=!0)=>{let n=Yi(e,60);return t?wa(n):n},Fa=new Map,Ia,La,Ra,za={};function Ba(e,t,n,r){if(!t?.theme)return za;if(Ia=n,La=r,Ra=t,Fa.has(Ra.theme))return Fa.get(Ra.theme);Gr();function i(e,t=!1){Ia&&(Ia.current||(Ia.current=new Set),Ia.current.add(e),t&&La&&(La.current||(La.current=new Set),La.current.add(e)))}let a=Object.fromEntries(Object.entries(t.theme).flatMap(([e,t])=>{let n={...t,get val(){return globalThis.hanzoguiAvoidTracking||i(e,!1),t.val},get(e){if(!Ra)return;let n=Oa(t),{name:r,scheme:i}=Ra;return n}};return[[e,n],[`$${e}`,n]]}));return Fa.set(t.theme,a),a}var Va=(0,l.createContext)(``),Ha=new Map,Ua={},Wa=new WeakMap,Ga=new WeakMap,Ka=new Map,qa=new Map,Ja=new Map,Ya=e=>qa.get(e),Xa=0,Za=new Map,Qa=-1,$a=null,eo=null,to=e=>e+1,no=(e,t=!1,n,r,i=!1)=>{"use no memo";let{disable:a}=e,o=(0,l.useContext)(Va);if(!o&&!t)throw Error(zr);if(a)return qa.get(o)||{id:``,name:`light`,theme:Gr().themes.light};let s=(0,l.useId)(),c=po(e),u=(0,l.useRef)(null);u.current?(u.current.props=e,u.current.propsKey=c,u.current.isRoot=t,u.current.keys=n,u.current.schemeKeys=r,u.current.parentId=o):u.current={id:s,parentId:o,props:e,propsKey:c,isRoot:t,keys:n,schemeKeys:r,renderVersion:0},u.current.renderVersion++;let[,d]=(0,l.useReducer)(to,0),f=oo(u.current);return u.current.lastSnap=f,(0,l.useEffect)(()=>{let e=u.current,t=e.renderVersion;if(e.lastSnap&&!qa.has(e.id)&&(qa.set(e.id,e.lastSnap),Ja.set(e.id,e.lastSnap)),e.unsubscribe&&e.subscribedParentId!==e.parentId&&io(e),ro(e,i)){if(!e.unsubscribe){let t=e.parentId,n=e.id,r=()=>{let t=oo(e);t!==e.lastSnap&&(e.lastSnap=t,d())};Ua[t]=Ua[t]||new Set,Ua[t].add(n),Ha.set(n,()=>{Ka.set(n,!0),r()}),e.subscribedParentId=t,e.unsubscribe=()=>{Ha.delete(n),Ua[t]?.delete(n),Ja.delete(n),qa.delete(n),Ka.delete(n),e.unsubscribe=void 0,e.subscribedParentId=void 0}}}else e.unsubscribe&&io(e);return()=>{e.renderVersion===t&&ao(e)}}),i&&Mr(()=>{if(!Wa.get(n)){Wa.set(n,!0);return}if(!c){Ga.get(n)&&co(s),Ga.set(n,!1);return}co(s),Ga.set(n,!0)},[n,c]),f},ro=(e,t)=>e.isRoot||t||mo(e.props)||!!e.keys.current?.size||!!e.props.needsUpdate?.();function io(e){e.unsubscribe?.()}function ao(e){e.unsubscribe?io(e):(Ja.delete(e.id),qa.delete(e.id),Ka.delete(e.id))}var oo=e=>{let{id:t,parentId:n,props:r,propsKey:i,isRoot:a,keys:o,schemeKeys:s}=e,c=Ja.get(t),l=qa.get(n);if(c&&!Ka.has(t)&&l&&c._parentName===l.name&&c._propsKey===i)return c;o?.current?.size,s?.current?.size;let u=r.passThrough?!1:a||r.name===`light`||r.name===`dark`||r.name===null?!0:Wa.get(o)?o?.current?.size?!0:r.needsUpdate?.():!0,[d,f]=so(c,r,i,a,t,n,u,Ka.get(t));return Ka.delete(t),(!c||d)&&(c={...f},Ja.set(t,c)),f!==c&&(Object.assign(c,f),c.id=t),c._parentName=l?.name,c._propsKey=i,qa.set(t,f),c},so=(e,t,n,r=!1,i,a,o,s)=>{let{debug:c}=t,l=qa.get(a);if(t.passThrough)return[!1,e||l||{name:``}];$a||=Gr().themes;let u=!n&&(!e||!e?.isNew)?null:fo(l?.name,t,s===`force`||!!o),d=l&&(!u||u===l.name),f=!!(s===`force`||o&&(s||e?.name!==l?.name));if(d)return!f&&e&&e.name===l.name?[!1,e]:[f,{...l,isNew:!1}];if(!u){let t=e??l??eo??{id:i,name:`light`,theme:Gr().themes.light};return f?[!0,{...l||e||t}]:[!1,t]}let p=uo(u),m=l?.inverses??0,h=l&&p!==l.scheme,g=m+ +!!h,_={id:i,name:u,theme:$a[u],scheme:p,parentId:a,parentName:l?.name,inverses:g,isInverse:h,isNew:!0};return r&&(eo=_),s!==`force`&&e&&e.name===u||s!==`force`&&e&&!o&&_.name===e.name?[!1,_]:[!0,_]};function co(e){let t=[e],n=new Set;for(;t.length;){let e=Ua[t.shift()];if(e)for(let r of e)n.has(r)||(n.add(r),t.push(r))}n.forEach(e=>{Ha.get(e)?.()})}var lo={light:`light`,dark:`dark`};function uo(e){return lo[e.split(`_`)[0]]}function fo(e=``,t,n=!1){let{name:r,reset:i}=t,a=t.unstyled?void 0:t.componentName;if(r&&i)throw Error(`❌004`);let o=`${e}|${r||``}|${a||``}|${+!!i}|${+!!n}`;if(Qa!==Xa)Za.clear(),Qa=Xa;else{let e=Za.get(o);if(e!==void 0)return e}let{themes:s}=Gr();if(i){if(e===`light`||e===`dark`){let t=e===`light`?`dark`:`light`;return Za.set(o,t),t}let t=e.lastIndexOf(`_`),n=t<=0?e:e.slice(t),r=e.slice(0,t),i=s[n]?n:r;return Za.set(o,i),i}let c=e.split(`_`),l=c[c.length-1];l&&l[0].toLowerCase()!==l[0]&&c.pop();let u=[r&&a?`${r}_${a}`:void 0,r,a].filter(Boolean),d=null;if(r){let t=uo(r);if(t){for(let e of u)if(e in s){d=e;break}}if(!d&&!t&&uo(e)){let e=[];for(let t=c.length;t>=1;t--)e.push(c.slice(0,t).join(`_`));outer:for(let t of e){let e=[a?`${t}_${r}_${a}`:void 0,`${t}_${r}`].filter(Boolean);for(let t of e)if(t in s){d=t;break outer}}}}if(!d){if(!r&&a){let e=`${c.join(`_`)}_${a}`;e in s&&(d=e)}else{let e=c.length;for(let t=0;t<=e;t++){let e=(t===0?c:c.slice(0,-t)).join(`_`);for(let t of u){let n=e?`${e}_${t}`:t;if(n in s){d=n;break}}if(d)break}}}return!n&&d===e&&!lo[d]?(Za.set(o,null),null):(Za.set(o,d),d)}var po=({name:e,reset:t,forceClassName:n,componentName:r})=>`${e||``}${t||``}${n||``}${r||``}`,mo=e=>`name`in e||`reset`in e||`forceClassName`in e,ho={},go=()=>{"use no memo";let[e]=_o(ho);return e},_o=(e,t=!1,n=!1)=>{"use no memo";let r=(0,l.useRef)(null);r.current||={keys:{current:null},schemeKeys:{current:null}};let{keys:i,schemeKeys:a}=r.current,o=no(e,t,i,a,n);return[e.passThrough?{}:Ba(e,o,i,a),o]};function vo(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function yo(...e){return t=>e.forEach(e=>vo(e,t))}function bo(...e){return l.useCallback(yo(...e),e)}var xo={hover:!1,press:!1,pressIn:!1,focus:!1,focusVisible:!1,focusWithin:!1,unmounted:!0,disabled:!1},So={...xo,unmounted:!1},Co={...xo,unmounted:`should-enter`};function wo(e,t=!0){return{onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,[t?`onClick`:`onPress`]:e.onPress,onMouseDown:e.onPressIn,onMouseUp:e.onPressOut,onTouchStart:e.onPressIn,onTouchEnd:e.onPressOut,onFocus:e.onFocus,onBlur:e.onBlur}}var To=(e,t)=>{let n=e?.defaultProps,r=Gr(),i=t||e?.componentName||(e.isText?`Text`:`View`),a=r?.defaultProps?.[i];return a&&(n=n?{...a,...n}:a),n};function Eo(e){return e?typeof e.useAnimations==`function`?e:`default`in e&&typeof e.default?.useAnimations==`function`?e.default:null:null}var Do={height:0,width:0};function Oo({shadowColor:e,shadowOffset:t,shadowOpacity:n,shadowRadius:r}){let{height:i,width:a}=t||Do;return{shadowOffset:{width:a||0,height:i||0},shadowRadius:r||0,shadowColor:e,shadowOpacity:n??1}}function ko(e){var t;Ao(e),(e.shadowRadius!=null||e.shadowColor||e.shadowOpacity!=null||e.shadowOffset)&&Object.assign(e,Oo(e));for(let n in Mo)n in e&&(e[t=Mo[n]]||(e[t]=`solid`))}function Ao(e){(e.display===`grid`||e.display===`inline-grid`)&&(e.flexDirection===`row`||e.flexDirection===`row-reverse`)&&e.flexWrap!==`wrap`&&e.flexWrap!==`wrap-reverse`&&e.gridAutoFlow==null&&e.grid==null&&e.gridTemplate==null&&e.gridTemplateAreas==null&&e.gridTemplateColumns==null&&e.gridTemplateRows==null&&(e.gridAutoFlow=`column`)}var jo=null,Mo={borderWidth:`borderStyle`,borderBottomWidth:jo||`borderBottomStyle`,borderTopWidth:jo||`borderTopStyle`,borderLeftWidth:jo||`borderLeftStyle`,borderRightWidth:jo||`borderRightStyle`},No=(e,t)=>{if(e)return typeof e==`string`?e===`transparent`?`rgba(0, 0, 0, 0)`:typeof t==`number`&&t<1?`color-mix(in srgb, ${e} ${Math.round(t*100)}%, transparent)`:e:e},Po={...ya,translateX:!0,translateY:!0};function Fo(e,t=``){if(ma[t]||t&&!Po[t]||typeof e==`boolean`)return e;if(e&&typeof e==`object`){if(typeof e.__getValue==`function`)e=e.__getValue();else return e}let n=e;return typeof e==`number`?n=`${e}px`:t&&(n=`${n}`),n}function Io(e){return e.map(e=>{let t=Object.keys(e)[0],n=e[t];return t===`matrix`||t===`matrix3d`?`${t}(${n.join(`,`)})`:`${t}(${Fo(n,t)})`}).join(` `)}function Lo(e){Vo(e);let t=[];for(let n in e){if(n===`$$css`)continue;let r=e[n];if(n in hr)r&&t.push(...Ro(r,hr[n]));else if(bi(n))for(let e in r){let i=Bo(r,e);i&&(i[0]=n,t.push(i))}else{let r=Bo(e,n);r&&t.push(r)}}return t}var Ro=(e,t)=>{Vo(e);let n=[];for(let r in e){let i=Bo(e,r,t);i&&n.push(i)}return n},zo=null,Bo=(e,t,n)=>{let r=e[t];if(r==null)return;t===`transform`&&Array.isArray(e.transform)&&(r=Io(r));let i=Fo(r,t),a=Yi(typeof i==`string`?i:`${i}`),o=n?`0${n.name}-`:``;zo||=Kr();let s=`_${zo?.inverseShorthands[t]||t}-${o}${a}`;t===`pointerEvents`&&!n&&(i===`box-none`?s=`_pe-boxnone`:i===`box-only`&&(s=`_pe-boxonly`));let c=qo(s,t,i,n);return[t,i,s,n?.name,c]};function Vo(e){let{shadowOffset:t,shadowRadius:n,shadowColor:r,shadowOpacity:i}=e;if(n!=null||r||t!=null||i!=null){let a=t||Do,o=Fo(a.width),s=Fo(a.height),c=Fo(n),l=No(r,i);if(l){let t=`${o} ${s} ${c} ${l}`;e.boxShadow=e.boxShadow?`${e.boxShadow}, ${t}`:t}delete e.shadowOffset,delete e.shadowRadius,delete e.shadowColor,delete e.shadowOpacity}let{textShadowColor:a,textShadowOffset:o,textShadowRadius:s}=e;if(a||o||s){let{height:t,width:n}=o||Do,r=s||0,i=Fo(a,`textShadowColor`);if(i&&(t!==0||n!==0||r!==0)){let a=Fo(r);e.textShadow=`${Fo(n)} ${Fo(t)} ${a} ${i}`}delete e.textShadowColor,delete e.textShadowOffset,delete e.textShadowRadius}}function Ho(e,t=!1){let n=``;for(let[r,i]of e)n+=`${Go(r)}:${i}${t?` !important`:``};`;return`{${n}}`}var Uo={},Wo=e=>`-${e.toLowerCase()}`,Go=e=>{if(e in Uo)return Uo[e];let t=e.replace(/[A-Z]/g,Wo);return Uo[e]=t,t},Ko=(()=>{let e={};for(let t in hr){let n=hr[t];e[n.name]=`${[...Array(n.priority)].map(()=>`:root`).join(``)} `}return e})();function qo(e,t,n,r){let i=r?r.name===`disabled`?`[aria-disabled]`:`:${r.name}`:``,a=r?.selector,o=t in oa?`.${e}.${e}`:`.${e}`,s=r?a?`${a} ${o}`:`${Ko[r.name]} ${o}${i}`:`:root ${o}`;a===hr.enterStyle.selector&&(s=`${s}, .${e}${a}`);let c=!!r,l=[];switch(t){case`placeholderTextColor`:{let e=Ho([[`color`,n],[`opacity`,1]],c);l.push(`${s}::placeholder${e}`);break}case`backgroundClip`:case`userSelect`:{let e=`Webkit${`${t[0].toUpperCase()}${t.slice(1)}`}`,r=Ho([[t,n],[e,n]],c);l.push(`${s}${r}`);break}case`pointerEvents`:{let e=n;n===`auto`||n===`box-only`?e=`auto`:(n===`none`||n===`box-none`)&&(e=`none`);let t=Ho([[`pointerEvents`,e]],!0);l.push(`${s}${t}`);break}default:{let e=Ho([[t,n]],c);l.push(`${s}${e}`);break}}return r?.name===`hover`&&(l=l.map(e=>`@media (hover) {${e}}`)),l}var Jo=new WeakMap,Yo=new Map,Xo={},Zo={},Qo=()=>({}).GUI_DID_OUTPUT_CSS?[]:Object.keys(Zo).sort().map(e=>Zo[e]),$o=null;function es(e=!1,t){if(!{}.GUI_DID_OUTPUT_CSS){let n,r=document.styleSheets||[],i=$o,a=new Set(r);for(let r of a)if(r){let i=is(r,!1,e,t);i&&(n=i)}if($o=a,i)for(let e of i)e&&!a.has(e)&&is(e,!0);return n}}function ts(e){let t=(Yo.get(e)||0)+1;return Yo.set(e,t),t}var ns={}.GUI_BAIL_AFTER_SCANNING_X_CSS_RULES,rs=ns?+ns:8e3;function is(e,t=!1,n=!1,r){let i;try{if(i=e.cssRules,!i)return}catch{return}let a=ls(i[0],n)?.[0],o=ls(i[i.length-1],n)?.[0],s=`${i.length}${a}${o}`,c=Jo.get(e);if(!t&&c===s)return;let l=i.length,u=0,d,f={};for(let e=0;e<l;e++){let t=i[e];if(!(t instanceof CSSStyleRule))continue;let a=ls(t,n);if(a)u=0;else{if(u++,u>rs)return;continue}let[o,s,c]=a;if(c){let e=ss(s,r);if(e){for(let t of e.names)f[t]?(Object.apply(f[t],e.theme),e.names=e.names.filter(e=>e!==t)):f[t]=e.theme;d||=[],d.push(e)}continue}}return Jo.set(e,s),d}var as,os=null;function ss(e,t){let n=e.selectorText.split(`,`);if(!n.length)return;if(t?.color&&!as){as={};for(let e in t.color){let n=t.color[e];n&&(as[n.name]=n.val)}}let r=(e.cssText||``).slice(e.selectorText.length+2,-1).split(`;`),i={};for(let e of r){let t=e.indexOf(`:`);if(t===-1)continue;let n=e.indexOf(`--`),r=e.slice(n===-1?0:n+2,t);({}).GUI_CSS_VARIABLE_PREFIX&&(r=r.replace({}.GUI_CSS_VARIABLE_PREFIX,``));let a=e.slice(t+2),o;if(a[0]===`v`&&a.startsWith(`var(`)){let e=a.slice(6,-1),t=as?.[e];t?o=t:(os||=getComputedStyle(document.body),o=os.getPropertyValue(`--`+e))}else o=a;i[r]=Ta({key:r,name:r,val:o},!0)}let a=new Set;for(let e of n){if(e===` .tm_xxt`)continue;let t=e.lastIndexOf(`.t_`),n=e.slice(t).slice(3),[r]=e[t-5],i=r===`d`?`dark`:r===`i`?`light`:``,o=i&&i!==n?`${i}_${n}`:n;o&&o!==`light_dark`&&o!==`dark_light`&&a.add(o)}return{names:[...a],theme:i}}var cs=/\.tm_xxt/;function ls(e,t=!1){if(e instanceof CSSStyleRule){let n=e.selectorText;if(n[0]===`:`&&n[1]===`r`&&cs.test(n)){let r=us(n.replace(cs,``));return t?[r,e,!0]:[r,e]}}else if(e instanceof CSSMediaRule)return e.cssRules.length>1?void 0:ls(e.cssRules[0])}var us=e=>{let t=e.indexOf(`:`);return t>-1?e.slice(7,t):e.slice(7)},ds=null,fs=!0;function ps(){fs=!1}function ms(e,t){return fs&&(Zo[e]=t.join(` `)),!0}function hs(e){if(!ds&&document.head){let e=document.createElement(`style`);e.id=`_hanzogui-styles`,ds=document.head.appendChild(e).sheet}if(ds)for(let t in e){let n=e[t],r=n[2];if(!_s(r))continue;let i=n[4];Xo[r]=i.join(`
3
+ `),ts(r),ms(r,i);try{for(let e of i)ds.insertRule(e,ds.cssRules.length)}catch{console.error(`Error inserting style rule`,i)}}}var gs={}.GUI_INSERT_SELECTOR_TRIES?+{}.GUI_INSERT_SELECTOR_TRIES:1;function _s(e){return{}.IS_STATIC===`is_static`||(Yo.get(e)||0)<gs}function vs(e){return e===`platform-androidtv`||e===`platform-tvos`?3:e===`platform-tv`?2:+(e===`platform-android`||e===`platform-ios`)}function ys(e){if(!e.startsWith(`$platform`))return!0;let t=e.slice(10);return t===`web`||t===`web`||t===`tv`&&Ir||t===`androidtv`&&Pr&&Ir||t===`tvos`&&Fr&&Ir}function bs(e,t){if(e.startsWith(`$theme-`))return e.slice(7).startsWith(t)}var xs=[[`flexGrow`,0],[`flexShrink`,1],[`flexBasis`,`auto`]];function Ss(e,t){if(typeof e==`string`)return[[`flex`,e]];if(typeof e==`number`){if(e===-1)return xs;switch(t){case`legacy`:return[[`flexGrow`,e],[`flexShrink`,1],[`flexBasis`,`auto`]];case`react-native`:return e>0?[[`flexGrow`,e],[`flexShrink`,0],[`flexBasis`,0]]:e===0?[[`flexGrow`,0],[`flexShrink`,0],[`flexBasis`,`auto`]]:[[`flexGrow`,0],[`flexShrink`,-e],[`flexBasis`,`auto`]];case`web`:return e<0?[[`flex`,e]]:[[`flexGrow`,e],[`flexShrink`,1],[`flexBasis`,0]]}}}function Cs(e,t,n=Ur()){if(e===`flex`)return Ss(t,n);switch(e){case`writingDirection`:return[[`direction`,t]];case`backdropFilter`:return[[`backdropFilter`,t],[`WebkitBackdropFilter`,t]]}if(e in ks)return ks[e].map(e=>[e,t]);if(e in Os)return Os[e].map(e=>[e,t])}var ws=[`Top`,`Right`,`Bottom`,`Left`],Ts=[`Right`,`Left`],Es=[`Top`,`Bottom`],Ds=[`X`,`Y`],Os={borderColor:[`TopColor`,`RightColor`,`BottomColor`,`LeftColor`],borderRadius:[`TopLeftRadius`,`TopRightRadius`,`BottomRightRadius`,`BottomLeftRadius`],borderWidth:[`TopWidth`,`RightWidth`,`BottomWidth`,`LeftWidth`],margin:ws,marginHorizontal:Ts,marginVertical:Es,padding:ws,paddingHorizontal:Ts,paddingVertical:Es,borderStyle:[`TopStyle`,`RightStyle`,`BottomStyle`,`LeftStyle`],overflow:Ds,overscrollBehavior:Ds};for(let e in Os){let t=e.slice(0,/[A-Z]/.exec(e)?.index??e.length);Os[e]=Os[e].map(e=>`${t}${e}`)}var ks={inset:[`top`,`right`,`bottom`,`left`],insetBlock:[`top`,`bottom`],insetBlockStart:[`top`],insetBlockEnd:[`bottom`],marginBlock:[`marginTop`,`marginBottom`],marginBlockStart:[`marginTop`],marginBlockEnd:[`marginBottom`],paddingBlock:[`paddingTop`,`paddingBottom`],paddingBlockStart:[`paddingTop`],paddingBlockEnd:[`paddingBottom`],borderBlockColor:[`borderTopColor`,`borderBottomColor`],borderBlockWidth:[`borderTopWidth`,`borderBottomWidth`],borderBlockStyle:[`borderTopStyle`,`borderBottomStyle`],borderBlockStartColor:[`borderTopColor`],borderBlockEndColor:[`borderBottomColor`],borderBlockStartWidth:[`borderTopWidth`],borderBlockEndWidth:[`borderBottomWidth`],borderBlockStartStyle:[`borderTopStyle`],borderBlockEndStyle:[`borderBottomStyle`],minBlockSize:[`minHeight`],maxBlockSize:[`maxHeight`],minInlineSize:[`minWidth`],maxInlineSize:[`maxWidth`],blockSize:[`height`],inlineSize:[`width`]},As=new WeakMap,js=e=>{let t=As.get(e);if(t?.props===e.props)return t.value;let{props:n,conf:r,context:i,theme:a,styleProps:o}=e,s=o.styledContext,c=r.fontsParsed;i?.language&&(c=Ns(r.fontsParsed,i.language));let l={fonts:c,tokens:r.tokensParsed,theme:a,context:s,get fontFamily(){return Ma(e.fontFamily||e.props.fontFamily)||n.fontFamily||Ma(Hr(`defaultFont`))},get font(){return c[this.fontFamily]||(!n.fontFamily||n.fontFamily[0]===`$`?c[Hr(`defaultFont`)||``]:void 0)},props:n};return As.set(e,{props:n,value:l}),l},Ms=new WeakMap;function Ns(e,t){if(Ms.has(t))return Ms.get(t);let n={...e,...Object.fromEntries(Object.entries(t).flatMap(([t,n])=>{if(n==="default")return[];let r=`$${t}_${n}`;return[[`$${t}`,e[r]]]}))};return Ms.set(t,n),n}var Ps={fontSize:`size`,fontWeight:`weight`},Fs=ca.color,Is={};for(let e in ca)for(let t in ca[e])Is[t]=e;var Ls=null;function Rs(){return Ls}function zs(e){Ls=e}var Bs=(e,t,n,r)=>{let i=n.resolveValues||`none`;if(i===`none`)return t;let a;if(e in Fs){let e=t.indexOf(`/`);if(e>0){let n=t.slice(e+1);if(n.length>0){let r=Number(n);Number.isNaN(r)||(a=Math.max(0,Math.min(1,r/100)),t=t.slice(0,e))}}}let{theme:o,conf:s=Gr(),context:c,fontFamily:l,staticConfig:u}=r,d=o?o[t]||o[t.slice(1)]:void 0,f=s.tokensParsed,p,m=!1,h=u?.accept?.[e];if(h){let e=d??f[h]?.[t];e!=null&&(i=`value`,p=e,m=!0)}if(d){if(i===`except-theme`)return t;p=d,m=!0}else{if(t in s.specificTokens)m=!0,p=s.specificTokens[t];else{switch(e){case`fontFamily`:p=(c?.language?Ns(s.fontsParsed,c.language):s.fontsParsed)[t]?.family||t,zs(t),m=!0;break;case`fontSize`:case`lineHeight`:case`letterSpacing`:case`fontWeight`:{let n=l||s.defaultFontToken;if(n){let r=c?.language?Ns(s.fontsParsed,c.language):s.fontsParsed;p=(r[n]||r[s.defaultFontToken])?.[Ps[e]||e]?.[t]||t,m=!0}break}}let n=Is[e];if(n!==void 0){let e=f[n]?.[t];e!=null&&(p=e,m=!0)}}if(!m){let e=f.space[t];e!=null&&(p=e,m=!0)}}if(m){let t=Vs(e,p,i);return a!==void 0&&a<1&&(t=No(String(t),a)??t),t}};function Vs(e,t,n){if(n===`none`)return t;if(Da(t)){if(n===`value`)return t.val;let e=t?.get;return typeof e==`function`?e(n===`web`?`web`:void 0):t.variable}return t}var Hs=e=>e&&!Array.isArray(e)&&typeof e==`object`,Us=new WeakMap;function Ws(e,t=!1){let n={},r=Us.get(e),i;for(let a in e){let o=e[a];if(o==null)continue;let s=r?.[a];if(a in hr||a[0]===`$`&&Hs(o)){n[a]=Ws(o,t),s!==void 0&&(i||={},i[a]=s);continue}let c=t?o:Fo(o,a),l=Cs(a,c);if(l)for(let[e,t]of l)n[e]=t,s!==void 0&&(i||={},i[e]=s);else n[a]=c,s!==void 0&&(i||={},i[a]=s)}return ko(n),i&&Us.set(n,i),n}var Gs=/(\$[\w.-]+(?:\/[\d.]+)?)/g;function Ks(e,t,n,r){return t.replace(Gs,e=>{let t=Bs(`size`,e,n,r);return t??=Bs(`color`,e,n,r),t==null?e:String(t)})}var qs={boxShadow:!0,textShadow:!0,filter:!0,backgroundImage:!0,border:!0,outline:!0};function Js(e,t,n,r){return!t.includes(`$`)||!qs[e]?t:Ks(e,t,n,r)}function Ys(e){return e}function Xs(e){return typeof e==`string`&&e.includes(`rem`)}var Zs={accessibilityElementsHidden:1,accessibilityIgnoresInvertColors:1,accessibilityLanguage:1,adjustsFontSizeToFit:1,allowFontScaling:1,android_hyphenationFrequency:1,dataDetectorType:1,dynamicTypeRamp:1,elevationAndroid:1,ellipsizeMode:1,hapticFeedback:1,hapticStyle:1,hitSlop:1,importantForAccessibility:1,lineBreakStrategyIOS:1,maxFontSizeMultiplier:1,minimumFontScale:1,needsOffscreenAlphaCompositing:1,nextFocusDown:1,nextFocusForward:1,nextFocusLeft:1,nextFocusRight:1,nextFocusUp:1,onAccessibilityAction:1,onAccessibilityEscape:1,onAccessibilityTap:1,onMagicTap:1,onTextLayout:1,pressRetentionOffset:1,selectionColor:1,shouldRasterizeIOS:1,suppressHighlighting:1,textBreakStrategy:1},Qs={untilMeasured:1,transition:1,space:1,animateOnly:1,animatedBy:1,disableClassName:1,debug:1,componentName:1,disableOptimization:1,render:1,style:1,group:1,animatePresence:1};Object.assign(Qs,Zs);var $s=(e,t,n,r,i)=>{if(r)return i(e,t);if(zs(null),e===`elevationAndroid`)return;let{conf:a,styleProps:o,staticConfig:s}=n,{variants:c}=s;if(!o.noExpand&&c&&e in c){let r=ec(e,t,o,n,``);if(r){r.forEach(([e,t,n])=>{i(e,t,n)});return}}o.disableExpandShorthands||e in a.shorthands&&(e=a.shorthands[e]);let l=t;if(t!=null){if(typeof t==`string`){if(t[0]===`$`)t=Bs(e,t,o,n);else{let r=Js(e,t,o,n);t=r===t?Xs(t)?Ys(t):t:r}}else Da(t)?t=Vs(e,t,o.resolveValues):Xs(t)&&(t=Ys(t))}if(t!=null){let r=Rs();e===`fontFamily`&&r&&(n.fontFamily=r);let s=o.noExpand?null:Cs(e,t,a.settings.styleCompat||`web`);if(s){let e=s.length;for(let t=0;t<e;t++){let[e,n,r]=s[t];i(e,n,r??l)}}else i(e,t,l)}},ec=(e,t,n,r,i)=>{let{staticConfig:a,conf:o,debug:s}=r,{variants:c}=a;if(!c)return;let l=ac(c[e],t,o,r);if(!l){if({}.GUI_WARN_ON_MISSING_VARIANT===`1`&&typeof t!=`boolean`){let n=a.componentName||`[UnnamedComponent]`;console.warn(`No variant found: ${n} has variant "${e}", but no matching value "${t}"`)}return}typeof l==`function`&&(l=l(t,js(r)));let u;if(Hs(l)){let t=l.fontFamily||l[o.inverseShorthands.fontFamily];t&&(u=tc(t,o),r.fontFamily=u),l=rc(e,l,n,r,i)}if(l){let e=Ws(l,!!n.noNormalize),t=Object.entries(e),r=Us.get(e);return u&&u[0]===`$`&&zs(Ma(u)),t.map(([e,t])=>[e,t,r?.[e]])}};function tc(e,t){if(Da(e)){let n=nc.get(e);if(n)return n;for(let n in t.fontsParsed){let r=t.fontsParsed[n].family;if(Da(r)&&(nc.set(r,n),r===e))return n}}else if(typeof e==`string`&&e[0]===`$`)return e}var nc=new WeakMap,rc=(e,t,n,r,i)=>{let{conf:a,staticConfig:o,debug:s,theme:c}=r,{variants:l}=o,u={},d;for(let s in t){let c=a.shorthands[s]||s,f=t[s];if(!(!n.noSkip&&c in Qs)){if(d||={},d[c]=f,o){let e=o.context?.props||o.parentStaticConfig?.context?.props;e&&c in e&&(r.overriddenContextProps||={},r.overriddenContextProps[c]=f,r.originalContextPropValues||={},r.originalContextPropValues[c]=f)}if(n.noExpand)u[c]=f;else if(l&&c in l){if(i&&i===e)u[c]=f[0]===`$`?Bs(c,f,n,r):f;else{let t=ec(c,f,n,r,e);if(t){for(let[e,n,r]of t)if(n!=null){if(e in hr){u[e]??(u[e]={}),Object.assign(u[e],n);let t=Us.get(n);t&&Us.set(u[e],{...Us.get(u[e]),...t})}else u[e]=n,r!==void 0&&(d||={},d[e]=r)}}}continue}if(Da(f)){u[c]=Vs(c,f,n.resolveValues);continue}if(typeof f==`string`){let e=f[0]===`$`?Bs(c,f,n,r):Js(c,f,n,r);u[c]=e===f&&Xs(f)?Ys(f):e;continue}if(Hs(f)){let t=rc(c,f,n,r,e);u[c]??(u[c]={}),Object.assign(u[c],t);let i=Us.get(t);i&&Us.set(u[c],{...Us.get(u[c]),...i})}else u[c]=f}}return d&&Us.set(u,d),u},ic=[`size`,`color`,`radius`,`space`,`zIndex`].map(e=>({name:e,spreadName:`...${e}`}));function ac(e,t,n,{theme:r}){if(!e)return;if(typeof e==`function`)return e;let i=e[t];if(i)return i;if(t!=null){let{tokensParsed:i}=n;for(let{name:n,spreadName:a}of ic)if(a in e&&(n in i&&t in i[n]||n===`color`&&r&&typeof t==`string`&&t[0]===`$`&&t.slice(1)in r))return e[a];let a=e[`...fontSize`];if(a&&n.fontSizeTokens.has(t))return a}return e[`:${typeof t}`]||e[`...`]}var oc=(e,t)=>e<t?-1:+(e>t),sc;function cc(e,t){let n=e.split(`-`),r=n.length;if(r===2||r===3&&mr[n[n.length-1]]){let r=n[1];if(r!==`true`&&t&&!t[r])return e.replace(`$group-`,`$group-true-`)}return e}function lc(e,t,n){return e in t||n&&e in n}function uc(e,t){return!1}var dc=(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{sc||=Gr();let p=f||s?.animationDriver||sc.animations;if(e.passThrough)return null;a.isAnimated&&p?.isReactNative&&!a.noNormalize&&(a.noNormalize=`values`);let{shorthands:m}=sc,{isHOC:h,isText:g,isInput:_,variants:v,isReactNative:y,inlineProps:b,inlineWhenUnflattened:x,parentStaticConfig:S,acceptsClassName:C}=t,w={},T=a.mediaState||ni,E=C&&!a.noClass,D={},O={};e.space;let k=null,A=!1,ee,te,ne;e.className;let re=0,j=t.validStyles||(t.isText||t.isInput?va:xa),M={classNames:O,conf:sc,props:e,styleProps:a,componentState:i,staticConfig:t,style:null,theme:n,usedKeys:{},viewProps:w,context:s,debug:d,animationDriver:p};if({}.IS_STATIC===`is_static`){let{fallbackProps:t}=a;t&&(M.props=new Proxy(e,{get(n,r,i){return Reflect.has(e,r)?Reflect.get(e,r):Reflect.get(t,r)}}))}let{asChild:ie}=e,{accept:ae}=t,{noSkip:oe,disableExpandShorthands:se,noExpand:ce,styledContext:le}=a,{webContainerType:ue}=sc.settings,N=S?.variants;for(let n in e){let o=n,s=e[o];if(o===`children`){w[o]=s;continue}if(ae){let e=ae[o];if((e===`style`||e===`textStyle`)&&s&&typeof s==`object`){w[o]=mc(M,o,s,a.noClass);continue}}if(se||o in m&&(o=m[o]),o===`className`)continue;if(ie){let e=To(t);if(e){let t=e[n]??e[o];if(t!==void 0&&s===t)continue}}if(o in Qs&&!oe&&!h){if(o===`group`){let e=`t_group_${s}`;_c(D,[`container`,void 0,e,void 0,[`.${e} { container-name: ${s}; container-type: ${ue||`inline-size`}; }`]])}if(o===`transition`&&typeof s==`string`){let e=p?.animations?.[s];if(e&&p?.outputStyle===`css`&&{}.IS_STATIC===`is_static`)s=`all ${e}`;else if(e)continue}else continue}let u=lc(o,j,ae);if(t.isReactNative&&o.startsWith(`data-`)){o=o.replace(`data-`,``),w.dataSet||={},w.dataSet[o]=s;continue}if(!ce){if(o===`disabled`&&s===!0&&(w[`aria-disabled`]=!0,(_||l===`button`||l===`form`||l===`input`||l===`select`||l===`textarea`)&&(w.disabled=!0),!v?.disabled))continue;if(o===`testID`){y?w.testID=s:(w[`data-testid`]=s,a.isAnimated&&p?.isReactNative&&(w.testID=s));continue}if(o===`id`){w.id=s;continue}}let f=!u&&v&&o in v,C=u||f,P=o in ba,F=!C&&!P&&xi(o),de=!!(F||P);de&&F===`group`&&(o=cc(o,c));let fe=u||de||f&&!ce;if(uc(o,F)||fe&&(ie===`except-style`||ie===`except-style-web`))continue;let pe=!fe&&h||h&&N&&o in N||b?.has(o),me=N?.[o],he=!!(h&&(u||de||me||o in Qs));if((pe||he)&&(Sc(w,o,s,de),!f)||!oe&&o in Qs&&(o!==`transition`||typeof s!=`string`||p?.animations?.[s]))continue;(g||_)&&s&&(o===`fontFamily`||o===m.fontFamily)&&s in sc.fontsParsed&&(M.fontFamily=s);let I=de||!C;$s(o,s,M,I,(t,n,s)=>{let l=le&&t in le;if(!h&&I&&!l&&!de){w[t]=n;return}if(n!=null){if(!h&&lc(t,j,ae)){pc(M,t,n,1,!1,s);return}if(P=t in ba,F=!P&&xi(t),de=!!(F||P),f=v&&t in v,F===`group`&&(t=cc(t,c)),!uc(t,F)){if((b?.has(t)||{}.IS_STATIC===`is_static`&&x?.has(t))&&(w[t]=e[t]??n),a.noExpand&&P||h&&(de||S?.variants?.[o])){Sc(w,t,n,de);return}if(P){if(!n)return;let e=mc(M,t,n,a.noClass&&{}.IS_STATIC!==`is_static`);if((!E||{}.IS_STATIC===`is_static`)&&(k||={},k[t]||(k[t]={}),{}.IS_STATIC===`is_static`)){Object.assign(k[t],e);return}let r=hr[t],o=t===`enterStyle`,s=t===`exitStyle`;if(!r)return;if(E&&!s){let t=Ro(e,r);for(let e of t){let t=`${e[0]}-${r.name}`;_c(D,e),O[t]=e[2]}}if(!E||s||o){let c=i[r.stateKey||r.name]===!1;s&&(c=!a.isExiting),o&&i.unmounted===!1&&(c=!0);let l=r.priority,u=Us.get(e);for(let n in e){let r=e[n];c?Tc(n,M):l>=(M.usedKeys[n]||0)&&({}.IS_STATIC===`is_static`&&(k||={},k[t]||(k[t]={}),k[t][n]=r),pc(M,n,r,l,!1,u?.[n]))}if(!c)for(let e in n){let t=m[e]||e;M.usedKeys[t]=Math.max(l,M.usedKeys[t]||0)}}return}if(F){if(!n)return;let e=t.slice(F==`theme`?7:1);if(A||=!0,(n.space||!E||a.willBeAnimated)&&((!A||typeof A==`boolean`)&&(A=new Set),A.add(e)),F===`platform`&&!ys(t))return;let o=re;if(re+=1,E){let r=Lo(mc(M,t,n,!1));for(let t of r){let n=t[0],r=n[0]===`$`;if(r&&!ys(n))continue;let i=gi(t,e,ii,F,!1,o),a=r?t[2]:``,s=`${t[0]}${a}-${e}${t[3]||``}`;_c(D,i),O[s]=i[2]}}else{let a=F===`theme`,o=F===`group`,s=F===`platform`;if(!a&&!s&&!o&&!T[e])return;let l=mc(M,t,n,!0),u=0;if(a){if(ee=!0,!(r===e||r.startsWith(e)))return}else if(o){let t=li(e),n=t.name,r=c?.[n]?.state,a=t.pseudo,o=t.media;if(!r){te||=new Set;return}let s=i.group?.[n];if(o){ne||=new Set,ne.add(o);let e=s?.media,t=e?.[o];if(!e&&r.layout&&(t=Ki(o,r.layout)),!t){for(let e in l)Tc(e,M);return}u=2}if(a){te||=new Set,te.add(n);let e=(s||c?.[n].state)?.pseudo?.[a],t=mr[a];if(!e){for(let e in l)Tc(e,M);return}u=t}}else s&&(u=vs(e));let f=Us.get(l);o&&l.transition&&(M.pseudoTransitions||={},M.pseudoTransitions[`$${e}`]=l.transition);function p(t,n,r){M.style||={},Cc(M,e,t,n,T[e],u,d,r)&&t===`fontFamily`&&(M.fontFamily=l.fontFamily)}for(let t in l)if(t!==`space`){if(t[0]===`$`){let n=xi(t);if(n===`platform`){if(!ys(t))continue}else if(n===`theme`){if(!bs(t,r))continue}else if(n===!0){let e=t.slice(1);if(!T[e])continue}let i=l[t],a=Us.get(i),o=T[e]?wi(e):gr,s;s=n===`platform`?gr+vs(t.slice(1)):n===!0?wi(t.slice(1)):gr;let c=o+u+s+1;for(let e in i){let t=m[e]||e,{usedKeys:n}=M;n[t]&&n[t]>c||(M.style||={},pc(M,t,i[e],c,!1,a?.[e]),t===`fontFamily`&&(M.fontFamily=i[e]))}}else p(t,l[t],f?.[t])}}return}if(!f){if(l)return;w[t]=n}}}})}if(a.noNormalize!==!1&&(M.style&&(ko(M.style),!a.noExpand&&!a.noMergeStyle&&(!y||p?.inputStyle!==`css`)&&Vo(M.style)),M.flatTransforms&&(M.style||={},fc(M.style,M.flatTransforms)),o)){if(E)for(let e in o.classNames){let t=o.classNames[e];M.style&&e in M.style||e in O||(O[e]=t)}if(!E)for(let e in o.style)e in O||M.style&&e in M.style||(M.style||={},M.style[e]=o.style[e])}if(!a.noNormalize&&!t.isReactNative&&!t.isHOC&&(!a.isAnimated||p?.inputStyle===`css`)&&Array.isArray(M.style?.transform)&&(M.style.transform=Io(M.style.transform)),!a.noMergeStyle&&M.style&&E){let t,n=!1;if(!M.style.$$css){let r=Lo(M.style);for(let i of r){let[r,o,s]=i,c=a.isAnimated&&a.noClass&&e.animateOnly?.includes(r),l=!c&&!a.isAnimated&&jr&&p?.outputStyle===`css`&&e.animateOnly?.includes(r);c?(t||={},t[r]=M.style[r]):l?(t||={},t[r]=o,n=!0):(_c(D,i),O[r]=s)}(n||{}.IS_STATIC!==`is_static`)&&(M.style=t||{})}}if(!a.noMergeStyle&&M.style&&!E&&a.isAnimated&&!p?.isReactNative&&!M.style.$$css){let t={},n=!1;e.animateOnly;for(let e in M.style)e in pa&&(t[e]=M.style[e],delete M.style[e],n=!0);if(n){let e=Lo(t);for(let t of e)_c(D,t),O[t[0]]=t[2]}}let P=e.style;if(!a.noMergeStyle&&P){if(h)w.style=wc(P);else{let e=Array.isArray(P),t=e?P.length:1;for(let n=0;n<t;n++){let t=e?P[n]:P;if(t){if(t.$$css)Object.assign(M.classNames,t);else{M.style||={};let e=wc(t);Object.assign(M.style,e)}}}}}let F={hasMedia:A,fontFamily:M.fontFamily,viewProps:w,style:M.style,pseudos:k,classNames:O,rulesToInsert:D,dynamicThemeAccess:ee,pseudoGroups:te,mediaGroups:ne,overriddenContextProps:M.overriddenContextProps,pseudoTransitions:M.pseudoTransitions},de=ie===`except-style`||ie===`except-style-web`;if(!a.noMergeStyle&&!de){let n=M.style;{let r=g||_?M.fontFamily:null;r&&r[0]===`$`&&(r=r.slice(1));let i=r?`font_${r}`:``,o=e.group?`t_group_${e.group}`:``,s=e.componentName||t.componentName,c=e.asChild||!s||s===`Text`?``:`is_${s}`,l=[];c&&l.push(c),g?l.push(`is_Text`):l.push(`is_View`),i&&l.push(i),O&&l.push(Object.values(O).join(` `)),o&&l.push(o),e.className&&l.push(e.className);let u=l.join(` `),d=y||a.isAnimated&&p?.isReactNative;if(a.isAnimated&&p?.inputStyle===`css`)w.className=u,n&&(w.style=n);else if(d){let e;for(let t of u.split(` `))e||={$$css:!0},e[t]=t;w.style=e?[...Array.isArray(n)?n:[n],e]:[n]}else u&&(w.className=u),n&&(w.style=n)}}return F};function fc(e,t){Object.entries(t).sort(([e],[t])=>oc(e,t)).forEach(([t,n])=>{bc(e,t,n,!0)})}function pc(e,t,n,r,i=!1,a){let{viewProps:o,styleProps:s,staticConfig:c,usedKeys:l}=e;if((l[t]||0)>r)return;let u=c.context?.props||c.parentStaticConfig?.context?.props;if(u&&t in u){e.overriddenContextProps||={};let r=e.originalContextPropValues?.[t];e.overriddenContextProps[t]=a??r??n}if(t in ha)e.flatTransforms||={},l[t]=r,e.flatTransforms[t]=n;else{let a=!i&&!s.noNormalize?Fo(n,t):n;c.accept&&t in c.accept?o[t]=a:(e.style||={},l[t]=r,e.style[t]=t===`transform`&&Array.isArray(a)?[...a]:a)}}var mc=(e,t,n,r)=>{let{staticConfig:i,conf:a,styleProps:o}=e,s={},c,l=Us.get(n),u=e.props;e.props={...u,...n};try{for(let u in n){let d=n[u];if(u=a.shorthands[u]||u,u===`transition`){e.pseudoTransitions||={},e.pseudoTransitions[t]=d;let n=e.animationDriver;if(n?.outputStyle===`css`){let e=n.animations?.[d];e&&(s.transition=`all ${e}${t[0]===`$`?` !important`:``}`)}!s.transition&&typeof d==`string`&&!n?.animations?.[d]&&(s.transition=d);continue}!i.isHOC&&u in Qs&&!o.noSkip||$s(u,d,e,!1,(t,n,i)=>{let a=l?.[t]??i;a!==void 0&&(c||={},c[t]=a),t in ba&&(n=mc(e,t,n,r)),!r&&t in ha?bc(s,t,n):s[t]=o.noNormalize?n:Fo(n,u)})}}finally{e.props=u}if(!r){let t=e.style?.transform,n=e.flatTransforms,r=s.transform;if(Array.isArray(r)&&r.length){let e=r.length;if(Array.isArray(t)){let n=[];outer:for(let i=0;i<t.length;i++){let a=t[i];for(let t in a){for(let n=0;n<e;n++)for(let e in r[n]){if(t===e)continue outer;break}n.push(a);break}}for(let t=0;t<e;t++)n.push(r[t]);s.transform=n}if(n)outer:for(let t in n){let i=t===`x`?`translateX`:t===`y`?`translateY`:t;for(let t=0;t<e;t++)for(let e in r[t]){if(i===e)continue outer;break}bc(s,t,n[t])}}else n&&fc(s,n)}return o.noNormalize||ko(s),c&&Object.keys(c).length&&Us.set(s,c),s},hc=l.useInsertionEffect||Mr,gc=(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{"use no memo";let p=dc(e,t,n,r,i,a,o,s,c,l,u,d,f);return hc(()=>{p&&hs(p.rulesToInsert)},[p?.rulesToInsert]),p};function _c(e,t){{let n=t[2];_s(n)&&(ms(n,t[4]),e[n]=t)}}var vc={}.GUI_DEFAULT_COLOR||`rgba(0,0,0,0)`,yc={...Object.fromEntries(Object.entries(ca.color).map(([e,t])=>[e,vc])),opacity:1,scale:1,scaleX:1,scaleY:1,rotate:`0deg`,rotateX:`0deg`,rotateY:`0deg`,rotateZ:`0deg`,skewX:`0deg`,skewY:`0deg`,x:0,y:0,borderRadius:0},bc=(e,t,n,r=!1)=>{typeof e.transform!=`string`&&(e.transform||=[],e.transform[r?`unshift`:`push`]({[xc[t]||t]:n}))},xc={x:`translateX`,y:`translateY`};function Sc(e,t,n,r=!1){if(r){let r={...e[t],...n};delete e[t],e[t]=r}else e[t]=n}function Cc(e,t,n,r,i,a,o,s){let c=e.usedKeys,l=Gi(t,n,e,i);if(a){let e=gr+a;l=!c[n]||e>c[n]?e:null}if(l===null)return!1;if(n in hr){let t=hr[n],i=t.stateKey||t.name;if(e.componentState[i]===!1)return!1;let a=Us.get(r);for(let t in r)pc(e,t,r[t],l,!1,a?.[t])}else pc(e,n,r,l,!1,s);return!0}function wc(e){let t={};for(let n in e){let r=e[n];n in ha?bc(t,n,r):t[n]=Fo(r,n)}return Array.isArray(t.transform)&&(t.transform=Io(t.transform)),ko(t),t}function Tc(e,t){let n=yc[e];n!=null&&!(e in t.usedKeys)&&(!t.style||!(e in t.style))&&pc(t,e,n,1)}var Ec=/^on[A-Z]/;function Dc(e,t){for(let n in t){let r=e[n],i=t[n];i!==void 0&&(n===`style`?e.style=r&&i?{...r,...i}:i||r:n===`className`?e.className=r&&i?`${r} ${i}`:i||r:n===`ref`?e.ref=r&&i?yo(r,i):i||r:e[n]=Ec.test(n)&&typeof r==`function`&&typeof i==`function`?Qi(r,i):i)}return e}function Oc(e,t,n){let r=Dc({...e},t);return r.children=n,r}function kc(e,t,n,r){if(!n)return r;let i=e||{hover:!1,press:!1,focus:!1,groups:{}};if(t.press&&!i.press&&n.pressStyle)return n.pressStyle;if(t.hover&&!i.hover&&n.hoverStyle)return n.hoverStyle;if(t.focus&&!i.focus&&n.focusStyle)return n.focusStyle;for(let e in n)if(e.startsWith(`$group-`)){let r=e.match(/^\$group-(.+)-(hover|press|focus)$/);if(!r)continue;let a=r[1],o=r[2],s=t.group?.[a]?.pseudo,c=i.groups?.[a];if(s?.[o]&&!c?.[o])return n[e]}return r}function Ac(e){let t={};if(e.group)for(let n in e.group){let r=e.group[n]?.pseudo;r&&(t[n]={hover:r.hover,press:r.press,focus:r.focus})}return{hover:e.hover,press:e.press,focus:e.focus,groups:t}}var jc={};function Mc(e){Object.assign(jc,e)}var Nc=e=>{jc.setElementProps?.(e)},Pc=e=>{let{pseudoGroups:t,mediaGroups:n,groupContext:r}=e;if(t||n){let r=new Set;if(t)for(let n of t)r.add(Fc(n,e));if(n)for(let t of n)r.add(Fc(t,e));return()=>{r.forEach(e=>e())}}},Fc=(e,{setStateShallow:t,pseudoGroups:n,mediaGroups:r,groupContext:i})=>{let a=i?.[e];if(!a)return()=>{};let o=a.subscribe(({layout:i,pseudo:a})=>{t(t=>{let o=!1,s=t.group?.[e]||{pseudo:{},media:{}};if(a&&n?.has(e))s.pseudo||={},Dr(s.pseudo,a)!==s.pseudo&&(Object.assign(s.pseudo,a),o=!0);else if(i&&r){s.media||={};let e=Wi(r,i),t=Dr(s.media,e);t!==s.media&&(Object.assign(s.media,t),o=!0)}return o?{group:{...t.group,[e]:s}}:t})});return()=>{o(),t({group:{}})}},Ic=(0,l.createContext)(!1),Lc=({children:e,enabled:t})=>{let n=(0,l.useContext)(Ic);return(0,X.jsx)(Ic.Provider,{value:t??n,children:e})},Rc=()=>l.useContext(Ic);function zc(){return l.useContext(Ic)?!0:l.useSyncExternalStore(Bc,()=>!0,()=>!1)}var Bc=()=>()=>{},Vc=(0,l.forwardRef)(function(e,t){"use no memo";if(e.disable)return e.children;let{passThrough:n}=e,r=!!e._isRoot,[i,a]=_o(e,r,!0),o=e[`disable-child-theme`]?l.Children.map(e.children,e=>n||!(0,l.isValidElement)(e)?e:(0,l.cloneElement)(e,{"data-disable-theme":!0})):e.children;if(t)try{l.Children.only(o),o=(0,l.cloneElement)(o,{ref:t})}catch{}let s=(0,l.useRef)({hasEverThemed:!1});return Hc(a,o,e,r,s,n)});Vc.avoidForwardRef=!0;function Hc(e,t,n,r=!1,i,a=!1){let{shallow:o,forceClassName:s}=n,c=i.current;if(!(c.hasEverThemed||e.isNew||r||mo(n)))return t;t=(0,X.jsx)(Va.Provider,{value:e.id,children:t});let{isInverse:u,name:d}=e,f=u||s;if(c.hasEverThemed||=!0,(f||e.name===`dark`||e.name===`light`)&&(c.hasEverThemed=`wrapped`),o&&e.parentId){let n=Ya(e.isNew?e.id:e.parentId);if(!n)throw Error(`‼️010`);t=l.Children.toArray(t).map(e=>(0,l.isValidElement)(e)?a?e:(0,l.cloneElement)(e,void 0,(0,X.jsx)(Vc,{name:n.name,children:e.props.children})):e)}if(s===!1)return t;{let i=n.contain?Wc:Uc,{className:o=``,color:s}=a?{}:Kc(e,n,r);if(t=(0,X.jsx)(`span`,{className:`${o} is_Theme`,style:a?i:{color:s,...i},children:t}),c.hasEverThemed===`wrapped`){let e=f?`${d.startsWith(`light`)?`t_light`:d.startsWith(`dark`)?`t_dark`:``} _dsp_contents`:`_dsp_contents`;t=(0,X.jsx)(`span`,{className:e,children:t})}return t}}var Uc={display:`contents`},Wc={display:`contents`,contain:`strict`},Gc={className:``,color:void 0};function Kc(e,t,n=!1){if(!e.isNew&&!t.forceClassName)return Gc;let r=e?.theme&&e.isNew?Ea(e.theme.color):``,i=e.name.replace(qc,``),a=i.split(`_`),o=`t_${i}`;if(a.length>1){let e=[];for(let t=1;t<=a.length;t++)e.push(`t_${a.slice(0,t).join(`_`)}`);o=e.join(` `)}return{color:r,className:`${n?``:`t_sub_theme`} ${o}`}}var qc=/^(dark|light)_/;function Jc(e,t,n=!1){let r=l.forwardRef(function(r,i){"use no memo";let a=To(t,r.componentName),o=a?.theme,s=a?.themeReset,{theme:c,componentName:u,themeReset:d,...f}=r,p,m=t?.context;if(m)for(let e in m.props){let t=r[e];t!==void 0&&(p||={},p[e]=t)}let h=(0,X.jsx)(e,{ref:i,...f,"data-disable-theme":!0}),g=null,_=u||t?.componentName;if(_&&(g||={},g.componentName=_),`debug`in r&&(g||={},g.debug=r.debug),(`theme`in r||o)&&(g||={},g.name=`theme`in r?r.theme:o),(`themeReset`in r||s)&&(g||={},g.reset=`themeReset`in r?d:s),n&&!g)return h;let v=(0,X.jsx)(Vc,{"disable-child-theme":!0,...g,children:h});if(m){let e=m.Provider,t=l.useContext(m);v=(0,X.jsx)(e,{...t,...p,children:v})}return v});return r.displayName=`Themed(${e?.displayName||e?.name||`Anonymous`})`,r}var Yc=new Map,Xc=!1;function Zc(){Xc||(Xc=!0,queueMicrotask(()=>{Yc.clear(),Xc=!1}))}function Qc(e){let t=e[2],n=e[4],r=Yc.get(t);if(r&&r.len===n.length&&r.first===n[0]&&r.last===n[n.length-1])return r.element;let i=(0,X.jsx)(`style`,{href:`t_${t}`,precedence:`default`,suppressHydrationWarning:!0,children:n.join(`
4
+ `)},t);return Yc.set(t,{element:i,len:n.length,first:n[0],last:n[n.length-1]}),i}function $c(e){if(e.length)return Zc(),(0,X.jsx)(X.Fragment,{children:e.map(Qc)})}var el=(e,t,n,r)=>{"use no memo";let i=zc(),a=!Rc(),o=t?.isStub?void 0:t?.useAnimations,{isHOC:s}=n,c=(0,l.useRef)(void 0);c.current||={startedUnhydrated:a&&!i};let u=!!(!s&&`transition`in e||e.style&&tl(e.style)),d=t?.inputStyle??`css`,f=t?.outputStyle??`css`,p=c.current;!a&&u&&(p.hasAnimated=!0);let m=!!(!s&&o&&t?.avoidReRenders&&Rr()?.pseudo&&(`hoverStyle`in e||`pressStyle`in e||`focusStyle`in e)),h=!!((u||m)&&!s&&o||p.hasAnimated),g=!Ar&&h;g&&!p.hasAnimated&&(p.hasAnimated=!0);let{disableClassName:_}=e,v=!s&&g&&e.animatePresence!==!1&&t?.usePresence?.()||null,y=v?.[2],b=y?.isPresent===!1,x=y?.isPresent===!0&&y.initial!==!1,S=!!e.enterStyle,C=u&&!i&&(t?.isReactNative||d!==`css`),w=!s&&(S||x||C||_)?S||x?Co:xo:So,T=nl(e);T!=null&&(w.disabled=T);let E=(0,l.useState)(w),D=e.forceStyle?{...E[0],[e.forceStyle]:!0}:E[0],O=E[1],k=g;C&&!n.isHOC&&!i&&(k=!1,p.willHydrate=!0),T!==D.disabled&&(T&&Object.assign(D,So),D.disabled=T,O(e=>({...D})));let A=e.group;if(!c.current.baseSetStateShallow){let e=c.current;e.baseSetStateShallow=e=>{O(t=>Dr(t,typeof e==`function`?e(t):e))}}let ee=c.current.baseSetStateShallow;if(y&&k&&i&&n.variants){let{enterVariant:t,exitVariant:r,enterExitVariant:i,custom:a}=y;Hs(a)&&Object.assign(e,a);let o=r??i,s=t??i;D.unmounted&&s&&n.variants[s]?e[s]=!0:b&&o&&(e[o]=r!==i)}let te=!!e.forceStyle;if(!i)te=!1;else if(i){let e=k&&i,t=!n.acceptsClassName&&(Hr(`disableSSR`)||!D.unmounted),r=_&&!D.unmounted;(e&&f!==`css`||r||t)&&(te=!0)}return{startedUnhydrated:p.startedUnhydrated,curStateRef:p,disabled:T,groupName:A,hasAnimationProp:u,hasEnterStyle:S,isAnimated:k,isExiting:b,isHydrated:i,presence:v,presenceState:y,setState:O,setStateShallow:ee,noClass:te,state:D,stateRef:c,inputStyle:d,outputStyle:f,willBeAnimated:g,willBeAnimatedClient:h,platformPseudo:m}};function tl(e){return Object.keys(e).some(t=>{let n=e[t];return n&&typeof n==`object`&&`_animation`in n})}var nl=e=>e.disabled||e.passThrough||e.accessibilityState?.disabled||e[`aria-disabled`]||e.accessibilityDisabled||!1,rl=(0,l.memo)((0,l.forwardRef)(function(e,t){let{children:n,...r}=e;if((0,l.isValidElement)(n)){let e=al(n,r);return(0,l.cloneElement)(n,n.type.avoidForwardRef?e:{...e,ref:yo(t,n.props.ref)})}return l.Children.count(n)>1?l.Children.only(null):null})),il={onPress:`onClick`,onPressOut:`onMouseUp`,onPressIn:`onMouseDown`};function al(e,t){let n=e.props,r=typeof e.type==`string`;if(r)for(let e in il)e in t&&(t[il[e]]=t[e],delete t[e]);let i=Dc(t,n);if(r)for(let e in il)e in i&&(i[il[e]]=i[e],delete i[e]);return i}var ol=new Map,sl=e=>{let t=ol.get(e);return t===void 0&&(t=e.replace(/([A-Z]+)([A-Z][a-z])/g,`$1-$2`).replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ol.set(e,t)),t},cl=new Set,ll=new Set([`hover`,`press`,`pressIn`,`group`,`focus`,`focusWithin`,`media`,`group`]),ul=[`disabled`,`hover`,`press`,`pressIn`,`focus`,`focusVisible`,`focusWithin`];if(typeof window<`u`){let e=()=>{cl.forEach(e=>e(e=>e.press||e.pressIn?{...e,press:!1,pressIn:!1}:e)),cl.clear()},t=()=>{cl.forEach(e=>e(e=>e.press||e.pressIn||e.hover?{...e,press:!1,pressIn:!1,hover:!1}:e)),cl.clear()};addEventListener(`mouseup`,e),addEventListener(`touchend`,t),addEventListener(`touchcancel`,t)}var dl={value:!1},fl={value:!1};typeof document<`u`&&(document.addEventListener(`keydown`,()=>{dl.value||=!0}),document.addEventListener(`mousedown`,()=>{dl.value&&=!1}),document.addEventListener(`mousemove`,()=>{dl.value&&=!1,fl.value=!1}),document.addEventListener(`touchstart`,()=>{fl.value=!0}));function pl(e){let t=null,{Component:n,isText:r,isHOC:i}=e,a=l.forwardRef((a,s)=>{"use no memo";t||=Gr();let{context:c,isReactNative:u}=e,d=a.debug,f=c?l.useContext(c):void 0,p=null,m=l.useContext(Cr),h=!!(r&&m.inText);({}).GUI_IS_CORE_NODE;let g=a,_=g.componentName||e.componentName,[v,y]=vr(To(e,g.componentName),f,a);g=v,p=y;let b=l.useContext(Tr),x=g.animatedBy&&t?t.animationDrivers?t.animationDrivers[g.animatedBy]??t.animations:g.animatedBy==="default"?t.animations:null:Eo(m.animationDriver)??Eo(t?.animations)??null,S=x?.useAnimations,C=el(g,x?.isStub?null:x,e,t),{disabled:w,groupName:T,hasAnimationProp:E,hasEnterStyle:D,isAnimated:O,isExiting:k,isHydrated:A,presence:ee,presenceState:te,setState:ne,noClass:re,state:j,stateRef:M,inputStyle:ie,outputStyle:ae,willBeAnimated:oe,willBeAnimatedClient:se,platformPseudo:ce,startedUnhydrated:le}=C;x?.avoidReRenders&&Mr(()=>{let e=M.current.prevPseudoState;e&&(e.hover||e.press||e.focus)&&M.current.updateStyleListener?.();let t=M.current.nextState;t&&(M.current.nextState=void 0,Or(j,t)||C.setStateShallow(t))}),Mr(()=>{if(!ce||g.disabled)return;let e=Rr()?.pseudo,t=M.current.host;if(e&&t)return e.subscribe(t,({hovered:e})=>{M.current.setStateShallow?.({hover:e})})},[ce,g.disabled]);let ue=(0,l.useMemo)(()=>{if(!T||g.passThrough)return b;let e=new Set;return M.current.group?.listeners?.clear(),M.current.group={listeners:e,emit(t){e.forEach(e=>e(t))},subscribe(t){return e.add(t),e.size===1&&N({hasDynGroupChildren:!0}),()=>{e.delete(t),e.size===0&&N({hasDynGroupChildren:!1})}}},{...b,[T]:{state:{pseudo:So},subscribe:e=>{let t=M.current.group?.subscribe(e);return()=>{t?.()}}}}},[M,T,b]),N=C.setStateShallow,P=g.render,F=(!n||typeof n==`string`)&&P||n,de=r?F||`span`:F||(h?`span`:`div`),fe=de;x&&O&&x.needsCustomComponent&&(fe=x[r?`Text`:`View`]||fe);let pe=g[`data-disable-theme`]||i,me={componentName:_,disable:pe,shallow:g.themeShallow,debug:d,unstyled:g.unstyled};`theme`in g&&(me.name=g.theme),me.needsUpdate=()=>!!M.current.isListeningToTheme;let[he,I]=_o(me);fe=F||fe;let ge=Vi(m,d);Aa(!1);let L={mediaState:ge,noClass:re,resolveValues:O&&ie!==`css`||i&&j.unmounted==0&&E?`value`:`auto`,isExiting:k,isAnimated:O,willBeAnimated:oe,styledContext:f},_e=I?.name||``,R=gc(g,e,he,_e,j,L,null,m,ue,fe,le,d,x),z=!R,ve=e.context;if(R?.overriddenContextProps){let t=e.context||e.parentStaticConfig?.context;if(t){for(let e in R.overriddenContextProps)p||={},p[e]=R.overriddenContextProps[e];e.context||(ve=t)}}let B=T&&ue?.[T]||null;if(!z&&B&&g.containerType!==`normal`){let e=B?.state;e&&e.layout===void 0&&(R.style?.width||R.style?.height)&&(e.layout={width:ml(R.style.width),height:ml(R.style.height)})}let ye=g.transition&&typeof g.transition==`object`&&!Array.isArray(g.transition)&&(`enter`in g.transition||`exit`in g.transition);if(!z&&(E||T||ce)&&x?.avoidReRenders&&!ye){let t=N;M.current.updateStyleListener=()=>{let n=M.current.useStyleListener;if(!n){let e=M.current.nextState;e&&t(e);return}let r=M.current.nextState||j,i=M.current.nextMedia,a=dc(g,e,he,_e,r,i?{...L,mediaState:i}:L,null,m,ue,fe,le,d,x),o=kc(M.current.prevPseudoState,r,a?.pseudoTransitions,g.transition??(ce?`0ms`:void 0));M.current.prevPseudoState=Ac(r);let s=!!(r.hover||r.press||r.pressIn||r.focus||r.focusWithin);n(a?.style||{},o,s)};function n(){let e=M.current.nextState;if(B){let{group:t,hasDynGroupChildren:n,unmounted:r,transition:i,...a}=e;o(B,M.current.group||null,a)}}if(m.mediaEmitListeners=m.mediaEmitListeners||new Set,!M.current.mediaEmitCleanup){let e=e=>{M.current.nextMedia=e,M.current.updateStyleListener?.()};m.mediaEmitListeners.add(e),M.current.mediaEmitCleanup=()=>{m.mediaEmitListeners?.delete(e)}}m.mediaEmit=m.mediaEmit||(e=>{for(let t of m.mediaEmitListeners)t(e)}),M.current.setStateShallow=e=>{let r=M.current.nextState||j,i=typeof e==`function`?e(r):e;if(i===r||Or(r,i))return;let a=Object.keys(i).every(e=>ll.has(e)),o={...r,...i};M.current.nextState=o,a?(n(),M.current.updateStyleListener?.()):t(i)},N=e=>{M.current.setStateShallow?.(e)}}R&&(g.group&&g.untilMeasured===`hide`&&!M.current.hasMeasured&&(R.style=R.style||{},R.style.opacity=0),R.dynamicThemeAccess!=null&&(M.current.isListeningToTheme=R.dynamicThemeAccess));let be=R?.hasMedia&&R.hasMedia!==!0;zi(m,ja()||be||re&&R?.hasMedia===!0,be?R.hasMedia:null);let{viewProps:V,pseudos:xe,style:H,classNames:Se,pseudoGroups:Ce,mediaGroups:we}=R||{},U=g,{asChild:Te,children:Ee,themeShallow:De,spaceDirection:Oe,onPress:ke,onLongPress:Ae,onPressIn:W,onPressOut:je,onHoverIn:Me,onHoverOut:Ne,onMouseUp:Pe,onMouseDown:Fe,onMouseEnter:G,onMouseLeave:K,onFocus:Ie,onBlur:Le,onDidAnimate:Re,separator:ze,passThrough:q,forceStyle:Be,onClick:Ve,theme:He,...Ue}=V||{},We=Ue;g.forceStyle&&(We.forceStyle=g.forceStyle),i&&(He!==void 0&&(We.theme=He),q!==void 0&&(We.passThrough=q));let Ge,Ke=(ie===`css`?se:oe)&&S&&!i,qe;if(Ke){let t=x?.avoidReRenders?e=>{M.current.useStyleListener=e}:void 0,n=kc(M.current.prevPseudoState,j,R?.pseudoTransitions,g.transition??(ce?`0ms`:void 0));R&&(R.effectiveTransition=n),M.current.prevPseudoState=Ac(j);let r=S({props:U,style:A?H||{}:{...H},styleState:R,useStyleEmitter:t,presence:ee,componentState:j,styleProps:L,theme:he,themeName:_e,pseudos:xe||null,staticConfig:e,stateRef:M,onDidAnimate:Re});r&&(r.ref&&(qe=r.ref),A&&r&&(Ge=r.style,We.style=Ge,r.className&&(We.className=`${j.unmounted===`should-enter`?`t_unmounted `:``}${We.className||``} ${r.className}`)))}!z&&B&&g.containerType!==`normal`&&(Ue.onLayout=Qi(Ue.onLayout,e=>{let t=e.nativeEvent.layout;B.state.layout=t,M.current.group?.emit({layout:t}),!M.current.hasMeasured&&g.untilMeasured===`hide`&&ne(e=>({...e})),M.current.hasMeasured=!0})),We=jc.usePropsTransform?.(fe,Ue,M,M.current.willHydrate)||Ue,M.current.composedRef||(M.current.composedRef=yo(e=>M.current.host=e,s,Nc,qe)),We.ref=M.current.composedRef;let Je=()=>{N({press:!1,pressIn:!1})};Mr(()=>{if(j.unmounted===!0&&D){N({unmounted:`should-enter`});return}if(j.unmounted){if(ie===`css`){let e=!1;return requestAnimationFrame(()=>{e||requestAnimationFrame(()=>{e||N({unmounted:!1})})}),()=>{e=!0}}N({unmounted:!1})}return()=>{cl.delete(ne),M.current.mediaEmitCleanup?.()}},[j.unmounted,ie]),Mr(()=>{if(!w&&(Ce||we)&&ue)return Pc({groupContext:ue,setStateShallow:N,mediaGroups:we,pseudoGroups:Ce})},[ue,w,Ce?br(Ce):0,we?br(we):0]);let Ye=M.current.group;Mr(()=>{B&&Ye&&o(B,Ye,j)},[B,Ye,j]);let Xe=!w&&re&&xe?.pressStyle,Ze=!w&&re&&xe?.focusStyle,Qe=!w&&re&&xe?.focusVisibleStyle,$e=!!(Xe||Ze||Qe||Ie||Le||m.setParentFocusState),J=!!(T&&j.hasDynGroupChildren),et=!!(J||Xe||ke||je||W||Fe||Pe||Ae||Ve||xe?.focusVisibleStyle),tt=!w&&re&&xe?.hoverStyle,nt=!!(J||tt&&!ce),rt=!!(J||nt||G||K),it=!w&&!g.asChild&&!!($e||et||rt||Xe||tt||Ze),at=!!(J||Xe),ot=it?{onPressOut:et?e=>{Je(),je?.(e),Pe?.(e)}:void 0,...(rt||et)&&{onMouseEnter:e=>{let t={};nt&&!fl.value&&(t.hover=!0),at&&j.pressIn&&(t.press=!0),N(t),Me?.(e),G?.(e)},onMouseLeave:e=>{let t={};nt&&(t.hover=!1),at&&(t.press=!1,t.pressIn=!1),N(t),Ne?.(e),K?.(e)}},onPressIn:et?e=>{at&&N({press:!0,pressIn:!0}),W?.(e),Fe?.(e),cl.add(ne)}:void 0,onPress:et?e=>{Je(),Ve?.(e),(ke||Ve)&&e.stopPropagation(),ke?.(e),Ae?.(e)}:void 0,...$e&&{onFocus:e=>{let t={};m.setParentFocusState&&(m.setParentFocusState({focusWithin:!0}),t.focusWithin=!0),xe?.focusVisibleStyle&&dl.value?t.focusVisible=!0:t.focus=!0,N(t),Ie?.(e)},onBlur:e=>{m.setParentFocusState&&m.setParentFocusState({focusWithin:!1}),N({focus:!1,focusVisible:!1,focusWithin:!1}),Le?.(e)}}}:null;ot&&!u&&Object.assign(We,wo(ot));let st=g,ct=a;if([_,g.testID??a.testID??g.accessibilityLabel??a.accessibilityLabel??(typeof st.href==`string`?st.href:null)??(typeof ct.href==`string`?ct.href:null)].filter(Boolean).join(`:`),Te){fe=rl;{let e=wo({onPress:ke,onLongPress:Ae,onPressIn:W,onPressOut:je,onMouseUp:Pe,onMouseDown:Fe,onMouseEnter:G,onMouseLeave:K},Te===`web`||Te===`except-style-web`);Object.assign(We,e)}}_&&!(`data-slot`in We)&&(We[`data-slot`]=sl(_));let Y;if(z)Y=l.createElement(de,{style:{display:`contents`}},a.children);else{jc.useChildren&&(Y=jc.useChildren(fe,Y||Ee,We));let e=typeof P==`string`;if(P&&!e){let e=hl(P,Y||Ee,We,C);e&&(We=e.viewProps,fe=e.elementType)}Y||=(e&&We.render,l.createElement(fe,We,Y||Ee))}let lt=x?.ResetPresence,ut=!!(!Te&&R&&!i&&lt&&oe&&(D||te)),dt=M.current.hasEverResetPresence;if(ut&&!dt&&(M.current.hasEverResetPresence=!0),(ut||dt)&&lt&&(Y=(0,X.jsx)(lt,{disabled:!ut,children:Y})),(`focusWithinStyle`in a||xe?.focusWithinStyle)&&(Y=(0,X.jsx)(Cr.Provider,{...m,setParentFocusState:N,children:Y})),`group`in g&&(Y=(0,X.jsx)(Tr.Provider,{value:ue,children:Y})),!Te&&r&&!h&&(Y=(0,X.jsx)(Cr.Provider,{...m,inText:!0,children:Y})),Y=pe||!R?Y:Hc(I,Y,me,!1,M),u&&!Te&&(Y=(0,X.jsx)(`span`,{className:`_dsp_contents`,...!z&&A&&ot&&wo(ot),children:Y})),p&&ve){let e=ve.Provider;for(let e in f)e in p||(p[e]=f[e]);Y=(0,X.jsx)(e,{__disableMergeDefaultValues:!0,...p,children:Y})}return le&&R&&(Y=(0,X.jsxs)(X.Fragment,{children:[Y,A?null:$c(Object.values(R.rulesToInsert))]})),Y});function o(e,t,n){if(!e||!t)return;let r=e.state.pseudo,i=!r||`unmounted`in r||`group`in r||`hasDynGroupChildren`in r||`transition`in r,a=i?{}:r,o=i;for(let e=0;e<ul.length;e++){let t=ul[e],r=n[t];a[t]===r?o&&(a[t]=r):(a[t]=r,o=!0)}o&&(e.state.pseudo=a,t.emit(e.state))}e.componentName&&(a.displayName=e.componentName);let s=a;s=l.memo(s),s.staticConfig=e;function c(t){return{...e,...t,neverFlatten:!0,isHOC:!0,isStyledHOC:!1}}function u(e,t){let n=typeof e==`function`&&e.length===1?e:l.forwardRef(e),r=c(t?.staticConfig);return n=t?.disableTheme?n:Jc(n,r,!0),(r.memo||{}.GUI_MEMOIZE_STYLEABLE)&&(n=l.memo(n)),n.staticConfig=r,n.styleable=u,n}return s.styleable=u,s}var ml=e=>typeof e==`number`?e:typeof e==`string`?+e.replace(`px`,``):0,hl=(e,t,n,r)=>{if(typeof e==`function`&&(e=gl(e(n,r))),e&&typeof e==`object`&&l.isValidElement(e)&&gl(e)){let r=e.props,i=r?Oc(r,n,t):n;return{elementType:e.type,viewProps:i}}};function gl(e){return e}var _l=e=>{({}).GUI_DID_OUTPUT_CSS||yl.set(Ma(e),e)},vl=(e,t=!1)=>({}).GUI_DID_OUTPUT_CSS?``:`--${{}.GUI_CSS_VARIABLE_PREFIX||``}${Pa(e.name,!1)}:${!t&&typeof e.val==`number`?`${e.val}px`:e.val}`,yl=new Map,bl=0,xl=[],Sl=e=>{if(yl.has(e))return yl.get(e);let t=`t${bl++}`,n={val:e,name:t,variable:`var(--${t})`};return yl.set(e,n),xl.push(n),n},Cl=1e4,wl=[],Tl=new Map,El=e=>{if(Tl.has(e))return Tl.get(e);let t=`t${Cl++}`,n={val:e,name:t,variable:`var(--${t})`};return Tl.set(e,n),wl.push(n),n},Dl=[`dark`,`light`],Ol=[`light`,`dark`];function kl(e){if(!{}.GUI_DID_OUTPUT_CSS&&(!{}.GUI_DOES_SSR_CSS||{}.GUI_DOES_SSR_CSS===`mutates-themes`||{}.GUI_DOES_SSR_CSS===`false`)){let t=[],{config:n,themeName:r,theme:i,names:a}=e,o=e.hasDarkLight??(n.themes&&(`light`in n.themes||`dark`in n.themes)),s=``,c=e.useMutatedVariables?El:Sl;for(let e in i){let t=i[e],n=c(t.val).variable;s+=`--${{}.GUI_CSS_VARIABLE_PREFIX||``}${Yi(e,40)}:${n};`}let l=r===`dark`,u=r===`light`,d=a.map(e=>`.t_${e}`),f=new Set(l||u?d:[]);if(o)for(let e of a){let t=l||e.startsWith(`dark_`),n=!t&&(u||e.startsWith(`light_`));if(!(t||n)){f.add(`.t_${e}`);continue}let r=`.t_${e.replace(/^(dark|light)_/,``)}`,[i,a]=t?Dl:Ol;for(let e=0;e<3;e++){let t=e%2==1;if(t&&e<3)continue;let n=Array(e+1).fill(0).map((e,t)=>`.t_${t%2==0?i:a}`),o=n.length>1?n.slice(1):n;if(t){let[e,t,...n]=o;o=[t,...n,t]}let s=r===o[o.length-1]?``:r,c=o.join(` `);f.add(`${c} ${s}`)}}let p=[...f].sort(oc),m=`${p.map(e=>{let t=Hr(`addThemeClassName`);return!Ml(e)||t!==`html`&&t!==`body`?`:root ${e}`:`${t===`body`?`body`:`:root`}${e}`}).join(`, `)+`, .tm_xxt`} {${s}}`;if(t.push(m),Hr(`shouldAddPrefersColorThemes`)){let e=r.startsWith(`dark`),n=e?`dark`:`light`,a=p.map(t=>{if(t==Al||t===jl)return`:root`;if(!(e&&t.startsWith(jl)||!e&&t.startsWith(Al)))return t.replace(/^\.t_(dark|light) /,``).trim()}).filter(Boolean).join(`, `),o=!r.includes(`_`),c=``;if(o){let e=i.background?`background:${Ea(i.background)};`:``,t=i.color?`color:${Ea(i.color)}`:``;c=e||t?`body{${e}${t}}\n `:``}let l=`${a} {${s}}`,u=`@media(prefers-color-scheme:${n}){
5
+ ${c}${l}
6
+ }`;t.push(u)}let h=Hr(`selectionStyles`);if(h){let e=h(i);if(e){let n=d.map(e=>`${e} ::selection`).join(`, `),r=Object.entries(e).flatMap(([e,t])=>t?`${e===`backgroundColor`?`background`:e}:${Ea(t)}`:[]).join(`;`);if(r){let e=`${n}{${r}}`;t.push(e)}}}return t}return[]}var Al=`.t_dark`,jl=`.t_light`,Ml=e=>e===Al||e===jl||e.startsWith(`.t_dark `)||e.startsWith(`.t_light `),Nl={};function Pl(e){for(let{names:t,theme:n}of e)for(let e of t)Nl[e]=n;let t={};for(let{names:n,theme:r}of e)for(let e of n)t[e]=Fl(e,r);return t}function Fl(e,t){let n={},r=[],i=e.split(`_`).slice(0,-1).map(e=>(r.push(e),r.join(`_`)));for(let e of i)Object.assign(n,Nl[e]);return Object.assign(n,t),n}function Il(e,t){let n=e[t];Da(n)?n.name!==t&&(e[t]=Ta({key:n.name,name:t,val:n.val})):e[t]=Ta({key:t,name:t,val:n})}var Ll=new WeakMap,Rl=(e,t=``,n=!1)=>{if(Ll.has(e))return e;let r={},i=0;for(let n in e){i++;let a=e[n],o=n[0]===`$`,s=o?n:`$${n}`,c=o?s.slice(1):n;if(Da(a)){r[c]=a;continue}let l=Yi(c,1e3),u=t&&t!==`t-color`?`${t}-${l}`:`c-${l}`;if(a&&typeof a==`object`&&`needsPx`in a&&`val`in a){let e=Ta({val:a.val,name:u,key:s});e.needsPx=a.needsPx,r[c]=e;continue}if(a&&typeof a==`object`){r[c]=Rl(e[c],u,!1);continue}r[c]=Da(a)?a:Ta({val:a,name:u,key:s})}return Ll.set(r,!0),r},zl=e=>{console.warn(`No animation driver configured. To use ${e}, you must pass \`animations\` to createGui. See: https://hanzogui.dev/docs/core/animations`)},Bl={isReactNative:!1,inputStyle:`css`,outputStyle:`css`,isStub:!0,animations:{},useAnimations:()=>zl(`animations`),usePresence:()=>zl(`usePresence`),ResetPresence:()=>zl(`ResetPresence`),useAnimatedNumber:()=>zl(`useAnimatedNumber`),useAnimatedNumberStyle:()=>zl(`useAnimatedNumberStyle`),useAnimatedNumbersStyle:()=>zl(`useAnimatedNumbersStyle`),useAnimatedNumberReaction:()=>zl(`useAnimatedNumberReaction`)};function Vl(e,t=`$true`){let n=[`font-family: var(--f-family)`],r=e=>{let n=e?.[t];if(Da(n))return Na(n)},i=r(e.letterSpacing);i&&n.push(`letter-spacing: ${i}`);let a=r(e.lineHeight);a&&n.push(`line-height: ${a}`);let o=r(e.style);o&&n.push(`font-style: ${o}`);let s=r(e.weight);return s&&n.push(`font-weight: ${s}`),n}function Hl(e,t){if(!{}.GUI_DID_OUTPUT_CSS){let n=[],r=Object.keys(e).sort();for(let i of r){let r=Object.keys(e[i]).sort();for(let a of r){let r=e[i][a];{_l(r);let e=r.needsPx===!0,a=t(i),o=!(e||a);n.push(vl(r,o))}}}return n}return[]}function Ul(e,t){if(!{}.GUI_DID_OUTPUT_CSS){let n={};if(!e)return n;let r=Object.keys(e).sort();for(let i of r){let r=e[i],[a,o]=i.includes(`_`)?i.split(`_`):[i],s=t(r);n[i]={name:a.slice(1),declarations:s,language:o,fontParsed:r}}return n}return{}}function Wl(e,t,n=`$true`){if(!{}.GUI_DID_OUTPUT_CSS){let r=[];function i(e,t=``){return`:root${t} { ${[...e].join(`; `)}\n}`}e.length&&r.push(i(e));let a=[],o=Object.keys(t).sort();for(let e of o){let{name:n,declarations:o,language:s=`default`}=t[e],c=`.font_${n}`;a.push(c);let l=`:root .t_lang-${n}-${s} ${c}`,u=i(o,s==="default"?` ${c}, ${l}`:l);r.push(u)}if(a.length){let e=t[o[0]];if(e?.fontParsed){let t=Vl(e.fontParsed,n),i=[...a,`.is_View`].join(`, `);r.push(`${i} {${t.join(`; `)}}`)}}return r}return[]}function Gl(e,t){if(!{}.GUI_DID_OUTPUT_CSS){let n=[];for(let{names:r,theme:i}of e){let e=kl({config:t,themeName:r[0],names:r,theme:i});n=[...n,...e]}return n}return[]}function Kl(e,t={},n){if(!{}.GUI_DID_OUTPUT_CSS){let{separator:r=`
7
+ `,sinceLastCall:i,exclude:a}=t;if(i&&n.value>=0){let e=Qo(),t=e.slice(n.value);return n.value=e.length,t.join(r)}n.value=0;let o=Qo().join(r);if(a===`design-system`)return o;let s=a?``:e.getThemeRulesSets().join(r);return`${`._ovs-contain {overscroll-behavior:contain;}
8
+ .t_unmounted .is_View, .t_unmounted .is_Text { transition: none !important; }
9
+ .is_View { display: flex; align-items: stretch; flex-direction: column; flex-basis: auto; box-sizing: border-box; min-height: 0; min-width: 0; flex-shrink: 0; }
10
+ .is_Text { display: inline; box-sizing: border-box; word-wrap: break-word; white-space: pre-wrap; margin: 0; }
11
+ @scope (.is_Text) to (.is_View) { .is_Text { white-space: inherit; word-wrap: inherit; } }
12
+ ._dsp_contents {display:contents;}
13
+ ._no_backdrop::backdrop {display: none;}
14
+ .is_Input::selection, .is_TextArea::selection {background-color: var(--t_selectionColor);}
15
+ .is_Input::placeholder, .is_TextArea::placeholder {color: var(--t_placeholderColor);}
16
+ :root ._pe-boxonly>* {pointer-events:none;}
17
+ :root ._pe-boxnone>* {pointer-events:auto;}
18
+ ._hsb-x::-webkit-scrollbar:horizontal { display: none !important; }
19
+ ._hsb-y::-webkit-scrollbar:vertical { display: none !important; }
20
+ ._hsb-x { scrollbar-width: none !important; }
21
+ ._hsb-y { scrollbar-width: none !important; }
22
+ ${xl.length?`:root{${xl.map(e=>`--${e.name}:${e.val}`).join(`;`)}}`:``}
23
+ ${e.cssRuleSets.join(r)}`}
24
+ ${s}
25
+ ${o}`}return``}function ql(e){let t={};for(let n in e){let r=e[n];if(n===`family`||n===`face`)t[n]=r;else{t[n]={};for(let e in r){let i=r[e];i.val?.[0]===`$`&&(i=i.val),t[n][`$${e}`]=i}}}return t}function Jl(e){if(!{}.GUI_DID_OUTPUT_CSS){let t=[];for(let n in e)if(n!==`face`){if(n===`family`){let r=e[n];_l(r),t.push(vl(r))}else for(let r in e[n])if(typeof e[n][r]!=`string`){let i=e[n][r];_l(i),t.push(vl(i))}}return t}return[]}function Yl(e){return new Set([`size`,`space`,`radius`]).has(e)}function Xl(e){Wr(e),Di(e)}function Zl(e){let t=Kr();t&&(e={...t,...e});let n={},r=Rl(e.tokens||{});if(e.tokens){let e={};for(let t in r){n[t]={},e[t]={};let i=r[t];for(let r in i){let a=i[r],o=`$${r}`;n[t][o]=a,e[t][o]=a,e[t][r]=a}}Jr(e)}let i;if(e.themes){let t=Object.keys(e.themes).length===0;t&&!{}.GUI_DID_OUTPUT_CSS&&(i=es(t,n))}let a=null,o;if(e.fonts){let t=Object.fromEntries(Object.entries(e.fonts).map(([e,t])=>[e,Rl(t,`f`,!0)]));o=(()=>{let e={};for(let n in t){let r=t[n],i=ql(r);e[`$${n}`]=i,!a&&i.size&&(a=new Set(Object.keys(i.size)))}return e})()}let s={},c=(()=>{let t=Object.keys(r).sort();for(let e of t){let t=Object.keys(r[e]).sort();for(let n of t){let t=r[e][n];s[`$${e}.${n}`]=t}}let n=Wl(Hl(r,Yl),Ul(o,Jl)),a=e.themes,c=i??Ql(a,r.color);return{themes:Pl(c),cssRuleSets:n,getThemeRulesSets(){return Gl(c,e)}}})(),l=e.shorthands||{},u={...$l,...l},d={value:-1},f=(e={})=>Kl(c,e,d),p=e=>f({...e,sinceLastCall:!0}),m=e.settings?.defaultFont,h=(()=>{let e=m;return e?.[0]===`$`&&(e=e.slice(1)),e})(),g=e.settings?.defaultPosition||`static`,_=e.defaultProps||{};g!==`static`&&(_.View={..._.View,position:g});let v=h?`$${h}`:``,y=e.animations,b=Eo(y),x=b!==null&&b!==y,S=b??y,C=x?y:void 0,w={fonts:{},onlyAllowShorthands:!1,fontLanguages:[],media:{},...e,animations:S??Bl,animationDrivers:C,defaultProps:_,settings:{webContainerType:`inline-size`,...e.settings},tokens:r,shorthands:u,userShorthands:l,inverseShorthands:u?Object.fromEntries(Object.entries(u).map(([e,t])=>[t,e])):{},themes:c.themes,fontsParsed:o||{},themeConfig:c,tokensParsed:n,parsed:!0,getNewCSS:p,getCSS:f,defaultFont:h,fontSizeTokens:a||new Set,specificTokens:s,defaultFontToken:v};return Xl(w),w}function Ql(e,t){let n=[],r=new Map,i=Object.keys(e).sort();for(let a of i){let i=a.startsWith(`dark`)?`dark`:a.startsWith(`light`)?`light`:``,o=e[a],s=i+JSON.stringify(o);if(r.has(s)){r.get(s).names.push(a);continue}let c={...t,...o};for(let e in c)Il(c,e);let l={names:[a],theme:c};n.push(l),r.set(s,l)}return n}var $l={bblr:`borderBottomLeftRadius`,bbrr:`borderBottomRightRadius`,bbs:`borderBottomStyle`,bls:`borderLeftStyle`,brc:`borderRightColor`,brs:`borderRightStyle`,brw:`borderRightWidth`,bs:`borderStyle`,btc:`borderTopColor`,btlr:`borderTopLeftRadius`,btrr:`borderTopRightRadius`,bts:`borderTopStyle`,btw:`borderTopWidth`,bw:`borderWidth`,bxs:`boxSizing`,bxsh:`boxShadow`,col:`color`,cur:`cursor`,dsp:`display`,fb:`flexBasis`,fd:`flexDirection`,ff:`fontFamily`,fs:`fontSize`,fst:`fontStyle`,fw:`fontWeight`,fwr:`flexWrap`,lh:`lineHeight`,ls:`letterSpacing`,o:`opacity`,ov:`overflow`,ox:`overflowX`,oy:`overflowY`,pe:`pointerEvents`,pos:`position`,td:`textDecorationLine`,tr:`transform`,tt:`textTransform`,va:`verticalAlign`,wb:`wordBreak`,ws:`whiteSpace`,ww:`wordWrap`},eu=new WeakMap;function tu(e){if(e)return e.getSize&&e.prefetch?nu.Image:e.displayName===`Text`&&e.render?nu.Text:e.render&&(e.displayName===`ScrollView`||e.displayName===`View`)?nu.default:e.State?.blurTextInput?nu.TextInput:eu.get(e)}var nu={Image:{isReactNative:!0,inlineProps:new Set([`src`,`width`,`height`])},Text:{isReactNative:!0,isText:!0},TextInput:{isReactNative:!0,isInput:!0,isText:!0},default:{isReactNative:!0}},ru=(e,t,n=0)=>{let r={};for(let i in t){let a=e?.[i],o=t[i];r[i]=!a||typeof o==`function`?o:a&&!o?a[i]:n===0?ru(a,o,n+1):{...a,...o}}return{...e,...r}},iu=new Set(`a.abbr.b.bdi.bdo.cite.code.data.del.dfn.em.i.ins.kbd.label.mark.q.s.samp.small.span.strong.sub.sup.time.u.var`.split(`.`));function au(e,t){let n=iu.has(e),{variants:r,name:i,defaultVariants:a,context:o,...s}=t||{},c={Component:e,variants:r,defaultProps:s,defaultVariants:a,componentName:i,isReactNative:!1,isText:n,acceptsClassName:!0,context:o};return(s.children||o)&&(c.neverFlatten=!0),pl(c)}function ou(e,t,n){let r=e.staticConfig,i=!!r&&!(r.isReactNative||r.isHOC),a=r?.isHOC&&!r?.isStyledHOC||i?e:r?.Component||e,o=r?void 0:tu(a),s=!!(o||n?.isReactNative||r?.isReactNative),c=pl((()=>{let{variants:e,name:c,defaultVariants:l,context:u,...d}=t||{},f,p;if(r&&(!r.isHOC||r.isStyledHOC)){let t=r.defaultProps;for(let e in t){let n=t[e];r.defaultVariants&&e in r.defaultVariants&&(!l||!(e in l))&&(f||={},f[e]=n),!(e in d)&&(!l||!(e in l))&&(p||={},p[e]=t[e])}r.variants&&(e=ru(r.variants,e))}(p||l||f)&&(d={...p,...f,...d,...l}),r?.isHOC&&c&&(d.componentName=c);let m=!!(n?.isText||r?.isText),h=n?.acceptsClassName??(i||s||r?.isHOC&&r?.acceptsClassName),g={...r,...n,...!i&&{Component:a},variants:e,defaultProps:d,defaultVariants:l,componentName:c||r?.componentName,isReactNative:s,isText:m,acceptsClassName:h,context:u,...o,isStyledHOC:!!r?.isHOC,parentStaticConfig:r};return(d.children||!h||u)&&(g.neverFlatten=!0),g})()||{});for(let t in e)t!==`propTypes`&&(t in c||(c[t]=e[t]));return c}var su=new Proxy(ou,{get(e,t){return t in e?e[t]:e=>au(t,e)}}),cu=pl({acceptsClassName:!0,validStyles:xa});function lu(e,t){let[n,r]=uu(e,{...t,noExpand:!0,noNormalize:!0,resolveValues:`none`});return{...n,...r}}function uu(e,t){let n=t?.forComponent?.staticConfig??cu.staticConfig,[r,i]=_o({componentName:n.componentName,name:`theme`in e?e.theme:void 0,needsUpdate(){return!0}}),a=l.useContext(Cr),o=l.useContext(Tr),{state:s,disabled:c,setStateShallow:u}=el(e,a.animationDriver,n,Gr()),d=t?.noMedia?ni:Vi(),f=gc(e,n,r,i?.name||``,s,{isAnimated:!1,mediaState:d,noSkip:!0,noMergeStyle:!0,noClass:!0,resolveValues:`auto`,...t},null,a,o),{mediaGroups:p,pseudoGroups:m}=f||{};return Mr(()=>{if(!c){if(s.unmounted){u({unmounted:!1});return}if(o)return Pc({groupContext:o,setStateShallow:u,mediaGroups:p,pseudoGroups:m})}},[c,o,m?Object.keys([...m]).join(``):0,p?Object.keys([...p]).join(``):0]),[f?.viewProps||{},f?.style||{},r,ni]}var du=``;function fu({children:e,theme:t,isRootRoot:n,passThrough:r,style:i}){let[a,o]=l.useState(!n);if(l.useEffect(()=>{a||o(!0)},[]),!du){let e=Gr().defaultFont;e&&(du=`font_${e}`)}let s=(0,X.jsx)(`span`,{style:i,className:`_dsp_contents ${a?``:`t_unmounted`} ${du}`,children:e});return n?s:(0,X.jsx)(Vc,{passThrough:r,contain:!0,forceClassName:!0,name:t,children:s})}var pu=e=>{"use no memo";let t=Hr(`addThemeClassName`);Mr(()=>{if(t===!1)return;let n=`t_${e.defaultTheme}`,r=Hr(`addThemeClassName`)===`html`?document.documentElement:document.body;return r.classList.add(n),()=>{r.classList.remove(n)}},[e.defaultTheme,t]);let n=t===void 0;return(0,X.jsx)(Vc,{className:e.className,name:e.defaultTheme,forceClassName:n,_isRoot:l.useId,children:e.children})},mu,hu;function gu(e){return e!==hu&&(hu=e,mu=e?.themes?Object.keys(e.themes)[0]:void 0),mu}function _u({children:e,disableInjectCSS:t,config:n,className:r,defaultTheme:i,reset:a,insets:o}){let s=i||gu(n)||`light`;Mr(()=>{ps(),Mi()},[]);let c=l.useMemo(()=>o,[o?.top,o?.right,o?.bottom,o?.left]),u=l.useMemo(()=>Eo(n?.animations),[n?.animations]);(0,l.useEffect)(()=>{u?.onMount?.()},[]);let d=(0,X.jsx)(Cr.Provider,{animationDriver:u,insets:c,children:(0,X.jsx)(pu,{defaultTheme:s,reset:a,className:r,children:(0,X.jsx)(fu,{theme:s,isRootRoot:!0,children:e})})});return Hr(`disableSSR`)&&(d=(0,X.jsx)(Lc,{enabled:!0,children:d})),(0,X.jsxs)(X.Fragment,{children:[d,n&&!t&&(0,X.jsx)(`style`,{precedence:`default`,href:`hanzogui-css`,children:n.getCSS()},`hanzogui-css`)]})}var vu={maxWidth:`100%`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},yu=pl({componentName:`Text`,acceptsClassName:!0,isText:!0,defaultProps:void 0,inlineWhenUnflattened:new Set([`fontFamily`]),inlineProps:new Set([`maxFontSizeMultiplier`]),variants:{numberOfLines:{1:vu,":number":e=>e>=1?{maxWidth:`100%`,WebkitLineClamp:e,WebkitBoxOrient:`vertical`,display:`-webkit-box`,overflow:`hidden`}:null},ellipsis:{true:vu}},validStyles:{...xa,..._a}}),bu=l.useInsertionEffect||l.useLayoutEffect;function xu(e,t,n){let r=l.useRef(t??e);return bu(()=>{r.current=e}),l.useCallback(n?(...e)=>r.current?.apply(null,e):()=>r.current,[])}function Su(e){return xu(e,Cu,!0)}var Cu=()=>{throw Error(`Cannot call an event handler while rendering.`)};globalThis.matchMedia;var wu=new WeakMap,Tu=new WeakMap,Eu=new Set,Du=new WeakMap,Ou=()=>globalThis.__GUI_ONLAYOUT_PRETRANSFORM===!0||{}.GUI_ONLAYOUT_PRETRANSFORM===`1`,ku={},Au=(0,l.createContext)(``),ju=typeof IntersectionObserver<`u`,Mu=({disable:e,children:t})=>{let n=(0,l.useId)();return Mr(()=>{ku[n]=e},[e,n]),(0,X.jsx)(Au.Provider,{value:n,children:t})},Nu=null,Pu=`async`,Fu=new WeakMap,Iu=!0,Lu=new Map;function Ru(){Iu&&(Iu=!1,Lu&&(Lu.forEach(e=>e()),Lu.clear()))}function zu(){ju&&!Nu&&(Nu=new IntersectionObserver(e=>{for(let t=0;t<e.length;t++){let n=e[t],r=n.target;Du.get(r)!==n.isIntersecting&&Du.set(r,n.isIntersecting)}},{threshold:0}))}function Bu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}if(ju){let e=new WeakMap,t=null,n=null,r=0,i=0;function a(){return t||(t=new IntersectionObserver(t=>{i=Math.round(performance.now()-r);for(let n=0;n<t.length;n++)e.set(t[n].target,t[n].boundingClientRect);n&&=(n(!0),null)},{threshold:0}),t)}async function o(t){if(typeof wu.get(t)!=`function`)return;let n=t.parentElement;if(!n)return;let r,i;if(Pu===`async`){if(r=e.get(t),i=e.get(n),!r||!i)return}else r=t.getBoundingClientRect(),i=n.getBoundingClientRect();Wu(t,n,r,i)}let s=typeof requestAnimationFrame<`u`?requestAnimationFrame:void 0,c={}.GUI_LAYOUT_FRAME_SKIP,l=c?+c:10,u=l,d=0;async function f(){if(d++%u!==0){s?s(f):setTimeout(f,16);return}if(d>=2**53-1&&(d=0),Pu!==`off`){let e=[],t=new Set;for(let n of Eu){let r=n.parentElement;if(!(r instanceof HTMLElement)){qu(n);continue}let i=Tu.get(n);i&&ku[i]===!0||Du.get(n)!==!1&&(e.push(n),t.add(r))}if(e.length>0){let s=a();r=performance.now();for(let t=0;t<e.length;t++)s.observe(e[t]);for(let e of t)s.observe(e);await new Promise(e=>{n=e});for(let t=0;t<e.length;t++)s.unobserve(e[t]);for(let e of t)s.unobserve(e);i>50?u=Math.min(u+2,20):i<20&&(u=Math.max(u-1,l));for(let t=0;t<e.length;t++)o(e[t])}}s?s(f):setTimeout(f,16)}f()}var Vu=(e,t,n)=>({nativeEvent:{layout:Uu(e,t,n),target:e},timeStamp:Date.now()}),Hu=e=>({width:e.offsetWidth,height:e.offsetHeight}),Uu=(e,t,n)=>{let{left:r,top:i}=e,a=r-t.left,o=i-t.top,{width:s,height:c}=Ou()&&n?Hu(n):{width:e.width,height:e.height};return{x:a,y:o,width:s,height:c,pageX:e.left,pageY:e.top}};function Wu(e,t,n,r){let i=wu.get(e);if(typeof i!=`function`)return;let a=Fu.get(e),o=Fu.get(t),s=!a||!Bu(a,n),c=!o||!Bu(o,r);if(!s&&!c)return;Fu.set(e,n),Fu.set(t,r);let l=Vu(n,r,e);Iu?Lu.set(e,()=>i(l)):i(l)}function Gu(e,t){Eu.add(e),t?Tu.set(e,t):Tu.delete(e),zu(),Nu&&(Nu.observe(e),Du.set(e,!0))}function Ku(e,t,n){return wu.set(e,t),Gu(e,n),()=>qu(e)}function qu(e){Eu.delete(e),wu.delete(e),Tu.delete(e),Fu.delete(e),Du.delete(e),Nu&&Nu.unobserve(e)}var Ju=new WeakMap;function Yu(e){let t=wu.get(e);if(typeof t!=`function`)return;let n=e.parentElement;if(!n)return;let r=e.getBoundingClientRect(),i=n.getBoundingClientRect();Fu.set(e,r),Fu.set(n,i),t(Vu(r,i,e))}function Xu(e,t){let n=(0,l.useContext)(Au),r=Zu(e.current?.host);r&&t&&(wu.set(r,t),Tu.set(r,n)),Mr(()=>{if(!t)return;let r=Zu(e.current?.host),i=Ju.get(e);r!==i&&(i&&qu(i),Ju.set(e,r),r&&(wu.set(r,t),Gu(r,n),Yu(r)))}),Mr(()=>{if(!t)return;let r=e.current?.host;if(r)return wu.set(r,t),Gu(r,n),()=>{qu(r);let t=Ju.get(e);t&&t!==r&&qu(t),Ju.delete(e)}},[e,!!t])}function Zu(e){if(!(typeof HTMLElement>`u`))return e instanceof HTMLElement?e:void 0}var Qu=e=>new Promise(t=>{if(!e||e.nodeType!==1)return t(!1);let n=new IntersectionObserver(e=>(n.disconnect(),t(e[0].boundingClientRect)),{threshold:0});n.observe(e)}),$u=async(e,t)=>{let n=t||e?.parentElement;if(n instanceof HTMLElement){let[t,r]=await Promise.all([Qu(e),Qu(n)]);if(r&&t)return Uu(t,r,e)}return null},ed=async(e,t)=>{let n=await $u(e,e.parentNode instanceof HTMLElement?e.parentNode:null);return n&&t?.(n.x,n.y,n.width,n.height,n.pageX,n.pageY),n};function td(e){return t=>ed(e,t)}var nd=async(e,t)=>{let n=await $u(e,null);return n&&t?.(n.pageX,n.pageY,n.width,n.height),n},rd=e=>t=>nd(e,t),id=async(e,t,n)=>{let r=await $u(e,t);return r&&n?.(r.x,r.y,r.width,r.height,r.pageX,r.pageY),r};function ad(e){return(t,n)=>id(e,t,n)}function od(){return null}var sd=e=>(Mr(()=>{Ru()},[]),(0,X.jsx)(_u,{...e})),cd=e=>Zl(e);Mc({getBaseViews:od,setElementProps:e=>{e&&!e.measure&&(e.measure||=td(e),e.measureInWindow||=rd(e),e.measureLayout||=ad(e))},usePropsTransform(e,t,n,r){{let i=typeof e==`string`,{onMoveShouldSetResponder:a,onMoveShouldSetResponderCapture:o,onResponderEnd:s,onResponderGrant:c,onResponderMove:l,onResponderReject:u,onResponderRelease:d,onResponderStart:f,onResponderTerminate:p,onResponderTerminationRequest:m,onScrollShouldSetResponder:h,onScrollShouldSetResponderCapture:g,onSelectionChangeShouldSetResponder:_,onSelectionChangeShouldSetResponderCapture:v,onStartShouldSetResponder:y,onStartShouldSetResponderCapture:b,collapsable:x,focusable:S,accessible:C,accessibilityDisabled:w,onLayout:T,hrefAttrs:E,...D}=t;if((r||i)&&Xu(n,i?T:void 0),i){if(D.href&&E){let{download:e,rel:t,target:n}=E;e!=null&&(D.download=e),t&&(D.rel=t),typeof n==`string`&&(D.target=n.charAt(0)===`_`?n:`_${n}`)}return D}}}});var ld=cu,ud=yu,dd=(e,t)=>{if(!e)return;let{tokens:n}=t,r=n.size[e];return fd(Da(r)?+r.val:e,t)},fd=(e,{theme:t,tokens:n})=>{let r=0;if(e===!0){let e=Ma(n.size.true);r=typeof e==`number`?e:10}else r=+e;if(r===0)return;let[i,a]=[Math.round(r/4+1),Math.round(r/2+2)];return{shadowColor:t.shadowColor,shadowRadius:a,shadowOffset:{height:i,width:0},...Pr?{elevationAndroid:2*i}:{}}},pd={position:`absolute`,inset:0},md={fullscreen:{true:pd},elevation:{"...size":dd,":number":dd}},hd=su(ld,{flexDirection:`column`,variants:md});hd.displayName=`YStack`;var gd=su(ld,{flexDirection:`row`,variants:md});gd.displayName=`XStack`;var _d=su(hd,{position:`relative`},{neverFlatten:!0,isZStack:!0});_d.displayName=`ZStack`;var vd={true:(e,t)=>dd(t.props.size,t)},yd=(e,{props:t})=>({borderWidth:typeof e==`number`?e:1,borderColor:`$borderColor`}),bd={borderRadius:1e5,padding:0},xd={true:(e,{props:t,tokens:n})=>{if(!(`size`in t))return bd;let r=typeof t.size==`number`?t.size:n.size[t.size];return{...bd,width:r,height:r,maxWidth:r,maxHeight:r,minWidth:r,minHeight:r}}},Sd={backgroundColor:`transparent`,borderColor:`transparent`,shadowColor:`transparent`,hoverStyle:{borderColor:`transparent`}},Cd={circular:xd,elevate:vd,bordered:{true:yd},transparent:{true:{backgroundColor:`transparent`}},chromeless:{true:Sd,all:{...Sd,hoverStyle:Sd,pressStyle:Sd,focusStyle:Sd}}},wd=su(hd,{variants:Cd}),Td={shift:0,bounds:[0]},Ed=(e,t)=>Md(`size`,e,t),Dd=(e,t)=>Md(`space`,e,t),Od={},kd={},Ad={},jd={},Md=(e,t,n=Td)=>{let r=Yr({prefixed:!0})[e];if(!(e in Od)){Ad[e]=[],Od[e]=[],jd[e]=[],kd[e]=[];let t=Object.keys(r).map(e=>r[e]).sort((e,t)=>e.val-t.val);for(let n of t)Ad[e].push(n.key),Od[e].push(n);let n=t.filter(e=>!e.key.endsWith(`.5`));for(let t of n)jd[e].push(t.key),kd[e].push(t)}let i=typeof t==`string`,a=(n.excludeHalfSteps?i?jd:kd:i?Ad:Od)[e],o=n.bounds?.[0]??0,s=n.bounds?.[1]??a.length-1,c=a.indexOf(t),l=n.shift||0;l&&(t===`$true`||Da(t)&&t.name===`true`)&&(l+=l>0?1:-1);let u=a[Math.min(s,Math.max(o,c+l))];return(typeof u==`string`?r[u]:u)||r.$true},Nd=(e,{tokens:t,props:n})=>{if(!e||n.circular)return;if(typeof e==`number`)return{paddingHorizontal:e*.25,height:e,borderRadius:n.circular?1e5:e*.2};let r=Dd(e),i=t.radius[e]??t.radius.$true;return{paddingHorizontal:r,height:e,borderRadius:n.circular?1e5:i}},Pd=l.createContext(!1),Fd=(e=`$true`,{font:t,fontFamily:n,props:r})=>{if(!t)return{fontSize:e};let i=e===`$true`?Ld(t):e,a={};if(typeof i==`number`)return a.fontSize=i,n&&(a.fontFamily=n),r.fontStyle&&(a.fontStyle=r.fontStyle),r.color&&(a.color=r.color),a;let o=t.size[i],s=t.lineHeight?.[i],c=t.weight?.[i],l=t.letterSpacing?.[i],u=t.transform?.[i],d=r.fontStyle??t.style?.[i],f=r.color??t.color?.[i];return d&&(a.fontStyle=d),u&&(a.textTransform=u),n&&(a.fontFamily=n),c&&(a.fontWeight=c),l&&(a.letterSpacing=l),o&&(a.fontSize=o),s&&(a.lineHeight=s),f&&(a.color=f),a};su(yu,{name:`SizableText`,fontFamily:`$body`,variants:{size:{"...fontSize":Fd}},defaultVariants:{size:`$true`}});var Id=new WeakMap;function Ld(e){if(typeof e==`object`&&Id.has(e))return Id.get(e);let t=Yr(),n=`$true`in e.size?e.size:t?.size;if(!n)return Object.keys(e.size)[3];let r=n.$true,i=r?Object.keys(n).find(e=>e!==`$true`&&n[e].val===r.val):null;return!r||!i?Object.keys(e.size)[3]:(Id.set(e,i),i)}var Rd=su(yu,{name:`SizableText`,fontFamily:`$body`,variants:{unstyled:{false:{size:`$true`,color:`$color`}},size:Fd},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}});Rd.staticConfig.inlineProps=new Set([...Rd.staticConfig.inlineProps||[],`maxFontSizeMultiplier`]),Rd.staticConfig.variants.fontFamily={"...":(e,t)=>{if(e===`inherit`)return{fontFamily:`inherit`};let n=t.props.size,r=t.props.fontSize;return Fd(n===`$true`&&r?r:t.props.size||`$true`,t)}};function zd(e,t,n){let{children:r,textProps:i,size:a,noTextWrap:o,color:s,fontFamily:c,fontSize:u,fontWeight:d,letterSpacing:f,textAlign:p,fontStyle:m,ellipsis:h,maxFontSizeMultiplier:g}=t;if(o||!r)return[r];let _={...n};return s&&(_.color=s),c&&(_.fontFamily=c),u&&(_.fontSize=u),d&&(_.fontWeight=d),f&&(_.letterSpacing=f),p&&(_.textAlign=p),a&&(_.size=a),m&&(_.fontStyle=m),h!==void 0&&(_.ellipsis=h),g!=null&&(_.maxFontSizeMultiplier=g),l.Children.toArray(r).map((t,n)=>typeof t==`string`?(0,X.jsx)(e,{..._,...i,children:t},n):t)}var Bd=e=>e.disabled||Array.isArray(e.accessibilityStates)&&e.accessibilityStates.indexOf(`disabled`)>-1,Vd={adjustable:`slider`,button:`button`,header:`heading`,image:`img`,imagebutton:null,keyboardkey:null,label:null,link:`link`,none:`presentation`,search:`search`,summary:`region`,text:null},Hd=e=>{var t=e.accessibilityRole,n=e.role||t;if(n){var r=Vd[n];if(r!==null)return r||n}},Ud={article:`article`,banner:`header`,blockquote:`blockquote`,button:`button`,code:`code`,complementary:`aside`,contentinfo:`footer`,deletion:`del`,emphasis:`em`,figure:`figure`,insertion:`ins`,form:`form`,list:`ul`,listitem:`li`,main:`main`,navigation:`nav`,paragraph:`p`,region:`section`,strong:`strong`},Wd={},Gd={isDisabled:Bd,propsToAccessibilityComponent:function(e){if(e===void 0&&(e=Wd),(e.role||e.accessibilityRole)===`label`)return`label`;var t=Hd(e);if(t){if(t===`heading`){var n=e.accessibilityLevel||e[`aria-level`];return n==null?`h1`:`h`+n}return Ud[t]}},propsToAriaRole:Hd};function Kd(e){"@babel/helpers - typeof";return Kd=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Kd(e)}function qd(e,t){if(Kd(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Kd(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Jd(e){var t=qd(e,`string`);return Kd(t)==`symbol`?t:t+``}function Yd(e,t,n){return(t=Jd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Xd(Object(n),!0).forEach(function(t){Yd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qd(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var $d={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!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,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},ef=[`ms`,`Moz`,`O`,`Webkit`],tf=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys($d).forEach(e=>{ef.forEach(t=>{$d[tf(t,e)]=$d[e]})});var nf=e=>e===`currentcolor`||e===`currentColor`||e===`inherit`||e.indexOf(`var(`)===0,rf=e(i(((e,t)=>{function n(e){if(typeof e==`number`)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if(typeof e!=`string`)return null;let t=f(),n;return(n=t.hex6.exec(e))?parseInt(n[1]+`ff`,16)>>>0:_(e)??((n=t.rgb.exec(e))?(p(n[1])<<24|p(n[2])<<16|p(n[3])<<8|255)>>>0:(n=t.rgba.exec(e))?n[6]===void 0?(p(n[2])<<24|p(n[3])<<16|p(n[4])<<8|h(n[5]))>>>0:(p(n[6])<<24|p(n[7])<<16|p(n[8])<<8|h(n[9]))>>>0:(n=t.hex3.exec(e))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+`ff`,16)>>>0:(n=t.hex8.exec(e))?parseInt(n[1],16)>>>0:(n=t.hex4.exec(e))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=t.hsl.exec(e))?(i(m(n[1]),g(n[2]),g(n[3]))|255)>>>0:(n=t.hsla.exec(e))?n[6]===void 0?(i(m(n[2]),g(n[3]),g(n[4]))|h(n[5]))>>>0:(i(m(n[6]),g(n[7]),g(n[8]))|h(n[9]))>>>0:(n=t.hwb.exec(e))?(a(m(n[1]),g(n[2]),g(n[3]))|255)>>>0:null)}function r(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i(e,t,n){let i=n<.5?n*(1+t):n+t-n*t,a=2*n-i,o=r(a,i,e+1/3),s=r(a,i,e),c=r(a,i,e-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(c*255)<<8}function a(e,t,n){if(t+n>=1){let e=Math.round(t*255/(t+n));return e<<24|e<<16|e<<8}let i=r(0,1,e+1/3)*(1-t-n)+t,a=r(0,1,e)*(1-t-n)+t,o=r(0,1,e-1/3)*(1-t-n)+t;return Math.round(i*255)<<24|Math.round(a*255)<<16|Math.round(o*255)<<8}var o=`[-+]?\\d*\\.?\\d+`,s=o+`%`;function c(...e){return`\\(\\s*(`+e.join(`)\\s*,?\\s*(`)+`)\\s*\\)`}function l(...e){return`\\(\\s*(`+e.slice(0,e.length-1).join(`)\\s*,?\\s*(`)+`)\\s*/\\s*(`+e[e.length-1]+`)\\s*\\)`}function u(...e){return`\\(\\s*(`+e.join(`)\\s*,\\s*(`)+`)\\s*\\)`}var d;function f(){return d===void 0&&(d={rgb:RegExp(`rgb`+c(o,o,o)),rgba:RegExp(`rgba(`+u(o,o,o,o)+`|`+l(o,o,o,o)+`)`),hsl:RegExp(`hsl`+c(o,s,s)),hsla:RegExp(`hsla(`+u(o,s,s,o)+`|`+l(o,s,s,o)+`)`),hwb:RegExp(`hwb`+c(o,s,s)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),d}function p(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function m(e){return(parseFloat(e)%360+360)%360/360}function h(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function g(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function _(e){switch(e){case`transparent`:return 0;case`aliceblue`:return 4042850303;case`antiquewhite`:return 4209760255;case`aqua`:return 16777215;case`aquamarine`:return 2147472639;case`azure`:return 4043309055;case`beige`:return 4126530815;case`bisque`:return 4293182719;case`black`:return 255;case`blanchedalmond`:return 4293643775;case`blue`:return 65535;case`blueviolet`:return 2318131967;case`brown`:return 2771004159;case`burlywood`:return 3736635391;case`burntsienna`:return 3934150143;case`cadetblue`:return 1604231423;case`chartreuse`:return 2147418367;case`chocolate`:return 3530104575;case`coral`:return 4286533887;case`cornflowerblue`:return 1687547391;case`cornsilk`:return 4294499583;case`crimson`:return 3692313855;case`cyan`:return 16777215;case`darkblue`:return 35839;case`darkcyan`:return 9145343;case`darkgoldenrod`:return 3095792639;case`darkgray`:return 2846468607;case`darkgreen`:return 6553855;case`darkgrey`:return 2846468607;case`darkkhaki`:return 3182914559;case`darkmagenta`:return 2332068863;case`darkolivegreen`:return 1433087999;case`darkorange`:return 4287365375;case`darkorchid`:return 2570243327;case`darkred`:return 2332033279;case`darksalmon`:return 3918953215;case`darkseagreen`:return 2411499519;case`darkslateblue`:return 1211993087;case`darkslategray`:return 793726975;case`darkslategrey`:return 793726975;case`darkturquoise`:return 13554175;case`darkviolet`:return 2483082239;case`deeppink`:return 4279538687;case`deepskyblue`:return 12582911;case`dimgray`:return 1768516095;case`dimgrey`:return 1768516095;case`dodgerblue`:return 512819199;case`firebrick`:return 2988581631;case`floralwhite`:return 4294635775;case`forestgreen`:return 579543807;case`fuchsia`:return 4278255615;case`gainsboro`:return 3705462015;case`ghostwhite`:return 4177068031;case`gold`:return 4292280575;case`goldenrod`:return 3668254975;case`gray`:return 2155905279;case`green`:return 8388863;case`greenyellow`:return 2919182335;case`grey`:return 2155905279;case`honeydew`:return 4043305215;case`hotpink`:return 4285117695;case`indianred`:return 3445382399;case`indigo`:return 1258324735;case`ivory`:return 4294963455;case`khaki`:return 4041641215;case`lavender`:return 3873897215;case`lavenderblush`:return 4293981695;case`lawngreen`:return 2096890111;case`lemonchiffon`:return 4294626815;case`lightblue`:return 2916673279;case`lightcoral`:return 4034953471;case`lightcyan`:return 3774873599;case`lightgoldenrodyellow`:return 4210742015;case`lightgray`:return 3553874943;case`lightgreen`:return 2431553791;case`lightgrey`:return 3553874943;case`lightpink`:return 4290167295;case`lightsalmon`:return 4288707327;case`lightseagreen`:return 548580095;case`lightskyblue`:return 2278488831;case`lightslategray`:return 2005441023;case`lightslategrey`:return 2005441023;case`lightsteelblue`:return 2965692159;case`lightyellow`:return 4294959359;case`lime`:return 16711935;case`limegreen`:return 852308735;case`linen`:return 4210091775;case`magenta`:return 4278255615;case`maroon`:return 2147483903;case`mediumaquamarine`:return 1724754687;case`mediumblue`:return 52735;case`mediumorchid`:return 3126187007;case`mediumpurple`:return 2473647103;case`mediumseagreen`:return 1018393087;case`mediumslateblue`:return 2070474495;case`mediumspringgreen`:return 16423679;case`mediumturquoise`:return 1221709055;case`mediumvioletred`:return 3340076543;case`midnightblue`:return 421097727;case`mintcream`:return 4127193855;case`mistyrose`:return 4293190143;case`moccasin`:return 4293178879;case`navajowhite`:return 4292783615;case`navy`:return 33023;case`oldlace`:return 4260751103;case`olive`:return 2155872511;case`olivedrab`:return 1804477439;case`orange`:return 4289003775;case`orangered`:return 4282712319;case`orchid`:return 3664828159;case`palegoldenrod`:return 4008225535;case`palegreen`:return 2566625535;case`paleturquoise`:return 2951671551;case`palevioletred`:return 3681588223;case`papayawhip`:return 4293907967;case`peachpuff`:return 4292524543;case`peru`:return 3448061951;case`pink`:return 4290825215;case`plum`:return 3718307327;case`powderblue`:return 2967529215;case`purple`:return 2147516671;case`rebeccapurple`:return 1714657791;case`red`:return 4278190335;case`rosybrown`:return 3163525119;case`royalblue`:return 1097458175;case`saddlebrown`:return 2336560127;case`salmon`:return 4202722047;case`sandybrown`:return 4104413439;case`seagreen`:return 780883967;case`seashell`:return 4294307583;case`sienna`:return 2689740287;case`silver`:return 3233857791;case`skyblue`:return 2278484991;case`slateblue`:return 1784335871;case`slategray`:return 1887473919;case`slategrey`:return 1887473919;case`snow`:return 4294638335;case`springgreen`:return 16744447;case`steelblue`:return 1182971135;case`tan`:return 3535047935;case`teal`:return 8421631;case`thistle`:return 3636451583;case`tomato`:return 4284696575;case`turquoise`:return 1088475391;case`violet`:return 4001558271;case`wheat`:return 4125012991;case`white`:return 4294967295;case`whitesmoke`:return 4126537215;case`yellow`:return 4294902015;case`yellowgreen`:return 2597139199}return null}t.exports=n}))()),af=e=>{if(e==null)return e;var t=(0,rf.default)(e);if(t!=null)return t=(t<<24|t>>>8)>>>0,t},of=function(e,t){if(t===void 0&&(t=1),e!=null){if(typeof e==`string`&&nf(e))return e;var n=af(e);if(n!=null){var r=n>>16&255,i=n>>8&255,a=n&255,o=((n>>24&255)/255*t).toFixed(2);return`rgba(`+r+`,`+i+`,`+a+`,`+o+`)`}}},sf={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function cf(e,t){var n=e;return(t==null||!$d[t])&&typeof e==`number`?n=e+`px`:t!=null&&sf[t]&&(n=of(e)),n}var lf=!!(typeof window<`u`&&window.document&&window.document.createElement),uf={},df=!lf||window.CSS!=null&&window.CSS.supports!=null&&(window.CSS.supports(`text-decoration-line`,`none`)||window.CSS.supports(`-webkit-text-decoration-line`,`none`)),ff=`monospace,monospace`,pf=`-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif`,mf={borderColor:[`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`],borderBlockColor:[`borderTopColor`,`borderBottomColor`],borderInlineColor:[`borderRightColor`,`borderLeftColor`],borderRadius:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`],borderStyle:[`borderTopStyle`,`borderRightStyle`,`borderBottomStyle`,`borderLeftStyle`],borderBlockStyle:[`borderTopStyle`,`borderBottomStyle`],borderInlineStyle:[`borderRightStyle`,`borderLeftStyle`],borderWidth:[`borderTopWidth`,`borderRightWidth`,`borderBottomWidth`,`borderLeftWidth`],borderBlockWidth:[`borderTopWidth`,`borderBottomWidth`],borderInlineWidth:[`borderRightWidth`,`borderLeftWidth`],insetBlock:[`top`,`bottom`],insetInline:[`left`,`right`],marginBlock:[`marginTop`,`marginBottom`],marginInline:[`marginRight`,`marginLeft`],paddingBlock:[`paddingTop`,`paddingBottom`],paddingInline:[`paddingRight`,`paddingLeft`],overflow:[`overflowX`,`overflowY`],overscrollBehavior:[`overscrollBehaviorX`,`overscrollBehaviorY`],borderBlockStartColor:[`borderTopColor`],borderBlockStartStyle:[`borderTopStyle`],borderBlockStartWidth:[`borderTopWidth`],borderBlockEndColor:[`borderBottomColor`],borderBlockEndStyle:[`borderBottomStyle`],borderBlockEndWidth:[`borderBottomWidth`],borderEndStartRadius:[`borderBottomLeftRadius`],borderEndEndRadius:[`borderBottomRightRadius`],borderStartStartRadius:[`borderTopLeftRadius`],borderStartEndRadius:[`borderTopRightRadius`],insetBlockEnd:[`bottom`],insetBlockStart:[`top`],marginBlockStart:[`marginTop`],marginBlockEnd:[`marginBottom`],paddingBlockStart:[`paddingTop`],paddingBlockEnd:[`paddingBottom`]},hf=(e,t)=>{if(!e)return uf;var n={},r=function(){var r=e[i];if(r==null)return`continue`;if(i===`backgroundClip`)r===`text`&&(n.backgroundClip=r,n.WebkitBackgroundClip=r);else if(i===`flex`)r===-1?(n.flexGrow=0,n.flexShrink=1,n.flexBasis=`auto`):n.flex=r;else if(i===`font`)n[i]=r.replace(`System`,pf);else if(i===`fontFamily`){if(r.indexOf(`System`)>-1){var a=r.split(/,\s*/);a[a.indexOf(`System`)]=pf,n[i]=a.join(`,`)}else n[i]=r===`monospace`?ff:r}else if(i===`textDecorationLine`)df?n.textDecorationLine=r:n.textDecoration=r;else if(i===`writingDirection`)n.direction=r;else{var o=cf(e[i],i),s=mf[i];t&&i===`inset`?(e.insetInline??(n.left=o,n.right=o),e.insetBlock??(n.top=o,n.bottom=o)):t&&i===`margin`?(e.marginInline??(n.marginLeft=o,n.marginRight=o),e.marginBlock??(n.marginTop=o,n.marginBottom=o)):t&&i===`padding`?(e.paddingInline??(n.paddingLeft=o,n.paddingRight=o),e.paddingBlock??(n.paddingTop=o,n.paddingBottom=o)):s?s.forEach((t,r)=>{e[t]??(n[t]=o)}):n[i]=o}};for(var i in e)if(r()===`continue`)continue;return n};function gf(e,t){for(var n=e.length,r=t^n,i=0,a;n>=4;)a=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,a=(a&65535)*1540483477+(((a>>>16)*1540483477&65535)<<16),a^=a>>>24,a=(a&65535)*1540483477+(((a>>>16)*1540483477&65535)<<16),r=(r&65535)*1540483477+(((r>>>16)*1540483477&65535)<<16)^a,n-=4,++i;switch(n){case 3:r^=(e.charCodeAt(i+2)&255)<<16;case 2:r^=(e.charCodeAt(i+1)&255)<<8;case 1:r^=e.charCodeAt(i)&255,r=(r&65535)*1540483477+(((r>>>16)*1540483477&65535)<<16)}return r^=r>>>13,r=(r&65535)*1540483477+(((r>>>16)*1540483477&65535)<<16),r^=r>>>15,r>>>0}var _f=e=>gf(e,1).toString(36),vf=/[A-Z]/g,yf=/^ms-/,bf={};function xf(e){return`-`+e.toLowerCase()}function Sf(e){if(e in bf)return bf[e];var t=e.replace(vf,xf);return bf[e]=yf.test(t)?`-`+t:t}var Cf=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){return e.charAt(0).toUpperCase()+e.slice(1)}})),wf=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var t=n(Cf());function n(e){return e&&e.__esModule?e:{default:e}}function r(e,n,r){var i=e[n];if(i&&r.hasOwnProperty(n))for(var a=(0,t.default)(n),o=0;o<i.length;++o){var s=i[o]+a;r[s]||(r[s]=r[n])}return r}})),Tf=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e,t,n,r,i){for(var a=0,o=e.length;a<o;++a){var s=e[a](t,n,r,i);if(s)return s}}})),Ef=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function t(e,t){e.indexOf(t)===-1&&e.push(t)}function n(e,n){if(Array.isArray(n))for(var r=0,i=n.length;r<i;++r)t(e,n[r]);else t(e,n)}})),Df=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){return e instanceof Object&&!Array.isArray(e)}})),Of=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=a(wf()),n=a(Tf()),r=a(Ef()),i=a(Df());function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var a=e.prefixMap,o=e.plugins;return function e(s){for(var c in s){var l=s[c];if((0,i.default)(l))s[c]=e(l);else if(Array.isArray(l)){for(var u=[],d=0,f=l.length;d<f;++d){var p=(0,n.default)(o,c,l[d],s,a);(0,r.default)(u,p||l[d])}u.length>0&&(s[c]=u)}else{var m=(0,n.default)(o,c,l,s,a);m&&(s[c]=m),s=(0,t.default)(a,c,s)}}return s}}}));function kf(e){"@babel/helpers - typeof";return kf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},kf(e)}function Af(e){return Pf(e)||Nf(e)||Mf(e)||jf()}function jf(){throw TypeError(`Invalid attempt to spread non-iterable instance.
26
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mf(e,t){if(e){if(typeof e==`string`)return Ff(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(n);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ff(e,t)}}function Nf(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Pf(e){if(Array.isArray(e))return Ff(e)}function Ff(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function If(e){return e.filter(function(t,n){return e.lastIndexOf(t)===n})}function Lf(e){for(var t=0,n=arguments.length<=1?0:arguments.length-1;t<n;++t){var r=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];for(var i in r){var a=r[i],o=e[i];if(o&&a){if(Array.isArray(o)){e[i]=If(o.concat(a));continue}if(Array.isArray(a)){e[i]=If([o].concat(Af(a)));continue}if(kf(a)===`object`){e[i]=Lf({},o,a);continue}}e[i]=a}}return e}var Rf=n((()=>{}));function zf(e){return e[1].toUpperCase()}function Bf(e){if(Uf.hasOwnProperty(e))return Uf[e];var t=e.replace(Vf,zf).replace(Hf,`ms`);return Uf[e]=t,t}var Vf,Hf,Uf,Wf=n((()=>{Vf=/-([a-z])/g,Hf=/^Ms/g,Uf={}})),Gf=r({default:()=>qf});function Kf(e){return`-`+e.toLowerCase()}function qf(e){if(Xf.hasOwnProperty(e))return Xf[e];var t=e.replace(Jf,Kf);return Xf[e]=Yf.test(t)?`-`+t:t}var Jf,Yf,Xf,Zf=n((()=>{Jf=/[A-Z]/g,Yf=/^ms-/,Xf={}}));function Qf(e){return qf(e)}var $f=n((()=>{Zf()}));function ep(e,t){return Qf(e)+`:`+t}var tp=n((()=>{$f()}));function np(e){var t=``;for(var n in e){var r=e[n];(typeof r==`string`||typeof r==`number`)&&(t&&(t+=`;`),t+=ep(n,r))}return t}var rp=n((()=>{tp()}));function ip(e){return ap.test(e)}var ap,op=n((()=>{ap=/^(Webkit|Moz|O|ms)/}));function sp(e){return typeof e==`string`&&cp.test(e)}var cp,lp=n((()=>{cp=/-webkit-|-moz-|-ms-/}));function up(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}function dp(e){return fp.hasOwnProperty(e)}var fp,pp,mp,hp,gp,_p,vp,yp,bp=n((()=>{for($f(),fp={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!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},pp=[`animationIterationCount`,`boxFlex`,`boxFlexGroup`,`boxOrdinalGroup`,`columnCount`,`flex`,`flexGrow`,`flexPositive`,`flexShrink`,`flexNegative`,`flexOrder`,`gridColumn`,`gridColumnEnd`,`gridColumnStart`,`gridRow`,`gridRowEnd`,`gridRowStart`,`lineClamp`,`order`],mp=[`Webkit`,`ms`,`Moz`,`O`],hp=0,gp=pp.length;hp<gp;++hp)for(_p=pp[hp],fp[_p]=!0,vp=0,yp=mp.length;vp<yp;++vp)fp[up(mp[vp],_p)]=!0;for(var e in fp)fp[Qf(e)]=!0}));function xp(e){var t=e.replace(Sp,``);return t.charAt(0).toLowerCase()+t.slice(1)}var Sp,Cp=n((()=>{Sp=/^(ms|Webkit|Moz|O)/}));function wp(e){return xp(Bf(e))}var Tp=n((()=>{Wf(),Cp()}));function Ep(e,t){return t.join(`;`+Qf(e)+`:`)}var Dp=n((()=>{$f()}));function Op(e){return typeof e==`string`?e.replace(kp,``):e}var kp,Ap=n((()=>{kp=/(-ms-|-webkit-|-moz-|-o-)/g})),jp=r({assignStyle:()=>Lf,camelCaseProperty:()=>Bf,cssifyDeclaration:()=>ep,cssifyObject:()=>np,hyphenateProperty:()=>Qf,isPrefixedProperty:()=>ip,isPrefixedValue:()=>sp,isUnitlessProperty:()=>dp,normalizeProperty:()=>wp,resolveArrayValue:()=>Ep,unprefixProperty:()=>xp,unprefixValue:()=>Op}),Mp=n((()=>{Rf(),Wf(),tp(),rp(),$f(),op(),lp(),bp(),Tp(),Dp(),Cp(),Ap()})),Np=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var n=(Mp(),t(jp)),r=/cross-fade\(/g,i=[`-webkit-`,``];function a(e,t){if(typeof t==`string`&&!(0,n.isPrefixedValue)(t)&&t.indexOf(`cross-fade(`)!==-1)return i.map(function(e){return t.replace(r,e+`cross-fade(`)})}})),Pp=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t=/-webkit-|-moz-|-ms-/;function n(e){return typeof e==`string`&&t.test(e)}})),Fp=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=n(Pp());function n(e){return e&&e.__esModule?e:{default:e}}var r=[`-webkit-`,``];function i(e,n){if(typeof n==`string`&&!(0,t.default)(n)&&n.indexOf(`image-set(`)>-1)return r.map(function(e){return n.replace(/image-set\(/g,e+`image-set(`)})}})),Ip=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var t={marginBlockStart:[`WebkitMarginBefore`],marginBlockEnd:[`WebkitMarginAfter`],marginInlineStart:[`WebkitMarginStart`,`MozMarginStart`],marginInlineEnd:[`WebkitMarginEnd`,`MozMarginEnd`],paddingBlockStart:[`WebkitPaddingBefore`],paddingBlockEnd:[`WebkitPaddingAfter`],paddingInlineStart:[`WebkitPaddingStart`,`MozPaddingStart`],paddingInlineEnd:[`WebkitPaddingEnd`,`MozPaddingEnd`],borderBlockStart:[`WebkitBorderBefore`],borderBlockStartColor:[`WebkitBorderBeforeColor`],borderBlockStartStyle:[`WebkitBorderBeforeStyle`],borderBlockStartWidth:[`WebkitBorderBeforeWidth`],borderBlockEnd:[`WebkitBorderAfter`],borderBlockEndColor:[`WebkitBorderAfterColor`],borderBlockEndStyle:[`WebkitBorderAfterStyle`],borderBlockEndWidth:[`WebkitBorderAfterWidth`],borderInlineStart:[`WebkitBorderStart`,`MozBorderStart`],borderInlineStartColor:[`WebkitBorderStartColor`,`MozBorderStartColor`],borderInlineStartStyle:[`WebkitBorderStartStyle`,`MozBorderStartStyle`],borderInlineStartWidth:[`WebkitBorderStartWidth`,`MozBorderStartWidth`],borderInlineEnd:[`WebkitBorderEnd`,`MozBorderEnd`],borderInlineEndColor:[`WebkitBorderEndColor`,`MozBorderEndColor`],borderInlineEndStyle:[`WebkitBorderEndStyle`,`MozBorderEndStyle`],borderInlineEndWidth:[`WebkitBorderEndWidth`,`MozBorderEndWidth`]};function n(e,n,r){if(Object.prototype.hasOwnProperty.call(t,e))for(var i=t[e],a=0,o=i.length;a<o;++a)r[i[a]]=n}})),Lp=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e,t){if(e===`position`&&t===`sticky`)return[`-webkit-sticky`,`sticky`]}})),Rp=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=[`-webkit-`,`-moz-`,``],n={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},r={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};function i(e,i){if(n.hasOwnProperty(e)&&r.hasOwnProperty(i))return t.map(function(e){return e+i})}})),zp=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=r((Zf(),t(Gf)));function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e)}})),Bp=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var t=i(zp()),n=i(Pp()),r=i(Cf());function i(e){return e&&e.__esModule?e:{default:e}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},o={Webkit:`-webkit-`,Moz:`-moz-`,ms:`-ms-`};function s(e,r){if((0,n.default)(e))return e;for(var i=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),a=0,s=i.length;a<s;++a){var c=i[a],l=[c];for(var u in r){var d=(0,t.default)(u);if(c.indexOf(d)>-1&&d!==`order`)for(var f=r[u],p=0,m=f.length;p<m;++p)l.unshift(c.replace(d,o[f[p]]+d))}i[a]=l.join(`,`)}return i.join(`,`)}function c(e,t,n,i){if(typeof t==`string`&&a.hasOwnProperty(e)){var o=s(t,i),c=o.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-moz-|-ms-/.test(e)}).join(`,`);if(e.indexOf(`Webkit`)>-1)return c;var l=o.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(`,`);return e.indexOf(`Moz`)>-1?l:(n[`Webkit`+(0,r.default)(e)]=c,n[`Moz`+(0,r.default)(e)]=l,o)}}})),Vp=e(Of()),Hp=e(Np()),Up=e(Fp()),Wp=e(Ip()),Gp=e(Lp()),Kp=e(Rp()),qp=e(Bp()),Z=[`Webkit`],Jp=[`Moz`],Yp=[`Webkit`,`Moz`],Q=[`Webkit`,`ms`],Xp={plugins:[Hp.default,Up.default,Wp.default,Gp.default,Kp.default,qp.default],prefixMap:{appearance:[`Webkit`,`Moz`,`ms`],userSelect:Yp,textEmphasisPosition:Q,textEmphasis:Q,textEmphasisStyle:Q,textEmphasisColor:Q,boxDecorationBreak:Q,clipPath:Z,maskImage:Q,maskMode:Q,maskRepeat:Q,maskPosition:Q,maskClip:Q,maskOrigin:Q,maskSize:Q,maskComposite:Q,mask:Q,maskBorderSource:Q,maskBorderMode:Q,maskBorderSlice:Q,maskBorderWidth:Q,maskBorderOutset:Q,maskBorderRepeat:Q,maskBorder:Q,maskType:Q,textDecorationStyle:Z,textDecorationSkip:Z,textDecorationLine:Z,textDecorationColor:Z,filter:Z,breakAfter:Z,breakBefore:Z,breakInside:Z,columnCount:Z,columnFill:Z,columnGap:Z,columnRule:Z,columnRuleColor:Z,columnRuleStyle:Z,columnRuleWidth:Z,columns:Z,columnSpan:Z,columnWidth:Z,backdropFilter:Z,hyphens:Z,flowInto:Z,flowFrom:Z,regionFragment:Z,textOrientation:Z,tabSize:Jp,fontKerning:Z,textSizeAdjust:Z}},Zp=(0,Vp.default)(Xp),Qp=[`animationKeyframes`],$p=new Map,em={},tm=1,nm=3,rm={borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,inset:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,insetBlock:2.1,insetInline:2.1,marginInline:2.1,marginBlock:2.1,paddingInline:2.1,paddingBlock:2.1,borderBlockStartColor:2.2,borderBlockStartStyle:2.2,borderBlockStartWidth:2.2,borderBlockEndColor:2.2,borderBlockEndStyle:2.2,borderBlockEndWidth:2.2,borderInlineStartColor:2.2,borderInlineStartStyle:2.2,borderInlineStartWidth:2.2,borderInlineEndColor:2.2,borderInlineEndStyle:2.2,borderInlineEndWidth:2.2,borderEndStartRadius:2.2,borderEndEndRadius:2.2,borderStartStartRadius:2.2,borderStartEndRadius:2.2,insetBlockEnd:2.2,insetBlockStart:2.2,insetInlineEnd:2.2,insetInlineStart:2.2,marginBlockStart:2.2,marginBlockEnd:2.2,marginInlineStart:2.2,marginInlineEnd:2.2,paddingBlockStart:2.2,paddingBlockEnd:2.2,paddingInlineStart:2.2,paddingInlineEnd:2.2},im=`borderTopLeftRadius`,am=`borderTopRightRadius`,om=`borderBottomLeftRadius`,sm=`borderBottomRightRadius`,cm=`borderLeftColor`,lm=`borderLeftStyle`,um=`borderLeftWidth`,dm=`borderRightColor`,fm=`borderRightStyle`,pm=`borderRightWidth`,mm=`right`,hm=`marginLeft`,gm=`marginRight`,_m=`paddingLeft`,vm=`paddingRight`,ym=`left`,bm={[im]:am,[am]:im,[om]:sm,[sm]:om,[cm]:dm,[lm]:fm,[um]:pm,[dm]:cm,[fm]:lm,[pm]:um,[ym]:mm,[hm]:gm,[gm]:hm,[_m]:vm,[vm]:_m,[mm]:ym},xm={borderStartStartRadius:im,borderStartEndRadius:am,borderEndStartRadius:om,borderEndEndRadius:sm,borderInlineStartColor:cm,borderInlineStartStyle:lm,borderInlineStartWidth:um,borderInlineEndColor:dm,borderInlineEndStyle:fm,borderInlineEndWidth:pm,insetInlineEnd:mm,insetInlineStart:ym,marginInlineStart:hm,marginInlineEnd:gm,paddingInlineStart:_m,paddingInlineEnd:vm},Sm=[`clear`,`float`,`textAlign`];function Cm(e){var t={$$css:!0},n=[];function r(e,t,r){var i=Em(r,t),a=t+i,o=$p.get(a),s;if(o!=null)s=o[0],n.push(o[1]);else{s=km(`r`,e,e===t?i:a);var c=rm[e]||nm,l=[Dm(s,t,r),c];n.push(l),$p.set(a,[s,l])}return s}return Object.keys(e).sort().forEach(n=>{var i=e[n];if(i!=null){var a;if(Sm.indexOf(n)>-1){var o=r(n,n,`left`),s=r(n,n,`right`);i===`start`?a=[o,s]:i===`end`&&(a=[s,o])}var c=xm[n];if(c!=null&&(a=[r(n,c,i),r(n,bm[c],i)]),n===`transitionProperty`){for(var l=Array.isArray(i)?i:[i],u=[],d=0;d<l.length;d++){var f=l[d];typeof f==`string`&&xm[f]!=null&&u.push(d)}if(u.length>0){var p=[...l],m=[...l];u.forEach(e=>{var t=p[e];if(typeof t==`string`){var i=xm[t],o=bm[i];p[e]=i,m[e]=o,a=[r(n,n,p),r(n,n,m)]}})}}a==null?a=r(n,n,i):t.$$css$localize=!0,t[n]=a}}),[t,n]}function wm(e,t){var n={$$css:!0},r=[],i=e.animationKeyframes,a=Qd(e,Qp),o=km(`css`,t,JSON.stringify(e)),s=`.`+o,c;if(i!=null){var l=jm(i),u=l[0],d=l[1];c=u.join(`,`),r.push(...d)}var f=Om(Zd(Zd({},a),{},{animationName:c}));return r.push(``+s+f),n[o]=o,[n,[[r,tm]]]}function Tm(e,t){var n=e||em,r={},i={},a=function(){var e=n[o],a=o,s=e;if(!Object.prototype.hasOwnProperty.call(n,o)||e==null)return`continue`;Sm.indexOf(o)>-1&&(e===`start`?s=t?`right`:`left`:e===`end`&&(s=t?`left`:`right`));var c=xm[o];if(c!=null&&(a=t?bm[c]:c),o===`transitionProperty`){var l=Array.isArray(e)?e:[e];l.forEach((e,n)=>{if(typeof e==`string`){var r=xm[e];r!=null&&(l[n]=t?bm[r]:r,s=l.join(` `))}})}r[a]||(i[a]=s),a===o&&(r[a]=!0)};for(var o in n)if(a()===`continue`)continue;return hf(i,!0)}function Em(e,t){var n=cf(e,t);return typeof n==`string`?n:JSON.stringify(n||``)}function Dm(e,t,n){var r=[],i=`.`+e;switch(t){case`animationKeyframes`:var a=jm(n),o=a[0],s=a[1],c=Om({animationName:o.join(`,`)});r.push(``+i+c,...s);break;case`placeholderTextColor`:var l=Om({color:n,opacity:1});r.push(i+`::-webkit-input-placeholder`+l,i+`::-moz-placeholder`+l,i+`:-ms-input-placeholder`+l,i+`::placeholder`+l);break;case`pointerEvents`:var u=n;if(n===`auto`)u=`auto!important`;else if(n===`none`){u=`none!important`;var d=Om({pointerEvents:`none`});r.push(i+`>* `+d)}else if(n===`box-none`){u=`none!important`;var f=Om({pointerEvents:`auto`});r.push(i+`>* `+f)}else if(n===`box-only`){u=`auto!important`;var p=Om({pointerEvents:`none`});r.push(i+`>* `+p)}var m=Om({pointerEvents:u});r.push(``+i+m);break;case`scrollbarWidth`:n===`none`&&r.push(i+`::-webkit-scrollbar{display:none}`);var h=Om({scrollbarWidth:n});r.push(``+i+h);break;default:var g=Om({[t]:n});r.push(``+i+g)}return r}function Om(e){var t=Zp(hf(e));return`{`+Object.keys(t).map(e=>{var n=t[e],r=Sf(e);return Array.isArray(n)?n.map(e=>r+`:`+e).join(`;`):r+`:`+n}).sort().join(`;`)+`;}`}function km(e,t,n){var r=_f(t+n);return e+`-`+r}function Am(e){var t=[`-webkit-`,``],n=km(`r`,`animation`,JSON.stringify(e)),r=`{`+Object.keys(e).map(t=>{var n=e[t],r=Om(n);return``+t+r}).join(``)+`}`;return[n,t.map(e=>`@`+e+`keyframes `+n+r)]}function jm(e){if(typeof e==`number`)throw Error(`Invalid CSS keyframes type: `+typeof e);var t=[],n=[];return(Array.isArray(e)?e:[e]).forEach(e=>{if(typeof e==`string`)t.push(e);else{var r=Am(e),i=r[0],a=r[1];t.push(i),n.push(...a)}}),[t,n]}function Mm(e,t,n){if(lf){var r=t??document,i=r.getElementById(e);if(i==null){if(i=document.createElement(`style`),i.setAttribute(`id`,e),typeof n==`string`&&i.appendChild(document.createTextNode(n)),r instanceof ShadowRoot)r.insertBefore(i,r.firstChild);else{var a=r.head;a&&a.insertBefore(i,a.firstChild)}}return i.sheet}return null}var Nm=Array.prototype.slice;function Pm(e){var t={},n={};if(e!=null){var r;Nm.call(e.cssRules).forEach((e,i)=>{var a=e.cssText;if(a.indexOf(`stylesheet-group`)>-1)r=Lm(e),t[r]={start:i,rules:[a]};else{var o=Bm(a);o!=null&&(n[o]=!0,t[r].rules.push(a))}})}function i(e,n,r){var i=Rm(t),a=i.indexOf(n)+1,o=i[a],s=o!=null&&t[o].start!=null?t[o].start:e.cssRules.length,c=Vm(e,r,s);if(c){t[n].start??(t[n].start=s);for(var l=a;l<i.length;l+=1){var u=i[l],d=t[u].start||0;t[u].start=d+1}}return c}return{getTextContent(){return Rm(t).map(e=>{var n=t[e].rules,r=n.shift();return n.sort(),n.unshift(r),n.join(`
27
+ `)}).join(`
28
+ `)},insert(r,a){var o=Number(a);if(t[o]==null){var s=Fm(o);t[o]={start:null,rules:[s]},e!=null&&i(e,o,s)}var c=Bm(r);c!=null&&n[c]==null&&(n[c]=!0,t[o].rules.push(r),e!=null&&(i(e,o,r)||t[o].rules.pop()))}}}function Fm(e){return`[stylesheet-group="`+e+`"]{}`}var Im=/["']/g;function Lm(e){return Number(e.selectorText.split(Im)[1])}function Rm(e){return Object.keys(e).map(Number).sort((e,t)=>e>t?1:-1)}var zm=/\s*([,])\s*/g;function Bm(e){var t=e.split(`{`)[0].trim();return t===``?null:t.replace(zm,`$1`)}function Vm(e,t,n){try{return e.insertRule(t,n),!0}catch{return!1}}var Hm=`react-native-stylesheet`,Um=new WeakMap,Wm=[],Gm=[`html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}`,`body{margin:0;}`,`button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}`,`input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}`];function Km(e,t){t===void 0&&(t=Hm);var n;if(lf){var r=e==null?document:e.getRootNode();if(Wm.length===0)n=Pm(Mm(t)),Gm.forEach(e=>{n.insert(e,0)}),Um.set(r,Wm.length),Wm.push(n);else{var i=Um.get(r);if(i==null){var a=Wm[0],o=a==null?``:a.getTextContent();n=Pm(Mm(t,r,o)),Um.set(r,Wm.length),Wm.push(n)}else n=Wm[i]}}else Wm.length===0?(n=Pm(Mm(t)),Gm.forEach(e=>{n.insert(e,0)}),Wm.push(n)):n=Wm[0];return{getTextContent(){return n.getTextContent()},id:t,insert(e,t){Wm.forEach(n=>{n.insert(e,t)})}}}var qm=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.localizeStyle=i;var t=new WeakMap,n=`$$css$localize`;function r(e,t){var r={};for(var i in e)if(i!==n){var a=e[i];r[i]=Array.isArray(a)?t?a[1]:a[0]:a}return r}function i(e,i){if(e[n]!=null){var a=+!!i;if(t.has(e)){var o=t.get(e),s=o[a];return s??(s=r(e,i),o[a]=s,t.set(e,o)),s}var c=r(e,i),l=[,,];return l[a]=c,t.set(e,l),c}return e}})),Jm=i(((e,t)=>{t.exports=qm()}))(),Ym={},Xm={height:0,width:0},Zm=e=>{var t=e.shadowColor,n=e.shadowOffset,r=e.shadowOpacity,i=e.shadowRadius,a=n||Xm,o=a.height,s=a.width,c=cf(s),l=cf(o),u=cf(i||0),d=of(t||`black`,r);if(d!=null&&c!=null&&l!=null&&u!=null)return c+` `+l+` `+u+` `+d},Qm=e=>{var t=e.textShadowColor,n=e.textShadowOffset,r=e.textShadowRadius,i=n||Xm,a=i.height,o=i.width,s=r||0,c=cf(o),l=cf(a),u=cf(s),d=cf(t,`textShadowColor`);if(d&&(a!==0||o!==0||s!==0)&&c!=null&&l!=null&&u!=null)return c+` `+l+` `+u+` `+d},$m=e=>{if(typeof e==`string`)return e;var t=cf(e.offsetX)||0,n=cf(e.offsetY)||0,r=cf(e.blurRadius)||0,i=cf(e.spreadDistance)||0,a=of(e.color)||`black`;return(e.inset?`inset `:``)+t+` `+n+` `+r+` `+i+` `+a},eh=e=>e.map($m).join(`, `),th=e=>{var t=Object.keys(e)[0],n=e[t];if(t===`matrix`||t===`matrix3d`)return t+`(`+n.join(`,`)+`)`;var r=cf(n,t);return t+`(`+r+`)`},nh=e=>e.map(th).join(` `),rh=e=>e.map(e=>cf(e)).join(` `),ih={borderBottomEndRadius:`borderEndEndRadius`,borderBottomStartRadius:`borderEndStartRadius`,borderTopEndRadius:`borderStartEndRadius`,borderTopStartRadius:`borderStartStartRadius`,borderEndColor:`borderInlineEndColor`,borderEndStyle:`borderInlineEndStyle`,borderEndWidth:`borderInlineEndWidth`,borderStartColor:`borderInlineStartColor`,borderStartStyle:`borderInlineStartStyle`,borderStartWidth:`borderInlineStartWidth`,end:`insetInlineEnd`,marginEnd:`marginInlineEnd`,marginHorizontal:`marginInline`,marginStart:`marginInlineStart`,marginVertical:`marginBlock`,paddingEnd:`paddingInlineEnd`,paddingHorizontal:`paddingInline`,paddingStart:`paddingInlineStart`,paddingVertical:`paddingBlock`,start:`insetInlineStart`},ah={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},oh=function(e,t){t===void 0&&(t={});var n=e||Ym,r={};if(t.shadow,n.shadowColor!=null||n.shadowOffset!=null||n.shadowOpacity!=null||n.shadowRadius!=null){var i=Zm(n);i!=null&&(r.boxShadow=i)}if(t.textShadow,n.textShadowColor!=null||n.textShadowOffset!=null||n.textShadowRadius!=null){var a=Qm(n);if(a!=null&&r.textShadow==null){var o=n.textShadow;r.textShadow=o?o+`, `+a:a}}for(var s in n)if(ah[s]==null&&s!==`shadowColor`&&s!==`shadowOffset`&&s!==`shadowOpacity`&&s!==`shadowRadius`&&s!==`textShadowColor`&&s!==`textShadowOffset`&&s!==`textShadowRadius`){var c=n[s],l=ih[s]||s,u=c;if(!(!Object.prototype.hasOwnProperty.call(n,s)||l!==s&&n[l]!=null)){if(l===`aspectRatio`&&typeof u==`number`)r[l]=u.toString();else if(l===`boxShadow`){Array.isArray(u)&&(u=eh(u));var d=r.boxShadow;r.boxShadow=d?u+`, `+d:u}else l===`fontVariant`?(Array.isArray(u)&&u.length>0&&(u=u.join(` `)),r[l]=u):l===`textAlignVertical`?n.verticalAlign??(r.verticalAlign=u===`center`?`middle`:u):l===`transform`?(Array.isArray(u)&&(u=nh(u)),r.transform=u):l===`transformOrigin`?(Array.isArray(u)&&(u=rh(u)),r.transformOrigin=u):r[l]=u}}return r},sh=i((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.styleq=void 0;var t=new WeakMap,n=`$$css`;function r(e){var r,i,a;return e!=null&&(r=e.disableCache===!0,i=e.disableMix===!0,a=e.transform),function(){for(var e=[],o=``,s=null,c=r?null:t,l=Array(arguments.length),u=0;u<arguments.length;u++)l[u]=arguments[u];for(;l.length>0;){var d=l.pop();if(d!=null&&d!==!1){if(Array.isArray(d)){for(var f=0;f<d.length;f++)l.push(d[f]);continue}var p=a==null?d:a(d);if(p.$$css){var m=``;if(c!=null&&c.has(p)){var h=c.get(p);h!=null&&(m=h[0],e.push.apply(e,h[1]),c=h[2])}else{var g=[];for(var _ in p){var v=p[_];_!==n&&(typeof v==`string`||v===null?e.includes(_)||(e.push(_),c!=null&&g.push(_),typeof v==`string`&&(m+=m?` `+v:v)):console.error(`styleq: ${_} typeof ${String(v)} is not "string" or "null".`))}if(c!=null){var y=new WeakMap;c.set(p,[m,g,y]),c=y}}m&&(o=o?m+` `+o:m)}else if(i)s??={},s=Object.assign({},p,s);else{var b=null;for(var x in p){var S=p[x];S!==void 0&&(e.includes(x)||(S!=null&&(s??={},b??={},b[x]=S),e.push(x),c=null))}b!=null&&(s=Object.assign(b,s))}}}return[o,s]}}var i=r();e.styleq=i,i.factory=r}))(),ch=[`writingDirection`],lh=new WeakMap,uh=Km(),dh={shadow:!0,textShadow:!0};function fh(e,t){t===void 0&&(t={});var n=t,r=n.writingDirection,i=Qd(n,ch),a=r===`rtl`;return sh.styleq.factory({transform(e){var t=lh.get(e);return t==null?oh(e,Zd(Zd({},dh),i)):(0,Jm.localizeStyle)(t,a)}})(e)}function ph(e){e.forEach(e=>{var t=e[0],n=e[1];uh!=null&&t.forEach(e=>{uh.insert(e,n)})})}function mh(e){var t=Cm(oh(e,dh)),n=t[0],r=t[1];return ph(r),n}function hh(e,t){var n=wm(e,t),r=n[0],i=n[1];return ph(i),r}var gh={position:`absolute`,left:0,right:0,top:0,bottom:0},_h=vh({x:Zd({},gh)}).x;function vh(e){return Object.keys(e).forEach(t=>{var n=e[t];if(n!=null&&n.$$css!==!0){var r=t.indexOf(`$raw`)>-1?hh(n,t.split(`$raw`)[0]):mh(n);lh.set(n,r)}}),e}function yh(e,t){return[e,t]}function bh(){for(var e=[...arguments].flat(1/0),t={},n=0;n<e.length;n++){var r=e[n];typeof r==`object`&&r&&Object.assign(t,r)}return t}function xh(){return{id:uh.id,textContent:uh.getTextContent()}}function Sh(e,t){t===void 0&&(t={});var n=t.writingDirection===`rtl`,r=fh(e,t);return Array.isArray(r)&&r[1]!=null&&(r[1]=Tm(r[1],n)),r}Sh.absoluteFill=_h,Sh.absoluteFillObject=gh,Sh.create=vh,Sh.compose=yh,Sh.flatten=bh,Sh.getSheet=xh,Sh.hairlineWidth=1,lf&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=Sh.flatten);var Ch=Sh,wh=`aria-activedescendant.accessibilityActiveDescendant.aria-atomic.accessibilityAtomic.aria-autocomplete.accessibilityAutoComplete.aria-busy.accessibilityBusy.aria-checked.accessibilityChecked.aria-colcount.accessibilityColumnCount.aria-colindex.accessibilityColumnIndex.aria-colspan.accessibilityColumnSpan.aria-controls.accessibilityControls.aria-current.accessibilityCurrent.aria-describedby.accessibilityDescribedBy.aria-details.accessibilityDetails.aria-disabled.accessibilityDisabled.aria-errormessage.accessibilityErrorMessage.aria-expanded.accessibilityExpanded.aria-flowto.accessibilityFlowTo.aria-haspopup.accessibilityHasPopup.aria-hidden.accessibilityHidden.aria-invalid.accessibilityInvalid.aria-keyshortcuts.accessibilityKeyShortcuts.aria-label.accessibilityLabel.aria-labelledby.accessibilityLabelledBy.aria-level.accessibilityLevel.aria-live.accessibilityLiveRegion.aria-modal.accessibilityModal.aria-multiline.accessibilityMultiline.aria-multiselectable.accessibilityMultiSelectable.aria-orientation.accessibilityOrientation.aria-owns.accessibilityOwns.aria-placeholder.accessibilityPlaceholder.aria-posinset.accessibilityPosInSet.aria-pressed.accessibilityPressed.aria-readonly.accessibilityReadOnly.aria-required.accessibilityRequired.role.accessibilityRole.aria-roledescription.accessibilityRoleDescription.aria-rowcount.accessibilityRowCount.aria-rowindex.accessibilityRowIndex.aria-rowspan.accessibilityRowSpan.aria-selected.accessibilitySelected.aria-setsize.accessibilitySetSize.aria-sort.accessibilitySort.aria-valuemax.accessibilityValueMax.aria-valuemin.accessibilityValueMin.aria-valuenow.accessibilityValueNow.aria-valuetext.accessibilityValueText.dataSet.focusable.id.nativeID.pointerEvents.style.tabIndex.testID`.split(`.`),Th={},Eh=Object.prototype.hasOwnProperty,Dh=Array.isArray,Oh=/[A-Z]/g;function kh(e){return`-`+e.toLowerCase()}function Ah(e){return e.replace(Oh,kh)}function jh(e){return Dh(e)?e.join(` `):e}var Mh=Ch.create({auto:{pointerEvents:`auto`},"box-none":{pointerEvents:`box-none`},"box-only":{pointerEvents:`box-only`},none:{pointerEvents:`none`}}),Nh=(e,t,n)=>{t||=Th;var r=t,i=r[`aria-activedescendant`],a=r.accessibilityActiveDescendant,o=r[`aria-atomic`],s=r.accessibilityAtomic,c=r[`aria-autocomplete`],l=r.accessibilityAutoComplete,u=r[`aria-busy`],d=r.accessibilityBusy,f=r[`aria-checked`],p=r.accessibilityChecked,m=r[`aria-colcount`],h=r.accessibilityColumnCount,g=r[`aria-colindex`],_=r.accessibilityColumnIndex,v=r[`aria-colspan`],y=r.accessibilityColumnSpan,b=r[`aria-controls`],x=r.accessibilityControls,S=r[`aria-current`],C=r.accessibilityCurrent,w=r[`aria-describedby`],T=r.accessibilityDescribedBy,E=r[`aria-details`],D=r.accessibilityDetails,O=r[`aria-disabled`],k=r.accessibilityDisabled,A=r[`aria-errormessage`],ee=r.accessibilityErrorMessage,te=r[`aria-expanded`],ne=r.accessibilityExpanded,re=r[`aria-flowto`],j=r.accessibilityFlowTo,M=r[`aria-haspopup`],ie=r.accessibilityHasPopup,ae=r[`aria-hidden`],oe=r.accessibilityHidden,se=r[`aria-invalid`],ce=r.accessibilityInvalid,le=r[`aria-keyshortcuts`],ue=r.accessibilityKeyShortcuts,N=r[`aria-label`],P=r.accessibilityLabel,F=r[`aria-labelledby`],de=r.accessibilityLabelledBy,fe=r[`aria-level`],pe=r.accessibilityLevel,me=r[`aria-live`],he=r.accessibilityLiveRegion,I=r[`aria-modal`],ge=r.accessibilityModal,L=r[`aria-multiline`],_e=r.accessibilityMultiline,R=r[`aria-multiselectable`],z=r.accessibilityMultiSelectable,ve=r[`aria-orientation`],B=r.accessibilityOrientation,ye=r[`aria-owns`],be=r.accessibilityOwns,V=r[`aria-placeholder`],xe=r.accessibilityPlaceholder,H=r[`aria-posinset`],Se=r.accessibilityPosInSet,Ce=r[`aria-pressed`],we=r.accessibilityPressed,U=r[`aria-readonly`],Te=r.accessibilityReadOnly,Ee=r[`aria-required`],De=r.accessibilityRequired;r.role,r.accessibilityRole;var Oe=r[`aria-roledescription`],ke=r.accessibilityRoleDescription,Ae=r[`aria-rowcount`],W=r.accessibilityRowCount,je=r[`aria-rowindex`],Me=r.accessibilityRowIndex,Ne=r[`aria-rowspan`],Pe=r.accessibilityRowSpan,Fe=r[`aria-selected`],G=r.accessibilitySelected,K=r[`aria-setsize`],Ie=r.accessibilitySetSize,Le=r[`aria-sort`],Re=r.accessibilitySort,ze=r[`aria-valuemax`],q=r.accessibilityValueMax,Be=r[`aria-valuemin`],Ve=r.accessibilityValueMin,He=r[`aria-valuenow`],Ue=r.accessibilityValueNow,We=r[`aria-valuetext`],Ge=r.accessibilityValueText,Ke=r.dataSet,qe=r.focusable,Je=r.id,Ye=r.nativeID,Xe=r.pointerEvents,Ze=r.style,Qe=r.tabIndex,$e=r.testID,J=Qd(r,wh),et=O||k,tt=Gd.propsToAriaRole(t),nt=i??a;nt!=null&&(J[`aria-activedescendant`]=nt);var rt=o==null?s:i;rt!=null&&(J[`aria-atomic`]=rt);var it=c??l;it!=null&&(J[`aria-autocomplete`]=it);var at=u??d;at!=null&&(J[`aria-busy`]=at);var ot=f??p;ot!=null&&(J[`aria-checked`]=ot);var st=m??h;st!=null&&(J[`aria-colcount`]=st);var ct=g??_;ct!=null&&(J[`aria-colindex`]=ct);var Y=v??y;Y!=null&&(J[`aria-colspan`]=Y);var lt=b??x;lt!=null&&(J[`aria-controls`]=jh(lt));var ut=S??C;ut!=null&&(J[`aria-current`]=ut);var dt=w??T;dt!=null&&(J[`aria-describedby`]=jh(dt));var ft=E??D;ft!=null&&(J[`aria-details`]=ft),et===!0&&(J[`aria-disabled`]=!0,(e===`button`||e===`form`||e===`input`||e===`select`||e===`textarea`)&&(J.disabled=!0));var pt=A??ee;pt!=null&&(J[`aria-errormessage`]=pt);var mt=te??ne;mt!=null&&(J[`aria-expanded`]=mt);var ht=re??j;ht!=null&&(J[`aria-flowto`]=jh(ht));var gt=M??ie;gt!=null&&(J[`aria-haspopup`]=gt);var _t=ae??oe;_t===!0&&(J[`aria-hidden`]=_t);var vt=se??ce;vt!=null&&(J[`aria-invalid`]=vt);var yt=le??ue;yt!=null&&(J[`aria-keyshortcuts`]=jh(yt));var bt=N??P;bt!=null&&(J[`aria-label`]=bt);var xt=F??de;xt!=null&&(J[`aria-labelledby`]=jh(xt));var St=fe??pe;St!=null&&(J[`aria-level`]=St);var Ct=me??he;Ct!=null&&(J[`aria-live`]=Ct===`none`?`off`:Ct);var wt=I??ge;wt!=null&&(J[`aria-modal`]=wt);var Tt=L??_e;Tt!=null&&(J[`aria-multiline`]=Tt);var Et=R??z;Et!=null&&(J[`aria-multiselectable`]=Et);var Dt=ve??B;Dt!=null&&(J[`aria-orientation`]=Dt);var Ot=ye??be;Ot!=null&&(J[`aria-owns`]=jh(Ot));var kt=V??xe;kt!=null&&(J[`aria-placeholder`]=kt);var At=H??Se;At!=null&&(J[`aria-posinset`]=At);var jt=Ce??we;jt!=null&&(J[`aria-pressed`]=jt);var Mt=U??Te;Mt!=null&&(J[`aria-readonly`]=Mt,(e===`input`||e===`select`||e===`textarea`)&&(J.readOnly=!0));var Nt=Ee??De;Nt!=null&&(J[`aria-required`]=Nt,(e===`input`||e===`select`||e===`textarea`)&&(J.required=De)),tt!=null&&(J.role=tt===`none`?`presentation`:tt);var Pt=Oe??ke;Pt!=null&&(J[`aria-roledescription`]=Pt);var Ft=Ae??W;Ft!=null&&(J[`aria-rowcount`]=Ft);var It=je??Me;It!=null&&(J[`aria-rowindex`]=It);var Lt=Ne??Pe;Lt!=null&&(J[`aria-rowspan`]=Lt);var Rt=Fe??G;Rt!=null&&(J[`aria-selected`]=Rt);var zt=K??Ie;zt!=null&&(J[`aria-setsize`]=zt);var Bt=Le??Re;Bt!=null&&(J[`aria-sort`]=Bt);var Vt=ze??q;Vt!=null&&(J[`aria-valuemax`]=Vt);var Ht=Be??Ve;Ht!=null&&(J[`aria-valuemin`]=Ht);var Ut=He??Ue;Ut!=null&&(J[`aria-valuenow`]=Ut);var Wt=We??Ge;if(Wt!=null&&(J[`aria-valuetext`]=Wt),Ke!=null){for(var Gt in Ke)if(Eh.call(Ke,Gt)){var Kt=Ah(Gt),qt=Ke[Gt];qt!=null&&(J[`data-`+Kt]=qt)}}Qe===0||Qe===`0`||Qe===-1||Qe===`-1`?J.tabIndex=Qe:(qe===!1&&(J.tabIndex=`-1`),e===`a`||e===`button`||e===`input`||e===`select`||e===`textarea`?(qe===!1||k===!0)&&(J.tabIndex=`-1`):tt===`button`||tt===`checkbox`||tt===`link`||tt===`radio`||tt===`textbox`||tt===`switch`?qe!==!1&&(J.tabIndex=`0`):qe===!0&&(J.tabIndex=`0`));var Jt=Ch([Ze,Xe&&Mh[Xe]],Zd({writingDirection:`ltr`},n)),Yt=Jt[0],Xt=Jt[1];Yt&&(J.className=Yt),Xt&&(J.style=Xt);var Zt=Je??Ye;return Zt!=null&&(J.id=Zt),$e!=null&&(J[`data-testid`]=$e),J.type==null&&e===`button`&&(J.type=`button`),J},Ph=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),Fh=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`far`,`glk`,`he`,`iw`,`khw`,`ks`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]),Ih=new Map;function Lh(e){var t=Ih.get(e);if(t)return t;var n=!1;if(Intl.Locale)try{var r=new Intl.Locale(e).maximize().script;n=Ph.has(r)}catch{var i=e.split(`-`)[0];n=Fh.has(i)}else{var a=e.split(`-`)[0];n=Fh.has(a)}return Ih.set(e,n),n}var Rh=(0,l.createContext)({direction:`ltr`,locale:`en-US`});function zh(e){return Lh(e)?`rtl`:`ltr`}function Bh(e){var t=e.direction,n=e.locale,r=e.children;return t||n?l.createElement(Rh.Provider,{children:r,value:{direction:n?zh(n):t,locale:n}}):r}function Vh(){return(0,l.useContext)(Rh)}var Hh=(e,t,n)=>{var r;e&&e.constructor===String&&(r=Gd.propsToAccessibilityComponent(t));var i=r||e,a=Nh(i,t,n),o=l.createElement(i,a);return a.dir?l.createElement(Bh,{children:o,direction:a.dir,locale:a.lang}):o},Uh=e=>{if(e!=null&&e.nodeType===1&&typeof e.getBoundingClientRect==`function`)return e.getBoundingClientRect()},Wh={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!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,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},Gh=[`ms`,`Moz`,`O`,`Webkit`],Kh=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(Wh).forEach(e=>{Gh.forEach(t=>{Wh[Kh(t,e)]=Wh[e]})});function qh(e,t,n){return t==null||typeof t==`boolean`||t===``?``:!n&&typeof t==`number`&&t!==0&&!(Wh.hasOwnProperty(e)&&Wh[e])?t+`px`:(``+t).trim()}function Jh(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=r.indexOf(`--`)===0,a=qh(r,t[r],i);r===`float`&&(r=`cssFloat`),i?n.setProperty(r,a):n[r]=a}}var Yh=e=>{var t=e.offsetHeight,n=e.offsetWidth,r=e.offsetLeft,i=e.offsetTop;for(e=e.offsetParent;e&&e.nodeType===1;)r+=e.offsetLeft+e.clientLeft-e.scrollLeft,i+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return i-=window.scrollY,r-=window.scrollX,{width:n,height:t,top:i,left:r}},Xh=(e,t,n)=>{var r=t||e&&e.parentNode;e&&r&&setTimeout(()=>{if(e.isConnected&&r.isConnected){var t=Yh(r),i=Yh(e),a=i.height,o=i.left,s=i.top,c=i.width;n(o-t.left,s-t.top,c,a,o,s)}},0)},Zh={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},Qh={blur(e){try{e.blur()}catch{}},focus(e){try{var t=e.nodeName;e.getAttribute(`tabIndex`)==null&&e.isContentEditable!==!0&&Zh[t]==null&&e.setAttribute(`tabIndex`,`-1`),e.focus()}catch{}},measure(e,t){Xh(e,null,t)},measureInWindow(e,t){e&&setTimeout(()=>{var n=Uh(e),r=n.height,i=n.left,a=n.top,o=n.width;t(i,a,o,r)},0)},measureLayout(e,t,n,r){Xh(e,t,r)},updateView(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];switch(n){case`style`:Jh(e,r);break;case`class`:case`className`:e.setAttribute(`class`,r);break;case`text`:case`value`:e.value=r;break;default:e.setAttribute(n,r)}}},configureNextLayoutAnimation(e,t){t()},setLayoutAnimationEnabledExperimental(){}},$h={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},eg={"aria-activedescendant":!0,"aria-atomic":!0,"aria-autocomplete":!0,"aria-busy":!0,"aria-checked":!0,"aria-colcount":!0,"aria-colindex":!0,"aria-colspan":!0,"aria-controls":!0,"aria-current":!0,"aria-describedby":!0,"aria-details":!0,"aria-disabled":!0,"aria-errormessage":!0,"aria-expanded":!0,"aria-flowto":!0,"aria-haspopup":!0,"aria-hidden":!0,"aria-invalid":!0,"aria-keyshortcuts":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiline":!0,"aria-multiselectable":!0,"aria-orientation":!0,"aria-owns":!0,"aria-placeholder":!0,"aria-posinset":!0,"aria-pressed":!0,"aria-readonly":!0,"aria-required":!0,inert:!0,role:!0,"aria-roledescription":!0,"aria-rowcount":!0,"aria-rowindex":!0,"aria-rowspan":!0,"aria-selected":!0,"aria-setsize":!0,"aria-sort":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0,accessibilityActiveDescendant:!0,accessibilityAtomic:!0,accessibilityAutoComplete:!0,accessibilityBusy:!0,accessibilityChecked:!0,accessibilityColumnCount:!0,accessibilityColumnIndex:!0,accessibilityColumnSpan:!0,accessibilityControls:!0,accessibilityCurrent:!0,accessibilityDescribedBy:!0,accessibilityDetails:!0,accessibilityDisabled:!0,accessibilityErrorMessage:!0,accessibilityExpanded:!0,accessibilityFlowTo:!0,accessibilityHasPopup:!0,accessibilityHidden:!0,accessibilityInvalid:!0,accessibilityKeyShortcuts:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityModal:!0,accessibilityMultiline:!0,accessibilityMultiSelectable:!0,accessibilityOrientation:!0,accessibilityOwns:!0,accessibilityPlaceholder:!0,accessibilityPosInSet:!0,accessibilityPressed:!0,accessibilityReadOnly:!0,accessibilityRequired:!0,accessibilityRole:!0,accessibilityRoleDescription:!0,accessibilityRowCount:!0,accessibilityRowIndex:!0,accessibilityRowSpan:!0,accessibilitySelected:!0,accessibilitySetSize:!0,accessibilitySort:!0,accessibilityValueMax:!0,accessibilityValueMin:!0,accessibilityValueNow:!0,accessibilityValueText:!0},tg={onClick:!0,onAuxClick:!0,onContextMenu:!0,onGotPointerCapture:!0,onLostPointerCapture:!0,onPointerCancel:!0,onPointerDown:!0,onPointerEnter:!0,onPointerMove:!0,onPointerLeave:!0,onPointerOut:!0,onPointerOver:!0,onPointerUp:!0},ng={onBlur:!0,onFocus:!0},rg={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},ig={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},ag={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},og={style:!0};function sg(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&t[r]===!0&&(n[r]=e[r]);return n}var cg=lf?l.useLayoutEffect:l.useEffect,lg=`__reactLayoutHandler`,ug=null;function dg(){return lf&&window.ResizeObserver!==void 0&&(ug??=new window.ResizeObserver(function(e){e.forEach(e=>{var t=e.target,n=t[lg];typeof n==`function`&&Qh.measure(t,(t,r,i,a,o,s)=>{var c={nativeEvent:{layout:{x:t,y:r,width:i,height:a,left:o,top:s}},timeStamp:Date.now()};Object.defineProperty(c.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),n(c)})})})),ug}function fg(e,t){var n=dg();cg(()=>{var n=e.current;n!=null&&(n[lg]=t)},[e,t]),cg(()=>{var t=e.current;return t!=null&&n!=null&&(typeof t[lg]==`function`?n.observe(t):n.unobserve(t)),()=>{t!=null&&n!=null&&n.unobserve(t)}},[e,n])}function pg(){var e=[...arguments];return function(t){e.forEach(e=>{if(e!=null){if(typeof e==`function`){e(t);return}if(typeof e==`object`){e.current=t;return}console.error(`mergeRefs cannot handle Refs of type boolean, number or string, received ref `+String(e))}})}}function mg(){var e=[...arguments];return l.useMemo(()=>pg(...e),[...e])}var hg=typeof Symbol==`function`&&typeof Symbol()==`symbol`?Symbol():Object.freeze({});function gg(e){var t=l.useRef(hg);return t.current===hg&&(t.current=e()),t.current}function _g(e){return e.pointerEvents,e.style,gg(()=>e=>{e!=null&&(e.measure=t=>Qh.measure(e,t),e.measureLayout=(t,n,r)=>Qh.measureLayout(e,t,r,n),e.measureInWindow=t=>Qh.measureInWindow(e,t))})}var vg=()=>{},yg={},bg=[];function xg(e){return e>20?e%20:e}function Sg(e,t){var n,r=!1,i,a,o=e.changedTouches,s=e.type,c=e.metaKey===!0,l=e.shiftKey===!0,u=o&&o[0].force||0,d=xg(o&&o[0].identifier||0),f=o&&o[0].clientX||e.clientX,p=o&&o[0].clientY||e.clientY,m=o&&o[0].pageX||e.pageX,h=o&&o[0].pageY||e.pageY,g=typeof e.preventDefault==`function`?e.preventDefault.bind(e):vg,_=e.timeStamp;function v(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:xg(e.identifier),get locationX(){return x(e.clientX)},get locationY(){return S(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:_}))}if(o!=null)i=v(o),a=v(e.touches);else{var y=[{force:u,identifier:d,get locationX(){return x(f)},get locationY(){return S(p)},pageX:m,pageY:h,target:e.target,timestamp:_}];i=y,a=s===`mouseup`||s===`dragstart`?bg:y}var b={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:yg,eventPhase:e.eventPhase,isDefaultPrevented(){return e.defaultPrevented},isPropagationStopped(){return r},isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:c,shiftKey:l,changedTouches:i,force:u,identifier:d,get locationX(){return x(f)},get locationY(){return S(p)},pageX:m,pageY:h,target:e.target,timestamp:_,touches:a,type:s},persist:vg,preventDefault:g,stopPropagation(){r=!0},target:e.target,timeStamp:_,touchHistory:t.touchHistory};function x(e){if(n||=Uh(b.currentTarget),n)return e-n.left}function S(e){if(n||=Uh(b.currentTarget),n)return e-n.top}return b}var Cg=`scroll`;function wg(e){return e===`touchstart`||e===`mousedown`}function Tg(e){return e===`touchmove`||e===`mousemove`}function Eg(e){return e===`touchend`||e===`mouseup`||Dg(e)}function Dg(e){return e===`touchcancel`||e===`dragstart`}function Og(e){return e===Cg}function kg(e){return e===`select`||e===`selectionchange`}function Ag(){var e=window.getSelection(),t=e.toString(),n=e.anchorNode,r=e.focusNode,i=n&&n.nodeType===window.Node.TEXT_NODE||r&&r.nodeType===window.Node.TEXT_NODE;return t.length>=1&&t!==`
29
+ `&&i}var jg=`__reactResponderId`;function Mg(e){if(e.type===`selectionchange`){var t=window.getSelection().anchorNode;return Ng(t)}return e.composedPath==null?Ng(e.target):e.composedPath()}function Ng(e){for(var t=[];e!=null&&e!==document.body;)t.push(e),e=e.parentNode;return t}function Pg(e){return e==null?null:e[jg]}function Fg(e,t){e!=null&&(e[jg]=t)}function Ig(e){for(var t=[],n=[],r=Mg(e),i=0;i<r.length;i++){var a=r[i],o=Pg(a);o!=null&&(t.push(o),n.push(a))}return{idPath:t,nodePath:n}}function Lg(e,t){var n=e.length,r=t.length;if(n===0||r===0||e[n-1]!==t[r-1])return null;var i=e[0],a=0,o=t[0],s=0;n-r>0&&(a=n-r,i=e[a],n=r),r-n>0&&(s=r-n,o=t[s],r=n);for(var c=n;c--;){if(i===o)return i;i=e[a++],o=t[s++]}return null}function Rg(e,t){if(!t||t.length===0)return!1;for(var n=0;n<t.length;n++){var r=t[n].target;if(r!=null&&e.contains(r))return!0}return!1}function zg(e){return e.type===`selectionchange`?Ag():e.type===`select`}function Bg(e){var t=e.altKey,n=e.button,r=e.buttons,i=e.ctrlKey,a=e.type,o=a===`touchstart`||a===`touchmove`,s=a===`mousedown`&&(n===0||r===1),c=a===`mousemove`&&r===1,l=t===!1&&i===!1;return!!(o||s&&l||c&&l)}var Vg=20;function Hg(e){return e.timeStamp||e.timestamp}function Ug(e){return{touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:Hg(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:Hg(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:Hg(e)}}function Wg(e,t){e.touchActive=!0,e.startPageX=t.pageX,e.startPageY=t.pageY,e.startTimeStamp=Hg(t),e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=Hg(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=Hg(t)}function Gg(e){var t=e.identifier;return t??console.error(`Touch object is missing identifier.`),t}function Kg(e,t){var n=Gg(e),r=t.touchBank[n];r?Wg(r,e):t.touchBank[n]=Ug(e),t.mostRecentTimeStamp=Hg(e)}function qg(e,t){var n=t.touchBank[Gg(e)];n?(n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=Hg(e),t.mostRecentTimeStamp=Hg(e)):console.warn(`Cannot record touch move without a touch start.
30
+ `,`Touch Move: `+Yg(e)+`
31
+ `,`Touch Bank: `+Xg(t))}function Jg(e,t){var n=t.touchBank[Gg(e)];n?(n.touchActive=!1,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=Hg(e),t.mostRecentTimeStamp=Hg(e)):console.warn(`Cannot record touch end without a touch start.
32
+ `,`Touch End: `+Yg(e)+`
33
+ `,`Touch Bank: `+Xg(t))}function Yg(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:Hg(e)})}function Xg(e){var t=e.touchBank,n=JSON.stringify(t.slice(0,Vg));return t.length>Vg&&(n+=` (original size: `+t.length+`)`),n}var Zg=class{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,t){var n=this._touchHistory;if(Tg(e))t.changedTouches.forEach(e=>qg(e,n));else if(wg(e))t.changedTouches.forEach(e=>Kg(e,n)),n.numberActiveTouches=t.touches.length,n.numberActiveTouches===1&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(Eg(e)&&(t.changedTouches.forEach(e=>Jg(e,n)),n.numberActiveTouches=t.touches.length,n.numberActiveTouches===1))for(var r=n.touchBank,i=0;i<r.length;i++){var a=r[i];if(a!=null&&a.touchActive){n.indexOfSingleActiveTouch=i;break}}}get touchHistory(){return this._touchHistory}},Qg={},$g=[`onStartShouldSetResponderCapture`,`onStartShouldSetResponder`,{bubbles:!0}],e_=[`onMoveShouldSetResponderCapture`,`onMoveShouldSetResponder`,{bubbles:!0}],t_={touchstart:$g,mousedown:$g,touchmove:e_,mousemove:e_,scroll:[`onScrollShouldSetResponderCapture`,`onScrollShouldSetResponder`,{bubbles:!1}]},n_={id:null,idPath:null,node:null},r_=new Map,i_=!1,a_=0,o_={id:null,node:null,idPath:null},s_=new Zg;function c_(e){o_=e}function l_(e){return r_.get(e)??Qg}function u_(e){var t=e.type,n=e.target;if(t===`touchstart`&&(i_=!0),(t===`touchmove`||a_>1)&&(i_=!1),!(t===`mousedown`&&i_||t===`mousemove`&&i_||t===`mousemove`&&a_<1)){if(i_&&t===`mouseup`){a_===0&&(i_=!1);return}var r=wg(t)&&Bg(e),i=Tg(t),a=Eg(t),o=Og(t),s=kg(t),c=Sg(e,s_);(r||i||a)&&(e.touches?a_=e.touches.length:r?a_=1:a&&(a_=0),s_.recordTouchTrack(t,c.nativeEvent));var l=Ig(e),u=!1,d;if(r||i||o&&a_>0){var f=o_.idPath,p=l.idPath;if(f!=null&&p!=null){var m=Lg(f,p);if(m!=null){var h=p.indexOf(m)+ +(m===o_.id);l={idPath:p.slice(h),nodePath:l.nodePath.slice(h)}}else l=null}l!=null&&(d=d_(l,e,c),d!=null&&(f_(c,d),u=!0))}if(o_.id!=null&&o_.node!=null){var g=o_,_=g.id,v=g.node,y=l_(_),b=y.onResponderStart,x=y.onResponderMove,S=y.onResponderEnd,C=y.onResponderRelease,w=y.onResponderTerminate,T=y.onResponderTerminationRequest;if(c.bubbles=!1,c.cancelable=!1,c.currentTarget=v,r)b!=null&&(c.dispatchConfig.registrationName=`onResponderStart`,b(c));else if(i)x!=null&&(c.dispatchConfig.registrationName=`onResponderMove`,x(c));else{var E=Dg(t)||t===`contextmenu`||t===`blur`&&n===window||t===`blur`&&n.contains(v)&&e.relatedTarget!==v||o&&a_===0||o&&n.contains(v)&&n!==v||s&&zg(e),D=a&&!E&&!Rg(v,e.touches);if(a&&S!=null&&(c.dispatchConfig.registrationName=`onResponderEnd`,S(c)),D&&(C!=null&&(c.dispatchConfig.registrationName=`onResponderRelease`,C(c)),c_(n_)),E){var O=!0;(t===`contextmenu`||t===`scroll`||t===`selectionchange`)&&(u?O=!1:T!=null&&(c.dispatchConfig.registrationName=`onResponderTerminationRequest`,T(c)===!1&&(O=!1))),O&&(w!=null&&(c.dispatchConfig.registrationName=`onResponderTerminate`,w(c)),c_(n_),i_=!1,a_=0)}}}}}function d_(e,t,n){var r=t_[t.type];if(r!=null){for(var i=e.idPath,a=e.nodePath,o=r[0],s=r[1],c=r[2].bubbles,l=function(e,t,r){var a=l_(e)[r];if(a!=null&&(n.currentTarget=t,a(n)===!0))return{id:e,node:t,idPath:i.slice(i.indexOf(e))}},u=i.length-1;u>=0;u--){var d=i[u],f=a[u],p=l(d,f,o);if(p!=null)return p;if(n.isPropagationStopped()===!0)return}if(c)for(var m=0;m<i.length;m++){var h=i[m],g=a[m],_=l(h,g,s);if(_!=null)return _;if(n.isPropagationStopped()===!0)return}else{var v=i[0],y=a[0];if(t.target===y)return l(v,y,s)}}}function f_(e,t){var n=o_,r=n.id,i=n.node,a=t.id,o=t.node,s=l_(a),c=s.onResponderGrant,l=s.onResponderReject;if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=o,r==null)c!=null&&(e.currentTarget=o,e.dispatchConfig.registrationName=`onResponderGrant`,c(e)),c_(t);else{var u=l_(r),d=u.onResponderTerminate,f=u.onResponderTerminationRequest,p=!0;f!=null&&(e.currentTarget=i,e.dispatchConfig.registrationName=`onResponderTerminationRequest`,f(e)===!1&&(p=!1)),p?(d!=null&&(e.currentTarget=i,e.dispatchConfig.registrationName=`onResponderTerminate`,d(e)),c!=null&&(e.currentTarget=o,e.dispatchConfig.registrationName=`onResponderGrant`,c(e)),c_(t)):l!=null&&(e.currentTarget=o,e.dispatchConfig.registrationName=`onResponderReject`,l(e))}}var p_=[`blur`,`scroll`],m_=[`mousedown`,`mousemove`,`mouseup`,`dragstart`,`touchstart`,`touchmove`,`touchend`,`touchcancel`,`contextmenu`,`select`,`selectionchange`];function h_(){lf&&window.__reactResponderSystemActive==null&&(window.addEventListener(`blur`,u_),m_.forEach(e=>{document.addEventListener(e,u_)}),p_.forEach(e=>{document.addEventListener(e,u_,!0)}),window.__reactResponderSystemActive=!0)}function g_(e,t,n){Fg(t,e),r_.set(e,n)}function __(e){o_.id===e&&v_(),r_.has(e)&&r_.delete(e)}function v_(){var e=o_,t=e.id,n=e.node;if(t!=null&&n!=null){var r=l_(t).onResponderTerminate;if(r!=null){var i=Sg({},s_);i.currentTarget=n,r(i)}c_(n_)}i_=!1,a_=0}function y_(){return o_.node}var b_={},x_=0;function S_(e){var t=l.useRef(null);return t.current??=e(),t.current}function C_(e,t){t===void 0&&(t=b_);var n=S_(()=>x_++),r=l.useRef(!1);l.useEffect(()=>(h_(),()=>{__(n)}),[n]),l.useEffect(()=>{var i=t,a=i.onMoveShouldSetResponder,o=i.onMoveShouldSetResponderCapture,s=i.onScrollShouldSetResponder,c=i.onScrollShouldSetResponderCapture,l=i.onSelectionChangeShouldSetResponder,u=i.onSelectionChangeShouldSetResponderCapture,d=i.onStartShouldSetResponder,f=i.onStartShouldSetResponderCapture,p=a!=null||o!=null||s!=null||c!=null||l!=null||u!=null||d!=null||f!=null,m=e.current;p?(g_(n,m,t),r.current=!0):r.current&&=(__(n),!1)},[t,e,n]),l.useDebugValue({isResponder:e.current===y_()}),l.useDebugValue(t)}var w_=(0,l.createContext)(!1),T_=[`hrefAttrs`,`onLayout`,`onMoveShouldSetResponder`,`onMoveShouldSetResponderCapture`,`onResponderEnd`,`onResponderGrant`,`onResponderMove`,`onResponderReject`,`onResponderRelease`,`onResponderStart`,`onResponderTerminate`,`onResponderTerminationRequest`,`onScrollShouldSetResponder`,`onScrollShouldSetResponderCapture`,`onSelectionChangeShouldSetResponder`,`onSelectionChangeShouldSetResponderCapture`,`onStartShouldSetResponder`,`onStartShouldSetResponderCapture`],E_=Object.assign({},$h,eg,tg,ng,rg,ig,ag,og,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),D_=e=>sg(e,E_),O_=l.forwardRef((e,t)=>{var n=e.hrefAttrs,r=e.onLayout,i=e.onMoveShouldSetResponder,a=e.onMoveShouldSetResponderCapture,o=e.onResponderEnd,s=e.onResponderGrant,c=e.onResponderMove,u=e.onResponderReject,d=e.onResponderRelease,f=e.onResponderStart,p=e.onResponderTerminate,m=e.onResponderTerminationRequest,h=e.onScrollShouldSetResponder,g=e.onScrollShouldSetResponderCapture,_=e.onSelectionChangeShouldSetResponder,v=e.onSelectionChangeShouldSetResponderCapture,y=e.onStartShouldSetResponder,b=e.onStartShouldSetResponderCapture,x=Qd(e,T_),S=l.useContext(w_),C=l.useRef(null),w=Vh().direction;fg(C,r),C_(C,{onMoveShouldSetResponder:i,onMoveShouldSetResponderCapture:a,onResponderEnd:o,onResponderGrant:s,onResponderMove:c,onResponderReject:u,onResponderRelease:d,onResponderStart:f,onResponderTerminate:p,onResponderTerminationRequest:m,onScrollShouldSetResponder:h,onScrollShouldSetResponderCapture:g,onSelectionChangeShouldSetResponder:_,onSelectionChangeShouldSetResponderCapture:v,onStartShouldSetResponder:y,onStartShouldSetResponderCapture:b});var T=`div`,E=e.lang==null?null:zh(e.lang),D=e.dir||E,O=D||w,k=D_(x);if(k.dir=D,k.style=[k_.view$raw,S&&k_.inline,e.style],e.href!=null&&(T=`a`,n!=null)){var A=n.download,ee=n.rel,te=n.target;A!=null&&(k.download=A),ee!=null&&(k.rel=ee),typeof te==`string`&&(k.target=te.charAt(0)===`_`?te:`_`+te)}return k.ref=mg(C,_g(k),t),Hh(T,k,{writingDirection:O})});O_.displayName=`View`;var k_=Ch.create({view$raw:{alignContent:`flex-start`,alignItems:`stretch`,backgroundColor:`transparent`,border:`0 solid black`,boxSizing:`border-box`,display:`flex`,flexBasis:`auto`,flexDirection:`column`,flexShrink:0,listStyle:`none`,margin:0,minHeight:0,minWidth:0,padding:0,position:`relative`,textDecoration:`none`,zIndex:0},inline:{display:`inline-flex`}}),A_=i(((e,t)=>{function n(e,t){var n=[...arguments].slice(2);if(!e){var r;if(t===void 0)r=Error(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var i=0;r=Error(t.replace(/%s/g,function(){return String(n[i++])})),r.name=`Invariant Violation`}throw r.framesToPop=1,r}}t.exports=n})),j_=e(A_()),M_={window:{fontScale:1,height:0,scale:1,width:0},screen:{fontScale:1,height:0,scale:1,width:0}},N_={},P_=lf;function F_(){if(lf){var e=window,t,n;if(e.visualViewport){var r=e.visualViewport;t=Math.round(r.height*r.scale),n=Math.round(r.width*r.scale)}else{var i=e.document.documentElement;t=i.clientHeight,n=i.clientWidth}M_.window={fontScale:1,height:t,scale:e.devicePixelRatio||1,width:n},M_.screen={fontScale:1,height:e.screen.height,scale:e.devicePixelRatio||1,width:e.screen.width}}}function I_(){F_(),Array.isArray(N_.change)&&N_.change.forEach(e=>e(M_))}var L_=class{static get(e){return P_&&(P_=!1,F_()),(0,j_.default)(M_[e],`No dimension set for key `+e),M_[e]}static set(e){e&&(lf?(0,j_.default)(!1,`Dimensions cannot be set in the browser`):(e.screen!=null&&(M_.screen=e.screen),e.window!=null&&(M_.window=e.window)))}static addEventListener(e,t){return N_[e]=N_[e]||[],N_[e].push(t),{remove:()=>{this.removeEventListener(e,t)}}}static removeEventListener(e,t){Array.isArray(N_[e])&&(N_[e]=N_[e].filter(e=>e!==t))}};lf&&(window.visualViewport?window.visualViewport.addEventListener(`resize`,I_,!1):window.addEventListener(`resize`,I_,!1));var R_=[];function z_(e){return R_[e-1]}var B_=class e{static get(){return L_.get(`window`).scale}static getFontScale(){return L_.get(`window`).fontScale||e.get()}static getPixelSizeForLayoutSize(t){return Math.round(t*e.get())}static roundToNearestPixel(t){var n=e.get();return Math.round(t*n)/n}},V_=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},H_=function(e){var t=this;e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},U_=10,W_=V_,G_={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||W_,n.poolSize||=U_,n.release=H_,n},twoArgumentPooler:V_},K_=G_.twoArgumentPooler;function q_(e,t){this.width=e,this.height=t}q_.prototype.destructor=function(){this.width=null,this.height=null},q_.getPooledFromElement=function(e){return q_.getPooled(e.offsetWidth,e.offsetHeight)},G_.addPoolingTo(q_,K_);var J_=G_.twoArgumentPooler;function Y_(e,t){this.left=e,this.top=t}Y_.prototype.destructor=function(){this.left=null,this.top=null},G_.addPoolingTo(Y_,J_);var X_=e=>{var t=e.touches,n=e.changedTouches,r=t&&t.length>0,i=n&&n.length>0;return!r&&i?n[0]:r?t[0]:e},$={NOT_RESPONDER:`NOT_RESPONDER`,RESPONDER_INACTIVE_PRESS_IN:`RESPONDER_INACTIVE_PRESS_IN`,RESPONDER_INACTIVE_PRESS_OUT:`RESPONDER_INACTIVE_PRESS_OUT`,RESPONDER_ACTIVE_PRESS_IN:`RESPONDER_ACTIVE_PRESS_IN`,RESPONDER_ACTIVE_PRESS_OUT:`RESPONDER_ACTIVE_PRESS_OUT`,RESPONDER_ACTIVE_LONG_PRESS_IN:`RESPONDER_ACTIVE_LONG_PRESS_IN`,RESPONDER_ACTIVE_LONG_PRESS_OUT:`RESPONDER_ACTIVE_LONG_PRESS_OUT`,ERROR:`ERROR`},Z_={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},Q_=Zd(Zd({},Z_),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),$_=Zd(Zd({},Z_),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),ev=Zd(Zd({},Z_),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),tv={DELAY:`DELAY`,RESPONDER_GRANT:`RESPONDER_GRANT`,RESPONDER_RELEASE:`RESPONDER_RELEASE`,RESPONDER_TERMINATED:`RESPONDER_TERMINATED`,ENTER_PRESS_RECT:`ENTER_PRESS_RECT`,LEAVE_PRESS_RECT:`LEAVE_PRESS_RECT`,LONG_PRESS_DETECTED:`LONG_PRESS_DETECTED`},nv={NOT_RESPONDER:{DELAY:$.ERROR,RESPONDER_GRANT:$.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:$.ERROR,RESPONDER_TERMINATED:$.ERROR,ENTER_PRESS_RECT:$.ERROR,LEAVE_PRESS_RECT:$.ERROR,LONG_PRESS_DETECTED:$.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:$.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:$.ERROR,RESPONDER_RELEASE:$.NOT_RESPONDER,RESPONDER_TERMINATED:$.NOT_RESPONDER,ENTER_PRESS_RECT:$.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:$.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:$.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:$.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:$.ERROR,RESPONDER_RELEASE:$.NOT_RESPONDER,RESPONDER_TERMINATED:$.NOT_RESPONDER,ENTER_PRESS_RECT:$.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:$.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:$.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:$.ERROR,RESPONDER_GRANT:$.ERROR,RESPONDER_RELEASE:$.NOT_RESPONDER,RESPONDER_TERMINATED:$.NOT_RESPONDER,ENTER_PRESS_RECT:$.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:$.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:$.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:$.ERROR,RESPONDER_GRANT:$.ERROR,RESPONDER_RELEASE:$.NOT_RESPONDER,RESPONDER_TERMINATED:$.NOT_RESPONDER,ENTER_PRESS_RECT:$.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:$.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:$.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:$.ERROR,RESPONDER_GRANT:$.ERROR,RESPONDER_RELEASE:$.NOT_RESPONDER,RESPONDER_TERMINATED:$.NOT_RESPONDER,ENTER_PRESS_RECT:$.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:$.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:$.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:$.ERROR,RESPONDER_GRANT:$.ERROR,RESPONDER_RELEASE:$.NOT_RESPONDER,RESPONDER_TERMINATED:$.NOT_RESPONDER,ENTER_PRESS_RECT:$.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:$.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:$.ERROR},error:{DELAY:$.NOT_RESPONDER,RESPONDER_GRANT:$.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:$.NOT_RESPONDER,RESPONDER_TERMINATED:$.NOT_RESPONDER,ENTER_PRESS_RECT:$.NOT_RESPONDER,LEAVE_PRESS_RECT:$.NOT_RESPONDER,LONG_PRESS_DETECTED:$.NOT_RESPONDER}},rv=130,iv=20,av=500-rv,ov=10,sv={componentDidMount:function(){var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&(this._touchableBlurListener=e=>{this._isTouchableKeyboardActive&&=(this.state.touchable.touchState&&this.state.touchable.touchState!==$.NOT_RESPONDER&&this.touchableHandleResponderTerminate({nativeEvent:e}),!1)},e.addEventListener(`blur`,this._touchableBlurListener))},componentWillUnmount:function(){var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&e.removeEventListener(`blur`,this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e){var t=e.currentTarget;e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=$.NOT_RESPONDER,this.state.touchable.responderID=t,this._receiveSignal(tv.RESPONDER_GRANT,e);var n=this.touchableGetHighlightDelayMS===void 0?rv:Math.max(this.touchableGetHighlightDelayMS(),0);n=isNaN(n)?rv:n,n===0?this._handleDelay(e):this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),n);var r=this.touchableGetLongPressDelayMS===void 0?av:Math.max(this.touchableGetLongPressDelayMS(),10);r=isNaN(r)?av:r,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),r+n)},touchableHandleResponderRelease:function(e){this.pressInLocation=null,this._receiveSignal(tv.RESPONDER_RELEASE,e)},touchableHandleResponderTerminate:function(e){this.pressInLocation=null,this._receiveSignal(tv.RESPONDER_TERMINATED,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,n=this.state.touchable.dimensionsOnActivate,r=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:iv,right:iv,top:iv,bottom:iv},i=r.left,a=r.top,o=r.right,s=r.bottom,c=this.touchableGetHitSlop?this.touchableGetHitSlop():null;c&&(i+=c.left||0,a+=c.top||0,o+=c.right||0,s+=c.bottom||0);var l=X_(e.nativeEvent),u=l&&l.pageX,d=l&&l.pageY;if(this.pressInLocation&&this._getDistanceBetweenPoints(u,d,this.pressInLocation.pageX,this.pressInLocation.pageY)>ov&&this._cancelLongPressDelayTimeout(),u>t.left-i&&d>t.top-a&&u<t.left+n.width+o&&d<t.top+n.height+s){var f=this.state.touchable.touchState;this._receiveSignal(tv.ENTER_PRESS_RECT,e),this.state.touchable.touchState===$.RESPONDER_INACTIVE_PRESS_IN&&f!==$.RESPONDER_INACTIVE_PRESS_IN&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(tv.LEAVE_PRESS_RECT,e)}},touchableHandleFocus:function(e){this.props.onFocus&&this.props.onFocus(e)},touchableHandleBlur:function(e){this.props.onBlur&&this.props.onBlur(e)},_remeasureMetricsOnActivation:function(){var e=this.state.touchable.responderID;e!=null&&Qh.measure(e,this._handleQueryLayout)},_handleQueryLayout:function(e,t,n,r,i,a){(e||t||n||r||i||a)&&(this.state.touchable.positionOnActivate&&Y_.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&q_.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=Y_.getPooled(i,a),this.state.touchable.dimensionsOnActivate=q_.getPooled(n,r))},_handleDelay:function(e){this.touchableDelayTimeout=null,this._receiveSignal(tv.DELAY,e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null;var t=this.state.touchable.touchState;t!==$.RESPONDER_ACTIVE_PRESS_IN&&t!==$.RESPONDER_ACTIVE_LONG_PRESS_IN?console.error("Attempted to transition from state `"+t+"` to `"+$.RESPONDER_ACTIVE_LONG_PRESS_IN+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(tv.LONG_PRESS_DETECTED,e)},_receiveSignal:function(e,t){var n=this.state.touchable.responderID,r=this.state.touchable.touchState,i=nv[r]&&nv[r][e];if(n||e!==tv.RESPONDER_RELEASE){if(!i)throw Error("Unrecognized signal `"+e+"` or state `"+r+"` for Touchable responder `"+n+"`");if(i===$.ERROR)throw Error("Touchable cannot transition from `"+r+"` to `"+e+"` for responder `"+n+"`");r!==i&&(this._performSideEffectsForTransition(r,i,e,t),this.state.touchable.touchState=i)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(e){return e===$.RESPONDER_ACTIVE_PRESS_IN||e===$.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(e){var t=X_(e.nativeEvent),n=t&&t.pageX,r=t&&t.pageY,i=t&&t.locationX,a=t&&t.locationY;this.pressInLocation={pageX:n,pageY:r,locationX:i,locationY:a}},_getDistanceBetweenPoints:function(e,t,n,r){var i=e-n,a=t-r;return Math.sqrt(i*i+a*a)},_performSideEffectsForTransition:function(e,t,n,r){var i=this._isHighlight(e),a=this._isHighlight(t);(n===tv.RESPONDER_TERMINATED||n===tv.RESPONDER_RELEASE)&&this._cancelLongPressDelayTimeout();var o=e===$.NOT_RESPONDER&&t===$.RESPONDER_INACTIVE_PRESS_IN,s=!Q_[e]&&Q_[t];if((o||s)&&this._remeasureMetricsOnActivation(),$_[e]&&n===tv.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(r),a&&!i?this._startHighlight(r):!a&&i&&this._endHighlight(r),$_[e]&&n===tv.RESPONDER_RELEASE){var c=!!this.props.onLongPress,l=ev[e]&&(!c||!this.touchableLongPressCancelsPress());(!ev[e]||l)&&this.touchableHandlePress&&(!a&&!i&&(this._startHighlight(r),this._endHighlight(r)),this.touchableHandlePress(r))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){Qh.playTouchSound()},_startHighlight:function(e){this._savePressInLocation(e),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(e)},_endHighlight:function(e){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout(()=>{this.touchableHandleActivePressOut(e)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(e))},touchableHandleKeyEvent:function(e){var t=e.type,n=e.key;(n===`Enter`||n===` `)&&(t===`keydown`?this._isTouchableKeyboardActive||(!this.state.touchable.touchState||this.state.touchable.touchState===$.NOT_RESPONDER)&&(this.touchableHandleResponderGrant(e),this._isTouchableKeyboardActive=!0):t===`keyup`&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==$.NOT_RESPONDER&&(this.touchableHandleResponderRelease(e),this._isTouchableKeyboardActive=!1),e.stopPropagation(),(n!==`Enter`||Gd.propsToAriaRole(this.props)!==`link`)&&e.preventDefault())},withoutDefaultFocusAndBlur:{}};sv.touchableHandleFocus,sv.touchableHandleBlur,sv.withoutDefaultFocusAndBlur=Qd(sv,[`touchableHandleFocus`,`touchableHandleBlur`]);var cv={Mixin:sv,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,n=e.hitSlop;if(!cv.TOUCH_TARGET_DEBUG)return null;var r={};for(var i in n||={top:0,bottom:0,left:0,right:0},n)r[i]=-n[i];var a=(0,rf.default)(t);if(typeof a!=`number`)return null;var o=`#`+(`00000000`+a.toString(16)).substr(-8);return l.createElement(O_,{pointerEvents:`none`,style:Zd({position:`absolute`,borderColor:o.slice(0,-2)+`55`,borderWidth:1,borderStyle:`dashed`,backgroundColor:o.slice(0,-2)+`0F`},r)})}},lv=(e,t)=>{let n=dv(e,t);return uv(Da(n)?n.val:n)??16},uv=e=>{let t=typeof e==`number`?e:Number.parseFloat(String(e).match(/(\d*\.?\d+)px/)?.[1]??String(e));return Number.isFinite(t)?t:void 0},dv=(e,t)=>{let n=fv(e,t);if(!n)return e;let r=Gr();return r.fontsParsed[t?.font||r.defaultFontToken]?.size[n]},fv=(e,t)=>{if(typeof e==`number`)return null;let n=t?.relativeSize||0,r=Gr(),i=r.fontsParsed[t?.font||r.defaultFontToken]?.size||r.tokensParsed.size,a=(e===`$true`&&!(`$true`in i)?`$4`:e)??(`$true`in i?`$true`:`$4`),o=Object.keys(i),s=o.indexOf(a);return s===-1&&a.endsWith(`.5`)&&(s=o.indexOf(a.replace(`.5`,``))),o[Math.min(Math.max(0,s+n),o.length-1)]??a},pv=e=>{let t=go();return e?Oa(e):t[e]?.get()||t.color?.get()},mv=(e,t)=>e&&(l.isValidElement(e)?l.cloneElement(e,{...t,...e.props}):l.createElement(e,t)),hv=Sr({size:void 0,variant:void 0,color:void 0,elevation:void 0,ellipsis:void 0,fontFamily:void 0,fontSize:void 0,fontStyle:void 0,fontWeight:void 0,letterSpacing:void 0,maxFontSizeMultiplier:void 0,textAlign:void 0}),gv=su(cu,{context:hv,name:`Button`,role:`button`,render:(0,X.jsx)(`button`,{type:`button`}),tabIndex:0,variants:{unstyled:{true:{outlineWidth:0,borderWidth:0,backgroundColor:`transparent`},false:{size:`$true`,justifyContent:`center`,alignItems:`center`,flexWrap:`nowrap`,flexDirection:`row`,backgroundColor:`$background`,borderWidth:1,borderColor:`transparent`,"$platform-web":{cursor:`pointer`},hoverStyle:{backgroundColor:`$backgroundHover`,borderColor:`$borderColorHover`},pressStyle:{backgroundColor:`$backgroundPress`,borderColor:`$borderColorHover`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineStyle:`solid`,outlineWidth:2}}},variant:{outlined:{}.GUI_HEADLESS===`1`?{}:{backgroundColor:`transparent`,borderWidth:1,borderColor:`$borderColor`,hoverStyle:{backgroundColor:`transparent`,borderColor:`$borderColorHover`},pressStyle:{backgroundColor:`transparent`,borderColor:`$borderColorPress`}}},circular:Cd.circular,chromeless:Cd.chromeless,size:{"...size":(e,t)=>{let n=Nd(e,t),r=Qr(e);return{...n,gap:r}},":number":(e,t)=>{let n=Nd(e,t),r=e*.4;return{...n,gap:r}}},elevation:{"...size":dd,":number":dd},disabled:{true:{pointerEvents:`none`,"aria-disabled":!0}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),_v=su(Rd,{context:hv,variants:{unstyled:{false:{userSelect:`none`,flexGrow:0,flexShrink:1,ellipsis:!0,color:`$color`,"$platform-web":{cursor:`pointer`}}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),vv=e=>{let{children:t,scaleIcon:n=1,size:r}=e,i=hv.useStyledContext();if(!i)throw Error(`Button.Icon must be used within a Button`);let a=r??i.size,o=pv(i.color===`unset`||typeof i.color==`number`?void 0:i.color);return mv(t,{size:(typeof a==`number`?a*.5:lv(a))*n,color:o})};Sr({size:void 0,variant:void 0,color:void 0});var yv=Ca(gv.styleable((e,t)=>{let n=(0,l.useContext)(Pd),{children:r,iconSize:i,icon:a,iconAfter:o,scaleIcon:s=1,noTextWrap:c,textProps:u,color:d,ellipsis:f,fontFamily:p,fontSize:m,fontStyle:h,fontWeight:g,letterSpacing:_,maxFontSizeMultiplier:v,textAlign:y,...b}=lu(e,{noNormalize:!0,noExpand:!0}),x=e.size||(e.unstyled?void 0:`$true`),S=hv.useStyledContext(),C=d??e.color??S?.color,w=pv(C===`unset`||typeof C==`number`?void 0:C),T=i??x??S?.size,E=(typeof T==`number`?T*.5:lv(T))*s,[D,O]=[a,o].map(e=>e?mv(e,{size:E,color:w}):null),k=zd(_v,{children:r,color:C,ellipsis:f??e.ellipsis??S?.ellipsis,fontFamily:p??e.fontFamily??S?.fontFamily,fontSize:m??e.fontSize??S?.fontSize,fontStyle:h??e.fontStyle??S?.fontStyle,fontWeight:g??e.fontWeight??S?.fontWeight,letterSpacing:_??e.letterSpacing??S?.letterSpacing,maxFontSizeMultiplier:v??e.maxFontSizeMultiplier??S?.maxFontSizeMultiplier,noTextWrap:c??e.noTextWrap,textAlign:y??e.textAlign??S?.textAlign,textProps:u??e.textProps},{unstyled:{}.GUI_HEADLESS===`1`,size:T??S?.size}),A={color:C,ellipsis:f??e.ellipsis??S?.ellipsis,fontFamily:p??e.fontFamily??S?.fontFamily,fontSize:m??e.fontSize??S?.fontSize,fontStyle:h??e.fontStyle??S?.fontStyle,fontWeight:g??e.fontWeight??S?.fontWeight,letterSpacing:_??e.letterSpacing??S?.letterSpacing,maxFontSizeMultiplier:v??e.maxFontSizeMultiplier??S?.maxFontSizeMultiplier,textAlign:y??e.textAlign??S?.textAlign},ee={...S,...A,size:b.size??e.size??S?.size,variant:b.variant??e.variant??S?.variant,elevation:b.elevation??e.elevation??S?.elevation};return(0,X.jsx)(Pd.Provider,{value:!0,children:(0,X.jsx)(hv.Provider,{...ee,children:(0,X.jsxs)(gv,{ref:t,...b,...n&&{render:`span`},...b.circular&&!e.size&&{size:x},tabIndex:0,children:[D,k,O]})})})}),{Apply:hv.Provider,Frame:gv,Text:_v,Icon:vv}),bv=Sr({size:void 0}),xv=`hz_consent`,Sv=()=>typeof window<`u`;function Cv(){try{return!Sv()||!window.localStorage?void 0:window.localStorage}catch{return}}function wv(){if(!Sv())return!1;try{let e=navigator,t=window;return e.globalPrivacyControl===!0||e.doNotTrack===`1`||t.doNotTrack===`1`||e.msDoNotTrack===`1`}catch{return!1}}function Tv(){let e=Cv();if(e)try{let t=e.getItem(xv);return t===`granted`||t===`denied`?t:void 0}catch{return}}var Ev=new Set;function Dv(e){return Ev.add(e),()=>{Ev.delete(e)}}function Ov(e){if(typeof e.enabled==`boolean`)return e.enabled;let t=e.stored===void 0?Tv():e.stored;if(t===`denied`)return!1;if(t===`granted`)return!0;let n=e.consent??`auto`;return n===`denied`?!1:n===`granted`||!wv()}var kv={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1},Av=(...e)=>{for(let t of e)if(typeof t==`string`&&t.trim()!==``)return t.trim()};function jv(){try{if(typeof process>`u`)return{};let e={};return{apiUrl:Av(e.NEXT_PUBLIC_HANZO_API_URL,e.PUBLIC_HANZO_API_URL,e.HANZO_API_URL),ingestKey:Av(e.NEXT_PUBLIC_PUBLISHABLE_KEY,e.PUBLIC_PUBLISHABLE_KEY,e.PUBLISHABLE_KEY,e.NEXT_PUBLIC_HANZO_INGEST_KEY,e.PUBLIC_HANZO_INGEST_KEY,e.HANZO_INGEST_KEY),product:Av(e.NEXT_PUBLIC_HANZO_PRODUCT,e.PUBLIC_HANZO_PRODUCT,e.HANZO_PRODUCT),telemetry:Av(e.NEXT_PUBLIC_HANZO_TELEMETRY,e.PUBLIC_HANZO_TELEMETRY,e.HANZO_TELEMETRY),debug:Av(e.NEXT_PUBLIC_HANZO_TELEMETRY_DEBUG,e.PUBLIC_HANZO_TELEMETRY_DEBUG)}}catch{return{}}}function Mv(){try{let e=kv;return e?{apiUrl:Av(e.VITE_HANZO_API_URL,e.EXPO_PUBLIC_HANZO_API_URL,e.PUBLIC_HANZO_API_URL),ingestKey:Av(e.VITE_PUBLISHABLE_KEY,e.EXPO_PUBLIC_PUBLISHABLE_KEY,e.PUBLIC_PUBLISHABLE_KEY,e.VITE_HANZO_INGEST_KEY,e.EXPO_PUBLIC_HANZO_INGEST_KEY,e.PUBLIC_HANZO_INGEST_KEY),product:Av(e.VITE_HANZO_PRODUCT,e.EXPO_PUBLIC_HANZO_PRODUCT,e.PUBLIC_HANZO_PRODUCT),telemetry:Av(e.VITE_HANZO_TELEMETRY,e.EXPO_PUBLIC_HANZO_TELEMETRY,e.PUBLIC_HANZO_TELEMETRY),debug:Av(e.VITE_HANZO_TELEMETRY_DEBUG,e.EXPO_PUBLIC_HANZO_TELEMETRY_DEBUG)}:{}}catch{return{}}}function Nv(){try{return globalThis.__HANZO_TELEMETRY__??{}}catch{return{}}}var Pv={"hanzo.ai":`site`,"hanzo.chat":`chat`,"hanzo.app":`app`,"hanzo.id":`iam`,"hanzo.industries":`industries`,"hanzo.network":`network`};function Fv(e){if(!e)return;let t=e.toLowerCase().replace(/^www\./,``);if(t===`localhost`||t===`::1`||t===`[::1]`||/^127\./.test(t))return`dev`;let n=Pv[t];if(n)return n;let r=t.split(`.`)[0];return r&&r!==``?r:void 0}function Iv(){try{return typeof navigator<`u`&&navigator.product===`ReactNative`}catch{return!1}}function Lv(){try{let e=globalThis;if(e.__TAURI_INTERNALS__!==void 0||e.__TAURI__!==void 0)return`desktop`}catch{}if(Iv())return`mobile`}var Rv=e=>e===`0`||e===`false`||e===`off`||e===`no`,zv=e=>e===`1`||e===`true`||e===`on`||e===`yes`;function Bv(){let e=jv(),t=Mv(),n=Nv(),r=Av(t.telemetry,e.telemetry),i=typeof n.enabled==`boolean`?n.enabled:Rv(r)?!1:zv(r)?!0:void 0;return{host:Av(n.host,n.apiUrl,t.apiUrl,e.apiUrl)??`https://api.hanzo.ai`,product:Av(n.product,t.product,e.product),ingestKey:Av(n.ingestKey,t.ingestKey,e.ingestKey),enabled:i,debug:n.debug===!0||zv(Av(t.debug,e.debug))}}var Vv=()=>typeof window<`u`&&typeof document<`u`,Hv=()=>Vv()||Iv();function Uv(e,t){try{e()}catch(e){t&&console.debug(`[telemetry] swallowed`,e)}}var Wv=new WeakMap;function Gv(e={}){let t=Bv(),n=e.debug??t.debug,r=e.product??t.product??Lv()??(Vv()?Fv(window.location?.hostname):void 0)??`unknown`,i=Hv()&&Ov({enabled:e.enabled??t.enabled,consent:e.consent}),a=e.errors??!0,o=e.replay??!0,s=e.pageviews??!0,c=e.ingestKey??t.ingestKey??te(),l=cn({host:e.host===void 0?t.host:e.host,product:r,ingestKey:c,getToken:e.getToken,enabled:i,captureErrors:i&&a,debug:n}),u={enabled:i,product:r,client:l,track:(e,t,r)=>Uv(()=>l.capture(e,t,r),n),pageview:(e,t)=>Uv(()=>l.pageview(e,t),n),identify:(e,t)=>Uv(()=>l.identify(e,t),n),group:(e,t)=>Uv(()=>l.group(e,t),n),captureError:(e,t)=>Uv(()=>l.captureError(e,t),n),captureException:(e,t)=>Uv(()=>l.captureError(e,t),n),setCohort:e=>Uv(()=>l.setCohort(e),n),flush:()=>Uv(()=>l.flush(),n)};return Wv.set(u,{host:e.host===void 0?t.host:e.host,product:r,enabled:i,replay:o,errors:a,pageviews:s,hasIngestKey:!!c,debug:n}),u}var Kv,qv=!1,Jv=new Set;function Yv(){return Kv||=Gv(),Kv}function Xv(e,t){Kv=e,qv=e!==void 0&&(t?.app??!0);for(let e of Jv)try{e()}catch{}}function Zv(){return qv}function Qv(e){return Jv.add(e),()=>{Jv.delete(e)}}var $v=(e,t,n)=>Yv().track(e,t,n),ey=e=>e.replace(/[A-Z]/g,e=>`-`+e.toLowerCase()),ty=e=>{if(e&&e.nodeType===1&&typeof e.getBoundingClientRect==`function`)return e.getBoundingClientRect();throw Error(`Can not get boundingClientRect of `+e||`undefined`)},ny=(e,t)=>{let n=e?.parentNode;n&&setTimeout(()=>{let r=ty(n),{height:i,left:a,top:o,width:s}=ty(e);t(a-r.left,o-r.top,s,i,a,o)},0)};function ry(){let e=this.state.touchable.responderID;e!==null&&ny(e,this._handleQueryLayout)}function iy(e){return e.replace(`<svg`,~e.indexOf(`xmlns`)?`<svg`:`<svg xmlns="http://www.w3.org/2000/svg"`).replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/{/g,`%7B`).replace(/}/g,`%7D`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}var ay=new Set(`stdDeviation.edgeMode.kernelMatrix.kernelUnitLength.preserveAlpha.baseFrequency.targetX.targetY.numOctaves.stitchTiles.filterUnits.primitiveUnits.pathLength.gradientUnits.gradientTransform.spreadMethod.markerHeight.markerUnits.markerWidth.viewBox.refX.refY.maskContentUnits.maskUnits.patternContentUnits.patternTransform.patternUnits.textLength.lengthAdjust.startOffset.clipPathUnits`.split(`.`)),oy=e=>ay.has(e)?e:ey(e);function sy(e){return!!(e.onPress||e.onPressIn||e.onPressOut||e.onLongPress)}Math.PI/180;var cy=i(((e,t)=>{function n(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function r(e,t,n,i){this.message=e,this.expected=t,this.found=n,this.location=i,this.name=`SyntaxError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,r)}n(r,Error),r.buildMessage=function(e,t){var n={literal:function(e){return`"`+i(e.text)+`"`},class:function(e){for(var t=``,n=0;n<e.parts.length;n++)t+=e.parts[n]instanceof Array?a(e.parts[n][0])+`-`+a(e.parts[n][1]):a(e.parts[n]);return`[`+(e.inverted?`^`:``)+t+`]`},any:function(e){return`any character`},end:function(e){return`end of input`},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function a(e){return e.replace(/\\/g,`\\\\`).replace(/\]/g,`\\]`).replace(/\^/g,`\\^`).replace(/-/g,`\\-`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function o(e){return n[e.type](e)}function s(e){for(var t=Array(e.length),n=0,r;n<e.length;n++)t[n]=o(e[n]);if(t.sort(),t.length>0){for(n=1,r=1;n<t.length;n++)t[n-1]!==t[n]&&(t[r]=t[n],r++);t.length=r}switch(t.length){case 1:return t[0];case 2:return t[0]+` or `+t[1];default:return t.slice(0,-1).join(`, `)+`, or `+t[t.length-1]}}function c(e){return e?`"`+i(e)+`"`:`end of input`}return`Expected `+s(e)+` but `+c(t)+` found.`};function i(e,t){t=t===void 0?{}:t;var n={},i={transformList:Ce},a=Ce,o=function(e){return e},s=function(e,t){return Ve(e,t)},c=`matrix`,l=ve(`matrix`,!1),u=`(`,d=ve(`(`,!1),f=`)`,p=ve(`)`,!1),m=function(e,t,n,r,i,a){return[e,n,i,t,r,a]},h=`translate`,g=ve(`translate`,!1),_=function(e,t){return[1,0,e,0,1,t||0]},v=`scale`,y=ve(`scale`,!1),b=function(e,t){return[e,0,0,0,t===null?e:t,0]},x=`rotate`,S=ve(`rotate`,!1),C=function(e,t){var n=Math.cos(Be*e),r=Math.sin(Be*e);if(t!==null){var i=t[0],a=t[1];return[n,-r,n*-i+-r*-a+i,r,n,r*-i+n*-a+a]}return[n,-r,0,r,n,0]},w=`skewX`,T=ve(`skewX`,!1),E=function(e){return[1,Math.tan(Be*e),0,0,1,0]},D=`skewY`,O=ve(`skewY`,!1),k=function(e){return[1,0,0,Math.tan(Be*e),1,0]},A=function(e){return parseFloat(e.join(``))},ee=function(e){return parseInt(e.join(``))},te=function(e){return e},ne=function(e,t){return[e,t]},re=`,`,j=ve(`,`,!1),M=function(e){return e.join(``)},ie=function(e){return e.join(``)},ae=function(e){return e.join(``)},oe=be(`fractionalConstant`),se=`.`,ce=ve(`.`,!1),le=function(e,t){return[e?e.join(``):null,`.`,t.join(``)].join(``)},ue=/^[eE]/,N=B([`e`,`E`],!1,!1),P=function(e){return[e[0],e[1],e[2].join(``)].join(``)},F=/^[+\-]/,de=B([`+`,`-`],!1,!1),fe=/^[0-9]/,pe=B([[`0`,`9`]],!1,!1),me=/^[ \t\r\n]/,he=B([` `,` `,`\r`,`
34
+ `],!1,!1),I=0,ge=[{line:1,column:1}],L=0,_e=[],R=0,z;if(`startRule`in t){if(!(t.startRule in i))throw Error(`Can't start parsing from rule "`+t.startRule+`".`);a=i[t.startRule]}function ve(e,t){return{type:`literal`,text:e,ignoreCase:t}}function B(e,t,n){return{type:`class`,parts:e,inverted:t,ignoreCase:n}}function ye(){return{type:`end`}}function be(e){return{type:`other`,description:e}}function V(t){var n=ge[t],r;if(n)return n;for(r=t-1;!ge[r];)r--;for(n=ge[r],n={line:n.line,column:n.column};r<t;)e.charCodeAt(r)===10?(n.line++,n.column=1):n.column++,r++;return ge[t]=n,n}function xe(e,t){var n=V(e),r=V(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function H(e){I<L||(I>L&&(L=I,_e=[]),_e.push(e))}function Se(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function Ce(){for(var e=I,t=[],r=q(),i,a;r!==n;)t.push(r),r=q();if(t!==n){if(r=we(),r===n&&(r=null),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();i===n?(I=e,e=n):(t=o(r),e=t)}else I=e,e=n}else I=e,e=n;return e}function we(){var e=I,t=U(),r,i;if(t!==n){for(r=[],i=Ne();i!==n;)r.push(i),i=Ne();r===n?(I=e,e=n):(i=we(),i===n?(I=e,e=n):(t=s(t,i),e=t))}else I=e,e=n;return e===n&&(e=U()),e}function U(){var e=Te();return e===n&&(e=Ee(),e===n&&(e=De(),e===n&&(e=Oe(),e===n&&(e=ke(),e===n&&(e=Ae()))))),e}function Te(){var t=I,r,i,a,o,s,h,g,_,v,y,b,x,S,C,w,T,E;if(e.substr(I,6)===c?(r=c,I+=6):(r=n,R===0&&H(l)),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();if(i!==n){if(e.charCodeAt(I)===40?(a=u,I++):(a=n,R===0&&H(d)),a!==n){for(o=[],s=q();s!==n;)o.push(s),s=q();if(o!==n){if(s=W(),s!==n){if(h=Ne(),h!==n){if(g=W(),g!==n){if(_=Ne(),_!==n){if(v=W(),v!==n){if(y=Ne(),y!==n){if(b=W(),b!==n){if(x=Ne(),x!==n){if(S=W(),S!==n){if(C=Ne(),C!==n){if(w=W(),w!==n){for(T=[],E=q();E!==n;)T.push(E),E=q();T===n?(I=t,t=n):(e.charCodeAt(I)===41?(E=f,I++):(E=n,R===0&&H(p)),E===n?(I=t,t=n):(r=m(s,g,v,b,S,w),t=r))}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n;return t}function Ee(){var t=I,r,i,a,o,s,c,l,m;if(e.substr(I,9)===h?(r=h,I+=9):(r=n,R===0&&H(g)),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();if(i!==n){if(e.charCodeAt(I)===40?(a=u,I++):(a=n,R===0&&H(d)),a!==n){for(o=[],s=q();s!==n;)o.push(s),s=q();if(o!==n){if(s=W(),s!==n){if(c=je(),c===n&&(c=null),c!==n){for(l=[],m=q();m!==n;)l.push(m),m=q();l===n?(I=t,t=n):(e.charCodeAt(I)===41?(m=f,I++):(m=n,R===0&&H(p)),m===n?(I=t,t=n):(r=_(s,c),t=r))}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n;return t}function De(){var t=I,r,i,a,o,s,c,l,m;if(e.substr(I,5)===v?(r=v,I+=5):(r=n,R===0&&H(y)),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();if(i!==n){if(e.charCodeAt(I)===40?(a=u,I++):(a=n,R===0&&H(d)),a!==n){for(o=[],s=q();s!==n;)o.push(s),s=q();if(o!==n){if(s=W(),s!==n){if(c=je(),c===n&&(c=null),c!==n){for(l=[],m=q();m!==n;)l.push(m),m=q();l===n?(I=t,t=n):(e.charCodeAt(I)===41?(m=f,I++):(m=n,R===0&&H(p)),m===n?(I=t,t=n):(r=b(s,c),t=r))}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n;return t}function Oe(){var t=I,r,i,a,o,s,c,l,m;if(e.substr(I,6)===x?(r=x,I+=6):(r=n,R===0&&H(S)),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();if(i!==n){if(e.charCodeAt(I)===40?(a=u,I++):(a=n,R===0&&H(d)),a!==n){for(o=[],s=q();s!==n;)o.push(s),s=q();if(o!==n){if(s=W(),s!==n){if(c=Me(),c===n&&(c=null),c!==n){for(l=[],m=q();m!==n;)l.push(m),m=q();l===n?(I=t,t=n):(e.charCodeAt(I)===41?(m=f,I++):(m=n,R===0&&H(p)),m===n?(I=t,t=n):(r=C(s,c),t=r))}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n;return t}function ke(){var t=I,r,i,a,o,s,c,l;if(e.substr(I,5)===w?(r=w,I+=5):(r=n,R===0&&H(T)),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();if(i!==n){if(e.charCodeAt(I)===40?(a=u,I++):(a=n,R===0&&H(d)),a!==n){for(o=[],s=q();s!==n;)o.push(s),s=q();if(o!==n){if(s=W(),s!==n){for(c=[],l=q();l!==n;)c.push(l),l=q();c===n?(I=t,t=n):(e.charCodeAt(I)===41?(l=f,I++):(l=n,R===0&&H(p)),l===n?(I=t,t=n):(r=E(s),t=r))}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n;return t}function Ae(){var t=I,r,i,a,o,s,c,l;if(e.substr(I,5)===D?(r=D,I+=5):(r=n,R===0&&H(O)),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();if(i!==n){if(e.charCodeAt(I)===40?(a=u,I++):(a=n,R===0&&H(d)),a!==n){for(o=[],s=q();s!==n;)o.push(s),s=q();if(o!==n){if(s=W(),s!==n){for(c=[],l=q();l!==n;)c.push(l),l=q();c===n?(I=t,t=n):(e.charCodeAt(I)===41?(l=f,I++):(l=n,R===0&&H(p)),l===n?(I=t,t=n):(r=k(s),t=r))}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n}else I=t,t=n;return t}function W(){var e=I,t=I,r=Le(),i;return r===n&&(r=null),r===n?(I=t,t=n):(i=G(),i===n?(I=t,t=n):(r=[r,i],t=r)),t!==n&&(t=A(t)),e=t,e===n&&(e=I,t=I,r=Le(),r===n&&(r=null),r===n?(I=t,t=n):(i=Fe(),i===n?(I=t,t=n):(r=[r,i],t=r)),t!==n&&(t=ee(t)),e=t),e}function je(){var e=I,t=Ne(),r;return t===n?(I=e,e=n):(r=W(),r===n?(I=e,e=n):(t=te(r),e=t)),e}function Me(){var e=I,t=Ne(),r,i,a;return t===n?(I=e,e=n):(r=W(),r===n?(I=e,e=n):(i=Ne(),i===n?(I=e,e=n):(a=W(),a===n?(I=e,e=n):(t=ne(r,a),e=t)))),e}function Ne(){var e=I,t=[],r=q(),i,a;if(r!==n)for(;r!==n;)t.push(r),r=q();else t=n;if(t!==n){if(r=Pe(),r===n&&(r=null),r!==n){for(i=[],a=q();a!==n;)i.push(a),a=q();i===n?(I=e,e=n):(t=[t,r,i],e=t)}else I=e,e=n}else I=e,e=n;if(e===n){if(e=I,t=Pe(),t!==n){for(r=[],i=q();i!==n;)r.push(i),i=q();r===n?(I=e,e=n):(t=[t,r],e=t)}else I=e,e=n}return e}function Pe(){var t;return e.charCodeAt(I)===44?(t=re,I++):(t=n,R===0&&H(j)),t}function Fe(){var e=I,t=Re();return t!==n&&(t=M(t)),e=t,e}function G(){var e=I,t=I,r=K(),i;return r===n?(I=t,t=n):(i=Ie(),i===n&&(i=null),i===n?(I=t,t=n):(r=[r,i],t=r)),t!==n&&(t=ie(t)),e=t,e===n&&(e=I,t=I,r=Re(),r===n?(I=t,t=n):(i=Ie(),i===n?(I=t,t=n):(r=[r,i],t=r)),t!==n&&(t=ae(t)),e=t),e}function K(){var t,r,i,a;return R++,t=I,r=Re(),r===n&&(r=null),r===n?(I=t,t=n):(e.charCodeAt(I)===46?(i=se,I++):(i=n,R===0&&H(ce)),i===n?(I=t,t=n):(a=Re(),a===n?(I=t,t=n):(r=le(r,a),t=r))),t===n&&(t=I,r=Re(),r===n?(I=t,t=n):(e.charCodeAt(I)===46?(i=se,I++):(i=n,R===0&&H(ce)),i===n?(I=t,t=n):(r=ae(r),t=r))),R--,t===n&&(r=n,R===0&&H(oe)),t}function Ie(){var t=I,r=I,i,a,o;return ue.test(e.charAt(I))?(i=e.charAt(I),I++):(i=n,R===0&&H(N)),i===n?(I=r,r=n):(a=Le(),a===n&&(a=null),a===n?(I=r,r=n):(o=Re(),o===n?(I=r,r=n):(i=[i,a,o],r=i))),r!==n&&(r=P(r)),t=r,t}function Le(){var t;return F.test(e.charAt(I))?(t=e.charAt(I),I++):(t=n,R===0&&H(de)),t}function Re(){var e=[],t=ze();if(t!==n)for(;t!==n;)e.push(t),t=ze();else e=n;return e}function ze(){var t;return fe.test(e.charAt(I))?(t=e.charAt(I),I++):(t=n,R===0&&H(pe)),t}function q(){var t;return me.test(e.charAt(I))?(t=e.charAt(I),I++):(t=n,R===0&&H(he)),t}var Be=Math.PI/180;function Ve(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=t[0],l=t[1],u=t[2],d=t[3],f=t[4],p=t[5];return[n*c+r*d,n*l+r*f,n*u+r*p+i,a*c+o*d,a*l+o*f,a*u+o*p+s]}if(z=a(),z!==n&&I===e.length)return z;throw z!==n&&I<e.length&&H(ye()),Se(_e,L<e.length?e.charAt(L):null,L<e.length?xe(L,L+1):xe(L,L))}t.exports={SyntaxError:r,parse:i}})),ly=i(((e,t)=>{function n(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function r(e,t,n,i){var a=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(a,r.prototype),a.expected=t,a.found=n,a.location=i,a.name=`SyntaxError`,a}n(r,Error);function i(e,t,n){return n||=` `,e.length>t?e:(t-=e.length,n+=n.repeat(t),e+n.slice(0,t))}r.prototype.format=function(e){var t=`Error: `+this.message;if(this.location){for(var n=null,r=0;r<e.length;r++)if(e[r].source===this.location.source){n=e[r].text.split(/\r\n|\n|\r/g);break}var a=this.location.start,o=this.location.source&&typeof this.location.source.offset==`function`?this.location.source.offset(a):a,s=this.location.source+`:`+o.line+`:`+o.column;if(n){var c=this.location.end,l=i(``,o.line.toString().length,` `),u=n[a.line-1],d=(a.line===c.line?c.column:u.length+1)-a.column||1;t+=`
35
+ --> `+s+`
36
+ `+l+` |
37
+ `+o.line+` | `+u+`
38
+ `+l+` | `+i(``,a.column-1,` `)+i(``,d,`^`)}else t+=`
39
+ at `+s}return t},r.buildMessage=function(e,t){var n={literal:function(e){return`"`+i(e.text)+`"`},class:function(e){var t=e.parts.map(function(e){return Array.isArray(e)?a(e[0])+`-`+a(e[1]):a(e)});return`[`+(e.inverted?`^`:``)+t.join(``)+`]`},any:function(){return`any character`},end:function(){return`end of input`},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function a(e){return e.replace(/\\/g,`\\\\`).replace(/\]/g,`\\]`).replace(/\^/g,`\\^`).replace(/-/g,`\\-`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function o(e){return n[e.type](e)}function s(e){var t=e.map(o),n,r;if(t.sort(),t.length>0){for(n=1,r=1;n<t.length;n++)t[n-1]!==t[n]&&(t[r]=t[n],r++);t.length=r}switch(t.length){case 1:return t[0];case 2:return t[0]+` or `+t[1];default:return t.slice(0,-1).join(`, `)+`, or `+t[t.length-1]}}function c(e){return e?`"`+i(e)+`"`:`end of input`}return`Expected `+s(e)+` but `+c(t)+` found.`};function a(e,t){t=t===void 0?{}:t;var n={},i=t.grammarSource,a={start:Ee},o=Ee,s=`matrix(`,c=`)`,l=`translate(`,u=`scale(`,d=`rotate(`,f=`skewX(`,p=`skewY(`,m=`.`,h=`e`,g=/^[ \t\n\r,]/,_=/^[ \t\n\r]/,v=/^[+\-]/,y=/^[0-9]/,b=Se(`transform functions`),x=Se(`transformFunctions`),S=Se(`transform function`),C=Se(`matrix`),w=V(`matrix(`,!1),T=V(`)`,!1),E=Se(`translate`),D=V(`translate(`,!1),O=Se(`scale`),k=V(`scale(`,!1),A=Se(`rotate`),ee=V(`rotate(`,!1),te=Se(`x, y`),ne=Se(`skewX`),re=V(`skewX(`,!1),j=Se(`skewY`),M=V(`skewY(`,!1),ie=Se(`space or comma`),ae=xe([` `,` `,`
40
+ `,`\r`,`,`],!1,!1),oe=Se(`whitespace`),se=xe([` `,` `,`
41
+ `,`\r`],!1,!1),ce=xe([`+`,`-`],!1,!1),le=xe([[`0`,`9`]],!1,!1),ue=V(`.`,!1),N=V(`e`,!1),P=function(e,t){let n=Array.isArray(e)?e:[e];return t.forEach(e=>{Array.isArray(e[1])?n.push(...e[1]):n.push(e[1])}),n},F=function(e,t,n,r,i,a,o,s,c){return{matrix:[e,t,n,r,i,a,o,s,c]}},de=function(e,t){return t==null?{translate:e}:{translate:[e,t]}},fe=function(e,t){return t==null?{scale:e}:[{scaleX:e},{scaleY:t}]},pe=function(e,t){return t===null?[{rotate:`${e}deg`}]:{rotate:`${e}deg`}},me=function(e,t){return[e,t]},he=function(e){return[{skewX:`${e}deg`}]},I=function(e){return[{skewY:`${e}deg`}]},ge=function(){return parseFloat(be())},L=t.peg$currPos|0,_e=L,R=[{line:1,column:1}],z=L,ve=t.peg$maxFailExpected||[],B=t.peg$silentFails|0,ye;if(t.startRule){if(!(t.startRule in a))throw Error(`Can't start parsing from rule "`+t.startRule+`".`);o=a[t.startRule]}function be(){return e.substring(_e,L)}function V(e,t){return{type:`literal`,text:e,ignoreCase:t}}function xe(e,t,n){return{type:`class`,parts:e,inverted:t,ignoreCase:n}}function H(){return{type:`end`}}function Se(e){return{type:`other`,description:e}}function Ce(t){var n=R[t],r;if(n)return n;if(t>=R.length)r=R.length-1;else for(r=t;!R[--r];);for(n=R[r],n={line:n.line,column:n.column};r<t;)e.charCodeAt(r)===10?(n.line++,n.column=1):n.column++,r++;return R[t]=n,n}function we(e,t,n){var r=Ce(e),a=Ce(t),o={source:i,start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:a.line,column:a.column}};return n&&i&&typeof i.offset==`function`&&(o.start=i.offset(o.start),o.end=i.offset(o.end)),o}function U(e){L<z||(L>z&&(z=L,ve=[]),ve.push(e))}function Te(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function Ee(){var e;return B++,e=De(),B--,e===n&&B===0&&U(b),e}function De(){var e,t,r,i,a,o;if(B++,e=L,t=Oe(),t!==n){for(r=[],i=L,a=G(),o=Oe(),o===n?(L=i,i=n):(a=[a,o],i=a);i!==n;)r.push(i),i=L,a=G(),o=Oe(),o===n?(L=i,i=n):(a=[a,o],i=a);_e=e,e=P(t,r)}else L=e,e=n;return B--,e===n&&(t=n,B===0&&U(x)),e}function Oe(){var e;return B++,e=ke(),e===n&&(e=Ae(),e===n&&(e=W(),e===n&&(e=je(),e===n&&(e=Ne(),e===n&&(e=Pe()))))),B--,e===n&&B===0&&U(S),e}function ke(){var t,r,i,a,o,l,u,d,f,p,m,h;return B++,t=L,G(),e.substr(L,7)===s?(r=s,L+=7):(r=n,B===0&&U(w)),r===n?(L=t,t=n):(G(),i=K(),i===n?(L=t,t=n):(Fe(),a=K(),a===n?(L=t,t=n):(Fe(),o=K(),o===n?(L=t,t=n):(Fe(),l=K(),l===n?(L=t,t=n):(Fe(),u=K(),u===n?(L=t,t=n):(Fe(),d=K(),d===n?(L=t,t=n):(Fe(),f=K(),f===n?(L=t,t=n):(Fe(),p=K(),p===n?(L=t,t=n):(Fe(),m=K(),m===n?(L=t,t=n):(G(),e.charCodeAt(L)===41?(h=c,L++):(h=n,B===0&&U(T)),h===n?(L=t,t=n):(G(),_e=t,t=F(i,a,o,l,u,d,f,p,m)))))))))))),B--,t===n&&B===0&&U(C),t}function Ae(){var t,r,i,a,o;return B++,t=L,G(),e.substr(L,10)===l?(r=l,L+=10):(r=n,B===0&&U(D)),r===n?(L=t,t=n):(G(),i=K(),i===n?(L=t,t=n):(Fe(),a=K(),a===n&&(a=null),G(),e.charCodeAt(L)===41?(o=c,L++):(o=n,B===0&&U(T)),o===n?(L=t,t=n):(G(),_e=t,t=de(i,a)))),B--,t===n&&B===0&&U(E),t}function W(){var t,r,i,a,o;return B++,t=L,G(),e.substr(L,6)===u?(r=u,L+=6):(r=n,B===0&&U(k)),r===n?(L=t,t=n):(G(),i=K(),i===n?(L=t,t=n):(Fe(),a=K(),a===n&&(a=null),G(),e.charCodeAt(L)===41?(o=c,L++):(o=n,B===0&&U(T)),o===n?(L=t,t=n):(G(),_e=t,t=fe(i,a)))),B--,t===n&&B===0&&U(O),t}function je(){var t,r,i,a,o;return B++,t=L,G(),e.substr(L,7)===d?(r=d,L+=7):(r=n,B===0&&U(ee)),r===n?(L=t,t=n):(G(),i=K(),i===n?(L=t,t=n):(a=Me(),a===n&&(a=null),G(),e.charCodeAt(L)===41?(o=c,L++):(o=n,B===0&&U(T)),o===n?(L=t,t=n):(G(),_e=t,t=pe(i,a)))),B--,t===n&&B===0&&U(A),t}function Me(){var e,t,r;return B++,e=L,Fe(),t=K(),t===n?(L=e,e=n):(Fe(),r=K(),r===n?(L=e,e=n):(_e=e,e=me(t,r))),B--,e===n&&B===0&&U(te),e}function Ne(){var t,r,i,a;return B++,t=L,G(),e.substr(L,6)===f?(r=f,L+=6):(r=n,B===0&&U(re)),r===n?(L=t,t=n):(G(),i=K(),i===n?(L=t,t=n):(G(),e.charCodeAt(L)===41?(a=c,L++):(a=n,B===0&&U(T)),a===n?(L=t,t=n):(G(),_e=t,t=he(i)))),B--,t===n&&B===0&&U(ne),t}function Pe(){var t,r,i,a;return B++,t=L,G(),e.substr(L,6)===p?(r=p,L+=6):(r=n,B===0&&U(M)),r===n?(L=t,t=n):(G(),i=K(),i===n?(L=t,t=n):(G(),e.charCodeAt(L)===41?(a=c,L++):(a=n,B===0&&U(T)),a===n?(L=t,t=n):(G(),_e=t,t=I(i)))),B--,t===n&&B===0&&U(j),t}function Fe(){var t,r;for(B++,t=[],r=e.charAt(L),g.test(r)?L++:(r=n,B===0&&U(ae));r!==n;)t.push(r),r=e.charAt(L),g.test(r)?L++:(r=n,B===0&&U(ae));return B--,r=n,B===0&&U(ie),t}function G(){var t,r;for(B++,t=[],r=e.charAt(L),_.test(r)?L++:(r=n,B===0&&U(se));r!==n;)t.push(r),r=e.charAt(L),_.test(r)?L++:(r=n,B===0&&U(se));return B--,r=n,B===0&&U(oe),t}function K(){var t=L,r=e.charAt(L),i,a,o,s,c,l;for(v.test(r)?L++:(r=n,B===0&&U(ce)),r===n&&(r=null),i=L,a=[],o=e.charAt(L),y.test(o)?L++:(o=n,B===0&&U(le));o!==n;)a.push(o),o=e.charAt(L),y.test(o)?L++:(o=n,B===0&&U(le));if(e.charCodeAt(L)===46?(o=m,L++):(o=n,B===0&&U(ue)),o!==n){if(s=[],c=e.charAt(L),y.test(c)?L++:(c=n,B===0&&U(le)),c!==n)for(;c!==n;)s.push(c),c=e.charAt(L),y.test(c)?L++:(c=n,B===0&&U(le));else s=n;s===n?(L=i,i=n):(a=[a,o,s],i=a)}else L=i,i=n;if(i===n){if(i=[],a=e.charAt(L),y.test(a)?L++:(a=n,B===0&&U(le)),a!==n)for(;a!==n;)i.push(a),a=e.charAt(L),y.test(a)?L++:(a=n,B===0&&U(le));else i=n}if(i!==n){if(a=L,e.charCodeAt(L)===101?(o=h,L++):(o=n,B===0&&U(N)),o!==n){if(s=e.charAt(L),v.test(s)?L++:(s=n,B===0&&U(ce)),s===n&&(s=null),c=[],l=e.charAt(L),y.test(l)?L++:(l=n,B===0&&U(le)),l!==n)for(;l!==n;)c.push(l),l=e.charAt(L),y.test(l)?L++:(l=n,B===0&&U(le));else c=n;c===n?(L=a,a=n):(o=[o,s,c],a=o)}else L=a,a=n;a===n&&(a=null),_e=t,t=ge()}else L=t,t=n;return t}if(ye=o(),t.peg$library)return{peg$result:ye,peg$currPos:L,peg$FAILED:n,peg$maxFailExpected:ve,peg$maxFailPos:z};if(ye!==n&&L===e.length)return ye;throw ye!==n&&L<e.length&&U(H()),Te(ve,z<e.length?e.charAt(z):null,z<e.length?we(z,z+1):we(z,z))}t.exports={StartRules:[`start`],SyntaxError:r,parse:a}}));cy(),ly();var uy=e=>{if(e.endsWith(`rad`))return 180/Math.PI*parseFloat(e);if(e.endsWith(`deg`))return parseFloat(e)};function dy(e){return e?e.map(e=>{let[t,n]=Object.entries(e)[0];switch(t){case`translateX`:return`translate(${n}, 0)`;case`translateY`:return`translate(0, ${n})`;case`rotate`:return`rotate(${uy(n)})`;case`scale`:return`scale(${n})`;case`scaleX`:return`scale(${n}, 1)`;case`scaleY`:return`scale(1, ${n})`;case`skewX`:return`skewX(${uy(n)})`;case`skewY`:return`skewY(${uy(n)})`;case`matrix`:return`matrix(${n.join(`, `)})`;default:return``}}).join(` `):``}function fy(e,t){let n=[];if(t&&n.push(...py(t)),Array.isArray(e)){if(typeof e[0]==`number`)n.push(`matrix(${e.join(` `)})`);else{let t=dy(e).split(` `);n.push(...t)}}else typeof e==`string`&&n.push(e);return n.length?n.join(` `):void 0}function py(e){let t=[];return e.translate!=null&&t.push(`translate(${e.translate})`),(e.translateX!=null||e.translateY!=null)&&t.push(`translate(${e.translateX||0}, ${e.translateY||0})`),e.scale!=null&&t.push(`scale(${e.scale})`),(e.scaleX!=null||e.scaleY!=null)&&t.push(`scale(${e.scaleX||1}, ${e.scaleY||1})`),e.rotation!=null&&t.push(`rotate(${e.rotation})`),e.skewX!=null&&t.push(`skewX(${e.skewX})`),e.skewY!=null&&t.push(`skewY(${e.skewY})`),t}function my(e,t){return e?Ch?[e,t]:e[Symbol.iterator]?Object.assign({},...e,t):Object.assign({},e,t):t}var hy=/^(data:image\/svg\+xml;utf8,)(.*)/;function gy(e){let t={};if(typeof e==`number`){let n=z_(e);if(n==null)throw Error(`Image: asset with ID "${e}" could not be found. Please check the image source or packager.`);if(t={width:n.width,height:n.height,scale:n.scales[0]},n.scales.length>1){let e=B_.get();t.scale=n.scales.reduce((t,n)=>Math.abs(n-e)<Math.abs(t-e)?n:t)}let r=t.scale===1?``:`@${t.scale}x`;t.uri=n?`${n.httpServerLocation}/${n.name}${r}.${n.type}`:``}else typeof e==`string`?t.uri=e:e&&!Array.isArray(e)&&typeof e.uri==`string`&&(t.uri=e.uri);if(t.uri){var n;let e=(n=t)==null||(n=n.uri)==null?void 0:n.match(hy);if(e){let[,n,r]=e;return t.uri=`${n}${encodeURIComponent(r)}`,t}}return t}var _y=(e,t=e.props)=>{let{transform:n,origin:r,originX:i,originY:a,fontFamily:o,fontSize:s,fontWeight:c,fontStyle:l,style:u,forwardedRef:d,gradientTransform:f,patternTransform:p,onPress:m,...h}=t,g={...sy(t)?{onStartShouldSetResponder:e.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:e.touchableHandleResponderTerminationRequest,onResponderGrant:e.touchableHandleResponderGrant,onResponderMove:e.touchableHandleResponderMove,onResponderRelease:e.touchableHandleResponderRelease,onResponderTerminate:e.touchableHandleResponderTerminate}:null,...h};r==null?(i!=null||a!=null)&&(g[`transform-origin`]=`${i||0} ${a||0}`):g[`transform-origin`]=r.toString().replace(`,`,` `);let _=fy(n,t);_&&(g.transform=_);let v=fy(f);v&&(g.gradientTransform=v);let y=fy(p);y&&(g.patternTransform=y),g.ref=t=>{e.elementRef.current=t,typeof d==`function`?d(t):d&&(d.current=t)};let b={};return o!=null&&(b.fontFamily=o),s!=null&&(b.fontSize=s),c!=null&&(b.fontWeight=c),l!=null&&(b.fontStyle=l),g.style=my(u,b),m!==null&&(g.onClick=t.onPress),t.href!==null&&t.href!==void 0&&(g.href=gy(t.href)?.uri),g};function vy(e){return`rgba(${e>>16&255},${e>>8&255},${e&255},${((e>>24&255)/255).toFixed(2)})`}var yy={top:20,left:20,right:20,bottom:30},{Mixin:by}=cv,{touchableHandleStartShouldSetResponder:xy,touchableHandleResponderTerminationRequest:Sy,touchableHandleResponderGrant:Cy,touchableHandleResponderMove:wy,touchableHandleResponderRelease:Ty,touchableHandleResponderTerminate:Ey,touchableGetInitialState:Dy}=by,Oy={...by,touchableHandleStartShouldSetResponder(e){let{onStartShouldSetResponder:t}=this.props;return t?t(e):xy.call(this,e)},touchableHandleResponderTerminationRequest(e){let{onResponderTerminationRequest:t}=this.props;return t?t(e):Sy.call(this,e)},touchableHandleResponderGrant(e){let{onResponderGrant:t}=this.props;return t?t(e):Cy.call(this,e)},touchableHandleResponderMove(e){let{onResponderMove:t}=this.props;return t?t(e):wy.call(this,e)},touchableHandleResponderRelease(e){let{onResponderRelease:t}=this.props;return t?t(e):Ty.call(this,e)},touchableHandleResponderTerminate(e){let{onResponderTerminate:t}=this.props;return t?t(e):Ey.call(this,e)},touchableHandlePress(e){let{onPress:t}=this.props;t&&t(e)},touchableHandleActivePressIn(e){let{onPressIn:t}=this.props;t&&t(e)},touchableHandleActivePressOut(e){let{onPressOut:t}=this.props;t&&t(e)},touchableHandleLongPress(e){let{onLongPress:t}=this.props;t&&t(e)},touchableGetPressRectOffset(){let{pressRetentionOffset:e}=this.props;return e||yy},touchableGetHitSlop(){let{hitSlop:e}=this.props;return e},touchableGetHighlightDelayMS(){let{delayPressIn:e}=this.props;return e||0},touchableGetLongPressDelayMS(){let{delayLongPress:e}=this.props;return e===0?0:e||500},touchableGetPressOutDelayMS(){let{delayPressOut:e}=this.props;return e||0}},ky=Object.keys(Oy),Ay=ky.map(e=>Oy[e]),jy=ky.length,My=e=>{for(let t=0;t<jy;t++){let n=ky[t],r=Ay[t];e[n]=typeof r==`function`?r.bind(e):r}e.state=Dy()},Ny=class extends l.Component{prepareProps(e){return e}elementRef=l.createRef();lastMergedProps={};setNativeProps(e){let t=Object.assign({},this.props,this.lastMergedProps,e.style);this.lastMergedProps=t;let n=_y(this,this.prepareProps(t)),r=this.elementRef.current;if(r)for(let e of Object.keys(n)){let t=n[e];switch(e){case`ref`:case`children`:break;case`style`:for(let e of[].concat(n.style??[]))Object.assign(r.style,e);break;case`fill`:if(t&&typeof t==`object`){let e=t;r.setAttribute(`fill`,vy(e.payload))}break;case`stroke`:if(t&&typeof t==`object`){let e=t;r.setAttribute(`stroke`,vy(e.payload))}break;default:r.setAttribute(oy(e),t)}}}constructor(e){super(e),sy(e)&&My(this),this._remeasureMetricsOnActivation=ry.bind(this)}render(){if(!this.tag)throw Error("When extending `WebShape` you need to overwrite either `tag` or `render`!");return this.lastMergedProps={},Hh(this.tag,_y(this,this.prepareProps(this.props)))}},Py=class extends Ny{tag=`circle`},Fy=class extends Ny{tag=`line`},Iy=class extends Ny{tag=`path`},Ly=class extends Ny{tag=`polyline`},Ry=class extends Ny{tag=`rect`},zy=class extends Ny{tag=`svg`;toDataURL(e,t={}){let n=this.elementRef.current;if(n===null)return;let r=ty(n),i=Number(t.width)||r.width,a=Number(t.height)||r.height,o=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);o.setAttribute(`viewBox`,`0 0 ${r.width} ${r.height}`),o.setAttribute(`width`,String(i)),o.setAttribute(`height`,String(a)),o.appendChild(n.cloneNode(!0));let s=new window.Image;s.onload=()=>{let t=document.createElement(`canvas`);t.width=i,t.height=a,t.getContext(`2d`)?.drawImage(s,0,0),e(t.toDataURL().replace(`data:image/png;base64,`,``))},s.src=`data:image/svg+xml;utf8,${iy(new window.XMLSerializer().serializeToString(o))}`}};console.error.bind(console);function By(e){for(let t in e)if(t[0]===`$`)return!0;return!1}function Vy(e,t={}){let n={defaultThemeColor:{}.DEFAULT_ICON_THEME_COLOR||`$color`,defaultStrokeWidth:2,fallbackColor:`#000`,resolveValues:{}.GUI_ICON_COLOR_RESOLVE||`auto`,...t},r=t=>{let r=bv.useStyledContext(),i=By(t),[a,o,s]=uu(t,{...n,forComponent:ud,resolveValues:n.resolveValues,noMedia:!i}),c=n.defaultThemeColor,l=Oa(o.color||(c?s[c]:void 0)||(a.disableTheme?null:s.color)||n.fallbackColor),u=typeof a.size==`string`?Qr(a.size,`size`):a.size||(r.size===`$true`?void 0:r.size),d=typeof a.strokeWidth==`string`?Qr(a.strokeWidth,`size`):a.strokeWidth??`${n.defaultStrokeWidth}`,f={...a,color:l,size:u,strokeWidth:d,style:o};return(0,X.jsx)(e,{...f})},i=e=>(0,X.jsx)(r,{...e});return i.staticConfig={isHOC:!0,acceptsClassName:!0},i}var Hy=`am.ar-MA.as.az.bho.ceb.ckb.fa-AF.ha.ht.hy.jv.ka.kk.km.ku.ky.lo.mn.my.ne.om.or.pa.pa-PK.ps.sd.si.so.su.tg.tk.ug.uz`.split(`.`),Uy=[{code:`am`,name:`አማርኛ`,englishName:`Amharic`,dir:`ltr`},{code:`ar`,name:`العربية`,englishName:`Arabic`,dir:`rtl`},{code:`ar-EG`,name:`العربية (مصر)`,englishName:`Arabic (Egypt)`,dir:`rtl`},{code:`ar-LB`,name:`العربية (لبنان)`,englishName:`Arabic (Lebanon)`,dir:`rtl`},{code:`ar-MA`,name:`العربية (المغرب)`,englishName:`Arabic (Morocco)`,dir:`rtl`},{code:`ar-SA`,name:`العربية (السعودية)`,englishName:`Arabic (Saudi Arabia)`,dir:`rtl`},{code:`hy`,name:`հայերեն`,englishName:`Armenian`,dir:`ltr`},{code:`as`,name:`অসমীয়া`,englishName:`Assamese`,dir:`ltr`},{code:`az`,name:`azərbaycan`,englishName:`Azerbaijani`,dir:`ltr`},{code:`bn`,name:`বাংলা`,englishName:`Bangla`,dir:`ltr`},{code:`bho`,name:`भोजपुरी`,englishName:`Bhojpuri`,dir:`ltr`},{code:`my`,name:`မြန်မာ`,englishName:`Burmese`,dir:`ltr`},{code:`ceb`,name:`Cebuano`,englishName:`Cebuano`,dir:`ltr`},{code:`ckb`,name:`کوردیی ناوەندی`,englishName:`Central Kurdish`,dir:`rtl`},{code:`zh-HK`,name:`中文(香港)`,englishName:`Chinese (Hong Kong)`,dir:`ltr`},{code:`zh-Hans`,name:`中文(简体)`,englishName:`Chinese (Simplified)`,dir:`ltr`},{code:`zh-Hant`,name:`中文(繁體)`,englishName:`Chinese (Traditional)`,dir:`ltr`},{code:`da`,name:`dansk`,englishName:`Danish`,dir:`ltr`},{code:`fa-AF`,name:`دری`,englishName:`Dari`,dir:`rtl`},{code:`nl`,name:`Nederlands`,englishName:`Dutch`,dir:`ltr`},{code:`en-US`,name:`English (United States)`,englishName:`English (United States)`,dir:`ltr`},{code:`fil`,name:`Filipino`,englishName:`Filipino`,dir:`ltr`},{code:`fi`,name:`suomi`,englishName:`Finnish`,dir:`ltr`},{code:`fr-CA`,name:`français (Canada)`,englishName:`French (Canada)`,dir:`ltr`},{code:`fr-FR`,name:`français (France)`,englishName:`French (France)`,dir:`ltr`},{code:`ka`,name:`ქართული`,englishName:`Georgian`,dir:`ltr`},{code:`de-DE`,name:`Deutsch (Deutschland)`,englishName:`German (Germany)`,dir:`ltr`},{code:`gu`,name:`ગુજરાતી`,englishName:`Gujarati`,dir:`ltr`},{code:`ht`,name:`Kreyòl ayisyen`,englishName:`Haitian Creole`,dir:`ltr`},{code:`ha`,name:`Hausa`,englishName:`Hausa`,dir:`ltr`},{code:`he`,name:`עברית`,englishName:`Hebrew`,dir:`rtl`},{code:`hi-IN`,name:`हिन्दी (भारत)`,englishName:`Hindi (India)`,dir:`ltr`},{code:`id-ID`,name:`Indonesia (Indonesia)`,englishName:`Indonesian (Indonesia)`,dir:`ltr`},{code:`it-IT`,name:`italiano (Italia)`,englishName:`Italian (Italy)`,dir:`ltr`},{code:`ja-JP`,name:`日本語 (日本)`,englishName:`Japanese (Japan)`,dir:`ltr`},{code:`jv`,name:`Jawa`,englishName:`Javanese`,dir:`ltr`},{code:`kn`,name:`ಕನ್ನಡ`,englishName:`Kannada`,dir:`ltr`},{code:`kk`,name:`қазақ тілі`,englishName:`Kazakh`,dir:`ltr`},{code:`km`,name:`ខ្មែរ`,englishName:`Khmer`,dir:`ltr`},{code:`ko-KR`,name:`한국어(대한민국)`,englishName:`Korean (South Korea)`,dir:`ltr`},{code:`ku`,name:`kurdî (kurmancî)`,englishName:`Kurdish (Kurmanji)`,dir:`ltr`},{code:`ky`,name:`кыргызча`,englishName:`Kyrgyz`,dir:`ltr`},{code:`lo`,name:`ລາວ`,englishName:`Lao`,dir:`ltr`},{code:`ms`,name:`Melayu`,englishName:`Malay`,dir:`ltr`},{code:`ml`,name:`മലയാളം`,englishName:`Malayalam`,dir:`ltr`},{code:`mr`,name:`मराठी`,englishName:`Marathi`,dir:`ltr`},{code:`mn`,name:`монгол`,englishName:`Mongolian`,dir:`ltr`},{code:`ne`,name:`नेपाली`,englishName:`Nepali`,dir:`ltr`},{code:`nb`,name:`norsk bokmål`,englishName:`Norwegian Bokmål`,dir:`ltr`},{code:`or`,name:`ଓଡ଼ିଆ`,englishName:`Odia`,dir:`ltr`},{code:`om`,name:`Oromoo`,englishName:`Oromo`,dir:`ltr`},{code:`ps`,name:`پښتو`,englishName:`Pashto`,dir:`rtl`},{code:`fa`,name:`فارسی`,englishName:`Persian`,dir:`rtl`},{code:`pt-BR`,name:`português (Brasil)`,englishName:`Portuguese (Brazil)`,dir:`ltr`},{code:`pt-PT`,name:`português (Portugal)`,englishName:`Portuguese (Portugal)`,dir:`ltr`},{code:`pa`,name:`ਪੰਜਾਬੀ`,englishName:`Punjabi`,dir:`ltr`},{code:`pa-PK`,name:`پنجابی`,englishName:`Punjabi (Pakistan)`,dir:`rtl`},{code:`ru`,name:`русский`,englishName:`Russian`,dir:`ltr`},{code:`sd`,name:`سنڌي`,englishName:`Sindhi`,dir:`rtl`},{code:`si`,name:`සිංහල`,englishName:`Sinhala`,dir:`ltr`},{code:`so`,name:`Soomaali`,englishName:`Somali`,dir:`ltr`},{code:`es-AR`,name:`español (Argentina)`,englishName:`Spanish (Argentina)`,dir:`ltr`},{code:`es-419`,name:`español (Latinoamérica)`,englishName:`Spanish (Latin America)`,dir:`ltr`},{code:`es-MX`,name:`español (México)`,englishName:`Spanish (Mexico)`,dir:`ltr`},{code:`es-ES`,name:`español (España)`,englishName:`Spanish (Spain)`,dir:`ltr`},{code:`su`,name:`Basa Sunda`,englishName:`Sundanese`,dir:`ltr`},{code:`sw`,name:`Kiswahili`,englishName:`Swahili`,dir:`ltr`},{code:`sv`,name:`svenska`,englishName:`Swedish`,dir:`ltr`},{code:`tg`,name:`тоҷикӣ`,englishName:`Tajik`,dir:`ltr`},{code:`ta`,name:`தமிழ்`,englishName:`Tamil`,dir:`ltr`},{code:`te`,name:`తెలుగు`,englishName:`Telugu`,dir:`ltr`},{code:`th`,name:`ไทย`,englishName:`Thai`,dir:`ltr`},{code:`tr`,name:`Türkçe`,englishName:`Turkish`,dir:`ltr`},{code:`tk`,name:`türkmen dili`,englishName:`Turkmen`,dir:`ltr`},{code:`uk`,name:`українська`,englishName:`Ukrainian`,dir:`ltr`},{code:`ur`,name:`اردو`,englishName:`Urdu`,dir:`rtl`},{code:`ug`,name:`ئۇيغۇرچە`,englishName:`Uyghur`,dir:`rtl`},{code:`uz`,name:`oʻzbek`,englishName:`Uzbek`,dir:`ltr`},{code:`vi`,name:`Tiếng Việt`,englishName:`Vietnamese`,dir:`ltr`}],Wy=Uy.map(e=>({...e,review:Hy.includes(e.code)})),Gy=Uy.map(e=>e.code);Uy.filter(e=>!Hy.includes(e.code)).map(e=>e.code);var Ky=`en-US`;function qy(e,t=Gy){let n=(typeof e==`string`?[e]:e??[]).filter(e=>typeof e==`string`&&e.trim()!==``);for(let e of n){let n=Yy(e.trim().replaceAll(`_`,`-`),t);if(n)return n}return Ky}function Jy(e){let t=qy(e);return Wy.find(e=>e.code===t)?.dir??`ltr`}function Yy(e,t){let n=t.find(t=>t.toLowerCase()===e.toLowerCase());if(n)return n;let r=eb(e);if(!r.language)return;let i=t.filter(e=>eb(e).language===r.language);if(i.length===0)return;let a=r.script?i.filter(e=>eb(e).script===r.script):[];return Xy(a.length>0?a:i,r.region,eb(r.language).region)}function Xy(e,t,n){return e.find(e=>t&&Qy(e)===t)??e.find(e=>t&&Zy[e]?.includes(t))??e.find(e=>!Qy(e))??e.find(e=>n&&Qy(e)===n)??e[0]}var Zy={"es-419":[`AR`,`BO`,`BR`,`BZ`,`CL`,`CO`,`CR`,`CU`,`DO`,`EC`,`GT`,`HN`,`MX`,`NI`,`PA`,`PE`,`PR`,`PY`,`SV`,`US`,`UY`,`VE`],"pt-PT":[`AO`,`CH`,`CV`,`FR`,`GQ`,`GW`,`LU`,`MO`,`MZ`,`ST`,`TL`],"zh-HK":[`MO`],"ar-SA":[`AE`,`BH`,`KW`,`OM`,`QA`,`YE`],"ar-MA":[`DZ`,`EH`,`LY`,`MR`,`TN`],"ar-LB":[`JO`,`PS`,`SY`]};function Qy(e){try{return new Intl.Locale(e).region}catch{return}}var $y={no:`nb`,lah:`pa`};function eb(e){try{let t=new Intl.Locale(e).maximize();return{language:$y[t.language]??t.language,script:t.script,region:t.region}}catch{let t=e.toLowerCase().split(`-`)[0];return{language:$y[t]??t}}}function tb(e,t){let n=Object.hasOwn(e,t)?e[t]:t,r=(t.match(/^\s*/)?.[0]??``)+n.trim()+(t.match(/\s*$/)?.[0]??``),i=[],a=0;for(let e of r.matchAll(/\{(\w+)\}/g))e.index>a&&i.push(r.slice(a,e.index)),i.push({name:e[1]}),a=e.index+e[0].length;return a<r.length&&i.push(r.slice(a)),i}function nb(e,t,n={}){return tb(e,t).map(e=>typeof e==`string`?e:Object.hasOwn(n,e.name)?String(n[e.name]):`{${e.name}}`).join(``)}var rb=(e,t)=>nb({},e,t);function ib(e){return ab(e)?e:`\u2068${e}\u2069`}function ab(e){if(!e.startsWith(`⁨`)||!e.endsWith(`⁩`))return!1;let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=8294&&r<=8296)t++;else if(r===8297&&--t===0&&n<e.length-1)return!1}return t===0}function ob(e){return e}var sb=[[`year`,31536e3],[`month`,2592e3],[`week`,604800],[`day`,86400],[`hour`,3600],[`minute`,60],[`second`,1]];function cb(e){let t=Jy(e)===`rtl`,n=new Map;function r(e,t,r){let i=`${e}:${JSON.stringify(t)}`,a=n.get(i);return a||(a=r(),n.set(i,a)),a}let i=e=>t?ib(e):e,a=(t,n)=>i(r(`number`,n,()=>new Intl.NumberFormat(e,n)).format(t));return{number:(e,t={})=>a(e,t),percent:(e,t={})=>a(e,{...t,style:`percent`}),money:(e,t,n={})=>a(e,{...n,style:`currency`,currency:t}),date:(t,n={})=>i(r(`date`,n,()=>new Intl.DateTimeFormat(e,n)).format(lb(t))),relative:(t,{now:n,unit:a,...o}={})=>{let s=(lb(t).getTime()-lb(n??Date.now()).getTime())/1e3,[c,l]=sb.find(([e,t])=>a?e===a:Math.abs(s)>=t)??[`second`,1];return i(r(`relative`,o,()=>new Intl.RelativeTimeFormat(e,o)).format(Math.round(s/l),c))},list:(n,a={})=>i(r(`list`,a,()=>new Intl.ListFormat(e,a)).format(t?n.map(ib):n))}}function lb(e){return e instanceof Date?e:new Date(e)}var ub=(0,l.createContext)({locale:Ky,dir:`ltr`,messages:{},loading:!1,error:null,t:gb({},!1),format:cb(Ky),setLocale:async()=>{throw Error(`Changing language requires I18nProvider`)}}),db=(0,l.createContext)(null),fb=()=>()=>{},pb=()=>!0,mb=()=>!1;function hb(){let e=(0,l.useContext)(ub),t=(0,l.useContext)(db);return(0,l.useSyncExternalStore)(fb,pb,mb)||!t?e:t}function gb(e,t){return((n,r={})=>{if(Object.values(r).every(e=>typeof e==`string`||typeof e==`number`)){let i=r;return nb(e,n,t?Object.fromEntries(Object.entries(i).map(([e,t])=>[e,ib(String(t))])):i)}let i=tb(e,n).map(e=>{if(typeof e==`string`)return e;if(!Object.hasOwn(r,e.name))return`{${e.name}}`;let n=r[e.name];return t?typeof n==`string`||typeof n==`number`?ib(String(n)):(0,l.createElement)(`bdi`,null,n):n});return(0,l.createElement)(l.Fragment,null,...i)})}var _b=(0,l.createContext)(void 0);_b.Provider;var vb=()=>(0,l.useContext)(_b);function yb(e){$v(u.FEATURE_USED,{component:e.component,action:e.action,...e.id===void 0?null:{id:e.id},...e.value===void 0?null:{value:e.value},...e.surface===void 0?null:{surface:e.surface}})}function bb(){let e=vb();return(0,l.useCallback)(t=>yb(e!==void 0&&t.surface===void 0?{...t,surface:e}:t),[e])}function xb(e){if(typeof e==`string`)return e.trim()||void 0;if(Array.isArray(e))return e.filter(e=>typeof e==`string`||typeof e==`number`).join(``).trim()||void 0}export{sd as $,o as $t,A_ as A,Nr as At,Rd as B,Dt as Bt,Dv as C,Ca as Ct,pv as D,Qr as Dt,mv as E,Gr as Et,Ch as F,fr as Ft,Dd as G,Gt,Pd as H,Lt as Ht,lf as I,ur as It,xd as J,Qn as Jt,wd as K,zt as Kt,Qd as L,dt as Lt,mg as M,Er as Mt,pg as N,wr as Nt,lv as O,Pr as Ot,Qh as P,Sr as Pt,pd as Q,c as Qt,Zd as R,Wt as Rt,Xv as S,Ea as St,yv as T,Vi as Tt,Nd as U,Ct as Ut,Fd as V,It as Vt,Ed as W,jt as Wt,gd as X,or as Xt,vd as Y,At as Yt,hd as Z,d as Zt,Gv as _,yo as _t,rb as a,Su as at,Zv as b,no as bt,Jy as c,fu as ct,Py as d,su as dt,ud as et,Fy as f,rl as ft,zy as g,Io as gt,Ry as h,Dc as ht,cb as i,Ku as it,O_ as j,Mr as jt,L_ as k,Fr as kt,qy as l,lu as lt,Ly as m,zc as mt,bb as n,cd as nt,ob as o,xu as ot,Iy as p,Vc as pt,yd as q,Pt as qt,hb as r,Mu as rt,nb as s,yu as st,xb as t,ld as tt,Vy as u,cu as ut,Yv as v,bo as vt,bv as w,Qi as wt,Qv as x,Ma as xt,Vv as y,go as yt,zd as z,Nt as zt};
42
+ //# sourceMappingURL=instrument-D2ByLhpL.js.map