decocms 4.149.2 → 4.149.3

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 (219) hide show
  1. package/dist/client/assets/{AlertCircle-IVSYIkmZ.js → AlertCircle-DCV-J_17.js} +1 -1
  2. package/dist/client/assets/{AreaChart-BOENTeXP.js → AreaChart-4o5_QIMN.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-Bgfikl5w.js → ArrowUp-BlWwKW4L.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-CWv6_9Ex.js → ArrowUpRight-CJ_7mRw-.js} +1 -1
  5. package/dist/client/assets/{Check-DkFHuFLF.js → Check-qJLO8g4w.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-C9WSvoea.js → CheckCircle-DUp67_eI.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-0c4JTfKo.js → ChevronDown-3-gbZo8q.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-algpPtg8.js → ChevronRight-CJOIJTmS.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-ymps59FJ.js → ChevronUp-B3CtolQ8.js} +1 -1
  10. package/dist/client/assets/{Copy01-WldK5CoB.js → Copy01-DOfL1Wyb.js} +1 -1
  11. package/dist/client/assets/{DotsVertical-CVj50rsj.js → DotsVertical-DpBcrugn.js} +1 -1
  12. package/dist/client/assets/{Eye-DonKIxOm.js → Eye-CK6s5DvS.js} +1 -1
  13. package/dist/client/assets/{FilterLines-CpeI2bD4.js → FilterLines-DzH0NKwR.js} +1 -1
  14. package/dist/client/assets/{HardDrive-DcHXjsFw.js → HardDrive-CwqHmUxc.js} +1 -1
  15. package/dist/client/assets/{Key01-CLOLix4l.js → Key01-CKSbFlEj.js} +1 -1
  16. package/dist/client/assets/{LayoutLeft-DFsJ98hA.js → LayoutLeft-CrFA9fWe.js} +1 -1
  17. package/dist/client/assets/{LinkExternal01-jR5ZfK1-.js → LinkExternal01-BeqUZ5mh.js} +1 -1
  18. package/dist/client/assets/{LogOut01-4-ptiWqt.js → LogOut01-Cx0bCNIs.js} +1 -1
  19. package/dist/client/assets/{Monitor01-B8RuQ38U.js → Monitor01-BWjooWlk.js} +1 -1
  20. package/dist/client/assets/{Palette-Ck2khsiN.js → Palette-B2ca0bVn.js} +1 -1
  21. package/dist/client/assets/{Play-3qsqsZZi.js → Play-C68U-efL.js} +1 -1
  22. package/dist/client/assets/{Plus-DkFmTenT.js → Plus-B8mhYaf-.js} +1 -1
  23. package/dist/client/assets/{SearchLg-BLKFUXxm.js → SearchLg-CcqZwpgI.js} +1 -1
  24. package/dist/client/assets/{SearchMd-Dw__bMQL.js → SearchMd-BoHX07tM.js} +1 -1
  25. package/dist/client/assets/{Settings02-CKgP2rvh.js → Settings02-CQm8x-Mo.js} +1 -1
  26. package/dist/client/assets/{Shield01-D6-vuV6x.js → Shield01-BZ0gGCjQ.js} +1 -1
  27. package/dist/client/assets/{Star01-D41babtl.js → Star01-b9CKRdDr.js} +1 -1
  28. package/dist/client/assets/{Stars01-BZOYQZwI.js → Stars01-DBbpvSkt.js} +1 -1
  29. package/dist/client/assets/{Stars02-Be0nbgEF.js → Stars02-CEkp7b-G.js} +1 -1
  30. package/dist/client/assets/{Sun-VDw7wsMw.js → Sun-tN9skZqx.js} +1 -1
  31. package/dist/client/assets/{SwitchHorizontal01-BC3tjYtW.js → SwitchHorizontal01-CX0zzRKH.js} +1 -1
  32. package/dist/client/assets/{Tool01-BngJhgPB.js → Tool01-J1ZnkFdg.js} +1 -1
  33. package/dist/client/assets/{Tool02--hye3IZs.js → Tool02-CAeGe_oA.js} +1 -1
  34. package/dist/client/assets/{Trash01-tWz-jd5I.js → Trash01-DimX9kYZ.js} +1 -1
  35. package/dist/client/assets/{TrendUp01-D2ZT0gcL.js → TrendUp01-CDPaEeJa.js} +1 -1
  36. package/dist/client/assets/{Upload01-Bwa0YRg5.js → Upload01-B6ohqCNy.js} +1 -1
  37. package/dist/client/assets/{User01-BSgA21Pe.js → User01-DyigsrSz.js} +1 -1
  38. package/dist/client/assets/{Users01-Ct93scOb.js → Users01-P5l8QOnd.js} +1 -1
  39. package/dist/client/assets/{Users03-Bplp_Ccg.js → Users03-_2DmtKO7.js} +1 -1
  40. package/dist/client/assets/{X-B69fzX_x.js → X-Bb4zY2_f.js} +1 -1
  41. package/dist/client/assets/{XCircle-DEyoQKkX.js → XCircle-CsSTNWPK.js} +1 -1
  42. package/dist/client/assets/{XClose-CVsPcXcu.js → XClose-BcoCd49U.js} +1 -1
  43. package/dist/client/assets/{Zap-yvJz3thR.js → Zap-Ba39SNX5.js} +1 -1
  44. package/dist/client/assets/{ZapSquare-BbUmVu6O.js → ZapSquare-BtQYmRZ9.js} +1 -1
  45. package/dist/client/assets/{access-gate-CPH0eP3b.js → access-gate-DsDJYJZV.js} +1 -1
  46. package/dist/client/assets/{add-section-modal-C64K70dY.js → add-section-modal-Dju3VdVM.js} +1 -1
  47. package/dist/client/assets/{agent-icon-DWi24TTu.js → agent-icon-dfCTMRkW.js} +1 -1
  48. package/dist/client/assets/{agents-list-B-pgMXCw.js → agents-list-DT63BWyV.js} +1 -1
  49. package/dist/client/assets/{ai-providers-N0hzPenO.js → ai-providers-CKNR4ej6.js} +1 -1
  50. package/dist/client/assets/{alert-BXmazUt-.js → alert-CVSN7Bm8.js} +1 -1
  51. package/dist/client/assets/{alert-dialog-B-llqpWI.js → alert-dialog-nUW7phRB.js} +1 -1
  52. package/dist/client/assets/{app-editor-BglQP9Fd.js → app-editor-CKC8Hoa1.js} +1 -1
  53. package/dist/client/assets/{auth-06luBOeF.js → auth-DuesnJ3t.js} +1 -1
  54. package/dist/client/assets/{auth-catchall-rgXuAT0W.js → auth-catchall-CWGo7UBJ.js} +1 -1
  55. package/dist/client/assets/{auth-entry-DM_mQ1UN.js → auth-entry-Bx4WiEa3.js} +1 -1
  56. package/dist/client/assets/{auth-split-layout-BCSc1fVV.js → auth-split-layout-CgefhgE9.js} +1 -1
  57. package/dist/client/assets/{authenticate-and-persist-oauth-CcvwqhHu.js → authenticate-and-persist-oauth-Dgw0_gxc.js} +1 -1
  58. package/dist/client/assets/{automation-list-row-Blm1ZDLh.js → automation-list-row-CyTbS1So.js} +1 -1
  59. package/dist/client/assets/{automation-runs-Bpy5oG3_.js → automation-runs-C0ZOyXG3.js} +1 -1
  60. package/dist/client/assets/{automations-C8qDaiwa.js → automations-BEg5iRbe.js} +1 -1
  61. package/dist/client/assets/{avatar-AmSJQ7xe.js → avatar-DzM4poL0.js} +1 -1
  62. package/dist/client/assets/{badge-DtF9O2dM.js → badge-Dq0vpO1O.js} +1 -1
  63. package/dist/client/assets/{block-document-D83VPo_O.js → block-document-BFH2Px7h.js} +1 -1
  64. package/dist/client/assets/{brand-context-IBNEKJuH.js → brand-context-BwDrJEm5.js} +1 -1
  65. package/dist/client/assets/{buckets-RMXD0LKM.js → buckets-zcb9jEMz.js} +1 -1
  66. package/dist/client/assets/{bulk-category-panel-B1qvl109.js → bulk-category-panel-CEsqU29t.js} +1 -1
  67. package/dist/client/assets/{calendar-D74ZQKoY.js → calendar-uC55ym82.js} +1 -1
  68. package/dist/client/assets/{capability-load-error-h0jTjRJS.js → capability-load-error-tYGfRV_T.js} +1 -1
  69. package/dist/client/assets/{card-CVFnRshr.js → card-By2Ftpqp.js} +1 -1
  70. package/dist/client/assets/{category-editor-DwKMBHFx.js → category-editor-DIYBCzVI.js} +1 -1
  71. package/dist/client/assets/{chat-context-CyqVD46W.js → chat-context-Dq62Fbos.js} +1 -1
  72. package/dist/client/assets/{checkbox-uOnAgvvJ.js → checkbox-DPh66MwY.js} +1 -1
  73. package/dist/client/assets/{cli-auth-success-Cd2M2C-A.js → cli-auth-success-BJv9WFxD.js} +1 -1
  74. package/dist/client/assets/{collection-detail-69owlTQ3.js → collection-detail-C6G20fcE.js} +1 -1
  75. package/dist/client/assets/{collection-display-button-DUTaOT3L.js → collection-display-button-Z8-mPncU.js} +1 -1
  76. package/dist/client/assets/{collection-search-C3BI3cuC.js → collection-search-CsezHOBI.js} +1 -1
  77. package/dist/client/assets/{collection-table-wrapper-SHLkXmJm.js → collection-table-wrapper-CUrV0vvM.js} +1 -1
  78. package/dist/client/assets/{collection-tabs-CEjSI5Dj.js → collection-tabs-CDebuN4_.js} +1 -1
  79. package/dist/client/assets/{command-r8xGJsC0.js → command-CrmRZzqe.js} +1 -1
  80. package/dist/client/assets/{commerce-onboarding-D0sSicvE.js → commerce-onboarding-DMrmVsQQ.js} +1 -1
  81. package/dist/client/assets/{companions-core-tM3wRH0g.js → companions-core-BjX3dRag.js} +1 -1
  82. package/dist/client/assets/{connect-D1ov1sRt.js → connect-DokClhA1.js} +1 -1
  83. package/dist/client/assets/{connection-onitdx9x.js → connection-BI_qURfG.js} +1 -1
  84. package/dist/client/assets/{connection-card-_xuRZak3.js → connection-card-Je9fGr_D.js} +1 -1
  85. package/dist/client/assets/{connection-detail-CoXlhj8a.js → connection-detail-DDmX4c7f.js} +1 -1
  86. package/dist/client/assets/{connection-form-helpers-CjHyiwck.js → connection-form-helpers-DeHqNHEG.js} +1 -1
  87. package/dist/client/assets/{connections-mFO4KxEX.js → connections-C6VaPq5Y.js} +1 -1
  88. package/dist/client/assets/{decopilot-sse-pool-CuTenkEY.js → decopilot-sse-pool-DF2dyY7L.js} +1 -1
  89. package/dist/client/assets/{dialog-n-VT2LyW.js → dialog-C35xFAax.js} +1 -1
  90. package/dist/client/assets/{domain-settings-B_M2Q07G.js → domain-settings-D0QKeLfw.js} +1 -1
  91. package/dist/client/assets/{drawer-DlBnFiCv.js → drawer-DSvvDd5I.js} +1 -1
  92. package/dist/client/assets/{dropdown-menu-BHHLwKxN.js → dropdown-menu-Bvkevh-y.js} +1 -1
  93. package/dist/client/assets/{empty-state-Bli1FVUm.js → empty-state-CPUkCVkl.js} +1 -1
  94. package/dist/client/assets/{extract-connection-data-Tgh5h2_A.js → extract-connection-data-D61ZU_rY.js} +1 -1
  95. package/dist/client/assets/{file-explorer-q5crKwqp.js → file-explorer-CJE8KGRH.js} +1 -1
  96. package/dist/client/assets/{form-D8QeZ7pX.js → form-B2wEFCds.js} +1 -1
  97. package/dist/client/assets/{general-DGnBTHKj.js → general-7-W3ReTB.js} +1 -1
  98. package/dist/client/assets/{github-repo-picker-OygxwRVl.js → github-repo-picker-aJ_szzF7.js} +1 -1
  99. package/dist/client/assets/{hooks-CECShH7l.js → hooks-DKTnjQ7p.js} +1 -1
  100. package/dist/client/assets/{index-CjWyBWff.js → index-1MK4_xnA.js} +1 -1
  101. package/dist/client/assets/{index-CVut346_.js → index-BUFbCCKt.js} +1 -1
  102. package/dist/client/assets/{index-DhQ57Kmj.js → index-CpB-IlaU.js} +3 -3
  103. package/dist/client/assets/{index-Vy8egzeH.js → index-CtpeLpoX.js} +3 -3
  104. package/dist/client/assets/{index-CV_oIb7D.js → index-DD4yxjnF.js} +1 -1
  105. package/dist/client/assets/{index-DAtHJSAj.js → index-DLbh8nXf.js} +1 -1
  106. package/dist/client/assets/{index-CHyPH0R-.js → index-Dp3D61B6.js} +1 -1
  107. package/dist/client/assets/{index-DkLwpdfI.js → index-UMCVtGoa.js} +1 -1
  108. package/dist/client/assets/{index-Bqa1-3ok.js → index-UjzAqu9a.js} +1 -1
  109. package/dist/client/assets/{index-DT08MibC.js → index-_X8Hu152.js} +5 -5
  110. package/dist/client/assets/{index-_FxW-yOj.js → index-dIdebTuj.js} +1 -1
  111. package/dist/client/assets/{index-redirect-Do64sJrG.js → index-redirect-DzA1VdGX.js} +1 -1
  112. package/dist/client/assets/{input-BGezAoQv.js → input-d_-U8Dix.js} +1 -1
  113. package/dist/client/assets/{integration-icon-COWf6-b-.js → integration-icon-CVpCqCkL.js} +1 -1
  114. package/dist/client/assets/{invite-member-dialog-CLZZBI5z.js → invite-member-dialog--nCU6Y0Q.js} +1 -1
  115. package/dist/client/assets/{label-B2xQGR4s.js → label-COIo3JhO.js} +1 -1
  116. package/dist/client/assets/{layout-5sQfsgET.js → layout--AGh5VKe.js} +1 -1
  117. package/dist/client/assets/{login-CoFLIETU.js → login-C_jjURjk.js} +1 -1
  118. package/dist/client/assets/{mcp-oauth-NlZobh1G.js → mcp-oauth-BVFmcwr5.js} +1 -1
  119. package/dist/client/assets/{members-CwVLCUEz.js → members-DeZ029Iq.js} +1 -1
  120. package/dist/client/assets/{monaco-editor-C3t-gRmw.js → monaco-editor-D9qPRIzl.js} +1 -1
  121. package/dist/client/assets/{monitoring-stats-row-B5JT2tnz.js → monitoring-stats-row-DdLVibYe.js} +1 -1
  122. package/dist/client/assets/{multi-select-DC1nXIUm.js → multi-select-DuWhKen8.js} +1 -1
  123. package/dist/client/assets/{oauth-callback-DSkqIaQO.js → oauth-callback-DvtVRzgD.js} +1 -1
  124. package/dist/client/assets/{oauth-callback-ai-provider-R_DGquTf.js → oauth-callback-ai-provider-DbXvFhcI.js} +1 -1
  125. package/dist/client/assets/{onboarding-D5FE-UEj.js → onboarding-Bq71rgvk.js} +1 -1
  126. package/dist/client/assets/{org-install-Dt-eUlBV.js → org-install-DNHnYiu7.js} +1 -1
  127. package/dist/client/assets/{org-layout-Ch41MD2c.js → org-layout-fxNEOaXk.js} +1 -1
  128. package/dist/client/assets/{organization-choice-BWzH0m8O.js → organization-choice-DMLt4JYU.js} +1 -1
  129. package/dist/client/assets/{orgs--v8yTBDu.js → orgs-m75GBcFO.js} +1 -1
  130. package/dist/client/assets/{page-seo-form-Ckutuv3l.js → page-seo-form-DYXIHsX2.js} +1 -1
  131. package/dist/client/assets/{popover-BS1i8F97.js → popover-C5wy-cA4.js} +1 -1
  132. package/dist/client/assets/{post-editor-CLA6Kl3F.js → post-editor-DG8uKeD_.js} +1 -1
  133. package/dist/client/assets/{primitives-z891UU6S.js → primitives-CXWzNxwl.js} +1 -1
  134. package/dist/client/assets/{profile-mU98vr9g.js → profile-CLWJOyrN.js} +1 -1
  135. package/dist/client/assets/project-app-view-D45FUhON.js +1 -0
  136. package/dist/client/assets/record-editor-CSkH0gmr.js +1 -0
  137. package/dist/client/assets/{redirect-editor-D3Ua4K26.js → redirect-editor-DByf9Hd-.js} +1 -1
  138. package/dist/client/assets/registry-B0eVM6t4.js +2 -0
  139. package/dist/client/assets/{registry-layout-3HW4mOj2.js → registry-layout-Dkqycgq-.js} +1 -1
  140. package/dist/client/assets/{reports-DSDYyTIT.js → reports-CfkBm7aH.js} +1 -1
  141. package/dist/client/assets/{require-capability-BY46PHIL.js → require-capability-CwWZRwbh.js} +1 -1
  142. package/dist/client/assets/{required-auth-layout-DLN4kddx.js → required-auth-layout-V20CMUEy.js} +1 -1
  143. package/dist/client/assets/{reset-password-Dumh2xI1.js → reset-password-CwBtSk7M.js} +1 -1
  144. package/dist/client/assets/{roles-Bd-WDKry.js → roles-ap1OrJxI.js} +1 -1
  145. package/dist/client/assets/{search-input-BbFuHUW8.js → search-input-0aFemSaC.js} +1 -1
  146. package/dist/client/assets/{secrets-DwKmo6lX.js → secrets-ChJjKPOt.js} +1 -1
  147. package/dist/client/assets/{sections-editor-YEGc6doG.js → sections-editor-CyyZzqz7.js} +1 -1
  148. package/dist/client/assets/{select-Dr9e7ugT.js → select-lph10Txc.js} +1 -1
  149. package/dist/client/assets/{select-model-CyNorObe.js → select-model-Bj885jOc.js} +1 -1
  150. package/dist/client/assets/{self-tool-result-DKTxpWKk.js → self-tool-result-MFBkD0_q.js} +1 -1
  151. package/dist/client/assets/{seo-editor-D21Ekrw1.js → seo-editor-CcobaQNX.js} +1 -1
  152. package/dist/client/assets/{settings-layout-DTvNWF_-.js → settings-layout-CWL8UH3n.js} +1 -1
  153. package/dist/client/assets/{settings-section-Dt8yXC6Y.js → settings-section-DFb19YyU.js} +1 -1
  154. package/dist/client/assets/{shell-controls-DBVU4c9B.js → shell-controls-C5rbO6lk.js} +1 -1
  155. package/dist/client/assets/{shell-layout-BSJLlqlV.js → shell-layout-BUCFxsPz.js} +1 -1
  156. package/dist/client/assets/{sidebar-D2O9mFrR.js → sidebar-LfWRhUzl.js} +1 -1
  157. package/dist/client/assets/{skeleton-DfGDbM3d.js → skeleton-TLHNqNsZ.js} +1 -1
  158. package/dist/client/assets/{sso-inkYovPZ.js → sso-BEn4hNCx.js} +1 -1
  159. package/dist/client/assets/{store-CyrOxkR3.js → store-D1bCZhBr.js} +1 -1
  160. package/dist/client/assets/store-registry-Boslb8E0.js +2 -0
  161. package/dist/client/assets/{studio-tools-BYeIs48m.js → studio-tools-D5VF1LfT.js} +1 -1
  162. package/dist/client/assets/{switch-DhQ77FgB.js → switch-YFaKLIre.js} +1 -1
  163. package/dist/client/assets/{tab-id-DCu4dPcB.js → tab-id-Dcig-y_b.js} +1 -1
  164. package/dist/client/assets/{table-Xl3Zj--g.js → table-BJpE1-_1.js} +1 -1
  165. package/dist/client/assets/{tabs-Deo2XEgS.js → tabs-BW1O983z.js} +1 -1
  166. package/dist/client/assets/{textarea-Cx10FRoR.js → textarea-DGduoLl0.js} +1 -1
  167. package/dist/client/assets/{toggle-group-CR4d9V89.js → toggle-group-C54zcybT.js} +1 -1
  168. package/dist/client/assets/{toolbar-JAAWukon.js → toolbar-D9Mu1f21.js} +1 -1
  169. package/dist/client/assets/{tooltip-6w046nYq.js → tooltip-DIgwzaVn.js} +1 -1
  170. package/dist/client/assets/{use-ai-providers-DMroHl1L.js → use-ai-providers-EGRXEeM0.js} +1 -1
  171. package/dist/client/assets/{use-automations-Dnc404Eq.js → use-automations-BiKKZ5DB.js} +1 -1
  172. package/dist/client/assets/{use-autosave-D_qx_0Z_.js → use-autosave-CyFOk-3c.js} +1 -1
  173. package/dist/client/assets/{use-capability-CbVvU2R8.js → use-capability-DBGC11nS.js} +1 -1
  174. package/dist/client/assets/{use-clock-tick-CM1thBKF.js → use-clock-tick-D_qXyi-a.js} +1 -1
  175. package/dist/client/assets/{use-connection-C7HDIsYy.js → use-connection-DZ9yH8AT.js} +1 -1
  176. package/dist/client/assets/{use-copy-dE3JXEQ3.js → use-copy-Cgp1WREv.js} +1 -1
  177. package/dist/client/assets/{use-create-virtual-mcp-DRsz9AB6.js → use-create-virtual-mcp-Csg7y6O0.js} +1 -1
  178. package/dist/client/assets/{use-debounced-autosave-BIQxdqd3.js → use-debounced-autosave-DKkHA0__.js} +1 -1
  179. package/dist/client/assets/{use-debounced-value-C_bgLTBF.js → use-debounced-value-CbBPU7zd.js} +1 -1
  180. package/dist/client/assets/{use-deco-credits-DVXAD6Sj.js → use-deco-credits-BTyCYUEI.js} +1 -1
  181. package/dist/client/assets/{use-decopilot-events-rxVRItI-.js → use-decopilot-events-CoPRmIh1.js} +1 -1
  182. package/dist/client/assets/{use-delete-connection-B_FlrK-N.js → use-delete-connection-_Rvwmzkz.js} +1 -1
  183. package/dist/client/assets/{use-deployment-admin-C-egalAw.js → use-deployment-admin-Bdv9ISo-.js} +1 -1
  184. package/dist/client/assets/{use-file-configs-C4WFe_78.js → use-file-configs-f4stKVI8.js} +1 -1
  185. package/dist/client/assets/{use-infinite-scroll-BoPeF6JW.js → use-infinite-scroll-Cjxmjx6A.js} +1 -1
  186. package/dist/client/assets/{use-join-requests-D1DhJa5e.js → use-join-requests-CeLDT3kg.js} +1 -1
  187. package/dist/client/assets/{use-mcp-auth-status-Bb-dRWw_.js → use-mcp-auth-status-DZSlpAEm.js} +1 -1
  188. package/dist/client/assets/{use-mcp-client-DwSe9g39.js → use-mcp-client-nWQQesMe.js} +1 -1
  189. package/dist/client/assets/{use-mcp-tools-BukrrnA7.js → use-mcp-tools-DszGK-_z.js} +1 -1
  190. package/dist/client/assets/{use-members-C-pppXvS.js → use-members-fLGpkGSl.js} +1 -1
  191. package/dist/client/assets/{use-mobile-CG_e5dV7.js → use-mobile-Z2zaMHdo.js} +1 -1
  192. package/dist/client/assets/{use-navigate-to-agent-BS49KKxO.js → use-navigate-to-agent-DuvGIrZp.js} +1 -1
  193. package/dist/client/assets/{use-org-auth-client-lLIFAZbd.js → use-org-auth-client-B4AXfjB6.js} +1 -1
  194. package/dist/client/assets/{use-org-sso-8yhP2M4X.js → use-org-sso-Dj03JEgE.js} +1 -1
  195. package/dist/client/assets/{use-organization-roles-8Lyb8DK_.js → use-organization-roles-1OcndSR7.js} +1 -1
  196. package/dist/client/assets/{use-organization-settings-CvG6csjF.js → use-organization-settings-CRMcF-sH.js} +1 -1
  197. package/dist/client/assets/{use-registry-connections-C_FwRD7r.js → use-registry-connections-BUZ4K3em.js} +1 -1
  198. package/dist/client/assets/{use-secrets-CGf3VlgB.js → use-secrets-Dv5Alqqh.js} +1 -1
  199. package/dist/client/assets/{use-status-sounds-BKJ91mSi.js → use-status-sounds-mFeaoy3i.js} +1 -1
  200. package/dist/client/assets/{use-tags-BoMhscxI.js → use-tags-4lM6_uxA.js} +1 -1
  201. package/dist/client/assets/{use-view-mode-DvwInOlv.js → use-view-mode-DkR4rAMi.js} +1 -1
  202. package/dist/client/assets/{use-virtual-mcp-CJk53fJS.js → use-virtual-mcp-BWv80DLH.js} +1 -1
  203. package/dist/client/assets/useInfiniteQuery-DK5SQ5J_.js +1 -0
  204. package/dist/client/assets/{useQueries-BarMPJnK.js → useQueries-BHykKmN9.js} +1 -1
  205. package/dist/client/assets/{useRouterState-D7943tSM.js → useRouterState-CIzA3viz.js} +1 -1
  206. package/dist/client/assets/useSuspenseInfiniteQuery-ZdkbsRBz.js +1 -0
  207. package/dist/client/assets/{users-B3sZ4Xml.js → users-DHCJC9Zu.js} +1 -1
  208. package/dist/client/assets/{variant-calendar-BILf2d5L.js → variant-calendar-Bs_8SibF.js} +1 -1
  209. package/dist/client/assets/{view-mode-toggle-Bw4qkgPS.js → view-mode-toggle-BAAe34Q5.js} +1 -1
  210. package/dist/client/index.html +1 -1
  211. package/dist/server/cli.js +411 -409
  212. package/dist/server/server.js +279 -279
  213. package/package.json +1 -1
  214. package/dist/client/assets/project-app-view-CPdzeiiD.js +0 -1
  215. package/dist/client/assets/record-editor-CEsHb5_i.js +0 -1
  216. package/dist/client/assets/registry-CCsXcJWr.js +0 -2
  217. package/dist/client/assets/store-registry-CHkK4OS3.js +0 -2
  218. package/dist/client/assets/useInfiniteQuery-D9Tmht7w.js +0 -1
  219. package/dist/client/assets/useSuspenseInfiniteQuery-BFsn9Uf-.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-CoFLIETU.js","assets/auth-entry-DM_mQ1UN.js","assets/input-BGezAoQv.js","assets/retry-CErkP7V6.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-BCSc1fVV.js","assets/cli-auth-success-Cd2M2C-A.js","assets/reset-password-Dumh2xI1.js","assets/oauth-callback-DSkqIaQO.js","assets/mcp-oauth-NlZobh1G.js","assets/auth-06luBOeF.js","assets/layout-5sQfsgET.js","assets/useRouterState-D7943tSM.js","assets/required-auth-layout-DLN4kddx.js","assets/use-deployment-admin-C-egalAw.js","assets/users-B3sZ4Xml.js","assets/index-CjWyBWff.js","assets/sidebar-D2O9mFrR.js","assets/LayoutLeft-DFsJ98hA.js","assets/use-mobile-CG_e5dV7.js","assets/X-B69fzX_x.js","assets/tooltip-6w046nYq.js","assets/collection-table-wrapper-SHLkXmJm.js","assets/table-Xl3Zj--g.js","assets/ArrowUp-Bgfikl5w.js","assets/empty-state-Bli1FVUm.js","assets/search-input-BbFuHUW8.js","assets/SearchMd-Dw__bMQL.js","assets/avatar-AmSJQ7xe.js","assets/User01-BSgA21Pe.js","assets/badge-DtF9O2dM.js","assets/use-debounced-value-C_bgLTBF.js","assets/admin-fetch-CCSvjTk1.js","assets/format-time-BnbuEtat.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/get-initials-D-f_fDFw.js","assets/orgs--v8yTBDu.js","assets/label-B2xQGR4s.js","assets/dialog-n-VT2LyW.js","assets/select-Dr9e7ugT.js","assets/Check-DkFHuFLF.js","assets/ChevronDown-0c4JTfKo.js","assets/ChevronUp-ymps59FJ.js","assets/shell-layout-BSJLlqlV.js","assets/Users03-Bplp_Ccg.js","assets/SearchLg-BLKFUXxm.js","assets/Stars02-Be0nbgEF.js","assets/XClose-CVsPcXcu.js","assets/CheckCircle-C9WSvoea.js","assets/FilterLines-CpeI2bD4.js","assets/Zap-yvJz3thR.js","assets/tab-id-DCu4dPcB.js","assets/use-mcp-client-DwSe9g39.js","assets/hooks-CECShH7l.js","assets/decopilot-sse-pool-CuTenkEY.js","assets/use-organization-settings-CvG6csjF.js","assets/studio-tools-BYeIs48m.js","assets/use-org-sso-8yhP2M4X.js","assets/onboarding-D5FE-UEj.js","assets/organization-choice-BWzH0m8O.js","assets/switch-DhQ77FgB.js","assets/Palette-Ck2khsiN.js","assets/Upload01-Bwa0YRg5.js","assets/commerce-onboarding-D0sSicvE.js","assets/self-tool-result-DKTxpWKk.js","assets/integration-icon-COWf6-b-.js","assets/Tool02--hye3IZs.js","assets/agent-icon-DWi24TTu.js","assets/AlertCircle-IVSYIkmZ.js","assets/Tool01-BngJhgPB.js","assets/Settings02-CKgP2rvh.js","assets/XCircle-DEyoQKkX.js","assets/ArrowUpRight-CWv6_9Ex.js","assets/TrendUp01-D2ZT0gcL.js","assets/ZapSquare-BbUmVu6O.js","assets/ChevronRight-algpPtg8.js","assets/DotsVertical-CVj50rsj.js","assets/Copy01-WldK5CoB.js","assets/Eye-DonKIxOm.js","assets/Star01-D41babtl.js","assets/SwitchHorizontal01-BC3tjYtW.js","assets/HardDrive-DcHXjsFw.js","assets/Key01-CLOLix4l.js","assets/LinkExternal01-jR5ZfK1-.js","assets/LogOut01-4-ptiWqt.js","assets/Monitor01-B8RuQ38U.js","assets/Sun-VDw7wsMw.js","assets/Play-3qsqsZZi.js","assets/Plus-DkFmTenT.js","assets/Shield01-D6-vuV6x.js","assets/Stars01-BZOYQZwI.js","assets/Trash01-tWz-jd5I.js","assets/Users01-Ct93scOb.js","assets/companions-core-tM3wRH0g.js","assets/extract-connection-data-Tgh5h2_A.js","assets/metadata-dUsYcpuu.js","assets/provision-repo-scoped-github-connection-DWINBxtd.js","assets/form-D8QeZ7pX.js","assets/useQueries-BarMPJnK.js","assets/authenticate-and-persist-oauth-CcvwqhHu.js","assets/dropdown-menu-BHHLwKxN.js","assets/reports-DSDYyTIT.js","assets/reports-BWI6IDQq.css","assets/index-_FxW-yOj.js","assets/skeleton-DfGDbM3d.js","assets/use-deco-credits-DVXAD6Sj.js","assets/use-virtual-mcp-CJk53fJS.js","assets/popover-BS1i8F97.js","assets/alert-dialog-B-llqpWI.js","assets/chat-context-CyqVD46W.js","assets/use-ai-providers-DMroHl1L.js","assets/use-decopilot-events-rxVRItI-.js","assets/toolbar-JAAWukon.js","assets/drawer-DlBnFiCv.js","assets/github-repo-picker-OygxwRVl.js","assets/collection-search-C3BI3cuC.js","assets/use-connection-C7HDIsYy.js","assets/use-mcp-tools-BukrrnA7.js","assets/use-navigate-to-agent-BS49KKxO.js","assets/reusable-new-chat-CouMjkYR.js","assets/agent-capabilities-cXfbMfjV.js","assets/connection-card-_xuRZak3.js","assets/use-registry-connections-C_FwRD7r.js","assets/useInfiniteQuery-D9Tmht7w.js","assets/use-infinite-scroll-BoPeF6JW.js","assets/connection-slug-eyAPH6o3.js","assets/card-CVFnRshr.js","assets/textarea-Cx10FRoR.js","assets/connection-form-helpers-CjHyiwck.js","assets/collection-tabs-CEjSI5Dj.js","assets/useSuspenseInfiniteQuery-BFsn9Uf-.js","assets/index-Bqa1-3ok.js","assets/invite-member-dialog-CLZZBI5z.js","assets/use-org-auth-client-lLIFAZbd.js","assets/use-organization-roles-8Lyb8DK_.js","assets/toggle-group-CR4d9V89.js","assets/command-r8xGJsC0.js","assets/index-CVut346_.js","assets/shell-controls-DBVU4c9B.js","assets/use-clock-tick-CM1thBKF.js","assets/index-DT08MibC.js","assets/automation-runs-Bpy5oG3_.js","assets/use-members-C-pppXvS.js","assets/use-automations-Dnc404Eq.js","assets/use-copy-dE3JXEQ3.js","assets/monaco-editor-C3t-gRmw.js","assets/index-DkLwpdfI.js","assets/calendar-D74ZQKoY.js","assets/AreaChart-BOENTeXP.js","assets/index-Vy8egzeH.js","assets/use-tags-BoMhscxI.js","assets/tabs-Deo2XEgS.js","assets/select-model-CyNorObe.js","assets/checkbox-uOnAgvvJ.js","assets/ai-providers-logos-DD3qZ33J.js","assets/settings-section-Dt8yXC6Y.js","assets/question-004-sINsf4GQ.js","assets/use-status-sounds-BKJ91mSi.js","assets/deco-site-production-url-CaKZ7xBn.js","assets/use-capability-CbVvU2R8.js","assets/pt-BR-CLy76QW2.js","assets/use-mcp-auth-status-Bb-dRWw_.js","assets/use-debounced-autosave-BIQxdqd3.js","assets/use-secrets-CGf3VlgB.js","assets/use-file-configs-C4WFe_78.js","assets/automation-list-row-Blm1ZDLh.js","assets/index-CiP0VfIv.css","assets/index-CV_oIb7D.js","assets/settings-layout-DTvNWF_-.js","assets/use-join-requests-D1DhJa5e.js","assets/index-redirect-Do64sJrG.js","assets/capability-load-error-h0jTjRJS.js","assets/connections-mFO4KxEX.js","assets/collection-display-button-DUTaOT3L.js","assets/view-mode-toggle-Bw4qkgPS.js","assets/use-delete-connection-B_FlrK-N.js","assets/use-view-mode-DvwInOlv.js","assets/connection-detail-CoXlhj8a.js","assets/index-DAtHJSAj.js","assets/use-create-virtual-mcp-DRsz9AB6.js","assets/monitoring-stats-row-B5JT2tnz.js","assets/connection-onitdx9x.js","assets/collection-detail-69owlTQ3.js","assets/alert-BXmazUt-.js","assets/index-CHyPH0R-.js","assets/require-capability-BY46PHIL.js","assets/access-gate-CPH0eP3b.js","assets/multi-select-DC1nXIUm.js","assets/general-DGnBTHKj.js","assets/domain-settings-B_M2Q07G.js","assets/connect-D1ov1sRt.js","assets/brand-context-IBNEKJuH.js","assets/ai-providers-N0hzPenO.js","assets/secrets-DwKmo6lX.js","assets/buckets-RMXD0LKM.js","assets/members-CwVLCUEz.js","assets/role-color-Dn2tXDDF.js","assets/roles-Bd-WDKry.js","assets/sso-inkYovPZ.js","assets/profile-mU98vr9g.js","assets/store-CyrOxkR3.js","assets/registry-CCsXcJWr.js","assets/store-registry-CHkK4OS3.js","assets/agents-list-B-pgMXCw.js","assets/automations-C8qDaiwa.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-C_jjURjk.js","assets/auth-entry-Bx4WiEa3.js","assets/input-d_-U8Dix.js","assets/retry-CErkP7V6.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-CgefhgE9.js","assets/cli-auth-success-BJv9WFxD.js","assets/reset-password-CwBtSk7M.js","assets/oauth-callback-DvtVRzgD.js","assets/mcp-oauth-BVFmcwr5.js","assets/auth-DuesnJ3t.js","assets/layout--AGh5VKe.js","assets/useRouterState-CIzA3viz.js","assets/required-auth-layout-V20CMUEy.js","assets/use-deployment-admin-Bdv9ISo-.js","assets/users-DHCJC9Zu.js","assets/index-1MK4_xnA.js","assets/sidebar-LfWRhUzl.js","assets/LayoutLeft-CrFA9fWe.js","assets/use-mobile-Z2zaMHdo.js","assets/X-Bb4zY2_f.js","assets/tooltip-DIgwzaVn.js","assets/collection-table-wrapper-CUrV0vvM.js","assets/table-BJpE1-_1.js","assets/ArrowUp-BlWwKW4L.js","assets/empty-state-CPUkCVkl.js","assets/search-input-0aFemSaC.js","assets/SearchMd-BoHX07tM.js","assets/avatar-DzM4poL0.js","assets/User01-DyigsrSz.js","assets/badge-Dq0vpO1O.js","assets/use-debounced-value-CbBPU7zd.js","assets/admin-fetch-CCSvjTk1.js","assets/format-time-BnbuEtat.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/get-initials-D-f_fDFw.js","assets/orgs-m75GBcFO.js","assets/label-COIo3JhO.js","assets/dialog-C35xFAax.js","assets/select-lph10Txc.js","assets/Check-qJLO8g4w.js","assets/ChevronDown-3-gbZo8q.js","assets/ChevronUp-B3CtolQ8.js","assets/shell-layout-BUCFxsPz.js","assets/Users03-_2DmtKO7.js","assets/SearchLg-CcqZwpgI.js","assets/Stars02-CEkp7b-G.js","assets/XClose-BcoCd49U.js","assets/CheckCircle-DUp67_eI.js","assets/FilterLines-DzH0NKwR.js","assets/Zap-Ba39SNX5.js","assets/tab-id-Dcig-y_b.js","assets/use-mcp-client-nWQQesMe.js","assets/hooks-DKTnjQ7p.js","assets/decopilot-sse-pool-DF2dyY7L.js","assets/use-organization-settings-CRMcF-sH.js","assets/studio-tools-D5VF1LfT.js","assets/use-org-sso-Dj03JEgE.js","assets/onboarding-Bq71rgvk.js","assets/organization-choice-DMLt4JYU.js","assets/switch-YFaKLIre.js","assets/Palette-B2ca0bVn.js","assets/Upload01-B6ohqCNy.js","assets/commerce-onboarding-DMrmVsQQ.js","assets/self-tool-result-MFBkD0_q.js","assets/integration-icon-CVpCqCkL.js","assets/Tool02-CAeGe_oA.js","assets/agent-icon-dfCTMRkW.js","assets/AlertCircle-DCV-J_17.js","assets/Tool01-J1ZnkFdg.js","assets/Settings02-CQm8x-Mo.js","assets/XCircle-CsSTNWPK.js","assets/ArrowUpRight-CJ_7mRw-.js","assets/TrendUp01-CDPaEeJa.js","assets/ZapSquare-BtQYmRZ9.js","assets/ChevronRight-CJOIJTmS.js","assets/DotsVertical-DpBcrugn.js","assets/Copy01-DOfL1Wyb.js","assets/Eye-CK6s5DvS.js","assets/Star01-b9CKRdDr.js","assets/SwitchHorizontal01-CX0zzRKH.js","assets/HardDrive-CwqHmUxc.js","assets/Key01-CKSbFlEj.js","assets/LinkExternal01-BeqUZ5mh.js","assets/LogOut01-Cx0bCNIs.js","assets/Monitor01-BWjooWlk.js","assets/Sun-tN9skZqx.js","assets/Play-C68U-efL.js","assets/Plus-B8mhYaf-.js","assets/Shield01-BZ0gGCjQ.js","assets/Stars01-DBbpvSkt.js","assets/Trash01-DimX9kYZ.js","assets/Users01-P5l8QOnd.js","assets/companions-core-BjX3dRag.js","assets/extract-connection-data-D61ZU_rY.js","assets/metadata-dUsYcpuu.js","assets/provision-repo-scoped-github-connection-DWINBxtd.js","assets/form-B2wEFCds.js","assets/useQueries-BHykKmN9.js","assets/authenticate-and-persist-oauth-Dgw0_gxc.js","assets/dropdown-menu-Bvkevh-y.js","assets/reports-CfkBm7aH.js","assets/reports-BWI6IDQq.css","assets/index-dIdebTuj.js","assets/skeleton-TLHNqNsZ.js","assets/use-deco-credits-BTyCYUEI.js","assets/use-virtual-mcp-BWv80DLH.js","assets/popover-C5wy-cA4.js","assets/alert-dialog-nUW7phRB.js","assets/chat-context-Dq62Fbos.js","assets/use-ai-providers-EGRXEeM0.js","assets/use-decopilot-events-CoPRmIh1.js","assets/toolbar-D9Mu1f21.js","assets/drawer-DSvvDd5I.js","assets/github-repo-picker-aJ_szzF7.js","assets/collection-search-CsezHOBI.js","assets/use-connection-DZ9yH8AT.js","assets/use-mcp-tools-DszGK-_z.js","assets/use-navigate-to-agent-DuvGIrZp.js","assets/reusable-new-chat-CouMjkYR.js","assets/agent-capabilities-cXfbMfjV.js","assets/connection-card-Je9fGr_D.js","assets/use-registry-connections-BUZ4K3em.js","assets/useInfiniteQuery-DK5SQ5J_.js","assets/use-infinite-scroll-Cjxmjx6A.js","assets/connection-slug-eyAPH6o3.js","assets/card-By2Ftpqp.js","assets/textarea-DGduoLl0.js","assets/connection-form-helpers-DeHqNHEG.js","assets/collection-tabs-CDebuN4_.js","assets/useSuspenseInfiniteQuery-ZdkbsRBz.js","assets/index-UjzAqu9a.js","assets/invite-member-dialog--nCU6Y0Q.js","assets/use-org-auth-client-B4AXfjB6.js","assets/use-organization-roles-1OcndSR7.js","assets/toggle-group-C54zcybT.js","assets/command-CrmRZzqe.js","assets/index-BUFbCCKt.js","assets/shell-controls-C5rbO6lk.js","assets/use-clock-tick-D_qXyi-a.js","assets/index-_X8Hu152.js","assets/automation-runs-C0ZOyXG3.js","assets/use-members-fLGpkGSl.js","assets/use-automations-BiKKZ5DB.js","assets/use-copy-Cgp1WREv.js","assets/monaco-editor-D9qPRIzl.js","assets/index-UMCVtGoa.js","assets/calendar-uC55ym82.js","assets/AreaChart-4o5_QIMN.js","assets/index-CtpeLpoX.js","assets/use-tags-4lM6_uxA.js","assets/tabs-BW1O983z.js","assets/select-model-Bj885jOc.js","assets/checkbox-DPh66MwY.js","assets/ai-providers-logos-DD3qZ33J.js","assets/settings-section-DFb19YyU.js","assets/question-004-sINsf4GQ.js","assets/use-status-sounds-mFeaoy3i.js","assets/deco-site-production-url-CaKZ7xBn.js","assets/use-capability-DBGC11nS.js","assets/pt-BR-CLy76QW2.js","assets/use-mcp-auth-status-DZSlpAEm.js","assets/use-debounced-autosave-DKkHA0__.js","assets/use-secrets-Dv5Alqqh.js","assets/use-file-configs-f4stKVI8.js","assets/automation-list-row-CyTbS1So.js","assets/index-CiP0VfIv.css","assets/index-DD4yxjnF.js","assets/settings-layout-CWL8UH3n.js","assets/use-join-requests-CeLDT3kg.js","assets/index-redirect-DzA1VdGX.js","assets/capability-load-error-tYGfRV_T.js","assets/connections-C6VaPq5Y.js","assets/collection-display-button-Z8-mPncU.js","assets/view-mode-toggle-BAAe34Q5.js","assets/use-delete-connection-_Rvwmzkz.js","assets/use-view-mode-DkR4rAMi.js","assets/connection-detail-DDmX4c7f.js","assets/index-DLbh8nXf.js","assets/use-create-virtual-mcp-Csg7y6O0.js","assets/monitoring-stats-row-DdLVibYe.js","assets/connection-BI_qURfG.js","assets/collection-detail-C6G20fcE.js","assets/alert-CVSN7Bm8.js","assets/index-Dp3D61B6.js","assets/require-capability-CwWZRwbh.js","assets/access-gate-DsDJYJZV.js","assets/multi-select-DuWhKen8.js","assets/general-7-W3ReTB.js","assets/domain-settings-D0QKeLfw.js","assets/connect-DokClhA1.js","assets/brand-context-BwDrJEm5.js","assets/ai-providers-CKNR4ej6.js","assets/secrets-ChJjKPOt.js","assets/buckets-zcb9jEMz.js","assets/members-DeZ029Iq.js","assets/role-color-Dn2tXDDF.js","assets/roles-ap1OrJxI.js","assets/sso-BEn4hNCx.js","assets/profile-CLWJOyrN.js","assets/store-D1bCZhBr.js","assets/registry-B0eVM6t4.js","assets/store-registry-Boslb8E0.js","assets/agents-list-DT63BWyV.js","assets/automations-BEg5iRbe.js"])))=>i.map(i=>d[i]);
2
2
  function E6(e,t){for(var o=0;o<t.length;o++){const n=t[o];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(n,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function o(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=o(r);fetch(r.href,i)}})();const x6="modulepreload",T6=function(e){return"/"+e},yR={},dt=function(t,o,n){let r=Promise.resolve();if(o&&o.length>0){let l=function(m){return Promise.all(m.map(h=>Promise.resolve(h).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");r=l(o.map(m=>{if(m=T6(m),m in yR)return;yR[m]=!0;const h=m.endsWith(".css"),f=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${f}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":x6,h||(g.as="script"),g.crossOrigin="",g.href=m,d&&g.setAttribute("nonce",d),document.head.appendChild(g),h)return new Promise((v,y)=>{g.addEventListener("load",v),g.addEventListener("error",()=>y(Error(`Unable to preload CSS for ${m}`)))})}))}function i(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return r.then(l=>{for(const c of l||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})};var Vue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ny={exports:{}},ed={};var SR;function P6(){if(SR)return ed;SR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function o(n,r,i){var l=null;if(i!==void 0&&(l=""+i),r.key!==void 0&&(l=""+r.key),"key"in r){i={};for(var c in r)c!=="key"&&(i[c]=r[c])}else i=r;return r=i.ref,{$$typeof:e,type:n,key:l,ref:r!==void 0?r:null,props:i}}return ed.Fragment=t,ed.jsx=o,ed.jsxs=o,ed}var _R;function R6(){return _R||(_R=1,Ny.exports=P6()),Ny.exports}var R=R6(),Fy={exports:{}},rt={};var wR;function A6(){if(wR)return rt;wR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),g=Symbol.iterator;function v(I){return I===null||typeof I!="object"?null:(I=g&&I[g]||I["@@iterator"],typeof I=="function"?I:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function _(I,H,q){this.props=I,this.context=H,this.refs=E,this.updater=q||y}_.prototype.isReactComponent={},_.prototype.setState=function(I,H){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,H,"setState")},_.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function C(){}C.prototype=_.prototype;function P(I,H,q){this.props=I,this.context=H,this.refs=E,this.updater=q||y}var x=P.prototype=new C;x.constructor=P,S(x,_.prototype),x.isPureReactComponent=!0;var T=Array.isArray;function A(){}var k={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function N(I,H,q){var L=q.ref;return{$$typeof:e,type:I,key:H,ref:L!==void 0?L:null,props:q}}function $(I,H){return N(I.type,H,I.props)}function F(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function U(I){var H={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(q){return H[q]})}var j=/\/+/g;function K(I,H){return typeof I=="object"&&I!==null&&I.key!=null?U(""+I.key):H.toString(36)}function ae(I){switch(I.status){case"fulfilled":return I.value;case"rejected":throw I.reason;default:switch(typeof I.status=="string"?I.then(A,A):(I.status="pending",I.then(function(H){I.status==="pending"&&(I.status="fulfilled",I.value=H)},function(H){I.status==="pending"&&(I.status="rejected",I.reason=H)})),I.status){case"fulfilled":return I.value;case"rejected":throw I.reason}}throw I}function V(I,H,q,L,z){var J=typeof I;(J==="undefined"||J==="boolean")&&(I=null);var me=!1;if(I===null)me=!0;else switch(J){case"bigint":case"string":case"number":me=!0;break;case"object":switch(I.$$typeof){case e:case t:me=!0;break;case h:return me=I._init,V(me(I._payload),H,q,L,z)}}if(me)return z=z(I),me=L===""?"."+K(I,0):L,T(z)?(q="",me!=null&&(q=me.replace(j,"$&/")+"/"),V(z,H,q,"",function(Be){return Be})):z!=null&&(F(z)&&(z=$(z,q+(z.key==null||I&&I.key===z.key?"":(""+z.key).replace(j,"$&/")+"/")+me)),H.push(z)),1;me=0;var he=L===""?".":L+":";if(T(I))for(var Ce=0;Ce<I.length;Ce++)L=I[Ce],J=he+K(L,Ce),me+=V(L,H,q,J,z);else if(Ce=v(I),typeof Ce=="function")for(I=Ce.call(I),Ce=0;!(L=I.next()).done;)L=L.value,J=he+K(L,Ce++),me+=V(L,H,q,J,z);else if(J==="object"){if(typeof I.then=="function")return V(ae(I),H,q,L,z);throw H=String(I),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return me}function Z(I,H,q){if(I==null)return I;var L=[],z=0;return V(I,L,"","",function(J){return H.call(q,J,z++)}),L}function te(I){if(I._status===-1){var H=I._result;H=H(),H.then(function(q){(I._status===0||I._status===-1)&&(I._status=1,I._result=q)},function(q){(I._status===0||I._status===-1)&&(I._status=2,I._result=q)}),I._status===-1&&(I._status=0,I._result=H)}if(I._status===1)return I._result.default;throw I._result}var le=typeof reportError=="function"?reportError:function(I){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof I=="object"&&I!==null&&typeof I.message=="string"?String(I.message):String(I),error:I});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",I);return}console.error(I)},Q={map:Z,forEach:function(I,H,q){Z(I,function(){H.apply(this,arguments)},q)},count:function(I){var H=0;return Z(I,function(){H++}),H},toArray:function(I){return Z(I,function(H){return H})||[]},only:function(I){if(!F(I))throw Error("React.Children.only expected to receive a single React element child.");return I}};return rt.Activity=f,rt.Children=Q,rt.Component=_,rt.Fragment=o,rt.Profiler=r,rt.PureComponent=P,rt.StrictMode=n,rt.Suspense=d,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,rt.__COMPILER_RUNTIME={__proto__:null,c:function(I){return k.H.useMemoCache(I)}},rt.cache=function(I){return function(){return I.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(I,H,q){if(I==null)throw Error("The argument must be a React element, but you passed "+I+".");var L=S({},I.props),z=I.key;if(H!=null)for(J in H.key!==void 0&&(z=""+H.key),H)!O.call(H,J)||J==="key"||J==="__self"||J==="__source"||J==="ref"&&H.ref===void 0||(L[J]=H[J]);var J=arguments.length-2;if(J===1)L.children=q;else if(1<J){for(var me=Array(J),he=0;he<J;he++)me[he]=arguments[he+2];L.children=me}return N(I.type,z,L)},rt.createContext=function(I){return I={$$typeof:l,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null},I.Provider=I,I.Consumer={$$typeof:i,_context:I},I},rt.createElement=function(I,H,q){var L,z={},J=null;if(H!=null)for(L in H.key!==void 0&&(J=""+H.key),H)O.call(H,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&(z[L]=H[L]);var me=arguments.length-2;if(me===1)z.children=q;else if(1<me){for(var he=Array(me),Ce=0;Ce<me;Ce++)he[Ce]=arguments[Ce+2];z.children=he}if(I&&I.defaultProps)for(L in me=I.defaultProps,me)z[L]===void 0&&(z[L]=me[L]);return N(I,J,z)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(I){return{$$typeof:c,render:I}},rt.isValidElement=F,rt.lazy=function(I){return{$$typeof:h,_payload:{_status:-1,_result:I},_init:te}},rt.memo=function(I,H){return{$$typeof:m,type:I,compare:H===void 0?null:H}},rt.startTransition=function(I){var H=k.T,q={};k.T=q;try{var L=I(),z=k.S;z!==null&&z(q,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(A,le)}catch(J){le(J)}finally{H!==null&&q.types!==null&&(H.types=q.types),k.T=H}},rt.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},rt.use=function(I){return k.H.use(I)},rt.useActionState=function(I,H,q){return k.H.useActionState(I,H,q)},rt.useCallback=function(I,H){return k.H.useCallback(I,H)},rt.useContext=function(I){return k.H.useContext(I)},rt.useDebugValue=function(){},rt.useDeferredValue=function(I,H){return k.H.useDeferredValue(I,H)},rt.useEffect=function(I,H){return k.H.useEffect(I,H)},rt.useEffectEvent=function(I){return k.H.useEffectEvent(I)},rt.useId=function(){return k.H.useId()},rt.useImperativeHandle=function(I,H,q){return k.H.useImperativeHandle(I,H,q)},rt.useInsertionEffect=function(I,H){return k.H.useInsertionEffect(I,H)},rt.useLayoutEffect=function(I,H){return k.H.useLayoutEffect(I,H)},rt.useMemo=function(I,H){return k.H.useMemo(I,H)},rt.useOptimistic=function(I,H){return k.H.useOptimistic(I,H)},rt.useReducer=function(I,H,q){return k.H.useReducer(I,H,q)},rt.useRef=function(I){return k.H.useRef(I)},rt.useState=function(I){return k.H.useState(I)},rt.useSyncExternalStore=function(I,H,q){return k.H.useSyncExternalStore(I,H,q)},rt.useTransition=function(){return k.H.useTransition()},rt.version="19.2.6",rt}var CR;function bs(){return CR||(CR=1,Fy.exports=A6()),Fy.exports}var D=bs();const ee=pl(D),Ow=E6({__proto__:null,default:ee},[D]);var By={exports:{}},td={},zy={exports:{}},jy={};var ER;function k6(){return ER||(ER=1,(function(e){function t(V,Z){var te=V.length;V.push(Z);e:for(;0<te;){var le=te-1>>>1,Q=V[le];if(0<r(Q,Z))V[le]=Z,V[te]=Q,te=le;else break e}}function o(V){return V.length===0?null:V[0]}function n(V){if(V.length===0)return null;var Z=V[0],te=V.pop();if(te!==Z){V[0]=te;e:for(var le=0,Q=V.length,I=Q>>>1;le<I;){var H=2*(le+1)-1,q=V[H],L=H+1,z=V[L];if(0>r(q,te))L<Q&&0>r(z,q)?(V[le]=z,V[L]=te,le=L):(V[le]=q,V[H]=te,le=H);else if(L<Q&&0>r(z,te))V[le]=z,V[L]=te,le=L;else break e}}return Z}function r(V,Z){var te=V.sortIndex-Z.sortIndex;return te!==0?te:V.id-Z.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var d=[],m=[],h=1,f=null,g=3,v=!1,y=!1,S=!1,E=!1,_=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function x(V){for(var Z=o(m);Z!==null;){if(Z.callback===null)n(m);else if(Z.startTime<=V)n(m),Z.sortIndex=Z.expirationTime,t(d,Z);else break;Z=o(m)}}function T(V){if(S=!1,x(V),!y)if(o(d)!==null)y=!0,A||(A=!0,U());else{var Z=o(m);Z!==null&&ae(T,Z.startTime-V)}}var A=!1,k=-1,O=5,N=-1;function $(){return E?!0:!(e.unstable_now()-N<O)}function F(){if(E=!1,A){var V=e.unstable_now();N=V;var Z=!0;try{e:{y=!1,S&&(S=!1,C(k),k=-1),v=!0;var te=g;try{t:{for(x(V),f=o(d);f!==null&&!(f.expirationTime>V&&$());){var le=f.callback;if(typeof le=="function"){f.callback=null,g=f.priorityLevel;var Q=le(f.expirationTime<=V);if(V=e.unstable_now(),typeof Q=="function"){f.callback=Q,x(V),Z=!0;break t}f===o(d)&&n(d),x(V)}else n(d);f=o(d)}if(f!==null)Z=!0;else{var I=o(m);I!==null&&ae(T,I.startTime-V),Z=!1}}break e}finally{f=null,g=te,v=!1}Z=void 0}}finally{Z?U():A=!1}}}var U;if(typeof P=="function")U=function(){P(F)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,K=j.port2;j.port1.onmessage=F,U=function(){K.postMessage(null)}}else U=function(){_(F,0)};function ae(V,Z){k=_(function(){V(e.unstable_now())},Z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(V){V.callback=null},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(V){switch(g){case 1:case 2:case 3:var Z=3;break;default:Z=g}var te=g;g=Z;try{return V()}finally{g=te}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function(V,Z){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var te=g;g=V;try{return Z()}finally{g=te}},e.unstable_scheduleCallback=function(V,Z,te){var le=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?le+te:le):te=le,V){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=te+Q,V={id:h++,callback:Z,priorityLevel:V,startTime:te,expirationTime:Q,sortIndex:-1},te>le?(V.sortIndex=te,t(m,V),o(d)===null&&V===o(m)&&(S?(C(k),k=-1):S=!0,ae(T,te-le))):(V.sortIndex=Q,t(d,V),y||v||(y=!0,A||(A=!0,U()))),V},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(V){var Z=g;return function(){var te=g;g=Z;try{return V.apply(this,arguments)}finally{g=te}}}})(jy)),jy}var xR;function D6(){return xR||(xR=1,zy.exports=k6()),zy.exports}var Uy={exports:{}},En={};var TR;function O6(){if(TR)return En;TR=1;var e=bs();function t(d){var m="https://react.dev/errors/"+d;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var h=2;h<arguments.length;h++)m+="&args[]="+encodeURIComponent(arguments[h])}return"Minified React error #"+d+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var n={d:{f:o,r:function(){throw Error(t(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},r=Symbol.for("react.portal");function i(d,m,h){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:f==null?null:""+f,children:d,containerInfo:m,implementation:h}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,m){if(d==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return En.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,En.createPortal=function(d,m){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(t(299));return i(d,m,null,h)},En.flushSync=function(d){var m=l.T,h=n.p;try{if(l.T=null,n.p=2,d)return d()}finally{l.T=m,n.p=h,n.d.f()}},En.preconnect=function(d,m){typeof d=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,n.d.C(d,m))},En.prefetchDNS=function(d){typeof d=="string"&&n.d.D(d)},En.preinit=function(d,m){if(typeof d=="string"&&m&&typeof m.as=="string"){var h=m.as,f=c(h,m.crossOrigin),g=typeof m.integrity=="string"?m.integrity:void 0,v=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;h==="style"?n.d.S(d,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:f,integrity:g,fetchPriority:v}):h==="script"&&n.d.X(d,{crossOrigin:f,integrity:g,fetchPriority:v,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},En.preinitModule=function(d,m){if(typeof d=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var h=c(m.as,m.crossOrigin);n.d.M(d,{crossOrigin:h,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&n.d.M(d)},En.preload=function(d,m){if(typeof d=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var h=m.as,f=c(h,m.crossOrigin);n.d.L(d,h,{crossOrigin:f,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},En.preloadModule=function(d,m){if(typeof d=="string")if(m){var h=c(m.as,m.crossOrigin);n.d.m(d,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:h,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else n.d.m(d)},En.requestFormReset=function(d){n.d.r(d)},En.unstable_batchedUpdates=function(d,m){return d(m)},En.useFormState=function(d,m,h){return l.H.useFormState(d,m,h)},En.useFormStatus=function(){return l.H.useHostTransitionStatus()},En.version="19.2.6",En}var PR;function JO(){if(PR)return Uy.exports;PR=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Uy.exports=O6(),Uy.exports}var RR;function M6(){if(RR)return td;RR=1;var e=D6(),t=bs(),o=JO();function n(a){var s="https://react.dev/errors/"+a;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)s+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+a+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function i(a){var s=a,u=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(u=s.return),a=s.return;while(a)}return s.tag===3?u:null}function l(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function c(a){if(a.tag===31){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function d(a){if(i(a)!==a)throw Error(n(188))}function m(a){var s=a.alternate;if(!s){if(s=i(a),s===null)throw Error(n(188));return s!==a?null:a}for(var u=a,p=s;;){var b=u.return;if(b===null)break;var w=b.alternate;if(w===null){if(p=b.return,p!==null){u=p;continue}break}if(b.child===w.child){for(w=b.child;w;){if(w===u)return d(b),a;if(w===p)return d(b),s;w=w.sibling}throw Error(n(188))}if(u.return!==p.return)u=b,p=w;else{for(var M=!1,B=b.child;B;){if(B===u){M=!0,u=b,p=w;break}if(B===p){M=!0,p=b,u=w;break}B=B.sibling}if(!M){for(B=w.child;B;){if(B===u){M=!0,u=w,p=b;break}if(B===p){M=!0,p=w,u=b;break}B=B.sibling}if(!M)throw Error(n(189))}}if(u.alternate!==p)throw Error(n(190))}if(u.tag!==3)throw Error(n(188));return u.stateNode.current===u?a:s}function h(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=h(a),s!==null)return s;a=a.sibling}return null}var f=Object.assign,g=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),P=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),F=Symbol.iterator;function U(a){return a===null||typeof a!="object"?null:(a=F&&a[F]||a["@@iterator"],typeof a=="function"?a:null)}var j=Symbol.for("react.client.reference");function K(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===j?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case S:return"Fragment";case _:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case A:return"SuspenseList";case N:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case y:return"Portal";case P:return a.displayName||"Context";case C:return(a._context.displayName||"Context")+".Consumer";case x:var s=a.render;return a=a.displayName,a||(a=s.displayName||s.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case k:return s=a.displayName||null,s!==null?s:K(a.type)||"Memo";case O:s=a._payload,a=a._init;try{return K(a(s))}catch{}}return null}var ae=Array.isArray,V=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},le=[],Q=-1;function I(a){return{current:a}}function H(a){0>Q||(a.current=le[Q],le[Q]=null,Q--)}function q(a,s){Q++,le[Q]=a.current,a.current=s}var L=I(null),z=I(null),J=I(null),me=I(null);function he(a,s){switch(q(J,s),q(z,a),q(L,null),s.nodeType){case 9:case 11:a=(a=s.documentElement)&&(a=a.namespaceURI)?$P(a):0;break;default:if(a=s.tagName,s=s.namespaceURI)s=$P(s),a=qP(s,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}H(L),q(L,a)}function Ce(){H(L),H(z),H(J)}function Be(a){a.memoizedState!==null&&q(me,a);var s=L.current,u=qP(s,a.type);s!==u&&(q(z,a),q(L,u))}function W(a){z.current===a&&(H(L),H(z)),me.current===a&&(H(me),Zu._currentValue=te)}var ne,ve;function ie(a){if(ne===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ne=s&&s[1]||"",ve=-1<u.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+ne+a+ve}var _e=!1;function xe(a,s){if(!a||_e)return"";_e=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var p={DetermineComponentFrameRoot:function(){try{if(s){var we=function(){throw Error()};if(Object.defineProperty(we.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(we,[])}catch(ge){var fe=ge}Reflect.construct(a,[],we)}else{try{we.call()}catch(ge){fe=ge}a.call(we.prototype)}}else{try{throw Error()}catch(ge){fe=ge}(we=a())&&typeof we.catch=="function"&&we.catch(function(){})}}catch(ge){if(ge&&fe&&typeof ge.stack=="string")return[ge.stack,fe.stack]}return[null,null]}};p.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(p.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(p.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=p.DetermineComponentFrameRoot(),M=w[0],B=w[1];if(M&&B){var X=M.split(`
@@ -160,7 +160,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
160
160
  display: none;
161
161
  }
162
162
  `})]})]})}function Oa({redirectTo:e}){const{redirectTo:t}=D.useContext(vt),[o,n]=D.useState(!1),{navigate:r,hooks:{useSession:i},onSessionChange:l}=D.useContext(vt),{refetch:c}=i();return{onSuccess:D.useCallback(async()=>{n(!0),await c?.(),l&&await l(),n(!1);const m=e||yl("redirectTo")||t;r(m)},[c,l,r,e,t]),isPending:o}}function MB({redirectTo:e}){const{hooks:{useIsRestoring:t},persistClient:o}=D.useContext(vt),n=t?.(),r=D.useRef(!1),{onSuccess:i}=Oa({redirectTo:e});return D.useEffect(()=>{if(!r.current){if(!o){r.current=!0,i();return}n||(r.current=!0,i())}},[n,o,i]),R.jsx(kn,{className:"animate-spin"})}function sE({className:e,containerClassName:t,...o}){return R.jsx(bB,{"data-slot":"input-otp",containerClassName:Te("flex items-center gap-2 has-disabled:opacity-50",t),className:Te("disabled:cursor-not-allowed",e),...o})}function bc({className:e,...t}){return R.jsx("div",{"data-slot":"input-otp-group",className:Te("flex items-center",e),...t})}function on({index:e,className:t,...o}){const n=D.useContext(vB),{char:r,hasFakeCaret:i,isActive:l}=n?.slots[e]??{};return R.jsxs("div",{"data-slot":"input-otp-slot","data-active":l,className:Te("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]",t),...o,children:[r,i&&R.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:R.jsx("div",{className:"animate-caret-blink bg-foreground h-4 w-px duration-1000"})})]})}function dS({...e}){return R.jsx("div",{"data-slot":"input-otp-separator",role:"separator",...e,children:R.jsx(wZ,{})})}function lE({otpSeparators:e=0}){return e===0?R.jsxs(bc,{children:[R.jsx(on,{index:0}),R.jsx(on,{index:1}),R.jsx(on,{index:2}),R.jsx(on,{index:3}),R.jsx(on,{index:4}),R.jsx(on,{index:5})]}):e===1?R.jsxs(R.Fragment,{children:[R.jsxs(bc,{children:[R.jsx(on,{index:0}),R.jsx(on,{index:1}),R.jsx(on,{index:2})]}),R.jsx(dS,{}),R.jsxs(bc,{children:[R.jsx(on,{index:3}),R.jsx(on,{index:4}),R.jsx(on,{index:5})]})]}):R.jsxs(R.Fragment,{children:[R.jsxs(bc,{children:[R.jsx(on,{index:0}),R.jsx(on,{index:1})]}),R.jsx(dS,{}),R.jsxs(bc,{children:[R.jsx(on,{index:2}),R.jsx(on,{index:3})]}),R.jsx(dS,{}),R.jsxs(bc,{children:[R.jsx(on,{index:4}),R.jsx(on,{index:5})]})]})}function UD(e){const[t,o]=D.useState();return t?R.jsx(tae,{...e,email:t}):R.jsx(eae,{...e,setEmail:o})}function eae({className:e,classNames:t,isSubmitting:o,localization:n,setIsSubmitting:r,setEmail:i}){const l=gi(),{captchaRef:c,getCaptchaHeaders:d}=Im({localization:n}),{authClient:m,localization:h,toast:f,localizeErrors:g}=D.useContext(vt);n={...h,...n};const v=Ae({email:Y().email({message:`${n.EMAIL} ${n.IS_INVALID}`})}),y=Ra({resolver:Aa(v),defaultValues:{email:""}});o=o||y.formState.isSubmitting,D.useEffect(()=>{r?.(y.formState.isSubmitting)},[y.formState.isSubmitting,r]);async function S({email:E}){const _={throw:!0,headers:await d("/email-otp/send-verification-otp")};try{await m.emailOtp.sendVerificationOtp({email:E,type:"sign-in",fetchOptions:_}),f({variant:"success",message:n.EMAIL_OTP_VERIFICATION_SENT}),i(E)}catch(C){f({variant:"error",message:Io({error:C,localization:n,localizeErrors:g})})}}return R.jsx(Da,{...y,children:R.jsxs("form",{method:"POST",onSubmit:y.handleSubmit(S),noValidate:l,className:Te("grid w-full gap-6",e,t?.base),children:[R.jsx(ko,{control:y.control,name:"email",render:({field:E})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:n.EMAIL}),R.jsx(Vo,{children:R.jsx(na,{className:t?.input,type:"email",placeholder:n.EMAIL_PLACEHOLDER,disabled:o,...E})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(Lm,{ref:c,localization:n,action:"/email-otp/send-verification-otp"}),R.jsx(oo,{type:"submit",disabled:o,className:Te("w-full",t?.button,t?.primaryButton),children:o?R.jsx(kn,{className:"animate-spin"}):n.EMAIL_OTP_SEND_ACTION})]})})}function tae({className:e,classNames:t,isSubmitting:o,localization:n,otpSeparators:r=0,redirectTo:i,setIsSubmitting:l,email:c}){const{authClient:d,localization:m,toast:h,localizeErrors:f}=D.useContext(vt);n={...m,...n};const{onSuccess:g,isPending:v}=Oa({redirectTo:i}),y=Ae({code:Y().min(1,{message:`${n.EMAIL_OTP} ${n.IS_REQUIRED}`}).min(6,{message:`${n.EMAIL_OTP} ${n.IS_INVALID}`})}),S=Ra({resolver:Aa(y),defaultValues:{code:""}});o=o||S.formState.isSubmitting||v,D.useEffect(()=>{l?.(S.formState.isSubmitting||v)},[S.formState.isSubmitting,v,l]);async function E({code:_}){try{await d.signIn.emailOtp({email:c,otp:_,fetchOptions:{throw:!0}}),await g()}catch(C){h({variant:"error",message:Io({error:C,localization:n,localizeErrors:f})}),S.reset()}}return R.jsx(Da,{...S,children:R.jsxs("form",{method:"POST",onSubmit:S.handleSubmit(E),className:Te("grid w-full gap-6",e,t?.base),children:[R.jsx(ko,{control:S.control,name:"code",render:({field:_})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:n.EMAIL_OTP}),R.jsx(Vo,{children:R.jsx(sE,{..._,maxLength:6,onChange:C=>{_.onChange(C),C.length===6&&S.handleSubmit(E)()},containerClassName:t?.otpInputContainer,className:t?.otpInput,disabled:o,children:R.jsx(lE,{otpSeparators:r})})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx("div",{className:"grid gap-4",children:R.jsxs(oo,{type:"submit",disabled:o,className:Te(t?.button,t?.primaryButton),children:[o&&R.jsx(kn,{className:"animate-spin"}),n.EMAIL_OTP_VERIFY_ACTION]})})]})})}function oae({onCancel:e,localization:t,className:o,classNames:n,otpSeparators:r,callbackURL:i,isSubmitting:l,redirectTo:c,setIsSubmitting:d}){const[m,h]=D.useState(!0),[f,g]=D.useState(30),{authClient:v,localization:y,toast:S,localizeErrors:E,navigate:_,basePath:C,viewPaths:P}=D.useContext(vt);t={...y,...t};const x=typeof window<"u"&&new URLSearchParams(window.location.search).get("email")||"",{onSuccess:T,isPending:A}=Oa({redirectTo:c}),k=Ae({code:Y().min(1,{message:`${t.EMAIL_OTP} ${t.IS_REQUIRED}`}).min(6,{message:`${t.EMAIL_OTP} ${t.IS_INVALID}`})}),O=Ra({resolver:Aa(k),defaultValues:{code:""}}),N=l||O.formState.isSubmitting||A;D.useEffect(()=>{d?.(O.formState.isSubmitting||A)},[O.formState.isSubmitting,A,d]),D.useEffect(()=>{if(f>0){const U=setTimeout(()=>g(f-1),1e3);return()=>clearTimeout(U)}else h(!1)},[f]);async function $({code:U}){try{const j=await v.emailOtp.verifyEmail({email:x,otp:U,fetchOptions:{throw:!0}});"token"in j&&j.token?await T():(_(`${C}/${P.SIGN_IN}${window.location.search}`),S({variant:"success",message:t.EMAIL_VERIFICATION_SUCCESS}))}catch(j){S({variant:"error",message:Io({error:j,localization:t,localizeErrors:E})}),O.reset()}}async function F(){if(!m){h(!0),g(30);try{await v.emailOtp.sendVerificationOtp({email:x,type:"email-verification",fetchOptions:{throw:!0}}),S({variant:"success",message:t.EMAIL_OTP_VERIFICATION_SENT})}catch(U){S({variant:"error",message:Io({error:U,localization:t,localizeErrors:E})}),h(!1),g(0)}}}return x?R.jsx(Da,{...O,children:R.jsxs("form",{method:"POST",onSubmit:O.handleSubmit($),className:Te("grid w-full gap-6",o,n?.base),children:[R.jsx(ko,{control:O.control,name:"code",render:({field:U})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:n?.label,children:t.EMAIL_OTP}),R.jsx(Vo,{children:R.jsx(sE,{...U,maxLength:6,onChange:j=>{U.onChange(j),j.length===6&&O.handleSubmit($)()},containerClassName:n?.otpInputContainer,className:n?.otpInput,disabled:N,children:R.jsx(lE,{otpSeparators:r})})}),R.jsx(Yo,{className:n?.error})]})}),R.jsxs("div",{className:"grid gap-4",children:[R.jsxs(oo,{type:"submit",disabled:N,className:Te(n?.button,n?.primaryButton),children:[N&&R.jsx(kn,{className:"animate-spin"}),t.EMAIL_OTP_VERIFY_ACTION]}),R.jsx(oo,{type:"button",variant:"outline",onClick:F,disabled:m||N,className:Te("w-full",n?.button),children:m?`${t.RESEND_VERIFICATION_EMAIL} (${f}s)`:t.RESEND_VERIFICATION_EMAIL}),e&&R.jsx(oo,{type:"button",variant:"ghost",onClick:e,disabled:N,className:"w-full",children:t.CANCEL})]})]})}):R.jsx("div",{className:Te("grid w-full gap-6",o),children:R.jsxs("div",{className:"text-center",children:[R.jsx("h2",{className:"font-semibold text-destructive text-lg",children:"Invalid Request"}),R.jsx("p",{className:"text-muted-foreground text-sm",children:t.EMAIL_REQUIRED||"Email address is required"})]})})}function nae({className:e,classNames:t,isSubmitting:o,localization:n,setIsSubmitting:r}){const i=gi(),{captchaRef:l,getCaptchaHeaders:c,resetCaptcha:d}=Im({localization:n}),{authClient:m,basePath:h,baseURL:f,localization:g,navigate:v,toast:y,viewPaths:S,localizeErrors:E}=D.useContext(vt);n={...g,...n};const _=Ae({email:Y().email({message:`${n.EMAIL} ${n.IS_INVALID}`}).min(1,{message:`${n.EMAIL} ${n.IS_REQUIRED}`})}),C=Ra({resolver:Aa(_),defaultValues:{email:""}});o=o||C.formState.isSubmitting,D.useEffect(()=>{r?.(C.formState.isSubmitting)},[C.formState.isSubmitting,r]);async function P({email:x}){try{const T={throw:!0,headers:await c("/forget-password")};await m.requestPasswordReset({email:x,redirectTo:`${f}${h}/${S.RESET_PASSWORD}`,fetchOptions:T}),y({variant:"success",message:n.FORGOT_PASSWORD_EMAIL}),v(`${h}/${S.SIGN_IN}${window.location.search}`)}catch(T){y({variant:"error",message:Io({error:T,localization:n,localizeErrors:E})}),d()}}return R.jsx(Da,{...C,children:R.jsxs("form",{method:"POST",onSubmit:C.handleSubmit(P),noValidate:i,className:Te("grid w-full gap-6",e,t?.base),children:[R.jsx(ko,{control:C.control,name:"email",render:({field:x})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:n.EMAIL}),R.jsx(Vo,{children:R.jsx(na,{className:t?.input,type:"email",placeholder:n.EMAIL_PLACEHOLDER,disabled:o,...x})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(Lm,{ref:l,localization:n,action:"/forget-password"}),R.jsx(oo,{type:"submit",disabled:o,className:Te("w-full",t?.button,t?.primaryButton),children:o?R.jsx(kn,{className:"animate-spin"}):n.FORGOT_PASSWORD_ACTION})]})})}function $D({className:e,classNames:t,callbackURL:o,isSubmitting:n,localization:r,redirectTo:i,setIsSubmitting:l}){const c=gi(),{captchaRef:d,getCaptchaHeaders:m,resetCaptcha:h}=Im({localization:r}),{authClient:f,basePath:g,baseURL:v,persistClient:y,localization:S,redirectTo:E,viewPaths:_,toast:C,localizeErrors:P}=D.useContext(vt);r={...S,...r};const x=D.useCallback(()=>i||yl("redirectTo")||E,[i,E]),T=D.useCallback(()=>`${v}${o||(y?`${g}/${_.CALLBACK}?redirectTo=${encodeURIComponent(x())}`:x())}`,[o,y,g,_,v,x]),A=Ae({email:Y().email({message:`${r.EMAIL} ${r.IS_INVALID}`})}),k=Ra({resolver:Aa(A),defaultValues:{email:""}});n=n||k.formState.isSubmitting,D.useEffect(()=>{l?.(k.formState.isSubmitting)},[k.formState.isSubmitting,l]);async function O({email:N}){try{const $={throw:!0,headers:await m("/sign-in/magic-link")};await f.signIn.magicLink({email:N,callbackURL:T(),fetchOptions:$}),C({variant:"success",message:r.MAGIC_LINK_EMAIL}),k.reset()}catch($){C({variant:"error",message:Io({error:$,localization:r,localizeErrors:P})}),h()}}return R.jsx(Da,{...k,children:R.jsxs("form",{method:"POST",onSubmit:k.handleSubmit(O),noValidate:c,className:Te("grid w-full gap-6",e,t?.base),children:[R.jsx(ko,{control:k.control,name:"email",render:({field:N})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:r.EMAIL}),R.jsx(Vo,{children:R.jsx(na,{className:t?.input,type:"email",placeholder:r.EMAIL_PLACEHOLDER,disabled:n,...N})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(Lm,{ref:d,localization:r,action:"/sign-in/magic-link"}),R.jsx(oo,{type:"submit",disabled:n,className:Te("w-full",t?.button,t?.primaryButton),children:n?R.jsx(kn,{className:"animate-spin"}):r.MAGIC_LINK_ACTION})]})})}function rae({className:e,classNames:t,isSubmitting:o,localization:n,redirectTo:r,setIsSubmitting:i}){const{authClient:l,localization:c,toast:d,localizeErrors:m}=D.useContext(vt);n={...c,...n};const{onSuccess:h,isPending:f}=Oa({redirectTo:r}),g=Ae({code:Y().min(1,{message:n.BACKUP_CODE_REQUIRED})}),v=Ra({resolver:Aa(g),defaultValues:{code:""}});o=o||v.formState.isSubmitting||f,D.useEffect(()=>{i?.(v.formState.isSubmitting||f)},[v.formState.isSubmitting,f,i]);async function y({code:S}){try{await l.twoFactor.verifyBackupCode({code:S,fetchOptions:{throw:!0}}),await h()}catch(E){d({variant:"error",message:Io({error:E,localization:n,localizeErrors:m})}),v.reset()}}return R.jsx(Da,{...v,children:R.jsxs("form",{method:"POST",onSubmit:v.handleSubmit(y),className:Te("grid gap-6",e,t?.base),children:[R.jsx(ko,{control:v.control,name:"code",render:({field:S})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:n.BACKUP_CODE}),R.jsx(Vo,{children:R.jsx(na,{placeholder:n.BACKUP_CODE_PLACEHOLDER,autoComplete:"off",className:t?.input,disabled:o,...S})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(oo,{type:"submit",disabled:o,className:Te(t?.button,t?.primaryButton),children:o?R.jsx(kn,{className:"animate-spin"}):n.RECOVER_ACCOUNT_ACTION})]})})}function aae({className:e,classNames:t,localization:o,passwordValidation:n}){const r=D.useRef(!1),{authClient:i,basePath:l,credentials:c,localization:d,viewPaths:m,navigate:h,toast:f,localizeErrors:g}=D.useContext(vt),v=c?.confirmPassword,y=c?.passwordValidation;o={...d,...o},n={...y,...n};const S=Ae({newPassword:tm(n,{PASSWORD_REQUIRED:o.NEW_PASSWORD_REQUIRED,PASSWORD_TOO_SHORT:o.PASSWORD_TOO_SHORT,PASSWORD_TOO_LONG:o.PASSWORD_TOO_LONG,INVALID_PASSWORD:o.INVALID_PASSWORD}),confirmPassword:v?tm(n,{PASSWORD_REQUIRED:o.CONFIRM_PASSWORD_REQUIRED,PASSWORD_TOO_SHORT:o.PASSWORD_TOO_SHORT,PASSWORD_TOO_LONG:o.PASSWORD_TOO_LONG,INVALID_PASSWORD:o.INVALID_PASSWORD}):Y().optional()}).refine(P=>!v||P.newPassword===P.confirmPassword,{message:o.PASSWORDS_DO_NOT_MATCH,path:["confirmPassword"]}),E=Ra({resolver:Aa(S),defaultValues:{newPassword:"",confirmPassword:""}}),_=E.formState.isSubmitting;D.useEffect(()=>{if(r.current)return;r.current=!0;const x=new URLSearchParams(window.location.search).get("token");(!x||x==="INVALID_TOKEN")&&(h(`${l}/${m.SIGN_IN}${window.location.search}`),f({variant:"error",message:o.INVALID_TOKEN}))},[l,h,f,m,o]);async function C({newPassword:P}){try{const T=new URLSearchParams(window.location.search).get("token");await i.resetPassword({newPassword:P,token:T,fetchOptions:{throw:!0}}),f({variant:"success",message:o.RESET_PASSWORD_SUCCESS}),h(`${l}/${m.SIGN_IN}${window.location.search}`)}catch(x){f({variant:"error",message:Io({error:x,localization:o,localizeErrors:g})}),E.reset()}}return R.jsx(Da,{...E,children:R.jsxs("form",{method:"POST",onSubmit:E.handleSubmit(C),className:Te("grid w-full gap-6",e,t?.base),children:[R.jsx(ko,{control:E.control,name:"newPassword",render:({field:P})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:o.NEW_PASSWORD}),R.jsx(Vo,{children:R.jsx(lm,{autoComplete:"new-password",className:t?.input,placeholder:o.NEW_PASSWORD_PLACEHOLDER,disabled:_,...P})}),R.jsx(Yo,{className:t?.error})]})}),v&&R.jsx(ko,{control:E.control,name:"confirmPassword",render:({field:P})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:o.CONFIRM_PASSWORD}),R.jsx(Vo,{children:R.jsx(lm,{autoComplete:"new-password",className:t?.input,placeholder:o.CONFIRM_PASSWORD_PLACEHOLDER,disabled:_,...P})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(oo,{type:"submit",disabled:_,className:Te("w-full",t?.button,t?.primaryButton),children:_?R.jsx(kn,{className:"animate-spin"}):o.RESET_PASSWORD_ACTION})]})})}function iae({className:e,classNames:t,isSubmitting:o,localization:n,redirectTo:r,setIsSubmitting:i,passwordValidation:l,callbackURL:c}){const d=gi(),{captchaRef:m,getCaptchaHeaders:h,resetCaptcha:f}=Im({localization:n}),{authClient:g,basePath:v,credentials:y,localization:S,viewPaths:E,navigate:_,toast:C,Link:P,localizeErrors:x,emailVerification:T}=D.useContext(vt),A=y?.rememberMe,k=y?.username,O=y?.passwordValidation;n={...S,...n},l={...O,...l};const{onSuccess:N,isPending:$}=Oa({redirectTo:r}),F=Ae({email:k?Y().min(1,{message:`${n.USERNAME} ${n.IS_REQUIRED}`}):Y().email({message:`${n.EMAIL} ${n.IS_INVALID}`}),password:tm(l,n),rememberMe:Vt().optional()}),U=Ra({resolver:Aa(F),defaultValues:{email:"",password:"",rememberMe:!A}});o=o||U.formState.isSubmitting||$,D.useEffect(()=>{i?.(U.formState.isSubmitting||$)},[U.formState.isSubmitting,$,i]);async function j({email:K,password:ae,rememberMe:V}){var Z;try{let te={};if(k&&!wY(K)){const le={throw:!0,headers:await h("/sign-in/username")};te=await g.signIn.username({username:K,password:ae,rememberMe:V,fetchOptions:le,callbackURL:c})}else{const le={throw:!0,headers:await h("/sign-in/email")};te=await g.signIn.email({email:K,password:ae,rememberMe:V,fetchOptions:le,callbackURL:c})}te.twoFactorRedirect?_(`${v}/${E.TWO_FACTOR}${window.location.search}`):await N()}catch(te){U.resetField("password"),f(),C({variant:"error",message:Io({error:te,localization:n,localizeErrors:x})}),T?.otp&&((Z=te?.error)==null?void 0:Z.code)==="EMAIL_NOT_VERIFIED"&&_(`${v}/${E.EMAIL_VERIFICATION}?email=${encodeURIComponent(K)}`)}}return R.jsx(Da,{...U,children:R.jsxs("form",{method:"POST",onSubmit:U.handleSubmit(j),noValidate:d,className:Te("grid w-full gap-6",e,t?.base),children:[R.jsx(ko,{control:U.control,name:"email",render:({field:K})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:k?n.USERNAME:n.EMAIL}),R.jsx(Vo,{children:R.jsx(na,{autoComplete:k?"username":"email",className:t?.input,type:k?"text":"email",placeholder:k?n.SIGN_IN_USERNAME_PLACEHOLDER:n.EMAIL_PLACEHOLDER,disabled:o,...K})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(ko,{control:U.control,name:"password",render:({field:K})=>R.jsxs(Do,{children:[R.jsxs("div",{className:"flex items-center justify-between",children:[R.jsx(Oo,{className:t?.label,children:n.PASSWORD}),y?.forgotPassword&&R.jsx(P,{className:Te("text-sm hover:underline",t?.forgotPasswordLink),href:`${v}/${E.FORGOT_PASSWORD}${d?window.location.search:""}`,children:n.FORGOT_PASSWORD_LINK})]}),R.jsx(Vo,{children:R.jsx(lm,{autoComplete:"current-password",className:t?.input,placeholder:n.PASSWORD_PLACEHOLDER,disabled:o,...K})}),R.jsx(Yo,{className:t?.error})]})}),A&&R.jsx(ko,{control:U.control,name:"rememberMe",render:({field:K})=>R.jsxs(Do,{className:"flex",children:[R.jsx(Vo,{children:R.jsx(iE,{checked:K.value,onCheckedChange:K.onChange,disabled:o})}),R.jsx(Oo,{children:n.REMEMBER_ME})]})}),R.jsx(Lm,{ref:m,localization:n,action:"/sign-in/email"}),R.jsx(oo,{type:"submit",disabled:o,className:Te("w-full",t?.button,t?.primaryButton),children:o?R.jsx(kn,{className:"animate-spin"}):n.SIGN_IN_ACTION})]})})}function sae({className:e,classNames:t,callbackURL:o,isSubmitting:n,localization:r,redirectTo:i,setIsSubmitting:l,passwordValidation:c}){var d,m,h,f,g,v;const y=gi(),{captchaRef:S,getCaptchaHeaders:E,resetCaptcha:_}=Im({localization:r}),{additionalFields:C,authClient:P,basePath:x,baseURL:T,credentials:A,localization:k,nameRequired:O,persistClient:N,redirectTo:$,signUp:F,viewPaths:U,navigate:j,toast:K,avatar:ae,localizeErrors:V,emailVerification:Z}=D.useContext(vt),te=A?.confirmPassword,le=A?.username,Q=A?.usernameRequired??!0,I=A?.passwordValidation,H=F?.fields;r={...k,...r},c={...I,...c};const q=D.useRef(null),[L,z]=D.useState(null),[J,me]=D.useState(!1),he=D.useCallback(()=>i||yl("redirectTo")||$,[i,$]),Ce=D.useCallback(()=>`${T}${o||(N?`${x}/${U.CALLBACK}?redirectTo=${encodeURIComponent(he())}`:he())}`,[o,N,x,U,T,he]),{onSuccess:Be,isPending:W}=Oa({redirectTo:i}),ne={email:Y().email({message:`${r.EMAIL} ${r.IS_INVALID}`}),password:tm(c,r),name:H?.includes("name")&&O?Y().min(1,{message:`${r.NAME} ${r.IS_REQUIRED}`}):Y().optional(),image:Y().optional(),username:le&&Q?Y().min(1,{message:`${r.USERNAME} ${r.IS_REQUIRED}`}):Y().optional(),confirmPassword:te?tm(c,{PASSWORD_REQUIRED:r.CONFIRM_PASSWORD_REQUIRED,PASSWORD_TOO_SHORT:r.PASSWORD_TOO_SHORT,PASSWORD_TOO_LONG:r.PASSWORD_TOO_LONG,INVALID_PASSWORD:r.INVALID_PASSWORD}):Y().optional()},ve={};if(H)for(const De of H){if(De==="name"||De==="image")continue;const ke=C?.[De];if(!ke)continue;let Ue;ke.type==="number"?Ue=ke.required?oC(G=>G?Number(G):void 0,kt({message:((d=ke.errorMessage)==null?void 0:d.invalid)??`${ke.label} ${r.IS_INVALID}`})):ZI({message:((m=ke.errorMessage)==null?void 0:m.invalid)??`${ke.label} ${r.IS_INVALID}`}).optional():ke.type==="boolean"?Ue=ke.required?L1({message:((h=ke.errorMessage)==null?void 0:h.invalid)??`${ke.label} ${r.IS_INVALID}`}).refine(G=>G===!0,{message:((f=ke.errorMessage)==null?void 0:f.required)??`${ke.label} ${r.IS_REQUIRED}`}):L1({message:((g=ke.errorMessage)==null?void 0:g.invalid)??`${ke.label} ${r.IS_INVALID}`}).optional():Ue=ke.required?Y().min(1,((v=ke.errorMessage)==null?void 0:v.required)??`${ke.label} ${r.IS_REQUIRED}`):Y().optional(),ve[De]=Ue}const ie=Ae(ne).extend(ve).refine(De=>te?De.password===De.confirmPassword:!0,{message:r.PASSWORDS_DO_NOT_MATCH,path:["confirmPassword"]}),_e={email:"",password:"",...te&&{confirmPassword:""},...H?.includes("name")?{name:""}:{},...le?{username:""}:{},...H?.includes("image")&&ae?{image:""}:{}};if(H)for(const De of H){if(De==="name"||De==="image")continue;const ke=C?.[De];ke&&(_e[De]=ke.type==="boolean"?!1:"")}const xe=Ra({resolver:Aa(ie),defaultValues:_e});n=n||xe.formState.isSubmitting||W,D.useEffect(()=>{l?.(xe.formState.isSubmitting||W)},[xe.formState.isSubmitting,W,l]);const tt=async De=>{if(ae){me(!0);try{const ke=await hre(De,crypto.randomUUID(),ae.size,ae.extension);let Ue;ae.upload?Ue=await ae.upload(ke):Ue=await gre(ke),Ue?(z(Ue),xe.setValue("image",Ue)):(z(null),xe.setValue("image",""))}catch(ke){console.error(ke),K({variant:"error",message:Io({error:ke,localization:r,localizeErrors:V})})}me(!1)}},nt=()=>{z(null),xe.setValue("image","")},$e=()=>{var De;return(De=q.current)==null?void 0:De.click()};async function Qe({email:De,password:ke,name:Ue,username:G,confirmPassword:oe,image:se,...Ee}){var Pe,Re;try{for(const[bt,Tt]of Object.entries(Ee)){const yt=C?.[bt];if(yt?.validate&&typeof Tt=="string"&&!await yt.validate(Tt)){xe.setError(bt,{message:((Pe=yt.errorMessage)==null?void 0:Pe.validate)??((Re=yt.errorMessage)==null?void 0:Re.invalid)??`${yt.label} ${r.IS_INVALID}`});return}}const Me={throw:!0,headers:await E("/sign-up/email")},Xe={};G!==void 0&&(!Q&&(G===null||G===""||typeof G=="string"&&G.trim()==="")||(Xe.username=G)),se!==void 0&&(Xe.image=se);const et=await P.signUp.email({email:De,password:ke,name:Ue||"",...Xe,...Ee,callbackURL:Ce(),fetchOptions:Me});"token"in et&&et.token?await Be():Z?.otp?j(`${x}/${U.EMAIL_VERIFICATION}?email=${encodeURIComponent(De)}`):(j(`${x}/${U.SIGN_IN}${window.location.search}`),K({variant:"success",message:r.SIGN_UP_EMAIL}))}catch(Me){K({variant:"error",message:Io({error:Me,localization:r,localizeErrors:V})}),xe.resetField("password"),xe.resetField("confirmPassword"),_()}}return R.jsx(Da,{...xe,children:R.jsxs("form",{method:"POST",onSubmit:xe.handleSubmit(Qe),noValidate:y,className:Te("grid w-full gap-6",e,t?.base),children:[H?.includes("image")&&ae&&R.jsxs(R.Fragment,{children:[R.jsx("input",{ref:q,accept:"image/*",disabled:J,hidden:!0,type:"file",onChange:De=>{var ke;const Ue=(ke=De.target.files)==null?void 0:ke.item(0);Ue&&tt(Ue),De.target.value=""}}),R.jsx(ko,{control:xe.control,name:"image",render:()=>R.jsxs(Do,{children:[R.jsx(Oo,{children:r.AVATAR}),R.jsxs("div",{className:"flex items-center gap-4",children:[R.jsxs(vre,{children:[R.jsx(bre,{asChild:!0,children:R.jsx(oo,{className:"size-fit rounded-full",size:"icon",variant:"ghost",type:"button",children:R.jsx(wre,{isPending:J,className:"size-16",user:L?{name:xe.watch("name"),email:xe.watch("email"),image:L}:null,localization:r})})}),R.jsxs(yre,{align:"start",onCloseAutoFocus:De=>De.preventDefault(),children:[R.jsxs(jD,{onClick:$e,disabled:J,children:[R.jsx(bZ,{}),r.UPLOAD_AVATAR]}),L&&R.jsxs(jD,{onClick:nt,disabled:J,variant:"destructive",children:[R.jsx(EZ,{}),r.DELETE_AVATAR]})]})]}),R.jsxs(oo,{type:"button",variant:"outline",onClick:$e,disabled:J,children:[J&&R.jsx(kn,{className:"animate-spin"}),r.UPLOAD]})]}),R.jsx(Yo,{})]})})]}),H?.includes("name")&&R.jsx(ko,{control:xe.control,name:"name",render:({field:De})=>R.jsxs(Do,{children:[R.jsxs(Oo,{className:t?.label,children:[r.NAME,!O&&R.jsx("span",{className:"ml-1 text-muted-foreground",children:r.OPTIONAL_BRACKETS})]}),R.jsx(Vo,{children:R.jsx(na,{autoComplete:"name",className:t?.input,placeholder:r.NAME_PLACEHOLDER,disabled:n,...De,value:De.value})}),R.jsx(Yo,{className:t?.error})]})}),le&&R.jsx(ko,{control:xe.control,name:"username",render:({field:De})=>R.jsxs(Do,{children:[R.jsxs(Oo,{className:t?.label,children:[r.USERNAME,!Q&&R.jsx("span",{className:"ml-1 text-muted-foreground",children:r.OPTIONAL_BRACKETS})]}),R.jsx(Vo,{children:R.jsx(na,{autoComplete:"username",className:t?.input,placeholder:r.USERNAME_PLACEHOLDER,disabled:n,...De,value:De.value})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(ko,{control:xe.control,name:"email",render:({field:De})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:r.EMAIL}),R.jsx(Vo,{children:R.jsx(na,{autoComplete:"email",className:t?.input,type:"email",placeholder:r.EMAIL_PLACEHOLDER,disabled:n,...De,value:De.value})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(ko,{control:xe.control,name:"password",render:({field:De})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:r.PASSWORD}),R.jsx(Vo,{children:R.jsx(lm,{autoComplete:"new-password",className:t?.input,placeholder:r.PASSWORD_PLACEHOLDER,disabled:n,enableToggle:!0,...De,value:De.value})}),R.jsx(Yo,{className:t?.error})]})}),te&&R.jsx(ko,{control:xe.control,name:"confirmPassword",render:({field:De})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:r.CONFIRM_PASSWORD}),R.jsx(Vo,{children:R.jsx(lm,{autoComplete:"new-password",className:t?.input,placeholder:r.CONFIRM_PASSWORD_PLACEHOLDER,disabled:n,enableToggle:!0,...De,value:De.value})}),R.jsx(Yo,{className:t?.error})]})}),H?.filter(De=>De!=="name"&&De!=="image").map(De=>{const ke=C?.[De];return ke?ke.type==="boolean"?R.jsx(ko,{control:xe.control,name:De,render:({field:Ue})=>R.jsxs(Do,{className:"flex",children:[R.jsx(Vo,{children:R.jsx(iE,{checked:Ue.value,onCheckedChange:Ue.onChange,disabled:n})}),R.jsx(Oo,{className:t?.label,children:ke.label}),R.jsx(Yo,{className:t?.error})]})},De):R.jsx(ko,{control:xe.control,name:De,render:({field:Ue})=>R.jsxs(Do,{children:[R.jsx(Oo,{className:t?.label,children:ke.label}),R.jsx(Vo,{children:ke.type==="number"?R.jsx(na,{className:t?.input,type:"number",placeholder:ke.placeholder||(typeof ke.label=="string"?ke.label:""),disabled:n,...Ue,value:Ue.value}):ke.multiline?R.jsx(Ere,{className:t?.input,placeholder:ke.placeholder||(typeof ke.label=="string"?ke.label:""),disabled:n,...Ue,value:Ue.value}):R.jsx(na,{className:t?.input,type:"text",placeholder:ke.placeholder||(typeof ke.label=="string"?ke.label:""),disabled:n,...Ue,value:Ue.value})}),R.jsx(Yo,{className:t?.error})]})},De):(console.error(`Additional field ${De} not found`),null)}),R.jsx(Lm,{ref:S,localization:r,action:"/sign-up/email"}),R.jsx(oo,{type:"submit",disabled:n,className:Te("w-full",t?.button,t?.primaryButton),children:n?R.jsx(kn,{className:"animate-spin"}):r.SIGN_UP_ACTION})]})})}function lae({className:e,classNames:t,isSubmitting:o,localization:n,otpSeparators:r=0,redirectTo:i,setIsSubmitting:l}){var c;const d=gi(),m=d?yl("totpURI"):null,h=D.useRef(!1),{authClient:f,basePath:g,hooks:{useSession:v},localization:y,twoFactor:S,viewPaths:E,toast:_,Link:C,localizeErrors:P}=D.useContext(vt);n={...y,...n};const{onSuccess:x,isPending:T}=Oa({redirectTo:i}),{data:A}=v(),k=(c=A?.user)==null?void 0:c.twoFactorEnabled,[O,N]=D.useState(S?.length===1?S[0]:null),[$,F]=D.useState(!1),[U,j]=D.useState(0),K=Ae({code:Y().min(1,{message:`${n.ONE_TIME_PASSWORD} ${n.IS_REQUIRED}`}).min(6,{message:`${n.ONE_TIME_PASSWORD} ${n.IS_INVALID}`}),trustDevice:Vt().optional()}),ae=Ra({resolver:Aa(K),defaultValues:{code:""}});o=o||ae.formState.isSubmitting||T,D.useEffect(()=>{l?.(ae.formState.isSubmitting||T)},[ae.formState.isSubmitting,T,l]),D.useEffect(()=>{O==="otp"&&U<=0&&!h.current&&(h.current=!0,V())},[O]),D.useEffect(()=>{if(U<=0)return;const te=setTimeout(()=>{j(le=>le-1)},1e3);return()=>clearTimeout(te)},[U]);const V=async()=>{if(!($||U>0)){try{F(!0),await f.twoFactor.sendOtp({fetchOptions:{throw:!0}}),j(60)}catch(te){_({variant:"error",message:Io({error:te,localization:n,localizeErrors:P})}),te.error.code==="INVALID_TWO_FACTOR_COOKIE"&&history.back()}h.current=!1,F(!1)}};async function Z({code:te,trustDevice:le}){try{await(O==="totp"?f.twoFactor.verifyTotp:f.twoFactor.verifyOtp)({code:te,trustDevice:le,fetchOptions:{throw:!0}}),await x(),A&&!k&&_({variant:"success",message:n?.TWO_FACTOR_ENABLED})}catch(Q){_({variant:"error",message:Io({error:Q,localization:n,localizeErrors:P})}),ae.reset()}}return R.jsx(Da,{...ae,children:R.jsxs("form",{method:"POST",onSubmit:ae.handleSubmit(Z),className:Te("grid w-full gap-6",e,t?.base),children:[S?.includes("totp")&&m&&O==="totp"&&R.jsxs("div",{className:"space-y-3",children:[R.jsx(TB,{className:t?.label,children:n.TWO_FACTOR_TOTP_LABEL}),R.jsx(sre,{className:Te("border shadow-xs",t?.qrCode),value:m})]}),O!==null&&R.jsxs(R.Fragment,{children:[R.jsx(ko,{control:ae.control,name:"code",render:({field:te})=>R.jsxs(Do,{children:[R.jsxs("div",{className:"flex items-center justify-between",children:[R.jsx(Oo,{className:t?.label,children:n.ONE_TIME_PASSWORD}),R.jsx(C,{className:Te("text-sm hover:underline",t?.forgotPasswordLink),href:`${g}/${E.RECOVER_ACCOUNT}${d?window.location.search:""}`,children:n.FORGOT_AUTHENTICATOR})]}),R.jsx(Vo,{children:R.jsx(sE,{...te,maxLength:6,onChange:le=>{te.onChange(le),le.length===6&&ae.handleSubmit(Z)()},containerClassName:t?.otpInputContainer,className:t?.otpInput,disabled:o,children:R.jsx(lE,{otpSeparators:r})})}),R.jsx(Yo,{className:t?.error})]})}),R.jsx(ko,{control:ae.control,name:"trustDevice",render:({field:te})=>R.jsxs(Do,{className:"flex",children:[R.jsx(Vo,{children:R.jsx(iE,{checked:te.value,onCheckedChange:te.onChange,disabled:o,className:t?.checkbox})}),R.jsx(Oo,{className:t?.label,children:n.TRUST_DEVICE})]})})]}),R.jsxs("div",{className:"grid gap-4",children:[O!==null&&R.jsxs(oo,{type:"submit",disabled:o,className:Te(t?.button,t?.primaryButton),children:[o&&R.jsx(kn,{className:"animate-spin"}),n.TWO_FACTOR_ACTION]}),O==="otp"&&S?.includes("otp")&&R.jsxs(oo,{type:"button",variant:"outline",onClick:V,disabled:U>0||$||o,className:Te(t?.button,t?.outlineButton),children:[$?R.jsx(kn,{className:"animate-spin"}):R.jsx(Sk,{className:t?.icon}),n.RESEND_CODE,U>0&&` (${U})`]}),O!=="otp"&&S?.includes("otp")&&R.jsxs(oo,{type:"button",variant:"secondary",className:Te(t?.button,t?.secondaryButton),onClick:()=>N("otp"),disabled:o,children:[R.jsx(Sk,{className:t?.icon}),n.SEND_VERIFICATION_CODE]}),O!=="totp"&&S?.includes("totp")&&R.jsxs(oo,{type:"button",variant:"secondary",className:Te(t?.button,t?.secondaryButton),onClick:()=>N("totp"),disabled:o,children:[R.jsx(CZ,{className:t?.icon}),n.CONTINUE_WITH_AUTHENTICATOR]})]})]})})}function IB({redirectTo:e}){const t=D.useRef(!1),{authClient:o,basePath:n,viewPaths:r}=D.useContext(vt),{onSuccess:i}=Oa({redirectTo:e||`${n}/${r.SIGN_IN}`});return D.useEffect(()=>{t.current||(t.current=!0,o.signOut().finally(i))},[o,i]),R.jsx(kn,{className:"animate-spin"})}function cae({className:e,classNames:t,callbackURL:o,isSubmitting:n,localization:r,pathname:i,redirectTo:l,view:c,otpSeparators:d=0,setIsSubmitting:m}){const{basePath:h,credentials:f,localization:g,magicLink:v,emailOTP:y,signUp:S,twoFactor:E,viewPaths:_,replace:C}=D.useContext(vt),P=!!S;if(r={...g,...r},D.useEffect(()=>{i&&!S_(_,i)&&(console.error(`Invalid auth view: ${i}`),C(`${h}/${_.SIGN_IN}${window.location.search}`))},[i,_,h,C]),c=c||S_(_,i)||"SIGN_IN",D.useEffect(()=>{let x=!1;c==="MAGIC_LINK"&&(!v||!f&&!y)&&(x=!0),c==="EMAIL_OTP"&&(!y||!f&&!v)&&(x=!0),c==="SIGN_UP"&&!P&&(x=!0),!f&&["SIGN_UP","FORGOT_PASSWORD","RESET_PASSWORD","TWO_FACTOR","RECOVER_ACCOUNT"].includes(c)&&(x=!0),["TWO_FACTOR","RECOVER_ACCOUNT"].includes(c)&&!E&&(x=!0),x&&C(`${h}/${_.SIGN_IN}${window.location.search}`)},[h,c,_,f,C,y,P,v,E]),c==="SIGN_OUT")return R.jsx(IB,{redirectTo:l});if(c==="CALLBACK")return R.jsx(MB,{redirectTo:l});if(c==="SIGN_IN")return f?R.jsx(iae,{className:e,classNames:t,localization:r,redirectTo:l,isSubmitting:n,setIsSubmitting:m,callbackURL:o}):v?R.jsx($D,{className:e,classNames:t,callbackURL:o,localization:r,redirectTo:l,isSubmitting:n,setIsSubmitting:m}):y?R.jsx(UD,{className:e,classNames:t,callbackURL:o,localization:r,redirectTo:l,isSubmitting:n,setIsSubmitting:m}):null;if(c==="TWO_FACTOR")return R.jsx(lae,{className:e,classNames:t,localization:r,otpSeparators:d,redirectTo:l,isSubmitting:n,setIsSubmitting:m});if(c==="RECOVER_ACCOUNT")return R.jsx(rae,{className:e,classNames:t,localization:r,redirectTo:l,isSubmitting:n,setIsSubmitting:m});if(c==="MAGIC_LINK")return R.jsx($D,{className:e,classNames:t,callbackURL:o,localization:r,redirectTo:l,isSubmitting:n,setIsSubmitting:m});if(c==="EMAIL_OTP")return R.jsx(UD,{className:e,classNames:t,callbackURL:o,localization:r,redirectTo:l,isSubmitting:n,setIsSubmitting:m});if(c==="EMAIL_VERIFICATION")return R.jsx(oae,{className:e,classNames:t,callbackURL:o,localization:r,otpSeparators:d,redirectTo:l,isSubmitting:n,setIsSubmitting:m});if(c==="FORGOT_PASSWORD")return R.jsx(nae,{className:e,classNames:t,localization:r,isSubmitting:n,setIsSubmitting:m});if(c==="RESET_PASSWORD")return R.jsx(aae,{className:e,classNames:t,localization:r});if(c==="SIGN_UP")return P&&R.jsx(sae,{className:e,classNames:t,callbackURL:o,localization:r,redirectTo:l,isSubmitting:n,setIsSubmitting:m})}function uae({className:e,classNames:t,localization:o}){const{localization:n,redirectTo:r,replace:i,toast:l}=D.useContext(vt),c=D.useMemo(()=>({...n,...o}),[n,o]),{data:d}=mre(),[m,h]=D.useState(null);return D.useEffect(()=>{const f=yl("invitationId");if(!f){l({variant:"error",message:c.INVITATION_NOT_FOUND}),i(r);return}h(f)},[c.INVITATION_NOT_FOUND,l,i,r]),!d||!m?R.jsx(LB,{className:e,classNames:t}):R.jsx(dae,{className:e,classNames:t,localization:c,invitationId:m})}function dae({className:e,classNames:t,localization:o,invitationId:n}){var r;const{authClient:i,hooks:{useInvitation:l},localization:c,organization:d,redirectTo:m,replace:h,toast:f,localizeErrors:g}=D.useContext(vt),v=D.useMemo(()=>({...c,...o}),[c,o]),[y,S]=D.useState(!1),[E,_]=D.useState(!1),C=y||E,{data:P,isPending:x}=l({query:{id:n}}),T=D.useCallback(()=>yl("redirectTo")||m,[m]);D.useEffect(()=>{if(!(x||!n)){if(!P){f({variant:"error",message:v.INVITATION_NOT_FOUND}),h(m);return}(P.status!=="pending"||new Date(P.expiresAt)<new Date)&&(f({variant:"error",message:new Date(P.expiresAt)<new Date?v.INVITATION_EXPIRED:v.INVITATION_NOT_FOUND}),h(m))}},[P,x,n,v,f,h,m]);const A=async()=>{_(!0);try{await i.organization.acceptInvitation({invitationId:n,fetchOptions:{throw:!0}}),f({variant:"success",message:v.INVITATION_ACCEPTED||"Invitation accepted"}),h(T())}catch(F){f({variant:"error",message:Io({error:F,localization:v,localizeErrors:g})}),_(!1)}},k=async()=>{S(!0);try{await i.organization.rejectInvitation({invitationId:n,fetchOptions:{throw:!0}}),f({variant:"success",message:v.INVITATION_REJECTED}),h(m)}catch(F){f({variant:"error",message:Io({error:F,localization:v,localizeErrors:g})}),S(!1)}},$=((r=[...[{role:"owner",label:v.OWNER},{role:"admin",label:v.ADMIN},{role:"member",label:v.MEMBER}],...d?.customRoles||[]].find(F=>F.role===P?.role))==null?void 0:r.label)||P?.role;return P?R.jsxs(sm,{className:Te("w-full max-w-sm",e,t?.base),children:[R.jsxs(nE,{className:Te("justify-items-center text-center",t?.header),children:[R.jsx(EB,{className:Te("text-lg md:text-xl",t?.title),children:v.ACCEPT_INVITATION}),R.jsx(xB,{className:Te("text-xs md:text-sm",t?.description),children:v.ACCEPT_INVITATION_DESCRIPTION})]}),R.jsxs(rE,{className:Te("flex flex-col gap-6 truncate",t?.content),children:[R.jsxs(sm,{className:Te("flex-row items-center p-4"),children:[R.jsx(OB,{organization:{id:P.organizationId,name:P.organizationName,slug:P.organizationSlug,logo:P.organizationLogo,createdAt:new Date},localization:v}),R.jsx("p",{className:"ml-auto text-muted-foreground text-sm",children:$})]}),R.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[R.jsxs(oo,{variant:"outline",className:Te(t?.button,t?.outlineButton),onClick:k,disabled:C,children:[y?R.jsx(kn,{className:"animate-spin"}):R.jsx(TZ,{}),v.REJECT]}),R.jsxs(oo,{className:Te(t?.button,t?.primaryButton),onClick:A,disabled:C,children:[E?R.jsx(kn,{className:"animate-spin"}):R.jsx(hL,{}),v.ACCEPT]})]})]})]}):R.jsx(LB,{className:e,classNames:t})}var LB=({className:e,classNames:t,localization:o})=>R.jsxs(sm,{className:Te("w-full max-w-sm",e,t?.base),children:[R.jsxs(nE,{className:Te("justify-items-center",t?.header),children:[R.jsx(ii,{className:Te("my-1 h-5 w-full max-w-32 md:h-5.5 md:w-40",t?.skeleton)}),R.jsx(ii,{className:Te("my-0.5 h-3 w-full max-w-56 md:h-3.5 md:w-64",t?.skeleton)})]}),R.jsxs(rE,{className:Te("flex flex-col gap-6 truncate",t?.content),children:[R.jsxs(sm,{className:Te("flex-row items-center p-4"),children:[R.jsx(OB,{isPending:!0,localization:o}),R.jsx(ii,{className:"mt-0.5 ml-auto h-4 w-full max-w-14 shrink-2"})]}),R.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[R.jsx(ii,{className:"h-9 w-full"}),R.jsx(ii,{className:"h-9 w-full"})]})]})]});function qD({className:e,orientation:t="horizontal",decorative:o=!0,...n}){return R.jsx(dre,{"data-slot":"separator",decorative:o,orientation:t,className:Te("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...n})}function mae({classNames:e,isSubmitting:t,localization:o,view:n}){var r,i,l,c;const{viewPaths:d,navigate:m,basePath:h}=D.useContext(vt);return R.jsxs(oo,{className:Te("w-full",(r=e?.form)==null?void 0:r.button,(i=e?.form)==null?void 0:i.secondaryButton),disabled:t,type:"button",variant:"secondary",onClick:()=>m(`${h}/${n==="EMAIL_OTP"?d.SIGN_IN:d.EMAIL_OTP}${window.location.search}`),children:[n==="EMAIL_OTP"?R.jsx(pL,{className:(l=e?.form)==null?void 0:l.icon}):R.jsx(gL,{className:(c=e?.form)==null?void 0:c.icon}),o.SIGN_IN_WITH," ",n==="EMAIL_OTP"?o.PASSWORD:o.EMAIL_OTP]})}function fae({classNames:e,isSubmitting:t,localization:o,view:n}){var r,i,l,c;const{viewPaths:d,navigate:m,basePath:h,credentials:f}=D.useContext(vt);return R.jsxs(oo,{className:Te("w-full",(r=e?.form)==null?void 0:r.button,(i=e?.form)==null?void 0:i.secondaryButton),disabled:t,type:"button",variant:"secondary",onClick:()=>m(`${h}/${n==="MAGIC_LINK"||!f?d.SIGN_IN:d.MAGIC_LINK}${window.location.search}`),children:[n==="MAGIC_LINK"?R.jsx(pL,{className:(l=e?.form)==null?void 0:l.icon}):R.jsx(gL,{className:(c=e?.form)==null?void 0:c.icon}),o.SIGN_IN_WITH," ",n==="MAGIC_LINK"?o.PASSWORD:o.MAGIC_LINK]})}function hae({localization:e,redirectTo:t}){const{authClient:o,localization:n,toast:r,localizeErrors:i}=D.useContext(vt),l=D.useRef(!1);e=D.useMemo(()=>({...n,...e}),[n,e]);const{onSuccess:c}=Oa({redirectTo:t});return D.useEffect(()=>{if(!l.current){l.current=!0;try{o.oneTap({fetchOptions:{throw:!0,onSuccess:c}})}catch(d){r({variant:"error",message:Io({error:d,localization:e,localizeErrors:i})})}}},[o,e,i,c,r]),null}function pae({classNames:e,isSubmitting:t,localization:o,redirectTo:n,setIsSubmitting:r}){var i,l;const{authClient:c,localization:d,toast:m,localizeErrors:h}=D.useContext(vt);o={...d,...o};const{onSuccess:f}=Oa({redirectTo:n}),g=async()=>{r?.(!0);try{const v=await c.signIn.passkey({fetchOptions:{throw:!0}});v?.error?(m({variant:"error",message:Io({error:v.error,localization:o,localizeErrors:h})}),r?.(!1)):f()}catch(v){m({variant:"error",message:Io({error:v,localization:o,localizeErrors:h})}),r?.(!1)}};return R.jsxs(oo,{className:Te("w-full",(i=e?.form)==null?void 0:i.button,(l=e?.form)==null?void 0:l.secondaryButton),disabled:t,formNoValidate:!0,name:"passkey",value:"true",variant:"secondary",onClick:g,children:[R.jsx(_Z,{}),o.SIGN_IN_WITH," ",o.PASSKEY]})}function VD({className:e,classNames:t,callbackURL:o,isSubmitting:n,localization:r,other:i,provider:l,redirectTo:c,socialLayout:d,setIsSubmitting:m}){var h,f,g,v;const{authClient:y,basePath:S,baseURL:E,persistClient:_,redirectTo:C,viewPaths:P,social:x,genericOAuth:T,toast:A,localizeErrors:k}=D.useContext(vt),O=D.useCallback(()=>c||yl("redirectTo")||C,[c,C]),N=D.useCallback(()=>`${E}${o||(_?`${S}/${P.CALLBACK}?redirectTo=${encodeURIComponent(O())}`:O())}`,[o,_,S,P,E,O]),$=async()=>{m(!0);try{if(i){const F={providerId:l.provider,callbackURL:N(),fetchOptions:{throw:!0}};T?.signIn?(await T.signIn(F),setTimeout(()=>{m(!1)},1e4)):await y.signIn.oauth2(F)}else{const F={provider:l.provider,callbackURL:N(),fetchOptions:{throw:!0}};x?.signIn?(await x.signIn(F),setTimeout(()=>{m(!1)},1e4)):await y.signIn.social(F)}}catch(F){A({variant:"error",message:Io({error:F,localization:r,localizeErrors:k})}),m(!1)}};return R.jsxs(oo,{className:Te(d==="vertical"?"w-full":"grow",e,(h=t?.form)==null?void 0:h.button,(f=t?.form)==null?void 0:f.outlineButton,(g=t?.form)==null?void 0:g.providerButton),disabled:n,variant:"outline",onClick:$,children:[l.icon&&R.jsx(l.icon,{className:(v=t?.form)==null?void 0:v.icon}),d==="grid"&&l.name,d==="vertical"&&`${r.SIGN_IN_WITH} ${l.name}`]})}function Jde({className:e,classNames:t,callbackURL:o,cardHeader:n,cardFooter:r,localization:i,path:l,pathname:c,redirectTo:d,socialLayout:m="auto",view:h,otpSeparators:f=0}){var g,v,y,S,E,_;const C=gi(),{basePath:P,credentials:x,localization:T,magicLink:A,emailOTP:k,oneTap:O,passkey:N,signUp:$,social:F,genericOAuth:U,viewPaths:j,Link:K}=D.useContext(vt);i={...T,...i};let ae=m;ae==="auto"&&(ae=x&&F?.providers&&F.providers.length>2?"horizontal":"vertical");const V=l??c?.split("/").pop(),Z=h||S_(j,V)||"SIGN_IN",[te,le]=D.useState(!1);if(D.useEffect(()=>{const I=()=>le(!1);return window.addEventListener("pagehide",I),()=>{le(!1),window.removeEventListener("pagehide",I)}},[]),Z==="CALLBACK")return R.jsx(MB,{redirectTo:d});if(Z==="SIGN_OUT")return R.jsx(IB,{redirectTo:d});if(Z==="ACCEPT_INVITATION")return R.jsx(uae,{className:e,classNames:t});const Q=!x&&!A&&!k?i.DISABLED_CREDENTIALS_DESCRIPTION:i[`${Z}_DESCRIPTION`];return R.jsxs(sm,{className:Te("w-full max-w-sm",e,t?.base),children:[R.jsx(nE,{className:t?.header,children:n||R.jsxs(R.Fragment,{children:[R.jsx(EB,{className:Te("text-lg md:text-xl",t?.title),children:i[Z]}),Q&&R.jsx(xB,{className:Te("text-xs md:text-sm",t?.description),children:Q})]})}),R.jsxs(rE,{className:Te("grid gap-6",t?.content),children:[O&&["SIGN_IN","SIGN_UP","MAGIC_LINK","EMAIL_OTP"].includes(Z)&&R.jsx(hae,{localization:i,redirectTo:d}),(x||A||k)&&R.jsxs("div",{className:"grid gap-4",children:[R.jsx(cae,{classNames:t?.form,callbackURL:o,isSubmitting:te,localization:i,otpSeparators:f,view:Z,redirectTo:d,setIsSubmitting:le}),A&&(x&&["FORGOT_PASSWORD","SIGN_UP","SIGN_IN","MAGIC_LINK","EMAIL_OTP"].includes(Z)||k&&Z==="EMAIL_OTP")&&R.jsx(fae,{classNames:t,localization:i,view:Z,isSubmitting:te}),k&&(x&&["FORGOT_PASSWORD","SIGN_UP","SIGN_IN","MAGIC_LINK","EMAIL_OTP"].includes(Z)||A&&["SIGN_IN","MAGIC_LINK"].includes(Z))&&R.jsx(mae,{classNames:t,localization:i,view:Z,isSubmitting:te})]}),Z!=="RESET_PASSWORD"&&Z!=="EMAIL_VERIFICATION"&&(((g=F?.providers)==null?void 0:g.length)||((v=U?.providers)==null?void 0:v.length)||Z==="SIGN_IN"&&N)&&R.jsxs(R.Fragment,{children:[(x||A||k)&&R.jsxs("div",{className:Te("flex items-center gap-2",t?.continueWith),children:[R.jsx(qD,{className:Te("!w-auto grow",t?.separator)}),R.jsx("span",{className:"flex-shrink-0 text-muted-foreground text-sm",children:i.OR_CONTINUE_WITH}),R.jsx(qD,{className:Te("!w-auto grow",t?.separator)})]}),R.jsxs("div",{className:"grid gap-4",children:[(((y=F?.providers)==null?void 0:y.length)||((S=U?.providers)==null?void 0:S.length))&&R.jsxs("div",{className:Te("flex w-full items-center justify-between gap-4",ae==="horizontal"&&"flex-wrap",ae==="vertical"&&"flex-col",ae==="grid"&&"grid grid-cols-2"),children:[(E=F?.providers)==null?void 0:E.map(I=>{const H=Wre.find(q=>q.provider===I);return H?R.jsx(VD,{classNames:t,callbackURL:o,isSubmitting:te,localization:i,provider:H,redirectTo:d,setIsSubmitting:le,socialLayout:ae},I):null}),(_=U?.providers)==null?void 0:_.map(I=>R.jsx(VD,{classNames:t,callbackURL:o,isSubmitting:te,localization:i,provider:I,redirectTo:d,setIsSubmitting:le,socialLayout:ae,other:!0},I.provider))]}),N&&["SIGN_IN","MAGIC_LINK","EMAIL_OTP","RECOVER_ACCOUNT","TWO_FACTOR","FORGOT_PASSWORD"].includes(Z)&&R.jsx(pae,{classNames:t,isSubmitting:te,localization:i,redirectTo:d,setIsSubmitting:le})]})]})]}),r&&R.jsx(zD,{className:t?.footer,children:r}),x&&$&&R.jsxs(zD,{className:Te("justify-center gap-1.5 text-muted-foreground text-sm",t?.footer),children:[Z==="SIGN_IN"||Z==="MAGIC_LINK"||Z==="EMAIL_OTP"?i.DONT_HAVE_AN_ACCOUNT:Z==="SIGN_UP"?i.ALREADY_HAVE_AN_ACCOUNT:R.jsx(gZ,{className:"size-3"}),Z==="SIGN_IN"||Z==="MAGIC_LINK"||Z==="EMAIL_OTP"||Z==="SIGN_UP"?R.jsx(K,{className:Te("text-foreground underline",t?.footerLink),href:`${P}/${j[Z==="SIGN_IN"||Z==="MAGIC_LINK"||Z==="EMAIL_OTP"?"SIGN_UP":"SIGN_IN"]}${C?window.location.search:""}`,children:R.jsx(oo,{variant:"link",size:"sm",className:Te("px-0 text-foreground underline",t?.footerLink),children:Z==="SIGN_IN"||Z==="MAGIC_LINK"||Z==="EMAIL_OTP"?i.SIGN_UP:i.SIGN_IN})}):R.jsx(oo,{variant:"link",size:"sm",className:Te("px-0 text-foreground underline",t?.footerLink),onClick:()=>window.history.back(),children:i.GO_BACK})]})]})}function Xde({children:e}){const{hooks:{useSession:t}}=D.useContext(vt),{isPending:o}=t();return o?e:null}function eme({children:e}){const{hooks:{useSession:t}}=D.useContext(vt),{data:o}=t();return o?e:null}function tme({children:e}){const{hooks:{useSession:t}}=D.useContext(vt),{data:o,isPending:n}=t();return!o&&!n?e:null}function gae(e){const t=eo.c(8),{children:o}=e,n=pm();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={basePath:"/",pathMode:"slug"},t[0]=r):r=t[0];let i,l;t[1]!==n?(i=d=>n({to:d}),l=d=>n({to:d,replace:!0}),t[1]=n,t[2]=i,t[3]=l):(i=t[2],l=t[3]);let c;return t[4]!==o||t[5]!==i||t[6]!==l?(c=R.jsx(mZ,{authClient:ov,redirectTo:"/",organization:r,navigate:i,replace:l,Link:vae,children:o}),t[4]=o,t[5]=i,t[6]=l,t[7]=c):c=t[7],c}function vae(e){const{href:t,className:o,children:n,...r}=e;return R.jsx(gm,{to:t,className:o,...r,children:n})}var pe=typeof window<"u"?window:void 0,Jo=typeof globalThis<"u"?globalThis:pe;typeof self>"u"&&(Jo.self=Jo),typeof File>"u"&&(Jo.File=function(){});var vr=Jo?.navigator,Ne=Jo?.document,hn=Jo?.location,V_=Jo?.fetch,H_=Jo!=null&&Jo.XMLHttpRequest&&"withCredentials"in new Jo.XMLHttpRequest?Jo.XMLHttpRequest:void 0,HD=Jo?.AbortController,bae=Jo?.CompressionStream,Qn=vr?.userAgent,Ze=pe??{},GD="1.372.3",Bn={DEBUG:!1,LIB_VERSION:GD,LIB_NAME:"web",JS_SDK_VERSION:GD};function KD(e,t,o,n,r,i,l){try{var c=e[i](l),d=c.value}catch(m){return void o(m)}c.done?t(d):Promise.resolve(d).then(n,r)}function Nr(e){return function(){var t=this,o=arguments;return new Promise((function(n,r){var i=e.apply(t,o);function l(d){KD(i,n,r,l,c,"next",d)}function c(d){KD(i,n,r,l,c,"throw",d)}l(void 0)}))}}function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Oe.apply(null,arguments)}function NB(e,t){if(e==null)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;o[n]=e[n]}return o}function G_(){return G_=Nr((function*(e,t,o){t===void 0&&(t=!0);try{var n=new CompressionStream("gzip"),r=n.writable.getWriter(),i=r.write(new TextEncoder().encode(e)).then((()=>r.close())).catch((function(){var d=Nr((function*(m){try{yield r.abort(m)}catch{}throw m}));return function(m){return d.apply(this,arguments)}})()),l=new Response(n.readable).blob(),[c]=yield Promise.all([l,i]);return c}catch(d){if(o!=null&&o.rethrow)throw d;return t&&console.error("Failed to gzip compress data",d),null}})),G_.apply(this,arguments)}var yae=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],WD=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var o=e.toLowerCase();return yae.concat(t).some((n=>{var r=n.toLowerCase();return o.indexOf(r)!==-1}))},Sae=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function wt(e,t){return e.indexOf(t)!==-1}var vv=function(e){return e.trim()},K_=function(e){return e.replace(/^\$/,"")},FB=Object.prototype,BB=FB.hasOwnProperty,bv=FB.toString,Dt=Array.isArray||function(e){return bv.call(e)==="[object Array]"},ai=e=>typeof e=="function",Ao=e=>e===Object(e)&&!Dt(e),Mc=e=>{if(Ao(e)){for(var t in e)if(BB.call(e,t))return!1;return!0}return!1},ze=e=>e===void 0,bo=e=>bv.call(e)=="[object String]",Dp=e=>bo(e)&&e.trim().length===0,yi=e=>e===null,Ct=e=>ze(e)||yi(e),Ur=e=>bv.call(e)=="[object Number]"&&e==e,xc=e=>Ur(e)&&e>0,xa=e=>bv.call(e)==="[object Boolean]",_ae=e=>e instanceof FormData,wae=e=>wt(Sae,e);function zB(e){return e===null||typeof e!="object"}function fg(e,t){return{}.toString.call(e)==="[object "+t+"]"}function cE(e){return typeof Event<"u"&&(function(t,o){try{return t instanceof o}catch{return!1}})(e,Event)}var Cae=[!0,"true",1,"1","yes"],mS=e=>wt(Cae,e),Eae=[!1,"false",0,"0","no"];function Ta(e,t,o,n,r){return t>o&&(n.warn("min cannot be greater than max."),t=o),Ur(e)?e>o?(n.warn(" cannot be greater than max: "+o+". Using max value instead."),o):t>e?(n.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(n.warn(" must be a number. using max or fallback. max: "+o+", fallback: "+r),Ta(r||o,t,o,n))}class xae{constructor(t){this.$t={},this.zt=t.zt,this.Ut=Ta(t.bucketSize,0,100,t.Gt),this.Wt=Ta(t.refillRate,0,this.Ut,t.Gt),this.Xt=Ta(t.refillInterval,0,864e5,t.Gt)}Jt(t,o){var n=Math.floor((o-t.lastAccess)/this.Xt);n>0&&(t.tokens=Math.min(t.tokens+n*this.Wt,this.Ut),t.lastAccess=t.lastAccess+n*this.Xt)}consumeRateLimit(t){var o,n=Date.now(),r=String(t),i=this.$t[r];return i?this.Jt(i,n):this.$t[r]=i={tokens:this.Ut,lastAccess:n},i.tokens===0||(i.tokens--,i.tokens===0&&((o=this.zt)==null||o.call(this,t)),i.tokens===0)}stop(){this.$t={}}}var up,YD,fS,yr="Mobile",hg="iOS",ci="Android",Xc="Tablet",jB=ci+" "+Xc,UB="iPad",$B="Apple",qB=$B+" Watch",Ud="Safari",eu="BlackBerry",VB="Samsung",HB=VB+"Browser",GB=VB+" Internet",ul="Chrome",Tae=ul+" OS",KB=ul+" "+hg,uE="Internet Explorer",WB=uE+" "+yr,dE="Opera",Pae=dE+" Mini",mE="Edge",YB="Microsoft "+mE,Vc="Firefox",ZB=Vc+" "+hg,cm="Nintendo",um="PlayStation",Hc="Xbox",QB=ci+" "+yr,JB=yr+" "+Ud,kd="Windows",W_=kd+" Phone",ZD="Nokia",Y_="Ouya",XB="Generic",Rae=XB+" "+yr.toLowerCase(),e3=XB+" "+Xc.toLowerCase(),Z_="Konqueror",Fn="(\\d+(\\.\\d+)?)",hS=new RegExp("Version/"+Fn),Aae=new RegExp(Hc,"i"),kae=new RegExp(um+" \\w+","i"),Dae=new RegExp(cm+" \\w+","i"),fE=new RegExp(eu+"|PlayBook|BB10","i"),Oae={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},t3=function(e,t){return t=t||"",wt(e," OPR/")&&wt(e,"Mini")?Pae:wt(e," OPR/")?dE:fE.test(e)?eu:wt(e,"IE"+yr)||wt(e,"WPDesktop")?WB:wt(e,HB)?GB:wt(e,mE)||wt(e,"Edg/")?YB:wt(e,"FBIOS")?"Facebook "+yr:wt(e,"UCWEB")||wt(e,"UCBrowser")?"UC Browser":wt(e,"CriOS")?KB:wt(e,"CrMo")||wt(e,ul)?ul:wt(e,ci)&&wt(e,Ud)?QB:wt(e,"FxiOS")?ZB:wt(e.toLowerCase(),Z_.toLowerCase())?Z_:((o,n)=>n&&wt(n,$B)||(function(r){return wt(r,Ud)&&!wt(r,ul)&&!wt(r,ci)})(o))(e,t)?wt(e,yr)?JB:Ud:wt(e,Vc)?Vc:wt(e,"MSIE")||wt(e,"Trident/")?uE:wt(e,"Gecko")?Vc:""},Mae={[WB]:[new RegExp("rv:"+Fn)],[YB]:[new RegExp(mE+"?\\/"+Fn)],[ul]:[new RegExp("("+ul+"|CrMo)\\/"+Fn)],[KB]:[new RegExp("CriOS\\/"+Fn)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Fn)],[Ud]:[hS],[JB]:[hS],[dE]:[new RegExp("(Opera|OPR)\\/"+Fn)],[Vc]:[new RegExp(Vc+"\\/"+Fn)],[ZB]:[new RegExp("FxiOS\\/"+Fn)],[Z_]:[new RegExp("Konqueror[:/]?"+Fn,"i")],[eu]:[new RegExp(eu+" "+Fn),hS],[QB]:[new RegExp("android\\s"+Fn,"i")],[GB]:[new RegExp(HB+"\\/"+Fn)],[uE]:[new RegExp("(rv:|MSIE )"+Fn)],Mozilla:[new RegExp("rv:"+Fn)]},Iae=function(e,t){var o=t3(e,t),n=Mae[o];if(ze(n))return null;for(var r=0;n.length>r;r++){var i=e.match(n[r]);if(i)return parseFloat(i[i.length-2])}return null},QD=[[new RegExp(Hc+"; "+Hc+" (.*?)[);]","i"),e=>[Hc,e&&e[1]||""]],[new RegExp(cm,"i"),[cm,""]],[new RegExp(um,"i"),[um,""]],[fE,[eu,""]],[new RegExp(kd,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[W_,""];if(new RegExp(yr).test(t)&&!/IEMobile\b/.test(t))return[kd+" "+yr,""];var o=/Windows NT ([0-9.]+)/i.exec(t);if(o&&o[1]){var n=Oae[o[1]]||"";return/arm/i.test(t)&&(n="RT"),[kd,n]}return[kd,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[hg,[e[3],e[4],e[5]||"0"].join(".")]:[hg,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=ze(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+ci+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+ci+")","i"),e=>e&&e[2]?[ci,[e[2],e[3],e[4]||"0"].join(".")]:[ci,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[Tae,""]],[/Linux|debian/i,["Linux",""]]],JD=function(e){return Dae.test(e)?cm:kae.test(e)?um:Aae.test(e)?Hc:new RegExp(Y_,"i").test(e)?Y_:new RegExp("("+W_+"|WPDesktop)","i").test(e)?W_:/iPad/.test(e)?UB:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?qB:fE.test(e)?eu:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(ZD,"i").test(e)?ZD:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(yr).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?ci:jB:new RegExp("(pda|"+yr+")","i").test(e)?Rae:new RegExp(Xc,"i").test(e)&&!new RegExp(Xc+" pc","i").test(e)?e3:""},Lae=e=>e instanceof Error,o3={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},Nae=o3.info;function n3(e){if(xa(e))return{boolValue:e};if(typeof e=="number")return Number.isFinite(e)?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:{stringValue:String(e)};if(typeof e=="string")return{stringValue:e};if(Dt(e))return{arrayValue:{values:e.map((t=>n3(t)))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function XD(e){var t=[];for(var o in e){var n=e[o];yi(n)||ze(n)||t.push({key:o,value:n3(n)})}return t}function Fae(e){var t=globalThis._posthogChunkIds;if(t){var o=Object.keys(t);return fS&&o.length===YD||(YD=o.length,fS=o.reduce(((n,r)=>{up||(up={});var i=up[r];if(i)n[i[0]]=i[1];else for(var l=e(r),c=l.length-1;c>=0;c--){var d=l[c],m=d?.filename,h=t[r];if(m&&h){n[m]=h,up[r]=[m,h];break}}return n}),{})),fS}}class Bae{constructor(t,o,n){n===void 0&&(n=[]),this.coercers=t,this.stackParser=o,this.modifiers=n}buildFromUnknown(t,o){o===void 0&&(o={});var n=o&&o.mechanism||{handled:!0,type:"generic"},r=this.buildCoercingContext(n,o,0).apply(t),i=this.buildParsingContext(o),l=this.parseStacktrace(r,i);return{$exception_list:this.convertToExceptionList(l,n),$exception_level:"error"}}modifyFrames(t){var o=this;return Nr((function*(){for(var n of t)n.stacktrace&&n.stacktrace.frames&&Dt(n.stacktrace.frames)&&(n.stacktrace.frames=yield o.applyModifiers(n.stacktrace.frames));return t}))()}coerceFallback(t){var o;return{type:"Error",value:"Unknown error",stack:(o=t.syntheticException)==null?void 0:o.stack,synthetic:!0}}parseStacktrace(t,o){var n,r;return t.cause!=null&&(n=this.parseStacktrace(t.cause,o)),t.stack!=""&&t.stack!=null&&(r=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?o.skipFirstLines:0),o.chunkIdMap)),Oe({},t,{cause:n,stack:r})}applyChunkIds(t,o){return t.map((n=>(n.filename&&o&&(n.chunk_id=o[n.filename]),n)))}applyCoercers(t,o){for(var n of this.coercers)if(n.match(t))return n.coerce(t,o);return this.coerceFallback(o)}applyModifiers(t){var o=this;return Nr((function*(){var n=t;for(var r of o.modifiers)n=yield r(n);return n}))()}convertToExceptionList(t,o){var n,r,i,l={type:t.type,value:t.value,mechanism:{type:(n=o.type)!==null&&n!==void 0?n:"generic",handled:(r=o.handled)===null||r===void 0||r,synthetic:(i=t.synthetic)!==null&&i!==void 0&&i}};t.stack&&(l.stacktrace={type:"raw",frames:t.stack});var c=[l];return t.cause!=null&&c.push(...this.convertToExceptionList(t.cause,Oe({},o,{handled:!0}))),c}buildParsingContext(t){var o;return{chunkIdMap:Fae(this.stackParser),skipFirstLines:(o=t.skipFirstLines)!==null&&o!==void 0?o:1}}buildCoercingContext(t,o,n){n===void 0&&(n=0);var r=(i,l)=>{if(4>=l){var c=this.buildCoercingContext(t,o,l);return this.applyCoercers(i,c)}};return Oe({},o,{syntheticException:n==0?o.syntheticException:void 0,mechanism:t,apply:i=>r(i,n),next:i=>r(i,n+1)})}}var tu="?";function Q_(e,t,o,n,r){var i={platform:e,filename:t,function:o==="<anonymous>"?tu:o,in_app:!0};return ze(n)||(i.lineno=n),ze(r)||(i.colno=r),i}var r3=(e,t)=>{var o=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return o||n?[e.indexOf("@")!==-1?e.split("@")[0]:tu,o?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},zae=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,jae=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Uae=/\((\S*)(?::(\d+))(?::(\d+))\)/,$ae=(e,t)=>{var o=zae.exec(e);if(o){var[,n,r,i]=o;return Q_(t,n,tu,+r,+i)}var l=jae.exec(e);if(l){if(l[2]&&l[2].indexOf("eval")===0){var c=Uae.exec(l[2]);c&&(l[2]=c[1],l[3]=c[2],l[4]=c[3])}var[d,m]=r3(l[1]||tu,l[2]);return Q_(t,m,d,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},qae=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Vae=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Hae=(e,t)=>{var o=qae.exec(e);if(o){if(o[3]&&o[3].indexOf(" > eval")>-1){var n=Vae.exec(o[3]);n&&(o[1]=o[1]||"eval",o[3]=n[1],o[4]=n[2],o[5]="")}var r=o[3],i=o[1]||tu;return[i,r]=r3(i,r),Q_(t,r,i,o[4]?+o[4]:void 0,o[5]?+o[5]:void 0)}},eO=/\(error: (.*)\)/;class Gae{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,o){var n=bo(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:n?t.stack:void 0,cause:t.cause?o.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var o=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?o+": "+t.message:o}isDOMException(t){return fg(t,"DOMException")}isDOMError(t){return fg(t,"DOMError")}}class Kae{match(t){return(o=>o instanceof Error)(t)}coerce(t,o){return{type:this.getType(t),value:this.getMessage(t,o),stack:this.getStack(t),cause:t.cause?o.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,o){var n=t.message;return String(n.error&&typeof n.error.message=="string"?n.error.message:n)}getStack(t){return t.stacktrace||t.stack||void 0}}class Wae{constructor(){}match(t){return fg(t,"ErrorEvent")&&t.error!=null}coerce(t,o){var n;return o.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}}var Yae=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class Zae{match(t){return typeof t=="string"}coerce(t,o){var n,[r,i]=this.getInfos(t);return{type:r??"Error",value:i??t,stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}getInfos(t){var o="Error",n=t,r=t.match(Yae);return r&&(o=r[1],n=r[2]),[o,n]}}var Qae=["fatal","error","warning","log","info","debug"];function a3(e,t){t===void 0&&(t=40);var o=Object.keys(e);if(o.sort(),!o.length)return"[object has no keys]";for(var n=o.length;n>0;n--){var r=o.slice(0,n).join(", ");if(t>=r.length)return n===o.length?r:r.length>t?r.slice(0,t)+"...":r}return""}class Jae{match(t){return typeof t=="object"&&t!==null}coerce(t,o){var n,r=this.getErrorPropertyFromObject(t);return r?o.apply(r):{type:this.getType(t),value:this.getValue(t),stack:(n=o.syntheticException)==null?void 0:n.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return cE(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var o="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(o+=" with message: '"+t.message+"'"),o}if("message"in t&&typeof t.message=="string")return t.message;var n=this.getObjectClassName(t);return(n&&n!=="Object"?"'"+n+"'":"Object")+" captured as exception with keys: "+a3(t)}isSeverityLevel(t){return bo(t)&&!Dp(t)&&Qae.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var o in t)if({}.hasOwnProperty.call(t,o)){var n=t[o];if(Lae(n))return n}}getObjectClassName(t){try{var o=Object.getPrototypeOf(t);return o?o.constructor.name:void 0}catch{return}}}class Xae{match(t){return cE(t)}coerce(t,o){var n,r=t.constructor.name;return{type:r,value:r+" captured as exception with keys: "+a3(t),stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}}class eie{match(t){return zB(t)}coerce(t,o){var n;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}}class tie{match(t){return fg(t,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!cE(t))return!1;try{var o=t.detail;return o!=null&&typeof o=="object"&&"reason"in o}catch{return!1}}coerce(t,o){var n,r=this.getUnhandledRejectionReason(t);return zB(r)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(r),stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}:o.apply(r)}getUnhandledRejectionReason(t){try{if("reason"in t)return t.reason;if("detail"in t&&t.detail!=null&&typeof t.detail=="object"&&"reason"in t.detail)return t.detail.reason}catch{}return t}}var pg="$message",gg="$timestamp",oie=new Set([pg,gg]),pS={enabled:!0,max_bytes:32768};function vg(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:pS.enabled,max_bytes:rie(e.max_bytes,pS.max_bytes)}:Oe({},pS)}class nie{constructor(t){this.Kt=[],this.Qt=0,this.Bt=vg(t)}setConfig(t){this.Bt=vg(t),this.er()}add(t){var o=(function(r){var i=(function(h){var f=new WeakSet;try{return JSON.stringify(h,((g,v)=>{if(typeof v=="bigint")return v.toString();if(typeof v!="function"&&typeof v!="symbol"){if(v instanceof Date)return v.toISOString();if(v instanceof Error)return{name:v.name,message:v.message,stack:v.stack};if(v&&typeof v=="object"){if(f.has(v))return"[Circular]";f.add(v)}return v}}))}catch{return}})(r);if(i)try{var l=JSON.parse(i);if(!Ao(l))return;var c=l,d=c[pg],m=c[gg];return!bo(d)||d.trim().length===0||!bo(m)&&!Ur(m)?void 0:{step:c,json:i}}catch{return}})(t);if(o){var n=(function(r){if(typeof TextEncoder<"u")return new TextEncoder().encode(r).length;for(var i=encodeURIComponent(r),l=0,c=0;i.length>c;c++)i[c]==="%"?(l+=1,c+=2):l+=1;return l})(o.json);n>this.Bt.max_bytes||(this.Kt.push({step:o.step,bytes:n}),this.Qt+=n,this.er())}}getAttachable(){return this.Kt.map((t=>t.step))}clear(){this.Kt=[],this.Qt=0}size(){return this.Kt.length}er(){for(;this.Qt>this.Bt.max_bytes&&this.Kt.length>0;){var t=this.Kt.shift();t&&(this.Qt-=t.bytes)}}}function rie(e,t){if(!Ur(e)||e===1/0||e===-1/0)return t;var o=Math.floor(e);return 0>o?t:o}var i3=function(e,t){var{debugEnabled:o}=t===void 0?{}:t,n={C(r){if(pe&&(Bn.DEBUG||Ze.POSTHOG_DEBUG||o)&&!ze(pe.console)&&pe.console){for(var i=("__rrweb_original__"in pe.console[r])?pe.console[r].__rrweb_original__:pe.console[r],l=arguments.length,c=new Array(l>1?l-1:0),d=1;l>d;d++)c[d-1]=arguments[d];i(e,...c)}},info(){for(var r=arguments.length,i=new Array(r),l=0;r>l;l++)i[l]=arguments[l];n.C("log",...i)},warn(){for(var r=arguments.length,i=new Array(r),l=0;r>l;l++)i[l]=arguments[l];n.C("warn",...i)},error(){for(var r=arguments.length,i=new Array(r),l=0;r>l;l++)i[l]=arguments[l];n.C("error",...i)},critical(){for(var r=arguments.length,i=new Array(r),l=0;r>l;l++)i[l]=arguments[l];console.error(e,...i)},uninitializedWarning(r){n.error("You must initialize PostHog before calling "+r)},createLogger:(r,i)=>i3(e+" "+r,i)};return n},Fe=i3("[PostHog.js]"),ho=Fe.createLogger,aie=ho("[ExternalScriptsLoader]"),gS=(e,t,o)=>{if(e.config.disable_external_dependency_loading)return aie.warn(t+" was requested but loading of external scripts is disabled."),o("Loading of external scripts is disabled");var n=Ne?.querySelectorAll("script");if(n){for(var r,i=function(){if(n[l].src===t){var d=n[l];return d.__posthog_loading_callback_fired?{v:o()}:(d.addEventListener("load",(m=>{d.__posthog_loading_callback_fired=!0,o(void 0,m)})),d.onerror=m=>o(m),{v:void 0})}},l=0;n.length>l;l++)if(r=i())return r.v}var c=()=>{if(!Ne)return o("document not found");var d=Ne.createElement("script");if(d.type="text/javascript",d.crossOrigin="anonymous",d.src=t,d.onload=f=>{d.__posthog_loading_callback_fired=!0,o(void 0,f)},d.onerror=f=>o(f),e.config.prepare_external_dependency_script&&(d=e.config.prepare_external_dependency_script(d)),!d)return o("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")Ne.head.appendChild(d);else{var m,h=Ne.querySelectorAll("body > script");h.length>0?(m=h[0].parentNode)==null||m.insertBefore(d,h[0]):Ne.body.appendChild(d)}};Ne!=null&&Ne.body?c():Ne?.addEventListener("DOMContentLoaded",c)};Ze.__PosthogExtensions__=Ze.__PosthogExtensions__||{},Ze.__PosthogExtensions__.loadExternalDependency=(e,t,o)=>{if(t!=="remote-config"){var n;if(e.config.__preview_external_dependency_versioned_paths)n=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var r="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var i=3e5;r=r+"&t="+Math.floor(Date.now()/i)*i}n=e.requestRouter.endpointFor("assets",r)}gS(e,n,o)}else{var l=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");gS(e,l,o)}},Ze.__PosthogExtensions__.loadSiteApp=(e,t,o)=>{var n=e.requestRouter.endpointFor("api",t);gS(e,n,o)};var s3="$people_distinct_id",bg="$device_id",Dd="__alias",Od="__timers",J_="$autocapture_disabled_server_side",X_="$heatmaps_enabled_server_side",ew="$exception_capture_enabled_server_side",tw="$error_tracking_suppression_rules",ow="$error_tracking_capture_extension_exceptions",nw="$web_vitals_enabled_server_side",hE="$dead_clicks_enabled_server_side",rw="$product_tours_enabled_server_side",aw="$web_vitals_allowed_metrics",Md="$session_recording_remote_config",l3="$replay_override_sampling",c3="$replay_override_linked_flag",u3="$replay_override_url_trigger",d3="$replay_override_event_trigger",yg="$sesid",pE="$session_is_sampled",Ic="$enabled_feature_flags",Op="$active_feature_flags",Id="$early_access_features",iw="$feature_flag_details",sw="$feature_flag_payloads",lw="$feature_flag_request_id",ri="$override_feature_flags",Tc="$override_feature_flag_payloads",Ld="$stored_person_properties",el="$stored_group_properties",cw="$surveys",uw="$surveys_activated",Mp="ph_product_tours",$d="$flag_call_reported",dw="$flag_call_reported_session_id",mw="$feature_flag_errors",Sg="$feature_flag_evaluated_at",ta="$user_state",fw="$client_session_props",hw="$capture_rate_limit",pw="$initial_campaign_params",gw="$initial_referrer_info",_g="$initial_person_info",wg="$epp",m3="__POSTHOG_TOOLBAR__",dp="$posthog_cookieless",f3="$sdk_debug_extensions_init_method",h3="$sdk_debug_extensions_init_time_ms",p3="$sdk_debug_recording_script_not_loaded",gE="PostHog loadExternalDependency extension not found.",tl="on_reject",si="always",yc="anonymous",Sc="identified",vw="identified_only",Cg="visibilitychange",Eg="beforeunload",Pc="$pageview",vS="$pageleave",bS="$identify",tO="$groupidentify";function mp(e,t){Dt(e)&&e.forEach(t)}function lo(e,t){if(!Ct(e))if(Dt(e))e.forEach(t);else if(_ae(e))e.forEach(((n,r)=>t(n,r)));else for(var o in e)BB.call(e,o)&&t(e[o],o)}var xo=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;t>n;n++)o[n-1]=arguments[n];for(var r of o)for(var i in r)r[i]!==void 0&&(e[i]=r[i]);return e};function Ip(e){for(var t=Object.keys(e),o=t.length,n=new Array(o);o--;)n[o]=[t[o],e[t[o]]];return n}var oO=function(e){try{return e()}catch{return}},iie=function(e){return function(){try{for(var t=arguments.length,o=new Array(t),n=0;t>n;n++)o[n]=arguments[n];return e.apply(this,o)}catch(r){Fe.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Fe.critical(r)}}},vE=function(e){var t={};return lo(e,(function(o,n){(bo(o)&&o.length>0||Ur(o))&&(t[n]=o)})),t},sie=["herokuapp.com","vercel.app","netlify.app"];function lie(e){var t=e?.hostname;if(!bo(t))return!1;var o=t.split(".").slice(-2).join(".");for(var n of sie)if(o===n)return!1;return!0}function qo(e,t,o,n){var{capture:r=!1,passive:i=!0}=n??{};e?.addEventListener(t,o,{capture:r,passive:i})}function g3(e){return e.name==="ph_toolbar_internal"}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return Ur(e)&&isFinite(e)&&Math.floor(e)===e});class xg{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,o,n,r){if(!Number.isInteger(t)||!Number.isInteger(o)||!Number.isInteger(n)||!Number.isInteger(r)||0>t||0>o||0>n||0>r||t>0xffffffffffff||o>4095||n>1073741823||r>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|o>>>8,i[7]=o,i[8]=128|n>>>24,i[9]=n>>>16,i[10]=n>>>8,i[11]=n,i[12]=r>>>24,i[13]=r>>>16,i[14]=r>>>8,i[15]=r,new xg(i)}toString(){for(var t="",o=0;this.bytes.length>o;o++)t=t+(this.bytes[o]>>>4).toString(16)+(15&this.bytes[o]).toString(16),o!==3&&o!==5&&o!==7&&o!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new xg(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var o=0;16>o;o++){var n=this.bytes[o]-t.bytes[o];if(n!==0)return Math.sign(n)}return 0}}class cie{constructor(){this.I=0,this.S=0,this.k=new uie}generate(){var t=this.generateOrAbort();if(ze(t)){this.I=0;var o=this.generateOrAbort();if(ze(o))throw new Error("Could not generate UUID after timestamp reset");return o}return t}generateOrAbort(){var t=Date.now();if(t>this.I)this.I=t,this.A();else{if(this.I>=t+1e4)return;this.S++,this.S>4398046511103&&(this.I++,this.A())}return xg.fromFieldsV7(this.I,Math.trunc(this.S/Math.pow(2,30)),this.S&Math.pow(2,30)-1,this.k.nextUint32())}A(){this.S=1024*this.k.nextUint32()+(1023&this.k.nextUint32())}}var nO,v3=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};pe&&!ze(pe.crypto)&&crypto.getRandomValues&&(v3=e=>crypto.getRandomValues(e));class uie{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(v3(this.T),this.N=0),this.T[this.N++]}}var ns=()=>die().toString(),die=()=>(nO||(nO=new cie)).generate(),vd="",mie=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Ca={R:()=>!!Ne,B(e){Fe.error("cookieStore error: "+e)},O(e){if(Ne){try{for(var t=e+"=",o=Ne.cookie.split(";").filter((i=>i.length)),n=0;o.length>n;n++){for(var r=o[n];r.charAt(0)==" ";)r=r.substring(1,r.length);if(r.indexOf(t)===0)return decodeURIComponent(r.substring(t.length,r.length))}}catch{}return null}},Z(e){var t;try{t=JSON.parse(Ca.O(e))||{}}catch{}return t},M(e,t,o,n,r){if(Ne)try{var i="",l="",c=(function(h,f){if(f){var g=(function(y,S){if(S===void 0&&(S=Ne),vd)return vd;if(!S||["localhost","127.0.0.1"].includes(y))return"";for(var E=y.split("."),_=Math.min(E.length,8),C="dmn_chk_"+ns();!vd&&_--;){var P=E.slice(_).join("."),x=C+"=1;domain=."+P+";path=/";S.cookie=x+";max-age=3",S.cookie.includes(C)&&(S.cookie=x+";max-age=0",vd=P)}return vd})(h);if(!g){var v=(y=>{var S=y.match(mie);return S?S[0]:""})(h);v!==g&&Fe.info("Warning: cookie subdomain discovery mismatch",v,g),g=v}return g?"; domain=."+g:""}return""})(Ne.location.hostname,n);if(o){var d=new Date;d.setTime(d.getTime()+864e5*o),i="; expires="+d.toUTCString()}r&&(l="; secure");var m=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+c+l;return m.length>3686.4&&Fe.warn("cookieStore warning: large cookie, len="+m.length),Ne.cookie=m,m}catch{return}},F(e,t){if(Ne!=null&&Ne.cookie)try{Ca.M(e,"",-1,t)}catch{return}}},yS=null,vo={R(){if(!yi(yS))return yS;var e=!0;if(ze(pe))e=!1;else try{var t="__mplssupport__";vo.M(t,"xyz"),vo.O(t)!=='"xyz"'&&(e=!1),vo.F(t)}catch{e=!1}return e||Fe.error("localStorage unsupported; falling back to cookie store"),yS=e,e},B(e){Fe.error("localStorage error: "+e)},O(e){try{return pe?.localStorage.getItem(e)}catch(t){vo.B(t)}return null},Z(e){try{return JSON.parse(vo.O(e))||{}}catch{}return null},M(e,t){try{pe?.localStorage.setItem(e,JSON.stringify(t))}catch(o){vo.B(o)}},F(e){try{pe?.localStorage.removeItem(e)}catch(t){vo.B(t)}}},fie=[bg,"distinct_id",yg,pE,wg,_g,ta],fp={},hie={R:()=>!0,B(e){Fe.error("memoryStorage error: "+e)},O:e=>fp[e]||null,Z:e=>fp[e]||null,M(e,t){fp[e]=t},F(e){delete fp[e]}},Qs=null,pn={R(){if(!yi(Qs))return Qs;if(Qs=!0,ze(pe))Qs=!1;else try{var e="__support__";pn.M(e,"xyz"),pn.O(e)!=='"xyz"'&&(Qs=!1),pn.F(e)}catch{Qs=!1}return Qs},B(e){Fe.error("sessionStorage error: ",e)},O(e){try{return pe?.sessionStorage.getItem(e)}catch(t){pn.B(t)}return null},Z(e){try{return JSON.parse(pn.O(e))||null}catch{}return null},M(e,t){try{pe?.sessionStorage.setItem(e,JSON.stringify(t))}catch(o){pn.B(o)}},F(e){try{pe?.sessionStorage.removeItem(e)}catch(t){pn.B(t)}}};class pie{constructor(t){this._instance=t}get Bt(){return this._instance.config}get consent(){return this.rr()?0:this.ir}isOptedOut(){return this.Bt.cookieless_mode===si||this.isRejected()||this.consent===-1&&this.Bt.cookieless_mode===tl}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===0}isRejected(){return this.consent===0||this.consent===-1&&this.Bt.opt_out_capturing_by_default}optInOut(t){this.nr.M(this.sr,t?1:0,this.Bt.cookie_expiration,this.Bt.cross_subdomain_cookie,this.Bt.secure_cookie)}reset(){this.nr.F(this.sr,this.Bt.cross_subdomain_cookie)}get sr(){var{token:t,opt_out_capturing_cookie_prefix:o,consent_persistence_name:n}=this._instance.config;return n||(o?o+t:"__ph_opt_in_out_"+t)}get ir(){var t=this.nr.O(this.sr);return mS(t)?1:wt(Eae,t)?0:-1}get nr(){var t=this.Bt.opt_out_capturing_persistence_type,o=t==="localStorage"?vo:Ca;if(!this.ar||this.ar!==o){this.ar=o;var n=t==="localStorage"?Ca:vo;n.O(this.sr)&&(this.ar.O(this.sr)||this.optInOut(mS(n.O(this.sr))),n.F(this.sr,this.Bt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.Bt.respect_dnt&&[vr?.doNotTrack,vr?.msDoNotTrack,Ze.doNotTrack].some((t=>mS(t)))}}var hp=ho("[Dead Clicks]"),gie=()=>!0,vie=e=>{var t,o=!((t=e.instance.persistence)==null||!t.get_property(hE)),n=e.instance.config.capture_dead_clicks;return xa(n)?n:!!Ao(n)||o};class rO{get lazyLoadedDeadClicksAutocapture(){return this.lr}constructor(t,o,n){this.instance=t,this.isEnabled=o,this.onCapture=n,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[hE]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.ur((()=>{this.hr()})):this.stop()}ur(t){var o,n;(o=Ze.__PosthogExtensions__)!=null&&o.initDeadClicksAutocapture&&t(),(n=Ze.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"dead-clicks-autocapture",(r=>{r?hp.error("failed to load script",r):t()}))}hr(){var t;if(Ne){if(!this.lr&&(t=Ze.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var o=Ao(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};o.__onCapture=this.onCapture,this.lr=Ze.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,o),this.lr.start(Ne),hp.info("starting...")}}else hp.error("`document` not found. Cannot start.")}stop(){this.lr&&(this.lr.stop(),this.lr=void 0,hp.info("stopping..."))}}var SS=ho("[SegmentIntegration]"),b3="posthog-js";function y3(e,t){var{organization:o,projectId:n,prefix:r,severityAllowList:i=["error"],sendExceptionsToPostHog:l=!0}=t===void 0?{}:t;return c=>{var d,m,h,f,g;if(i!=="*"&&!i.includes(c.level)||!e.__loaded)return c;c.tags||(c.tags={});var v=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());c.tags["PostHog Person URL"]=v,e.sessionRecordingStarted()&&(c.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var y,S=((d=c.exception)==null?void 0:d.values)||[],E=S.map((C=>Oe({},C,{stacktrace:C.stacktrace?Oe({},C.stacktrace,{type:"raw",frames:(C.stacktrace.frames||[]).map((P=>Oe({},P,{platform:"web:javascript"})))}):void 0}))),_={$exception_message:((m=S[0])==null?void 0:m.value)||c.message,$exception_type:(h=S[0])==null?void 0:h.type,$exception_level:c.level,$exception_list:E,$sentry_event_id:c.event_id,$sentry_exception:c.exception,$sentry_exception_message:((f=S[0])==null?void 0:f.value)||c.message,$sentry_exception_type:(g=S[0])==null?void 0:g.type,$sentry_tags:c.tags};return o&&n&&(_.$sentry_url=(r||"https://sentry.io/organizations/")+o+"/issues/?project="+n+"&query="+c.event_id),l&&((y=e.exceptions)==null||y.sendExceptionEvent(_)),c}}class bie{constructor(t,o,n,r,i,l){this.name=b3,this.setupOnce=function(c){c(y3(t,{organization:o,projectId:n,prefix:r,severityAllowList:i,sendExceptionsToPostHog:l==null||l}))}}}class aO{constructor(t){this.cr=(o,n,r)=>{r&&(r.noSessionId||r.activityTimeout||r.sessionPastMaximumLength)&&(Fe.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:o,changeReason:r}),this.dr=void 0,this._instance.scrollManager.resetContext())},this._instance=t,this.vr()}vr(){var t;this.pr=(t=this._instance.sessionManager)==null?void 0:t.onSessionId(this.cr)}destroy(){var t;(t=this.pr)==null||t.call(this),this.pr=void 0}doPageView(t,o){var n,r=this.gr(t,o);return this.dr={pathname:(n=pe?.location.pathname)!==null&&n!==void 0?n:"",pageViewId:o,timestamp:t},this._instance.scrollManager.resetContext(),r}doPageLeave(t){var o;return this.gr(t,(o=this.dr)==null?void 0:o.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.dr)==null?void 0:t.pageViewId}}gr(t,o){var n=this.dr;if(!n)return{$pageview_id:o};var r={$pageview_id:o,$prev_pageview_id:n.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:l,lastScrollY:c,maxScrollY:d,maxContentHeight:m,lastContentY:h,maxContentY:f}=i;if(!(ze(l)||ze(c)||ze(d)||ze(m)||ze(h)||ze(f))){l=Math.ceil(l),c=Math.ceil(c),d=Math.ceil(d),m=Math.ceil(m),h=Math.ceil(h),f=Math.ceil(f);var g=l>1?Ta(c/l,0,1,Fe):1,v=l>1?Ta(d/l,0,1,Fe):1,y=m>1?Ta(h/m,0,1,Fe):1,S=m>1?Ta(f/m,0,1,Fe):1;r=xo(r,{$prev_pageview_last_scroll:c,$prev_pageview_last_scroll_percentage:g,$prev_pageview_max_scroll:d,$prev_pageview_max_scroll_percentage:v,$prev_pageview_last_content:h,$prev_pageview_last_content_percentage:y,$prev_pageview_max_content:f,$prev_pageview_max_content_percentage:S})}}return n.pathname&&(r.$prev_pageview_pathname=n.pathname),n.timestamp&&(r.$prev_pageview_duration=(t.getTime()-n.timestamp.getTime())/1e3),r}}var yie={[s3]:{exposure:"hidden"},[Dd]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[Od]:{exposure:"hidden"},[J_]:{exposure:"event"},[X_]:{exposure:"hidden"},[ew]:{exposure:"event"},[tw]:{exposure:"hidden"},[ow]:{exposure:"event"},[nw]:{exposure:"event"},[hE]:{exposure:"event"},[rw]:{exposure:"hidden"},[aw]:{exposure:"event"},[Md]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[yg]:{exposure:"hidden"},[pE]:{exposure:"event"},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},[Ic]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Ao(e))return{};for(var t={},o=Object.keys(e),n=0;o.length>n;n++)t["$feature/"+o[n]]=e[o[n]];return t}},[Op]:{exposure:"event"},[Id]:{exposure:"hidden"},[iw]:{exposure:"hidden"},[sw]:{exposure:"event"},[lw]:{exposure:"event"},[ri]:{exposure:"event"},[Tc]:{exposure:"hidden"},[Ld]:{exposure:"hidden"},[el]:{exposure:"hidden"},[cw]:{exposure:"hidden"},[uw]:{exposure:"event"},[Mp]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"},$conversations_user_traits:{exposure:"event"},[$d]:{exposure:"hidden"},[dw]:{exposure:"hidden"},[mw]:{exposure:"hidden"},[Sg]:{exposure:"hidden"},[ta]:{exposure:"hidden"},[fw]:{exposure:"hidden"},[hw]:{exposure:"hidden"},[pw]:{exposure:"hidden"},[gw]:{exposure:"hidden"},[_g]:{exposure:"hidden"},[wg]:{exposure:"hidden"},[l3]:{exposure:"event"},[c3]:{exposure:"event"},[u3]:{exposure:"event"},[d3]:{exposure:"event"},[f3]:{exposure:"event"},[h3]:{exposure:"event"},[p3]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},Sie=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],Tg=e=>{var t=Ne?.createElement("a");return ze(t)?null:(t.href=e,t)},Pg=function(e,t){for(var o,n=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),r=0;n.length>r;r++){var i=n[r].split("=");if(i[0]===t){o=i;break}}if(!Dt(o)||2>o.length)return"";var l=o[1];try{l=decodeURIComponent(l)}catch{Fe.error("Skipping decoding for malformed query param: "+l)}return l.replace(/\+/g," ")},dm=function(e,t,o){if(!e||!t||!t.length)return e;for(var n=e.split("#"),r=n[1],i=(n[0]||"").split("?"),l=i[1],c=i[0],d=(l||"").split("&"),m=[],h=0;d.length>h;h++){var f=d[h].split("=");Dt(f)&&(t.includes(f[0])?m.push(f[0]+"="+o):m.push(d[h]))}var g=c;return l!=null&&(g+="?"+m.join("&")),r!=null&&(g+="#"+r),g},Rg=function(e,t){var o=e.match(new RegExp(t+"=([^&]*)"));return o?o[1]:null},pp="https?://(.*)",ou=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],_ie=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...ou],mm="<masked>",wie=["li_fat_id"];function S3(e,t,o){if(!Ne)return{};var n,r=t?[...ou,...o||[]]:[],i=_3(dm(Ne.URL,r,mm),e),l=(n={},lo(wie,(function(c){var d=Ca.O(c);n[c]=d||null})),n);return xo(l,i)}function _3(e,t){var o=_ie.concat(t||[]),n={};return lo(o,(function(r){var i=Pg(e,r);n[r]=i||null})),n}function w3(e){var t=(function(i){return i?i.search(pp+"google.([^/?]*)")===0?"google":i.search(pp+"bing.com")===0?"bing":i.search(pp+"yahoo.com")===0?"yahoo":i.search(pp+"duckduckgo.com")===0?"duckduckgo":null:null})(e),o=t!="yahoo"?"q":"p",n={};if(!yi(t)){n.$search_engine=t;var r=Ne?Pg(Ne.referrer,o):"";r.length&&(n.ph_keyword=r)}return n}function iO(){return navigator.language||navigator.userLanguage}var Ag="$direct";function C3(){return Ne?.referrer||Ag}function E3(e,t){var o=e?[...ou,...t||[]]:[],n=hn?.href.substring(0,1e3);return{r:C3().substring(0,1e3),u:n?dm(n,o,mm):void 0}}function x3(e){var t,{r:o,u:n}=e,r={$referrer:o,$referring_domain:o==null?void 0:o==Ag?Ag:(t=Tg(o))==null?void 0:t.host};if(n){r.$current_url=n;var i=Tg(n);r.$host=i?.host,r.$pathname=i?.pathname;var l=_3(n);xo(r,l)}if(o){var c=w3(o);xo(r,c)}return r}function T3(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function Cie(){try{return new Date().getTimezoneOffset()}catch{return}}var Eie=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class _S{constructor(t,o){this.Bt=t,this.props={},this.mr=!1,this.yr=(n=>{var r="";return n.token&&(r=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+r+"_posthog"})(t),this.nr=this.br(t),this.load(),t.debug&&Fe.info("Persistence loaded",t.persistence,Oe({},this.props)),this.update_config(t,t,o),this.save()}isDisabled(){return!!this._r}br(t){Eie.indexOf(t.persistence.toLowerCase())===-1&&(Fe.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var o=(function(r){r===void 0&&(r=[]);var i=[...fie,...r];return Oe({},vo,{Z(l){try{var c={};try{c=Ca.Z(l)||{}}catch{}var d=xo(c,JSON.parse(vo.O(l)||"{}"));return vo.M(l,d),d}catch{}return null},M(l,c,d,m,h,f){try{vo.M(l,c,void 0,void 0,f);var g={};i.forEach((v=>{c[v]&&(g[v]=c[v])})),Object.keys(g).length&&Ca.M(l,g,d,m,h,f)}catch(v){vo.B(v)}},F(l,c){try{pe?.localStorage.removeItem(l),Ca.F(l,c)}catch(d){vo.B(d)}}})})(t.cookie_persisted_properties||[]),n=t.persistence.toLowerCase();return n==="localstorage"&&vo.R()?vo:n==="localstorage+cookie"&&o.R()?o:n==="sessionstorage"&&pn.R()?pn:n==="memory"?hie:n==="cookie"?Ca:o.R()?o:Ca}wr(t){var o=t??this.Bt.feature_flag_cache_ttl_ms;if(!o||0>=o)return!1;var n=this.props[Sg];return!n||typeof n!="number"||Date.now()-n>o}properties(){var t={};return lo(this.props,((o,n)=>{var r=(i=>{var l=yie[i];if(l)return l;for(var[c,d]of Sie)if(i.indexOf(c)===0)return d})(n);if(r?.exposure==="derived"){if(r.shouldSkipFromEventProperties!=null&&r.shouldSkipFromEventProperties(o,n===Ic?()=>this.wr():()=>!1))return;r.transformToEventProperties&&xo(t,r.transformToEventProperties(o))}else r&&r.exposure!=="event"||(t[n]=o)})),t}load(){if(!this._r){var t=this.nr.Z(this.yr);t&&(this.props=xo({},t))}}save(){this._r||this.nr.M(this.yr,this.props,this.Ir,this.Cr,this.Sr,this.Bt.debug)}remove(){this.nr.F(this.yr,!1),this.nr.F(this.yr,!0)}clear(){this.remove(),this.props={}}register_once(t,o,n){if(Ao(t)){ze(o)&&(o="None"),this.Ir=ze(n)?this.kr:n;var r=!1;if(lo(t,((i,l)=>{this.props.hasOwnProperty(l)&&this.props[l]!==o||(this.Tr(l,i),r=!0)})),r)return this.save(),!0}return!1}register(t,o){if(Ao(t)){this.Ir=ze(o)?this.kr:o;var n=!1;if(lo(t,((r,i)=>{t.hasOwnProperty(i)&&this.props[i]!==r&&(this.Tr(i,r),n=!0)})),n)return this.save(),!0}return!1}unregister(t){t in this.props&&(this.Ar(t),this.save())}update_campaign_params(){if(!this.mr){var t=S3(this.Bt.custom_campaign_params,this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties);Mc(vE(t))||this.register(t),this.mr=!0}}update_search_keyword(){var t;this.register((t=Ne?.referrer)?w3(t):{})}update_referrer_info(){var t;this.register_once({$referrer:C3(),$referring_domain:Ne!=null&&Ne.referrer&&((t=Tg(Ne.referrer))==null?void 0:t.host)||Ag},void 0)}set_initial_person_info(){this.props[pw]||this.props[gw]||this.register_once({[_g]:E3(this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};lo([gw,pw],(l=>{var c=this.props[l];c&&lo(c,(function(d,m){t["$initial_"+K_(m)]=d}))}));var o,n,r=this.props[_g];if(r){var i=(o=x3(r),n={},lo(o,(function(l,c){n["$initial_"+K_(c)]=l})),n);xo(t,i)}return t}safe_merge(t){return lo(this.props,(function(o,n){n in t||(t[n]=o)})),t}update_config(t,o,n){if(this.kr=this.Ir=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!n),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==o.persistence||!((l,c)=>{if(l.length!==c.length)return!1;var d=[...l].sort(),m=[...c].sort();return d.every(((h,f)=>h===m[f]))})(t.cookie_persisted_properties||[],o.cookie_persisted_properties||[])){var r=this.br(t),i=this.props;this.clear(),this.nr=r,this.props=i,this.save()}}set_disabled(t){this._r=t,this._r?this.remove():this.save()}set_cross_subdomain(t){t!==this.Cr&&(this.Cr=t,this.remove(),this.save())}set_secure(t){t!==this.Sr&&(this.Sr=t,this.remove(),this.save())}set_event_timer(t,o){var n=this.props[Od]||{};n[t]=o,this.Tr(Od,n),this.save()}remove_event_timer(t){var o=this.props[Od]||{},n=o[t];return ze(n)||(delete o[t],this.Tr(Od,o),this.save()),n}get_property(t){return this.props[t]}set_property(t,o){this.Tr(t,o),this.save()}Tr(t,o){this.props[t]=o}Ar(t){delete this.props[t]}}var bd={Activation:"events",Cancellation:"cancelEvents"},wS={Popover:"popover",API:"api",Widget:"widget"},Nd={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},CS={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},bw={Popover:"popover",Inline:"inline"},xie={SHOWN:"product tour shown"},sO={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},lO=ho("[RateLimiter]");class Tie{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=o=>{var n=o.text;if(n&&n.length)try{(JSON.parse(n).quota_limited||[]).forEach((r=>{lO.info((r||"events")+" is quota limited."),this.serverLimits[r]=new Date().getTime()+6e4}))}catch(r){return void lO.warn('could not rate limit - continuing. Error: "'+r?.message+'"',{text:n})}},this.instance=t,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var t;return((t=this.instance.config.rate_limiting)==null?void 0:t.events_per_second)||10}get captureEventsBurstLimit(){var t;return Math.max(((t=this.instance.config.rate_limiting)==null?void 0:t.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(t){var o,n,r;t===void 0&&(t=!1);var{captureEventsBurstLimit:i,captureEventsPerSecond:l}=this,c=new Date().getTime(),d=(o=(n=this.instance.persistence)==null?void 0:n.get_property(hw))!==null&&o!==void 0?o:{tokens:i,last:c};d.tokens+=(c-d.last)/1e3*l,d.last=c,d.tokens>i&&(d.tokens=i);var m=1>d.tokens;return m||t||(d.tokens=Math.max(0,d.tokens-1)),!m||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+l+" events per second and "+i+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=m,(r=this.instance.persistence)==null||r.set_property(hw,d),{isRateLimited:m,remainingTokens:d.tokens}}isServerRateLimited(t){var o=this.serverLimits[t||"events"]||!1;return o!==!1&&new Date().getTime()<o}}var yd=ho("[RemoteConfig]");class P3{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=Ze._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Er(t){var o,n;(o=Ze.__PosthogExtensions__)!=null&&o.loadExternalDependency?(n=Ze.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"remote-config",(()=>t(this.remoteConfig))):t()}Rr(t){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(o){t(o.json)}})}load(){try{if(this.remoteConfig)return yd.info("Using preloaded remote config",this.remoteConfig),this.Nr(this.remoteConfig),void this.Mr();if(this._instance.Fr())return void yd.warn("Remote config is disabled. Falling back to local config.");this.Er((t=>{if(!t)return yd.info("No config found after loading remote JS config. Falling back to JSON."),void this.Rr((o=>{this.Nr(o),this.Mr()}));this.Nr(t),this.Mr()}))}catch(t){yd.error("Error loading remote config",t)}}stop(){this.Or&&(clearInterval(this.Or),this.Or=void 0)}refresh(){this._instance.Fr()||Ne?.visibilityState==="hidden"||this._instance.reloadFeatureFlags()}Mr(){var t;if(!this.Or){var o=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;o!==0&&(this.Or=setInterval((()=>{this.refresh()}),o))}}Nr(t){var o;t||yd.error("Failed to fetch remote config from PostHog."),this._instance.Nr(t??{}),t?.hasFeatureFlags!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(o=this._instance.featureFlags)==null||o.ensureFlagsLoaded())}}var ya={GZipJS:"gzip-js",Base64:"base64"},jr=Uint8Array,tr=Uint16Array,nu=Uint32Array,bE=new jr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),yE=new jr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),cO=new jr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),R3=function(e,t){for(var o=new tr(31),n=0;31>n;++n)o[n]=t+=1<<e[n-1];var r=new nu(o[30]);for(n=1;30>n;++n)for(var i=o[n];o[n+1]>i;++i)r[i]=i-o[n]<<5|n;return[o,r]},A3=R3(bE,2),yw=A3[1];A3[0][28]=258,yw[258]=28;for(var uO=R3(yE,0)[1],k3=new tr(32768),co=0;32768>co;++co){var _c=(43690&co)>>>1|(21845&co)<<1;k3[co]=((65280&(_c=(61680&(_c=(52428&_c)>>>2|(13107&_c)<<2))>>>4|(3855&_c)<<4))>>>8|(255&_c)<<8)>>>1}var qd=function(e,t,o){for(var n=e.length,r=0,i=new tr(t);n>r;++r)++i[e[r]-1];var l,c=new tr(t);for(r=0;t>r;++r)c[r]=c[r-1]+i[r-1]<<1;for(l=new tr(n),r=0;n>r;++r)l[r]=k3[c[e[r]-1]++]>>>15-e[r];return l},hl=new jr(288);for(co=0;144>co;++co)hl[co]=8;for(co=144;256>co;++co)hl[co]=9;for(co=256;280>co;++co)hl[co]=7;for(co=280;288>co;++co)hl[co]=8;var kg=new jr(32);for(co=0;32>co;++co)kg[co]=5;var Pie=qd(hl,9),Rie=qd(kg,5),D3=function(e){return(e/8>>0)+(7&e&&1)},O3=function(e,t,o){(o==null||o>e.length)&&(o=e.length);var n=new(e instanceof tr?tr:e instanceof nu?nu:jr)(o-t);return n.set(e.subarray(t,o)),n},oi=function(e,t,o){var n=t/8>>0;e[n]|=o<<=7&t,e[n+1]|=o>>>8},Sd=function(e,t,o){var n=t/8>>0;e[n]|=o<<=7&t,e[n+1]|=o>>>8,e[n+2]|=o>>>16},ES=function(e,t){for(var o=[],n=0;e.length>n;++n)e[n]&&o.push({s:n,f:e[n]});var r=o.length,i=o.slice();if(!r)return[new jr(0),0];if(r==1){var l=new jr(o[0].s+1);return l[o[0].s]=1,[l,1]}o.sort((function(T,A){return T.f-A.f})),o.push({s:-1,f:25001});var c=o[0],d=o[1],m=0,h=1,f=2;for(o[0]={s:-1,f:c.f+d.f,l:c,r:d};h!=r-1;)c=o[o[f].f>o[m].f?m++:f++],d=o[m!=h&&o[f].f>o[m].f?m++:f++],o[h++]={s:-1,f:c.f+d.f,l:c,r:d};var g=i[0].s;for(n=1;r>n;++n)i[n].s>g&&(g=i[n].s);var v=new tr(g+1),y=Sw(o[h-1],v,0);if(y>t){n=0;var S=0,E=y-t,_=1<<E;for(i.sort((function(T,A){return v[A.s]-v[T.s]||T.f-A.f}));r>n;++n){var C=i[n].s;if(t>=v[C])break;S+=_-(1<<y-v[C]),v[C]=t}for(S>>>=E;S>0;){var P=i[n].s;t>v[P]?S-=1<<t-v[P]++-1:++n}for(;n>=0&&S;--n){var x=i[n].s;v[x]==t&&(--v[x],++S)}y=t}return[new jr(v),y]},Sw=function(e,t,o){return e.s==-1?Math.max(Sw(e.l,t,o+1),Sw(e.r,t,o+1)):t[e.s]=o},dO=function(e){for(var t=e.length;t&&!e[--t];);for(var o=new tr(++t),n=0,r=e[0],i=1,l=function(d){o[n++]=d},c=1;t>=c;++c)if(e[c]==r&&c!=t)++i;else{if(!r&&i>2){for(;i>138;i-=138)l(32754);i>2&&(l(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(l(r),--i;i>6;i-=6)l(8304);i>2&&(l(i-3<<5|8208),i=0)}for(;i--;)l(r);i=1,r=e[c]}return[o.subarray(0,n),t]},_d=function(e,t){for(var o=0,n=0;t.length>n;++n)o+=e[n]*t[n];return o},_w=function(e,t,o){var n=o.length,r=D3(t+2);e[r]=255&n,e[r+1]=n>>>8,e[r+2]=255^e[r],e[r+3]=255^e[r+1];for(var i=0;n>i;++i)e[r+i+4]=o[i];return 8*(r+4+n)},mO=function(e,t,o,n,r,i,l,c,d,m,h){oi(t,h++,o),++r[256];for(var f=ES(r,15),g=f[0],v=f[1],y=ES(i,15),S=y[0],E=y[1],_=dO(g),C=_[0],P=_[1],x=dO(S),T=x[0],A=x[1],k=new tr(19),O=0;C.length>O;++O)k[31&C[O]]++;for(O=0;T.length>O;++O)k[31&T[O]]++;for(var N=ES(k,7),$=N[0],F=N[1],U=19;U>4&&!$[cO[U-1]];--U);var j,K,ae,V,Z=m+5<<3,te=_d(r,hl)+_d(i,kg)+l,le=_d(r,g)+_d(i,S)+l+14+3*U+_d(k,$)+(2*k[16]+3*k[17]+7*k[18]);if(te>=Z&&le>=Z)return _w(t,h,e.subarray(d,d+m));if(oi(t,h,1+(te>le)),h+=2,te>le){j=qd(g,v),K=g,ae=qd(S,E),V=S;var Q=qd($,F);for(oi(t,h,P-257),oi(t,h+5,A-1),oi(t,h+10,U-4),h+=14,O=0;U>O;++O)oi(t,h+3*O,$[cO[O]]);h+=3*U;for(var I=[C,T],H=0;2>H;++H){var q=I[H];for(O=0;q.length>O;++O)oi(t,h,Q[L=31&q[O]]),h+=$[L],L>15&&(oi(t,h,q[O]>>>5&127),h+=q[O]>>>12)}}else j=Pie,K=hl,ae=Rie,V=kg;for(O=0;c>O;++O)if(n[O]>255){var L;Sd(t,h,j[257+(L=n[O]>>>18&31)]),h+=K[L+257],L>7&&(oi(t,h,n[O]>>>23&31),h+=bE[L]);var z=31&n[O];Sd(t,h,ae[z]),h+=V[z],z>3&&(Sd(t,h,n[O]>>>5&8191),h+=yE[z])}else Sd(t,h,j[n[O]]),h+=K[n[O]];return Sd(t,h,j[256]),h+K[256]},Aie=new nu([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),kie=(function(){for(var e=new nu(256),t=0;256>t;++t){for(var o=t,n=9;--n;)o=(1&o&&3988292384)^o>>>1;e[t]=o}return e})(),xS=function(e,t,o){for(;o;++t)e[t]=o,o>>>=8};function Die(e,t){t===void 0&&(t={});var o=(function(){var f=4294967295;return{p(g){for(var v=f,y=0;g.length>y;++y)v=kie[255&v^g[y]]^v>>>8;f=v},d(){return 4294967295^f}}})(),n=e.length;o.p(e);var r,i,l,c,d,m=(c=10+((r=t).filename&&r.filename.length+1||0),d=8,(function(f,g,v,y,S,E){var _=f.length,C=new jr(y+_+5*(1+Math.floor(_/7e3))+S),P=C.subarray(y,C.length-S),x=0;if(!g||8>_)for(var T=0;_>=T;T+=65535){var A=T+65535;_>A?x=_w(P,x,f.subarray(T,A)):(P[T]=!0,x=_w(P,x,f.subarray(T,_)))}else{for(var k=Aie[g-1],O=k>>>13,N=8191&k,$=(1<<v)-1,F=new tr(32768),U=new tr($+1),j=Math.ceil(v/3),K=2*j,ae=function(Ue){return(f[Ue]^f[Ue+1]<<j^f[Ue+2]<<K)&$},V=new nu(25e3),Z=new tr(288),te=new tr(32),le=0,Q=0,I=(T=0,0),H=0,q=0;_>T;++T){var L=ae(T),z=32767&T,J=U[L];if(F[z]=J,U[L]=z,T>=H){var me=_-T;if((le>7e3||I>24576)&&me>423){x=mO(f,P,0,V,Z,te,Q,I,q,T-q,x),I=le=Q=0,q=T;for(var he=0;286>he;++he)Z[he]=0;for(he=0;30>he;++he)te[he]=0}var Ce=2,Be=0,W=N,ne=z-J&32767;if(me>2&&L==ae(T-ne))for(var ve=Math.min(O,me)-1,ie=Math.min(32767,T),_e=Math.min(258,me);ie>=ne&&--W&&z!=J;){if(f[T+Ce]==f[T+Ce-ne]){for(var xe=0;_e>xe&&f[T+xe]==f[T+xe-ne];++xe);if(xe>Ce){if(Ce=xe,Be=ne,xe>ve)break;var tt=Math.min(ne,xe-2),nt=0;for(he=0;tt>he;++he){var $e=T-ne+he+32768&32767,Qe=$e-F[$e]+32768&32767;Qe>nt&&(nt=Qe,J=$e)}}}ne+=(z=J)-(J=F[z])+32768&32767}if(Be){V[I++]=268435456|yw[Ce]<<18|uO[Be];var De=31&yw[Ce],ke=31&uO[Be];Q+=bE[De]+yE[ke],++Z[257+De],++te[ke],H=T+Ce,++le}else V[I++]=f[T],++Z[f[T]]}}x=mO(f,P,!0,V,Z,te,Q,I,q,T-q,x)}return O3(C,0,y+D3(x)+S)})(i=e,(l=t).level==null?6:l.level,l.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+l.mem,c,d)),h=m.length;return(function(f,g){var v=g.filename;if(f[0]=31,f[1]=139,f[2]=8,f[8]=2>g.level?4:g.level==9?2:0,f[9]=3,g.mtime!=0&&xS(f,4,Math.floor(new Date(g.mtime||Date.now())/1e3)),v){f[3]=8;for(var y=0;v.length>=y;++y)f[y+10]=v.charCodeAt(y)}})(m,t),xS(m,h-8,o.d()),xS(m,h-4,n),m}var Oie=!!H_||!!V_,M3="text/plain",fO=!1,yv=function(e,t,o){var n;o===void 0&&(o=!0);var[r,i]=e.split("?"),l=Oe({},t),c=(n=i?.split("&").map((m=>{var h,[f,g]=m.split("="),v=o&&(h=l[f])!==null&&h!==void 0?h:g;return delete l[f],f+"="+v})))!==null&&n!==void 0?n:[],d=(function(m,h){var f,g;h===void 0&&(h="&");var v=[];return lo(m,(function(y,S){ze(y)||ze(S)||S==="undefined"||(f=encodeURIComponent((E=>E instanceof File)(y)?y.name:y.toString()),g=encodeURIComponent(S),v[v.length]=g+"="+f)})),v.join(h)})(l);return d&&c.push(d),r+"?"+c.join("&")},Lc=(e,t)=>JSON.stringify(e,((o,n)=>typeof n=="bigint"?n.toString():n),t),TS=e=>{if(e.tr)return e.tr;var{data:t,compression:o}=e;if(t){if(o===ya.GZipJS){var n=Die((function(c,d){var m=c.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(c);for(var h=new jr(c.length+(c.length>>>1)),f=0,g=function(E){h[f++]=E},v=0;m>v;++v){if(f+5>h.length){var y=new jr(f+8+(m-v<<1));y.set(h),h=y}var S=c.charCodeAt(v);128>S?g(S):2048>S?(g(192|S>>>6),g(128|63&S)):S>55295&&57344>S?(g(240|(S=65536+(1047552&S)|1023&c.charCodeAt(++v))>>>18),g(128|S>>>12&63),g(128|S>>>6&63),g(128|63&S)):(g(224|S>>>12),g(128|S>>>6&63),g(128|63&S))}return O3(h,0,f)})(Lc(t)),{mtime:0});return{contentType:M3,body:n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength),estimatedSize:n.byteLength}}if(o===ya.Base64){var r=(function(c){return c&&btoa(encodeURIComponent(c).replace(/%([0-9A-F]{2})/g,((d,m)=>String.fromCharCode(parseInt(m,16)))))})(Lc(t)),i=(c=>"data="+encodeURIComponent(typeof c=="string"?c:Lc(c)))(r);return{contentType:"application/x-www-form-urlencoded",body:i,estimatedSize:new Blob([i]).size}}var l=Lc(t);return{contentType:"application/json",body:l,estimatedSize:new Blob([l]).size}}},Mie=(function(){var e=Nr((function*(t){var o=Lc(t.data),n=yield(function(i,l,c){return G_.apply(this,arguments)})(o,Bn.DEBUG,{rethrow:!0});if(!n)return t;var r=yield n.arrayBuffer();return Oe({},t,{tr:{contentType:M3,body:r,estimatedSize:r.byteLength}})}));return function(t){return e.apply(this,arguments)}})(),hO=(e,t)=>yv(e,{_:new Date().getTime().toString(),ver:Bn.JS_SDK_VERSION,compression:t}),Lp=[];V_&&Lp.push({transport:"fetch",method(e){var t,o,{contentType:n,body:r,estimatedSize:i}=(t=TS(e))!==null&&t!==void 0?t:{},l=new Headers;lo(e.headers,(function(h,f){l.append(f,h)})),n&&l.append("Content-Type",n);var c=e.url,d=null;if(HD){var m=new HD;d={signal:m.signal,timeout:setTimeout((()=>m.abort()),e.timeout)}}V_(c,Oe({method:e?.method||"GET",headers:l,keepalive:e.method==="POST"&&52428.8>(i||0),body:r,signal:(o=d)==null?void 0:o.signal},e.fetchOptions)).then((h=>h.text().then((f=>{var g={statusCode:h.status,text:f};if(h.status===200)try{g.json=JSON.parse(f)}catch(v){Fe.error(v)}e.callback==null||e.callback(g)})))).catch((h=>{Fe.error(h),e.callback==null||e.callback({statusCode:0,error:h})})).finally((()=>d?clearTimeout(d.timeout):null))}}),H_&&Lp.push({transport:"XHR",method(e){var t,o=new H_;o.open(e.method||"GET",e.url,!0);var{contentType:n,body:r}=(t=TS(e))!==null&&t!==void 0?t:{};lo(e.headers,(function(i,l){o.setRequestHeader(l,i)})),n&&o.setRequestHeader("Content-Type",n),e.timeout&&(o.timeout=e.timeout),e.disableXHRCredentials||(o.withCredentials=!0),o.onreadystatechange=()=>{if(o.readyState===4){var i={statusCode:o.status,text:o.responseText};if(o.status===200)try{i.json=JSON.parse(o.responseText)}catch{}e.callback==null||e.callback(i)}},o.send(r)}}),vr!=null&&vr.sendBeacon&&Lp.push({transport:"sendBeacon",method(e){var t=yv(e.url,{beacon:"1"});try{var o,{contentType:n,body:r}=(o=TS(e))!==null&&o!==void 0?o:{};if(!r)return;var i=r instanceof Blob?r:new Blob([r],{type:n});vr.sendBeacon(t,i)}catch{}}});var ww=3e3;class Iie{constructor(t,o){this.Pr=!0,this.Lr=[],this.Dr=Ta(o?.flush_interval_ms||ww,250,5e3,Fe.createLogger("flush interval"),ww),this.Br=t}enqueue(t){this.Lr.push(t),this.jr||this.$r()}unload(){this.qr();var t=this.Lr.length>0?this.Zr():{},o=Object.values(t);[...o.filter((n=>n.url.indexOf("/e")===0)),...o.filter((n=>n.url.indexOf("/e")!==0))].map((n=>{this.Br(Oe({},n,{transport:"sendBeacon"}))}))}enable(){this.Pr=!1,this.$r()}$r(){var t=this;this.Pr||(this.jr=setTimeout((()=>{if(this.qr(),this.Lr.length>0){var o=this.Zr(),n=function(){var i=o[r],l=new Date().getTime();i.data&&Dt(i.data)&&lo(i.data,(c=>{c.offset=Math.abs(c.timestamp-l),delete c.timestamp})),t.Br(i)};for(var r in o)n()}}),this.Dr))}qr(){clearTimeout(this.jr),this.jr=void 0}Zr(){var t={};return lo(this.Lr,(o=>{var n,r=o,i=(r?r.batchKey:null)||r.url;ze(t[i])&&(t[i]=Oe({},r,{data:[]})),(n=t[i].data)==null||n.push(r.data)})),this.Lr=[],t}}var Lie=["retriesPerformedSoFar"];class Nie{constructor(t){this.Vr=!1,this.Hr=3e3,this.Lr=[],this._instance=t,this.Lr=[],this.zr=!0,!ze(pe)&&"onLine"in pe.navigator&&(this.zr=pe.navigator.onLine,this.Ur=()=>{this.zr=!0,this.Yr()},this.Gr=()=>{this.zr=!1},qo(pe,"online",this.Ur),qo(pe,"offline",this.Gr))}get length(){return this.Lr.length}retriableRequest(t){var{retriesPerformedSoFar:o}=t,n=NB(t,Lie);xc(o)&&(n.url=yv(n.url,{retry_count:o})),this._instance._send_request(Oe({},n,{callback:r=>{r.statusCode===200||r.statusCode>=400&&500>r.statusCode||(o??0)>=10?n.callback==null||n.callback(r):this.Wr(Oe({retriesPerformedSoFar:o},n))}}))}Wr(t){var o=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=o+1;var n=(function(l){var c=3e3*Math.pow(2,l),d=c/2,m=Math.min(18e5,c),h=Math.random()-.5;return Math.ceil(m+h*(m-d))})(o),r=Date.now()+n;this.Lr.push({retryAt:r,requestOptions:t});var i="Enqueued failed request for retry in "+n;navigator.onLine||(i+=" (Browser is offline)"),Fe.warn(i),this.Vr||(this.Vr=!0,this.Xr())}Xr(){if(this.Jr&&clearTimeout(this.Jr),this.Lr.length===0)return this.Vr=!1,void(this.Jr=void 0);this.Jr=setTimeout((()=>{this.zr&&this.Lr.length>0&&this.Yr(),this.Xr()}),this.Hr)}Yr(){var t=Date.now(),o=[],n=this.Lr.filter((i=>t>i.retryAt||(o.push(i),!1)));if(this.Lr=o,n.length>0)for(var{requestOptions:r}of n)this.retriableRequest(r)}unload(){for(var{requestOptions:t}of(this.Jr&&(clearTimeout(this.Jr),this.Jr=void 0),this.Vr=!1,ze(pe)||(this.Ur&&(pe.removeEventListener("online",this.Ur),this.Ur=void 0),this.Gr&&(pe.removeEventListener("offline",this.Gr),this.Gr=void 0)),this.Lr))try{this._instance._send_request(Oe({},t,{transport:"sendBeacon"}))}catch(o){Fe.error(o)}this.Lr=[]}}class Fie{constructor(t){this.Kr=()=>{var o,n,r,i;this.Qr||(this.Qr={});var l=this.scrollElement(),c=this.scrollY(),d=l?Math.max(0,l.scrollHeight-l.clientHeight):0,m=c+(l?.clientHeight||0),h=l?.scrollHeight||0;this.Qr.lastScrollY=Math.ceil(c),this.Qr.maxScrollY=Math.max(c,(o=this.Qr.maxScrollY)!==null&&o!==void 0?o:0),this.Qr.maxScrollHeight=Math.max(d,(n=this.Qr.maxScrollHeight)!==null&&n!==void 0?n:0),this.Qr.lastContentY=m,this.Qr.maxContentY=Math.max(m,(r=this.Qr.maxContentY)!==null&&r!==void 0?r:0),this.Qr.maxContentHeight=Math.max(h,(i=this.Qr.maxContentHeight)!==null&&i!==void 0?i:0)},this._instance=t}get ei(){return this._instance.config.scroll_root_selector}getContext(){return this.Qr}resetContext(){var t=this.Qr;return setTimeout(this.Kr,0),t}startMeasuringScrollPosition(){qo(pe,"scroll",this.Kr,{capture:!0}),qo(pe,"scrollend",this.Kr,{capture:!0}),qo(pe,"resize",this.Kr)}scrollElement(){if(!this.ei)return pe?.document.documentElement;var t=Dt(this.ei)?this.ei:[this.ei];for(var o of t){var n=pe?.document.querySelector(o);if(n)return n}}scrollY(){if(this.ei){var t=this.scrollElement();return t&&t.scrollTop||0}return pe&&(pe.scrollY||pe.pageYOffset||pe.document.documentElement.scrollTop)||0}scrollX(){if(this.ei){var t=this.scrollElement();return t&&t.scrollLeft||0}return pe&&(pe.scrollX||pe.pageXOffset||pe.document.documentElement.scrollLeft)||0}}var Bie=e=>E3(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties);class pO{constructor(t,o,n,r){this.ti=i=>{var l=this.ri();if(!l||l.sessionId!==i){var c={sessionId:i,props:this.ii(this._instance)};this.ni.register({[fw]:c})}},this._instance=t,this.si=o,this.ni=n,this.ii=r||Bie,this.si.onSessionId(this.ti)}ri(){return this.ni.props[fw]}getSetOnceProps(){var t,o=(t=this.ri())==null?void 0:t.props;return o?"r"in o?x3(o):{$referring_domain:o.referringDomain,$pathname:o.initialPathName,utm_source:o.utm_source,utm_campaign:o.utm_campaign,utm_medium:o.utm_medium,utm_content:o.utm_content,utm_term:o.utm_term}:{}}getSessionProps(){var t={};return lo(vE(this.getSetOnceProps()),((o,n)=>{n==="$current_url"&&(n="url"),t["$session_entry_"+K_(n)]=o})),t}}class SE{constructor(){this.oi={}}on(t,o){return this.oi[t]||(this.oi[t]=[]),this.oi[t].push(o),()=>{this.oi[t]=this.oi[t].filter((n=>n!==o))}}emit(t,o){for(var n of this.oi[t]||[])n(o);for(var r of this.oi["*"]||[])r(t,o)}}var PS=ho("[SessionId]");class gO{on(t,o){return this.ai.on(t,o)}constructor(t,o,n){var r;if(this.li=[],this.ui=void 0,this.ai=new SE,this.hi=(m,h)=>!(!xc(m)||!xc(h))&&Math.abs(m-h)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===si)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Bt=t.config,this.ni=t.persistence,this.ci=void 0,this.di=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.vi=o||ns,this.fi=n||ns;var i=this.Bt.persistence_name||this.Bt.token;if(this._sessionTimeoutMs=1e3*Ta(this.Bt.session_idle_timeout_seconds||1800,60,36e3,PS.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+i+"_window_id",this.mi="ph_"+i+"_primary_window_exists",this.yi()){var l=pn.Z(this.gi),c=pn.Z(this.mi);l&&!c?this.ci=l:pn.F(this.gi),pn.M(this.mi,!0)}if((r=this.Bt.bootstrap)!=null&&r.sessionID)try{var d=(m=>{var h=this.Bt.bootstrap.sessionID.replace(/-/g,"");if(h.length!==32)throw new Error("Not a valid UUID");if(h[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(h.substring(0,12),16)})();this.bi(this.Bt.bootstrap.sessionID,new Date().getTime(),d)}catch(m){PS.error("Invalid sessionID in bootstrap",m)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return ze(this.li)&&(this.li=[]),this.li.push(t),this.di&&t(this.di,this.ci),()=>{this.li=this.li.filter((o=>o!==t))}}yi(){return this.Bt.persistence!=="memory"&&!this.ni._r&&pn.R()}Ii(t){t!==this.ci&&(this.ci=t,this.yi()&&pn.M(this.gi,t))}Ci(){return this.ci?this.ci:this.yi()?pn.Z(this.gi):null}bi(t,o,n){t===this.di&&o===this._sessionActivityTimestamp&&n===this._sessionStartTimestamp||(this._sessionStartTimestamp=n,this._sessionActivityTimestamp=o,this.di=t,this.ni.register({[yg]:[o,t,n]}))}Si(){var t=this.ni.props[yg];return Dt(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.bi(null,null,null)}destroy(){clearTimeout(this.xi),this.xi=void 0,this.ui&&pe&&(pe.removeEventListener(Eg,this.ui,{capture:!1}),this.ui=void 0),this.li=[]}wi(){this.ui=()=>{this.yi()&&pn.F(this.mi)},qo(pe,Eg,this.ui,{capture:!1})}checkAndGetSessionAndWindowId(t,o){if(t===void 0&&(t=!1),o===void 0&&(o=null),this.Bt.cookieless_mode===si)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var n=o||new Date().getTime(),[r,i,l]=this.Si(),c=this.Ci(),d=xc(l)&&Math.abs(n-l)>864e5,m=!1,h=!i,f=!h&&!t&&this.hi(n,r);h||f||d?(i=this.vi(),c=this.fi(),PS.info("new session ID generated",{sessionId:i,windowId:c,changeReason:{noSessionId:h,activityTimeout:f,sessionPastMaximumLength:d}}),l=n,m=!0):c||(c=this.fi(),m=!0);var g=xc(r)&&t&&!d?r:n,v=xc(l)?l:new Date().getTime();return this.Ii(c),this.bi(i,g,v),t||this.pi(),m&&this.li.forEach((y=>y(i,c,m?{noSessionId:h,activityTimeout:f,sessionPastMaximumLength:d}:void 0))),{sessionId:i,windowId:c,sessionStartTimestamp:v,changeReason:m?{noSessionId:h,activityTimeout:f,sessionPastMaximumLength:d}:void 0,lastActivityTimestamp:r}}pi(){clearTimeout(this.xi),this.xi=setTimeout((()=>{var[t]=this.Si();if(this.hi(new Date().getTime(),t)){var o=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:o})}}),1.1*this.sessionTimeoutMs)}}var I3=function(e,t){if(!e)return!1;var o=e.userAgent;if(o&&WD(o,t))return!0;try{var n=e?.userAgentData;if(n!=null&&n.brands&&n.brands.some((r=>WD(r?.brand,t))))return!0}catch{}return!!e.webdriver},Dg=function(e,t){if(!(function(o){try{new RegExp(o)}catch{return!1}return!0})(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function vO(e,t,o){return Lc({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:o})}var L3={exact:(e,t)=>t.some((o=>e.some((n=>o===n)))),is_not:(e,t)=>t.every((o=>e.every((n=>o!==n)))),regex:(e,t)=>t.some((o=>e.some((n=>Dg(o,n))))),not_regex:(e,t)=>t.every((o=>e.every((n=>!Dg(o,n))))),icontains:(e,t)=>t.map(gp).some((o=>e.map(gp).some((n=>o.includes(n))))),not_icontains:(e,t)=>t.map(gp).every((o=>e.map(gp).every((n=>!o.includes(n))))),gt:(e,t)=>t.some((o=>{var n=parseFloat(o);return!isNaN(n)&&e.some((r=>n>parseFloat(r)))})),lt:(e,t)=>t.some((o=>{var n=parseFloat(o);return!isNaN(n)&&e.some((r=>n<parseFloat(r)))}))},gp=e=>e.toLowerCase();function N3(e,t){return!e||Object.entries(e).every((o=>{var[n,r]=o,i=t?.[n];if(ze(i)||yi(i))return!1;var l=[String(i)],c=L3[r.operator];return!!c&&c(r.values,l)}))}var Cw="custom",bO="i.posthog.com",zie=/^\/static\//;class jie{constructor(t){this.ki={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get flagsApiHost(){var t=this.instance.config.flags_api_host;return t?t.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var t,o=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return o||(o=this.apiHost.replace("."+bO,".posthog.com")),o==="https://app.posthog.com"?"https://us.posthog.com":o}get region(){return this.ki[this.apiHost]||(this.ki[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":Cw),this.ki[this.apiHost]}Ti(t){var o=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof o=="string"&&zie.test(t))return o.trim().replace(/\/$/,"")||void 0}endpointFor(t,o){if(o===void 0&&(o=""),o&&(o=o[0]==="/"?o:"/"+o),t==="ui")return this.uiHost+o;if(t==="flags")return this.flagsApiHost+o;if(t==="assets"){var n=this.Ti(o);if(n)return""+n+o}if(this.region===Cw)return this.apiHost+o;var r=bO+o;switch(t){case"assets":return"https://"+this.region+"-assets."+r;case"api":return"https://"+this.region+"."+r}}}var Zt=ho("[Surveys]"),Ew="seenSurvey_",Uie=[wS.Popover,wS.Widget,wS.API],$ie={ignoreConditions:!1,ignoreDelay:!1,displayType:bw.Popover},qie=ho("[PostHog ExternalIntegrations]"),Vie={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class Hie{constructor(t){this._instance=t}ur(t,o){var n;(n=Ze.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,t,(r=>{if(r)return qie.error("failed to load script",r);o()}))}startIfEnabledOrStop(){var t=this,o=function(l){var c,d,m;!r||(c=Ze.__PosthogExtensions__)!=null&&(c=c.integrations)!=null&&c[l]||t.ur(Vie[l],(()=>{var h;(h=Ze.__PosthogExtensions__)==null||(h=h.integrations)==null||(h=h[l])==null||h.start(t._instance)})),!r&&(d=Ze.__PosthogExtensions__)!=null&&(d=d.integrations)!=null&&d[l]&&((m=Ze.__PosthogExtensions__)==null||(m=m.integrations)==null||(m=m[l])==null||m.stop())};for(var[n,r]of Object.entries((i=this._instance.config.integrations)!==null&&i!==void 0?i:{})){var i;o(n)}}}var wc,Vd={},RS=0,xw=()=>{},yO='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',wd="Surveys module not available",SO="sanitize_properties is deprecated. Use before_send instead",F3="Invalid value for property_denylist config: ",Rc="posthog",B3=!Oie&&Qn?.indexOf("MSIE")===-1&&Qn?.indexOf("Mozilla")===-1,_O=e=>{var t;return Oe({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:lie(Ne?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:xw,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:e??"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:hn&&bo(hn?.search)&&hn.search.indexOf("__posthog_debug=true")!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(pe==null||(t=pe.location)==null?void 0:t.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(o){Fe.error("Bad HTTP status: "+o.statusCode+" "+o.text)},get_device_id:o=>o,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:vw,before_send:void 0,request_queue_config:{flush_interval_ms:ww},error_tracking:{},_onCapture:xw,__preview_eager_load_replay:!1},(o=>({rageclick:!o||"2025-11-30">o||{content_ignorelist:!0},capture_pageview:!o||"2025-05-24">o||"history_change",session_recording:o&&o>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:o&&o>="2026-01-30"?"head":"body",internal_or_test_user_hostname:o&&o>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},Gie=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],wO=e=>{var t={};for(var[o,n]of Gie)ze(e[o])||(t[n]=e[o]);var r=xo({},t,e);return Dt(e.property_blacklist)&&(ze(e.property_denylist)?r.property_denylist=e.property_blacklist:Dt(e.property_denylist)?r.property_denylist=[...e.property_blacklist,...e.property_denylist]:Fe.error(F3+e.property_denylist)),r};class Kie{constructor(){this.__forceAllowLocalhost=!1}get Ai(){return this.__forceAllowLocalhost}set Ai(t){Fe.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class Fr{Ei(t,o){if(t){var n=this.Ri.indexOf(t);n!==-1&&this.Ri.splice(n,1)}return this.Ri.push(o),o.initialize==null||o.initialize(),o}Ni(){return this.config.cookieless_mode===si||this.config.cookieless_mode===tl&&this.consent.isRejected()}get decideEndpointWasHit(){var t,o;return(t=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,o;return(t=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;this.webPerformance=new Kie,this.Mi=!1,this.version=Bn.LIB_VERSION,this.Fi=new SE,this.Ri=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=_O(),this.SentryIntegration=bie,this.sentryIntegration=n=>(function(r,i){var l=y3(r,i);return{name:b3,processEvent:c=>l(c)}})(this,n),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Oi=!1,this.Pi=null,this.Li=null,this.Di=null,this.scrollManager=new Fie(this),this.pageViewManager=new aO(this),this.rateLimiter=new Tie(this),this.requestRouter=new jie(this),this.consent=new pie(this),this.externalIntegrations=new Hie(this);var o=(t=Fr.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=o.featureFlags&&new o.featureFlags(this),this.toolbar=o.toolbar&&new o.toolbar(this),this.surveys=o.surveys&&new o.surveys(this),this.conversations=o.conversations&&new o.conversations(this),this.logs=o.logs&&new o.logs(this),this.experiments=o.experiments&&new o.experiments(this),this.exceptions=o.exceptions&&new o.exceptions(this),this.people={set:(n,r,i)=>{var l=bo(n)?{[n]:r}:n;this.setPersonProperties(l),i?.({})},set_once:(n,r,i)=>{var l=bo(n)?{[n]:r}:n;this.setPersonProperties(void 0,l),i?.({})}},this.on("eventCaptured",(n=>Fe.info('send "'+n?.event+'"',n)))}init(t,o,n){if(n&&n!==Rc){var r,i=(r=Vd[n])!==null&&r!==void 0?r:new Fr;return i._init(t,o,n),Vd[n]=i,Vd[Rc][n]=i,i}return this._init(t,o,n)}_init(t,o,n){var r,i;if(o===void 0&&(o={}),ze(t)||Dp(t))return Fe.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},o.debug=this.Bi(o.debug),this.ji=o,this.$i=[],o.person_profiles?this.Li=o.person_profiles:o.process_person&&(this.Li=o.process_person),this.set_config(xo({},_O(o.defaults),wO(o),{name:n,token:t})),this.config.on_xhr_error&&Fe.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=o.disable_compression?void 0:ya.GZipJS;var l=this.qi();this.persistence=new _S(this.config,l),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new _S(Oe({},this.config,{persistence:"sessionStorage"}),l);var c=Oe({},this.persistence.props),d=Oe({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Zi=new Iie((E=>this.Vi(E)),this.config.request_queue_config),this.Hi=new Nie(this),this.__request_queue=[];var m=this.Ni();if(m||(this.sessionManager=new gO(this),this.sessionPropsManager=new pO(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(Fe.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.zi(m)}),0)):(Fe.info("Initializing extensions synchronously"),this.zi(m)),Bn.DEBUG=Bn.DEBUG||this.config.debug,Bn.DEBUG&&Fe.info("Starting in debug mode",{this:this,config:o,thisC:Oe({},this.config),p:c,s:d}),!this.config.identity_distinct_id||(r=o.bootstrap)!=null&&r.distinctID||(o.bootstrap=Oe({},o.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((i=o.bootstrap)==null?void 0:i.distinctID)!==void 0){var h=o.bootstrap.distinctID,f=this.get_distinct_id(),g=this.persistence.get_property(ta);if(o.bootstrap.isIdentifiedID&&f!=null&&f!==h&&g===yc)this.identify(h);else if(o.bootstrap.isIdentifiedID&&f!=null&&f!==h&&g===Sc)Fe.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var v=this.config.get_device_id(ns()),y=o.bootstrap.isIdentifiedID?v:h;this.persistence.set_property(ta,o.bootstrap.isIdentifiedID?Sc:yc),this.register({distinct_id:h,$device_id:y})}}if(m)this.register_once({distinct_id:dp,$device_id:null},"");else if(!this.get_distinct_id()){var S=this.config.get_device_id(ns());this.register_once({distinct_id:S,$device_id:S},""),this.persistence.set_property(ta,yc)}return qo(pe,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),o.segment?(function(E,_){var C=E.config.segment;if(!C)return _();(function(P,x){var T=P.config.segment;if(!T)return x();var A=O=>{var N=()=>O.anonymousId()||ns();P.config.get_device_id=N,O.id()&&(P.register({distinct_id:O.id(),$device_id:N()}),P.persistence.set_property(ta,Sc)),x()},k=T.user();"then"in k&&ai(k.then)?k.then(A):A(k)})(E,(()=>{C.register((P=>{Promise&&Promise.resolve||SS.warn("This browser does not have Promise support, and can not use the segment integration");var x=(T,A)=>{if(!A)return T;T.event.userId||T.event.anonymousId===P.get_distinct_id()||(SS.info("No userId set, resetting PostHog"),P.reset()),T.event.userId&&T.event.userId!==P.get_distinct_id()&&(SS.info("UserId set, identifying with PostHog"),P.identify(T.event.userId));var k=P.calculateEventProperties(A,T.event.properties);return T.event.properties=Object.assign({},k,T.event.properties),T};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:T=>x(T,T.event.event),page:T=>x(T,Pc),identify:T=>x(T,bS),screen:T=>x(T,"$screen")}})(E)).then((()=>{_()}))}))})(this,(()=>this.Ui())):this.Ui(),ai(this.config._onCapture)&&this.config._onCapture!==xw&&(Fe.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(E=>this.config._onCapture(E.event,E)))),this.config.ip&&Fe.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}zi(t){var o,n,r,i,l,c,d,m=performance.now(),h=Oe({},Fr.__defaultExtensionClasses,this.config.__extensionClasses),f=[];h.featureFlags&&this.Ri.push(this.featureFlags=(o=this.featureFlags)!==null&&o!==void 0?o:new h.featureFlags(this)),h.exceptions&&this.Ri.push(this.exceptions=(n=this.exceptions)!==null&&n!==void 0?n:new h.exceptions(this)),h.historyAutocapture&&this.Ri.push(this.historyAutocapture=new h.historyAutocapture(this)),h.tracingHeaders&&this.Ri.push(new h.tracingHeaders(this)),h.siteApps&&this.Ri.push(this.siteApps=new h.siteApps(this)),h.sessionRecording&&!t&&this.Ri.push(this.sessionRecording=new h.sessionRecording(this)),this.config.disable_scroll_properties||f.push((()=>{this.scrollManager.startMeasuringScrollPosition()})),h.autocapture&&this.Ri.push(this.autocapture=new h.autocapture(this)),h.surveys&&this.Ri.push(this.surveys=(r=this.surveys)!==null&&r!==void 0?r:new h.surveys(this)),h.logs&&this.Ri.push(this.logs=(i=this.logs)!==null&&i!==void 0?i:new h.logs(this)),h.conversations&&this.Ri.push(this.conversations=(l=this.conversations)!==null&&l!==void 0?l:new h.conversations(this)),h.productTours&&this.Ri.push(this.productTours=new h.productTours(this)),h.heatmaps&&this.Ri.push(this.heatmaps=new h.heatmaps(this)),h.webVitalsAutocapture&&this.Ri.push(this.webVitalsAutocapture=new h.webVitalsAutocapture(this)),h.exceptionObserver&&this.Ri.push(this.exceptionObserver=new h.exceptionObserver(this)),h.deadClicksAutocapture&&this.Ri.push(this.deadClicksAutocapture=new h.deadClicksAutocapture(this,vie)),h.toolbar&&this.Ri.push(this.toolbar=(c=this.toolbar)!==null&&c!==void 0?c:new h.toolbar(this)),h.experiments&&this.Ri.push(this.experiments=(d=this.experiments)!==null&&d!==void 0?d:new h.experiments(this)),this.Ri.forEach((g=>{g.initialize&&f.push((()=>{g.initialize==null||g.initialize()}))})),f.push((()=>{if(this.Yi){var g=this.Yi;this.Yi=void 0,this.Nr(g)}})),this.Gi(f,m)}Gi(t,o){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-o>=30&&t.length>0)return void setTimeout((()=>{this.Gi(t,o)}),0);var n=t.shift();if(n)try{n()}catch(i){Fe.error("Error initializing extension:",i)}}var r=Math.round(performance.now()-o);this.register_for_session({[f3]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[h3]:r}),this.config.__preview_deferred_init_extensions&&Fe.info("PostHog extensions initialized ("+r+"ms)")}Nr(t){var o;if(!Ne||!Ne.body)return Fe.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((()=>{this.Nr(t)}),500);this.config.__preview_deferred_init_extensions&&(this.Yi=t),this.Wi=t,this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=wt(t.supportedCompression,ya.GZipJS)?ya.GZipJS:wt(t.supportedCompression,ya.Base64)?ya.Base64:void 0),(o=t.analytics)!=null&&o.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Li?this.Li:vw}),this.Ri.forEach((n=>n.onRemoteConfig==null?void 0:n.onRemoteConfig(t)))}Ui(){try{this.config.loaded(this)}catch(n){Fe.critical("`loaded` function failed",n)}if(this.Xi(),this.config.internal_or_test_user_hostname&&hn!=null&&hn.hostname){var t=hn.hostname,o=this.config.internal_or_test_user_hostname;(typeof o=="string"?t===o:o.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.Ni())&&this.Ji()}),1),this.Ki=new P3(this),this.Ki.load()}Xi(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.Zi)==null||t.enable())}_dom_loaded(){this.is_capturing()&&mp(this.__request_queue,(t=>this.Vi(t))),this.__request_queue=[],this.Xi()}_handle_unload(){var t,o,n,r;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Qi()&&this.capture(vS),(o=this.logs)==null||o.flushLogs("sendBeacon"),(n=this.Zi)==null||n.unload(),(r=this.Hi)==null||r.unload()):this.Qi()&&this.capture(vS,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(B3?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=yv(t.url,{ip:this.config.ip?1:0}),t.headers=Oe({},this.config.request_headers,t.headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,(o=>{var n,r,i,l=Oe({},o);l.timeout=l.timeout||6e4,l.url=hO(l.url,l.compression);var c=(n=l.transport)!==null&&n!==void 0?n:"fetch",d=Lp.filter((h=>!l.disableTransport||!h.transport||!l.disableTransport.includes(h.transport))),m=(r=(i=(function(h,f){for(var g=0;h.length>g;g++)if(h[g].transport===c)return h[g]})(d))==null?void 0:i.method)!==null&&r!==void 0?r:d[0].method;if(!m)throw new Error("No available transport method");c!=="sendBeacon"&&l.data&&l.compression===ya.GZipJS&&bae&&!fO?Mie(l).then((h=>{m(h)})).catch((h=>{if((f=>!(!f||typeof f!="object")&&("name"in f?String(f.name):"")==="NotReadableError")(h))return fO=!0,void m(Oe({},l,{compression:void 0,url:hO(o.url,void 0)}));m(l)})):m(l)})(Oe({},t,{callback:o=>{var n,r;this.rateLimiter.checkForLimiting(o),400>o.statusCode||(n=(r=this.config).on_request_error)==null||n.call(r,o),t.callback==null||t.callback(o)}}))))}Vi(t){this.Hi?this.Hi.retriableRequest(t):this._send_request(t)}_execute_array(t){RS++;try{var o,n=[],r=[],i=[];mp(t,(c=>{c&&(Dt(o=c[0])?i.push(c):ai(c)?c.call(this):Dt(c)&&o==="alias"?n.push(c):Dt(c)&&o.indexOf("capture")!==-1&&ai(this[o])?i.push(c):r.push(c))}));var l=function(c,d){mp(c,(function(m){if(Dt(m[0])){var h=d;lo(m,(function(f){h=h[f[0]].apply(h,f.slice(1))}))}else d[m[0]].apply(d,m.slice(1))}))};l(n,this),l(r,this),l(i,this)}finally{RS--}}push(t){if(RS>0&&Dt(t)&&bo(t[0])){var o=Fr.prototype[t[0]];ai(o)&&o.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,o,n){var r,i,l,c,d;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Zi){if(this.is_capturing())if(!ze(t)&&bo(t)){var m=!this.config.opt_out_useragent_filter&&this._is_bot();if(!m||this.config.__preview_capture_bot_pageviews){var h=n!=null&&n.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(h==null||!h.isRateLimited){o!=null&&o.$current_url&&!bo(o?.$current_url)&&(Fe.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),o==null||delete o.$current_url),t!=="$exception"||n!=null&&n.en||Fe.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var f=new Date,g=n?.timestamp||f,v=ns(),y={uuid:v,event:t,properties:this.calculateEventProperties(t,o||{},g,v)};t===Pc&&this.config.__preview_capture_bot_pageviews&&m&&(y.event="$bot_pageview",y.properties.$browser_type="bot"),h&&(y.properties.$lib_rate_limit_remaining_tokens=h.remainingTokens),n?.$set&&(y.$set=n?.$set);var S,E,_,C=this.tn(n?.$set_once,t!==tO,t===bS);if(C&&(y.$set_once=C),n!=null&&n._noTruncate||(i=this.config.properties_string_max_length,l=y,c=N=>bo(N)?N.slice(0,i):N,d=new Set,y=(function N($,F){return $!==Object($)?c?c($):$:d.has($)?void 0:(d.add($),Dt($)?(U=[],mp($,(j=>{U.push(N(j))}))):(U={},lo($,((j,K)=>{d.has(j)||(U[K]=N(j))}))),U);var U})(l)),y.timestamp=g,ze(n?.timestamp)||(y.properties.$event_time_override_provided=!0,y.properties.$event_time_override_system_time=f),t===Nd.DISMISSED||t===Nd.SENT){var P=o?.[CS.SURVEY_ID],x=o?.[CS.SURVEY_ITERATION];(N=>{try{var $=(F=>((U,j)=>{var K=""+Ew+j.id;return j.current_iteration&&j.current_iteration>0&&(K=""+Ew+j.id+"_"+j.current_iteration),K})(0,F))(N);if(localStorage.getItem($))return;localStorage.setItem($,"true")}catch(F){Zt.error("Failed to persist survey seen state",F)}})({id:P,current_iteration:x}),y.$set=Oe({},y.$set,{[(S={id:P,current_iteration:x},E=t===Nd.SENT?"responded":"dismissed",_="$survey_"+E+"/"+S.id,S.current_iteration&&S.current_iteration>0&&(_="$survey_"+E+"/"+S.id+"/"+S.current_iteration),_)]:!0})}else t===Nd.SHOWN&&(y.$set=Oe({},y.$set,{[CS.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===xie.SHOWN){var T=o?.[sO.TOUR_TYPE];T&&(y.$set=Oe({},y.$set,{[sO.TOUR_LAST_SEEN_DATE+"/"+T]:new Date().toISOString()}))}var A=Oe({},y.properties.$set,y.$set);if(Mc(A)||this.setPersonPropertiesForFlags(A),!Ct(this.config.before_send)){var k=this.rn(y);if(!k)return;y=k}this.Fi.emit("eventCaptured",y);var O={method:"POST",url:(r=n?._url)!==null&&r!==void 0?r:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:y,compression:"best-available",batchKey:n?._batchKey};return!this.config.request_batching||n&&(n==null||!n._batchKey)||n!=null&&n.send_instantly?this.Vi(O):this.Zi.enqueue(O),y}Fe.critical("This capture call is ignored due to client rate limiting.")}}else Fe.error("No event name provided to posthog.capture")}else Fe.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",(o=>t(o.event,o)))}calculateEventProperties(t,o,n,r,i){if(n=n||new Date,!this.persistence||!this.sessionPersistence)return o;var l=i?void 0:this.persistence.remove_event_timer(t),c=Oe({},o);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Ni()&&(c.$cookieless_mode=!0),t==="$snapshot"){var d=Oe({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=d.distinct_id,(!bo(c.distinct_id)&&!Ur(c.distinct_id)||Dp(c.distinct_id))&&Fe.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var m,h=(function(_,C){var P,x,T,A;if(!Qn)return{};var k,O,N,$,F,U,j,K,ae=_?[...ou,...C||[]]:[],[V,Z]=(function(te){for(var le=0;QD.length>le;le++){var[Q,I]=QD[le],H=Q.exec(te),q=H&&(ai(I)?I(H,te):I);if(q)return q}return["",""]})(Qn);return xo(vE({$os:V,$os_version:Z,$browser:t3(Qn,navigator.vendor),$device:JD(Qn),$device_type:(O=Qn,N={userAgentDataPlatform:(P=navigator)==null||(P=P.userAgentData)==null?void 0:P.platform,maxTouchPoints:(x=navigator)==null?void 0:x.maxTouchPoints,screenWidth:pe==null||(T=pe.screen)==null?void 0:T.width,screenHeight:pe==null||(A=pe.screen)==null?void 0:A.height,devicePixelRatio:pe?.devicePixelRatio},K=JD(O),K===UB||K===jB||K==="Kobo"||K==="Kindle Fire"||K===e3?Xc:K===cm||K===Hc||K===um||K===Y_?"Console":K===qB?"Wearable":K?yr:N?.userAgentDataPlatform==="Android"&&(($=N?.maxTouchPoints)!==null&&$!==void 0?$:0)>0?600>Math.min((F=N?.screenWidth)!==null&&F!==void 0?F:0,(U=N?.screenHeight)!==null&&U!==void 0?U:0)/((j=N?.devicePixelRatio)!==null&&j!==void 0?j:1)?yr:Xc:"Desktop"),$timezone:T3(),$timezone_offset:Cie()}),{$current_url:dm(hn?.href,ae,mm),$host:hn?.host,$pathname:hn?.pathname,$raw_user_agent:Qn.length>1e3?Qn.substring(0,997)+"...":Qn,$browser_version:Iae(Qn,navigator.vendor),$browser_language:iO(),$browser_language_prefix:(k=iO(),typeof k=="string"?k.split("-")[0]:void 0),$screen_height:pe?.screen.height,$screen_width:pe?.screen.width,$viewport_height:pe?.innerHeight,$viewport_width:pe?.innerWidth,$lib:Bn.LIB_NAME,$lib_version:Bn.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})})(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:f,windowId:g}=this.sessionManager.checkAndGetSessionAndWindowId(i,n.getTime());c.$session_id=f,c.$window_id=g}this.sessionPropsManager&&xo(c,this.sessionPropsManager.getSessionProps());try{var v;this.sessionRecording&&xo(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=(v=this.Hi)==null?void 0:v.length}catch(_){c.$sdk_debug_error_capturing_properties=String(_)}if(this.requestRouter.region===Cw&&(c.$lib_custom_api_host=this.config.api_host),m=t!==Pc||i?t!==vS||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(n):this.pageViewManager.doPageView(n,r),c=xo(c,m),t===Pc&&Ne&&(c.title=Ne.title),!ze(l)){var y=n.getTime()-l;c.$duration=parseFloat((y/1e3).toFixed(3))}Qn&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=xo({},h,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),Dt(this.config.property_denylist)?lo(this.config.property_denylist,(function(_){delete c[_]})):Fe.error(F3+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var S=this.config.sanitize_properties;S&&(Fe.error(SO),c=S(c,t));var E=this.nn();return c.$process_person_profile=E,E&&!i&&this.sn("_calculate_event_properties"),c}tn(t,o,n){var r;if(o===void 0&&(o=!0),n===void 0&&(n=!1),!this.persistence||!this.nn()||this.Mi&&!n)return t;var i=this.persistence.get_initial_props(),l=(r=this.sessionPropsManager)==null?void 0:r.getSetOnceProps(),c=xo({},i,l||{},t||{}),d=this.config.sanitize_properties;return d&&(Fe.error(SO),c=d(c,"$set_once")),o&&(this.Mi=!0),Mc(c)?void 0:c}register(t,o){var n;(n=this.persistence)==null||n.register(t,o)}register_once(t,o,n){var r;(r=this.persistence)==null||r.register_once(t,o,n)}register_for_session(t){var o;(o=this.sessionPersistence)==null||o.register(t)}unregister(t){var o;(o=this.persistence)==null||o.unregister(t)}unregister_for_session(t){var o;(o=this.sessionPersistence)==null||o.unregister(t)}an(t,o){this.register({[t]:o})}getFeatureFlag(t,o){var n;return(n=this.featureFlags)==null?void 0:n.getFeatureFlag(t,o)}getFeatureFlagPayload(t){var o;return(o=this.featureFlags)==null?void 0:o.getFeatureFlagPayload(t)}getFeatureFlagResult(t,o){var n;return(n=this.featureFlags)==null?void 0:n.getFeatureFlagResult(t,o)}isFeatureEnabled(t,o){var n;return(n=this.featureFlags)==null?void 0:n.isFeatureEnabled(t,o)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,o,n){var r;(r=this.featureFlags)==null||r.updateFlags(t,o,n)}updateEarlyAccessFeatureEnrollment(t,o,n){var r;(r=this.featureFlags)==null||r.updateEarlyAccessFeatureEnrollment(t,o,n)}getEarlyAccessFeatures(t,o,n){var r;return o===void 0&&(o=!1),(r=this.featureFlags)==null?void 0:r.getEarlyAccessFeatures(t,o,n)}on(t,o){return this.Fi.on(t,o)}onFeatureFlags(t){return this.featureFlags?this.featureFlags.onFeatureFlags(t):(t([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(t){return this.surveys?this.surveys.onSurveysLoaded(t):(t([],{isLoaded:!1,error:wd}),()=>{})}onSessionId(t){var o,n;return(o=(n=this.sessionManager)==null?void 0:n.onSessionId(t))!==null&&o!==void 0?o:()=>{}}getSurveys(t,o){o===void 0&&(o=!1),this.surveys?this.surveys.getSurveys(t,o):t([],{isLoaded:!1,error:wd})}getActiveMatchingSurveys(t,o){o===void 0&&(o=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,o):t([],{isLoaded:!1,error:wd})}renderSurvey(t,o){var n;(n=this.surveys)==null||n.renderSurvey(t,o)}displaySurvey(t,o){var n;o===void 0&&(o=$ie),(n=this.surveys)==null||n.displaySurvey(t,o)}cancelPendingSurvey(t){var o;(o=this.surveys)==null||o.cancelPendingSurvey(t)}canRenderSurvey(t){var o,n;return(o=(n=this.surveys)==null?void 0:n.canRenderSurvey(t))!==null&&o!==void 0?o:{visible:!1,disabledReason:wd}}canRenderSurveyAsync(t,o){var n,r;return o===void 0&&(o=!1),(n=(r=this.surveys)==null?void 0:r.canRenderSurveyAsync(t,o))!==null&&n!==void 0?n:Promise.resolve({visible:!1,disabledReason:wd})}ln(t){return!t||Dp(t)?(Fe.critical("Unique user id has not been set in posthog.identify"),!1):t===dp?(Fe.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(t.toLowerCase())&&!["undefined","null"].includes(t.toLowerCase())||(Fe.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'),!1)}identify(t,o,n){if(!this.__loaded||!this.persistence)return Fe.uninitializedWarning("posthog.identify");if(Ur(t)&&(t=t.toString(),Fe.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.ln(t)&&this.sn("posthog.identify")){var r=this.get_distinct_id();this.register({$user_id:t}),this.get_property(bg)||this.register_once({$had_persisted_distinct_id:!0,$device_id:r},""),t!==r&&t!==this.get_property(Dd)&&(this.unregister(Dd),this.register({distinct_id:t}));var i,l=(this.persistence.get_property(ta)||yc)===yc;t!==r&&l?(this.persistence.set_property(ta,Sc),this.setPersonPropertiesForFlags({$set:o||{},$set_once:n||{}},!1),this.capture(bS,{distinct_id:t,$anon_distinct_id:r},{$set:o||{},$set_once:n||{}}),this.Di=vO(t,o,n),(i=this.featureFlags)==null||i.setAnonymousDistinctId(r)):(o||n)&&this.setPersonProperties(o,n),t!==r&&(this.reloadFeatureFlags(),this.unregister($d))}}setPersonProperties(t,o){if((t||o)&&this.sn("posthog.setPersonProperties")){var n=vO(this.get_distinct_id(),t,o);this.Di!==n?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:o||{}},!0),this.capture("$set",{$set:t||{},$set_once:o||{}}),this.Di=n):Fe.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,o,n){if(t&&o){var r=this.getGroups(),i=r[t]!==o;if(i&&this.resetGroupPropertiesForFlags(t),this.register({$groups:Oe({},r,{[t]:o})}),i||n){var l={$group_type:t,$group_key:o};n&&(l.$group_set=n),this.capture(tO,l)}n&&this.setGroupPropertiesForFlags({[t]:n}),i&&!n&&this.reloadFeatureFlags()}else Fe.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,o){var n;o===void 0&&(o=!0),(n=this.featureFlags)==null||n.setPersonPropertiesForFlags(t,o)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,o){var n;o===void 0&&(o=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((n=this.featureFlags)==null||n.setGroupPropertiesForFlags(t,o))}resetGroupPropertiesForFlags(t){var o;(o=this.featureFlags)==null||o.resetGroupPropertiesForFlags(t)}reset(t){var o,n,r,i,l,c,d,m;if(Fe.info("reset"),!this.__loaded)return Fe.uninitializedWarning("posthog.reset");var h=this.get_property(bg);if(this.consent.reset(),(o=this.persistence)==null||o.clear(),(n=this.sessionPersistence)==null||n.clear(),(r=this.surveys)==null||r.reset(),(i=this.Ki)==null||i.stop(),(l=this.featureFlags)==null||l.reset(),(c=this.conversations)==null||c.reset(),(d=this.persistence)==null||d.set_property(ta,yc),(m=this.sessionManager)==null||m.resetSessionId(),this.Di=null,this.config.cookieless_mode===si)this.register_once({distinct_id:dp,$device_id:null},"");else{var f=this.config.get_device_id(ns());this.register_once({distinct_id:f,$device_id:t?f:h},"")}this.register({$last_posthog_reset:new Date().toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(t,o){var n;this.config.identity_distinct_id=t,this.config.identity_hash=o,this.alias(t),(n=this.conversations)==null||n.un()}clearIdentity(){var t;delete this.config.identity_distinct_id,delete this.config.identity_hash,(t=this.conversations)==null||t.hn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,o;return(t=(o=this.sessionManager)==null?void 0:o.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:o,sessionStartTimestamp:n}=this.sessionManager.checkAndGetSessionAndWindowId(!0),r=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+o);if(t!=null&&t.withTimestamp&&n){var i,l=(i=t.timestampLookBack)!==null&&i!==void 0?i:10;if(!n)return r;r+="?t="+Math.max(Math.floor((new Date().getTime()-n)/1e3)-l,0)}return r}alias(t,o){return t===this.get_property(s3)?(Fe.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?(ze(o)&&(o=this.get_distinct_id()),t!==o?(this.an(Dd,t),this.capture("$create_alias",{alias:t,distinct_id:o})):(Fe.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var o=Oe({},this.config);if(Ao(t)){var n,r,i,l,c,d,m,h,f,g;xo(this.config,wO(t));var v=this.qi();(n=this.persistence)==null||n.update_config(this.config,o,v),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new _S(Oe({},this.config,{persistence:"sessionStorage"}),v);var y=this.Bi(this.config.debug);xa(y)&&(this.config.debug=y),xa(this.config.debug)&&(this.config.debug?(Bn.DEBUG=!0,vo.R()&&vo.M("ph_debug",!0),Fe.info("set_config",{config:t,oldConfig:o,newConfig:Oe({},this.config)})):(Bn.DEBUG=!1,vo.R()&&vo.F("ph_debug"))),(r=this.exceptionObserver)==null||r.onConfigChange(),(i=this.exceptions)==null||i.onConfigChange(),(l=this.sessionRecording)==null||l.startIfEnabledOrStop(),(c=this.autocapture)==null||c.startIfEnabled(),(d=this.heatmaps)==null||d.startIfEnabled(),(m=this.exceptionObserver)==null||m.startIfEnabledOrStop(),(h=this.deadClicksAutocapture)==null||h.startIfEnabledOrStop(),(f=this.surveys)==null||f.loadIfEnabled(),this.cn(),(g=this.externalIntegrations)==null||g.startIfEnabledOrStop()}}_overrideSDKInfo(t,o){Bn.LIB_NAME=t,Bn.LIB_VERSION=o}startSessionRecording(t){var o,n,r,i,l,c=t===!0,d={sampling:c||!(t==null||!t.sampling),linked_flag:c||!(t==null||!t.linked_flag),url_trigger:c||!(t==null||!t.url_trigger),event_trigger:c||!(t==null||!t.event_trigger)};Object.values(d).some(Boolean)&&((o=this.sessionManager)==null||o.checkAndGetSessionAndWindowId(),d.sampling&&((n=this.sessionRecording)==null||n.overrideSampling()),d.linked_flag&&((r=this.sessionRecording)==null||r.overrideLinkedFlag()),d.url_trigger&&((i=this.sessionRecording)==null||i.overrideTrigger("url")),d.event_trigger&&((l=this.sessionRecording)==null||l.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,o){if(this.exceptions){var n=new Error("PostHog syntheticException"),r=this.exceptions.buildProperties(t,{handled:!0,syntheticException:n});return this.exceptions.sendExceptionEvent(Oe({},r,o))}}addExceptionStep(t,o){var n;(n=this.exceptions)==null||n.addExceptionStep(t,o)}captureLog(t){var o;(o=this.logs)==null||o.captureLog(t)}get logger(){var t,o;return(t=(o=this.logs)==null?void 0:o.logger)!==null&&t!==void 0?t:Fr.dn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var o,n;return(o=(n=this.toolbar)==null?void 0:n.loadToolbar(t))!==null&&o!==void 0&&o}get_property(t){var o;return(o=this.persistence)==null?void 0:o.props[t]}getSessionProperty(t){var o;return(o=this.sessionPersistence)==null?void 0:o.props[t]}toString(){var t,o=(t=this.config.name)!==null&&t!==void 0?t:Rc;return o!==Rc&&(o=Rc+"."+o),o}_isIdentified(){var t,o;return((t=this.persistence)==null?void 0:t.get_property(ta))===Sc||((o=this.sessionPersistence)==null?void 0:o.get_property(ta))===Sc}nn(){var t,o;return!(this.config.person_profiles==="never"||this.config.person_profiles===vw&&!this._isIdentified()&&Mc(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[Dd])&&((o=this.persistence)==null||(o=o.props)==null||!o[wg]))}Qi(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.nn()||this.sn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.sn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}sn(t){return this.config.person_profiles==="never"?(Fe.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(wg,!0),!0)}qi(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut();return this.config.disable_persistence||t&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==tl)}cn(){var t,o,n,r,i=this.qi();return((t=this.persistence)==null?void 0:t._r)!==i&&((n=this.persistence)==null||n.set_disabled(i)),((o=this.sessionPersistence)==null?void 0:o._r)!==i&&((r=this.sessionPersistence)==null||r.set_disabled(i)),i}opt_in_capturing(t){var o;if(this.config.cookieless_mode!==si){if(this.Ni()){var n,r,i,l,c;this.reset(!0),(n=this.sessionManager)==null||n.destroy(),(r=this.pageViewManager)==null||r.destroy(),this.sessionManager=new gO(this),this.pageViewManager=new aO(this),this.persistence&&(this.sessionPropsManager=new pO(this,this.sessionManager,this.persistence));var d,m=(i=(l=this.config.__extensionClasses)==null?void 0:l.sessionRecording)!==null&&i!==void 0?i:(c=Fr.__defaultExtensionClasses)==null?void 0:c.sessionRecording;m&&(this.sessionRecording=this.Ei(this.sessionRecording,new m(this)),this.Wi&&((d=this.sessionRecording)==null||d.onRemoteConfig==null||d.onRemoteConfig(this.Wi)))}var h,f;this.consent.optInOut(!0),this.cn(),this.Xi(),(o=this.sessionRecording)==null||o.startIfEnabledOrStop(),this.config.cookieless_mode==tl&&((h=this.surveys)==null||h.loadIfEnabled()),(ze(t?.captureEventName)||t!=null&&t.captureEventName)&&this.capture((f=t?.captureEventName)!==null&&f!==void 0?f:"$opt_in",t?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ji()}else Fe.warn(yO)}opt_out_capturing(){var t,o,n;this.config.cookieless_mode!==si?(this.config.cookieless_mode===tl&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===tl&&(this.register({distinct_id:dp,$device_id:null}),(t=this.sessionManager)==null||t.destroy(),(o=this.pageViewManager)==null||o.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,(n=this.sessionRecording)==null||n.stopRecording(),this.sessionRecording=void 0,this.Ji())):Fe.warn(yO)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===1?"granted":t===0?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===si||(this.config.cookieless_mode===tl?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return vr?I3(vr,this.config.custom_blocked_useragents):void 0}Ji(){Ne&&(Ne.visibilityState==="visible"?this.Oi||(this.Oi=!0,this.capture(Pc,{title:Ne.title},{send_instantly:!0}),this.Pi&&(Ne.removeEventListener(Cg,this.Pi),this.Pi=null)):this.Pi||(this.Pi=this.Ji.bind(this),qo(Ne,Cg,this.Pi)))}debug(t){t===!1?(pe?.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(pe?.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}Fr(){var t,o,n,r,i,l,c=this.ji||{};return"advanced_disable_flags"in c?!!c.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(Fe.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(n="advanced_disable_decide",r=Fe,i=(o="advanced_disable_flags")in(t=c)&&!Ct(t[o]),l=n in t&&!Ct(t[n]),i?t[o]:!!l&&(r&&r.warn("Config field '"+n+"' is deprecated. Please use '"+o+"' instead. The old field will be removed in a future major version."),t[n]))}rn(t){if(Ct(this.config.before_send))return t;var o=Dt(this.config.before_send)?this.config.before_send:[this.config.before_send],n=t;for(var r of o){if(n=r(n),Ct(n)){var i="Event '"+t.event+"' was rejected in beforeSend function";return wae(t.event)?Fe.warn(i+". This can cause unexpected behavior."):Fe.info(i),null}n.properties&&!Mc(n.properties)||Fe.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return n}getPageViewId(){var t;return(t=this.pageViewManager.dr)==null?void 0:t.pageViewId}captureTraceFeedback(t,o){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:o})}captureTraceMetric(t,o,n){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:o,$ai_metric_value:String(n)})}Bi(t){var o=xa(t)&&!t,n=vo.R()&&vo.O("ph_debug")==="true";return!o&&(!!n||t)}}function CO(e){return e instanceof Element&&(e.id===m3||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function Sv(e){return!!e&&e.nodeType===1}function fs(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function z3(e){return!!e&&e.nodeType===3}function j3(e){return!!e&&e.nodeType===11}function _E(e){return e?vv(e).split(/\s+/):[]}function EO(e){var t=pe?.location.href;return!!(t&&e&&e.some((o=>t.match(o))))}function Og(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return _E(t)}function U3(e){return Ct(e)?null:vv(e).split(/(\s+)/).filter((t=>Hd(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function fm(e){var t="";return Pw(e)&&!q3(e)&&e.childNodes&&e.childNodes.length&&lo(e.childNodes,(function(o){var n;z3(o)&&o.textContent&&(t+=(n=U3(o.textContent))!==null&&n!==void 0?n:"")})),vv(t)}function xO(e){return ze(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}Fr.__defaultExtensionClasses={},Fr.dn={trace:wc=()=>{},debug:wc,info:wc,warn:wc,error:wc,fatal:wc},(function(e,t){for(var o=0;t.length>o;o++)e.prototype[t[o]]=iie(e.prototype[t[o]])})(Fr,["identify"]);var wE=["a","button","form","input","select","textarea","label"];function TO(e,t){if(ze(t))return!0;var o,n=function(i){if(t.some((l=>i.matches(l))))return{v:!0}};for(var r of e)if(o=n(r))return o.v;return!1}function $3(e){var t=e.parentNode;return!(!t||!Sv(t))&&t}var Wie=["next","previous","prev",">","<"],PO=[".ph-no-rageclick",".ph-no-capture"],Tw=e=>!e||fs(e,"html")||!Sv(e),RO=(e,t)=>{if(!pe||Tw(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var o=!1,n=[e],r=e;r.parentNode&&!fs(r,"body");)if(j3(r.parentNode))n.push(r.parentNode.host),r=r.parentNode.host;else{var i=$3(r);if(!i)break;if(t||wE.indexOf(i.tagName.toLowerCase())>-1)o=!0;else{var l=pe.getComputedStyle(i);l&&l.getPropertyValue("cursor")==="pointer"&&(o=!0)}n.push(i),r=i}return{parentIsUsefulElement:o,targetElementList:n}};function Pw(e){for(var t=e;t.parentNode&&!fs(t,"body");t=t.parentNode){var o=Og(t);if(wt(o,"ph-sensitive")||wt(o,"ph-no-capture"))return!1}if(wt(Og(e),"ph-include"))return!0;var n=e.type||"";if(bo(n))switch(n.toLowerCase()){case"hidden":case"password":return!1}var r=e.name||e.id||"";return!bo(r)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(r.replace(/[^a-zA-Z0-9]/g,""))}function q3(e){return!!(fs(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||fs(e,"select")||fs(e,"textarea")||e.getAttribute("contenteditable")==="true")}var V3="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",Yie=new RegExp("^(?:"+V3+")$"),Zie=new RegExp(V3),H3="\\d{3}-?\\d{2}-?\\d{4}",Qie=new RegExp("^("+H3+")$"),Jie=new RegExp("("+H3+")");function Hd(e,t){return t===void 0&&(t=!0),!(Ct(e)||bo(e)&&(e=vv(e),(t?Yie:Zie).test((e||"").replace(/[- ]/g,""))||(t?Qie:Jie).test(e)))}function AO(e){var t=fm(e);return Hd(t=(t+" "+G3(e)).trim())?t:""}function G3(e){var t="";return e&&e.childNodes&&e.childNodes.length&&lo(e.childNodes,(function(o){var n;if(o&&((n=o.tagName)==null?void 0:n.toLowerCase())==="span")try{var r=fm(o);t=(t+" "+r).trim(),o.childNodes&&o.childNodes.length&&(t=(t+" "+G3(o)).trim())}catch(i){Fe.error("[AutoCapture]",i)}})),t}function kO(e){return e.replace(/"|\\"/g,'\\"')}function Xie(e){var t=e.attr__class;return t?Dt(t)?t:_E(t):void 0}class DO{constructor(t){this.disabled=t===!1;var o=Ao(t)?t:{};this.thresholdPx=o.threshold_px||30,this.timeoutMs=o.timeout_ms||1e3,this.clickCount=o.click_count||3,this.clicks=[]}isRageClick(t,o,n){if(this.disabled)return!1;var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(t-r.x)+Math.abs(o-r.y)<this.thresholdPx&&this.timeoutMs>n-r.timestamp){if(this.clicks.push({x:t,y:o,timestamp:n}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:o,timestamp:n}];return!1}}var AS="$copy_autocapture",OO=ho("[AutoCapture]");function kS(e,t){return t.length>e?t.slice(0,e)+"...":t}function ese(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!Sv(t));return t}function tse(e,t){for(var o,n,{e:r,maskAllElementAttributes:i,maskAllText:l,elementAttributeIgnoreList:c,elementsChainAsString:d}=t,m=[e],h=e;h.parentNode&&!fs(h,"body");)j3(h.parentNode)?(m.push(h.parentNode.host),h=h.parentNode.host):(m.push(h.parentNode),h=h.parentNode);var f,g,v=[],y={},S=!1,E=!1;if(lo(m,(T=>{var A=Pw(T);T.tagName.toLowerCase()==="a"&&(S=T.getAttribute("href"),S=A&&S&&Hd(S)&&S),wt(Og(T),"ph-no-capture")&&(E=!0),v.push((function(O,N,$,F){var U=O.tagName.toLowerCase(),j={tag_name:U};wE.indexOf(U)>-1&&!$&&(j.$el_text=U.toLowerCase()==="a"||U.toLowerCase()==="button"?kS(1024,AO(O)):kS(1024,fm(O)));var K=Og(O);K.length>0&&(j.classes=K.filter((function(te){return te!==""}))),lo(O.attributes,(function(te){var le;if((!q3(O)||["name","id","class","aria-label"].indexOf(te.name)!==-1)&&(F==null||!F.includes(te.name))&&!N&&Hd(te.value)&&(!bo(le=te.name)||le.substring(0,10)!=="_ngcontent"&&le.substring(0,7)!=="_nghost")){var Q=te.value;te.name==="class"&&(Q=_E(Q).join(" ")),j["attr__"+te.name]=kS(1024,Q)}}));for(var ae=1,V=1,Z=O;Z=ese(Z);)ae++,Z.tagName===O.tagName&&V++;return j.nth_child=ae,j.nth_of_type=V,j})(T,i,l,c));var k=(function(O){if(!Pw(O))return{};var N={};return lo(O.attributes,(function($){if($.name&&$.name.indexOf("data-ph-capture-attribute")===0){var F=$.name.replace("data-ph-capture-attribute-",""),U=$.value;F&&U&&Hd(U)&&(N[F]=U)}})),N})(T);xo(y,k)})),E)return{props:{},explicitNoCapture:E};if(l||(v[0].$el_text=e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?AO(e):fm(e)),S){var _,C;v[0].attr__href=S;var P=(_=Tg(S))==null?void 0:_.host,x=pe==null||(C=pe.location)==null?void 0:C.host;P&&x&&P!==x&&(f=S)}return{props:xo({$event_type:r.type,$ce_version:1},d?{}:{$elements:v},{$elements_chain:(g=v,(function(T){return T.map((A=>{var k,O,N="";if(A.tag_name&&(N+=A.tag_name),A.attr_class)for(var $ of(A.attr_class.sort(),A.attr_class))N+="."+$.replace(/"/g,"");var F=Oe({},A.text?{text:A.text}:{},{"nth-child":(k=A.nth_child)!==null&&k!==void 0?k:0,"nth-of-type":(O=A.nth_of_type)!==null&&O!==void 0?O:0},A.href?{href:A.href}:{},A.attr_id?{attr_id:A.attr_id}:{},A.attributes),U={};return Ip(F).sort(((j,K)=>{var[ae]=j,[V]=K;return ae.localeCompare(V)})).forEach((j=>{var[K,ae]=j;return U[kO(K.toString())]=kO(ae.toString())})),(N+=":")+Ip(U).map((j=>{var[K,ae]=j;return K+'="'+ae+'"'})).join("")})).join(";")})((function(T){return T.map((A=>{var k,O,N={text:(k=A.$el_text)==null?void 0:k.slice(0,400),tag_name:A.tag_name,href:(O=A.attr__href)==null?void 0:O.slice(0,2048),attr_class:Xie(A),attr_id:A.attr__id,nth_child:A.nth_child,nth_of_type:A.nth_of_type,attributes:{}};return Ip(A).filter(($=>{var[F]=$;return F.indexOf("attr__")===0})).forEach(($=>{var[F,U]=$;return N.attributes[F]=U})),N}))})(g)))},(o=v[0])!=null&&o.$el_text?{$el_text:(n=v[0])==null?void 0:n.$el_text}:{},f&&r.type==="click"?{$external_click_url:f}:{},y)}}var Cd=ho("[ExceptionAutocapture]");function MO(e,t,o){try{if(!(t in e))return()=>{};var n=e[t],r=o(n);return ai(r)&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=r,()=>{e[t]=n}}catch{return()=>{}}}var ose=ho("[TracingHeaders]"),Zi=ho("[Web Vitals]"),IO=9e5,LO="disabled",NO="lazy_loading",Ed="awaiting_config",vp="missing_config";ho("[SessionRecording]"),ho("[SessionRecording]");var Rw="[SessionRecording]",Qi=ho(Rw),nse=ho("[Heatmaps]");function FO(e){return Ao(e)&&"clientX"in e&&"clientY"in e&&Ur(e.clientX)&&Ur(e.clientY)}var BO=ho("[Product Tours]"),rse=["$set_once","$set"],Ji=ho("[SiteApps]"),zO="Error while initializing PostHog app with config id ";function Cc(e,t,o){if(Ct(e))return!1;switch(o){case"exact":return e===t;case"contains":var n=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(n,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class ase{constructor(t){this.vn=new SE,this.fn=(o,n)=>this.pn(o,n)&&this.gn(o,n)&&this.mn(o,n)&&this.yn(o,n),this.pn=(o,n)=>n==null||!n.event||o?.event===n?.event,this._instance=t,this.bn=new Set,this._n=new Set}init(){var t,o;ze((t=this._instance)==null?void 0:t._addCaptureHook)||(o=this._instance)==null||o._addCaptureHook(((n,r)=>{this.on(n,r)}))}register(t){var o,n;if(!ze((o=this._instance)==null?void 0:o._addCaptureHook)&&(t.forEach((l=>{var c,d;(c=this._n)==null||c.add(l),(d=l.steps)==null||d.forEach((m=>{var h;(h=this.bn)==null||h.add(m?.event||"")}))})),(n=this._instance)!=null&&n.autocapture)){var r,i=new Set;t.forEach((l=>{var c;(c=l.steps)==null||c.forEach((d=>{d!=null&&d.selector&&i.add(d?.selector)}))})),(r=this._instance)==null||r.autocapture.setElementSelectors(i)}}on(t,o){var n;o!=null&&t.length!=0&&(this.bn.has(t)||this.bn.has(o?.event))&&this._n&&((n=this._n)==null?void 0:n.size)>0&&this._n.forEach((r=>{this.wn(o,r)&&this.vn.emit("actionCaptured",r.name)}))}In(t){this.onAction("actionCaptured",(o=>t(o)))}wn(t,o){if(o?.steps==null)return!1;for(var n of o.steps)if(this.fn(t,n))return!0;return!1}onAction(t,o){return this.vn.on(t,o)}gn(t,o){if(o!=null&&o.url){var n,r=t==null||(n=t.properties)==null?void 0:n.$current_url;if(!r||typeof r!="string"||!Cc(r,o.url,o.url_matching||"contains"))return!1}return!0}mn(t,o){return!!this.Cn(t,o)&&!!this.Sn(t,o)&&!!this.xn(t,o)}Cn(t,o){var n;if(o==null||!o.href)return!0;var r=this.kn(t);if(r.length>0)return r.some((c=>Cc(c.href,o.href,o.href_matching||"exact")));var i,l=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";return!!l&&Cc((i=l.match(/(?::|")href="(.*?)"/))?i[1]:"",o.href,o.href_matching||"exact")}Sn(t,o){var n;if(o==null||!o.text)return!0;var r=this.kn(t);if(r.length>0)return r.some((m=>Cc(m.text,o.text,o.text_matching||"exact")||Cc(m.$el_text,o.text,o.text_matching||"exact")));var i,l,c,d=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";return!!d&&(i=(function(m){for(var h,f=[],g=/(?::|")text="(.*?)"/g;!Ct(h=g.exec(m));)f.includes(h[1])||f.push(h[1]);return f})(d),l=o.text,c=o.text_matching||"exact",i.some((m=>Cc(m,l,c))))}xn(t,o){var n,r;if(o==null||!o.selector)return!0;var i=t==null||(n=t.properties)==null?void 0:n.$element_selectors;if(i!=null&&i.includes(o.selector))return!0;var l=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";if(o.selector_regex&&l)try{return new RegExp(o.selector_regex).test(l)}catch{return!1}return!1}kn(t){var o;return(t==null||(o=t.properties)==null?void 0:o.$elements)==null?[]:t?.properties.$elements}yn(t,o){return o==null||!o.properties||o.properties.length===0||N3(o.properties.reduce(((n,r)=>{var i=Dt(r.value)?r.value.map(String):r.value!=null?[String(r.value)]:[];return n[r.key]={values:i,operator:r.operator||"exact"},n}),{}),t?.properties)}}class ise{constructor(t){this._instance=t,this.Tn=new Map,this.An=new Map,this.En=new Map}Rn(t,o){return!!t&&N3(t.propertyFilters,o?.properties)}Nn(t,o){var n=new Map;return t.forEach((r=>{var i;(i=r.conditions)==null||(i=i[o])==null||(i=i.values)==null||i.forEach((l=>{if(l!=null&&l.name){var c=n.get(l.name)||[];c.push(r.id),n.set(l.name,c)}}))})),n}Mn(t,o,n){var r=(n===bd.Activation?this.Tn:this.An).get(t),i=[];return this.Fn((l=>{i=l.filter((c=>r?.includes(c.id)))})),i.filter((l=>{var c,d=(c=l.conditions)==null||(c=c[n])==null||(c=c.values)==null?void 0:c.find((m=>m.name===t));return this.Rn(d,o)}))}register(t){var o;ze((o=this._instance)==null?void 0:o._addCaptureHook)||(this.On(t),this.Pn(t))}Pn(t){var o=t.filter((n=>{var r,i;return((r=n.conditions)==null?void 0:r.actions)&&((i=n.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0}));o.length!==0&&(this.Ln==null&&(this.Ln=new ase(this._instance),this.Ln.init(),this.Ln.In((n=>{this.onAction(n)}))),o.forEach((n=>{var r,i,l,c,d;n.conditions&&(r=n.conditions)!=null&&r.actions&&(i=n.conditions)!=null&&(i=i.actions)!=null&&i.values&&((l=n.conditions)==null||(l=l.actions)==null||(l=l.values)==null?void 0:l.length)>0&&((c=this.Ln)==null||c.register(n.conditions.actions.values),(d=n.conditions)==null||(d=d.actions)==null||(d=d.values)==null||d.forEach((m=>{if(m&&m.name){var h=this.En.get(m.name);h&&h.push(n.id),this.En.set(m.name,h||[n.id])}})))})))}On(t){var o,n=t.filter((i=>{var l,c;return((l=i.conditions)==null?void 0:l.events)&&((c=i.conditions)==null||(c=c.events)==null||(c=c.values)==null?void 0:c.length)>0})),r=t.filter((i=>{var l,c;return((l=i.conditions)==null?void 0:l.cancelEvents)&&((c=i.conditions)==null||(c=c.cancelEvents)==null||(c=c.values)==null?void 0:c.length)>0}));n.length===0&&r.length===0||((o=this._instance)==null||o._addCaptureHook(((i,l)=>{this.onEvent(i,l)})),this.Tn=this.Nn(t,bd.Activation),this.An=this.Nn(t,bd.Cancellation))}onEvent(t,o){var n,r=this.le(),i=this.Dn(),l=this.Bn(),c=((n=this._instance)==null||(n=n.persistence)==null?void 0:n.props[i])||[];if(l===t&&o&&c.length>0){var d,m;r.info("event matched, removing item from activated items",{event:t,eventPayload:o,existingActivatedItems:c});var h=(o==null||(d=o.properties)==null?void 0:d.$survey_id)||(o==null||(m=o.properties)==null?void 0:m.$product_tour_id);if(h){var f=c.indexOf(h);0>f||(c.splice(f,1),this.jn(c))}}else{if(this.An.has(t)){var g=this.Mn(t,o,bd.Cancellation);g.length>0&&(r.info("cancel event matched, cancelling items",{event:t,itemsToCancel:g.map((y=>y.id))}),g.forEach((y=>{var S=c.indexOf(y.id);0>S||c.splice(S,1),this.$n(y.id)})),this.jn(c))}if(this.Tn.has(t)){r.info("event name matched",{event:t,eventPayload:o,items:this.Tn.get(t)});var v=this.Mn(t,o,bd.Activation);this.jn(c.concat(v.map((y=>y.id))||[]))}}}onAction(t){var o,n=this.Dn(),r=((o=this._instance)==null||(o=o.persistence)==null?void 0:o.props[n])||[];this.En.has(t)&&this.jn(r.concat(this.En.get(t)||[]))}jn(t){var o=this.le(),n=[...new Set(t)].filter((r=>!this.qn(r)));o.info("updating activated items",{activatedItems:n}),this.Zn(n)}getActivatedIds(){var t,o=this.Dn();return((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[o])||[]}getEventToItemsMap(){return this.Tn}Vn(){return this.Ln}}class sse extends ise{constructor(t){super(t)}Dn(){return uw}Bn(){return Nd.SHOWN}Fn(t){var o;(o=this._instance)==null||o.getSurveys(t)}$n(t){var o;(o=this._instance)==null||o.cancelPendingSurvey(t)}le(){return Zt}Zn(t){var o;(o=this._instance)==null||(o=o.persistence)==null||o.register({[uw]:t})}qn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var DS="SDK is not enabled or survey functionality is not yet loaded",jO="Disabled. Not loading surveys.",lse=pe!=null&&pe.location?Rg(pe.location.hash,"__posthog")||Rg(location.hash,"state"):null,UO="_postHogToolbarParams",$O=ho("[Toolbar]"),Ln=ho("[FeatureFlags]"),Js=ho("[FeatureFlags]",{debugEnabled:!0}),OS=`" failed. Feature flags didn't load in time.`,qO=e=>{for(var t={},o=0;e.length>o;o++)t[e[o]]=!0;return t},VO=e=>{var t={};for(var[o,n]of Ip(e||{}))n&&(t[o]=n);return t},ni=ho("[Error tracking]"),HO="Refusing to render web experiment since the viewer is a likely bot",cse={icontains:(e,t)=>!!pe&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!pe&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!pe&&Dg(t.href,e),not_regex:(e,t)=>!!pe&&!Dg(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class Tn{get Bt(){return this._instance.config}constructor(t){var o=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(n){n===void 0&&(n=!1),o.getWebExperiments((r=>{Tn.Hn("retrieved web experiments from the server"),o.zn=new Map,r.forEach((i=>{if(i.feature_flag_key){var l;o.zn&&(Tn.Hn("setting flag key ",i.feature_flag_key," to web experiment ",i),(l=o.zn)==null||l.set(i.feature_flag_key,i));var c=o._instance.getFeatureFlag(i.feature_flag_key);bo(c)&&i.variants[c]&&o.Un(i.name,c,i.variants[c].transforms)}else if(i.variants)for(var d in i.variants){var m=i.variants[d];Tn.Yn(m)&&o.Un(i.name,d,m.transforms)}}))}),n)},this._instance=t,this._instance.onFeatureFlags((n=>{this.onFeatureFlags(n)}))}initialize(){}onFeatureFlags(t){if(this._is_bot())Tn.Hn(HO);else if(!this.Bt.disable_web_experiments){if(Ct(this.zn))return this.zn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();Tn.Hn("applying feature flags",t),t.forEach((o=>{var n;if(this.zn&&(n=this.zn)!=null&&n.has(o)){var r,i=this._instance.getFeatureFlag(o),l=(r=this.zn)==null?void 0:r.get(o);i&&l!=null&&l.variants[i]&&this.Un(l.name,i,l.variants[i].transforms)}}))}}previewWebExperiment(){var t=Tn.getWindowLocation();if(t!=null&&t.search){var o=Pg(t?.search,"__experiment_id"),n=Pg(t?.search,"__experiment_variant");o&&n&&(Tn.Hn("previewing web experiments "+o+" && "+n),this.getWebExperiments((r=>{this.Gn(parseInt(o),n,r)}),!1,!0))}}loadIfEnabled(){this.Bt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,o,n){if(this.Bt.disable_web_experiments&&!n)return t([]);var r=this._instance.get_property("$web_experiments");if(r&&!o)return t(r);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Bt.token),method:"GET",callback:i=>t(i.statusCode===200&&i.json&&i.json.experiments||[])})}Gn(t,o,n){var r=n.filter((i=>i.id===t));r&&r.length>0&&(Tn.Hn("Previewing web experiment ["+r[0].name+"] with variant ["+o+"]"),this.Un(r[0].name,o,r[0].variants[o].transforms))}static Yn(t){return!Ct(t.conditions)&&Tn.Wn(t)&&Tn.Xn(t)}static Wn(t){var o;if(Ct(t.conditions)||Ct((o=t.conditions)==null?void 0:o.url))return!0;var n,r,i,l=Tn.getWindowLocation();return!!l&&((n=t.conditions)==null||!n.url||cse[(r=(i=t.conditions)==null?void 0:i.urlMatchType)!==null&&r!==void 0?r:"icontains"](t.conditions.url,l))}static getWindowLocation(){return pe?.location}static Xn(t){var o;if(Ct(t.conditions)||Ct((o=t.conditions)==null?void 0:o.utm))return!0;var n=S3();if(n.utm_source){var r,i,l,c,d,m,h,f,g=(r=t.conditions)==null||(r=r.utm)==null||!r.utm_campaign||((i=t.conditions)==null||(i=i.utm)==null?void 0:i.utm_campaign)==n.utm_campaign,v=(l=t.conditions)==null||(l=l.utm)==null||!l.utm_source||((c=t.conditions)==null||(c=c.utm)==null?void 0:c.utm_source)==n.utm_source,y=(d=t.conditions)==null||(d=d.utm)==null||!d.utm_medium||((m=t.conditions)==null||(m=m.utm)==null?void 0:m.utm_medium)==n.utm_medium,S=(h=t.conditions)==null||(h=h.utm)==null||!h.utm_term||((f=t.conditions)==null||(f=f.utm)==null?void 0:f.utm_term)==n.utm_term;return g&&y&&S&&v}return!1}static Hn(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;o>r;r++)n[r-1]=arguments[r];Fe.info("[WebExperiments] "+t,n)}Un(t,o,n){this._is_bot()?Tn.Hn(HO):o!=="control"?n.forEach((r=>{if(r.selector){var i;Tn.Hn("applying transform of variant "+o+" for experiment "+t+" ",r);var l=(i=document)==null?void 0:i.querySelectorAll(r.selector);l?.forEach((c=>{var d=c;r.html&&(d.innerHTML=r.html),r.css&&d.setAttribute("style",r.css)}))}})):Tn.Hn("Control variants leave the page unmodified.")}_is_bot(){return vr&&this._instance?I3(vr,this.Bt.custom_blocked_useragents):void 0}}var Ir=ho("[Conversations]"),Xs="Conversations not available yet.",_v={featureFlags:class{constructor(e){this.Jn=!1,this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.ns=!1,this.ss=!1,this._instance=e,this.featureFlagEventHandlers=[]}get Bt(){return this._instance.config}get ni(){return this._instance.persistence}os(e){return this._instance.get_property(e)}ls(){var e,t;return(e=(t=this.ni)==null?void 0:t.wr(this.Bt.feature_flag_cache_ttl_ms))!==null&&e!==void 0&&e}us(){return!!this.ls()&&(this.ss||this.Qn||(this.ss=!0,Ln.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}hs(){var e,t=(e=this.Bt.evaluation_contexts)!==null&&e!==void 0?e:this.Bt.evaluation_environments;return!this.Bt.evaluation_environments||this.Bt.evaluation_contexts||this.ns||(Ln.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ns=!0),t!=null&&t.length?t.filter((o=>{var n=o&&typeof o=="string"&&o.trim().length>0;return n||Ln.error("Invalid evaluation context found:",o,"Expected non-empty string"),n})):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:o}=this._instance,n=(e=(t=o.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(n).length){var r,i,l=(r=(i=o.bootstrap)==null?void 0:i.featureFlagPayloads)!==null&&r!==void 0?r:{},c=Object.keys(n).filter((m=>!!n[m])).reduce(((m,h)=>(m[h]=n[h]||!1,m)),{}),d=Object.keys(l).filter((m=>c[m])).reduce(((m,h)=>(l[h]&&(m[h]=l[h]),m)),{});this.receivedFeatureFlags({featureFlags:c,featureFlagPayloads:d})}}updateFlags(e,t,o){var n=o!=null&&o.merge?this.getFlagVariants():{},r=o!=null&&o.merge?this.getFlagPayloads():{},i=Oe({},n,e),l=Oe({},r,t),c={};for(var[d,m]of Object.entries(i)){var h=typeof m=="string";c[d]={key:d,enabled:!!h||!!m,variant:h?m:void 0,reason:void 0,metadata:ze(l?.[d])?void 0:{id:0,version:void 0,description:void 0,payload:l[d]}}}this.receivedFeatureFlags({flags:c})}get hasLoadedFlags(){return this.Kn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.os(iw),t=this.os(ri),o=this.os(Tc);if(!o&&!t)return e||{};var n=xo({},e||{}),r=[...new Set([...Object.keys(o||{}),...Object.keys(t||{})])];for(var i of r){var l,c,d=n[i],m=t?.[i],h=ze(m)?(l=d?.enabled)!==null&&l!==void 0&&l:!!m,f=ze(m)?d.variant:typeof m=="string"?m:void 0,g=o?.[i],v=Oe({},d,{enabled:h,variant:h?f??d?.variant:void 0});h!==d?.enabled&&(v.original_enabled=d?.enabled),f!==d?.variant&&(v.original_variant=d?.variant),g&&(v.metadata=Oe({},d?.metadata,{payload:g,original_payload:d==null||(c=d.metadata)==null?void 0:c.payload})),n[i]=v}return this.Jn||(Ln.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:o,finalDetails:n}),this.Jn=!0),n}getFlagVariants(){var e=this.os(Ic),t=this.os(ri);if(!t)return e||{};for(var o=xo({},e),n=Object.keys(t),r=0;n.length>r;r++)o[n[r]]=t[n[r]];return this.Jn||(Ln.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:o}),this.Jn=!0),o}getFlagPayloads(){var e=this.os(sw),t=this.os(Tc);if(!t)return e||{};for(var o=xo({},e||{}),n=Object.keys(t),r=0;n.length>r;r++)o[n[r]]=t[n[r]];return this.Jn||(Ln.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:o}),this.Jn=!0),o}reloadFeatureFlags(){this.es||this.Bt.advanced_disable_feature_flags||this.ds||(this._instance.Fi.emit("featureFlagsReloading",!0),this.ds=setTimeout((()=>{this.vs()}),5))}fs(){clearTimeout(this.ds),this.ds=void 0}ensureFlagsLoaded(){this.Kn||this.Qn||this.ds||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.es=e}vs(e){var t;if(this.fs(),!this._instance.Fr())if(this.Qn)this.ts=!0;else{var o=this.Bt.token,n=this.os(bg),r={token:o,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Oe({},((t=this.ni)==null?void 0:t.get_initial_props())||{},this.os(Ld)||{}),group_properties:this.os(el),timezone:T3()};yi(n)||ze(n)||(r.$device_id=n),(e!=null&&e.disableFlags||this.Bt.advanced_disable_feature_flags)&&(r.disable_flags=!0),this.cs()&&(r.evaluation_contexts=this.hs());var i=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.Bt.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Qn=!0,this._instance._send_request({method:"POST",url:i,data:r,compression:this.Bt.disable_compression?void 0:ya.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback:l=>{var c,d,m,h=!0;if(l.statusCode===200&&(this.ts||(this.$anon_distinct_id=void 0),h=!1),this.Qn=!1,!r.disable_flags||this.ts){this.rs=!h;var f=[];l.error?l.error instanceof Error?f.push(l.error.name==="AbortError"?"timeout":"connection_error"):f.push("unknown_error"):l.statusCode!==200&&f.push("api_error_"+l.statusCode),(c=l.json)!=null&&c.errorsWhileComputingFlags&&f.push("errors_while_computing_flags");var g,v=!((d=l.json)==null||(d=d.quotaLimited)==null||!d.includes("feature_flags"));v&&f.push("quota_limited"),(m=this.ni)==null||m.register({[mw]:f}),v?Ln.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(r.disable_flags||this.receivedFeatureFlags((g=l.json)!==null&&g!==void 0?g:{},h,{partialResponse:!!this.Bt.advanced_only_evaluate_survey_feature_flags}),this.ts&&(this.ts=!1,this.vs()))}}})}}getFeatureFlag(e,t){var o;if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var n=this.getFeatureFlagResult(e,t);return(o=n?.variant)!==null&&o!==void 0?o:n?.enabled}}else Ln.warn('getFeatureFlag for key "'+e+OS)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return t?.payload}getFeatureFlagResult(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var o=this.getFlagVariants(),n=e in o,r=o[e],i=this.getFlagPayloads()[e],l=String(r),c=this.os(lw)||void 0,d=this.os(Sg)||void 0,m=this.os($d)||{};if(this.Bt.advanced_feature_flags_dedup_per_session){var h,f=this._instance.get_session_id(),g=this.os(dw);f&&f!==g&&(m={},(h=this.ni)==null||h.register({[$d]:m,[dw]:f}))}if((t.send_event||!("send_event"in t))&&(!(e in m)||!m[e].includes(l))){var v,y,S,E,_,C,P,x,T,A;Dt(m[e])?m[e].push(l):m[e]=[l],(v=this.ni)==null||v.register({[$d]:m});var k=this.getFeatureFlagDetails(e),O=[...(y=this.os(mw))!==null&&y!==void 0?y:[]];ze(r)&&O.push("flag_missing");var N={$feature_flag:e,$feature_flag_response:r,$feature_flag_payload:i||null,$feature_flag_request_id:c,$feature_flag_evaluated_at:d,$feature_flag_bootstrapped_response:((S=this.Bt.bootstrap)==null||(S=S.featureFlags)==null?void 0:S[e])||null,$feature_flag_bootstrapped_payload:((E=this.Bt.bootstrap)==null||(E=E.featureFlagPayloads)==null?void 0:E[e])||null,$used_bootstrap_value:!this.rs};ze(k==null||(_=k.metadata)==null?void 0:_.version)||(N.$feature_flag_version=k.metadata.version);var $,F=(C=k==null||(P=k.reason)==null?void 0:P.description)!==null&&C!==void 0?C:k==null||(x=k.reason)==null?void 0:x.code;F&&(N.$feature_flag_reason=F),k!=null&&(T=k.metadata)!=null&&T.id&&(N.$feature_flag_id=k.metadata.id),ze(k?.original_variant)&&ze(k?.original_enabled)||(N.$feature_flag_original_response=ze(k.original_variant)?k.original_enabled:k.original_variant),k!=null&&(A=k.metadata)!=null&&A.original_payload&&(N.$feature_flag_original_payload=k==null||($=k.metadata)==null?void 0:$.original_payload),O.length&&(N.$feature_flag_error=O.join(",")),this._instance.capture("$feature_flag_called",N)}if(n){var U=i;if(!ze(i))try{U=JSON.parse(i)}catch{}return{key:e,enabled:!!r,variant:typeof r=="string"?r:void 0,payload:U}}}}else Ln.warn('getFeatureFlagResult for key "'+e+OS)}getRemoteConfigPayload(e,t){var o=this.Bt.token,n={distinct_id:this._instance.get_distinct_id(),token:o};this.cs()&&(n.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:n,compression:this.Bt.disable_compression?void 0:ya.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback(r){var i,l=(i=r.json)==null?void 0:i.featureFlagPayloads;t(l?.[e]||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs){if(this.Kn||this.getFlags()&&this.getFlags().length>0){var o=this.getFeatureFlag(e,t);return ze(o)?void 0:!!o}Ln.warn('isFeatureEnabled for key "'+e+OS)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((t=>t!==e))}receivedFeatureFlags(e,t,o){if(this.ni){this.Kn=!0;var n=this.getFlagVariants(),r=this.getFlagPayloads(),i=this.getFlagsWithDetails();(function(l,c,d,m,h,f){d===void 0&&(d={}),m===void 0&&(m={}),h===void 0&&(h={});var g=(O=>{var N=O.flags;return N?(O.featureFlags=Object.fromEntries(Object.keys(N).map(($=>{var F;return[$,(F=N[$].variant)!==null&&F!==void 0?F:N[$].enabled]}))),O.featureFlagPayloads=Object.fromEntries(Object.keys(N).filter(($=>N[$].enabled)).filter(($=>{var F;return(F=N[$].metadata)==null?void 0:F.payload})).map(($=>{var F;return[$,(F=N[$].metadata)==null?void 0:F.payload]})))):Ln.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),O})(l),v=g.flags,y=g.featureFlags,S=g.featureFlagPayloads;if(y){var E=l.requestId,_=l.evaluatedAt;if(Dt(y)){Ln.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var C={};if(y)for(var P=0;y.length>P;P++)C[y[P]]=!0;c&&c.register({[Op]:y,[Ic]:C})}else{var x=y,T=S,A=v;if(f!=null&&f.partialResponse)x=Oe({},d,x),T=Oe({},m,T),A=Oe({},h,A);else if(l.errorsWhileComputingFlags)if(v){var k=new Set(Object.keys(v).filter((O=>{var N;return!((N=v[O])!=null&&N.failed)})));x=Oe({},d,Object.fromEntries(Object.entries(x).filter((O=>{var[N]=O;return k.has(N)})))),T=Oe({},m,Object.fromEntries(Object.entries(T||{}).filter((O=>{var[N]=O;return k.has(N)})))),A=Oe({},h,Object.fromEntries(Object.entries(A||{}).filter((O=>{var[N]=O;return k.has(N)}))))}else x=Oe({},d,x),T=Oe({},m,T),A=Oe({},h,A);c&&c.register(Oe({[Op]:Object.keys(VO(x)),[Ic]:x||{},[sw]:T||{},[iw]:A||{}},E?{[lw]:E}:{},_?{[Sg]:_}:{}))}}})(e,this.ni,n,r,i,o),t||(this.ss=!1),this.ps(t)}}override(e,t){t===void 0&&(t=!1),Ln.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return Ln.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ni.unregister(ri),this.ni.unregister(Tc),this.ps(),Js.info("All overrides cleared");if(Dt(e)){var t=qO(e);return this.ni.register({[ri]:t}),this.ps(),Js.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var o,n=e;if(this.Jn=!!((o=n.suppressWarning)!==null&&o!==void 0&&o),"flags"in n){if(n.flags===!1)this.ni.unregister(ri),Js.info("Flag overrides cleared");else if(n.flags){if(Dt(n.flags)){var r=qO(n.flags);this.ni.register({[ri]:r})}else this.ni.register({[ri]:n.flags});Js.info("Flag overrides set",{flags:n.flags})}}return"payloads"in n&&(n.payloads===!1?(this.ni.unregister(Tc),Js.info("Payload overrides cleared")):n.payloads&&(this.ni.register({[Tc]:n.payloads}),Js.info("Payload overrides set",{payloads:n.payloads}))),void this.ps()}if(e&&typeof e=="object")return this.ni.register({[ri]:e}),this.ps(),Js.info("Flag overrides set",{flags:e});Ln.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Kn){var{flags:t,flagVariants:o}=this.gs();e(t,o)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,o){var n,r=(this.os(Id)||[]).find((d=>d.flagKey===e)),i={["$feature_enrollment/"+e]:t},l={$feature_flag:e,$feature_enrollment:t,$set:i};r&&(l.$early_access_feature_name=r.name),o&&(l.$feature_enrollment_stage=o),this._instance.capture("$feature_enrollment_update",l),this.setPersonPropertiesForFlags(i,!1);var c=Oe({},this.getFlagVariants(),{[e]:t});(n=this.ni)==null||n.register({[Op]:Object.keys(VO(c)),[Ic]:c}),this.ps()}getEarlyAccessFeatures(e,t,o){t===void 0&&(t=!1);var n=this.os(Id),r=o?"&"+o.map((i=>"stage="+i)).join("&"):"";if(n&&!t)return e(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Bt.token+r),method:"GET",callback:i=>{var l,c;if(i.json){var d=i.json.earlyAccessFeatures;return(l=this.ni)==null||l.unregister(Id),(c=this.ni)==null||c.register({[Id]:d}),e(d)}}})}gs(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((o=>t[o])),flagVariants:Object.keys(t).filter((o=>t[o])).reduce(((o,n)=>(o[n]=t[n],o)),{})}}ps(e){var{flags:t,flagVariants:o}=this.gs();this.featureFlagEventHandlers.forEach((n=>n(t,o,{errorsLoading:e})))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(Ld)||{},n=e?.$set||(e!=null&&e.$set_once?{}:e),r=e?.$set_once,i={};if(r)for(var l in r)({}).hasOwnProperty.call(r,l)&&(l in o||(i[l]=r[l]));this._instance.register({[Ld]:Oe({},o,i,n)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(Ld)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(el)||{};Object.keys(o).length!==0&&Object.keys(o).forEach((n=>{o[n]=Oe({},o[n],e[n]),delete e[n]})),this._instance.register({[el]:Oe({},o,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(el)||{};this._instance.register({[el]:Oe({},t,{[e]:{}})})}else this._instance.unregister(el)}reset(){this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.$anon_distinct_id=void 0,this.fs(),this.Jn=!1}}},use={sessionRecording:class{get Bt(){return this._instance.config}get ni(){return this._instance.persistence}get started(){var e;return!((e=this.ys)==null||!e.isStarted)}get status(){var e,t;return this.bs===Ed||this.bs===vp?this.bs:(e=(t=this.ys)==null?void 0:t.status)!==null&&e!==void 0?e:this.bs}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.bs=LO,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw Qi.error("started without valid sessionManager"),new Error(Rw+" started without valid sessionManager. This is a bug.");if(this.Bt.cookieless_mode===si)throw new Error(Rw+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!((e=this._instance.get_property(Md))==null||!e.enabled),o=!this.Bt.disable_session_recording,n=this.Bt.disable_session_recording||this._instance.consent.isOptedOut();return pe&&t&&o&&!n}startIfEnabledOrStop(e){var t;if(!this.ws||(t=this.ys)==null||!t.isStarted){var o=!ze(Object.assign)&&!ze(Array.from);this.ws&&o?(this.Is(e),Qi.info("starting")):(this.bs=LO,this.stopRecording())}}Is(e){var t,o,n;this.ws&&(this.bs!==Ed&&this.bs!==vp&&(this.bs=NO),Ze!=null&&(t=Ze.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(o=Ze.__PosthogExtensions__)!=null&&o.initSessionRecording?this.Cs(e):(n=Ze.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,this.Ss,(r=>{if(r)return Qi.error("could not load recorder",r);this.Cs(e)})))}stopRecording(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.stop()}xs(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.discard()}ks(){var e;(e=this.ni)==null||e.unregister(pE)}Ts(e,t){if(Ct(e))return null;var o,n=Ur(e)?e:parseFloat(e);return typeof(o=n)!="number"||!Number.isFinite(o)||0>o||o>1?(Qi.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):n}As(e){if(this.ni){var t,o,n=this.ni,r=()=>{var i,l=e.sessionRecording===!1?void 0:e.sessionRecording,c=this.Ts((i=this.Bt.session_recording)==null?void 0:i.sampleRate,"session_recording.sampleRate"),d=this.Ts(l?.sampleRate,"remote config sampleRate"),m=c??d;Ct(m)&&this.ks();var h=l?.minimumDurationMilliseconds;n.register({[Md]:Oe({cache_timestamp:Date.now(),enabled:!!l},l,{networkPayloadCapture:Oe({capturePerformance:e.capturePerformance},l?.networkPayloadCapture),canvasRecording:{enabled:l?.recordCanvas,fps:l?.canvasFps,quality:l?.canvasQuality},sampleRate:m,minimumDurationMilliseconds:ze(h)?null:h,endpoint:l?.endpoint,triggerMatchType:l?.triggerMatchType,masking:l?.masking,urlTriggers:l?.urlTriggers,version:l?.version,triggerGroups:l?.triggerGroups})})};r(),(t=this._s)==null||t.call(this),this._s=(o=this._instance.sessionManager)==null?void 0:o.onSessionId(r)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.As(e),void this.xs()):(this.As(e),void this.startIfEnabledOrStop()):(this.bs===Ed&&(this.bs=vp,Qi.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var o;t===void 0&&(t="log"),(o=this.ys)!=null&&o.log?this.ys.log(e,t):Qi.warn("log called before recorder was ready")}get Ss(){var e,t,o=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(Md);return(o==null||(t=o.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}Es(){var e,t=this._instance.get_property(Md);if(!t)return!1;var o=(e=(typeof t=="object"?t:JSON.parse(t)).cache_timestamp)!==null&&e!==void 0?e:Date.now();return 36e5>=Date.now()-o}Cs(e){var t,o;if((t=Ze.__PosthogExtensions__)==null||!t.initSessionRecording)return Qi.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[p3]:!0});if(this.ys||(this.ys=(o=Ze.__PosthogExtensions__)==null?void 0:o.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es())return this.bs===vp||this.bs===Ed?void 0:(this.bs=Ed,Qi.info("persisted remote config is stale, requesting fresh config before starting"),void new P3(this._instance).load());this.bs=NO,this.ys.start(e)}onRRwebEmit(e){var t;(t=this.ys)==null||t.onRRwebEmit==null||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.ys||(t=this.ni)==null||t.register({[c3]:!0}),(e=this.ys)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||(t=this.ni)==null||t.register({[l3]:!0}),(e=this.ys)==null||e.overrideSampling()}overrideTrigger(e){var t,o;this.ys||(o=this.ni)==null||o.register({[e==="url"?u3:d3]:!0}),(t=this.ys)==null||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return((e=this.ys)==null?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var o;return!((o=this.ys)==null||!o.tryAddCustomEvent(e,t))}}},dse={autocapture:class{constructor(e){this.Rs=!1,this.Ns=null,this.Ms=!1,this.instance=e,this.rageclicks=new DO(e.config.rageclick),this.Fs=null}initialize(){this.startIfEnabled()}get Bt(){var e,t,o=Ao(this.instance.config.autocapture)?this.instance.config.autocapture:{};return o.url_allowlist=(e=o.url_allowlist)==null?void 0:e.map((n=>new RegExp(n))),o.url_ignorelist=(t=o.url_ignorelist)==null?void 0:t.map((n=>new RegExp(n))),o}Os(){if(this.isBrowserSupported()){if(pe&&Ne){var e=o=>{o=o||pe?.event;try{this.Ps(o)}catch(n){OO.error("Failed to capture event",n)}};if(qo(Ne,"submit",e,{capture:!0}),qo(Ne,"change",e,{capture:!0}),qo(Ne,"click",e,{capture:!0}),this.Bt.capture_copied_text){var t=o=>{this.Ps(o=o||pe?.event,AS)};qo(Ne,"copy",t,{capture:!0}),qo(Ne,"cut",t,{capture:!0})}}}else OO.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Rs&&(this.Os(),this.Rs=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Ms=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[J_]:!!e.autocapture_opt_out}),this.Ns=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Fs=e}getElementSelectors(e){var t,o=[];return(t=this.Fs)==null||t.forEach((n=>{var r=Ne?.querySelectorAll(n);r?.forEach((i=>{e===i&&o.push(n)}))})),o}get isEnabled(){var e,t,o=(e=this.instance.persistence)==null?void 0:e.props[J_];if(yi(this.Ns)&&!xa(o)&&!this.instance.Fr())return!1;var n=(t=this.Ns)!==null&&t!==void 0?t:!!o;return!!this.instance.config.autocapture&&!n}Ps(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var o,n=xO(e);z3(n)&&(n=n.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(o=this.rageclicks)!=null&&o.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&(function(f,g){if(!pe||Tw(f))return!1;var v,y,S;if(xa(g)?(v=!!g&&PO,y=void 0):(v=(S=g?.css_selector_ignorelist)!==null&&S!==void 0?S:PO,y=g?.content_ignorelist),v===!1)return!1;var{targetElementList:E}=RO(f,!1);return!(function(_,C){if(_===!1||ze(_))return!1;var P;if(_===!0)P=Wie;else{if(!Dt(_))return!1;if(_.length>10)return Fe.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;P=_.map((x=>x.toLowerCase()))}return C.some((x=>{var{safeText:T,ariaLabel:A}=x;return P.some((k=>T.includes(k)||A.includes(k)))}))})(y,E.map((_=>{var C;return{safeText:fm(_).toLowerCase(),ariaLabel:((C=_.getAttribute("aria-label"))==null?void 0:C.toLowerCase().trim())||""}})))&&!TO(E,v)})(n,this.instance.config.rageclick)&&this.Ps(e,"$rageclick");var r=t===AS;if(n&&(function(f,g,v,y,S){var E,_,C,P;if(v===void 0&&(v=void 0),!pe||Tw(f)||(E=v)!=null&&E.url_allowlist&&!EO(v.url_allowlist)||(_=v)!=null&&_.url_ignorelist&&EO(v.url_ignorelist))return!1;if((C=v)!=null&&C.dom_event_allowlist){var x=v.dom_event_allowlist;if(x&&!x.some((N=>g.type===N)))return!1}var{parentIsUsefulElement:T,targetElementList:A}=RO(f,y);if(!(function(N,$){var F=$?.element_allowlist;if(ze(F))return!0;var U,j=function(ae){if(F.some((V=>ae.tagName.toLowerCase()===V)))return{v:!0}};for(var K of N)if(U=j(K))return U.v;return!1})(A,v)||!TO(A,(P=v)==null?void 0:P.css_selector_allowlist))return!1;var k=pe.getComputedStyle(f);if(k&&k.getPropertyValue("cursor")==="pointer"&&g.type==="click")return!0;var O=f.tagName.toLowerCase();switch(O){case"html":return!1;case"form":return(S||["submit"]).indexOf(g.type)>=0;case"input":case"select":case"textarea":return(S||["change","click"]).indexOf(g.type)>=0;default:return T?(S||["click"]).indexOf(g.type)>=0:(S||["click"]).indexOf(g.type)>=0&&(wE.indexOf(O)>-1||f.getAttribute("contenteditable")==="true")}})(n,e,this.Bt,r,r?["copy","cut"]:void 0)){var{props:i,explicitNoCapture:l}=tse(n,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.Bt.element_attribute_ignorelist,elementsChainAsString:this.Ms});if(l)return!1;var c=this.getElementSelectors(n);if(c&&c.length>0&&(i.$element_selectors=c),t===AS){var d,m=U3(pe==null||(d=pe.getSelection())==null?void 0:d.toString()),h=e.type||"clipboard";if(!m)return!1;i.$selected_content=m,i.$copy_type=h}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return ai(Ne?.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.Ls=(pe==null||(t=pe.location)==null?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(Fe.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.Ds&&this.Ds(),this.Ds=void 0,Fe.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(pe&&pe.history){var o=this;(e=pe.history.pushState)!=null&&e.__posthog_wrapped__||MO(pe.history,"pushState",(n=>function(r,i,l){n.call(this,r,i,l),o.Bs("pushState")})),(t=pe.history.replaceState)!=null&&t.__posthog_wrapped__||MO(pe.history,"replaceState",(n=>function(r,i,l){n.call(this,r,i,l),o.Bs("replaceState")})),this.js()}}Bs(e){try{var t,o=pe==null||(t=pe.location)==null?void 0:t.pathname;if(!o)return;o!==this.Ls&&this.isEnabled&&this._instance.capture(Pc,{navigation_type:e}),this.Ls=o}catch(n){Fe.error("Error capturing "+e+" pageview",n)}}js(){if(!this.Ds){var e=()=>{this.Bs("popstate")};qo(pe,"popstate",e),this.Ds=()=>{pe&&pe.removeEventListener("popstate",e)}}}},heatmaps:class{get Bt(){return this.instance.config}constructor(e){var t;this.$s=!1,this.Rs=!1,this.qs=null,this.instance=e,this.$s=!((t=this.instance.persistence)==null||!t.props[X_]),this.rageclicks=new DO(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Ao(this.Bt.capture_heatmaps)&&this.Bt.capture_heatmaps.flush_interval_milliseconds&&(e=this.Bt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return Ct(this.Bt.capture_heatmaps)?Ct(this.Bt.enable_heatmaps)?this.$s:this.Bt.enable_heatmaps:this.Bt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Rs)return;nse.info("starting..."),this.Zs(),this.Ft()}else{var e;clearInterval((e=this.qs)!==null&&e!==void 0?e:void 0),this.Vs(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[X_]:t}),this.$s=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.T;return this.T=void 0,e}Hs(e){this.Tt(e.originalEvent,"deadclick")}Ft(){this.qs&&clearInterval(this.qs),this.qs=Ne?.visibilityState==="visible"?setInterval(this.Yr.bind(this),this.flushIntervalMilliseconds):null}Zs(){pe&&Ne&&(this.zs=this.Yr.bind(this),qo(pe,Eg,this.zs),this.Us=e=>this.Tt(e||pe?.event),qo(Ne,"click",this.Us,{capture:!0}),this.Ys=e=>this.Gs(e||pe?.event),qo(Ne,"mousemove",this.Ys,{capture:!0}),this.Ws=new rO(this.instance,gie,this.Hs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Xs=this.Ft.bind(this),qo(Ne,Cg,this.Xs),this.Rs=!0)}Vs(){var e;pe&&Ne&&(this.zs&&pe.removeEventListener(Eg,this.zs),this.Us&&Ne.removeEventListener("click",this.Us,{capture:!0}),this.Ys&&Ne.removeEventListener("mousemove",this.Ys,{capture:!0}),this.Xs&&Ne.removeEventListener(Cg,this.Xs),clearTimeout(this.Js),(e=this.Ws)==null||e.stop(),this.Rs=!1)}Ks(e,t){var o=this.instance.scrollManager.scrollY(),n=this.instance.scrollManager.scrollX(),r=this.instance.scrollManager.scrollElement(),i=(function(l,c,d){for(var m=l;m&&Sv(m)&&!fs(m,"body");){if(m===d)return!1;if(wt(c,pe?.getComputedStyle(m).position))return!0;m=$3(m)}return!1})(xO(e),["fixed","sticky"],r);return{x:e.clientX+(i?0:n),y:e.clientY+(i?0:o),target_fixed:i,type:t}}Tt(e,t){var o;if(t===void 0&&(t="click"),!CO(e.target)&&FO(e)){var n=this.Ks(e,t);(o=this.rageclicks)!=null&&o.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Qs(Oe({},n,{type:"rageclick"})),this.Qs(n)}}Gs(e){!CO(e.target)&&FO(e)&&(clearTimeout(this.Js),this.Js=setTimeout((()=>{this.Qs(this.Ks(e,"mousemove"))}),500))}Qs(e){if(pe){var t=pe.location.href,o=this.Bt.custom_personal_data_properties,n=this.Bt.mask_personal_data_properties?[...ou,...o||[]]:[],r=dm(t,n,mm);this.T=this.T||{},this.T[r]||(this.T[r]=[]),this.T[r].push(e)}}Yr(){this.T&&!Mc(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:rO,webVitalsAutocapture:class{constructor(e){var t;this.$s=!1,this.Rs=!1,this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),this.T.metrics.length!==0&&(this._instance.capture("$web_vitals",this.T.metrics.reduce(((o,n)=>Oe({},o,{["$web_vitals_"+n.name+"_event"]:Oe({},n),["$web_vitals_"+n.name+"_value"]:n.value})),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=o=>{var n,r=(n=this._instance.sessionManager)==null?void 0:n.checkAndGetSessionAndWindowId(!0);if(ze(r))Zi.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.io();ze(i)||(Ct(o?.name)||Ct(o?.value)?Zi.error("Invalid metric received",o):!this.no||this.no>o.value?(this.T.url!==i&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),ze(this.T.url)&&(this.T.url=i),this.T.firstMetricTimestamp=ze(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,o.attribution&&o.attribution.interactionTargetElement&&(o.attribution.interactionTargetElement=void 0),this.T.metrics.push(Oe({},o,{$current_url:i,$session_id:r.sessionId,$window_id:r.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.eo()):Zi.error("Ignoring metric with value >= "+this.no,o))}},this.so=()=>{if(!this.Rs){var o,n,r,i,l=Ze.__PosthogExtensions__;ze(l)||ze(l.postHogWebVitalsCallbacks)||({onLCP:o,onCLS:n,onFCP:r,onINP:i}=l.postHogWebVitalsCallbacks),o&&n&&r&&i?(this.allowedMetrics.indexOf("LCP")>-1&&o(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&r(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.ht.bind(this)),this.Rs=!0):Zi.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.$s=!((t=this._instance.persistence)==null||!t.props[nw]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,o=Ao(this.oo)?(e=this.oo)==null?void 0:e.web_vitals_allowed_metrics:void 0;return Ct(o)?((t=this._instance.persistence)==null?void 0:t.props[aw])||["CLS","FCP","INP","LCP"]:o}get flushToCaptureTimeoutMs(){return(Ao(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Ao(this.oo)?this.oo.web_vitals_attribution:void 0;return e!=null&&e}get no(){var e=Ao(this.oo)&&Ur(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:IO;return e>0&&6e4>=e?IO:e}get isEnabled(){var e=hn?.protocol;if(e!=="http:"&&e!=="https:")return Zi.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Ao(this.oo)?this.oo.web_vitals:xa(this.oo)?this.oo:void 0;return xa(t)?t:this.$s}startIfEnabled(){this.isEnabled&&!this.Rs&&(Zi.info("enabled, starting..."),this.ur(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=Ao(e.capturePerformance)&&!!e.capturePerformance.web_vitals,o=Ao(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[nw]:t}),this._instance.persistence.register({[aw]:o})),this.$s=t,this.startIfEnabled()}}ur(e){var t,o;(t=Ze.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(o=Ze.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",(n=>{n?Zi.error("failed to load script",n):e()}))}io(){var e=pe?pe.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties,o=this._instance.config.mask_personal_data_properties?[...ou,...t||[]]:[];return dm(e,o,mm)}Zi.error("Could not determine current URL")}}},mse={exceptionObserver:class{constructor(e){var t,o,n;this.so=()=>{var r;if(pe&&this.isEnabled&&(r=Ze.__PosthogExtensions__)!=null&&r.errorWrappingFunctions){var i=Ze.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,l=Ze.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,c=Ze.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.Bt.capture_unhandled_errors&&(this.ao=i(this.captureException.bind(this))),!this.lo&&this.Bt.capture_unhandled_rejections&&(this.lo=l(this.captureException.bind(this))),!this.uo&&this.Bt.capture_console_errors&&(this.uo=c(this.captureException.bind(this)))}catch(d){Cd.error("failed to start",d),this.ho()}}},this._instance=e,this.co=!((t=this._instance.persistence)==null||!t.props[ew]),this.do=new xae({refillRate:(o=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&o!==void 0?o:1,bucketSize:(n=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&n!==void 0?n:10,refillInterval:1e4,Gt:Cd}),this.Bt=this.vo(),this.startIfEnabledOrStop()}vo(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return Ao(e)?t=Oe({},t,e):(ze(e)?this.co:e)&&(t=Oe({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.Bt.capture_console_errors||this.Bt.capture_unhandled_errors||this.Bt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(Cd.info("enabled"),this.ho(),this.ur(this.so)):this.ho()}ur(e){var t,o;(t=Ze.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(o=Ze.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"exception-autocapture",(n=>{if(n)return Cd.error("failed to load script",n);e()}))}ho(){var e,t,o;(e=this.ao)==null||e.call(this),this.ao=void 0,(t=this.lo)==null||t.call(this),this.lo=void 0,(o=this.uo)==null||o.call(this),this.uo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[ew]:this.co}),this.Bt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.Bt=this.vo()}captureException(e){var t,o,n,r=(t=e==null||(o=e.$exception_list)==null||(o=o[0])==null?void 0:o.type)!==null&&t!==void 0?t:"Exception";this.do.consumeRateLimit(r)?Cd.info("Skipping exception capture because of client rate limiting.",{exception:r}):(n=this._instance.exceptions)==null||n.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,o;this.fo=[],this.po=new Bae([new Gae,new tie,new Wae,new Kae,new Xae,new Jae,new Zae,new eie],(function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),l=1;r>l;l++)i[l-1]=arguments[l];return function(c,d){d===void 0&&(d=0);for(var m=[],h=c.split(`
163
- `),f=d;h.length>f;f++){var g=h[f];if(1024>=g.length){var v=eO.test(g)?g.replace(eO,"$1"):g;if(!v.match(/\S*Error: /)){for(var y of i){var S=y(v,n);if(S){m.push(S);break}}if(m.length>=50)break}}}return(function(E){if(!E.length)return[];var _=Array.from(E);return _.reverse(),_.slice(0,50).map((C=>{return Oe({},C,{filename:C.filename||(P=_,P[P.length-1]||{}).filename,function:C.function||tu});var P}))})(m)}})("web:javascript",$ae,Hae)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(tw))!==null&&t!==void 0?t:[],this.mo=vg(this.yo()),this.bo=new nie(this.mo)}onConfigChange(){this.mo=vg(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,n;if("errorTracking"in e){var r=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(n=e.errorTracking)==null?void 0:n.captureExtensionExceptions;this.fo=r,this._instance.persistence&&this._instance.persistence.register({[tw]:this.fo,[ow]:i})}}get _o(){var e,t=!!this._instance.get_property(ow),o=this._instance.config.error_tracking.captureExtensionExceptions;return(e=o??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!bo(e)||e.trim().length===0)return void ni.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:n,droppedKeys:r}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>oie.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);r.length>0&&ni.warn("Ignoring reserved exception step fields",{droppedKeys:r}),this.bo.add(Oe({[pg]:e,[gg]:new Date().toISOString()},n))}catch(i){ni.error("Failed to add exception step. Ignoring breadcrumb.",i)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.Io(t)){if(this.Co(t))return this.So("Exception dropped: matched a suppression rule"),void ni.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(t))return this.So("Exception dropped: thrown by a browser extension"),void ni.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(t))return this.So("Exception dropped: thrown by the PostHog SDK"),void ni.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&Ct(e.$exception_steps)?this.To(e):e;try{var n=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return n&&this.bo.clear(),n}catch(r){return ni.error("Failed to capture exception event. Dropping this exception.",r),void this.bo.clear()}}catch(r){return void ni.error("Failed to process exception event. Ignoring this exception.",r)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Oe({},e,{$exception_steps:t})}catch(o){return ni.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[pg]:e,[gg]:new Date().toISOString()})}wo(e){return Ao(e)?Oe({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}Co(e){if(e.length===0)return!1;var t=e.reduce(((o,n)=>{var{type:r,value:i}=n;return bo(r)&&r.length>0&&o.$exception_types.push(r),bo(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var n=o.values.map((r=>{var i,l=L3[r.operator],c=Dt(r.value)?r.value:[r.value],d=(i=t[r.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?n.some(Boolean):n.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,n;return(o=(n=t.stacktrace)==null?void 0:n.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,n,r,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(n=l==null||(r=l.filename)==null?void 0:r.includes("posthog.com/static"))!==null&&n!==void 0&&n}return!1}Io(e){return!Ct(e)&&Dt(e)}}},fse=Oe({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Ao=null,this.Eo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[rw]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(rw)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=Ze.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=Ze.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(n=>{n?BO.error("Could not load product tours script",n):e()}))}Ro(){var e;!this.Ao&&(e=Ze.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=Ze.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!Dt(this.Eo)||t){var o=this.ni;if(o){var n=o.props[Mp];if(Dt(n)&&!t)return this.Eo=n,void e(n,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:r=>{var i=r.statusCode;if(i!==200||!r.json){var l="Product Tours API could not be loaded, status: "+i;return BO.error(l),void e([],{isLoaded:!1,error:l})}var c=Dt(r.json.product_tours)?r.json.product_tours:[];this.Eo=c,o&&o.register({[Mp]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Ct(this.Ao)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Ao)==null||t.showTourById(e)}previewTour(e){this.Ao?this.Ao.previewTour(e):this.ur((()=>{var t;this.Ro(),(t=this.Ao)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.Ao)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Ao)==null||e.nextStep()}previousStep(){var e;(e=this.Ao)==null||e.previousStep()}clearCache(){var e;this.Eo=null,(e=this.ni)==null||e.unregister(Mp)}resetTour(e){var t;(t=this.Ao)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Ao)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Ao)==null||t.cancelPendingTour(e)}}},_v),hse={siteApps:class{constructor(e){this._instance=e,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(e,t){if(t){var o=this.globalsForEvent(t);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=Ze._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{e(),this.No=[],this.Fo=void 0}}}globalsForEvent(e){var t,o,n,r,i,l,c;if(!e)throw new Error("Event payload is required");var d={},m=this._instance.get_property("$groups")||[],h=this._instance.get_property("$stored_group_properties")||{};for(var[f,g]of Object.entries(h))d[f]={id:m[f],type:f,properties:g};var{$set_once:v,$set:y}=e;return{event:Oe({},NB(e,rse),{properties:Oe({},e.properties,y?{$set:Oe({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},y)}:{},v?{$set_once:Oe({},(n=(r=e.properties)==null?void 0:r.$set_once)!==null&&n!==void 0?n:{},v)}:{}),elements_chain:(i=(l=e.properties)==null?void 0:l.$elements_chain)!==null&&i!==void 0?i:"",distinct_id:(c=e.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(e){var t=this.apps[e.id],o=()=>{var l;!t.errored&&this.No.length&&(Ji.info("Processing "+this.No.length+" events for site app with id "+e.id),this.No.forEach((c=>t.processEvent==null?void 0:t.processEvent(c))),t.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((l=this.Fo)==null||l.call(this))},n=!1,r=l=>{t.errored=!l,t.loaded=!0,Ji.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),n&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){r(l)}});i&&(t.processEvent=i),n=!0}catch(l){Ji.error(zO+e.id,l),r(!1)}if(n&&t.loaded)try{o()}catch(l){Ji.error("Error while processing buffered events PostHog app with config id "+e.id,l),t.errored=!0}}Oo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var o of e)this.setupSiteApp(o)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(t)}catch(n){Ji.error("Error while processing event "+e.event+" for site app "+o.id,n)}}}onRemoteConfig(e){var t,o,n,r=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void Ji.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(n=e.siteApps)!=null&&n.length)if(this.isEnabled){var i=function(d){var m;Ze["__$$ph_site_app_"+d]=r._instance,(m=Ze.__PosthogExtensions__)==null||m.loadSiteApp==null||m.loadSiteApp(r._instance,c,(h=>{if(h)return Ji.error(zO+d,h)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else Ji.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},pse={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,n=this.Bo()||[];ze(this.Lo)&&((t=Ze.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(n,this._instance.get_distinct_id(),this._instance.sessionManager)),ze(this.Do)&&((o=Ze.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(n,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=Ze.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=Ze.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(n=>{if(n)return ose.error("failed to load script",n);e()}))}Bo(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Bo()?this.ur(this.so):((e=this.Lo)==null||e.call(this),(t=this.Do)==null||t.call(this),this.Lo=void 0,this.Do=void 0)}}},gse=Oe({surveys:class{get Bt(){return this._instance.config}constructor(e){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Bt.disable_surveys){var t=e.surveys;if(Ct(t))return Zt.warn("Flags not loaded yet. Not loading surveys.");var o=Dt(t);this.jo=o?t.length>0:t,Zt.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var o=localStorage.key(t);(o!=null&&o.startsWith(Ew)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((n=>localStorage.removeItem(n)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)Zt.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)Zt.info(jO);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())Zt.info("Not loading surveys in cookieless mode without consent.");else{var e=Ze?.__PosthogExtensions__;if(e){if(!ze(this.jo)||this.Bt.advanced_enable_surveys){var t=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var o=e.generateSurveys;if(o)return void this.Vo(o,t);var n=e.loadExternalDependency;if(!n)return void this.Ho(gE);n(this._instance,"surveys",(r=>{r||!e.generateSurveys?this.Ho("Could not load surveys script",r):this.Vo(e.generateSurveys,t)}))}catch(r){throw this.Ho("Error initializing surveys",r),r}finally{this.$o=!1}}}else Zt.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new sse(this._instance),Zt.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){Zt.error(e,t),this.zo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.qo.push(e),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this.Bt.disable_surveys)return Zt.info(jO),e([]);var o,n=this._instance.get_property(cw);if(n&&!t)return e(n,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((r=>{var{surveys:i,context:l}=r;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((r=>{o=r}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:r=>{var i;this.Zo=null;var l=r.statusCode;if(l!==200||!r.json){var c="Surveys API could not be loaded, status: "+l;Zt.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var m,h=r.json.surveys||[],f=h.filter((v=>(function(y){return!(!y.start_date||y.end_date)})(v)&&((function(y){var S;return!((S=y.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(y){var S;return!((S=y.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));f.length>0&&((m=this._surveyEventReceiver)==null||m.register(f)),(i=this._instance.persistence)==null||i.register({[cw]:h});var g={isLoaded:!0};e(h,g),o?.({surveys:h,context:g})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){Zt.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Ct(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);Zt.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var n;t=(n=o.find((r=>r.id===e)))!==null&&n!==void 0?n:null})),t}Yo(e){if(Ct(this._surveyManager))return{eligible:!1,reason:DS};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Ct(this._surveyManager))return Zt.warn("init was not called"),{visible:!1,disabledReason:DS};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Ct(this._surveyManager)?(Zt.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:DS})):new Promise((o=>{this.getSurveys((n=>{var r,i=(r=n.find((c=>c.id===e)))!==null&&r!==void 0?r:null;if(i){var l=this.Yo(i);o({visible:l.eligible,disabledReason:l.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,o){var n;if(Ct(this._surveyManager))Zt.warn("init was not called");else{var r=typeof e=="string"?this.Uo(e):e;if(r!=null&&r.id)if(Uie.includes(r.type)){var i=Ne?.querySelector(t);if(i)return(n=r.appearance)!=null&&n.surveyPopupDelaySeconds?(Zt.info("Rendering survey "+r.id+" with delay of "+r.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;Zt.info("Rendering survey "+r.id+" with delay of "+((l=r.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(r,i,o),Zt.info("Survey "+r.id+" rendered")}),1e3*r.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(r,i,o);Zt.warn("Survey element not found")}else Zt.warn("Surveys of type "+r.type+" cannot be rendered in the app");else Zt.warn("Survey not found")}}displaySurvey(e,t){var o;if(Ct(this._surveyManager))Zt.warn("init was not called");else{var n=this.Uo(e);if(n){var r=n;if((o=n.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(r=Oe({},n,{appearance:Oe({},n.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==bw.Popover&&t.initialResponses&&Zt.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(n);if(!i.visible)return void Zt.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==bw.Inline?this._surveyManager.handlePopoverSurvey(r,t):this.renderSurvey(r,t.selector,t.properties)}else Zt.warn("Survey not found")}}cancelPendingSurvey(e){Ct(this._surveyManager)?Zt.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},_v),vse={toolbar:class{constructor(e){this.instance=e}Go(e){Ze.ph_toolbar_state=e}Wo(){var e;return(e=Ze.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,o){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),g3(this.instance.config)||!pe||!Ne)return!1;e=e??pe.location,o=o??pe.history;try{if(!t){try{pe.localStorage.setItem("test","test"),pe.localStorage.removeItem("test")}catch{return!1}t=pe?.localStorage}var n,r=lse||Rg(e.hash,"__posthog")||Rg(e.hash,"state"),i=r?oO((()=>JSON.parse(atob(decodeURIComponent(r)))))||oO((()=>JSON.parse(decodeURIComponent(r)))):null;return i&&i.action==="ph_authorize"?((n=i).source="url",n&&Object.keys(n).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((n=JSON.parse(t.getItem(UO)||"{}")).source="localstorage",delete n.userIntent),!(!n.token||this.instance.config.token!==n.token||(this.loadToolbar(n),0))}catch{return!1}}Xo(e){var t=Ze.ph_load_toolbar||Ze.ph_load_editor;!Ct(t)&&ai(t)?t(e,this.instance):$O.warn("No toolbar load function found")}loadToolbar(e){var t=!(Ne==null||!Ne.getElementById(m3));if(!pe||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,n=Oe({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(pe.localStorage.setItem(UO,JSON.stringify(Oe({},n,{source:void 0}))),this.Wo()===2)this.Xo(n);else if(this.Wo()===0){var r;this.Go(1),(r=Ze.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return $O.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(n)})),qo(pe,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(n)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,o){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(e,t,o)}}},bse=Oe({experiments:Tn},_v),yse={conversations:class{constructor(e){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;Ct(t)||(xa(t)?this.Ko=t:(this.Ko=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||g3(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=Ze?.__PosthogExtensions__;if(e&&!ze(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Qo=!1);var o=e.loadExternalDependency;if(!o)return void this.ra(gE);o(this._instance,"conversations",(n=>{n||!e.initConversations?this.ra("Could not load conversations script",n):this.ta(e.initConversations),this.Qo=!1}))}catch(n){this.ra("Error initializing conversations",n),this.Qo=!1}}else Ir.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Ir.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Ir.error("Cannot complete initialization: remote config is null")}ra(e,t){Ir.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Ir.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!yi(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,o){var n=this;return Nr((function*(){return n._conversationsManager?n._conversationsManager.sendMessage(e,t,o):(Ir.warn(Xs),null)}))()}getMessages(e,t){var o=this;return Nr((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Ir.warn(Xs),null)}))()}markAsRead(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Ir.warn(Xs),null)}))()}getTickets(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Ir.warn(Xs),null)}))()}requestRestoreLink(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Ir.warn(Xs),null)}))()}restoreFromToken(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Ir.warn(Xs),null)}))()}restoreFromUrlToken(){var e=this;return Nr((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Ir.warn(Xs),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}un(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},Sse={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=ho("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,o=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Ct(o)&&o&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.oa=0,this.aa=0,this.la=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=Ze?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var n;o||(n=e.logs)==null||!n.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(gE)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,n,r,i,l;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(n=(r=this._instance.config.logs)==null?void 0:r.maxLogsPerInterval)!==null&&n!==void 0?n:1e3,m=Date.now();if(c>m-this.aa||(this.aa=m,this.oa=0,this.la=!1),d>this.oa){this.oa++;var h=(function(f,g){var v=f.level||"info",{text:y,number:S}=o3[v]||Nae,E=String(Date.now())+"000000",_={};g.distinctId&&(_.posthogDistinctId=g.distinctId),g.sessionId&&(_.sessionId=g.sessionId),g.currentUrl&&(_["url.full"]=g.currentUrl),g.screenName&&(_["screen.name"]=g.screenName),g.appState&&(_["app.state"]=g.appState),g.activeFeatureFlags&&g.activeFeatureFlags.length>0&&(_.feature_flags=g.activeFeatureFlags);var C=Oe({},_,f.attributes||{}),P={timeUnixNano:E,observedTimeUnixNano:E,severityNumber:S,severityText:y,body:{stringValue:f.body},attributes:XD(C)};return f.trace_id&&(P.traceId=f.trace_id),f.span_id&&(P.spanId=f.span_id),ze(f.trace_flags)||(P.flags=f.trace_flags),P})(e,this.ua());this.sa.push({record:h}),((i=(l=this._instance.config.logs)==null?void 0:l.maxBufferSize)!==null&&i!==void 0?i:100)>this.sa.length?this.ha():this.flushLogs()}else this.la||(this.Gt.warn("captureLog dropping logs: exceeded "+d+" logs per "+c+"ms"),this.la=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var o=this._instance.config.logs,n=Oe({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),r=(function(l,c,d,m){return{resourceLogs:[{resource:{attributes:XD(c)},scopeLogs:[{scope:{name:d,version:m},logRecords:l}]}]}})(t.map((l=>l.record)),n,Bn.LIB_NAME,Bn.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:i,data:r,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}ua(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=o}if(Ze!=null&&(e=Ze.location)!=null&&e.href&&(t.currentUrl=Ze.location.href),this._instance.featureFlags){var n=this._instance.featureFlags.getFlags();n&&n.length>0&&(t.activeFeatureFlags=n)}return t}}},_se=Oe({},_v,use,dse,mse,fse,hse,gse,pse,vse,bse,yse,Sse);Fr.__defaultExtensionClasses=Oe({},_se);var GO,wl=(GO=Vd[Rc]=new Fr,(function(){function e(){e.done||(e.done=!0,B3=!1,lo(Vd,(function(t){t._dom_loaded()})))}Ne!=null&&Ne.addEventListener?Ne.readyState==="complete"?e():qo(Ne,"DOMContentLoaded",e,{capture:!1}):pe&&Fe.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),GO);const wse="studio-ui-resources",Mg="html",Cse=10080*60*1e3,Ese=50,xse=16*1024*1024;function Tse(e){return e[0]==="mcp"&&e[1]===O2}function wv(){return new Promise((e,t)=>{const o=indexedDB.open(wse,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(Mg)||o.result.createObjectStore(Mg)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function ru(e,t){return e.transaction(Mg,t).objectStore(Mg)}function Aw(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function Pse(e){if(!(typeof indexedDB>"u"))try{const t=await wv(),o=ru(t,"readonly"),n=await Aw(o.getAllKeys()),r=await Aw(o.getAll()),i=Date.now(),l=n.map((m,h)=>({key:m,value:r[h]})).sort((m,h)=>(h.value?.updatedAt??0)-(m.value?.updatedAt??0)),c=[];let d=0;for(const{key:m,value:h}of l){if(!h||i-h.updatedAt>Cse||d>=Ese){c.push(m);continue}d++;try{const g=JSON.parse(String(m));e.getQueryData(g)===void 0&&e.setQueryData(g,h.html,{updatedAt:0})}catch{c.push(m)}}if(c.length>0){const m=ru(t,"readwrite");for(const h of c)m.delete(h)}}catch{}}function Rse(e){if(typeof indexedDB>"u")return()=>{};const t=wv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const n=o.query;if(!Array.isArray(n.queryKey)||!Tse(n.queryKey)||n.state.status!=="success")return;const r=n.state.data;typeof r!="string"||r.length>xse||t.then(i=>{if(i)try{ru(i,"readwrite").put({html:r,updatedAt:Date.now()},JSON.stringify(n.queryKey))}catch{}})})}function Ase(){typeof indexedDB>"u"||wv().then(e=>ru(e,"readwrite").clear()).catch(()=>{})}async function ome(e){if(!(typeof indexedDB>"u"))try{const t=await wv(),o=await Aw(ru(t,"readonly").getAllKeys()),n=ru(t,"readwrite");for(const r of o)try{const i=JSON.parse(String(r));i[1]===O2&&i[3]===e&&n.delete(r)}catch{}}catch{}}const Ig="studio:rq-cache",K3=1440*60*1e3,kse=1e3,Dse=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),Ose=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let W3=!1,Y3=!1;function Mse(e){const t=e[0];return typeof t=="string"&&Dse.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&Ose.has(e[4])}function Ise(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Ig);if(!t)return;const o=JSON.parse(t),n=!o.timestamp||Date.now()-o.timestamp>K3;if(o.buster!=="4.149.2"||n||!o.state){window.localStorage.removeItem(Ig);return}Kj(e,o.state),W3=!0}catch{Nse()}}function Lse(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const n=Gj(e,{shouldDehydrateQuery:r=>r.state.status==="success"&&Mse(r.queryKey)});window.localStorage.setItem(Ig,JSON.stringify({buster:"4.149.2",timestamp:Date.now(),state:n}))}catch{}};return e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,kse))})}const Z3="studio:org-cache:";function Q3(e){return`${Z3}${e}`}function nme(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(Q3(e));if(!o)return null;const n=JSON.parse(o)[t];return!n||Date.now()-n.updatedAt>K3?null:(Y3=!0,n)}catch{return null}}function rme(e,t,o){if(!(typeof window>"u"))try{const n=Q3(e),r=window.localStorage.getItem(n),i=r?JSON.parse(r):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(n,JSON.stringify(i))}catch{}}function Nse(){if(Ase(),!(typeof window>"u"))try{window.localStorage.removeItem(Ig);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(Z3)&&window.localStorage.removeItem(t)}}catch{}}function Fse(){return W3}function Bse(){return Y3}let hi=!1,kw=null,KO=!1;const CE="studio:lp-distinct-id",J3="mesh:lp-distinct-id",MS="/api/_reports/link-token/",zse=1440*60*1e3;function X3(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),n=e.startsWith("//");try{const r=new URL(e,t);let i=!1;for(const l of["key","d"])r.searchParams.has(l)&&(r.searchParams.delete(l),i=!0);return r.pathname.startsWith(MS)&&r.pathname!==MS&&(r.pathname=`${MS}redacted`,i=!0),i?o?r.toString():n?`//${r.host}${r.pathname}${r.search}${r.hash}`:`${r.pathname}${r.search}${r.hash}`:e}catch{return e}}function IS(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?X3(o):o]))}const jse=e=>e?(e.properties=IS(e.properties),e.$set&&(e.$set=IS(e.$set)),e.$set_once&&(e.$set_once=IS(e.$set_once)),e):null;function e4(){try{const e=window.localStorage.getItem(CE)??window.localStorage.getItem(J3);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=zse?t:void 0}catch{return}}function Use(){try{window.localStorage.removeItem(CE),window.localStorage.removeItem(J3)}catch{}}function $se(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(CE,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??e4();return o?Object.keys(window.localStorage).some(r=>r.startsWith("ph_")&&r.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function qse(e){const t=e4();if(t&&(Use(),t!==e))try{wl.alias(t)}catch{}}function Vse(e,t){if(hi||typeof window>"u")return;const o=$se();wl.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...o?{bootstrap:{distinctID:o}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:jse,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:n=>({...n,...typeof n.name=="string"?{name:X3(n.name)}:{}})},person_profiles:"identified_only"}),hi=!0}function Hse(e,t){hi&&(wl.identify(e,t),qse(e))}function Gse(){hi&&(wl.reset(),kw=null)}function Kse(e,t){hi&&wl.capture(e,t)}function ame(){return hi}function ime(){if(!hi||KO||typeof performance>"u")return;KO=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const n=performance.getEntriesByName(o,"measure")[0];return n?Math.round(n.duration):void 0};Kse("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("studio:config-fetch"),active_org_fetch_ms:t("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:Fse(),org_cache_restored:Bse()})}function sme(e,t){hi&&e!==kw&&(wl.group("organization",e,t),kw=e)}function t4(e,t){if(hi)try{wl.captureException(e,t)}catch{}}let bp=null;function Wse({children:e}){const t=M2(),{data:o}=ov.useSession();if(t.posthog){Vse(t.posthog.key,t.posthog.host);const n=o?.user?.id??null;n&&n!==bp?(Hse(n,{email:o?.user?.email,name:o?.user?.name}),bp=n):!n&&bp&&(Gse(),bp=null)}return R.jsx(R.Fragment,{children:e})}const EE=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z"}));EE.displayName="AlertTriangle";const o4=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M4 7.997a2.295 2.295 0 0 1-.39-.035A2 2 0 0 1 2.038 6.39C2 6.197 2 5.965 2 5.5s0-.697.038-.89A2 2 0 0 1 3.61 3.038C3.803 3 4.035 3 4.5 3h15c.465 0 .697 0 .89.038a2 2 0 0 1 1.572 1.572c.038.193.038.425.038.89s0 .697-.038.89a2 2 0 0 1-1.572 1.572c-.107.02-.226.03-.39.035M10 13h4M4 8h16v8.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 21 16.88 21 15.2 21H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 18.72 4 17.88 4 16.2V8Z"}));o4.displayName="Archive";const xE=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));xE.displayName="Loading01";const n4=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));n4.displayName="Lock01";const r4=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M21 10s-2.005-2.732-3.634-4.362a9 9 0 1 0 2.282 8.862M21 10V4m0 6h-6"}));r4.displayName="RefreshCw01";function TE(){const e=eo.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=R.jsx("div",{className:"flex items-center justify-center min-h-screen w-full",children:R.jsx(xE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function Yse(e){try{return JSON.parse(e)}catch{return}}function WO(e,t){if(typeof localStorage>"u")return typeof t=="function"?t(void 0):t;const o=localStorage.getItem(e),n=o?Yse(o):void 0,r=typeof t=="function"?t(n):n??t;if(n===void 0||r!==n)try{const i=JSON.stringify(r);localStorage.setItem(e,i)}catch{}return r}function Zse(e,t){const o=eo.c(25),n=Ug();let r;o[0]!==e?(r=["localStorage",e],o[0]=e,o[1]=r):r=o[1];const i=r;let l,c;o[2]!==t||o[3]!==e?(l=()=>WO(e,t),c=()=>WO(e,t),o[2]=t,o[3]=e,o[4]=l,o[5]=c):(l=o[4],c=o[5]);let d;o[6]!==i||o[7]!==l||o[8]!==c?(d={queryKey:i,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=i,o[7]=l,o[8]=c,o[9]=d):d=o[9];const{data:m}=UM(d);let h;o[10]!==e?(h=async C=>(typeof localStorage<"u"&&localStorage.setItem(e,JSON.stringify(C)),C),o[10]=e,o[11]=h):h=o[11];let f;o[12]!==n||o[13]!==i?(f=C=>{n.setQueryData(i,C)},o[12]=n,o[13]=i,o[14]=f):f=o[14];let g;o[15]!==h||o[16]!==f?(g={mutationFn:h,onSuccess:f},o[15]=h,o[16]=f,o[17]=g):g=o[17];const v=Cp(g);let y;o[18]!==v||o[19]!==n||o[20]!==i?(y=C=>{const P=n.getQueryData(i),x=typeof C=="function"?C(P):C;v.mutate(x)},o[18]=v,o[19]=n,o[20]=i,o[21]=y):y=o[21];const S=y,E=m;let _;return o[22]!==S||o[23]!==E?(_=[E,S],o[22]=S,o[23]=E,o[24]=_):_=o[24],_}const uu={chatSelectedImageModel:e=>`studio:chat:selectedImageModel:${e}`,chatSelectedWebSearchModel:e=>`studio:chat:selectedWebSearchModel:${e}`,chatSelectedDeepResearchModel:e=>`studio:chat:selectedDeepResearchModel:${e}`,chatSimpleModeTier:e=>`studio:chat:simpleModeTier:${e}`,chatLastAgentOption:e=>`studio:chat:lastAgentOption:${e}`,chatAutosend:(e,t)=>`studio:chat:autosend:${e}:${t}`,chatDraft:(e,t)=>`studio:chat:draft:${e}:${t}`,sidePanelWidth:()=>"studio:side-panel:width",sidebarOpen:()=>"studio:sidebar-open",preferences:()=>"studio:user:preferences",lastOrgSlug:()=>"studio:last-org-slug",lastLocation:()=>"studio:last-location",connectionsTab:e=>`studio:connections:tab:${e}`,taskLastViewed:e=>`studio:chat:task-last-viewed:${e}`,sidebarGroupOrder:(e,t)=>`sidebar.group-order.${e}.${t}`,ptBrAnnouncementSeen:e=>`studio:announcement:pt-br:${e}`,cmsTourSeen:e=>`studio:cms-tour:seen:${e}`},Qse=["en","pt-BR"];function a4(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const Jse={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:a4()},i4=["auto","readonly"],lme=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],Xse=["light","dark","system"];function cme(){try{const e=JSON.parse(localStorage.getItem(uu.preferences())??"{}");if(i4.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function s4(){const e=eo.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=uu.preferences(),e[0]=t):t=e[0],Zse(t,ele)}function ele(e){const t={...Jse,...e};return i4.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),Xse.includes(t.theme)||(t.theme="system"),Qse.includes(t.language)||(t.language=a4()),t}async function tle(){performance.mark("studio:config-fetch:start");try{const e=await fetch("/api/config");if(!e.ok)throw new Error("Failed to load public configuration");const t=await e.json();if(!t.success)throw new Error(t.error||"Failed to load public configuration");return t.config}finally{performance.mark("studio:config-fetch:end"),performance.measure("studio:config-fetch","studio:config-fetch:start","studio:config-fetch:end")}}function ole(e){if(!e)return;const t=document.getElementById("studio-theme-overrides");t&&t.remove();const o=[];if(e.light&&Object.keys(e.light).length>0){const n=Object.entries(e.light).map(([r,i])=>` ${r}: ${i};`).join(`
163
+ `),f=d;h.length>f;f++){var g=h[f];if(1024>=g.length){var v=eO.test(g)?g.replace(eO,"$1"):g;if(!v.match(/\S*Error: /)){for(var y of i){var S=y(v,n);if(S){m.push(S);break}}if(m.length>=50)break}}}return(function(E){if(!E.length)return[];var _=Array.from(E);return _.reverse(),_.slice(0,50).map((C=>{return Oe({},C,{filename:C.filename||(P=_,P[P.length-1]||{}).filename,function:C.function||tu});var P}))})(m)}})("web:javascript",$ae,Hae)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(tw))!==null&&t!==void 0?t:[],this.mo=vg(this.yo()),this.bo=new nie(this.mo)}onConfigChange(){this.mo=vg(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,n;if("errorTracking"in e){var r=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(n=e.errorTracking)==null?void 0:n.captureExtensionExceptions;this.fo=r,this._instance.persistence&&this._instance.persistence.register({[tw]:this.fo,[ow]:i})}}get _o(){var e,t=!!this._instance.get_property(ow),o=this._instance.config.error_tracking.captureExtensionExceptions;return(e=o??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!bo(e)||e.trim().length===0)return void ni.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:n,droppedKeys:r}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>oie.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);r.length>0&&ni.warn("Ignoring reserved exception step fields",{droppedKeys:r}),this.bo.add(Oe({[pg]:e,[gg]:new Date().toISOString()},n))}catch(i){ni.error("Failed to add exception step. Ignoring breadcrumb.",i)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.Io(t)){if(this.Co(t))return this.So("Exception dropped: matched a suppression rule"),void ni.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(t))return this.So("Exception dropped: thrown by a browser extension"),void ni.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(t))return this.So("Exception dropped: thrown by the PostHog SDK"),void ni.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&Ct(e.$exception_steps)?this.To(e):e;try{var n=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return n&&this.bo.clear(),n}catch(r){return ni.error("Failed to capture exception event. Dropping this exception.",r),void this.bo.clear()}}catch(r){return void ni.error("Failed to process exception event. Ignoring this exception.",r)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Oe({},e,{$exception_steps:t})}catch(o){return ni.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[pg]:e,[gg]:new Date().toISOString()})}wo(e){return Ao(e)?Oe({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}Co(e){if(e.length===0)return!1;var t=e.reduce(((o,n)=>{var{type:r,value:i}=n;return bo(r)&&r.length>0&&o.$exception_types.push(r),bo(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var n=o.values.map((r=>{var i,l=L3[r.operator],c=Dt(r.value)?r.value:[r.value],d=(i=t[r.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?n.some(Boolean):n.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,n;return(o=(n=t.stacktrace)==null?void 0:n.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,n,r,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(n=l==null||(r=l.filename)==null?void 0:r.includes("posthog.com/static"))!==null&&n!==void 0&&n}return!1}Io(e){return!Ct(e)&&Dt(e)}}},fse=Oe({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Ao=null,this.Eo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[rw]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(rw)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=Ze.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=Ze.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(n=>{n?BO.error("Could not load product tours script",n):e()}))}Ro(){var e;!this.Ao&&(e=Ze.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=Ze.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!Dt(this.Eo)||t){var o=this.ni;if(o){var n=o.props[Mp];if(Dt(n)&&!t)return this.Eo=n,void e(n,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:r=>{var i=r.statusCode;if(i!==200||!r.json){var l="Product Tours API could not be loaded, status: "+i;return BO.error(l),void e([],{isLoaded:!1,error:l})}var c=Dt(r.json.product_tours)?r.json.product_tours:[];this.Eo=c,o&&o.register({[Mp]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Ct(this.Ao)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Ao)==null||t.showTourById(e)}previewTour(e){this.Ao?this.Ao.previewTour(e):this.ur((()=>{var t;this.Ro(),(t=this.Ao)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.Ao)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Ao)==null||e.nextStep()}previousStep(){var e;(e=this.Ao)==null||e.previousStep()}clearCache(){var e;this.Eo=null,(e=this.ni)==null||e.unregister(Mp)}resetTour(e){var t;(t=this.Ao)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Ao)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Ao)==null||t.cancelPendingTour(e)}}},_v),hse={siteApps:class{constructor(e){this._instance=e,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(e,t){if(t){var o=this.globalsForEvent(t);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=Ze._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{e(),this.No=[],this.Fo=void 0}}}globalsForEvent(e){var t,o,n,r,i,l,c;if(!e)throw new Error("Event payload is required");var d={},m=this._instance.get_property("$groups")||[],h=this._instance.get_property("$stored_group_properties")||{};for(var[f,g]of Object.entries(h))d[f]={id:m[f],type:f,properties:g};var{$set_once:v,$set:y}=e;return{event:Oe({},NB(e,rse),{properties:Oe({},e.properties,y?{$set:Oe({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},y)}:{},v?{$set_once:Oe({},(n=(r=e.properties)==null?void 0:r.$set_once)!==null&&n!==void 0?n:{},v)}:{}),elements_chain:(i=(l=e.properties)==null?void 0:l.$elements_chain)!==null&&i!==void 0?i:"",distinct_id:(c=e.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(e){var t=this.apps[e.id],o=()=>{var l;!t.errored&&this.No.length&&(Ji.info("Processing "+this.No.length+" events for site app with id "+e.id),this.No.forEach((c=>t.processEvent==null?void 0:t.processEvent(c))),t.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((l=this.Fo)==null||l.call(this))},n=!1,r=l=>{t.errored=!l,t.loaded=!0,Ji.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),n&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){r(l)}});i&&(t.processEvent=i),n=!0}catch(l){Ji.error(zO+e.id,l),r(!1)}if(n&&t.loaded)try{o()}catch(l){Ji.error("Error while processing buffered events PostHog app with config id "+e.id,l),t.errored=!0}}Oo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var o of e)this.setupSiteApp(o)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(t)}catch(n){Ji.error("Error while processing event "+e.event+" for site app "+o.id,n)}}}onRemoteConfig(e){var t,o,n,r=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void Ji.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(n=e.siteApps)!=null&&n.length)if(this.isEnabled){var i=function(d){var m;Ze["__$$ph_site_app_"+d]=r._instance,(m=Ze.__PosthogExtensions__)==null||m.loadSiteApp==null||m.loadSiteApp(r._instance,c,(h=>{if(h)return Ji.error(zO+d,h)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else Ji.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},pse={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,n=this.Bo()||[];ze(this.Lo)&&((t=Ze.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(n,this._instance.get_distinct_id(),this._instance.sessionManager)),ze(this.Do)&&((o=Ze.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(n,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=Ze.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=Ze.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(n=>{if(n)return ose.error("failed to load script",n);e()}))}Bo(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Bo()?this.ur(this.so):((e=this.Lo)==null||e.call(this),(t=this.Do)==null||t.call(this),this.Lo=void 0,this.Do=void 0)}}},gse=Oe({surveys:class{get Bt(){return this._instance.config}constructor(e){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Bt.disable_surveys){var t=e.surveys;if(Ct(t))return Zt.warn("Flags not loaded yet. Not loading surveys.");var o=Dt(t);this.jo=o?t.length>0:t,Zt.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var o=localStorage.key(t);(o!=null&&o.startsWith(Ew)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((n=>localStorage.removeItem(n)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)Zt.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)Zt.info(jO);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())Zt.info("Not loading surveys in cookieless mode without consent.");else{var e=Ze?.__PosthogExtensions__;if(e){if(!ze(this.jo)||this.Bt.advanced_enable_surveys){var t=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var o=e.generateSurveys;if(o)return void this.Vo(o,t);var n=e.loadExternalDependency;if(!n)return void this.Ho(gE);n(this._instance,"surveys",(r=>{r||!e.generateSurveys?this.Ho("Could not load surveys script",r):this.Vo(e.generateSurveys,t)}))}catch(r){throw this.Ho("Error initializing surveys",r),r}finally{this.$o=!1}}}else Zt.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new sse(this._instance),Zt.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){Zt.error(e,t),this.zo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.qo.push(e),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this.Bt.disable_surveys)return Zt.info(jO),e([]);var o,n=this._instance.get_property(cw);if(n&&!t)return e(n,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((r=>{var{surveys:i,context:l}=r;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((r=>{o=r}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:r=>{var i;this.Zo=null;var l=r.statusCode;if(l!==200||!r.json){var c="Surveys API could not be loaded, status: "+l;Zt.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var m,h=r.json.surveys||[],f=h.filter((v=>(function(y){return!(!y.start_date||y.end_date)})(v)&&((function(y){var S;return!((S=y.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(y){var S;return!((S=y.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));f.length>0&&((m=this._surveyEventReceiver)==null||m.register(f)),(i=this._instance.persistence)==null||i.register({[cw]:h});var g={isLoaded:!0};e(h,g),o?.({surveys:h,context:g})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){Zt.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Ct(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);Zt.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var n;t=(n=o.find((r=>r.id===e)))!==null&&n!==void 0?n:null})),t}Yo(e){if(Ct(this._surveyManager))return{eligible:!1,reason:DS};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Ct(this._surveyManager))return Zt.warn("init was not called"),{visible:!1,disabledReason:DS};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Ct(this._surveyManager)?(Zt.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:DS})):new Promise((o=>{this.getSurveys((n=>{var r,i=(r=n.find((c=>c.id===e)))!==null&&r!==void 0?r:null;if(i){var l=this.Yo(i);o({visible:l.eligible,disabledReason:l.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,o){var n;if(Ct(this._surveyManager))Zt.warn("init was not called");else{var r=typeof e=="string"?this.Uo(e):e;if(r!=null&&r.id)if(Uie.includes(r.type)){var i=Ne?.querySelector(t);if(i)return(n=r.appearance)!=null&&n.surveyPopupDelaySeconds?(Zt.info("Rendering survey "+r.id+" with delay of "+r.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;Zt.info("Rendering survey "+r.id+" with delay of "+((l=r.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(r,i,o),Zt.info("Survey "+r.id+" rendered")}),1e3*r.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(r,i,o);Zt.warn("Survey element not found")}else Zt.warn("Surveys of type "+r.type+" cannot be rendered in the app");else Zt.warn("Survey not found")}}displaySurvey(e,t){var o;if(Ct(this._surveyManager))Zt.warn("init was not called");else{var n=this.Uo(e);if(n){var r=n;if((o=n.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(r=Oe({},n,{appearance:Oe({},n.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==bw.Popover&&t.initialResponses&&Zt.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(n);if(!i.visible)return void Zt.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==bw.Inline?this._surveyManager.handlePopoverSurvey(r,t):this.renderSurvey(r,t.selector,t.properties)}else Zt.warn("Survey not found")}}cancelPendingSurvey(e){Ct(this._surveyManager)?Zt.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},_v),vse={toolbar:class{constructor(e){this.instance=e}Go(e){Ze.ph_toolbar_state=e}Wo(){var e;return(e=Ze.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,o){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),g3(this.instance.config)||!pe||!Ne)return!1;e=e??pe.location,o=o??pe.history;try{if(!t){try{pe.localStorage.setItem("test","test"),pe.localStorage.removeItem("test")}catch{return!1}t=pe?.localStorage}var n,r=lse||Rg(e.hash,"__posthog")||Rg(e.hash,"state"),i=r?oO((()=>JSON.parse(atob(decodeURIComponent(r)))))||oO((()=>JSON.parse(decodeURIComponent(r)))):null;return i&&i.action==="ph_authorize"?((n=i).source="url",n&&Object.keys(n).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((n=JSON.parse(t.getItem(UO)||"{}")).source="localstorage",delete n.userIntent),!(!n.token||this.instance.config.token!==n.token||(this.loadToolbar(n),0))}catch{return!1}}Xo(e){var t=Ze.ph_load_toolbar||Ze.ph_load_editor;!Ct(t)&&ai(t)?t(e,this.instance):$O.warn("No toolbar load function found")}loadToolbar(e){var t=!(Ne==null||!Ne.getElementById(m3));if(!pe||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,n=Oe({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(pe.localStorage.setItem(UO,JSON.stringify(Oe({},n,{source:void 0}))),this.Wo()===2)this.Xo(n);else if(this.Wo()===0){var r;this.Go(1),(r=Ze.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return $O.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(n)})),qo(pe,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(n)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,o){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(e,t,o)}}},bse=Oe({experiments:Tn},_v),yse={conversations:class{constructor(e){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;Ct(t)||(xa(t)?this.Ko=t:(this.Ko=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||g3(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=Ze?.__PosthogExtensions__;if(e&&!ze(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Qo=!1);var o=e.loadExternalDependency;if(!o)return void this.ra(gE);o(this._instance,"conversations",(n=>{n||!e.initConversations?this.ra("Could not load conversations script",n):this.ta(e.initConversations),this.Qo=!1}))}catch(n){this.ra("Error initializing conversations",n),this.Qo=!1}}else Ir.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Ir.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Ir.error("Cannot complete initialization: remote config is null")}ra(e,t){Ir.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Ir.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!yi(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,o){var n=this;return Nr((function*(){return n._conversationsManager?n._conversationsManager.sendMessage(e,t,o):(Ir.warn(Xs),null)}))()}getMessages(e,t){var o=this;return Nr((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Ir.warn(Xs),null)}))()}markAsRead(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Ir.warn(Xs),null)}))()}getTickets(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Ir.warn(Xs),null)}))()}requestRestoreLink(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Ir.warn(Xs),null)}))()}restoreFromToken(e){var t=this;return Nr((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Ir.warn(Xs),null)}))()}restoreFromUrlToken(){var e=this;return Nr((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Ir.warn(Xs),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}un(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},Sse={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=ho("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,o=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Ct(o)&&o&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.oa=0,this.aa=0,this.la=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=Ze?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var n;o||(n=e.logs)==null||!n.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(gE)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,n,r,i,l;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(n=(r=this._instance.config.logs)==null?void 0:r.maxLogsPerInterval)!==null&&n!==void 0?n:1e3,m=Date.now();if(c>m-this.aa||(this.aa=m,this.oa=0,this.la=!1),d>this.oa){this.oa++;var h=(function(f,g){var v=f.level||"info",{text:y,number:S}=o3[v]||Nae,E=String(Date.now())+"000000",_={};g.distinctId&&(_.posthogDistinctId=g.distinctId),g.sessionId&&(_.sessionId=g.sessionId),g.currentUrl&&(_["url.full"]=g.currentUrl),g.screenName&&(_["screen.name"]=g.screenName),g.appState&&(_["app.state"]=g.appState),g.activeFeatureFlags&&g.activeFeatureFlags.length>0&&(_.feature_flags=g.activeFeatureFlags);var C=Oe({},_,f.attributes||{}),P={timeUnixNano:E,observedTimeUnixNano:E,severityNumber:S,severityText:y,body:{stringValue:f.body},attributes:XD(C)};return f.trace_id&&(P.traceId=f.trace_id),f.span_id&&(P.spanId=f.span_id),ze(f.trace_flags)||(P.flags=f.trace_flags),P})(e,this.ua());this.sa.push({record:h}),((i=(l=this._instance.config.logs)==null?void 0:l.maxBufferSize)!==null&&i!==void 0?i:100)>this.sa.length?this.ha():this.flushLogs()}else this.la||(this.Gt.warn("captureLog dropping logs: exceeded "+d+" logs per "+c+"ms"),this.la=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var o=this._instance.config.logs,n=Oe({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),r=(function(l,c,d,m){return{resourceLogs:[{resource:{attributes:XD(c)},scopeLogs:[{scope:{name:d,version:m},logRecords:l}]}]}})(t.map((l=>l.record)),n,Bn.LIB_NAME,Bn.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:i,data:r,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}ua(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=o}if(Ze!=null&&(e=Ze.location)!=null&&e.href&&(t.currentUrl=Ze.location.href),this._instance.featureFlags){var n=this._instance.featureFlags.getFlags();n&&n.length>0&&(t.activeFeatureFlags=n)}return t}}},_se=Oe({},_v,use,dse,mse,fse,hse,gse,pse,vse,bse,yse,Sse);Fr.__defaultExtensionClasses=Oe({},_se);var GO,wl=(GO=Vd[Rc]=new Fr,(function(){function e(){e.done||(e.done=!0,B3=!1,lo(Vd,(function(t){t._dom_loaded()})))}Ne!=null&&Ne.addEventListener?Ne.readyState==="complete"?e():qo(Ne,"DOMContentLoaded",e,{capture:!1}):pe&&Fe.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),GO);const wse="studio-ui-resources",Mg="html",Cse=10080*60*1e3,Ese=50,xse=16*1024*1024;function Tse(e){return e[0]==="mcp"&&e[1]===O2}function wv(){return new Promise((e,t)=>{const o=indexedDB.open(wse,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(Mg)||o.result.createObjectStore(Mg)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function ru(e,t){return e.transaction(Mg,t).objectStore(Mg)}function Aw(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function Pse(e){if(!(typeof indexedDB>"u"))try{const t=await wv(),o=ru(t,"readonly"),n=await Aw(o.getAllKeys()),r=await Aw(o.getAll()),i=Date.now(),l=n.map((m,h)=>({key:m,value:r[h]})).sort((m,h)=>(h.value?.updatedAt??0)-(m.value?.updatedAt??0)),c=[];let d=0;for(const{key:m,value:h}of l){if(!h||i-h.updatedAt>Cse||d>=Ese){c.push(m);continue}d++;try{const g=JSON.parse(String(m));e.getQueryData(g)===void 0&&e.setQueryData(g,h.html,{updatedAt:0})}catch{c.push(m)}}if(c.length>0){const m=ru(t,"readwrite");for(const h of c)m.delete(h)}}catch{}}function Rse(e){if(typeof indexedDB>"u")return()=>{};const t=wv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const n=o.query;if(!Array.isArray(n.queryKey)||!Tse(n.queryKey)||n.state.status!=="success")return;const r=n.state.data;typeof r!="string"||r.length>xse||t.then(i=>{if(i)try{ru(i,"readwrite").put({html:r,updatedAt:Date.now()},JSON.stringify(n.queryKey))}catch{}})})}function Ase(){typeof indexedDB>"u"||wv().then(e=>ru(e,"readwrite").clear()).catch(()=>{})}async function ome(e){if(!(typeof indexedDB>"u"))try{const t=await wv(),o=await Aw(ru(t,"readonly").getAllKeys()),n=ru(t,"readwrite");for(const r of o)try{const i=JSON.parse(String(r));i[1]===O2&&i[3]===e&&n.delete(r)}catch{}}catch{}}const Ig="studio:rq-cache",K3=1440*60*1e3,kse=1e3,Dse=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),Ose=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let W3=!1,Y3=!1;function Mse(e){const t=e[0];return typeof t=="string"&&Dse.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&Ose.has(e[4])}function Ise(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Ig);if(!t)return;const o=JSON.parse(t),n=!o.timestamp||Date.now()-o.timestamp>K3;if(o.buster!=="4.149.3"||n||!o.state){window.localStorage.removeItem(Ig);return}Kj(e,o.state),W3=!0}catch{Nse()}}function Lse(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const n=Gj(e,{shouldDehydrateQuery:r=>r.state.status==="success"&&Mse(r.queryKey)});window.localStorage.setItem(Ig,JSON.stringify({buster:"4.149.3",timestamp:Date.now(),state:n}))}catch{}};return e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,kse))})}const Z3="studio:org-cache:";function Q3(e){return`${Z3}${e}`}function nme(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(Q3(e));if(!o)return null;const n=JSON.parse(o)[t];return!n||Date.now()-n.updatedAt>K3?null:(Y3=!0,n)}catch{return null}}function rme(e,t,o){if(!(typeof window>"u"))try{const n=Q3(e),r=window.localStorage.getItem(n),i=r?JSON.parse(r):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(n,JSON.stringify(i))}catch{}}function Nse(){if(Ase(),!(typeof window>"u"))try{window.localStorage.removeItem(Ig);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(Z3)&&window.localStorage.removeItem(t)}}catch{}}function Fse(){return W3}function Bse(){return Y3}let hi=!1,kw=null,KO=!1;const CE="studio:lp-distinct-id",J3="mesh:lp-distinct-id",MS="/api/_reports/link-token/",zse=1440*60*1e3;function X3(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),n=e.startsWith("//");try{const r=new URL(e,t);let i=!1;for(const l of["key","d"])r.searchParams.has(l)&&(r.searchParams.delete(l),i=!0);return r.pathname.startsWith(MS)&&r.pathname!==MS&&(r.pathname=`${MS}redacted`,i=!0),i?o?r.toString():n?`//${r.host}${r.pathname}${r.search}${r.hash}`:`${r.pathname}${r.search}${r.hash}`:e}catch{return e}}function IS(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?X3(o):o]))}const jse=e=>e?(e.properties=IS(e.properties),e.$set&&(e.$set=IS(e.$set)),e.$set_once&&(e.$set_once=IS(e.$set_once)),e):null;function e4(){try{const e=window.localStorage.getItem(CE)??window.localStorage.getItem(J3);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=zse?t:void 0}catch{return}}function Use(){try{window.localStorage.removeItem(CE),window.localStorage.removeItem(J3)}catch{}}function $se(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(CE,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??e4();return o?Object.keys(window.localStorage).some(r=>r.startsWith("ph_")&&r.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function qse(e){const t=e4();if(t&&(Use(),t!==e))try{wl.alias(t)}catch{}}function Vse(e,t){if(hi||typeof window>"u")return;const o=$se();wl.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...o?{bootstrap:{distinctID:o}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:jse,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:n=>({...n,...typeof n.name=="string"?{name:X3(n.name)}:{}})},person_profiles:"identified_only"}),hi=!0}function Hse(e,t){hi&&(wl.identify(e,t),qse(e))}function Gse(){hi&&(wl.reset(),kw=null)}function Kse(e,t){hi&&wl.capture(e,t)}function ame(){return hi}function ime(){if(!hi||KO||typeof performance>"u")return;KO=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const n=performance.getEntriesByName(o,"measure")[0];return n?Math.round(n.duration):void 0};Kse("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("studio:config-fetch"),active_org_fetch_ms:t("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:Fse(),org_cache_restored:Bse()})}function sme(e,t){hi&&e!==kw&&(wl.group("organization",e,t),kw=e)}function t4(e,t){if(hi)try{wl.captureException(e,t)}catch{}}let bp=null;function Wse({children:e}){const t=M2(),{data:o}=ov.useSession();if(t.posthog){Vse(t.posthog.key,t.posthog.host);const n=o?.user?.id??null;n&&n!==bp?(Hse(n,{email:o?.user?.email,name:o?.user?.name}),bp=n):!n&&bp&&(Gse(),bp=null)}return R.jsx(R.Fragment,{children:e})}const EE=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z"}));EE.displayName="AlertTriangle";const o4=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M4 7.997a2.295 2.295 0 0 1-.39-.035A2 2 0 0 1 2.038 6.39C2 6.197 2 5.965 2 5.5s0-.697.038-.89A2 2 0 0 1 3.61 3.038C3.803 3 4.035 3 4.5 3h15c.465 0 .697 0 .89.038a2 2 0 0 1 1.572 1.572c.038.193.038.425.038.89s0 .697-.038.89a2 2 0 0 1-1.572 1.572c-.107.02-.226.03-.39.035M10 13h4M4 8h16v8.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 21 16.88 21 15.2 21H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 18.72 4 17.88 4 16.2V8Z"}));o4.displayName="Archive";const xE=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));xE.displayName="Loading01";const n4=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));n4.displayName="Lock01";const r4=({size:e=24,color:t="currentColor",...o})=>D.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},D.createElement("path",{d:"M21 10s-2.005-2.732-3.634-4.362a9 9 0 1 0 2.282 8.862M21 10V4m0 6h-6"}));r4.displayName="RefreshCw01";function TE(){const e=eo.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=R.jsx("div",{className:"flex items-center justify-center min-h-screen w-full",children:R.jsx(xE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function Yse(e){try{return JSON.parse(e)}catch{return}}function WO(e,t){if(typeof localStorage>"u")return typeof t=="function"?t(void 0):t;const o=localStorage.getItem(e),n=o?Yse(o):void 0,r=typeof t=="function"?t(n):n??t;if(n===void 0||r!==n)try{const i=JSON.stringify(r);localStorage.setItem(e,i)}catch{}return r}function Zse(e,t){const o=eo.c(25),n=Ug();let r;o[0]!==e?(r=["localStorage",e],o[0]=e,o[1]=r):r=o[1];const i=r;let l,c;o[2]!==t||o[3]!==e?(l=()=>WO(e,t),c=()=>WO(e,t),o[2]=t,o[3]=e,o[4]=l,o[5]=c):(l=o[4],c=o[5]);let d;o[6]!==i||o[7]!==l||o[8]!==c?(d={queryKey:i,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=i,o[7]=l,o[8]=c,o[9]=d):d=o[9];const{data:m}=UM(d);let h;o[10]!==e?(h=async C=>(typeof localStorage<"u"&&localStorage.setItem(e,JSON.stringify(C)),C),o[10]=e,o[11]=h):h=o[11];let f;o[12]!==n||o[13]!==i?(f=C=>{n.setQueryData(i,C)},o[12]=n,o[13]=i,o[14]=f):f=o[14];let g;o[15]!==h||o[16]!==f?(g={mutationFn:h,onSuccess:f},o[15]=h,o[16]=f,o[17]=g):g=o[17];const v=Cp(g);let y;o[18]!==v||o[19]!==n||o[20]!==i?(y=C=>{const P=n.getQueryData(i),x=typeof C=="function"?C(P):C;v.mutate(x)},o[18]=v,o[19]=n,o[20]=i,o[21]=y):y=o[21];const S=y,E=m;let _;return o[22]!==S||o[23]!==E?(_=[E,S],o[22]=S,o[23]=E,o[24]=_):_=o[24],_}const uu={chatSelectedImageModel:e=>`studio:chat:selectedImageModel:${e}`,chatSelectedWebSearchModel:e=>`studio:chat:selectedWebSearchModel:${e}`,chatSelectedDeepResearchModel:e=>`studio:chat:selectedDeepResearchModel:${e}`,chatSimpleModeTier:e=>`studio:chat:simpleModeTier:${e}`,chatLastAgentOption:e=>`studio:chat:lastAgentOption:${e}`,chatAutosend:(e,t)=>`studio:chat:autosend:${e}:${t}`,chatDraft:(e,t)=>`studio:chat:draft:${e}:${t}`,sidePanelWidth:()=>"studio:side-panel:width",sidebarOpen:()=>"studio:sidebar-open",preferences:()=>"studio:user:preferences",lastOrgSlug:()=>"studio:last-org-slug",lastLocation:()=>"studio:last-location",connectionsTab:e=>`studio:connections:tab:${e}`,taskLastViewed:e=>`studio:chat:task-last-viewed:${e}`,sidebarGroupOrder:(e,t)=>`sidebar.group-order.${e}.${t}`,ptBrAnnouncementSeen:e=>`studio:announcement:pt-br:${e}`,cmsTourSeen:e=>`studio:cms-tour:seen:${e}`},Qse=["en","pt-BR"];function a4(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const Jse={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:a4()},i4=["auto","readonly"],lme=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],Xse=["light","dark","system"];function cme(){try{const e=JSON.parse(localStorage.getItem(uu.preferences())??"{}");if(i4.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function s4(){const e=eo.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=uu.preferences(),e[0]=t):t=e[0],Zse(t,ele)}function ele(e){const t={...Jse,...e};return i4.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),Xse.includes(t.theme)||(t.theme="system"),Qse.includes(t.language)||(t.language=a4()),t}async function tle(){performance.mark("studio:config-fetch:start");try{const e=await fetch("/api/config");if(!e.ok)throw new Error("Failed to load public configuration");const t=await e.json();if(!t.success)throw new Error(t.error||"Failed to load public configuration");return t.config}finally{performance.mark("studio:config-fetch:end"),performance.measure("studio:config-fetch","studio:config-fetch:start","studio:config-fetch:end")}}function ole(e){if(!e)return;const t=document.getElementById("studio-theme-overrides");t&&t.remove();const o=[];if(e.light&&Object.keys(e.light).length>0){const n=Object.entries(e.light).map(([r,i])=>` ${r}: ${i};`).join(`
164
164
  `);o.push(`:root {
165
165
  ${n}
166
166
  }`)}if(e.dark&&Object.keys(e.dark).length>0){const n=Object.entries(e.dark).map(([r,i])=>` ${r}: ${i};`).join(`
@@ -232,4 +232,4 @@ debug?`,"orgs.monitoring.propertyFilters":"Filtros de propriedade","orgs.monitor
232
232
  e.g. usuario1@example.com, usuario2@example.com
233
233
  ou um por linha`,"common.inviteMemberDialog.errorFailedInvite":"Falha ao convidar {count} membro(s)","common.inviteMemberDialog.errorGeneric":"Falha ao convidar membros","common.inviteMemberDialog.errorNoValidEmail":"Digite pelo menos um endereço de e-mail válido","common.inviteMemberDialog.errorSelectRole":"Selecione uma função","common.inviteMemberDialog.inviteButton":"Convidar {count} membro(s)","common.inviteMemberDialog.invitingButton":"Convidando...","common.inviteMemberDialog.permAllConnections":"Todas as conexões","common.inviteMemberDialog.permAllTools":"todas as ferramentas","common.inviteMemberDialog.permConnections":"{count} conexão(ões)","common.inviteMemberDialog.permFullOrgAccess":"Acesso total à organização","common.inviteMemberDialog.permOrgPerms":"{count} permissão(ns) de org","common.inviteMemberDialog.permTools":"{count} ferramenta(s)","common.inviteMemberDialog.roleSelectPlaceholder":"Selecione uma função","common.inviteMemberDialog.successMultiple":"{count} membros convidados com sucesso!","common.inviteMemberDialog.successSingle":"Membro convidado com sucesso!","common.inviteMemberDialog.title":"Convidar membros","common.keyboardShortcutsDialog.title":"Atalhos de teclado","common.noAccessScreen.askAdminToInvite":"Peça a um administrador que o convide.","common.noAccessScreen.couldNotFind":"Não conseguimos encontrar uma organização chamada","common.noAccessScreen.goToHome":"Ir para home","common.noAccessScreen.noAccess":"Sem acesso","common.noAccessScreen.noAccessTo":"Você não tem acesso a","common.noAccessScreen.organizationNotFound":"Organização não encontrada","common.pendingInviteScreen.acceptButton":"Aceitar convite","common.pendingInviteScreen.acceptDescription":"Aceite o convite para se juntar a esta organização.","common.pendingInviteScreen.acceptingButton":"Aceitando…","common.pendingInviteScreen.declineButton":"Recusar","common.pendingInviteScreen.decliningButton":"Recusando…","common.pendingInviteScreen.failedToAccept":"Falha ao aceitar o convite","common.pendingInviteScreen.failedToDecline":"Falha ao recusar o convite","common.pendingInviteScreen.invitationDeclined":"Convite recusado","common.pendingInviteScreen.invitedTo":"Você foi convidado para {orgName}","common.requestPendingScreen.description":"Sua solicitação para ingressar em {orgName} está aguardando aprovação de um administrador. Você terá acesso após a aprovação.","common.requestPendingScreen.goHome":"Ir para início","common.requestPendingScreen.title":"Solicitação pendente","common.requestToJoinScreen.description":"Um administrador deve aprovar solicitações de e-mails @{domain} antes que você possa entrar.","common.requestToJoinScreen.failedToRequest":"Falha ao solicitar acesso","common.requestToJoinScreen.goToHome":"Ir para início","common.requestToJoinScreen.requestButton":"Solicitar acesso","common.requestToJoinScreen.requesting":"Solicitando…","common.requestToJoinScreen.title":"Solicitar acesso a {orgName}?","common.simpleIconPicker.filterPlaceholder":"Filtrar…","common.simpleIconPicker.noIconsFound":"Nenhum ícone encontrado","common.ssoRequiredScreen.goBack":"Voltar","common.ssoRequiredScreen.orgRequiresSsoAuth":"Esta organização requer autenticação SSO para acessar.","common.ssoRequiredScreen.requiresSsoAuth":"requer autenticação SSO","common.ssoRequiredScreen.signInWithSso":"Entrar com SSO","common.ssoRequiredScreen.title":"Autenticação SSO Necessária","common.ssoRequiredScreen.via":"via {domain}","common.tagMultiSelect.addTags":"Adicionar tags...","common.tagMultiSelect.available":"Disponível","common.tagMultiSelect.createTag":'Criar "{tagName}"',"common.tagMultiSelect.noTagsFound":"Nenhuma tag encontrada.","common.tagMultiSelect.searchOrCreate":"Pesquisar ou criar...","common.tagMultiSelect.selected":"Selecionado","common.toolInputForm.enterPlaceholder":"Digite {fieldKey}…","common.toolInputForm.false":"falso","common.toolInputForm.jsonPlaceholder":"Digite {fieldKey} como JSON…","common.toolInputForm.selectPlaceholder":"Selecione…","common.toolInputForm.true":"verdadeiro","common.toolSetSelector.filterAll":"Todos","common.toolSetSelector.filterSelected":"Selecionados","common.toolSetSelector.filterUnselected":"Não selecionados","common.toolSetSelector.noConnectionsAvailable":"Nenhuma conexão disponível","common.toolSetSelector.noConnectionsFound":"Nenhuma conexão encontrada","common.toolSetSelector.noServersSelected":"Nenhum servidor selecionado","common.toolSetSelector.noToolsAvailable":"Esta conexão não tem ferramentas disponíveis","common.toolSetSelector.noUnselectedServers":"Nenhum servidor não selecionado","common.toolSetSelector.searchPlaceholder":"Pesquisar servidores MCP...","common.toolSetSelector.selectConnection":"Selecione uma conexão para visualizar suas ferramentas","common.useStartThreadFromPrompt.failedToStartChat":"Falha ao iniciar o chat. Tente novamente.","common.useStartThreadFromPrompt.mcpClientNotAvailable":"Cliente MCP não disponível","common.versionCheckDialog.available":"Uma nova versão está disponível","common.versionCheckDialog.outdatedVersion":"Você está visualizando uma versão desatualizada desta página. Atualize para obter as últimas atualizações.","common.versionCheckDialog.refresh":"Atualizar","common.createAgentDropdown.createFromScratch":"Criar do zero","common.createAgentDropdown.importFromGitHub":"Importar do GitHub","common.createAgentDropdown.importFromDeco":"Importar do deco.cx","common.mainPanelTabs.overview":"Visão Geral","common.mainPanelTabs.preview":"Visualização","common.mainPanelTabs.code":"Código","common.mainPanelTabs.content":"Conteúdo","common.mainPanelTabs.reviewChanges":"Revisar alterações","common.mainPanelTabs.automations":"Automações","common.mainPanelTabs.settings":"Configurações","common.mainPanelTabs.report":"Relatório","common.taskBoard.listView":"Lista","common.taskBoard.boardView":"Quadro","common.openExternalFailed":"Não foi possível abrir este link no navegador."},mce={"commerceOnboarding.companionCard.configure":"Configurar","commerceOnboarding.companionCard.configureAriaLabel":"Configurar {title}","commerceOnboarding.companionCard.configureDescription":"Configure o {title} para enriquecer os dados","commerceOnboarding.companionCard.connect":"Conectar","commerceOnboarding.companionCard.connectAriaLabel":"Conectar {title}","commerceOnboarding.companionCard.connected":"Conectado","commerceOnboarding.companionCard.disconnect":"Desconectar","commerceOnboarding.companionCard.disconnectAriaLabel":"Desconectar {title}","commerceOnboarding.companionCard.disconnectError":"Não foi possível desconectar. Tente novamente.","commerceOnboarding.companionCard.disconnectedSuccess":"{title} desconectado","commerceOnboarding.companionCard.editConfiguration":"Editar configuração","commerceOnboarding.companionCard.finishSetup":"Concluir configuração","commerceOnboarding.companionCard.required":"Obrigatório","commerceOnboarding.companionCard.grantAccessDescription":"Conceda acesso ao nosso leitor e informe o identificador","commerceOnboarding.githubConfigForm.cancel":"Cancelar","commerceOnboarding.githubConfigForm.failedToSave":"Não foi possível salvar a configuração","commerceOnboarding.githubConfigForm.githubConnectionNotFound":"Conexão do GitHub não encontrada.","commerceOnboarding.githubConfigForm.invalidRepository":'Repositório inválido: "{repo}". Use o formato owner/nome.',"commerceOnboarding.githubConfigForm.loadingRepositories":"Carregando repositórios...","commerceOnboarding.githubConfigForm.noGithubInstallation":'Nenhuma instalação do GitHub encontrada para "{owner}".',"commerceOnboarding.githubConfigForm.noRepositoriesFound":"Nenhum repositório encontrado. Digite o nome do repositório (owner/nome) para buscar.","commerceOnboarding.githubConfigForm.save":"Salvar","commerceOnboarding.githubConfigForm.saving":"Salvando...","commerceOnboarding.githubConfigForm.searchFailedPartial":"Parte da busca falhou — alguns repositórios podem não ter aparecido. Tente novamente ou digite owner/nome.","commerceOnboarding.githubConfigForm.searchFailedTotal":"Não foi possível buscar os repositórios (erro ou tempo esgotado). Tente novamente ou digite o repositório no formato owner/nome.","commerceOnboarding.githubConfigForm.searchRepositoryLabel":"Buscar repositório","commerceOnboarding.githubConfigForm.searchRepositoryPlaceholder":"Buscar repositório","commerceOnboarding.githubConfigForm.selectRepository":"Selecione um repositório","commerceOnboarding.saBindingForm.bind":"Vincular","commerceOnboarding.saBindingForm.bindError":"Não foi possível vincular.","commerceOnboarding.saBindingForm.cancel":"Cancelar","commerceOnboarding.saBindingForm.connectedSuccess":"{label} conectado","commerceOnboarding.saBindingForm.copyEmailLabel":"Copiar e-mail do service account","commerceOnboarding.saBindingForm.emailCopied":"E-mail copiado","commerceOnboarding.saBindingForm.googleLoginAlternative":"autorizar via login do Google","commerceOnboarding.saBindingForm.resourceIdRequired":"Informe o {resourceLabel}","commerceOnboarding.saBindingForm.storeUrlUnavailable":"URL da loja indisponível — recarregue a página.","commerceOnboarding.saBindingForm.verifying":"Verificando...","commerceOnboarding.vtexConfigForm.accountNameLabel":"Nome da conta","commerceOnboarding.vtexConfigForm.accountNamePlaceholder":"Nome da sua conta VTEX","commerceOnboarding.vtexConfigForm.appKeyLabel":"App Key (opcional)","commerceOnboarding.vtexConfigForm.appKeyPlaceholder":"App Key da VTEX","commerceOnboarding.vtexConfigForm.appTokenLabel":"App Token (opcional)","commerceOnboarding.vtexConfigForm.appTokenPlaceholder":"App Token da VTEX","commerceOnboarding.vtexConfigForm.cancelButton":"Cancelar","commerceOnboarding.vtexConfigForm.saveButton":"Salvar","commerceOnboarding.vtexConfigForm.savingButton":"Salvando...","commerceOnboarding.vtexConfigForm.savingError":"Não foi possível salvar a configuração"},fce={"collections.collectionDisplayButton.displayAndFilters":"Exibição & filtros","collections.collectionDisplayButton.sortBy":"Ordenar por","collections.collectionTableWrapper.loading":"Carregando...","collections.collectionTableWrapper.noItemsFound":"Nenhum item encontrado","collections.mutations.itemCreatedSuccessfully":"Item criado com sucesso","collections.mutations.itemUpdatedSuccessfully":"Item atualizado com sucesso","collections.mutations.itemDeletedSuccessfully":"Item deletado com sucesso","collections.mutations.createItemFailed":"Falha ao criar item: {error}","collections.mutations.updateItemFailed":"Falha ao atualizar item: {error}","collections.mutations.deleteItemFailed":"Falha ao deletar item: {error}"},hce={"cmsTour.menuItem":"Tour visual","cmsTour.preview.title":"Visualização","cmsTour.preview.description":"Veja seu site atualizar em tempo real enquanto edita — esta é a sua prévia de trabalho.","cmsTour.dropdown.title":"Mais visualizações","cmsTour.dropdown.description":"Código, Conteúdo e Biblioteca ficam aqui — abra este menu para alternar entre eles.","cmsTour.edit.title":"CMS","cmsTour.edit.description":"Abra o editor para mexer nas seções da página que você está vendo.","cmsTour.visualEditor.title":"Editor visual","cmsTour.visualEditor.description":"Ative para clicar em qualquer seção direto na página e editar ali mesmo.","cmsTour.device.title":"Visualização responsiva","cmsTour.device.description":"Alterne entre desktop, tablet e celular para conferir como o layout se adapta.","cmsTour.branches.title":"Branches","cmsTour.branches.description":"Cada conjunto de mudanças fica em sua própria branch — troque ou crie uma nova aqui.","cmsTour.submit.title":"Enviar para revisão","cmsTour.submit.description":"Envie suas mudanças como um pull request para o time revisar antes de irem ao ar.","cmsTour.publish.title":"Publicar","cmsTour.publish.description":"Publique suas mudanças no site quando estiverem prontas.","cmsTour.next":"Próximo","cmsTour.prev":"Voltar","cmsTour.done":"Entendi","cmsTour.skip":"Pular","cmsTour.progress":"{{current}} de {{total}}"},pce={"chat.agentCreate.agentCreated":"Agente criado: {name}","chat.agentCreate.cancelled":"Criação de agente cancelada","chat.agentCreate.couldntCreate":"Não foi possível criar o agente","chat.agentCreate.createAgent":"Criar agente","chat.agentCreate.created":"Agente criado","chat.agentCreate.creating":"Criando agente","chat.agentCreate.seeAgent":"Ver agente","chat.agentCreate.seeAgentLabel":"Ver agente: {name}","chat.agentIcons.claudeCode":"Claude Code","chat.agentIcons.codex":"Codex","chat.agentList.agentsNoun":"agentes","chat.agentList.couldntLoad":"Não foi possível carregar agentes","chat.agentList.listAgents":"Listar agentes","chat.agentList.loading":"Carregando agentes","chat.agentList.multiAgents":"{count} agentes","chat.agentList.noAgents":"Nenhum agente ainda","chat.agentList.noAgentsDesc":"Esta organização ainda não criou nenhum agente.","chat.agentList.oneAgent":"1 agente","chat.agentList.unavailable":"Lista de agentes indisponível","chat.agentModels.balancedQuality":"Qualidade equilibrada","chat.agentModels.deeperReasoning":"Raciocínio mais profundo","chat.agentModels.gptLunaLabel":"GPT-5.6 Luna","chat.agentModels.gptSolLabel":"GPT-5.6 Sol","chat.agentModels.gptTerraLabel":"GPT-5.6 Terra","chat.agentModels.haikuLabel":"Haiku 4.5","chat.agentModels.opusLabel":"Opus 5 1M","chat.agentModels.quickerResponses":"Respostas mais rápidas","chat.agentModels.sonnetLabel":"Sonnet 5","chat.approval.acceptButton":"Aceitar","chat.approval.batchedLabel":"{count} aprovação(ões) pendente(s)","chat.approval.defaultDenyReason":"O usuário negou esta chamada de ferramenta, ofereça outras alternativas.","chat.approval.denyButton":"Negar","chat.approval.needsApproval":"Aprovação necessária","chat.approval.noInput":"Sem entrada","chat.approval.preparingRequest":"Preparando solicitação de aprovação...","chat.assistant.messagePlural":"{count} mensagem(ns)","chat.assistant.noResponseGenerated":"Nenhuma resposta foi gerada","chat.assistant.resumedBackgroundTask":"Retomado — tarefa em segundo plano concluída","chat.assistant.resumingTask":"Retomando tarefa...","chat.assistant.toolCallPlural":"{count} chamada(s) de ferramenta","chat.branchPill.lockedTooltip":"Este chat está usando a branch {branch}. Inicie um novo chat para usar uma branch diferente.","chat.branchPill.noBranch":"(sem branch)","chat.brandContext.brand":"Marca","chat.brandContext.brandContextSet":"Contexto de marca definido","chat.brandContext.brandSet":"Marca definida: {name}","chat.brandContext.brandWithName":"Marca · {name}","chat.brandContext.colorAccent":"Destaque","chat.brandContext.colorBackground":"Fundo","chat.brandContext.colorForeground":"Primeiro Plano","chat.brandContext.colorPrimary":"Primário","chat.brandContext.colorSecondary":"Secundário","chat.brandContext.colorsSection":"Cores","chat.brandContext.couldNotLoadBrand":"Não foi possível carregar a marca","chat.brandContext.couldNotLoadBrands":"Não foi possível carregar as marcas","chat.brandContext.defaultBadge":"padrão","chat.brandContext.extractingBrand":"Extraindo marca","chat.brandContext.extractionFailed":"Falha ao extrair marca","chat.brandContext.fromDomain":"de {domain}","chat.brandContext.loadingBrand":"Carregando marca","chat.brandContext.loadingBrands":"Carregando marcas","chat.brandContext.multipleBrands":"{count} marca(s)","chat.brandContext.noBrandsContext":"A organização ainda não configurou nenhum contexto de marca.","chat.brandContext.noBrandsYet":"Nenhuma marca ainda","chat.brandContext.oneBrand":"1 marca","chat.brandContext.typographySection":"Tipografia","chat.brandContext.unknownError":"Erro desconhecido","chat.brandContext.untitled":"Sem Título","chat.chat.jumpToLatest":"Ir para o mais recente","chat.chat.loadingOlderMessages":"Carregando mensagens mais antigas…","chat.chatContext.activeTaskProviderMissingContext":"ActiveTaskProvider deve ser usado dentro de ChatContextProvider","chat.chatContext.cancelFailedStatus":"Falha ao cancelar: {status}","chat.chatContext.couldNotRemoveOriginalMessage":"Não foi possível remover a mensagem original","chat.chatContext.failedToCancel":"Falha ao cancelar","chat.chatContext.failedToQueueMessage":"Falha ao enfileirar mensagem","chat.chatContext.failedToSendEditedMessage":"Falha ao enviar mensagem editada","chat.chatContext.stillSendingPreviousMessage":"Ainda enviando sua mensagem anterior — tente novamente em alguns momentos","chat.chatContext.useChatPrefsMissingContext":"useChatPrefs deve ser usado dentro de ChatContextProvider","chat.chatContext.useChatStreamMissingContext":"useChatStream deve ser usado dentro de ActiveTaskProvider","chat.chatContext.useChatTaskMissingContext":"useChatTask deve ser usado dentro de ChatContextProvider","chat.collapsibleHighlight.closeLabel":"Fechar","chat.collapsibleHighlight.closeTitle":"Fechar","chat.common.copy":"Copiar","chat.common.seeAll":"Ver todos os {count} {noun}","chat.connectDesktopDialog.agentClaudeCodeDescription":"Executa através do CLI do Claude Code","chat.connectDesktopDialog.agentClaudeCodeLabel":"Claude Code","chat.connectDesktopDialog.agentCodexDescription":"Executa através do CLI do Codex","chat.connectDesktopDialog.agentCodexLabel":"Codex","chat.connectDesktopDialog.connectYourDesktop":"Conecte seu desktop","chat.connectDesktopDialog.connectedTo":"Conectado a {desktopName}","chat.connectDesktopDialog.machineAgentsDescription":"Esta máquina fornece os seguintes agentes locais.","chat.connectDesktopDialog.notDetected":"Não detectado","chat.connectDesktopDialog.runCommandDescription":"Execute este comando no terminal do seu desktop. A caixa de diálogo será fechada assim que seu desktop ficar online.","chat.connectDesktopDialog.waitingForDesktop":"Aguardando desktop…","chat.connectDesktopDialog.yourDesktop":"Seu desktop","chat.connectionList.connectionNoun":"conexões","chat.connectionList.emptySummary":"Esta organização não conectou nenhum MCP.","chat.connectionList.emptyTitle":"Nenhuma conexão ainda","chat.connectionList.errorTitle":"Não foi possível carregar conexões","chat.connectionList.loadingTitle":"Carregando conexões","chat.connectionList.multipleConnections":"{count} conexões","chat.connectionList.singleConnection":"1 conexão","chat.connectionList.unavailableTitle":"Lista de conexões indisponível","chat.contextPanel.agentLabel":"Agente","chat.contextPanel.assistantPercent":"Assistente {pct}%","chat.contextPanel.contextBreakdownSection":"Análise do Contexto","chat.contextPanel.contextLimitLabel":"Limite de Contexto","chat.contextPanel.costLabel":"Custo","chat.contextPanel.emptyState":"Inicie uma conversa para ver o contexto","chat.contextPanel.inputTokensLabel":"Tokens de Entrada","chat.contextPanel.lastActivityLabel":"Última Atividade","chat.contextPanel.messagesLabel":"Mensagens","chat.contextPanel.modelLabel":"Modelo","chat.contextPanel.newChat":"Novo chat","chat.contextPanel.otherPercent":"Outro {pct}%","chat.contextPanel.outputTokensLabel":"Tokens de Saída","chat.contextPanel.rawMessagesSection":"Mensagens brutas","chat.contextPanel.reasoningTokensLabel":"Tokens de Raciocínio","chat.contextPanel.requestLabel":"Solicitação","chat.contextPanel.sessionCreatedLabel":"Sessão Criada","chat.contextPanel.sessionLabel":"Sessão","chat.contextPanel.sessionTokensLabel":"Tokens da Sessão (cobrados)","chat.contextPanel.subtask":"Subtarefa","chat.contextPanel.subtasksSection":"Subtarefas","chat.contextPanel.systemPromptLabel":"Prompt do sistema","chat.contextPanel.title":"Contexto","chat.contextPanel.tokAbbrev":"tok","chat.contextPanel.toolsActive":"ferramentas ativas","chat.contextPanel.usageLabel":"Uso","chat.contextPanel.userPercent":"Usuário {pct}%","chat.creditsEmptyState.add":"Adicionar","chat.creditsEmptyState.bestValueLabel":"Melhor custo","chat.creditsEmptyState.description":"Seus créditos gratuitos foram utilizados em outro workspace. Adicione créditos para usar IA aqui.","chat.creditsEmptyState.enterCustomAmount":"Inserir valor personalizado","chat.creditsEmptyState.opening":"Abrindo...","chat.creditsEmptyState.popularLabel":"Popular","chat.creditsEmptyState.skipForNow":"Pular por enquanto","chat.creditsEmptyState.starterLabel":"Iniciante","chat.creditsEmptyState.title":"Este workspace não possui créditos","chat.creditsEmptyState.topUpFailed":"Falha ao recarregar: {message}","chat.creditsEmptyState.useYourOwnProvider":"Usar seu próprio provedor","chat.creditsExhaustedBanner.add":"Adicionar","chat.creditsExhaustedBanner.benefit1":"Acesso a 100+ modelos de IA","chat.creditsExhaustedBanner.benefit2":"API unificada, sem necessidade de chaves separadas","chat.creditsExhaustedBanner.benefit3":"Pague apenas pelo que usar","chat.creditsExhaustedBanner.customPlaceholder":"50","chat.creditsExhaustedBanner.description":"Seus créditos foram esgotados. Adicione mais para continuar usando IA em todos os seus agentes.","chat.creditsExhaustedBanner.dismiss":"Descartar","chat.creditsExhaustedBanner.enterCustom":"Inserir valor personalizado","chat.creditsExhaustedBanner.manageProviders":"Gerenciar provedores","chat.creditsExhaustedBanner.opening":"Abrindo...","chat.creditsExhaustedBanner.tierBestValue":"Melhor valor","chat.creditsExhaustedBanner.tierPopular":"Popular","chat.creditsExhaustedBanner.tierStarter":"Iniciante","chat.creditsExhaustedBanner.title":"Recarregue para continuar criando","chat.creditsExhaustedBanner.topupError":"Falha na recarga: {error}","chat.decopilot.back":"Voltar","chat.decopilot.couldNotFetchModels":"Não foi possível buscar modelos deste provedor.","chat.decopilot.failedToLoadModels":"Falha ao carregar modelos","chat.decopilot.key":"Chave","chat.decopilot.manageApiKeys":"Gerenciar chaves de API","chat.decopilot.manageModels":"Gerenciar modelos","chat.decopilot.retry":"Tentar novamente","chat.decopilot.searchAllModels":"Pesquisar todos os modelos...","chat.decopilot.searchForModel":"Procure um modelo...","chat.decopilot.selectedCount":"{count} selecionado(s)","chat.decopilot.tierCheaper":"Mais barato","chat.decopilot.tierFaster":"Mais rápido","chat.decopilot.tierOther":"Outro","chat.decopilot.tierSmarter":"Mais inteligente","chat.decopilot.tryAnotherProviderOrRetry":"Tente outro provedor ou tente novamente.","chat.desktopCli.tierFastDescription":"Respostas mais rápidas","chat.desktopCli.tierSmartDescription":"Qualidade equilibrada","chat.desktopCli.tierThinkingDescription":"Raciocínio mais profundo","chat.desktopOfflineBanner.instructions":"Execute bunx decocms@latest link em um terminal naquele computador para trazê-lo de volta. As mensagens que você enviar enquanto estiver offline falharão.","chat.desktopOfflineBanner.label":"Seu desktop está offline","chat.desktopOfflineBanner.reconnectButton":"Reconectar desktop","chat.desktopOfflineBanner.title":"Este chat é executado no seu desktop, que não está conectado no momento.","chat.generateImage.failed":"Falhou","chat.generateImage.generatedImage":"Imagem gerada","chat.generateImage.generatedImageAlt":"Imagem gerada","chat.generateImage.generatingImage":"Gerando imagem","chat.generateImage.imageGeneration":"Geração de imagem","chat.generateImage.imageQueuedGeneratingInBackground":"Imagem na fila — gerando em segundo plano","chat.generateImage.noImagesGenerated":"Nenhuma imagem gerada","chat.generateImage.reference":"referência","chat.generateImage.references":"referências:","chat.generic.cancelled":"Cancelado","chat.generic.done":"Concluído","chat.generic.dynamicTool":"Ferramenta Dinâmica","chat.generic.failed":"Falhou","chat.generic.failedToLoad":"Falha ao carregar app {toolName}","chat.generic.loadingApp":"Carregando app...","chat.generic.openInPanel":"Abrir no painel","chat.generic.preparing":"Preparando...","chat.generic.retry":"Tentar novamente","chat.generic.waitingForApproval":"Aguardando sua aprovação","chat.highlight.continue":"Continuar","chat.highlight.copiedToClipboard":"Copiado para a área de transferência","chat.highlight.copy":"Copiar","chat.highlight.copyErrorDetails":"Copiar detalhes do erro","chat.highlight.couldNotCopy":"Não foi possível copiar","chat.highlight.errorOccurred":"Erro ocorreu","chat.highlight.fixInChat":"Corrigir no chat","chat.highlight.fixInChatMessage":"Encontrei este erro: {error}. Você pode me ajudar a corrigi-lo?","chat.highlight.hideTechnicalDetails":"Ocultar detalhes técnicos","chat.highlight.implementPlanMessage":`Implemente este plano:
234
234
 
235
- {plan}`,"chat.highlight.pleaseContinue":"Por favor, continue.","chat.highlight.responseIncomplete":"Resposta incompleta","chat.highlight.responseStoppedUnexpectedly":"A resposta parou inesperadamente: {reason}","chat.highlight.showTechnicalDetails":"Mostrar detalhes técnicos","chat.highlight.warningDescriptionContentFilter":"A resposta foi filtrada devido à política de conteúdo.","chat.highlight.warningDescriptionLength":"A resposta atingiu o limite de saída do modelo. Diferentes modelos têm limites diferentes. Tente trocar de modelo ou peça para continuar.","chat.highlight.warningDescriptionToolCalls":"A resposta foi pausada após a execução da ferramenta para evitar loops infinitos e economizar custos. Clique continuar para continuar trabalhando.","chat.iceBreakers.allPromptsTitle":"Todos os prompts","chat.iceBreakers.failedToLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.iceBreakers.mcpClientNotAvailable":"Cliente MCP não disponível","chat.iceBreakers.moreButton":"+{count} mais","chat.iceBreakers.noPromptsMatch":'Nenhum prompt correspondente a "{search}"',"chat.iceBreakers.promptsLabel":"Prompts","chat.iceBreakers.searchPromptsPlaceholder":"Pesquisar prompts...","chat.imageLightbox.downloadImage":"Baixar imagem","chat.imageLightbox.zoomIn":"Aumentar zoom","chat.imageLightbox.zoomOut":"Diminuir zoom","chat.input.cancelRecording":"Cancelar gravação","chat.input.cancelRun":"Cancelar execução","chat.input.createImage":"Criar imagem","chat.input.deepResearch":"Pesquisa profunda","chat.input.dropFilesHere":"Solte {fileTypes} aqui","chat.input.microphoneAccessDenied":"Acesso ao microfone negado — clique para tentar novamente","chat.input.modelCannotReadAttachments":"Este modelo não consegue ler anexos — mude para um com suporte a visão ou arquivos","chat.input.planMode":"Modo de planejamento","chat.input.readOnlyOthersChat":"Apenas leitura - você está visualizando um chat de outra pessoa","chat.input.sendMessage":"Enviar mensagem","chat.input.sendMessageEnter":"Enviar mensagem (Enter)","chat.input.stillSendingPreviousMessage":"Ainda enviando sua mensagem anterior — tente novamente em um momento","chat.input.stopGenerating":"Parar de gerar","chat.input.useTranscription":"Usar transcrição","chat.input.voiceInput":"Entrada de voz","chat.input.webSearch":"Busca na web","chat.input.placeholder":"Pergunte qualquer coisa, / para prompts & habilidades, @ para agentes & recursos...","chat.markdown.copyAsCSV":"Copiar como CSV","chat.markdown.copyCode":"Copiar código","chat.markdown.image":"Imagem","chat.markdown.openFile":"Abrir arquivo","chat.mentionAt.agentsDescription":"Mencione um agente para transferir o trabalho","chat.mentionAt.agentsTitle":"Agentes","chat.mentionAt.failedToLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionAt.resourcesDescription":"Anexar um recurso como contexto","chat.mentionAt.resourcesTitle":"Recursos","chat.mentionSlash.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.mentionSlash.failedLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionSlash.failedLoadSkill":"Falha ao carregar skill. Tente novamente.","chat.mentionSlash.failedUpdatePrompt":"Falha ao atualizar prompt. Tente novamente.","chat.nextActionChip.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.nextActionChip.mcpClientNotAvailable":"Cliente MCP não disponível","chat.nextActionChip.next":"Próximo:","chat.noAiProviderEmptyState.connectDesktopLabel":"Conecte seu desktop","chat.noAiProviderEmptyState.desktopLinkedLabel":"Desktop vinculado","chat.noAiProviderEmptyState.headingDefault":"Seus agentes estão quase prontos","chat.noAiProviderEmptyState.headingWithOrg":"{org} está pronto para agentes","chat.noAiProviderEmptyState.orConnectProvider":"ou conecte um provedor em nuvem","chat.noAiProviderEmptyState.subtitleDefault":"Conecte um provedor — ou execute `bunx decocms@latest link` em seu desktop para usar Claude Code, Codex ou seus arquivos locais.","chat.noAiProviderEmptyState.subtitleLocalMode":"Conecte um provedor ou execute `bunx decocms@latest link` em seu desktop para Claude Code, Codex e arquivos locais.","chat.noAiProviderEmptyState.subtitleWithDesktop":"Seu desktop está vinculado — comece agora com um agente de codificação local ou conecte um provedor em nuvem para modelos hospedados.","chat.noAiProviderEmptyState.useLabel":"Usar {label}","chat.outputFileRow.download":"Baixar","chat.outputFileRow.downloadFile":"Baixar {filename}","chat.outputFileRow.open":"Abrir","chat.pagination.counter":"{current} de {total}","chat.pagination.nextLabel":"Próxima pergunta","chat.pagination.previousLabel":"Pergunta anterior","chat.proposePlan.approved":"Aprovado","chat.proposePlan.implementationPlan":"Plano de Implementação","chat.proposePlan.keepIterating":"Continuar iterando","chat.proposePlan.letsGo":"Vamos lá","chat.proposePlan.planReady":"Plano pronto","chat.proposePlan.preparingPlan":"Preparando plano...","chat.proposePlan.rejected":"Rejeitado","chat.proposePlan.viewPlan":"Ver plano","chat.queueTray.queuedMessage":"{count} mensagem na fila","chat.queueTray.queuedMessages":"{count} mensagens na fila","chat.queueTray.removeFromQueue":"Remover da fila","chat.queueTray.sendNow":"Enviar agora","chat.selectModel.selectModel":"Selecionar modelo","chat.selectVirtualMcp.chooseAgentTooltip":"Escolha um agente para conversar","chat.selectVirtualMcp.createAgent":"Criar Agente","chat.selectVirtualMcp.creating":"Criando...","chat.selectVirtualMcp.noAgentsFound":"Nenhum agente encontrado","chat.selectVirtualMcp.searchPlaceholder":"Pesquisar por um agente...","chat.selectVirtualMcp.selectAgent":"Selecionar Agente","chat.shared.approxWords":"~{wordCount} palavras","chat.shared.capabilityImage":"Imagem","chat.shared.capabilityReasoning":"Raciocínio","chat.shared.capabilityText":"Texto","chat.shared.capabilityTools":"Ferramentas","chat.shared.capabilityVision":"Visão","chat.shared.capabilityWebSearch":"Pesquisa na web","chat.shared.context":"Contexto","chat.shared.contextLevelLarge":"Grande","chat.shared.contextLevelLargeDesc":"Projetos longos e pesquisa","chat.shared.contextLevelMedium":"Médio","chat.shared.contextLevelMediumDesc":"Bom para a maioria das tarefas","chat.shared.contextLevelSmall":"Pequeno","chat.shared.contextLevelSmallDesc":"Conversas curtas","chat.shared.contextLevelVeryLarge":"Muito grande","chat.shared.contextLevelVeryLargeDesc":"Arquivos e dados massivos","chat.shared.contextWindow":"Janela de contexto","chat.shared.costLevelCheap":"Barato","chat.shared.costLevelExpensive":"Caro","chat.shared.costLevelHigh":"Alto","chat.shared.costLevelModerate":"Moderado","chat.shared.fileTypeAudio":"áudio","chat.shared.fileTypeImages":"imagens","chat.shared.fileTypeOffice":"Arquivos Office","chat.shared.fileTypePdfs":"PDFs","chat.shared.fileTypeVideo":"vídeo","chat.shared.hoverToPreview":"Passe o mouse para visualizar","chat.shared.input":"Entrada","chat.shared.output":"Saída","chat.shared.outputLimit":"Limite de saída","chat.shared.pricing":"Preços","chat.shared.selectModel":"Selecionar modelo","chat.shared.tokens":"tokens","chat.subtask.awaitingApproval":"Aguardando aprovação...","chat.subtask.completedNoOutput":"Subtarefa concluída (sem saída).","chat.subtask.completedTitle":"Subtarefa concluída","chat.subtask.errorLabel":"Erro","chat.subtask.failedTitle":"Subtarefa falhou","chat.subtask.failedWithError":"Subtarefa falhou: {error}","chat.subtask.flipToBackground":"Executar em background","chat.subtask.flipping":"Movendo para background…","chat.subtask.noPromptProvided":"Nenhum prompt fornecido","chat.subtask.resultLabel":"Resultado","chat.subtask.running":"Executando…","chat.subtask.runningEllipsis":"Subtarefa em execução...","chat.subtask.runningInBackground":"Executando em background…","chat.subtask.startingEllipsis":"Iniciando subtarefa...","chat.subtask.stepLimitNoOutput":"[A subtarefa atingiu o limite de etapas antes de produzir um relatório final. O subagente trabalhou, mas ficou sem etapas. Restrinja a tarefa ou aumente o orçamento.]","chat.subtask.stepLimitPartial":"[A subtarefa atingiu o limite de etapas — resultado parcial abaixo; considere restringir a tarefa.]","chat.subtask.subtaskNoun":"Subtarefa","chat.subtask.taskLabel":"Tarefa","chat.takeScreenshot.failed":"Falhou","chat.takeScreenshot.screenshot":"Captura de tela","chat.takeScreenshot.screenshotAlt":"Captura de tela","chat.takeScreenshot.taking":"Capturando tela","chat.takeScreenshot.title":"Capturar tela","chat.textPart.copyMessage":"Copiar mensagem","chat.thinkingIndicator.cancel":"Cancelar","chat.thinkingIndicator.planningDetail":"Decidindo como abordar a solicitação","chat.thinkingIndicator.planningLabel":"Planejando os próximos passos","chat.thinkingIndicator.takingLonger":"Isso está levando mais tempo que o usual.","chat.thinkingIndicator.thinking":"Pensando...","chat.thinkingIndicator.thinkingDetail":"Processando a próxima resposta","chat.thinkingIndicator.thinkingLabel":"Pensando","chat.thinkingIndicator.thought":"Pensou","chat.thinkingIndicator.thoughtFor":"Pensou por {duration}","chat.tierTrigger.runtimeClaudeCode":"Claude Code","chat.tierTrigger.runtimeCloud":"Nuvem","chat.tierTrigger.runtimeCodex":"Codex","chat.tierTrigger.runtimeThisDevice":"Dispositivo","chat.tierTrigger.selected":"Selecionado","chat.tierTrigger.tierFast":"Rápido","chat.tierTrigger.tierSmart":"Inteligente","chat.tierTrigger.tierThinking":"Pensamento","chat.toolsPopover.addFile":"Adicionar arquivo","chat.toolsPopover.approval":"Aprovação","chat.toolsPopover.connections":"Conexões","chat.toolsPopover.createImage":"Criar imagem","chat.toolsPopover.deepResearch":"Pesquisa aprofundada","chat.toolsPopover.failedLoadPrompt":"Falha ao carregar prompt. Por favor, tente novamente.","chat.toolsPopover.loadingPrompts":"Carregando prompts…","chat.toolsPopover.modelNoFileSupport":"O modelo selecionado não suporta leitura de arquivos ou imagens.","chat.toolsPopover.noPromptsAvailable":"Nenhum prompt disponível","chat.toolsPopover.on":"Ativado","chat.toolsPopover.planMode":"Modo planejamento","chat.toolsPopover.prompts":"Prompts","chat.toolsPopover.tools":"Ferramentas","chat.toolsPopover.webSearch":"Busca na web","chat.triggerEventPart.triggeredByEvent":"Acionado por evento","chat.uploader.accepts":"{modelName} aceita","chat.uploader.cantAttachToChat":"não pode ser anexado a este chat.","chat.uploader.fileTypeNotSupported":"Tipo de arquivo não suportado","chat.uploader.gotIt":"Entendi","chat.userAskQuestion.choiceOptionsAriaLabel":"Opções de escolha","chat.userAskQuestion.confirmNo":"Não","chat.userAskQuestion.confirmValue":"Confirme {value}","chat.userAskQuestion.confirmYes":"Sim","chat.userAskQuestion.confirmationOptionsAriaLabel":"Opções de confirmação","chat.userAskQuestion.customChoiceInputAriaLabel":"Entrada de escolha customizada","chat.userAskQuestion.preparingQuestion":"Preparando pergunta...","chat.userAskQuestion.question":"Pergunta","chat.userAskQuestion.questionCount":"{current} de {total}","chat.userAskQuestion.questionPending":"Pergunta pendente","chat.userAskQuestion.selectOption":"Selecione {option}","chat.userAskQuestion.skip":"Pular","chat.userAskQuestion.skipMessage":"usuário pulou esta pergunta","chat.userAskQuestion.skippedAnswer":"Pulado","chat.userAskQuestion.somethingElsePlaceholder":"Algo mais...","chat.userAskQuestion.textResponseInputAriaLabel":"Entrada de resposta em texto","chat.userAskQuestion.typeResponse":"Digite sua resposta...","chat.webSearch.failed":"Falhou","chat.webSearch.researching":"Pesquisando...","chat.webSearch.showLess":"mostrar menos","chat.webSearch.showMore":"+{count} mais","chat.webSearch.title":"Busca na web","chat.mention.editPrompt":"Editar argumentos do prompt {name}","chat.mention.noItemsFound":"Nenhum item encontrado","chat.modelPreferences.title":"Seus modelos","chat.modelPreferences.description":"Escolha qual modelo cada nível usa para você. Isso altera apenas os seus chats — o padrão da organização permanece o mesmo.","chat.modelPreferences.customizeModel":"Personalizar modelo de {tier}","chat.modelPreferences.pickModel":"Escolher modelo","chat.modelPreferences.reset":"Redefinir","chat.modelPreferences.usingOrgDefault":"Usando o padrão da organização","chat.modelPreferences.orgDefaultIs":"Padrão da organização: {model}","chat.modelPreferences.autoPicked":"escolhido automaticamente","chat.modelPreferences.loadFailed":"Não foi possível carregar suas escolhas de modelo. O que aparece abaixo pode não corresponder ao que seus chats usam."},gce={"automations.addStarterPopover.addStarter":"Adicionar Gatilho","automations.addStarterPopover.customCron":"Personalizado (cron)","automations.addStarterPopover.event":"Evento","automations.addStarterPopover.every":"A cada...","automations.addStarterPopover.everyUnit":"A cada {unit}","automations.addStarterPopover.failedAddStarter":"Erro ao adicionar gatilho","automations.addStarterPopover.failedAddWebhookStarter":"Erro ao adicionar gatilho webhook","automations.addStarterPopover.starterAdded":"Gatilho adicionado","automations.addStarterPopover.webhook":"Webhook","automations.addStarterPopover.webhookStarterAdded":"Gatilho webhook adicionado","automations.automationConfig.all":"Todos","automations.automationConfig.allTools":"Todas as ferramentas","automations.automationConfig.allToolsEnabled":"Todas as {count} ferramentas habilitadas","automations.automationConfig.browser":"Navegador","automations.automationConfig.builtinCapabilities":"Capacidades integradas","automations.automationConfig.clear":"Limpar","automations.automationConfig.connectAiProviderHint":"Conecte um provedor de IA nas configurações para selecionar um modelo específico.","automations.automationConfig.context":"Contexto","automations.automationConfig.filesCode":"Arquivos e código","automations.automationConfig.loadingModels":"Carregando modelos…","automations.automationConfig.loadingTools":"Carregando ferramentas…","automations.automationConfig.modelLabel":"Modelo","automations.automationConfig.noToolsFound":"Nenhuma ferramenta encontrada","automations.automationConfig.none":"Nenhum","automations.automationConfig.otherTools":"Outras ferramentas","automations.automationConfig.pickAgentFirst":"Selecione um agente primeiro","automations.automationConfig.pickModelPlaceholder":"Selecione um modelo","automations.automationConfig.searchToolsPlaceholder":"Pesquisar ferramentas...","automations.automationConfig.selectAll":"Selecionar tudo","automations.automationConfig.specificModel":"Modelo específico","automations.automationConfig.tierFast":"Rápido","automations.automationConfig.tierFastSubtitle":"Respostas rápidas para tarefas simples","automations.automationConfig.tierSmart":"Inteligente","automations.automationConfig.tierSmartSubtitle":"Equilíbrio entre qualidade e velocidade","automations.automationConfig.tierThinking":"Raciocínio","automations.automationConfig.tierThinkingSubtitle":"Raciocínio profundo para tarefas complexas","automations.automationConfig.toolAskUser":"Pergunte ao usuário","automations.automationConfig.toolAskUserDesc":"Pause para fazer uma pergunta de esclarecimento ao usuário","automations.automationConfig.toolEditFile":"Editar arquivo","automations.automationConfig.toolEditFileDesc":"Faça edições direcionadas em um arquivo existente","automations.automationConfig.toolFindFiles":"Encontrar arquivos","automations.automationConfig.toolFindFilesDesc":"Encontre arquivos por padrão de nome","automations.automationConfig.toolGenerateImage":"Gerar imagem","automations.automationConfig.toolGenerateImageDesc":"Crie imagens a partir de um prompt de texto","automations.automationConfig.toolInspectPage":"Inspecionar página","automations.automationConfig.toolInspectPageDesc":"Inspecione a estrutura de uma página web","automations.automationConfig.toolLoadSkill":"Carregar habilidade","automations.automationConfig.toolLoadSkillDesc":"Carregue as instruções completas de uma habilidade (SKILL.md) por id","automations.automationConfig.toolReadFile":"Ler arquivo","automations.automationConfig.toolReadFileDesc":"Leia um arquivo do espaço de trabalho","automations.automationConfig.toolReadPrompt":"Ler prompt","automations.automationConfig.toolReadPromptDesc":"Leia uma definição de prompt MCP","automations.automationConfig.toolReadResource":"Ler recurso","automations.automationConfig.toolReadResourceDesc":"Leia um recurso MCP por URI","automations.automationConfig.toolRunCommand":"Executar comando","automations.automationConfig.toolRunCommandDesc":"Execute comandos shell na sandbox","automations.automationConfig.toolScrapeUrl":"Raspar URL","automations.automationConfig.toolScrapeUrlDesc":"Busque e extraia conteúdo de uma URL","automations.automationConfig.toolSearchContent":"Pesquisar conteúdo","automations.automationConfig.toolSearchContentDesc":"Pesquise conteúdo de arquivo por padrão","automations.automationConfig.toolSubtask":"Subtarefa","automations.automationConfig.toolSubtaskDesc":"Crie um sub-agente focado para lidar com parte do trabalho","automations.automationConfig.toolTakeScreenshot":"Tirar captura de tela","automations.automationConfig.toolTakeScreenshotDesc":"Capture uma captura de tela de uma página web","automations.automationConfig.toolWebSearch":"Busca na web","automations.automationConfig.toolWebSearchDesc":"Pesquise informações atuais na web","automations.automationConfig.toolWriteFile":"Escrever arquivo","automations.automationConfig.toolWriteFileDesc":"Crie ou sobrescreva um arquivo","automations.automationConfig.tools":"Ferramentas","automations.automationConfig.toolsEnabledCount":"{enabled} de {total} habilitadas","automations.automationConfig.toolsLabel":"Ferramentas","automations.automationDetail.active":"Ativo","automations.automationDetail.addStarter":"Adicionar um acionador","automations.automationDetail.advanced":"Avançado","automations.automationDetail.automationNamePlaceholder":"Nome da automação","automations.automationDetail.backToList":"Voltar para a lista","automations.automationDetail.failedToAddStarter":"Falha ao adicionar acionador","automations.automationDetail.improve":"Melhorar","automations.automationDetail.inactive":"Inativo","automations.automationDetail.instructions":"Instruções","automations.automationDetail.instructionsPlaceholder":"O que esta automação deve fazer?","automations.automationDetail.invalid":"inválido","automations.automationDetail.loadingConnections":"Carregando conexões...","automations.automationDetail.maxSteps":"Máx. passos","automations.automationDetail.maxStepsPlaceholder":"{default} (padrão)","automations.automationDetail.noInstructionsConfigured":"Nenhuma instrução configurada para esta automação","automations.automationDetail.starter":"Acionador","automations.automationDetail.starterAdded":"Acionador adicionado","automations.automationDetail.test":"Testar","automations.automationDetail.testAutomation":"Testar Automação","automations.automationDetail.toGetGoing":"para começar.","automations.automationDetail.whenShouldRun":"Quando esta automação deve executar?","automations.automationListRow.ariaActive":"Ativo","automations.automationListRow.ariaNoTriggers":"Nenhum gatilho configurado","automations.automationListRow.ariaPaused":"Pausado","automations.automationListRow.cancel":"Cancelar","automations.automationListRow.delete":"Deletar","automations.automationListRow.deleteButton":"Deletar","automations.automationListRow.deleteDescription":"Isto remove {name} e todos os seus gatilhos. Esta ação não pode ser desfeita.","automations.automationListRow.deleteTitle":"Deletar automação?","automations.automationListRow.nextRun":"Próxima execução {date}","automations.automationListRow.noTriggers":"Nenhum gatilho configurado","automations.automationListRow.triggers":"{count} gatilho{plural}","automations.automationRuns.costHeader":"Custo","automations.automationRuns.costTitle":"Custo","automations.automationRuns.failed":"falhadas","automations.automationRuns.lastRunsSubtitle":"últimas {count} execuções","automations.automationRuns.loadingMore":"Carregando mais…","automations.automationRuns.loadingRuns":"Carregando execuções…","automations.automationRuns.noRunsDescription":"Esta automação ainda não foi executada. Dispare-a ou aguarde um inicializador disparar.","automations.automationRuns.noRunsTitle":"Nenhuma execução ainda","automations.automationRuns.noStartersDescription":"Adicione um inicializador (cron, evento ou webhook) para começar a coletar execuções.","automations.automationRuns.noStartersTitle":"Nenhum inicializador ainda","automations.automationRuns.ok":"ok","automations.automationRuns.runHeader":"Execução","automations.automationRuns.running":"em execução","automations.automationRuns.runsTitle":"Execuções","automations.automationRuns.startedHeader":"Iniciada","automations.automationRuns.statusHeader":"Status","automations.automationRuns.successRateTitle":"Taxa de sucesso","automations.automationRuns.tokensHeader":"Tokens","automations.automationRuns.tokensTitle":"Tokens","automations.automationsList.emptyDescription":"Crie sua primeira automação para executar este agente em um cronograma ou em resposta a eventos.","automations.automationsList.emptyTitle":"Nenhuma automação ainda","automations.automationsList.newAutomation":"Nova automação","automations.automationsList.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"automations.automationsList.noResultsTitle":"Nenhuma automação encontrada","automations.automationsList.searchPlaceholder":"Pesquisar automações...","automations.automationsList.title":"Automações","automations.eventTriggerForm.addTriggerButton":"Adicionar gatilho","automations.eventTriggerForm.errorFailed":"Falha ao adicionar gatilho de evento","automations.eventTriggerForm.loadingEvents":"Carregando eventos...","automations.eventTriggerForm.noConnectionsWithTrigger":"Nenhuma conexão com suporte a gatilho","automations.eventTriggerForm.selectConnectionPlaceholder":"Selecionar conexão...","automations.eventTriggerForm.selectEventTypePlaceholder":"Selecionar tipo de evento...","automations.eventTriggerForm.selectParamPlaceholder":"Selecionar {key}...","automations.eventTriggerForm.successAdded":"Gatilho de evento adicionado","automations.eventTriggerForm.title":"Gatilho de evento","automations.triggerCard.cancel":"Cancelar","automations.triggerCard.confirmRemoveStarter":"Tem certeza de que deseja remover este disparador?","automations.triggerCard.every":"A cada","automations.triggerCard.failedToRemoveStarter":"Falha ao remover disparador","automations.triggerCard.failedToUpdateStarter":"Falha ao atualizar disparador","automations.triggerCard.invalid":"inválido","automations.triggerCard.newWebhookToken":"Novo token de webhook","automations.triggerCard.newWebhookTokenDescription":"O token anterior foi revogado. Copie o novo token agora — ele não será mostrado novamente.","automations.triggerCard.remove":"Remover","automations.triggerCard.removeStarter":"Remover Disparador","automations.triggerCard.rotate":"Girar","automations.triggerCard.rotateToken":"Girar token","automations.triggerCard.rotateWebhookToken":"Girar token de webhook","automations.triggerCard.rotateWebhookTokenDescription":"Um novo token será gerado e o token atual deixará de funcionar. Quaisquer remetentes que usem o token antigo devem ser atualizados.","automations.triggerCard.starterRemoved":"Disparador removido","automations.triggerCard.webhookPostToFire":"Webhook · POST para disparar","automations.webhookSecretDialog.copied":"Copiado","automations.webhookSecretDialog.copy":"Copiar","automations.webhookSecretDialog.done":"Concluído","automations.webhookSecretDialog.failedCopy":"Falha ao copiar","automations.webhookSecretDialog.snippet":"Snippet","automations.webhookSecretDialog.tokenInUrl":"Token na URL","automations.webhookSecretDialog.tokenLabel":"Token (exibido uma vez)","automations.webhookSecretDialog.url":"URL"},vce={"agentShellLayout.agentShellLayout.agentNotFound":"Agente não encontrado","agentShellLayout.agentShellLayout.agentNotFoundDescription":'O agente "{virtualMcpId}" não existe nesta organização.',"agentShellLayout.agentShellLayout.chatLoadingError":"Algo deu errado ao carregar o chat. Tente atualizar.","agentShellLayout.agentShellLayout.creatingTask":"Criando tarefa…","agentShellLayout.agentShellLayout.goToOrgHome":"Ir para a página inicial da organização","agentShellLayout.agentShellLayout.somethingWentWrong":"Algo deu errado. Tente atualizar.","agentShellLayout.agentShellLayout.taskUnavailable":"Tarefa indisponível","agentShellLayout.libraryToggle.library":"Biblioteca","agentShellLayout.tasksToggle.tasks":"Tarefas","agentShellLayout.toggleButtons.chat":"Chat","agentShellLayout.toolbar.backToHome":"Voltar para home","agentShellLayout.toolbar.logo":"Logo"},bce={"admin.layout.adminDashboard":"Painel de Administração","admin.layout.adminDashboardArea":"o painel de administração","admin.layout.emailVerificationRequired":"Verifique seu endereço de e-mail para acessar o painel de administração.","admin.layout.goHome":"Voltar para início","admin.layout.organizationsTab":"Organizações","admin.layout.restrictedToDashboard":"Este painel é restrito a administradores de implantação.","admin.layout.usersTab":"Usuários","admin.orgs.addMember":"Adicionar membro","admin.orgs.addMemberTo":"Adicionar membro para {org}","admin.orgs.adding":"Adicionando...","admin.orgs.cancel":"Cancelar","admin.orgs.created":"Criado","admin.orgs.email":"E-mail","admin.orgs.emailPlaceholder":"usuario@example.com","admin.orgs.failedAddMember":"Falha ao adicionar membro","admin.orgs.failedLoadOrgs":"Falha ao carregar organizações","admin.orgs.failedLoadOrgsDescription":"Algo deu errado. Atualize para tentar novamente.","admin.orgs.memberAdded":"{email} adicionado(a) a {org}","admin.orgs.members":"Membros","admin.orgs.noOrgsFound":"Nenhuma organização encontrada","admin.orgs.noOrgsMatchSearch":'Nenhuma organização corresponde a "{search}"',"admin.orgs.noOrgsYet":"Nenhuma organização existe ainda.","admin.orgs.organization":"Organização","admin.orgs.searchPlaceholder":"Procure organizações por nome ou slug...","admin.users.columnCreated":"Criado","admin.users.columnEmail":"E-mail","admin.users.columnUser":"Usuário","admin.users.failedToImpersonate":"Falha ao assumir identidade do usuário","admin.users.failedToLoadDescription":"Algo deu errado. Atualize a página para tentar novamente.","admin.users.failedToLoadTitle":"Falha ao carregar usuários","admin.users.impersonate":"Assumir identidade","admin.users.noUsersFoundTitle":"Nenhum usuário encontrado","admin.users.noUsersMatchSearch":'Nenhum usuário corresponde a "{search}"',"admin.users.noUsersYet":"Nenhum usuário ainda.","admin.users.searchPlaceholder":"Pesquise usuários por e-mail ou nome...","admin.users.unknown":"Desconhecido","admin.users.unverified":"Não verificado","admin.users.verified":"Verificado"},yce={"sandbox.appEditor.createdSection":'Seção "{name}" criada',"sandbox.appEditor.editingBreadcrumb":"Trilha de navegação de edição","sandbox.appEditor.failedAddSection":"Não foi possível adicionar a seção","sandbox.appEditor.loadingSchema":"Carregando schema do app…","sandbox.appEditor.noEditableSchema":"Nenhum schema editável foi encontrado para este app.","sandbox.availableSectionEditor.editingBreadcrumb":"Navegação de edição","sandbox.availableSectionEditor.localEditsHint":"{typeLabel} — edições permanecem locais até que você salve isto como uma seção global.","sandbox.availableSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.availableSectionEditor.saveAsGlobalSection":"Salvar como seção global","sandbox.blockPicker.blocksLabel":"Blocos","sandbox.blockPicker.customBlocksLabel":"Blocos personalizados","sandbox.blockPicker.insertBlockButton":"Inserir bloco","sandbox.blockPicker.noBlocksFound":"Nenhum bloco encontrado.","sandbox.blockPicker.searchPlaceholder":"Pesquisar blocos…","sandbox.blockRegistry.unknownBlockType":'Tipo de bloco desconhecido{type ? ` (${type})` : ""}.',"sandbox.blockRegistry.writeSomethingPlaceholder":"Escreva algo…","sandbox.blockRow.deleteBlock":"Deletar bloco","sandbox.blockRow.dragToReorder":"Arraste para reordenar","sandbox.blockRow.duplicateBlock":"Duplicar bloco","sandbox.bulkCategoryPanel.applyButton":"Aplicar","sandbox.bulkCategoryPanel.cancelButton":"Cancelar","sandbox.bulkCategoryPanel.categoryLabel":"Categoria","sandbox.bulkCategoryPanel.descriptionEmpty":"Selecione posts da lista para escolher a quais posts essa atualização se aplica.","sandbox.bulkCategoryPanel.descriptionWithCount":"Escolha uma categoria para aplicar a {count} post(s).","sandbox.bulkCategoryPanel.exitSelection":"Sair da seleção","sandbox.bulkCategoryPanel.modeAddDescription":"Mantenha as categorias existentes e adicione esta.","sandbox.bulkCategoryPanel.modeAddTitle":"Adicionar categoria","sandbox.bulkCategoryPanel.modeReplaceDescription":"Remova todas as categorias atuais e defina apenas esta.","sandbox.bulkCategoryPanel.modeReplaceTitle":"Substituir categoria","sandbox.bulkCategoryPanel.noCategoriesMessage":"Nenhuma categoria ainda — crie uma na coleção de Categorias.","sandbox.bulkCategoryPanel.noPostsSelectedMessage":"Nenhum post selecionado ainda — escolha-os da lista à esquerda.","sandbox.bulkCategoryPanel.selectCategoryPlaceholder":"Selecione uma categoria","sandbox.bulkCategoryPanel.selectedCount":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.selectedPostsLabel":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.title":"Atualizar categoria","sandbox.bulkCategoryPanel.updatingButton":"Atualizando…","sandbox.categoryEditor.addPostsButton":"Adicionar posts","sandbox.categoryEditor.cancelButton":"Cancelar","sandbox.categoryEditor.categoryNamePlaceholder":"Nome da categoria","sandbox.categoryEditor.contentTitle":"Conteúdo","sandbox.categoryEditor.descriptionLabel":"Descrição","sandbox.categoryEditor.descriptionPlaceholder":"Descrição breve desta categoria","sandbox.categoryEditor.noContentEmpty":"Esta categoria ainda não possui conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.categoryEditor.pickPostsTooltip":"Selecione posts para adicionar nesta categoria","sandbox.categoryEditor.postsInCategory":"{count} post(ns) nesta categoria","sandbox.categoryEditor.previewTooltip":"Abra a visualização da categoria em uma nova aba","sandbox.categoryEditor.renameActionButton":"Renomear e atualizar posts","sandbox.categoryEditor.renameDialogDescription":'Alterar o slug de "{oldSlug}" para "{newSlug}" atualizará {count} post(ns) que fazem referência a esta categoria.',"sandbox.categoryEditor.renameDialogTitle":"Renomear slug da categoria?","sandbox.categoryEditor.renameFailed":"Falha ao renomear","sandbox.categoryEditor.renameSuccessNoPosts":"Slug renomeado","sandbox.categoryEditor.renameSuccessWithPosts":"Slug renomeado e {count} post(ns) atualizado(s)","sandbox.categoryEditor.renamingLabel":"Renomeando…","sandbox.categoryEditor.seeCategoryPreview":"Ver visualização da categoria","sandbox.categoryEditor.setSlugTooltip":"Defina um slug para adicionar posts nesta categoria","sandbox.categoryEditor.slugLabel":"Slug","sandbox.categoryEditor.slugPlaceholder":"minha-categoria","sandbox.categoryEditor.untitledCategory":"Categoria sem título","sandbox.categoryEditor.untitledPost":"Post sem título","sandbox.collectionsSidebar.actions":"Ações","sandbox.collectionsSidebar.apps":"Apps","sandbox.collectionsSidebar.authors":"Autores","sandbox.collectionsSidebar.blog":"Blog","sandbox.collectionsSidebar.calendar":"Calendário","sandbox.collectionsSidebar.categories":"Categorias","sandbox.collectionsSidebar.content":"Conteúdo","sandbox.collectionsSidebar.loaders":"Carregadores","sandbox.collectionsSidebar.pages":"Páginas","sandbox.collectionsSidebar.posts":"Posts","sandbox.collectionsSidebar.redirects":"Redirecionamentos","sandbox.collectionsSidebar.sections":"Seções","sandbox.collectionsSidebar.seo":"SEO","sandbox.collectionsSidebar.site":"Site","sandbox.drawer.failedToRestart":"Falha ao reiniciar {name}","sandbox.drawer.failedToRun":"Falha ao executar {name}","sandbox.drawer.failedToStop":"Falha ao parar {name}","sandbox.drawer.run":"Executar","sandbox.drawer.scriptNotRunning":'Script "{name}" não está em execução',"sandbox.envVarsField.addEnvVar":"Adicionar variável de ambiente","sandbox.envVarsField.added":"Adicionada(s) {added} variável(eis)","sandbox.envVarsField.addedWithSkipped":"Adicionada(s) {added} variável(eis) ({skipped} já existia(m))","sandbox.envVarsField.allKeysExist":"Todas as {count} chave(s) já existem","sandbox.envVarsField.cancel":"Cancelar","sandbox.envVarsField.clipboardEmpty":"A área de transferência está vazia","sandbox.envVarsField.clipboardReadFailed":"Não foi possível ler a área de transferência","sandbox.envVarsField.createNewSecret":"Criar novo segredo","sandbox.envVarsField.createNewSecretAriaLabel":"Criar novo segredo","sandbox.envVarsField.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A variável de ambiente referenciará o novo segredo por id.","sandbox.envVarsField.createNewSecretTitle":"Criar novo segredo","sandbox.envVarsField.description":"Injetadas na sandbox a cada início. Referencie um segredo de org/usuário para manter os valores fora dos metadados; valores literais são armazenados inline.","sandbox.envVarsField.descriptionLabel":"Descrição (opcional)","sandbox.envVarsField.descriptionPlaceholder":"Para que este segredo é usado?","sandbox.envVarsField.envVarKeyLabel":"Chave da variável de ambiente {index}","sandbox.envVarsField.envVarValueLabel":"Valor da variável de ambiente {index}","sandbox.envVarsField.failedToLoadSecrets":"Falha ao carregar segredos","sandbox.envVarsField.failedToSaveSecret":"Falha ao salvar","sandbox.envVarsField.invalidKeyMessage":"Letras, dígitos, sublinhados. Deve começar com uma letra ou sublinhado.","sandbox.envVarsField.keyPlaceholder":"CHAVE","sandbox.envVarsField.literal":"Literal","sandbox.envVarsField.missingSecret":"Segredo ausente ({id})","sandbox.envVarsField.nameHelperText":"Letras, dígitos, sublinhado, ponto, hífen. Independente da chave da variável de ambiente.","sandbox.envVarsField.nameLabel":"Nome","sandbox.envVarsField.namePlaceholder":"STRIPE_API_KEY","sandbox.envVarsField.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"sandbox.envVarsField.nothingToAdd":"Nada para adicionar","sandbox.envVarsField.pasteDotenv":"Colar .env","sandbox.envVarsField.pasteDotenvAriaLabel":"Colar .env","sandbox.envVarsField.pasteDotenvTooltip":"Leia um blob .env da área de transferência. Cada par é preparado como um literal — salve as linhas individuais como segredos depois.","sandbox.envVarsField.pickSecretPlaceholder":"Escolha um segredo…","sandbox.envVarsField.remove":"Remover","sandbox.envVarsField.removeEnvVarAriaLabel":"Remover variável de ambiente","sandbox.envVarsField.restartDev":"Reiniciar dev","sandbox.envVarsField.restartFailed":"Falha ao reiniciar {failed} de {total} ramificação(ões)","sandbox.envVarsField.restartedMultiple":"Reiniciadas {count} ramificações com novo ambiente","sandbox.envVarsField.restartedSingle":"Dev reiniciado com novo ambiente","sandbox.envVarsField.restarting":"Reiniciando…","sandbox.envVarsField.sandboxRunningNotice":"Sua sandbox está em execução. Reinicie o script de desenvolvimento para aplicar o novo ambiente.","sandbox.envVarsField.saveAsSecret":"Salvar valor como segredo","sandbox.envVarsField.saveAsSecretAriaLabel":"Salvar valor como segredo","sandbox.envVarsField.saveSecret":"Salvar segredo","sandbox.envVarsField.saveValueAsSecretDescription":"Mova este valor para o cofre criptografado. A variável de ambiente referenciará o segredo por id — seu valor nunca sai do servidor.","sandbox.envVarsField.saveValueAsSecretTitle":"Salvar valor como segredo","sandbox.envVarsField.saving":"Salvando…","sandbox.envVarsField.scopeLabel":"Escopo","sandbox.envVarsField.scopeOrganization":"Organização — visível para todos os membros","sandbox.envVarsField.scopePrivate":"Privado — visível apenas para mim","sandbox.envVarsField.secret":"Segredo","sandbox.envVarsField.secretSaved":'Segredo "{name}" salvo',"sandbox.envVarsField.secretValuePlaceholder":"valor do segredo","sandbox.envVarsField.title":"Variáveis de ambiente","sandbox.envVarsField.valueLabel":"Valor","sandbox.envVarsField.valuePlaceholder":"valor","sandbox.fileExplorer.askTheAiPlaceholder":"Pergunte à IA...","sandbox.fileExplorer.deleteFailed":"Falha ao deletar","sandbox.fileExplorer.failedToCopyText":"Falha ao copiar {label}","sandbox.fileExplorer.failedToLoadFolder":"Falha ao carregar pasta","sandbox.fileExplorer.failedToOpenFile":"Falha ao abrir arquivo","sandbox.fileExplorer.failedToRefreshFileTree":"Falha ao atualizar árvore de arquivos","sandbox.fileExplorer.fileAlreadyExists":'"{name}" já existe',"sandbox.fileExplorer.fileCreated":'Criado "{name}"',"sandbox.fileExplorer.fileDeleted":'Deletado "{name}"',"sandbox.fileExplorer.fileListTruncated":"Lista de arquivos truncada — alguns arquivos podem estar ocultos","sandbox.fileExplorer.files":"Arquivos","sandbox.fileExplorer.folderCreated":'Pasta criada "{name}"',"sandbox.fileExplorer.folderListingTruncated":"Lista de pastas truncada — expanda novamente para carregar mais","sandbox.fileExplorer.inFiles":"Nos arquivos","sandbox.fileExplorer.modified":"Modificado","sandbox.fileExplorer.newFile":"Novo arquivo","sandbox.fileExplorer.newFileLabel":"Novo arquivo","sandbox.fileExplorer.newFolder":"Nova pasta","sandbox.fileExplorer.newFolderLabel":"Nova pasta","sandbox.fileExplorer.noFileNamesMatch":"Nenhum nome de arquivo corresponde","sandbox.fileExplorer.noFilesFound":"Nenhum arquivo encontrado","sandbox.fileExplorer.noMatchesInFileContents":"Nenhuma correspondência no conteúdo dos arquivos","sandbox.fileExplorer.operationFailed":"Operação falhou","sandbox.fileExplorer.renamedTo":'Renomeado para "{name}"',"sandbox.fileExplorer.saved":"Salvo","sandbox.fileExplorer.searchFilesLabel":"Pesquisar arquivos","sandbox.fileExplorer.searchFilesPlaceholder":"Pesquisar arquivos...","sandbox.fileExplorer.selectFileToEdit":"Selecione um arquivo para editar","sandbox.fileExplorer.send":"Enviar","sandbox.fileExplorer.textCopied":"{label} copiado","sandbox.fileExplorerDeleteDialog.cancel":"Cancelar","sandbox.fileExplorerDeleteDialog.delete":"Excluir","sandbox.fileExplorerDeleteDialog.description":"Isso excluirá permanentemente","sandbox.fileExplorerDeleteDialog.folderSuffix":" e tudo dentro dela.","sandbox.fileExplorerDeleteDialog.titleFile":"Excluir arquivo?","sandbox.fileExplorerDeleteDialog.titleFolder":"Excluir pasta?","sandbox.fileExplorerDeleteDialog.unsavedChangesMany":"{count} arquivos abertos têm alterações não salvas que serão perdidas.","sandbox.fileExplorerDeleteDialog.unsavedChangesOne":"Um arquivo aberto tem alterações não salvas que serão perdidas.","sandbox.fileExplorerNameDialog.cancel":"Cancelar","sandbox.fileExplorerNameDialog.location":"Local","sandbox.fileExplorerNameDialog.name":"Nome","sandbox.fileExplorerNameDialog.newFileDescription":"Digite um nome para o novo arquivo.","sandbox.fileExplorerNameDialog.newFilePlaceholder":"nomedoarquivo.ts","sandbox.fileExplorerNameDialog.newFileSubmit":"Criar","sandbox.fileExplorerNameDialog.newFileTitle":"Novo Arquivo","sandbox.fileExplorerNameDialog.newFolderDescription":"Digite um nome para a nova pasta.","sandbox.fileExplorerNameDialog.newFolderPlaceholder":"nome-da-pasta","sandbox.fileExplorerNameDialog.newFolderSubmit":"Criar","sandbox.fileExplorerNameDialog.newFolderTitle":"Nova Pasta","sandbox.fileExplorerNameDialog.renameDescription":"Digite um novo nome para este item.","sandbox.fileExplorerNameDialog.renamePlaceholder":"novo-nome","sandbox.fileExplorerNameDialog.renameSubmit":"Renomear","sandbox.fileExplorerNameDialog.renameTitle":"Renomear","sandbox.fileExplorerNameDialog.saving":"Salvando…","sandbox.fileTreeRow.copyPath":"Copiar caminho","sandbox.fileTreeRow.copyRelativePath":"Copiar caminho relativo","sandbox.fileTreeRow.delete":"Deletar","sandbox.fileTreeRow.newFile":"Novo arquivo","sandbox.fileTreeRow.newFolder":"Nova pasta","sandbox.fileTreeRow.rename":"Renomear","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.image":"Imagem","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.untitledPost":"Post sem título","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deleteSelected":"Deletar selecionados","sandbox.postToolbar.deleteSelectedPosts":"Deletar posts selecionados","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"{count} selecionados","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.cms":"CMS","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.editContent":"Editar conteúdo","sandbox.preview.exitEditor":"Sair do editor","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.hideTerminal":"Ocultar terminal","sandbox.preview.showTerminal":"Mostrar terminal","sandbox.preview.copyCurrentUrl":"Copiar URL atual","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.editSeo":"Editar SEO","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCopyUrl":"Falha ao copiar URL","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.invalidPageBlockKey":"Chave de bloco de página inválida","sandbox.preview.moreOptions":"Mais opções","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInCursor":"Abrir no Cursor","sandbox.preview.openInBrowser":"Abrir no navegador","sandbox.preview.failedToOpenInBrowser":"Não foi possível abrir seu navegador","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.openInVscode":"Abrir no VSCode","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.refresh":"Atualizar","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.urlCopiedToClipboard":"URL copiada para a área de transferência","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.viewJson":"Visualizar JSON","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.productPickerDialog.typeToSearchPrompt":"Digite para buscar produtos.","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.productionUrlField.description":"Exibida no preview enquanto o servidor de desenvolvimento inicia, para você já visualizar e editar.","sandbox.productionUrlField.label":"URL de produção","sandbox.productionUrlField.placeholder":"https://exemplo.com","sandbox.repoRow.label":"Repositório","sandbox.repoRow.noRepositoryConnected":"Nenhum repositório conectado","sandbox.repoRow.tooltipContent":"O repositório GitHub conectado para este agente. Gerencie em Conexões.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.backToList":"Voltar para a lista","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.editingBreadcrumb":"Trilha de migalhas da edição","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste agente não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(ns) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar"},Sce={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},_ce={"settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.general":"Geral","settings.nav.brandContext":"Contexto da marca","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.buckets":"Buckets","settings.nav.build":"Criação","settings.nav.connections":"Conexões","settings.nav.agents":"Agentes","settings.nav.automations":"Automações","settings.nav.store":"Loja","settings.nav.manage":"Gerenciar","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.roles":"Cargos","settings.nav.security":"Segurança","settings.nav.account":"Conta","settings.nav.profile":"Perfil e preferências","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","settings.preferences.theme":"Tema","settings.preferences.themeDescription":"Seu esquema de cores preferido.","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.languageDescription":"O idioma da interface.","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"Receba notificações do navegador para eventos importantes.","settings.preferences.notificationsDenied":"Notificações negadas. Habilite-as nas configurações do seu navegador.","settings.preferences.sounds":"Sons","settings.preferences.soundsDescription":"Reproduza sons para ações de agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Controle como as ferramentas são aprovadas antes da execução.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar agentes","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.brandFormSections.autoExtractDescription":"Digite o URL do seu site e extrairemos automaticamente as cores, fontes, logos e visão geral da sua marca.","settings.brandFormSections.autoExtractTitle":"Auto-extrair contexto da marca","settings.brandFormSections.colorPlaceholder":"#000000","settings.brandFormSections.colorRoleAccent":"Destaque","settings.brandFormSections.colorRoleBackground":"Fundo","settings.brandFormSections.colorRoleForeground":"Primeiro Plano","settings.brandFormSections.colorRolePrimary":"Primária","settings.brandFormSections.colorRoleSecondary":"Secundária","settings.brandFormSections.colorsTitle":"Cores","settings.brandFormSections.companyNameLabel":"Nome da empresa","settings.brandFormSections.companyNamePlaceholder":"Acme Corp","settings.brandFormSections.companyOverviewTitle":"Visão Geral da Empresa","settings.brandFormSections.domainInputPlaceholder":"acme.com","settings.brandFormSections.domainLabel":"Domínio","settings.brandFormSections.domainPlaceholder":"acme.com","settings.brandFormSections.extract":"Extrair","settings.brandFormSections.extracting":"Extraindo...","settings.brandFormSections.faviconLabel":"Favicon","settings.brandFormSections.fontFamilyPlaceholder":"Família de fonte para {role}","settings.brandFormSections.fontRoleBody":"Corpo","settings.brandFormSections.fontRoleCode":"Código","settings.brandFormSections.fontRoleHeading":"Títulos","settings.brandFormSections.fontsTitle":"Fontes","settings.brandFormSections.logoLabel":"Logo","settings.brandFormSections.logosImagesTitle":"Logos e Imagens","settings.brandFormSections.noImageLabel":"Sem {label}","settings.brandFormSections.ogImageLabel":"Imagem SEO / OG","settings.brandFormSections.openLink":"abrir","settings.brandFormSections.overviewLabel":"Visão Geral","settings.brandFormSections.overviewPlaceholder":"Breve descrição do que a empresa faz...","settings.brandFormSections.urlPlaceholder":"https://...","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket configurado","settings.buckets.pageTitle":"Buckets","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectForms.apiKeyField":"Chave API","settings.connectForms.baseUrlField":"URL Base","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.cancel":"Cancelar","settings.connectForms.connectionSavedSuccess":"Conexão salva com sucesso","settings.connectForms.defaultKeyLabel":"Chave pessoal","settings.connectForms.failedSaveConnection":"Falha ao salvar conexão: {error}","settings.connectForms.failedSaveKey":"Falha ao salvar chave: {error}","settings.connectForms.hideApiKey":"Ocultar chave API","settings.connectForms.keySavedSuccess":"Chave salva com sucesso","settings.connectForms.labelField":"Rótulo","settings.connectForms.labelPlaceholder":"Ex: Chave pessoal","settings.connectForms.labelPlaceholderOpenAiCompatible":"Ex: Meu servidor compatível com OpenAI","settings.connectForms.labelPlaceholderPreset":"Ex: {name} prod, {name} dev","settings.connectForms.optional":"opcional","settings.connectForms.recommended":"recomendado","settings.connectForms.saveConnection":"Salvar Conexão","settings.connectForms.saveKey":"Salvar Chave","settings.connectForms.saving":"Salvando...","settings.connectForms.showApiKey":"Mostrar chave API","settings.connectProviderDialog.backButton":"Voltar","settings.connectProviderDialog.backButtonLabel":"Voltar","settings.connectProviderDialog.connectionTimedOutMessage":"Conexão expirou","settings.connectProviderDialog.defaultProviderName":"Provedor","settings.connectProviderDialog.defaultTitle":"Conectar um provedor de IA","settings.connectProviderDialog.gridDescription":"Escolha um provedor — o resto a gente resolve.","settings.connectProviderDialog.oauthFailedMessage":"Falha na conexão OAuth: {error}","settings.connectProviderDialog.oauthPendingMessage":"Autorize a conexão na janela de pop-up. Este chat será fechado quando a autorização for concluída.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.provisionPendingMessage":"Conectando…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.retryButton":"Tentar novamente","settings.connectProviderDialog.securityCheckFailedMessage":"Falha na verificação de segurança: Token de estado não corresponde","settings.connectProviderDialog.startOAuthFailedMessage":"Falha ao iniciar OAuth: {error}","settings.connectedProvidersSection.connectButton":"Conectar provedor","settings.connectedProvidersSection.emptyState":"Traga suas próprias chaves para usar modelos específicos junto com o gateway da Deco.","settings.connectedProvidersSection.sectionTitle":"Provedores conectados","settings.decoCreditsHero.accessModels":"Acesso a 100+ modelos","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.decoNudgeCard.connectDeco":"Conectar Deco","settings.decoNudgeCard.connecting":"Conectando…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ modelos, uma conexão — pague conforme usa, sem APIs para gerenciar.","settings.decoNudgeCard.recommended":"Recomendado","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de Risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Delete permanentemente esta organização e todos os seus dados. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Deletar Organização?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Deletar organização","settings.deleteOrganizationSection.deleteWarning":"Isto irá deletar permanentemente todos os dados associados com {organizationName}. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleting":"Deletando…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Falha ao deletar organização","settings.deleteOrganizationSection.irreversibleActionsDescription":"Ações irreversíveis que afetam toda a sua organização.","settings.deleteOrganizationSection.organizationDeleted":"Organização deletada","settings.deleteOrganizationSection.typeToConfirm":"Digite {organizationName} para confirmar:","settings.domainSettings.addDnsRecordInstruction":"Adicione o registro DNS abaixo e verifique.","settings.domainSettings.addDomain":"Adicionar domínio","settings.domainSettings.adding":"Adicionando…","settings.domainSettings.copied":"Copiado","settings.domainSettings.dnsInstructions":"Adicione este registro TXT no seu provedor de DNS e clique em Verificar:","settings.domainSettings.domainAdded":"Domínio adicionado","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domínio removido","settings.domainSettings.domainVerified":"Domínio verificado","settings.domainSettings.emailDomains":"Domínios de e-mail","settings.domainSettings.emailDomainsDescription":"Permita que pessoas com um domínio de e-mail correspondente descubram e se juntem a esta organização.","settings.domainSettings.failedAddDomain":"Falha ao adicionar domínio","settings.domainSettings.failedRemove":"Falha ao remover","settings.domainSettings.failedUpdate":"Falha ao atualizar","settings.domainSettings.failedVerify":"Falha ao verificar","settings.domainSettings.joinMode":"Modo de entrada","settings.domainSettings.joinModeAuto":"Entrada automática","settings.domainSettings.joinModeHelpAuto":"Qualquer pessoa com um e-mail @{domain} verificado entra automaticamente.","settings.domainSettings.joinModeHelpOff":"Não detectável — ninguém pode encontrar ou se juntar através deste domínio.","settings.domainSettings.joinModeHelpRequest":"Pessoas com um e-mail @{domain} verificado podem solicitar entrada; um administrador aprova.","settings.domainSettings.joinModeOff":"Desativado","settings.domainSettings.joinModeRequest":"Requer aprovação","settings.domainSettings.joinModeUpdated":"Modo de entrada atualizado","settings.domainSettings.pending":"Pendente","settings.domainSettings.remove":"Remover","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"Registro TXT não encontrado ainda — o DNS pode levar alguns minutos.","settings.domainSettings.value":"valor","settings.domainSettings.verified":"Verificado","settings.domainSettings.verify":"Verificar","settings.editProviderDialog.apiKey":"Chave de API","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Informe a chave de API novamente para confirmar a mudança da URL base","settings.editProviderDialog.baseUrl":"URL base","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancelar","settings.editProviderDialog.editTitle":"Editar {name}","settings.editProviderDialog.failedToUpdate":"Falha ao atualizar: {error}","settings.editProviderDialog.hideApiKey":"Ocultar chave de API","settings.editProviderDialog.label":"Rótulo","settings.editProviderDialog.labelPlaceholder":"p.ex. Chave pessoal","settings.editProviderDialog.labelRequired":"Rótulo é obrigatório","settings.editProviderDialog.leaveBlankHint":"deixe em branco para manter atual","settings.editProviderDialog.providerUpdated":"Provedor atualizado","settings.editProviderDialog.save":"Salvar","settings.editProviderDialog.saving":"Salvando...","settings.editProviderDialog.showApiKey":"Mostrar chave de API","settings.joinRequestsSection.approve":"Aprovar","settings.joinRequestsSection.deny":"Recusar","settings.joinRequestsSection.description":"Pessoas que solicitaram entrada por um domínio em modo de aprovação.","settings.joinRequestsSection.title":"Solicitações de entrada","settings.orgBrandContext.addBrand":"Adicionar Marca","settings.orgBrandContext.addYourFirstBrand":"Adicionar sua primeira marca","settings.orgBrandContext.brandContext":"Contexto de Marca","settings.orgBrandContext.brandContextDescription":"Defina seus perfis de marca. Cada marca está disponível como um prompt MCP para clientes de IA.","settings.orgBrandContext.brandContextUpdated":"Contexto de marca atualizado com sucesso","settings.orgBrandContext.brandCreated":"Marca criada","settings.orgBrandContext.brandDeleted":"Marca excluída","settings.orgBrandContext.brandExtractedSuccessfully":"Marca extraída com sucesso","settings.orgBrandContext.cancel":"Cancelar","settings.orgBrandContext.delete":"Excluir","settings.orgBrandContext.deleteBrand":"Excluir marca","settings.orgBrandContext.deleteBrandTitle":"Excluir marca?","settings.orgBrandContext.deleteConfirmMessage":"Isso excluirá permanentemente {name}. Esta ação não pode ser desfeita.","settings.orgBrandContext.deleteDefaultBrandWarning":"esta é a marca padrão da sua organização. Excluí-la deixará sua organização sem uma marca padrão até que você defina outra.","settings.orgBrandContext.deleting":"Excluindo...","settings.orgBrandContext.failedCreateBrand":"Falha ao criar marca","settings.orgBrandContext.failedDeleteBrand":"Falha ao excluir marca","settings.orgBrandContext.failedExtractBrand":"Falha ao extrair marca","settings.orgBrandContext.failedSaveBrandContext":"Falha ao salvar contexto de marca","settings.orgBrandContext.failedUpdateDefaultBrand":"Falha ao atualizar marca padrão","settings.orgBrandContext.headsUp":"Atenção","settings.orgBrandContext.noBrandsConfigured":"Nenhuma marca configurada ainda.","settings.orgBrandContext.removedAsDefaultBrand":"Removido como marca padrão","settings.orgBrandContext.setAsDefault":"Definir como padrão","settings.orgBrandContext.setAsDefaultBrand":"Definir como marca padrão","settings.orgBrandContext.thisBrand":"esta marca","settings.orgBrandContext.unsetAsDefault":"Remover como padrão","settings.orgBrandContext.untitledBrand":"Marca Sem Título","settings.orgGeneral.organization":"Organização","settings.mainAgent.title":"Agente principal","settings.mainAgent.description":"O agente em que esta organização abre. Todos os membros chegam aqui em vez do Super Agent.","settings.mainAgent.itemTitle":"Agente de entrada","settings.mainAgent.itemDescription":"Escolha o agente que abre ao entrar nesta organização.","settings.mainAgent.superAgentOption":"Super Agent (padrão)","settings.mainAgent.setToast":'"{title}" agora é o agente principal',"settings.mainAgent.resetToast":"Redefinido para o Super Agent","settings.mainAgent.errorToast":"Não foi possível atualizar o agente principal","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar Papel","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do Cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Senha do Cliente","settings.orgSso.clientSecretPlaceholder":"sua-senha-cliente","settings.orgSso.clientSecretRequiredError":"Senha do Cliente é obrigatória para a configuração inicial","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional — detectado automaticamente do issuer se omitido.","settings.orgSso.discoveryEndpointLabel":"Endpoint de Descoberta","settings.orgSso.discoveryEndpointPlaceholder":"Detectado automaticamente do issuer","settings.orgSso.domainLabel":"Domínio","settings.orgSso.editConfigButton":"Editar configuração","settings.orgSso.emailDomainDescription":"O domínio de e-mail que este provedor SSO cobre.","settings.orgSso.emailDomainLabel":"Domínio de E-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do Issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single Sign-On","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.orgStore.addRegistry":"Adicionar Registro","settings.orgStore.adding":"Adicionando...","settings.orgStore.authTokenLabel":"Token de Autenticação","settings.orgStore.authTokenPlaceholder":"Token Bearer...","settings.orgStore.cancel":"Cancelar","settings.orgStore.communityRegistryDescription":"Registro MCP da comunidade com milhares de MCPs úteis","settings.orgStore.communityRegistryNotAdded":"Registro MCP da comunidade — ainda não adicionado","settings.orgStore.communitySection":"Comunidade","settings.orgStore.connectionNotFound":"Conexão não encontrada — será criada automaticamente.","settings.orgStore.decoStoreDescription":"Registro MCP deco oficial com integrações selecionadas","settings.orgStore.decoStoreName":"Loja Deco","settings.orgStore.decoStoreSection":"Loja Deco","settings.orgStore.failedAddRegistry":"Falha ao adicionar registro: {error}","settings.orgStore.failedLoadStoreSettings":"Falha ao carregar configurações da loja:","settings.orgStore.mcpRegistry":"Registro MCP","settings.orgStore.nameLabel":"Nome","settings.orgStore.namePlaceholder":"p.ex. Registro Acme Corp","settings.orgStore.optional":"Opcional","settings.orgStore.pageTitle":"Loja","settings.orgStore.privateMcpRegistry":"Registro MCP privado","settings.orgStore.privateRegistriesSection":"Registros Privados","settings.orgStore.privateRegistry":"Registro Privado","settings.orgStore.privateRegistryAdded":"Registro privado adicionado","settings.orgStore.privateRegistryDescription":"Registro MCP privado da sua organização","settings.orgStore.registryUrlLabel":"URL do Registro","settings.orgStore.registryUrlPlaceholder":"https://registry.exemplo.com/mcp","settings.orgStore.remove":"Remover","settings.orgStore.removeRegistry":"Remover este registro?","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Tamanho recomendado é 256x256px","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.slugPlaceholder":"minha-organizacao","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · adicionada há {time}","settings.providerKeyRow.cancel":"Cancelar","settings.providerKeyRow.delete":"Excluir","settings.providerKeyRow.deleteApiKey":"Excluir chave de API","settings.providerKeyRow.deleteProviderKey":"Excluir chave do provedor","settings.providerKeyRow.editProviderKey":"Editar chave do provedor","settings.providerKeyRow.failedToDeleteKey":"Falha ao excluir chave: {error}","settings.providerKeyRow.keyDeleted":"Chave excluída","settings.roles.allConnections":"Todas as conexões","settings.roles.basicAccess":"Acesso básico","settings.roles.builtIn":"Integrada","settings.roles.cancel":"Cancelar","settings.roles.columnMembers":"Membros","settings.roles.columnPermissions":"Permissões","settings.roles.columnRole":"Função","settings.roles.columnType":"Tipo","settings.roles.connectionCount":"{count} conexão(ões)","settings.roles.createRole":"Criar Função","settings.roles.createRoleGetStarted":"Crie uma função para começar.","settings.roles.custom":"Personalizada","settings.roles.delete":"Excluir","settings.roles.deleteRoleConfirm":'Tem certeza que deseja excluir a função "{role}"? Esta ação não pode ser desfeita.',"settings.roles.deleteRoleTitle":"Excluir Função","settings.roles.deletedSuccessfully":"Função excluída com sucesso!","settings.roles.failedToLoad":"Falha ao carregar funções","settings.roles.fullAccess":"Acesso completo","settings.roles.fullOrgAccess":"Acesso completo da organização","settings.roles.noPermissions":"Sem permissões","settings.roles.noRoles":"Sem funções","settings.roles.noRolesFound":"Nenhuma função encontrada","settings.roles.noRolesMatchSearch":'Nenhuma função corresponde a "{search}"',"settings.roles.orgPermsCount":"{count} permissão(ões) da org","settings.roles.pageTitle":"Funções","settings.roles.roleAdmin":"Administrador","settings.roles.roleOwner":"Proprietário","settings.roles.roleUser":"Usuário","settings.roles.searchPlaceholder":"Pesquisar funções...","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCount":"{count} segredo{plural} armazenado","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.modelsPowerDescription":"Estes modelos alimentam chat, automações e ferramentas em toda a sua organização.","settings.simpleModeSection.notAvailableWithCurrentProvider":"Não disponível com o provedor atual","settings.simpleModeSection.pickModel":"Escolher modelo","settings.simpleModeSection.saved":"Salvo","settings.simpleModeSection.saving":"Salvando…","settings.simpleModeSection.tierDeepResearch":"Pesquisa aprofundada","settings.simpleModeSection.tierDeepResearchDesc":"Relatórios de pesquisa aprofundados e multi-fonte","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierFastDesc":"Respostas mais rápidas, ideal para tarefas rápidas","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierImageDesc":"Geração de imagens","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierSmartDesc":"Equilíbrio entre velocidade e capacidade","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierThinkingDesc":"Mais capaz, ideal para tarefas complexas","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.simpleModeSection.tierWebSearchDesc":"Respostas rápidas e atualizadas da web","settings.aiProviders.recommended":"Recomendado — 100+ modelos, pague conforme usa","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.aiProviders.moreProviders":"{count} provedor{plural} adicional"},wce={...Ule,...$le,...qle,...Vle,...Hle,...Gle,...Kle,...Wle,...Yle,...Zle,...Qle,...Jle,...Xle,...ece,...tce,...oce,...nce,...rce,...ace,...ice,...sce,...lce,...cce,...uce,...dce,...mce,...fce,...hce,...pce,...gce,...vce,...bce,...yce,..._ce,...Sce},Cce={en:zle,"pt-BR":wce};function Nm(){const e=eo.c(2),[t]=s4(),o=Cce[t.language];let n;return e[0]!==o?(n=(r,i)=>jle(o[r],i),e[0]=o,e[1]=n):n=e[1],n}const Fm=new iU({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:1,gcTime:300*1e3}}});Ise(Fm);Lse(Fm);Pse(Fm);Rse(Fm);function Ece(e){const t=eo.c(2),{children:o}=e,n=Nm();OH({itemCreatedSuccessfully:n("collections.mutations.itemCreatedSuccessfully"),itemUpdatedSuccessfully:n("collections.mutations.itemUpdatedSuccessfully"),itemDeletedSuccessfully:n("collections.mutations.itemDeletedSuccessfully"),createItemFailed:n("collections.mutations.createItemFailed"),updateItemFailed:n("collections.mutations.updateItemFailed"),deleteItemFailed:n("collections.mutations.deleteItemFailed")});let r;return t[0]!==o?(r=R.jsx(R.Fragment,{children:o}),t[0]=o,t[1]=r):r=t[1],r}function xce(e){const t=eo.c(4),{children:o}=e;let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=R.jsx(DH,{}),t[0]=n):n=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r=R.jsx(TE,{}),t[1]=r):r=t[1];let i;return t[2]!==o?(i=R.jsxs(sU,{client:Fm,children:[n,R.jsx(D.Suspense,{fallback:r,children:R.jsx(nle,{children:R.jsx(iK,{children:R.jsx(gae,{children:R.jsx(Wse,{children:R.jsx(Ece,{children:o})})})})})})]}),t[2]=o,t[3]=i):i=t[3],i}function l4(){const e=eo.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=R.jsx("div",{"data-testid":"shell-route-loading",className:"absolute inset-0 h-full w-full flex items-center justify-center",children:R.jsx(xE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function Tce(...e){return lL(vC(e))}const Pce=OL("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:ring-[2px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:hover:bg-input/50 card-shadow",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",success:"bg-success text-success-foreground hover:bg-success/90 focus-visible:ring-success/20 dark:focus-visible:ring-success/40",special:"bg-special text-special-foreground hover:bg-special/90 focus-visible:ring-special/20 dark:focus-visible:ring-special/40",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-foreground/80 hover:text-foreground"},size:{default:"h-8 px-3 has-[>svg]:px-2.5",sm:"h-7 gap-1.5 px-2.5 has-[>svg]:px-2",xs:"h-6 gap-1 px-1.5 text-xs has-[>svg]:px-1",lg:"h-10 px-3.5 has-[>svg]:px-3",xl:"h-12 px-4 has-[>svg]:px-3.5",icon:"size-8","icon-sm":"size-7"}},defaultVariants:{variant:"default",size:"default"}});function hm(e){const t=eo.c(14);let o,n,r,i,l;t[0]!==e?({className:o,variant:l,size:r,asChild:i,...n}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=r,t[4]=i,t[5]=l):(o=t[1],n=t[2],r=t[3],i=t[4],l=t[5]);const d=(i===void 0?!1:i)?RC:"button";let m;t[6]!==o||t[7]!==r||t[8]!==l?(m=Tce(Pce({variant:l,size:r,className:o})),t[6]=o,t[7]=r,t[8]=l,t[9]=m):m=t[9];let h;return t[10]!==d||t[11]!==n||t[12]!==m?(h=R.jsx(d,{"data-slot":"button",className:m,...n}),t[10]=d,t[11]=n,t[12]=m,t[13]=h):h=t[13],h}const Rce=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function Ace(e){const t=eo.c(3),{children:o}=e;let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=R.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Rce}}),t[0]=n):n=t[0];let r;return t[1]!==o?(r=R.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[n,R.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),t[1]=o,t[2]=r):r=t[2],r}function c4(e){const t=eo.c(20),{orgName:o}=e,n=Nm(),r=kce;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=R.jsx("div",{className:"bg-muted p-3 rounded-full",children:R.jsx(o4,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==n?(l=n("common.archivedOrgScreen.orgUnavailable"),t[1]=n,t[2]=l):l=t[2];let c;t[3]!==l?(c=R.jsx("h3",{className:"text-lg font-medium",children:l}),t[3]=l,t[4]=c):c=t[4];let d;t[5]!==o||t[6]!==n?(d=o?n("common.archivedOrgScreen.deletedWithName",{orgName:o}):n("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=n,t[7]=d):d=t[7];let m;t[8]!==d?(m=R.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=m):m=t[9];let h;t[10]!==c||t[11]!==m?(h=R.jsxs("div",{className:"space-y-2",children:[c,m]}),t[10]=c,t[11]=m,t[12]=h):h=t[12];let f;t[13]!==n?(f=n("common.archivedOrgScreen.goHome"),t[13]=n,t[14]=f):f=t[14];let g;t[15]!==f?(g=R.jsx(hm,{onClick:r,children:f}),t[15]=f,t[16]=g):g=t[16];let v;return t[17]!==h||t[18]!==g?(v=R.jsxs(Ace,{children:[i,h,g]}),t[17]=h,t[18]=g,t[19]=v):v=t[19],v}function kce(){window.location.href="/"}function Dce(){const e=eo.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:o}=zg(t);let n;return e[1]!==o?(n=R.jsx(hm,{variant:"outline",size:"sm",asChild:!0,children:R.jsx(gm,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=n):n=e[2],n}function Oce(e){const t=eo.c(13),{area:o,description:n,action:r}=e,i=o?`No access to ${o}`:"No access",l=n??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=R.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:R.jsx(n4,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=R.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let m;t[3]!==l?(m=R.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=m):m=t[4];let h;t[5]!==d||t[6]!==m?(h=R.jsxs("div",{className:"space-y-1",children:[d,m]}),t[5]=d,t[6]=m,t[7]=h):h=t[7];let f;t[8]!==r?(f=r??R.jsx(Dce,{}),t[8]=r,t[9]=f):f=t[9];let g;return t[10]!==h||t[11]!==f?(g=R.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,h,f]}),t[10]=h,t[11]=f,t[12]=g):g=t[12],g}const YO="__studio_chunk_reload_ts";function u4(e){return e?.message==="Organization is archived"}function Mce(e){return!!e?.message?.includes("Access denied")}function ZO(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Ice extends D.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o),t4(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t,t:o}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:u4(this.state.error)?R.jsx(c4,{}):Mce(this.state.error)?R.jsx(Oce,{}):R.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[R.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:R.jsx(EE,{className:"h-6 w-6 text-destructive"})}),R.jsxs("div",{className:"space-y-2",children:[R.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),R.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),R.jsx(hm,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function ume(e){const t=eo.c(3),o=Nm();let n;return t[0]!==e||t[1]!==o?(n=R.jsx(Ice,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}class Lce extends D.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o);const n=ZO(t);if(t4(t,{boundary:"chunk_root",is_chunk_load_error:n,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!n)return;const r=sessionStorage.getItem(YO),i=Date.now();(!r||i-Number(r)>1e4)&&(sessionStorage.setItem(YO,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&ZO(this.state.error)?R.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[R.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:R.jsx(r4,{className:"h-6 w-6 text-primary"})}),R.jsxs("div",{className:"space-y-2",children:[R.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),R.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),R.jsx(hm,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?u4(this.state.error)?R.jsx(c4,{}):R.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[R.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:R.jsx(EE,{className:"h-6 w-6 text-destructive"})}),R.jsxs("div",{className:"space-y-2",children:[R.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),R.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),R.jsx(hm,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Nce(e){const t=eo.c(3),o=Nm();let n;return t[0]!==e||t[1]!==o?(n=R.jsx(Lce,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}function d4(e){try{localStorage.setItem(uu.lastLocation(),JSON.stringify(e))}catch{}}function Fce(){try{const e=localStorage.getItem(uu.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org,taskId:typeof t.taskId=="string"?t.taskId:void 0,virtualmcpid:typeof t.virtualmcpid=="string"?t.virtualmcpid:void 0}}catch{}return null}function dme(){try{localStorage.removeItem(uu.lastLocation())}catch{}}const Hr=mj({component:()=>R.jsx(Nce,{children:R.jsx(D.Suspense,{fallback:R.jsx(TE,{}),children:R.jsx(EM,{})})})}),Bce=it({getParentRoute:()=>Hr,path:"/login",component:mt(()=>dt(()=>import("./login-CoFLIETU.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),validateSearch:pi(()=>Ae({next:Y().optional(),client_id:Y().optional(),redirect_uri:Y().optional(),response_type:Y().optional(),state:Y().optional(),scope:Y().optional(),code_challenge:Y().optional(),code_challenge_method:Y().optional(),src:Y().optional(),ref:Y().optional()}))}),zce=it({getParentRoute:()=>Hr,path:"/cli/auth-success",component:mt(()=>dt(()=>import("./cli-auth-success-Cd2M2C-A.js"),__vite__mapDeps([7,6])))}),jce=it({getParentRoute:()=>Hr,path:"/reset-password",component:mt(()=>dt(()=>import("./reset-password-Dumh2xI1.js"),__vite__mapDeps([8,2]))),validateSearch:pi(()=>Ae({token:Y().optional(),error:Y().optional()}))}),Uce=it({getParentRoute:()=>Hr,path:"/auth/$pathname",component:mt(()=>dt(()=>import("./auth-catchall-rgXuAT0W.js"),[]))}),$ce=it({getParentRoute:()=>Hr,path:"/oauth/callback",component:mt(()=>dt(()=>import("./oauth-callback-DSkqIaQO.js"),__vite__mapDeps([9,10,11])))}),qce=it({getParentRoute:()=>Hr,path:"/oauth/callback/ai-provider",component:mt(()=>dt(()=>import("./oauth-callback-ai-provider-R_DGquTf.js"),[]))}),Cv=it({getParentRoute:()=>Hr,path:"/_admin",component:mt(()=>dt(()=>import("./layout-5sQfsgET.js"),__vite__mapDeps([12,13,14,15])))}),Vce=it({getParentRoute:()=>Cv,path:"/",beforeLoad:()=>{throw is({to:"/_admin/users"})}}),Hce=it({getParentRoute:()=>Cv,path:"/users",component:mt(()=>dt(()=>import("./users-B3sZ4Xml.js"),__vite__mapDeps([16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])))}),Gce=it({getParentRoute:()=>Cv,path:"/orgs",component:mt(()=>dt(()=>import("./orgs--v8yTBDu.js"),__vite__mapDeps([37,17,18,19,20,21,22,23,24,25,26,27,28,2,38,32,39,40,41,42,43,33,34,35])))}),Kce=Cv.addChildren([Vce,Hce,Gce]),PE=it({getParentRoute:()=>Hr,id:"shell",component:mt(()=>dt(()=>import("./shell-layout-BSJLlqlV.js").then(e=>e.s),__vite__mapDeps([44,29,30,45,46,47,48,49,50,51,39,21,14,52,53,11,54,5,4,55,56,57,58])))}),Wce=it({getParentRoute:()=>PE,path:"/",beforeLoad:async()=>{const e=Fce();if(e)throw is({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(uu.lastOrgSlug());if(t)throw is({to:"/$org",params:{org:t}});const{data:o}=await G2();if(!o)return;const n=o[0];throw is(n?{to:"/$org",params:{org:n.slug}}:{to:"/onboarding"})}}),Yce=it({getParentRoute:()=>Hr,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await G2();if(e&&e.length>0)throw is({to:"/"})},component:mt(()=>dt(()=>import("./onboarding-D5FE-UEj.js"),__vite__mapDeps([59,14,6,60,29,30,2,38,61,45,49,62,63])))}),Zce=it({getParentRoute:()=>Hr,path:"/commerce-onboarding",component:mt(()=>dt(()=>import("./commerce-onboarding-D0sSicvE.js"),__vite__mapDeps([64,65,53,11,66,67,68,69,70,25,71,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,19,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,21,51,39,22,94,95,96,97,98,38,2,32,99,100,10,1,3,4,5,6,60,29,101]))),validateSearch:pi(()=>Ae({org:Y().optional(),siteUrl:Y().optional()}))}),Qce=it({getParentRoute:()=>Hr,path:"/report/$domain",component:mt(()=>dt(()=>import("./reports-DSDYyTIT.js"),__vite__mapDeps([102,1,2,3,4,5,69,25,72,74,49,79,85,46,90,91,51,103]))),validateSearch:pi(()=>Ae({key:Y().optional()}))}),Ev=it({getParentRoute:()=>PE,path:"/$org",beforeLoad:({params:e})=>{d4({org:e.org})},component:mt(()=>dt(()=>import("./org-layout-Ch41MD2c.js"),[]))}),xv=it({getParentRoute:()=>Ev,id:"org-shell",component:mt(()=>dt(()=>import("./index-_FxW-yOj.js"),__vite__mapDeps([104,18,19,20,21,22,65,53,11,66,67,68,69,70,25,71,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,51,39,94,95,96,97,98,38,2,32,99,100,10,52,56,57,105,106,107,108,109,110,54,5,4,55,111,112,113,114,115,116,117,118,119,120,121,44,29,14,58,122,123,124,125,3,126,127,40,128,129,130,31,131,15,132,133,134,135,136,137,138,139,140,34,35])))}),m4=it({getParentRoute:()=>xv,id:"agent-shell",pendingComponent:l4,component:mt(()=>dt(()=>import("./index-DT08MibC.js").then(e=>e.bt),__vite__mapDeps([141,25,110,52,54,53,11,5,4,55,57,107,111,112,56,142,40,22,41,42,43,124,125,117,127,18,19,20,21,24,26,143,134,140,69,49,77,68,70,71,67,72,73,74,75,45,76,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,51,144,131,29,34,35,145,39,146,147,148,44,14,58,66,119,120,149,98,38,2,114,116,150,36,108,101,115,32,100,10,118,95,96,97,151,137,138,94,152,136,106,109,113,105,121,122,123,3,126,128,129,130,31,153,154,155,156,157,158,159,160,161,162,163,17,27,61,164,99,165,166,167])))}),Jce=Ae({virtualmcpid:Y().optional(),tab:Y().optional(),sidepanel:ro([We("chat"),We(0)]).optional(),main:ro([Y(),We(0)]).optional(),preview:Y().optional(),id:Y().optional(),toolName:Y().optional(),tasks:kt().optional(),mainOpen:kt().optional(),autosend:Y().optional(),runLocally:Y().optional(),connect:YI().optional(),siteUrl:Y().optional()}),Xce=it({getParentRoute:()=>m4,path:"/$taskId",validateSearch:Jce,beforeLoad:({params:e,search:t})=>{d4({org:e.org,taskId:e.taskId,virtualmcpid:t.virtualmcpid})},component:()=>null}),eue=Ae({main:Y().optional(),connect:YI().optional(),siteUrl:Y().optional()}),tue=it({getParentRoute:()=>xv,path:"/",validateSearch:eue,pendingComponent:l4,component:mt(()=>dt(()=>import("./index-CV_oIb7D.js"),__vite__mapDeps([168,53,11,107,54,5,4,55,56,57,120])))}),oue=Ae({task:Y().optional()}),nue=it({getParentRoute:()=>xv,path:"/board",validateSearch:oue,component:mt(()=>dt(()=>import("./index-Vy8egzeH.js").then(e=>e.n),__vite__mapDeps([150,36,29,30,68,69,70,25,71,67,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,19,84,85,86,87,88,89,46,28,90,91,92,63,93,48,21,51,108,101,53,11,115,39,116,32,117,100,10,118,95,96,119,107,54,5,4,55,120,97,143,134,57,112,34,35,151,148,145,137,138,114,44,14,52,56,58,94])))}),Lo=it({getParentRoute:()=>Ev,path:"/settings",component:mt(()=>dt(()=>import("./settings-layout-DTvNWF_-.js"),__vite__mapDeps([169,13,18,19,20,21,22,17,75,45,82,83,84,85,90,30,51,160,170,57,158,157,112,55,4,113,139])))}),rue=it({getParentRoute:()=>Ev,path:"/install",component:mt(()=>dt(()=>import("./org-install-Dt-eUlBV.js"),[]))}),aue=it({getParentRoute:()=>Lo,path:"/",component:mt(()=>dt(()=>import("./index-redirect-Do64sJrG.js"),__vite__mapDeps([171,160,172])))}),iue=it({getParentRoute:()=>Lo,path:"/connections",component:mt(()=>dt(()=>import("./connections-mFO4KxEX.js"),__vite__mapDeps([173,95,96,53,11,174,101,41,76,77,25,81,22,175,31,27,28,130,122,123,117,56,57,124,125,3,4,5,126,127,66,67,68,69,70,71,72,73,74,75,45,49,42,43,47,78,79,50,80,62,82,83,19,84,85,86,87,88,89,46,90,91,92,63,30,93,48,21,51,26,17,18,20,176,109,160,177,39,114,98,38,2,40,128,107,129,100,10,154]))),validateSearch:pi(()=>Ae({action:bn(["create"]).optional(),tab:bn(["all","connected"]).optional()}))}),sue=it({getParentRoute:()=>Lo,path:"/connections/$appSlug",component:mt(()=>dt(()=>import("./connection-detail-CoXlhj8a.js"),__vite__mapDeps([178,95,96,53,11,26,129,2,89,92,179,17,18,19,20,21,22,118,68,69,70,25,71,67,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,84,85,86,87,88,46,28,90,91,63,30,93,48,51,117,123,56,57,40,147,162,31,10,138,108,107,180,119,54,5,4,55,120,143,134,29,149,66,98,38,176,109,181,152,126,116,127,101,182]))),validateSearch:pi(()=>Ae({tab:Y().optional()}))}),lue=it({getParentRoute:()=>Lo,path:"/connections/$appSlug/$collectionName/$itemId",component:mt(()=>dt(()=>import("./collection-detail-69owlTQ3.js"),__vite__mapDeps([183,26,53,11,98,38,2,128,179,17,18,19,20,21,22,118,68,69,70,25,71,67,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,51,117,95,96,123,56,57,40,147,162,31,10,138,108,107,180,119,54,5,4,55,120,184,126,146,110,52,111,112,66,44,29,39,14,58]))),validateSearch:pi(()=>Ae({replayId:Y().optional()}))}),cue=it({getParentRoute:()=>Lo,path:"/monitor",component:mt(()=>dt(()=>import("./index-CHyPH0R-.js"),__vite__mapDeps([185,27,28,17,18,19,20,21,22,26,186,160,187,172,142,40,41,42,43,124,125,117,53,11,107,127,24,143,134,140,69,49,77,68,70,25,71,67,72,73,74,75,45,76,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,90,91,92,63,30,93,48,51,144,57,131,29,34,35,145,39,52,54,5,4,55,110,111,112,56,146,147,148,44,14,58,66,119,120,149,98,38,2,126,31,108,188,154,137,138,128,130,61,184,181]))),validateSearch:pi(()=>Ae({tab:bn(["overview","audit","dashboards","threads","automations"]).default("overview"),from:Y().default("now-30m"),to:Y().default("now"),connectionId:Le(Y()).optional().default([]),virtualMcpId:Le(Y()).optional().default([]),tool:Y().default(""),status:bn(["all","success","errors"]).default("all"),search:Y().default(""),page:kt().optional(),streaming:Vt().default(!0),propertyFilters:Y().default(""),hideSystem:Vt().default(!1)}))}),uue=it({getParentRoute:()=>Lo,path:"/general",component:mt(()=>dt(()=>import("./general-DGnBTHKj.js"),__vite__mapDeps([189,17,18,19,20,21,22,184,72,84,48,134,163,29,30,2,156,127,73,40,41,42,43,105,68,69,70,25,71,67,74,75,45,49,76,77,47,78,79,50,80,62,81,82,83,85,86,87,88,89,46,28,90,91,92,63,93,51,53,11,107,121,56,57,190,31,109,186,160,187,172])))}),due=it({getParentRoute:()=>Lo,path:"/connect",component:mt(()=>dt(()=>import("./connect-D1ov1sRt.js"),__vite__mapDeps([191,184,127,152,145,41,78,83,84,92,17,18,19,20,21,22,156,73,53,11])))}),mue=it({getParentRoute:()=>Lo,path:"/brand-context",component:mt(()=>dt(()=>import("./brand-context-IBNEKJuH.js"),__vite__mapDeps([192,42,76,89,80,92,109,17,18,19,20,21,22,57,163,84,51,2,128,186,160,187,172])))}),fue=it({getParentRoute:()=>Lo,path:"/ai-providers",component:mt(()=>dt(()=>import("./ai-providers-N0hzPenO.js"),__vite__mapDeps([193,69,17,18,19,20,21,22,105,156,127,73,111,57,49,56,53,11,153,39,114,110,52,54,5,4,55,107,112,154,41,2,40,42,43,71,70,83,28,155,86,76,29,30,79,78,91,163,136,109,89,161,35,92,186,160,187,172])))}),hue=it({getParentRoute:()=>Lo,path:"/secrets",component:mt(()=>dt(()=>import("./secrets-DwKmo6lX.js"),__vite__mapDeps([194,69,89,30,93,39,21,2,38,40,22,41,42,43,105,128,17,18,19,20,156,127,73,164,57,186,160,187,172])))}),pue=it({getParentRoute:()=>Lo,path:"/buckets",component:mt(()=>dt(()=>import("./buckets-RMXD0LKM.js"),__vite__mapDeps([195,69,82,89,92,109,39,21,2,38,40,22,41,42,43,61,105,128,17,18,19,20,156,127,73,165,57,186,160,187,172])))}),gue=it({getParentRoute:()=>Lo,path:"/members",component:mt(()=>dt(()=>import("./members-CwVLCUEz.js"),__vite__mapDeps([196,174,101,41,76,77,25,81,22,175,31,27,28,17,18,19,20,21,23,24,26,133,39,98,38,40,42,43,128,134,135,156,127,73,170,160,57,29,30,34,35,36,143,197,109,83,90,92,48,154,137,138,108,89,151,186,187,172])))}),vue=it({getParentRoute:()=>Lo,path:"/roles",component:mt(()=>dt(()=>import("./roles-Bd-WDKry.js"),__vite__mapDeps([198,135,134,197,31,109,101,41,76,77,89,92,23,24,25,17,18,19,20,21,22,26,27,28,155,66,67,68,69,70,71,72,73,74,75,45,49,42,43,47,78,79,50,80,62,81,82,83,84,85,86,87,88,46,90,91,63,30,93,48,51,125,154,131,53,11,116,182,143,36,117,111,57,29,61,156,127,160,187,172]))),validateSearch:pi(()=>Ae({role:Y().optional()}))}),bue=it({getParentRoute:()=>Lo,path:"/sso",component:mt(()=>dt(()=>import("./sso-inkYovPZ.js"),__vite__mapDeps([199,190,57,156,127,73,31,2,40,22,41,42,43,17,18,19,20,21,109,61,58,92,186,160,187,172])))}),yue=it({getParentRoute:()=>Lo,path:"/profile",component:mt(()=>dt(()=>import("./profile-mU98vr9g.js"),__vite__mapDeps([200,17,18,19,20,21,22,29,30,61,40,41,42,43,136,2,86,87,88,163,157,132,156,127,73])))}),Sue=it({getParentRoute:()=>Lo,path:"/store",component:mt(()=>dt(()=>import("./store-CyrOxkR3.js"),__vite__mapDeps([201,69,76,89,92,2,61,105,29,30,108,117,53,11,17,18,19,20,21,22,123,56,57,156,127,73,186,160,187,172])))}),_ue=it({getParentRoute:()=>Lo,path:"/registry",component:mt(()=>dt(()=>import("./registry-CCsXcJWr.js"),__vite__mapDeps([202,186,160,187,172])))}),wue=it({getParentRoute:()=>Lo,path:"/store/registry",component:mt(()=>dt(()=>import("./store-registry-CHkK4OS3.js"),__vite__mapDeps([203,186,160,187,172])))}),Cue=it({getParentRoute:()=>Lo,path:"/agents",component:mt(()=>dt(()=>import("./agents-list-B-pgMXCw.js"),__vite__mapDeps([204,101,41,76,77,45,115,39,21,116,28,32,117,53,11,100,10,71,84,68,69,70,25,67,72,73,74,75,49,42,43,47,78,79,50,80,62,81,82,83,19,85,86,87,88,89,46,90,91,92,63,30,93,48,51,118,95,96,119,107,54,5,4,55,120,97,17,18,20,22,161,35,56,57,160,127,26,180,159,109,27])))}),Eue=it({getParentRoute:()=>Lo,path:"/automations",component:mt(()=>dt(()=>import("./automations-C8qDaiwa.js"),__vite__mapDeps([205,89,51,27,28,17,18,19,20,21,22,26,144,53,11,57,119,107,54,5,4,55,120,166,109,101,41,76,77,47,92,68,69,70,25,71,67,72,73,74,75,45,49,42,43,78,79,50,80,62,81,82,83,84,85,86,87,88,46,90,91,63,30,93,48,186,160,187,172])))}),xue=Lo.addChildren([aue,iue,sue,lue,Cue,Eue,cue,uue,due,mue,fue,hue,pue,gue,vue,bue,yue,Sue,wue,_ue]),Tue=m4.addChildren([Xce]),Pue=xv.addChildren([tue,nue,Tue]),Rue=Ev.addChildren([Pue,xue,rue]),Aue=PE.addChildren([Wce,Rue]),kue=Hr.addChildren([Aue,Kce,Yce,Zce,Qce,Bce,zce,jce,Uce,$ce,qce]);function Due(){const e=eo.c(16),t=Nm();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let n;e[2]!==o?(n=R.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=n):n=e[3];let r;e[4]!==t?(r=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=r):r=e[5];let i;e[6]!==r?(i=R.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:r}),e[6]=r,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.index.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=R.jsx("button",{type:"button",onClick:Oue,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==n||e[13]!==i||e[14]!==c?(d=R.jsx("div",{className:"flex h-full items-center justify-center",children:R.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[n,i,c]})}),e[12]=n,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function Oue(){return window.history.back()}const Mue=Cj({routeTree:kue,defaultPendingComponent:TE,defaultPendingMs:200,defaultNotFoundComponent:Due}),Iue=[["mesh:","studio:"],["mesh-","studio-"]];function Lue(e){const t=Array.from({length:e.length},(o,n)=>e.key(n)).filter(o=>o!==null);for(const o of t){const n=Iue.find(([d])=>o.startsWith(d));if(!n)continue;const[r,i]=n,l=`${i}${o.slice(r.length)}`;if(e.getItem(l)!==null)continue;const c=e.getItem(o);c!==null&&e.setItem(l,c)}}let ui=null,QO=!1;const Dw=new Set;function Lg(){for(const e of Dw)e()}function Nue(){QO||typeof window>"u"||(QO=!0,window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),ui=e,Lg()}),window.addEventListener("appinstalled",()=>{ui=null,Lg()}))}function mme(){ui!==null&&(ui=null,Lg())}function Fue(e){return Dw.add(e),()=>{Dw.delete(e)}}function Bue(){return ui}function zue(){return null}function jue(){if(typeof window>"u")return!1;const e=typeof window.matchMedia=="function"&&["(display-mode: standalone)","(display-mode: window-controls-overlay)"].some(o=>window.matchMedia(o).matches),t=navigator.standalone===!0;return e||t}function Uue(){if(typeof navigator>"u")return!1;const e=navigator.userAgent;return/iPad|iPhone|iPod/.test(e)?!0:e.includes("Macintosh")&&typeof document<"u"&&"ontouchend"in document}function fme(){const e=eo.c(5),t=D.useSyncExternalStore(Fue,Bue,zue);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=jue(),e[0]=o):o=e[0];const n=o,r=t!==null&&!n;let i,l;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=Uue(),l=$ue,e[1]=i,e[2]=l):(i=e[1],l=e[2]);let c;return e[3]!==r?(c={canPrompt:r,installed:n,ios:i,promptInstall:l},e[3]=r,e[4]=c):c=e[4],c}async function $ue(){if(!ui)return"unavailable";await ui.prompt();const e=await ui.userChoice;return ui=null,Lg(),e.outcome}Lue(window.localStorage);Nue();const que=document.getElementById("root");L6.createRoot(que).render(R.jsx(D.StrictMode,{children:R.jsx(xce,{children:R.jsx(Tj,{router:Mue})})}));export{gde as $,Xde as A,hm as B,Gue as C,Ide as D,ume as E,rH as F,uu as G,MJ as H,Zse as I,ys as J,ws as K,gm as L,Are as M,Hue as N,EM as O,Nse as P,Que as Q,o4 as R,TE as S,wl as T,l4 as U,Qse as V,fU as W,Ae as X,Y,Aa as Z,Ra as _,ov as a,fme as a$,TM as a0,Zo as a1,Le as a2,bn as a3,uo as a4,Vt as a5,kZ as a6,lme as a7,AZ as a8,cme as a9,Sl as aA,Tm as aB,Xo as aC,dN as aD,ct as aE,ds as aF,dt as aG,kt as aH,M2 as aI,vt as aJ,au as aK,Up as aL,IM as aM,lU as aN,cU as aO,hU as aP,uU as aQ,dU as aR,Wo as aS,gU as aT,h1 as aU,mU as aV,jn as aW,Sr as aX,ol as aY,Mde as aZ,mme as a_,eD as aa,Ow as ab,MX as ac,ia as ad,rm as ae,jg as af,jC as ag,Qc as ah,vs as ai,bi as aj,sa as ak,hN as al,LX as am,BX as an,NX as ao,CX as ap,rK as aq,D2 as ar,Kue as as,Ade as at,RZ as au,Fde as av,r4 as aw,ee as ax,wo as ay,uN as az,Nm as b,Xue as b$,So as b0,kde as b1,ome as b2,O2 as b3,bde as b4,Sde as b5,RC as b6,zV as b7,qI as b8,FV as b9,Zte as bA,cee as bB,uee as bC,FN as bD,vi as bE,Vue as bF,ra as bG,hde as bH,aa as bI,Pte as bJ,Qz as bK,_M as bL,Pce as bM,Qg as bN,em as bO,bs as bP,Ace as bQ,Fce as bR,dme as bS,a4 as bT,sme as bU,ime as bV,nme as bW,H2 as bX,c4 as bY,rme as bZ,pde as b_,ro as ba,We as bb,Jw as bc,jI as bd,tde as be,$V as bf,u7 as bg,eC as bh,Xw as bi,GV as bj,ode as bk,ude as bl,_de as bm,u9 as bn,bV as bo,pl as bp,gt as bq,VG as br,lL as bs,vC as bt,OL as bu,dre as bv,BF as bw,jF as bx,Ete as by,EN as bz,eo as c,kC as c$,o9 as c0,n9 as c1,dC as c2,S2 as c3,y2 as c4,Zg as c5,n2 as c6,v9 as c7,a2 as c8,m9 as c9,wn as cA,a_ as cB,Tde as cC,Rde as cD,Pde as cE,wde as cF,Ite as cG,Lte as cH,Mte as cI,IJ as cJ,AJ as cK,LJ as cL,DJ as cM,NJ as cN,OJ as cO,LN as cP,ZX as cQ,DC as cR,TN as cS,AC as cT,QX as cU,Bde as cV,JX as cW,kJ as cX,KL as cY,BL as cZ,OC as c_,x9 as ca,L7 as cb,F7 as cc,j7 as cd,Q7 as ce,f9 as cf,N7 as cg,B7 as ch,U7 as ci,$7 as cj,J7 as ck,i9 as cl,Ode as cm,Dde as cn,Qde as co,HI as cp,YG as cq,Cde as cr,eK as cs,Ede as ct,h7 as cu,XS as cv,t_ as cw,e_ as cx,xde as cy,m_ as cz,pm as d,Vee as d$,nm as d0,LU as d1,o2 as d2,i2 as d3,c2 as d4,d2 as d5,m2 as d6,h2 as d7,lde as d8,cde as d9,vte as dA,bte as dB,_te as dC,yte as dD,Ste as dE,Kde as dF,Wde as dG,Yde as dH,Ude as dI,$de as dJ,Gde as dK,qde as dL,Vde as dM,Hde as dN,OZ as dO,DZ as dP,wL as dQ,yde as dR,vde as dS,jde as dT,zde as dU,Yue as dV,Wue as dW,jM as dX,Om as dY,xm as dZ,zee as d_,ide as da,sde as db,p7 as dc,ade as dd,s2 as de,u2 as df,f2 as dg,mde as dh,l2 as di,R7 as dj,rde as dk,t2 as dl,Q9 as dm,a9 as dn,fde as dp,q9 as dq,G9 as dr,P9 as ds,T9 as dt,dde as du,lV as dv,Jue as dw,nde as dx,pi as dy,ede as dz,Cp as e,Yee as e0,jee as e1,Uee as e2,Bee as e3,qN as e4,$ee as e5,qee as e6,Hee as e7,Gee as e8,Kee as e9,Wee as ea,Zee as eb,Jee as ec,Xee as ed,zg as f,eme as g,Jde as h,tme as i,R as j,xE as k,Oce as l,Tce as m,UM as n,Ug as o,Kse as p,ame as q,D as r,Lde as s,us as t,jw as u,s4 as v,Nde as w,gl as x,n4 as y,EE as z};
235
+ {plan}`,"chat.highlight.pleaseContinue":"Por favor, continue.","chat.highlight.responseIncomplete":"Resposta incompleta","chat.highlight.responseStoppedUnexpectedly":"A resposta parou inesperadamente: {reason}","chat.highlight.showTechnicalDetails":"Mostrar detalhes técnicos","chat.highlight.warningDescriptionContentFilter":"A resposta foi filtrada devido à política de conteúdo.","chat.highlight.warningDescriptionLength":"A resposta atingiu o limite de saída do modelo. Diferentes modelos têm limites diferentes. Tente trocar de modelo ou peça para continuar.","chat.highlight.warningDescriptionToolCalls":"A resposta foi pausada após a execução da ferramenta para evitar loops infinitos e economizar custos. Clique continuar para continuar trabalhando.","chat.iceBreakers.allPromptsTitle":"Todos os prompts","chat.iceBreakers.failedToLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.iceBreakers.mcpClientNotAvailable":"Cliente MCP não disponível","chat.iceBreakers.moreButton":"+{count} mais","chat.iceBreakers.noPromptsMatch":'Nenhum prompt correspondente a "{search}"',"chat.iceBreakers.promptsLabel":"Prompts","chat.iceBreakers.searchPromptsPlaceholder":"Pesquisar prompts...","chat.imageLightbox.downloadImage":"Baixar imagem","chat.imageLightbox.zoomIn":"Aumentar zoom","chat.imageLightbox.zoomOut":"Diminuir zoom","chat.input.cancelRecording":"Cancelar gravação","chat.input.cancelRun":"Cancelar execução","chat.input.createImage":"Criar imagem","chat.input.deepResearch":"Pesquisa profunda","chat.input.dropFilesHere":"Solte {fileTypes} aqui","chat.input.microphoneAccessDenied":"Acesso ao microfone negado — clique para tentar novamente","chat.input.modelCannotReadAttachments":"Este modelo não consegue ler anexos — mude para um com suporte a visão ou arquivos","chat.input.planMode":"Modo de planejamento","chat.input.readOnlyOthersChat":"Apenas leitura - você está visualizando um chat de outra pessoa","chat.input.sendMessage":"Enviar mensagem","chat.input.sendMessageEnter":"Enviar mensagem (Enter)","chat.input.stillSendingPreviousMessage":"Ainda enviando sua mensagem anterior — tente novamente em um momento","chat.input.stopGenerating":"Parar de gerar","chat.input.useTranscription":"Usar transcrição","chat.input.voiceInput":"Entrada de voz","chat.input.webSearch":"Busca na web","chat.input.placeholder":"Pergunte qualquer coisa, / para prompts & habilidades, @ para agentes & recursos...","chat.markdown.copyAsCSV":"Copiar como CSV","chat.markdown.copyCode":"Copiar código","chat.markdown.image":"Imagem","chat.markdown.openFile":"Abrir arquivo","chat.mentionAt.agentsDescription":"Mencione um agente para transferir o trabalho","chat.mentionAt.agentsTitle":"Agentes","chat.mentionAt.failedToLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionAt.resourcesDescription":"Anexar um recurso como contexto","chat.mentionAt.resourcesTitle":"Recursos","chat.mentionSlash.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.mentionSlash.failedLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionSlash.failedLoadSkill":"Falha ao carregar skill. Tente novamente.","chat.mentionSlash.failedUpdatePrompt":"Falha ao atualizar prompt. Tente novamente.","chat.nextActionChip.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.nextActionChip.mcpClientNotAvailable":"Cliente MCP não disponível","chat.nextActionChip.next":"Próximo:","chat.noAiProviderEmptyState.connectDesktopLabel":"Conecte seu desktop","chat.noAiProviderEmptyState.desktopLinkedLabel":"Desktop vinculado","chat.noAiProviderEmptyState.headingDefault":"Seus agentes estão quase prontos","chat.noAiProviderEmptyState.headingWithOrg":"{org} está pronto para agentes","chat.noAiProviderEmptyState.orConnectProvider":"ou conecte um provedor em nuvem","chat.noAiProviderEmptyState.subtitleDefault":"Conecte um provedor — ou execute `bunx decocms@latest link` em seu desktop para usar Claude Code, Codex ou seus arquivos locais.","chat.noAiProviderEmptyState.subtitleLocalMode":"Conecte um provedor ou execute `bunx decocms@latest link` em seu desktop para Claude Code, Codex e arquivos locais.","chat.noAiProviderEmptyState.subtitleWithDesktop":"Seu desktop está vinculado — comece agora com um agente de codificação local ou conecte um provedor em nuvem para modelos hospedados.","chat.noAiProviderEmptyState.useLabel":"Usar {label}","chat.outputFileRow.download":"Baixar","chat.outputFileRow.downloadFile":"Baixar {filename}","chat.outputFileRow.open":"Abrir","chat.pagination.counter":"{current} de {total}","chat.pagination.nextLabel":"Próxima pergunta","chat.pagination.previousLabel":"Pergunta anterior","chat.proposePlan.approved":"Aprovado","chat.proposePlan.implementationPlan":"Plano de Implementação","chat.proposePlan.keepIterating":"Continuar iterando","chat.proposePlan.letsGo":"Vamos lá","chat.proposePlan.planReady":"Plano pronto","chat.proposePlan.preparingPlan":"Preparando plano...","chat.proposePlan.rejected":"Rejeitado","chat.proposePlan.viewPlan":"Ver plano","chat.queueTray.queuedMessage":"{count} mensagem na fila","chat.queueTray.queuedMessages":"{count} mensagens na fila","chat.queueTray.removeFromQueue":"Remover da fila","chat.queueTray.sendNow":"Enviar agora","chat.selectModel.selectModel":"Selecionar modelo","chat.selectVirtualMcp.chooseAgentTooltip":"Escolha um agente para conversar","chat.selectVirtualMcp.createAgent":"Criar Agente","chat.selectVirtualMcp.creating":"Criando...","chat.selectVirtualMcp.noAgentsFound":"Nenhum agente encontrado","chat.selectVirtualMcp.searchPlaceholder":"Pesquisar por um agente...","chat.selectVirtualMcp.selectAgent":"Selecionar Agente","chat.shared.approxWords":"~{wordCount} palavras","chat.shared.capabilityImage":"Imagem","chat.shared.capabilityReasoning":"Raciocínio","chat.shared.capabilityText":"Texto","chat.shared.capabilityTools":"Ferramentas","chat.shared.capabilityVision":"Visão","chat.shared.capabilityWebSearch":"Pesquisa na web","chat.shared.context":"Contexto","chat.shared.contextLevelLarge":"Grande","chat.shared.contextLevelLargeDesc":"Projetos longos e pesquisa","chat.shared.contextLevelMedium":"Médio","chat.shared.contextLevelMediumDesc":"Bom para a maioria das tarefas","chat.shared.contextLevelSmall":"Pequeno","chat.shared.contextLevelSmallDesc":"Conversas curtas","chat.shared.contextLevelVeryLarge":"Muito grande","chat.shared.contextLevelVeryLargeDesc":"Arquivos e dados massivos","chat.shared.contextWindow":"Janela de contexto","chat.shared.costLevelCheap":"Barato","chat.shared.costLevelExpensive":"Caro","chat.shared.costLevelHigh":"Alto","chat.shared.costLevelModerate":"Moderado","chat.shared.fileTypeAudio":"áudio","chat.shared.fileTypeImages":"imagens","chat.shared.fileTypeOffice":"Arquivos Office","chat.shared.fileTypePdfs":"PDFs","chat.shared.fileTypeVideo":"vídeo","chat.shared.hoverToPreview":"Passe o mouse para visualizar","chat.shared.input":"Entrada","chat.shared.output":"Saída","chat.shared.outputLimit":"Limite de saída","chat.shared.pricing":"Preços","chat.shared.selectModel":"Selecionar modelo","chat.shared.tokens":"tokens","chat.subtask.awaitingApproval":"Aguardando aprovação...","chat.subtask.completedNoOutput":"Subtarefa concluída (sem saída).","chat.subtask.completedTitle":"Subtarefa concluída","chat.subtask.errorLabel":"Erro","chat.subtask.failedTitle":"Subtarefa falhou","chat.subtask.failedWithError":"Subtarefa falhou: {error}","chat.subtask.flipToBackground":"Executar em background","chat.subtask.flipping":"Movendo para background…","chat.subtask.noPromptProvided":"Nenhum prompt fornecido","chat.subtask.resultLabel":"Resultado","chat.subtask.running":"Executando…","chat.subtask.runningEllipsis":"Subtarefa em execução...","chat.subtask.runningInBackground":"Executando em background…","chat.subtask.startingEllipsis":"Iniciando subtarefa...","chat.subtask.stepLimitNoOutput":"[A subtarefa atingiu o limite de etapas antes de produzir um relatório final. O subagente trabalhou, mas ficou sem etapas. Restrinja a tarefa ou aumente o orçamento.]","chat.subtask.stepLimitPartial":"[A subtarefa atingiu o limite de etapas — resultado parcial abaixo; considere restringir a tarefa.]","chat.subtask.subtaskNoun":"Subtarefa","chat.subtask.taskLabel":"Tarefa","chat.takeScreenshot.failed":"Falhou","chat.takeScreenshot.screenshot":"Captura de tela","chat.takeScreenshot.screenshotAlt":"Captura de tela","chat.takeScreenshot.taking":"Capturando tela","chat.takeScreenshot.title":"Capturar tela","chat.textPart.copyMessage":"Copiar mensagem","chat.thinkingIndicator.cancel":"Cancelar","chat.thinkingIndicator.planningDetail":"Decidindo como abordar a solicitação","chat.thinkingIndicator.planningLabel":"Planejando os próximos passos","chat.thinkingIndicator.takingLonger":"Isso está levando mais tempo que o usual.","chat.thinkingIndicator.thinking":"Pensando...","chat.thinkingIndicator.thinkingDetail":"Processando a próxima resposta","chat.thinkingIndicator.thinkingLabel":"Pensando","chat.thinkingIndicator.thought":"Pensou","chat.thinkingIndicator.thoughtFor":"Pensou por {duration}","chat.tierTrigger.runtimeClaudeCode":"Claude Code","chat.tierTrigger.runtimeCloud":"Nuvem","chat.tierTrigger.runtimeCodex":"Codex","chat.tierTrigger.runtimeThisDevice":"Dispositivo","chat.tierTrigger.selected":"Selecionado","chat.tierTrigger.tierFast":"Rápido","chat.tierTrigger.tierSmart":"Inteligente","chat.tierTrigger.tierThinking":"Pensamento","chat.toolsPopover.addFile":"Adicionar arquivo","chat.toolsPopover.approval":"Aprovação","chat.toolsPopover.connections":"Conexões","chat.toolsPopover.createImage":"Criar imagem","chat.toolsPopover.deepResearch":"Pesquisa aprofundada","chat.toolsPopover.failedLoadPrompt":"Falha ao carregar prompt. Por favor, tente novamente.","chat.toolsPopover.loadingPrompts":"Carregando prompts…","chat.toolsPopover.modelNoFileSupport":"O modelo selecionado não suporta leitura de arquivos ou imagens.","chat.toolsPopover.noPromptsAvailable":"Nenhum prompt disponível","chat.toolsPopover.on":"Ativado","chat.toolsPopover.planMode":"Modo planejamento","chat.toolsPopover.prompts":"Prompts","chat.toolsPopover.tools":"Ferramentas","chat.toolsPopover.webSearch":"Busca na web","chat.triggerEventPart.triggeredByEvent":"Acionado por evento","chat.uploader.accepts":"{modelName} aceita","chat.uploader.cantAttachToChat":"não pode ser anexado a este chat.","chat.uploader.fileTypeNotSupported":"Tipo de arquivo não suportado","chat.uploader.gotIt":"Entendi","chat.userAskQuestion.choiceOptionsAriaLabel":"Opções de escolha","chat.userAskQuestion.confirmNo":"Não","chat.userAskQuestion.confirmValue":"Confirme {value}","chat.userAskQuestion.confirmYes":"Sim","chat.userAskQuestion.confirmationOptionsAriaLabel":"Opções de confirmação","chat.userAskQuestion.customChoiceInputAriaLabel":"Entrada de escolha customizada","chat.userAskQuestion.preparingQuestion":"Preparando pergunta...","chat.userAskQuestion.question":"Pergunta","chat.userAskQuestion.questionCount":"{current} de {total}","chat.userAskQuestion.questionPending":"Pergunta pendente","chat.userAskQuestion.selectOption":"Selecione {option}","chat.userAskQuestion.skip":"Pular","chat.userAskQuestion.skipMessage":"usuário pulou esta pergunta","chat.userAskQuestion.skippedAnswer":"Pulado","chat.userAskQuestion.somethingElsePlaceholder":"Algo mais...","chat.userAskQuestion.textResponseInputAriaLabel":"Entrada de resposta em texto","chat.userAskQuestion.typeResponse":"Digite sua resposta...","chat.webSearch.failed":"Falhou","chat.webSearch.researching":"Pesquisando...","chat.webSearch.showLess":"mostrar menos","chat.webSearch.showMore":"+{count} mais","chat.webSearch.title":"Busca na web","chat.mention.editPrompt":"Editar argumentos do prompt {name}","chat.mention.noItemsFound":"Nenhum item encontrado","chat.modelPreferences.title":"Seus modelos","chat.modelPreferences.description":"Escolha qual modelo cada nível usa para você. Isso altera apenas os seus chats — o padrão da organização permanece o mesmo.","chat.modelPreferences.customizeModel":"Personalizar modelo de {tier}","chat.modelPreferences.pickModel":"Escolher modelo","chat.modelPreferences.reset":"Redefinir","chat.modelPreferences.usingOrgDefault":"Usando o padrão da organização","chat.modelPreferences.orgDefaultIs":"Padrão da organização: {model}","chat.modelPreferences.autoPicked":"escolhido automaticamente","chat.modelPreferences.loadFailed":"Não foi possível carregar suas escolhas de modelo. O que aparece abaixo pode não corresponder ao que seus chats usam."},gce={"automations.addStarterPopover.addStarter":"Adicionar Gatilho","automations.addStarterPopover.customCron":"Personalizado (cron)","automations.addStarterPopover.event":"Evento","automations.addStarterPopover.every":"A cada...","automations.addStarterPopover.everyUnit":"A cada {unit}","automations.addStarterPopover.failedAddStarter":"Erro ao adicionar gatilho","automations.addStarterPopover.failedAddWebhookStarter":"Erro ao adicionar gatilho webhook","automations.addStarterPopover.starterAdded":"Gatilho adicionado","automations.addStarterPopover.webhook":"Webhook","automations.addStarterPopover.webhookStarterAdded":"Gatilho webhook adicionado","automations.automationConfig.all":"Todos","automations.automationConfig.allTools":"Todas as ferramentas","automations.automationConfig.allToolsEnabled":"Todas as {count} ferramentas habilitadas","automations.automationConfig.browser":"Navegador","automations.automationConfig.builtinCapabilities":"Capacidades integradas","automations.automationConfig.clear":"Limpar","automations.automationConfig.connectAiProviderHint":"Conecte um provedor de IA nas configurações para selecionar um modelo específico.","automations.automationConfig.context":"Contexto","automations.automationConfig.filesCode":"Arquivos e código","automations.automationConfig.loadingModels":"Carregando modelos…","automations.automationConfig.loadingTools":"Carregando ferramentas…","automations.automationConfig.modelLabel":"Modelo","automations.automationConfig.noToolsFound":"Nenhuma ferramenta encontrada","automations.automationConfig.none":"Nenhum","automations.automationConfig.otherTools":"Outras ferramentas","automations.automationConfig.pickAgentFirst":"Selecione um agente primeiro","automations.automationConfig.pickModelPlaceholder":"Selecione um modelo","automations.automationConfig.searchToolsPlaceholder":"Pesquisar ferramentas...","automations.automationConfig.selectAll":"Selecionar tudo","automations.automationConfig.specificModel":"Modelo específico","automations.automationConfig.tierFast":"Rápido","automations.automationConfig.tierFastSubtitle":"Respostas rápidas para tarefas simples","automations.automationConfig.tierSmart":"Inteligente","automations.automationConfig.tierSmartSubtitle":"Equilíbrio entre qualidade e velocidade","automations.automationConfig.tierThinking":"Raciocínio","automations.automationConfig.tierThinkingSubtitle":"Raciocínio profundo para tarefas complexas","automations.automationConfig.toolAskUser":"Pergunte ao usuário","automations.automationConfig.toolAskUserDesc":"Pause para fazer uma pergunta de esclarecimento ao usuário","automations.automationConfig.toolEditFile":"Editar arquivo","automations.automationConfig.toolEditFileDesc":"Faça edições direcionadas em um arquivo existente","automations.automationConfig.toolFindFiles":"Encontrar arquivos","automations.automationConfig.toolFindFilesDesc":"Encontre arquivos por padrão de nome","automations.automationConfig.toolGenerateImage":"Gerar imagem","automations.automationConfig.toolGenerateImageDesc":"Crie imagens a partir de um prompt de texto","automations.automationConfig.toolInspectPage":"Inspecionar página","automations.automationConfig.toolInspectPageDesc":"Inspecione a estrutura de uma página web","automations.automationConfig.toolLoadSkill":"Carregar habilidade","automations.automationConfig.toolLoadSkillDesc":"Carregue as instruções completas de uma habilidade (SKILL.md) por id","automations.automationConfig.toolReadFile":"Ler arquivo","automations.automationConfig.toolReadFileDesc":"Leia um arquivo do espaço de trabalho","automations.automationConfig.toolReadPrompt":"Ler prompt","automations.automationConfig.toolReadPromptDesc":"Leia uma definição de prompt MCP","automations.automationConfig.toolReadResource":"Ler recurso","automations.automationConfig.toolReadResourceDesc":"Leia um recurso MCP por URI","automations.automationConfig.toolRunCommand":"Executar comando","automations.automationConfig.toolRunCommandDesc":"Execute comandos shell na sandbox","automations.automationConfig.toolScrapeUrl":"Raspar URL","automations.automationConfig.toolScrapeUrlDesc":"Busque e extraia conteúdo de uma URL","automations.automationConfig.toolSearchContent":"Pesquisar conteúdo","automations.automationConfig.toolSearchContentDesc":"Pesquise conteúdo de arquivo por padrão","automations.automationConfig.toolSubtask":"Subtarefa","automations.automationConfig.toolSubtaskDesc":"Crie um sub-agente focado para lidar com parte do trabalho","automations.automationConfig.toolTakeScreenshot":"Tirar captura de tela","automations.automationConfig.toolTakeScreenshotDesc":"Capture uma captura de tela de uma página web","automations.automationConfig.toolWebSearch":"Busca na web","automations.automationConfig.toolWebSearchDesc":"Pesquise informações atuais na web","automations.automationConfig.toolWriteFile":"Escrever arquivo","automations.automationConfig.toolWriteFileDesc":"Crie ou sobrescreva um arquivo","automations.automationConfig.tools":"Ferramentas","automations.automationConfig.toolsEnabledCount":"{enabled} de {total} habilitadas","automations.automationConfig.toolsLabel":"Ferramentas","automations.automationDetail.active":"Ativo","automations.automationDetail.addStarter":"Adicionar um acionador","automations.automationDetail.advanced":"Avançado","automations.automationDetail.automationNamePlaceholder":"Nome da automação","automations.automationDetail.backToList":"Voltar para a lista","automations.automationDetail.failedToAddStarter":"Falha ao adicionar acionador","automations.automationDetail.improve":"Melhorar","automations.automationDetail.inactive":"Inativo","automations.automationDetail.instructions":"Instruções","automations.automationDetail.instructionsPlaceholder":"O que esta automação deve fazer?","automations.automationDetail.invalid":"inválido","automations.automationDetail.loadingConnections":"Carregando conexões...","automations.automationDetail.maxSteps":"Máx. passos","automations.automationDetail.maxStepsPlaceholder":"{default} (padrão)","automations.automationDetail.noInstructionsConfigured":"Nenhuma instrução configurada para esta automação","automations.automationDetail.starter":"Acionador","automations.automationDetail.starterAdded":"Acionador adicionado","automations.automationDetail.test":"Testar","automations.automationDetail.testAutomation":"Testar Automação","automations.automationDetail.toGetGoing":"para começar.","automations.automationDetail.whenShouldRun":"Quando esta automação deve executar?","automations.automationListRow.ariaActive":"Ativo","automations.automationListRow.ariaNoTriggers":"Nenhum gatilho configurado","automations.automationListRow.ariaPaused":"Pausado","automations.automationListRow.cancel":"Cancelar","automations.automationListRow.delete":"Deletar","automations.automationListRow.deleteButton":"Deletar","automations.automationListRow.deleteDescription":"Isto remove {name} e todos os seus gatilhos. Esta ação não pode ser desfeita.","automations.automationListRow.deleteTitle":"Deletar automação?","automations.automationListRow.nextRun":"Próxima execução {date}","automations.automationListRow.noTriggers":"Nenhum gatilho configurado","automations.automationListRow.triggers":"{count} gatilho{plural}","automations.automationRuns.costHeader":"Custo","automations.automationRuns.costTitle":"Custo","automations.automationRuns.failed":"falhadas","automations.automationRuns.lastRunsSubtitle":"últimas {count} execuções","automations.automationRuns.loadingMore":"Carregando mais…","automations.automationRuns.loadingRuns":"Carregando execuções…","automations.automationRuns.noRunsDescription":"Esta automação ainda não foi executada. Dispare-a ou aguarde um inicializador disparar.","automations.automationRuns.noRunsTitle":"Nenhuma execução ainda","automations.automationRuns.noStartersDescription":"Adicione um inicializador (cron, evento ou webhook) para começar a coletar execuções.","automations.automationRuns.noStartersTitle":"Nenhum inicializador ainda","automations.automationRuns.ok":"ok","automations.automationRuns.runHeader":"Execução","automations.automationRuns.running":"em execução","automations.automationRuns.runsTitle":"Execuções","automations.automationRuns.startedHeader":"Iniciada","automations.automationRuns.statusHeader":"Status","automations.automationRuns.successRateTitle":"Taxa de sucesso","automations.automationRuns.tokensHeader":"Tokens","automations.automationRuns.tokensTitle":"Tokens","automations.automationsList.emptyDescription":"Crie sua primeira automação para executar este agente em um cronograma ou em resposta a eventos.","automations.automationsList.emptyTitle":"Nenhuma automação ainda","automations.automationsList.newAutomation":"Nova automação","automations.automationsList.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"automations.automationsList.noResultsTitle":"Nenhuma automação encontrada","automations.automationsList.searchPlaceholder":"Pesquisar automações...","automations.automationsList.title":"Automações","automations.eventTriggerForm.addTriggerButton":"Adicionar gatilho","automations.eventTriggerForm.errorFailed":"Falha ao adicionar gatilho de evento","automations.eventTriggerForm.loadingEvents":"Carregando eventos...","automations.eventTriggerForm.noConnectionsWithTrigger":"Nenhuma conexão com suporte a gatilho","automations.eventTriggerForm.selectConnectionPlaceholder":"Selecionar conexão...","automations.eventTriggerForm.selectEventTypePlaceholder":"Selecionar tipo de evento...","automations.eventTriggerForm.selectParamPlaceholder":"Selecionar {key}...","automations.eventTriggerForm.successAdded":"Gatilho de evento adicionado","automations.eventTriggerForm.title":"Gatilho de evento","automations.triggerCard.cancel":"Cancelar","automations.triggerCard.confirmRemoveStarter":"Tem certeza de que deseja remover este disparador?","automations.triggerCard.every":"A cada","automations.triggerCard.failedToRemoveStarter":"Falha ao remover disparador","automations.triggerCard.failedToUpdateStarter":"Falha ao atualizar disparador","automations.triggerCard.invalid":"inválido","automations.triggerCard.newWebhookToken":"Novo token de webhook","automations.triggerCard.newWebhookTokenDescription":"O token anterior foi revogado. Copie o novo token agora — ele não será mostrado novamente.","automations.triggerCard.remove":"Remover","automations.triggerCard.removeStarter":"Remover Disparador","automations.triggerCard.rotate":"Girar","automations.triggerCard.rotateToken":"Girar token","automations.triggerCard.rotateWebhookToken":"Girar token de webhook","automations.triggerCard.rotateWebhookTokenDescription":"Um novo token será gerado e o token atual deixará de funcionar. Quaisquer remetentes que usem o token antigo devem ser atualizados.","automations.triggerCard.starterRemoved":"Disparador removido","automations.triggerCard.webhookPostToFire":"Webhook · POST para disparar","automations.webhookSecretDialog.copied":"Copiado","automations.webhookSecretDialog.copy":"Copiar","automations.webhookSecretDialog.done":"Concluído","automations.webhookSecretDialog.failedCopy":"Falha ao copiar","automations.webhookSecretDialog.snippet":"Snippet","automations.webhookSecretDialog.tokenInUrl":"Token na URL","automations.webhookSecretDialog.tokenLabel":"Token (exibido uma vez)","automations.webhookSecretDialog.url":"URL"},vce={"agentShellLayout.agentShellLayout.agentNotFound":"Agente não encontrado","agentShellLayout.agentShellLayout.agentNotFoundDescription":'O agente "{virtualMcpId}" não existe nesta organização.',"agentShellLayout.agentShellLayout.chatLoadingError":"Algo deu errado ao carregar o chat. Tente atualizar.","agentShellLayout.agentShellLayout.creatingTask":"Criando tarefa…","agentShellLayout.agentShellLayout.goToOrgHome":"Ir para a página inicial da organização","agentShellLayout.agentShellLayout.somethingWentWrong":"Algo deu errado. Tente atualizar.","agentShellLayout.agentShellLayout.taskUnavailable":"Tarefa indisponível","agentShellLayout.libraryToggle.library":"Biblioteca","agentShellLayout.tasksToggle.tasks":"Tarefas","agentShellLayout.toggleButtons.chat":"Chat","agentShellLayout.toolbar.backToHome":"Voltar para home","agentShellLayout.toolbar.logo":"Logo"},bce={"admin.layout.adminDashboard":"Painel de Administração","admin.layout.adminDashboardArea":"o painel de administração","admin.layout.emailVerificationRequired":"Verifique seu endereço de e-mail para acessar o painel de administração.","admin.layout.goHome":"Voltar para início","admin.layout.organizationsTab":"Organizações","admin.layout.restrictedToDashboard":"Este painel é restrito a administradores de implantação.","admin.layout.usersTab":"Usuários","admin.orgs.addMember":"Adicionar membro","admin.orgs.addMemberTo":"Adicionar membro para {org}","admin.orgs.adding":"Adicionando...","admin.orgs.cancel":"Cancelar","admin.orgs.created":"Criado","admin.orgs.email":"E-mail","admin.orgs.emailPlaceholder":"usuario@example.com","admin.orgs.failedAddMember":"Falha ao adicionar membro","admin.orgs.failedLoadOrgs":"Falha ao carregar organizações","admin.orgs.failedLoadOrgsDescription":"Algo deu errado. Atualize para tentar novamente.","admin.orgs.memberAdded":"{email} adicionado(a) a {org}","admin.orgs.members":"Membros","admin.orgs.noOrgsFound":"Nenhuma organização encontrada","admin.orgs.noOrgsMatchSearch":'Nenhuma organização corresponde a "{search}"',"admin.orgs.noOrgsYet":"Nenhuma organização existe ainda.","admin.orgs.organization":"Organização","admin.orgs.searchPlaceholder":"Procure organizações por nome ou slug...","admin.users.columnCreated":"Criado","admin.users.columnEmail":"E-mail","admin.users.columnUser":"Usuário","admin.users.failedToImpersonate":"Falha ao assumir identidade do usuário","admin.users.failedToLoadDescription":"Algo deu errado. Atualize a página para tentar novamente.","admin.users.failedToLoadTitle":"Falha ao carregar usuários","admin.users.impersonate":"Assumir identidade","admin.users.noUsersFoundTitle":"Nenhum usuário encontrado","admin.users.noUsersMatchSearch":'Nenhum usuário corresponde a "{search}"',"admin.users.noUsersYet":"Nenhum usuário ainda.","admin.users.searchPlaceholder":"Pesquise usuários por e-mail ou nome...","admin.users.unknown":"Desconhecido","admin.users.unverified":"Não verificado","admin.users.verified":"Verificado"},yce={"sandbox.appEditor.createdSection":'Seção "{name}" criada',"sandbox.appEditor.editingBreadcrumb":"Trilha de navegação de edição","sandbox.appEditor.failedAddSection":"Não foi possível adicionar a seção","sandbox.appEditor.loadingSchema":"Carregando schema do app…","sandbox.appEditor.noEditableSchema":"Nenhum schema editável foi encontrado para este app.","sandbox.availableSectionEditor.editingBreadcrumb":"Navegação de edição","sandbox.availableSectionEditor.localEditsHint":"{typeLabel} — edições permanecem locais até que você salve isto como uma seção global.","sandbox.availableSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.availableSectionEditor.saveAsGlobalSection":"Salvar como seção global","sandbox.blockPicker.blocksLabel":"Blocos","sandbox.blockPicker.customBlocksLabel":"Blocos personalizados","sandbox.blockPicker.insertBlockButton":"Inserir bloco","sandbox.blockPicker.noBlocksFound":"Nenhum bloco encontrado.","sandbox.blockPicker.searchPlaceholder":"Pesquisar blocos…","sandbox.blockRegistry.unknownBlockType":'Tipo de bloco desconhecido{type ? ` (${type})` : ""}.',"sandbox.blockRegistry.writeSomethingPlaceholder":"Escreva algo…","sandbox.blockRow.deleteBlock":"Deletar bloco","sandbox.blockRow.dragToReorder":"Arraste para reordenar","sandbox.blockRow.duplicateBlock":"Duplicar bloco","sandbox.bulkCategoryPanel.applyButton":"Aplicar","sandbox.bulkCategoryPanel.cancelButton":"Cancelar","sandbox.bulkCategoryPanel.categoryLabel":"Categoria","sandbox.bulkCategoryPanel.descriptionEmpty":"Selecione posts da lista para escolher a quais posts essa atualização se aplica.","sandbox.bulkCategoryPanel.descriptionWithCount":"Escolha uma categoria para aplicar a {count} post(s).","sandbox.bulkCategoryPanel.exitSelection":"Sair da seleção","sandbox.bulkCategoryPanel.modeAddDescription":"Mantenha as categorias existentes e adicione esta.","sandbox.bulkCategoryPanel.modeAddTitle":"Adicionar categoria","sandbox.bulkCategoryPanel.modeReplaceDescription":"Remova todas as categorias atuais e defina apenas esta.","sandbox.bulkCategoryPanel.modeReplaceTitle":"Substituir categoria","sandbox.bulkCategoryPanel.noCategoriesMessage":"Nenhuma categoria ainda — crie uma na coleção de Categorias.","sandbox.bulkCategoryPanel.noPostsSelectedMessage":"Nenhum post selecionado ainda — escolha-os da lista à esquerda.","sandbox.bulkCategoryPanel.selectCategoryPlaceholder":"Selecione uma categoria","sandbox.bulkCategoryPanel.selectedCount":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.selectedPostsLabel":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.title":"Atualizar categoria","sandbox.bulkCategoryPanel.updatingButton":"Atualizando…","sandbox.categoryEditor.addPostsButton":"Adicionar posts","sandbox.categoryEditor.cancelButton":"Cancelar","sandbox.categoryEditor.categoryNamePlaceholder":"Nome da categoria","sandbox.categoryEditor.contentTitle":"Conteúdo","sandbox.categoryEditor.descriptionLabel":"Descrição","sandbox.categoryEditor.descriptionPlaceholder":"Descrição breve desta categoria","sandbox.categoryEditor.noContentEmpty":"Esta categoria ainda não possui conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.categoryEditor.pickPostsTooltip":"Selecione posts para adicionar nesta categoria","sandbox.categoryEditor.postsInCategory":"{count} post(ns) nesta categoria","sandbox.categoryEditor.previewTooltip":"Abra a visualização da categoria em uma nova aba","sandbox.categoryEditor.renameActionButton":"Renomear e atualizar posts","sandbox.categoryEditor.renameDialogDescription":'Alterar o slug de "{oldSlug}" para "{newSlug}" atualizará {count} post(ns) que fazem referência a esta categoria.',"sandbox.categoryEditor.renameDialogTitle":"Renomear slug da categoria?","sandbox.categoryEditor.renameFailed":"Falha ao renomear","sandbox.categoryEditor.renameSuccessNoPosts":"Slug renomeado","sandbox.categoryEditor.renameSuccessWithPosts":"Slug renomeado e {count} post(ns) atualizado(s)","sandbox.categoryEditor.renamingLabel":"Renomeando…","sandbox.categoryEditor.seeCategoryPreview":"Ver visualização da categoria","sandbox.categoryEditor.setSlugTooltip":"Defina um slug para adicionar posts nesta categoria","sandbox.categoryEditor.slugLabel":"Slug","sandbox.categoryEditor.slugPlaceholder":"minha-categoria","sandbox.categoryEditor.untitledCategory":"Categoria sem título","sandbox.categoryEditor.untitledPost":"Post sem título","sandbox.collectionsSidebar.actions":"Ações","sandbox.collectionsSidebar.apps":"Apps","sandbox.collectionsSidebar.authors":"Autores","sandbox.collectionsSidebar.blog":"Blog","sandbox.collectionsSidebar.calendar":"Calendário","sandbox.collectionsSidebar.categories":"Categorias","sandbox.collectionsSidebar.content":"Conteúdo","sandbox.collectionsSidebar.loaders":"Carregadores","sandbox.collectionsSidebar.pages":"Páginas","sandbox.collectionsSidebar.posts":"Posts","sandbox.collectionsSidebar.redirects":"Redirecionamentos","sandbox.collectionsSidebar.sections":"Seções","sandbox.collectionsSidebar.seo":"SEO","sandbox.collectionsSidebar.site":"Site","sandbox.drawer.failedToRestart":"Falha ao reiniciar {name}","sandbox.drawer.failedToRun":"Falha ao executar {name}","sandbox.drawer.failedToStop":"Falha ao parar {name}","sandbox.drawer.run":"Executar","sandbox.drawer.scriptNotRunning":'Script "{name}" não está em execução',"sandbox.envVarsField.addEnvVar":"Adicionar variável de ambiente","sandbox.envVarsField.added":"Adicionada(s) {added} variável(eis)","sandbox.envVarsField.addedWithSkipped":"Adicionada(s) {added} variável(eis) ({skipped} já existia(m))","sandbox.envVarsField.allKeysExist":"Todas as {count} chave(s) já existem","sandbox.envVarsField.cancel":"Cancelar","sandbox.envVarsField.clipboardEmpty":"A área de transferência está vazia","sandbox.envVarsField.clipboardReadFailed":"Não foi possível ler a área de transferência","sandbox.envVarsField.createNewSecret":"Criar novo segredo","sandbox.envVarsField.createNewSecretAriaLabel":"Criar novo segredo","sandbox.envVarsField.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A variável de ambiente referenciará o novo segredo por id.","sandbox.envVarsField.createNewSecretTitle":"Criar novo segredo","sandbox.envVarsField.description":"Injetadas na sandbox a cada início. Referencie um segredo de org/usuário para manter os valores fora dos metadados; valores literais são armazenados inline.","sandbox.envVarsField.descriptionLabel":"Descrição (opcional)","sandbox.envVarsField.descriptionPlaceholder":"Para que este segredo é usado?","sandbox.envVarsField.envVarKeyLabel":"Chave da variável de ambiente {index}","sandbox.envVarsField.envVarValueLabel":"Valor da variável de ambiente {index}","sandbox.envVarsField.failedToLoadSecrets":"Falha ao carregar segredos","sandbox.envVarsField.failedToSaveSecret":"Falha ao salvar","sandbox.envVarsField.invalidKeyMessage":"Letras, dígitos, sublinhados. Deve começar com uma letra ou sublinhado.","sandbox.envVarsField.keyPlaceholder":"CHAVE","sandbox.envVarsField.literal":"Literal","sandbox.envVarsField.missingSecret":"Segredo ausente ({id})","sandbox.envVarsField.nameHelperText":"Letras, dígitos, sublinhado, ponto, hífen. Independente da chave da variável de ambiente.","sandbox.envVarsField.nameLabel":"Nome","sandbox.envVarsField.namePlaceholder":"STRIPE_API_KEY","sandbox.envVarsField.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"sandbox.envVarsField.nothingToAdd":"Nada para adicionar","sandbox.envVarsField.pasteDotenv":"Colar .env","sandbox.envVarsField.pasteDotenvAriaLabel":"Colar .env","sandbox.envVarsField.pasteDotenvTooltip":"Leia um blob .env da área de transferência. Cada par é preparado como um literal — salve as linhas individuais como segredos depois.","sandbox.envVarsField.pickSecretPlaceholder":"Escolha um segredo…","sandbox.envVarsField.remove":"Remover","sandbox.envVarsField.removeEnvVarAriaLabel":"Remover variável de ambiente","sandbox.envVarsField.restartDev":"Reiniciar dev","sandbox.envVarsField.restartFailed":"Falha ao reiniciar {failed} de {total} ramificação(ões)","sandbox.envVarsField.restartedMultiple":"Reiniciadas {count} ramificações com novo ambiente","sandbox.envVarsField.restartedSingle":"Dev reiniciado com novo ambiente","sandbox.envVarsField.restarting":"Reiniciando…","sandbox.envVarsField.sandboxRunningNotice":"Sua sandbox está em execução. Reinicie o script de desenvolvimento para aplicar o novo ambiente.","sandbox.envVarsField.saveAsSecret":"Salvar valor como segredo","sandbox.envVarsField.saveAsSecretAriaLabel":"Salvar valor como segredo","sandbox.envVarsField.saveSecret":"Salvar segredo","sandbox.envVarsField.saveValueAsSecretDescription":"Mova este valor para o cofre criptografado. A variável de ambiente referenciará o segredo por id — seu valor nunca sai do servidor.","sandbox.envVarsField.saveValueAsSecretTitle":"Salvar valor como segredo","sandbox.envVarsField.saving":"Salvando…","sandbox.envVarsField.scopeLabel":"Escopo","sandbox.envVarsField.scopeOrganization":"Organização — visível para todos os membros","sandbox.envVarsField.scopePrivate":"Privado — visível apenas para mim","sandbox.envVarsField.secret":"Segredo","sandbox.envVarsField.secretSaved":'Segredo "{name}" salvo',"sandbox.envVarsField.secretValuePlaceholder":"valor do segredo","sandbox.envVarsField.title":"Variáveis de ambiente","sandbox.envVarsField.valueLabel":"Valor","sandbox.envVarsField.valuePlaceholder":"valor","sandbox.fileExplorer.askTheAiPlaceholder":"Pergunte à IA...","sandbox.fileExplorer.deleteFailed":"Falha ao deletar","sandbox.fileExplorer.failedToCopyText":"Falha ao copiar {label}","sandbox.fileExplorer.failedToLoadFolder":"Falha ao carregar pasta","sandbox.fileExplorer.failedToOpenFile":"Falha ao abrir arquivo","sandbox.fileExplorer.failedToRefreshFileTree":"Falha ao atualizar árvore de arquivos","sandbox.fileExplorer.fileAlreadyExists":'"{name}" já existe',"sandbox.fileExplorer.fileCreated":'Criado "{name}"',"sandbox.fileExplorer.fileDeleted":'Deletado "{name}"',"sandbox.fileExplorer.fileListTruncated":"Lista de arquivos truncada — alguns arquivos podem estar ocultos","sandbox.fileExplorer.files":"Arquivos","sandbox.fileExplorer.folderCreated":'Pasta criada "{name}"',"sandbox.fileExplorer.folderListingTruncated":"Lista de pastas truncada — expanda novamente para carregar mais","sandbox.fileExplorer.inFiles":"Nos arquivos","sandbox.fileExplorer.modified":"Modificado","sandbox.fileExplorer.newFile":"Novo arquivo","sandbox.fileExplorer.newFileLabel":"Novo arquivo","sandbox.fileExplorer.newFolder":"Nova pasta","sandbox.fileExplorer.newFolderLabel":"Nova pasta","sandbox.fileExplorer.noFileNamesMatch":"Nenhum nome de arquivo corresponde","sandbox.fileExplorer.noFilesFound":"Nenhum arquivo encontrado","sandbox.fileExplorer.noMatchesInFileContents":"Nenhuma correspondência no conteúdo dos arquivos","sandbox.fileExplorer.operationFailed":"Operação falhou","sandbox.fileExplorer.renamedTo":'Renomeado para "{name}"',"sandbox.fileExplorer.saved":"Salvo","sandbox.fileExplorer.searchFilesLabel":"Pesquisar arquivos","sandbox.fileExplorer.searchFilesPlaceholder":"Pesquisar arquivos...","sandbox.fileExplorer.selectFileToEdit":"Selecione um arquivo para editar","sandbox.fileExplorer.send":"Enviar","sandbox.fileExplorer.textCopied":"{label} copiado","sandbox.fileExplorerDeleteDialog.cancel":"Cancelar","sandbox.fileExplorerDeleteDialog.delete":"Excluir","sandbox.fileExplorerDeleteDialog.description":"Isso excluirá permanentemente","sandbox.fileExplorerDeleteDialog.folderSuffix":" e tudo dentro dela.","sandbox.fileExplorerDeleteDialog.titleFile":"Excluir arquivo?","sandbox.fileExplorerDeleteDialog.titleFolder":"Excluir pasta?","sandbox.fileExplorerDeleteDialog.unsavedChangesMany":"{count} arquivos abertos têm alterações não salvas que serão perdidas.","sandbox.fileExplorerDeleteDialog.unsavedChangesOne":"Um arquivo aberto tem alterações não salvas que serão perdidas.","sandbox.fileExplorerNameDialog.cancel":"Cancelar","sandbox.fileExplorerNameDialog.location":"Local","sandbox.fileExplorerNameDialog.name":"Nome","sandbox.fileExplorerNameDialog.newFileDescription":"Digite um nome para o novo arquivo.","sandbox.fileExplorerNameDialog.newFilePlaceholder":"nomedoarquivo.ts","sandbox.fileExplorerNameDialog.newFileSubmit":"Criar","sandbox.fileExplorerNameDialog.newFileTitle":"Novo Arquivo","sandbox.fileExplorerNameDialog.newFolderDescription":"Digite um nome para a nova pasta.","sandbox.fileExplorerNameDialog.newFolderPlaceholder":"nome-da-pasta","sandbox.fileExplorerNameDialog.newFolderSubmit":"Criar","sandbox.fileExplorerNameDialog.newFolderTitle":"Nova Pasta","sandbox.fileExplorerNameDialog.renameDescription":"Digite um novo nome para este item.","sandbox.fileExplorerNameDialog.renamePlaceholder":"novo-nome","sandbox.fileExplorerNameDialog.renameSubmit":"Renomear","sandbox.fileExplorerNameDialog.renameTitle":"Renomear","sandbox.fileExplorerNameDialog.saving":"Salvando…","sandbox.fileTreeRow.copyPath":"Copiar caminho","sandbox.fileTreeRow.copyRelativePath":"Copiar caminho relativo","sandbox.fileTreeRow.delete":"Deletar","sandbox.fileTreeRow.newFile":"Novo arquivo","sandbox.fileTreeRow.newFolder":"Nova pasta","sandbox.fileTreeRow.rename":"Renomear","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.image":"Imagem","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.untitledPost":"Post sem título","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deleteSelected":"Deletar selecionados","sandbox.postToolbar.deleteSelectedPosts":"Deletar posts selecionados","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"{count} selecionados","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.cms":"CMS","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.editContent":"Editar conteúdo","sandbox.preview.exitEditor":"Sair do editor","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.hideTerminal":"Ocultar terminal","sandbox.preview.showTerminal":"Mostrar terminal","sandbox.preview.copyCurrentUrl":"Copiar URL atual","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.editSeo":"Editar SEO","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCopyUrl":"Falha ao copiar URL","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.invalidPageBlockKey":"Chave de bloco de página inválida","sandbox.preview.moreOptions":"Mais opções","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInCursor":"Abrir no Cursor","sandbox.preview.openInBrowser":"Abrir no navegador","sandbox.preview.failedToOpenInBrowser":"Não foi possível abrir seu navegador","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.openInVscode":"Abrir no VSCode","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.refresh":"Atualizar","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.urlCopiedToClipboard":"URL copiada para a área de transferência","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.viewJson":"Visualizar JSON","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.productPickerDialog.typeToSearchPrompt":"Digite para buscar produtos.","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.productionUrlField.description":"Exibida no preview enquanto o servidor de desenvolvimento inicia, para você já visualizar e editar.","sandbox.productionUrlField.label":"URL de produção","sandbox.productionUrlField.placeholder":"https://exemplo.com","sandbox.repoRow.label":"Repositório","sandbox.repoRow.noRepositoryConnected":"Nenhum repositório conectado","sandbox.repoRow.tooltipContent":"O repositório GitHub conectado para este agente. Gerencie em Conexões.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.backToList":"Voltar para a lista","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.editingBreadcrumb":"Trilha de migalhas da edição","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste agente não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(ns) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar"},Sce={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},_ce={"settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.general":"Geral","settings.nav.brandContext":"Contexto da marca","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.buckets":"Buckets","settings.nav.build":"Criação","settings.nav.connections":"Conexões","settings.nav.agents":"Agentes","settings.nav.automations":"Automações","settings.nav.store":"Loja","settings.nav.manage":"Gerenciar","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.roles":"Cargos","settings.nav.security":"Segurança","settings.nav.account":"Conta","settings.nav.profile":"Perfil e preferências","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","settings.preferences.theme":"Tema","settings.preferences.themeDescription":"Seu esquema de cores preferido.","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.languageDescription":"O idioma da interface.","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"Receba notificações do navegador para eventos importantes.","settings.preferences.notificationsDenied":"Notificações negadas. Habilite-as nas configurações do seu navegador.","settings.preferences.sounds":"Sons","settings.preferences.soundsDescription":"Reproduza sons para ações de agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Controle como as ferramentas são aprovadas antes da execução.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar agentes","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.brandFormSections.autoExtractDescription":"Digite o URL do seu site e extrairemos automaticamente as cores, fontes, logos e visão geral da sua marca.","settings.brandFormSections.autoExtractTitle":"Auto-extrair contexto da marca","settings.brandFormSections.colorPlaceholder":"#000000","settings.brandFormSections.colorRoleAccent":"Destaque","settings.brandFormSections.colorRoleBackground":"Fundo","settings.brandFormSections.colorRoleForeground":"Primeiro Plano","settings.brandFormSections.colorRolePrimary":"Primária","settings.brandFormSections.colorRoleSecondary":"Secundária","settings.brandFormSections.colorsTitle":"Cores","settings.brandFormSections.companyNameLabel":"Nome da empresa","settings.brandFormSections.companyNamePlaceholder":"Acme Corp","settings.brandFormSections.companyOverviewTitle":"Visão Geral da Empresa","settings.brandFormSections.domainInputPlaceholder":"acme.com","settings.brandFormSections.domainLabel":"Domínio","settings.brandFormSections.domainPlaceholder":"acme.com","settings.brandFormSections.extract":"Extrair","settings.brandFormSections.extracting":"Extraindo...","settings.brandFormSections.faviconLabel":"Favicon","settings.brandFormSections.fontFamilyPlaceholder":"Família de fonte para {role}","settings.brandFormSections.fontRoleBody":"Corpo","settings.brandFormSections.fontRoleCode":"Código","settings.brandFormSections.fontRoleHeading":"Títulos","settings.brandFormSections.fontsTitle":"Fontes","settings.brandFormSections.logoLabel":"Logo","settings.brandFormSections.logosImagesTitle":"Logos e Imagens","settings.brandFormSections.noImageLabel":"Sem {label}","settings.brandFormSections.ogImageLabel":"Imagem SEO / OG","settings.brandFormSections.openLink":"abrir","settings.brandFormSections.overviewLabel":"Visão Geral","settings.brandFormSections.overviewPlaceholder":"Breve descrição do que a empresa faz...","settings.brandFormSections.urlPlaceholder":"https://...","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket configurado","settings.buckets.pageTitle":"Buckets","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectForms.apiKeyField":"Chave API","settings.connectForms.baseUrlField":"URL Base","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.cancel":"Cancelar","settings.connectForms.connectionSavedSuccess":"Conexão salva com sucesso","settings.connectForms.defaultKeyLabel":"Chave pessoal","settings.connectForms.failedSaveConnection":"Falha ao salvar conexão: {error}","settings.connectForms.failedSaveKey":"Falha ao salvar chave: {error}","settings.connectForms.hideApiKey":"Ocultar chave API","settings.connectForms.keySavedSuccess":"Chave salva com sucesso","settings.connectForms.labelField":"Rótulo","settings.connectForms.labelPlaceholder":"Ex: Chave pessoal","settings.connectForms.labelPlaceholderOpenAiCompatible":"Ex: Meu servidor compatível com OpenAI","settings.connectForms.labelPlaceholderPreset":"Ex: {name} prod, {name} dev","settings.connectForms.optional":"opcional","settings.connectForms.recommended":"recomendado","settings.connectForms.saveConnection":"Salvar Conexão","settings.connectForms.saveKey":"Salvar Chave","settings.connectForms.saving":"Salvando...","settings.connectForms.showApiKey":"Mostrar chave API","settings.connectProviderDialog.backButton":"Voltar","settings.connectProviderDialog.backButtonLabel":"Voltar","settings.connectProviderDialog.connectionTimedOutMessage":"Conexão expirou","settings.connectProviderDialog.defaultProviderName":"Provedor","settings.connectProviderDialog.defaultTitle":"Conectar um provedor de IA","settings.connectProviderDialog.gridDescription":"Escolha um provedor — o resto a gente resolve.","settings.connectProviderDialog.oauthFailedMessage":"Falha na conexão OAuth: {error}","settings.connectProviderDialog.oauthPendingMessage":"Autorize a conexão na janela de pop-up. Este chat será fechado quando a autorização for concluída.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.provisionPendingMessage":"Conectando…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.retryButton":"Tentar novamente","settings.connectProviderDialog.securityCheckFailedMessage":"Falha na verificação de segurança: Token de estado não corresponde","settings.connectProviderDialog.startOAuthFailedMessage":"Falha ao iniciar OAuth: {error}","settings.connectedProvidersSection.connectButton":"Conectar provedor","settings.connectedProvidersSection.emptyState":"Traga suas próprias chaves para usar modelos específicos junto com o gateway da Deco.","settings.connectedProvidersSection.sectionTitle":"Provedores conectados","settings.decoCreditsHero.accessModels":"Acesso a 100+ modelos","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.decoNudgeCard.connectDeco":"Conectar Deco","settings.decoNudgeCard.connecting":"Conectando…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ modelos, uma conexão — pague conforme usa, sem APIs para gerenciar.","settings.decoNudgeCard.recommended":"Recomendado","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de Risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Delete permanentemente esta organização e todos os seus dados. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Deletar Organização?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Deletar organização","settings.deleteOrganizationSection.deleteWarning":"Isto irá deletar permanentemente todos os dados associados com {organizationName}. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleting":"Deletando…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Falha ao deletar organização","settings.deleteOrganizationSection.irreversibleActionsDescription":"Ações irreversíveis que afetam toda a sua organização.","settings.deleteOrganizationSection.organizationDeleted":"Organização deletada","settings.deleteOrganizationSection.typeToConfirm":"Digite {organizationName} para confirmar:","settings.domainSettings.addDnsRecordInstruction":"Adicione o registro DNS abaixo e verifique.","settings.domainSettings.addDomain":"Adicionar domínio","settings.domainSettings.adding":"Adicionando…","settings.domainSettings.copied":"Copiado","settings.domainSettings.dnsInstructions":"Adicione este registro TXT no seu provedor de DNS e clique em Verificar:","settings.domainSettings.domainAdded":"Domínio adicionado","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domínio removido","settings.domainSettings.domainVerified":"Domínio verificado","settings.domainSettings.emailDomains":"Domínios de e-mail","settings.domainSettings.emailDomainsDescription":"Permita que pessoas com um domínio de e-mail correspondente descubram e se juntem a esta organização.","settings.domainSettings.failedAddDomain":"Falha ao adicionar domínio","settings.domainSettings.failedRemove":"Falha ao remover","settings.domainSettings.failedUpdate":"Falha ao atualizar","settings.domainSettings.failedVerify":"Falha ao verificar","settings.domainSettings.joinMode":"Modo de entrada","settings.domainSettings.joinModeAuto":"Entrada automática","settings.domainSettings.joinModeHelpAuto":"Qualquer pessoa com um e-mail @{domain} verificado entra automaticamente.","settings.domainSettings.joinModeHelpOff":"Não detectável — ninguém pode encontrar ou se juntar através deste domínio.","settings.domainSettings.joinModeHelpRequest":"Pessoas com um e-mail @{domain} verificado podem solicitar entrada; um administrador aprova.","settings.domainSettings.joinModeOff":"Desativado","settings.domainSettings.joinModeRequest":"Requer aprovação","settings.domainSettings.joinModeUpdated":"Modo de entrada atualizado","settings.domainSettings.pending":"Pendente","settings.domainSettings.remove":"Remover","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"Registro TXT não encontrado ainda — o DNS pode levar alguns minutos.","settings.domainSettings.value":"valor","settings.domainSettings.verified":"Verificado","settings.domainSettings.verify":"Verificar","settings.editProviderDialog.apiKey":"Chave de API","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Informe a chave de API novamente para confirmar a mudança da URL base","settings.editProviderDialog.baseUrl":"URL base","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancelar","settings.editProviderDialog.editTitle":"Editar {name}","settings.editProviderDialog.failedToUpdate":"Falha ao atualizar: {error}","settings.editProviderDialog.hideApiKey":"Ocultar chave de API","settings.editProviderDialog.label":"Rótulo","settings.editProviderDialog.labelPlaceholder":"p.ex. Chave pessoal","settings.editProviderDialog.labelRequired":"Rótulo é obrigatório","settings.editProviderDialog.leaveBlankHint":"deixe em branco para manter atual","settings.editProviderDialog.providerUpdated":"Provedor atualizado","settings.editProviderDialog.save":"Salvar","settings.editProviderDialog.saving":"Salvando...","settings.editProviderDialog.showApiKey":"Mostrar chave de API","settings.joinRequestsSection.approve":"Aprovar","settings.joinRequestsSection.deny":"Recusar","settings.joinRequestsSection.description":"Pessoas que solicitaram entrada por um domínio em modo de aprovação.","settings.joinRequestsSection.title":"Solicitações de entrada","settings.orgBrandContext.addBrand":"Adicionar Marca","settings.orgBrandContext.addYourFirstBrand":"Adicionar sua primeira marca","settings.orgBrandContext.brandContext":"Contexto de Marca","settings.orgBrandContext.brandContextDescription":"Defina seus perfis de marca. Cada marca está disponível como um prompt MCP para clientes de IA.","settings.orgBrandContext.brandContextUpdated":"Contexto de marca atualizado com sucesso","settings.orgBrandContext.brandCreated":"Marca criada","settings.orgBrandContext.brandDeleted":"Marca excluída","settings.orgBrandContext.brandExtractedSuccessfully":"Marca extraída com sucesso","settings.orgBrandContext.cancel":"Cancelar","settings.orgBrandContext.delete":"Excluir","settings.orgBrandContext.deleteBrand":"Excluir marca","settings.orgBrandContext.deleteBrandTitle":"Excluir marca?","settings.orgBrandContext.deleteConfirmMessage":"Isso excluirá permanentemente {name}. Esta ação não pode ser desfeita.","settings.orgBrandContext.deleteDefaultBrandWarning":"esta é a marca padrão da sua organização. Excluí-la deixará sua organização sem uma marca padrão até que você defina outra.","settings.orgBrandContext.deleting":"Excluindo...","settings.orgBrandContext.failedCreateBrand":"Falha ao criar marca","settings.orgBrandContext.failedDeleteBrand":"Falha ao excluir marca","settings.orgBrandContext.failedExtractBrand":"Falha ao extrair marca","settings.orgBrandContext.failedSaveBrandContext":"Falha ao salvar contexto de marca","settings.orgBrandContext.failedUpdateDefaultBrand":"Falha ao atualizar marca padrão","settings.orgBrandContext.headsUp":"Atenção","settings.orgBrandContext.noBrandsConfigured":"Nenhuma marca configurada ainda.","settings.orgBrandContext.removedAsDefaultBrand":"Removido como marca padrão","settings.orgBrandContext.setAsDefault":"Definir como padrão","settings.orgBrandContext.setAsDefaultBrand":"Definir como marca padrão","settings.orgBrandContext.thisBrand":"esta marca","settings.orgBrandContext.unsetAsDefault":"Remover como padrão","settings.orgBrandContext.untitledBrand":"Marca Sem Título","settings.orgGeneral.organization":"Organização","settings.mainAgent.title":"Agente principal","settings.mainAgent.description":"O agente em que esta organização abre. Todos os membros chegam aqui em vez do Super Agent.","settings.mainAgent.itemTitle":"Agente de entrada","settings.mainAgent.itemDescription":"Escolha o agente que abre ao entrar nesta organização.","settings.mainAgent.superAgentOption":"Super Agent (padrão)","settings.mainAgent.setToast":'"{title}" agora é o agente principal',"settings.mainAgent.resetToast":"Redefinido para o Super Agent","settings.mainAgent.errorToast":"Não foi possível atualizar o agente principal","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar Papel","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do Cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Senha do Cliente","settings.orgSso.clientSecretPlaceholder":"sua-senha-cliente","settings.orgSso.clientSecretRequiredError":"Senha do Cliente é obrigatória para a configuração inicial","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional — detectado automaticamente do issuer se omitido.","settings.orgSso.discoveryEndpointLabel":"Endpoint de Descoberta","settings.orgSso.discoveryEndpointPlaceholder":"Detectado automaticamente do issuer","settings.orgSso.domainLabel":"Domínio","settings.orgSso.editConfigButton":"Editar configuração","settings.orgSso.emailDomainDescription":"O domínio de e-mail que este provedor SSO cobre.","settings.orgSso.emailDomainLabel":"Domínio de E-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do Issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single Sign-On","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.orgStore.addRegistry":"Adicionar Registro","settings.orgStore.adding":"Adicionando...","settings.orgStore.authTokenLabel":"Token de Autenticação","settings.orgStore.authTokenPlaceholder":"Token Bearer...","settings.orgStore.cancel":"Cancelar","settings.orgStore.communityRegistryDescription":"Registro MCP da comunidade com milhares de MCPs úteis","settings.orgStore.communityRegistryNotAdded":"Registro MCP da comunidade — ainda não adicionado","settings.orgStore.communitySection":"Comunidade","settings.orgStore.connectionNotFound":"Conexão não encontrada — será criada automaticamente.","settings.orgStore.decoStoreDescription":"Registro MCP deco oficial com integrações selecionadas","settings.orgStore.decoStoreName":"Loja Deco","settings.orgStore.decoStoreSection":"Loja Deco","settings.orgStore.failedAddRegistry":"Falha ao adicionar registro: {error}","settings.orgStore.failedLoadStoreSettings":"Falha ao carregar configurações da loja:","settings.orgStore.mcpRegistry":"Registro MCP","settings.orgStore.nameLabel":"Nome","settings.orgStore.namePlaceholder":"p.ex. Registro Acme Corp","settings.orgStore.optional":"Opcional","settings.orgStore.pageTitle":"Loja","settings.orgStore.privateMcpRegistry":"Registro MCP privado","settings.orgStore.privateRegistriesSection":"Registros Privados","settings.orgStore.privateRegistry":"Registro Privado","settings.orgStore.privateRegistryAdded":"Registro privado adicionado","settings.orgStore.privateRegistryDescription":"Registro MCP privado da sua organização","settings.orgStore.registryUrlLabel":"URL do Registro","settings.orgStore.registryUrlPlaceholder":"https://registry.exemplo.com/mcp","settings.orgStore.remove":"Remover","settings.orgStore.removeRegistry":"Remover este registro?","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Tamanho recomendado é 256x256px","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.slugPlaceholder":"minha-organizacao","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · adicionada há {time}","settings.providerKeyRow.cancel":"Cancelar","settings.providerKeyRow.delete":"Excluir","settings.providerKeyRow.deleteApiKey":"Excluir chave de API","settings.providerKeyRow.deleteProviderKey":"Excluir chave do provedor","settings.providerKeyRow.editProviderKey":"Editar chave do provedor","settings.providerKeyRow.failedToDeleteKey":"Falha ao excluir chave: {error}","settings.providerKeyRow.keyDeleted":"Chave excluída","settings.roles.allConnections":"Todas as conexões","settings.roles.basicAccess":"Acesso básico","settings.roles.builtIn":"Integrada","settings.roles.cancel":"Cancelar","settings.roles.columnMembers":"Membros","settings.roles.columnPermissions":"Permissões","settings.roles.columnRole":"Função","settings.roles.columnType":"Tipo","settings.roles.connectionCount":"{count} conexão(ões)","settings.roles.createRole":"Criar Função","settings.roles.createRoleGetStarted":"Crie uma função para começar.","settings.roles.custom":"Personalizada","settings.roles.delete":"Excluir","settings.roles.deleteRoleConfirm":'Tem certeza que deseja excluir a função "{role}"? Esta ação não pode ser desfeita.',"settings.roles.deleteRoleTitle":"Excluir Função","settings.roles.deletedSuccessfully":"Função excluída com sucesso!","settings.roles.failedToLoad":"Falha ao carregar funções","settings.roles.fullAccess":"Acesso completo","settings.roles.fullOrgAccess":"Acesso completo da organização","settings.roles.noPermissions":"Sem permissões","settings.roles.noRoles":"Sem funções","settings.roles.noRolesFound":"Nenhuma função encontrada","settings.roles.noRolesMatchSearch":'Nenhuma função corresponde a "{search}"',"settings.roles.orgPermsCount":"{count} permissão(ões) da org","settings.roles.pageTitle":"Funções","settings.roles.roleAdmin":"Administrador","settings.roles.roleOwner":"Proprietário","settings.roles.roleUser":"Usuário","settings.roles.searchPlaceholder":"Pesquisar funções...","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCount":"{count} segredo{plural} armazenado","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.modelsPowerDescription":"Estes modelos alimentam chat, automações e ferramentas em toda a sua organização.","settings.simpleModeSection.notAvailableWithCurrentProvider":"Não disponível com o provedor atual","settings.simpleModeSection.pickModel":"Escolher modelo","settings.simpleModeSection.saved":"Salvo","settings.simpleModeSection.saving":"Salvando…","settings.simpleModeSection.tierDeepResearch":"Pesquisa aprofundada","settings.simpleModeSection.tierDeepResearchDesc":"Relatórios de pesquisa aprofundados e multi-fonte","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierFastDesc":"Respostas mais rápidas, ideal para tarefas rápidas","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierImageDesc":"Geração de imagens","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierSmartDesc":"Equilíbrio entre velocidade e capacidade","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierThinkingDesc":"Mais capaz, ideal para tarefas complexas","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.simpleModeSection.tierWebSearchDesc":"Respostas rápidas e atualizadas da web","settings.aiProviders.recommended":"Recomendado — 100+ modelos, pague conforme usa","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.aiProviders.moreProviders":"{count} provedor{plural} adicional"},wce={...Ule,...$le,...qle,...Vle,...Hle,...Gle,...Kle,...Wle,...Yle,...Zle,...Qle,...Jle,...Xle,...ece,...tce,...oce,...nce,...rce,...ace,...ice,...sce,...lce,...cce,...uce,...dce,...mce,...fce,...hce,...pce,...gce,...vce,...bce,...yce,..._ce,...Sce},Cce={en:zle,"pt-BR":wce};function Nm(){const e=eo.c(2),[t]=s4(),o=Cce[t.language];let n;return e[0]!==o?(n=(r,i)=>jle(o[r],i),e[0]=o,e[1]=n):n=e[1],n}const Fm=new iU({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:1,gcTime:300*1e3}}});Ise(Fm);Lse(Fm);Pse(Fm);Rse(Fm);function Ece(e){const t=eo.c(2),{children:o}=e,n=Nm();OH({itemCreatedSuccessfully:n("collections.mutations.itemCreatedSuccessfully"),itemUpdatedSuccessfully:n("collections.mutations.itemUpdatedSuccessfully"),itemDeletedSuccessfully:n("collections.mutations.itemDeletedSuccessfully"),createItemFailed:n("collections.mutations.createItemFailed"),updateItemFailed:n("collections.mutations.updateItemFailed"),deleteItemFailed:n("collections.mutations.deleteItemFailed")});let r;return t[0]!==o?(r=R.jsx(R.Fragment,{children:o}),t[0]=o,t[1]=r):r=t[1],r}function xce(e){const t=eo.c(4),{children:o}=e;let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=R.jsx(DH,{}),t[0]=n):n=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r=R.jsx(TE,{}),t[1]=r):r=t[1];let i;return t[2]!==o?(i=R.jsxs(sU,{client:Fm,children:[n,R.jsx(D.Suspense,{fallback:r,children:R.jsx(nle,{children:R.jsx(iK,{children:R.jsx(gae,{children:R.jsx(Wse,{children:R.jsx(Ece,{children:o})})})})})})]}),t[2]=o,t[3]=i):i=t[3],i}function l4(){const e=eo.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=R.jsx("div",{"data-testid":"shell-route-loading",className:"absolute inset-0 h-full w-full flex items-center justify-center",children:R.jsx(xE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function Tce(...e){return lL(vC(e))}const Pce=OL("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:ring-[2px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:hover:bg-input/50 card-shadow",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",success:"bg-success text-success-foreground hover:bg-success/90 focus-visible:ring-success/20 dark:focus-visible:ring-success/40",special:"bg-special text-special-foreground hover:bg-special/90 focus-visible:ring-special/20 dark:focus-visible:ring-special/40",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-foreground/80 hover:text-foreground"},size:{default:"h-8 px-3 has-[>svg]:px-2.5",sm:"h-7 gap-1.5 px-2.5 has-[>svg]:px-2",xs:"h-6 gap-1 px-1.5 text-xs has-[>svg]:px-1",lg:"h-10 px-3.5 has-[>svg]:px-3",xl:"h-12 px-4 has-[>svg]:px-3.5",icon:"size-8","icon-sm":"size-7"}},defaultVariants:{variant:"default",size:"default"}});function hm(e){const t=eo.c(14);let o,n,r,i,l;t[0]!==e?({className:o,variant:l,size:r,asChild:i,...n}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=r,t[4]=i,t[5]=l):(o=t[1],n=t[2],r=t[3],i=t[4],l=t[5]);const d=(i===void 0?!1:i)?RC:"button";let m;t[6]!==o||t[7]!==r||t[8]!==l?(m=Tce(Pce({variant:l,size:r,className:o})),t[6]=o,t[7]=r,t[8]=l,t[9]=m):m=t[9];let h;return t[10]!==d||t[11]!==n||t[12]!==m?(h=R.jsx(d,{"data-slot":"button",className:m,...n}),t[10]=d,t[11]=n,t[12]=m,t[13]=h):h=t[13],h}const Rce=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function Ace(e){const t=eo.c(3),{children:o}=e;let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=R.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Rce}}),t[0]=n):n=t[0];let r;return t[1]!==o?(r=R.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[n,R.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),t[1]=o,t[2]=r):r=t[2],r}function c4(e){const t=eo.c(20),{orgName:o}=e,n=Nm(),r=kce;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=R.jsx("div",{className:"bg-muted p-3 rounded-full",children:R.jsx(o4,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==n?(l=n("common.archivedOrgScreen.orgUnavailable"),t[1]=n,t[2]=l):l=t[2];let c;t[3]!==l?(c=R.jsx("h3",{className:"text-lg font-medium",children:l}),t[3]=l,t[4]=c):c=t[4];let d;t[5]!==o||t[6]!==n?(d=o?n("common.archivedOrgScreen.deletedWithName",{orgName:o}):n("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=n,t[7]=d):d=t[7];let m;t[8]!==d?(m=R.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=m):m=t[9];let h;t[10]!==c||t[11]!==m?(h=R.jsxs("div",{className:"space-y-2",children:[c,m]}),t[10]=c,t[11]=m,t[12]=h):h=t[12];let f;t[13]!==n?(f=n("common.archivedOrgScreen.goHome"),t[13]=n,t[14]=f):f=t[14];let g;t[15]!==f?(g=R.jsx(hm,{onClick:r,children:f}),t[15]=f,t[16]=g):g=t[16];let v;return t[17]!==h||t[18]!==g?(v=R.jsxs(Ace,{children:[i,h,g]}),t[17]=h,t[18]=g,t[19]=v):v=t[19],v}function kce(){window.location.href="/"}function Dce(){const e=eo.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:o}=zg(t);let n;return e[1]!==o?(n=R.jsx(hm,{variant:"outline",size:"sm",asChild:!0,children:R.jsx(gm,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=n):n=e[2],n}function Oce(e){const t=eo.c(13),{area:o,description:n,action:r}=e,i=o?`No access to ${o}`:"No access",l=n??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=R.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:R.jsx(n4,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=R.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let m;t[3]!==l?(m=R.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=m):m=t[4];let h;t[5]!==d||t[6]!==m?(h=R.jsxs("div",{className:"space-y-1",children:[d,m]}),t[5]=d,t[6]=m,t[7]=h):h=t[7];let f;t[8]!==r?(f=r??R.jsx(Dce,{}),t[8]=r,t[9]=f):f=t[9];let g;return t[10]!==h||t[11]!==f?(g=R.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,h,f]}),t[10]=h,t[11]=f,t[12]=g):g=t[12],g}const YO="__studio_chunk_reload_ts";function u4(e){return e?.message==="Organization is archived"}function Mce(e){return!!e?.message?.includes("Access denied")}function ZO(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Ice extends D.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o),t4(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t,t:o}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:u4(this.state.error)?R.jsx(c4,{}):Mce(this.state.error)?R.jsx(Oce,{}):R.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[R.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:R.jsx(EE,{className:"h-6 w-6 text-destructive"})}),R.jsxs("div",{className:"space-y-2",children:[R.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),R.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),R.jsx(hm,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function ume(e){const t=eo.c(3),o=Nm();let n;return t[0]!==e||t[1]!==o?(n=R.jsx(Ice,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}class Lce extends D.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o);const n=ZO(t);if(t4(t,{boundary:"chunk_root",is_chunk_load_error:n,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!n)return;const r=sessionStorage.getItem(YO),i=Date.now();(!r||i-Number(r)>1e4)&&(sessionStorage.setItem(YO,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&ZO(this.state.error)?R.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[R.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:R.jsx(r4,{className:"h-6 w-6 text-primary"})}),R.jsxs("div",{className:"space-y-2",children:[R.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),R.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),R.jsx(hm,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?u4(this.state.error)?R.jsx(c4,{}):R.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[R.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:R.jsx(EE,{className:"h-6 w-6 text-destructive"})}),R.jsxs("div",{className:"space-y-2",children:[R.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),R.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),R.jsx(hm,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Nce(e){const t=eo.c(3),o=Nm();let n;return t[0]!==e||t[1]!==o?(n=R.jsx(Lce,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}function d4(e){try{localStorage.setItem(uu.lastLocation(),JSON.stringify(e))}catch{}}function Fce(){try{const e=localStorage.getItem(uu.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org,taskId:typeof t.taskId=="string"?t.taskId:void 0,virtualmcpid:typeof t.virtualmcpid=="string"?t.virtualmcpid:void 0}}catch{}return null}function dme(){try{localStorage.removeItem(uu.lastLocation())}catch{}}const Hr=mj({component:()=>R.jsx(Nce,{children:R.jsx(D.Suspense,{fallback:R.jsx(TE,{}),children:R.jsx(EM,{})})})}),Bce=it({getParentRoute:()=>Hr,path:"/login",component:mt(()=>dt(()=>import("./login-C_jjURjk.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),validateSearch:pi(()=>Ae({next:Y().optional(),client_id:Y().optional(),redirect_uri:Y().optional(),response_type:Y().optional(),state:Y().optional(),scope:Y().optional(),code_challenge:Y().optional(),code_challenge_method:Y().optional(),src:Y().optional(),ref:Y().optional()}))}),zce=it({getParentRoute:()=>Hr,path:"/cli/auth-success",component:mt(()=>dt(()=>import("./cli-auth-success-BJv9WFxD.js"),__vite__mapDeps([7,6])))}),jce=it({getParentRoute:()=>Hr,path:"/reset-password",component:mt(()=>dt(()=>import("./reset-password-CwBtSk7M.js"),__vite__mapDeps([8,2]))),validateSearch:pi(()=>Ae({token:Y().optional(),error:Y().optional()}))}),Uce=it({getParentRoute:()=>Hr,path:"/auth/$pathname",component:mt(()=>dt(()=>import("./auth-catchall-CWGo7UBJ.js"),[]))}),$ce=it({getParentRoute:()=>Hr,path:"/oauth/callback",component:mt(()=>dt(()=>import("./oauth-callback-DvtVRzgD.js"),__vite__mapDeps([9,10,11])))}),qce=it({getParentRoute:()=>Hr,path:"/oauth/callback/ai-provider",component:mt(()=>dt(()=>import("./oauth-callback-ai-provider-DbXvFhcI.js"),[]))}),Cv=it({getParentRoute:()=>Hr,path:"/_admin",component:mt(()=>dt(()=>import("./layout--AGh5VKe.js"),__vite__mapDeps([12,13,14,15])))}),Vce=it({getParentRoute:()=>Cv,path:"/",beforeLoad:()=>{throw is({to:"/_admin/users"})}}),Hce=it({getParentRoute:()=>Cv,path:"/users",component:mt(()=>dt(()=>import("./users-DHCJC9Zu.js"),__vite__mapDeps([16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])))}),Gce=it({getParentRoute:()=>Cv,path:"/orgs",component:mt(()=>dt(()=>import("./orgs-m75GBcFO.js"),__vite__mapDeps([37,17,18,19,20,21,22,23,24,25,26,27,28,2,38,32,39,40,41,42,43,33,34,35])))}),Kce=Cv.addChildren([Vce,Hce,Gce]),PE=it({getParentRoute:()=>Hr,id:"shell",component:mt(()=>dt(()=>import("./shell-layout-BUCFxsPz.js").then(e=>e.s),__vite__mapDeps([44,29,30,45,46,47,48,49,50,51,39,21,14,52,53,11,54,5,4,55,56,57,58])))}),Wce=it({getParentRoute:()=>PE,path:"/",beforeLoad:async()=>{const e=Fce();if(e)throw is({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(uu.lastOrgSlug());if(t)throw is({to:"/$org",params:{org:t}});const{data:o}=await G2();if(!o)return;const n=o[0];throw is(n?{to:"/$org",params:{org:n.slug}}:{to:"/onboarding"})}}),Yce=it({getParentRoute:()=>Hr,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await G2();if(e&&e.length>0)throw is({to:"/"})},component:mt(()=>dt(()=>import("./onboarding-Bq71rgvk.js"),__vite__mapDeps([59,14,6,60,29,30,2,38,61,45,49,62,63])))}),Zce=it({getParentRoute:()=>Hr,path:"/commerce-onboarding",component:mt(()=>dt(()=>import("./commerce-onboarding-DMrmVsQQ.js"),__vite__mapDeps([64,65,53,11,66,67,68,69,70,25,71,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,19,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,21,51,39,22,94,95,96,97,98,38,2,32,99,100,10,1,3,4,5,6,60,29,101]))),validateSearch:pi(()=>Ae({org:Y().optional(),siteUrl:Y().optional()}))}),Qce=it({getParentRoute:()=>Hr,path:"/report/$domain",component:mt(()=>dt(()=>import("./reports-CfkBm7aH.js"),__vite__mapDeps([102,1,2,3,4,5,69,25,72,74,49,79,85,46,90,91,51,103]))),validateSearch:pi(()=>Ae({key:Y().optional()}))}),Ev=it({getParentRoute:()=>PE,path:"/$org",beforeLoad:({params:e})=>{d4({org:e.org})},component:mt(()=>dt(()=>import("./org-layout-fxNEOaXk.js"),[]))}),xv=it({getParentRoute:()=>Ev,id:"org-shell",component:mt(()=>dt(()=>import("./index-dIdebTuj.js"),__vite__mapDeps([104,18,19,20,21,22,65,53,11,66,67,68,69,70,25,71,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,51,39,94,95,96,97,98,38,2,32,99,100,10,52,56,57,105,106,107,108,109,110,54,5,4,55,111,112,113,114,115,116,117,118,119,120,121,44,29,14,58,122,123,124,125,3,126,127,40,128,129,130,31,131,15,132,133,134,135,136,137,138,139,140,34,35])))}),m4=it({getParentRoute:()=>xv,id:"agent-shell",pendingComponent:l4,component:mt(()=>dt(()=>import("./index-_X8Hu152.js").then(e=>e.bt),__vite__mapDeps([141,25,110,52,54,53,11,5,4,55,57,107,111,112,56,142,40,22,41,42,43,124,125,117,127,18,19,20,21,24,26,143,134,140,69,49,77,68,70,71,67,72,73,74,75,45,76,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,51,144,131,29,34,35,145,39,146,147,148,44,14,58,66,119,120,149,98,38,2,114,116,150,36,108,101,115,32,100,10,118,95,96,97,151,137,138,94,152,136,106,109,113,105,121,122,123,3,126,128,129,130,31,153,154,155,156,157,158,159,160,161,162,163,17,27,61,164,99,165,166,167])))}),Jce=Ae({virtualmcpid:Y().optional(),tab:Y().optional(),sidepanel:ro([We("chat"),We(0)]).optional(),main:ro([Y(),We(0)]).optional(),preview:Y().optional(),id:Y().optional(),toolName:Y().optional(),tasks:kt().optional(),mainOpen:kt().optional(),autosend:Y().optional(),runLocally:Y().optional(),connect:YI().optional(),siteUrl:Y().optional()}),Xce=it({getParentRoute:()=>m4,path:"/$taskId",validateSearch:Jce,beforeLoad:({params:e,search:t})=>{d4({org:e.org,taskId:e.taskId,virtualmcpid:t.virtualmcpid})},component:()=>null}),eue=Ae({main:Y().optional(),connect:YI().optional(),siteUrl:Y().optional()}),tue=it({getParentRoute:()=>xv,path:"/",validateSearch:eue,pendingComponent:l4,component:mt(()=>dt(()=>import("./index-DD4yxjnF.js"),__vite__mapDeps([168,53,11,107,54,5,4,55,56,57,120])))}),oue=Ae({task:Y().optional()}),nue=it({getParentRoute:()=>xv,path:"/board",validateSearch:oue,component:mt(()=>dt(()=>import("./index-CtpeLpoX.js").then(e=>e.n),__vite__mapDeps([150,36,29,30,68,69,70,25,71,67,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,19,84,85,86,87,88,89,46,28,90,91,92,63,93,48,21,51,108,101,53,11,115,39,116,32,117,100,10,118,95,96,119,107,54,5,4,55,120,97,143,134,57,112,34,35,151,148,145,137,138,114,44,14,52,56,58,94])))}),Lo=it({getParentRoute:()=>Ev,path:"/settings",component:mt(()=>dt(()=>import("./settings-layout-CWL8UH3n.js"),__vite__mapDeps([169,13,18,19,20,21,22,17,75,45,82,83,84,85,90,30,51,160,170,57,158,157,112,55,4,113,139])))}),rue=it({getParentRoute:()=>Ev,path:"/install",component:mt(()=>dt(()=>import("./org-install-DNHnYiu7.js"),[]))}),aue=it({getParentRoute:()=>Lo,path:"/",component:mt(()=>dt(()=>import("./index-redirect-DzA1VdGX.js"),__vite__mapDeps([171,160,172])))}),iue=it({getParentRoute:()=>Lo,path:"/connections",component:mt(()=>dt(()=>import("./connections-C6VaPq5Y.js"),__vite__mapDeps([173,95,96,53,11,174,101,41,76,77,25,81,22,175,31,27,28,130,122,123,117,56,57,124,125,3,4,5,126,127,66,67,68,69,70,71,72,73,74,75,45,49,42,43,47,78,79,50,80,62,82,83,19,84,85,86,87,88,89,46,90,91,92,63,30,93,48,21,51,26,17,18,20,176,109,160,177,39,114,98,38,2,40,128,107,129,100,10,154]))),validateSearch:pi(()=>Ae({action:bn(["create"]).optional(),tab:bn(["all","connected"]).optional()}))}),sue=it({getParentRoute:()=>Lo,path:"/connections/$appSlug",component:mt(()=>dt(()=>import("./connection-detail-DDmX4c7f.js"),__vite__mapDeps([178,95,96,53,11,26,129,2,89,92,179,17,18,19,20,21,22,118,68,69,70,25,71,67,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,84,85,86,87,88,46,28,90,91,63,30,93,48,51,117,123,56,57,40,147,162,31,10,138,108,107,180,119,54,5,4,55,120,143,134,29,149,66,98,38,176,109,181,152,126,116,127,101,182]))),validateSearch:pi(()=>Ae({tab:Y().optional()}))}),lue=it({getParentRoute:()=>Lo,path:"/connections/$appSlug/$collectionName/$itemId",component:mt(()=>dt(()=>import("./collection-detail-C6G20fcE.js"),__vite__mapDeps([183,26,53,11,98,38,2,128,179,17,18,19,20,21,22,118,68,69,70,25,71,67,72,73,74,75,45,49,41,42,76,43,77,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,28,90,91,92,63,30,93,48,51,117,95,96,123,56,57,40,147,162,31,10,138,108,107,180,119,54,5,4,55,120,184,126,146,110,52,111,112,66,44,29,39,14,58]))),validateSearch:pi(()=>Ae({replayId:Y().optional()}))}),cue=it({getParentRoute:()=>Lo,path:"/monitor",component:mt(()=>dt(()=>import("./index-Dp3D61B6.js"),__vite__mapDeps([185,27,28,17,18,19,20,21,22,26,186,160,187,172,142,40,41,42,43,124,125,117,53,11,107,127,24,143,134,140,69,49,77,68,70,25,71,67,72,73,74,75,45,76,47,78,79,50,80,62,81,82,83,84,85,86,87,88,89,46,90,91,92,63,30,93,48,51,144,57,131,29,34,35,145,39,52,54,5,4,55,110,111,112,56,146,147,148,44,14,58,66,119,120,149,98,38,2,126,31,108,188,154,137,138,128,130,61,184,181]))),validateSearch:pi(()=>Ae({tab:bn(["overview","audit","dashboards","threads","automations"]).default("overview"),from:Y().default("now-30m"),to:Y().default("now"),connectionId:Le(Y()).optional().default([]),virtualMcpId:Le(Y()).optional().default([]),tool:Y().default(""),status:bn(["all","success","errors"]).default("all"),search:Y().default(""),page:kt().optional(),streaming:Vt().default(!0),propertyFilters:Y().default(""),hideSystem:Vt().default(!1)}))}),uue=it({getParentRoute:()=>Lo,path:"/general",component:mt(()=>dt(()=>import("./general-7-W3ReTB.js"),__vite__mapDeps([189,17,18,19,20,21,22,184,72,84,48,134,163,29,30,2,156,127,73,40,41,42,43,105,68,69,70,25,71,67,74,75,45,49,76,77,47,78,79,50,80,62,81,82,83,85,86,87,88,89,46,28,90,91,92,63,93,51,53,11,107,121,56,57,190,31,109,186,160,187,172])))}),due=it({getParentRoute:()=>Lo,path:"/connect",component:mt(()=>dt(()=>import("./connect-DokClhA1.js"),__vite__mapDeps([191,184,127,152,145,41,78,83,84,92,17,18,19,20,21,22,156,73,53,11])))}),mue=it({getParentRoute:()=>Lo,path:"/brand-context",component:mt(()=>dt(()=>import("./brand-context-BwDrJEm5.js"),__vite__mapDeps([192,42,76,89,80,92,109,17,18,19,20,21,22,57,163,84,51,2,128,186,160,187,172])))}),fue=it({getParentRoute:()=>Lo,path:"/ai-providers",component:mt(()=>dt(()=>import("./ai-providers-CKNR4ej6.js"),__vite__mapDeps([193,69,17,18,19,20,21,22,105,156,127,73,111,57,49,56,53,11,153,39,114,110,52,54,5,4,55,107,112,154,41,2,40,42,43,71,70,83,28,155,86,76,29,30,79,78,91,163,136,109,89,161,35,92,186,160,187,172])))}),hue=it({getParentRoute:()=>Lo,path:"/secrets",component:mt(()=>dt(()=>import("./secrets-ChJjKPOt.js"),__vite__mapDeps([194,69,89,30,93,39,21,2,38,40,22,41,42,43,105,128,17,18,19,20,156,127,73,164,57,186,160,187,172])))}),pue=it({getParentRoute:()=>Lo,path:"/buckets",component:mt(()=>dt(()=>import("./buckets-zcb9jEMz.js"),__vite__mapDeps([195,69,82,89,92,109,39,21,2,38,40,22,41,42,43,61,105,128,17,18,19,20,156,127,73,165,57,186,160,187,172])))}),gue=it({getParentRoute:()=>Lo,path:"/members",component:mt(()=>dt(()=>import("./members-DeZ029Iq.js"),__vite__mapDeps([196,174,101,41,76,77,25,81,22,175,31,27,28,17,18,19,20,21,23,24,26,133,39,98,38,40,42,43,128,134,135,156,127,73,170,160,57,29,30,34,35,36,143,197,109,83,90,92,48,154,137,138,108,89,151,186,187,172])))}),vue=it({getParentRoute:()=>Lo,path:"/roles",component:mt(()=>dt(()=>import("./roles-ap1OrJxI.js"),__vite__mapDeps([198,135,134,197,31,109,101,41,76,77,89,92,23,24,25,17,18,19,20,21,22,26,27,28,155,66,67,68,69,70,71,72,73,74,75,45,49,42,43,47,78,79,50,80,62,81,82,83,84,85,86,87,88,46,90,91,63,30,93,48,51,125,154,131,53,11,116,182,143,36,117,111,57,29,61,156,127,160,187,172]))),validateSearch:pi(()=>Ae({role:Y().optional()}))}),bue=it({getParentRoute:()=>Lo,path:"/sso",component:mt(()=>dt(()=>import("./sso-BEn4hNCx.js"),__vite__mapDeps([199,190,57,156,127,73,31,2,40,22,41,42,43,17,18,19,20,21,109,61,58,92,186,160,187,172])))}),yue=it({getParentRoute:()=>Lo,path:"/profile",component:mt(()=>dt(()=>import("./profile-CLWJOyrN.js"),__vite__mapDeps([200,17,18,19,20,21,22,29,30,61,40,41,42,43,136,2,86,87,88,163,157,132,156,127,73])))}),Sue=it({getParentRoute:()=>Lo,path:"/store",component:mt(()=>dt(()=>import("./store-D1bCZhBr.js"),__vite__mapDeps([201,69,76,89,92,2,61,105,29,30,108,117,53,11,17,18,19,20,21,22,123,56,57,156,127,73,186,160,187,172])))}),_ue=it({getParentRoute:()=>Lo,path:"/registry",component:mt(()=>dt(()=>import("./registry-B0eVM6t4.js"),__vite__mapDeps([202,186,160,187,172])))}),wue=it({getParentRoute:()=>Lo,path:"/store/registry",component:mt(()=>dt(()=>import("./store-registry-Boslb8E0.js"),__vite__mapDeps([203,186,160,187,172])))}),Cue=it({getParentRoute:()=>Lo,path:"/agents",component:mt(()=>dt(()=>import("./agents-list-DT63BWyV.js"),__vite__mapDeps([204,101,41,76,77,45,115,39,21,116,28,32,117,53,11,100,10,71,84,68,69,70,25,67,72,73,74,75,49,42,43,47,78,79,50,80,62,81,82,83,19,85,86,87,88,89,46,90,91,92,63,30,93,48,51,118,95,96,119,107,54,5,4,55,120,97,17,18,20,22,161,35,56,57,160,127,26,180,159,109,27])))}),Eue=it({getParentRoute:()=>Lo,path:"/automations",component:mt(()=>dt(()=>import("./automations-BEg5iRbe.js"),__vite__mapDeps([205,89,51,27,28,17,18,19,20,21,22,26,144,53,11,57,119,107,54,5,4,55,120,166,109,101,41,76,77,47,92,68,69,70,25,71,67,72,73,74,75,45,49,42,43,78,79,50,80,62,81,82,83,84,85,86,87,88,46,90,91,63,30,93,48,186,160,187,172])))}),xue=Lo.addChildren([aue,iue,sue,lue,Cue,Eue,cue,uue,due,mue,fue,hue,pue,gue,vue,bue,yue,Sue,wue,_ue]),Tue=m4.addChildren([Xce]),Pue=xv.addChildren([tue,nue,Tue]),Rue=Ev.addChildren([Pue,xue,rue]),Aue=PE.addChildren([Wce,Rue]),kue=Hr.addChildren([Aue,Kce,Yce,Zce,Qce,Bce,zce,jce,Uce,$ce,qce]);function Due(){const e=eo.c(16),t=Nm();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let n;e[2]!==o?(n=R.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=n):n=e[3];let r;e[4]!==t?(r=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=r):r=e[5];let i;e[6]!==r?(i=R.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:r}),e[6]=r,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.index.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=R.jsx("button",{type:"button",onClick:Oue,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==n||e[13]!==i||e[14]!==c?(d=R.jsx("div",{className:"flex h-full items-center justify-center",children:R.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[n,i,c]})}),e[12]=n,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function Oue(){return window.history.back()}const Mue=Cj({routeTree:kue,defaultPendingComponent:TE,defaultPendingMs:200,defaultNotFoundComponent:Due}),Iue=[["mesh:","studio:"],["mesh-","studio-"]];function Lue(e){const t=Array.from({length:e.length},(o,n)=>e.key(n)).filter(o=>o!==null);for(const o of t){const n=Iue.find(([d])=>o.startsWith(d));if(!n)continue;const[r,i]=n,l=`${i}${o.slice(r.length)}`;if(e.getItem(l)!==null)continue;const c=e.getItem(o);c!==null&&e.setItem(l,c)}}let ui=null,QO=!1;const Dw=new Set;function Lg(){for(const e of Dw)e()}function Nue(){QO||typeof window>"u"||(QO=!0,window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),ui=e,Lg()}),window.addEventListener("appinstalled",()=>{ui=null,Lg()}))}function mme(){ui!==null&&(ui=null,Lg())}function Fue(e){return Dw.add(e),()=>{Dw.delete(e)}}function Bue(){return ui}function zue(){return null}function jue(){if(typeof window>"u")return!1;const e=typeof window.matchMedia=="function"&&["(display-mode: standalone)","(display-mode: window-controls-overlay)"].some(o=>window.matchMedia(o).matches),t=navigator.standalone===!0;return e||t}function Uue(){if(typeof navigator>"u")return!1;const e=navigator.userAgent;return/iPad|iPhone|iPod/.test(e)?!0:e.includes("Macintosh")&&typeof document<"u"&&"ontouchend"in document}function fme(){const e=eo.c(5),t=D.useSyncExternalStore(Fue,Bue,zue);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=jue(),e[0]=o):o=e[0];const n=o,r=t!==null&&!n;let i,l;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=Uue(),l=$ue,e[1]=i,e[2]=l):(i=e[1],l=e[2]);let c;return e[3]!==r?(c={canPrompt:r,installed:n,ios:i,promptInstall:l},e[3]=r,e[4]=c):c=e[4],c}async function $ue(){if(!ui)return"unavailable";await ui.prompt();const e=await ui.userChoice;return ui=null,Lg(),e.outcome}Lue(window.localStorage);Nue();const que=document.getElementById("root");L6.createRoot(que).render(R.jsx(D.StrictMode,{children:R.jsx(xce,{children:R.jsx(Tj,{router:Mue})})}));export{gde as $,Xde as A,hm as B,Gue as C,Ide as D,ume as E,rH as F,uu as G,MJ as H,Zse as I,ys as J,ws as K,gm as L,Are as M,Hue as N,EM as O,Nse as P,Que as Q,o4 as R,TE as S,wl as T,l4 as U,Qse as V,fU as W,Ae as X,Y,Aa as Z,Ra as _,ov as a,fme as a$,TM as a0,Zo as a1,Le as a2,bn as a3,uo as a4,Vt as a5,kZ as a6,lme as a7,AZ as a8,cme as a9,Sl as aA,Tm as aB,Xo as aC,dN as aD,ct as aE,ds as aF,dt as aG,kt as aH,M2 as aI,vt as aJ,au as aK,Up as aL,IM as aM,lU as aN,cU as aO,hU as aP,uU as aQ,dU as aR,Wo as aS,gU as aT,h1 as aU,mU as aV,jn as aW,Sr as aX,ol as aY,Mde as aZ,mme as a_,eD as aa,Ow as ab,MX as ac,ia as ad,rm as ae,jg as af,jC as ag,Qc as ah,vs as ai,bi as aj,sa as ak,hN as al,LX as am,BX as an,NX as ao,CX as ap,rK as aq,D2 as ar,Kue as as,Ade as at,RZ as au,Fde as av,r4 as aw,ee as ax,wo as ay,uN as az,Nm as b,Xue as b$,So as b0,kde as b1,ome as b2,O2 as b3,bde as b4,Sde as b5,RC as b6,zV as b7,qI as b8,FV as b9,Zte as bA,cee as bB,uee as bC,FN as bD,vi as bE,Vue as bF,ra as bG,hde as bH,aa as bI,Pte as bJ,Qz as bK,_M as bL,Pce as bM,Qg as bN,em as bO,bs as bP,Ace as bQ,Fce as bR,dme as bS,a4 as bT,sme as bU,ime as bV,nme as bW,H2 as bX,c4 as bY,rme as bZ,pde as b_,ro as ba,We as bb,Jw as bc,jI as bd,tde as be,$V as bf,u7 as bg,eC as bh,Xw as bi,GV as bj,ode as bk,ude as bl,_de as bm,u9 as bn,bV as bo,pl as bp,gt as bq,VG as br,lL as bs,vC as bt,OL as bu,dre as bv,BF as bw,jF as bx,Ete as by,EN as bz,eo as c,kC as c$,o9 as c0,n9 as c1,dC as c2,S2 as c3,y2 as c4,Zg as c5,n2 as c6,v9 as c7,a2 as c8,m9 as c9,wn as cA,a_ as cB,Tde as cC,Rde as cD,Pde as cE,wde as cF,Ite as cG,Lte as cH,Mte as cI,IJ as cJ,AJ as cK,LJ as cL,DJ as cM,NJ as cN,OJ as cO,LN as cP,ZX as cQ,DC as cR,TN as cS,AC as cT,QX as cU,Bde as cV,JX as cW,kJ as cX,KL as cY,BL as cZ,OC as c_,x9 as ca,L7 as cb,F7 as cc,j7 as cd,Q7 as ce,f9 as cf,N7 as cg,B7 as ch,U7 as ci,$7 as cj,J7 as ck,i9 as cl,Ode as cm,Dde as cn,Qde as co,HI as cp,YG as cq,Cde as cr,eK as cs,Ede as ct,h7 as cu,XS as cv,t_ as cw,e_ as cx,xde as cy,m_ as cz,pm as d,Vee as d$,nm as d0,LU as d1,o2 as d2,i2 as d3,c2 as d4,d2 as d5,m2 as d6,h2 as d7,lde as d8,cde as d9,vte as dA,bte as dB,_te as dC,yte as dD,Ste as dE,Kde as dF,Wde as dG,Yde as dH,Ude as dI,$de as dJ,Gde as dK,qde as dL,Vde as dM,Hde as dN,OZ as dO,DZ as dP,wL as dQ,yde as dR,vde as dS,jde as dT,zde as dU,Yue as dV,Wue as dW,jM as dX,Om as dY,xm as dZ,zee as d_,ide as da,sde as db,p7 as dc,ade as dd,s2 as de,u2 as df,f2 as dg,mde as dh,l2 as di,R7 as dj,rde as dk,t2 as dl,Q9 as dm,a9 as dn,fde as dp,q9 as dq,G9 as dr,P9 as ds,T9 as dt,dde as du,lV as dv,Jue as dw,nde as dx,pi as dy,ede as dz,Cp as e,Yee as e0,jee as e1,Uee as e2,Bee as e3,qN as e4,$ee as e5,qee as e6,Hee as e7,Gee as e8,Kee as e9,Wee as ea,Zee as eb,Jee as ec,Xee as ed,zg as f,eme as g,Jde as h,tme as i,R as j,xE as k,Oce as l,Tce as m,UM as n,Ug as o,Kse as p,ame as q,D as r,Lde as s,us as t,jw as u,s4 as v,Nde as w,gl as x,n4 as y,EE as z};