@sinytra/wiki-previewer 0.1.118 → 0.1.119

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 (105) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +76 -75
  3. package/.next/app-path-routes-manifest.json +3 -3
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +23 -23
  6. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -1
  7. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -1
  8. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
  13. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
  14. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
  16. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
  17. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
  19. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
  20. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
  22. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
  23. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/[locale]/page.js +2 -2
  25. package/.next/server/app/[locale]/page.js.nft.json +1 -1
  26. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/_not-found/page.js +1 -1
  28. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  29. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  30. package/.next/server/app/_not-found.html +2 -2
  31. package/.next/server/app/_not-found.rsc +3 -3
  32. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/robots.txt/route.js +1 -1
  34. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  35. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/sitemap.xml/route.js +1 -1
  37. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  38. package/.next/server/app-paths-manifest.json +3 -3
  39. package/.next/server/chunks/2313.js +2 -2
  40. package/.next/server/chunks/2337.js +1 -1
  41. package/.next/server/chunks/4159.js +1 -1
  42. package/.next/server/chunks/4530.js +1 -0
  43. package/.next/server/chunks/{3448.js → 4988.js} +1 -1
  44. package/.next/server/chunks/5611.js +1 -0
  45. package/.next/server/chunks/{4701.js → 7065.js} +3 -3
  46. package/.next/server/chunks/8616.js +1 -0
  47. package/.next/server/chunks/{4730.js → 9173.js} +12 -12
  48. package/.next/server/chunks/9425.js +10 -0
  49. package/.next/server/chunks/9686.js +159 -0
  50. package/.next/server/middleware-manifest.json +10 -10
  51. package/.next/server/pages/404.html +2 -2
  52. package/.next/server/pages/500.html +1 -1
  53. package/.next/server/server-reference-manifest.json +1 -1
  54. package/.next/server/src/middleware.js +2 -2
  55. package/.next/static/chunks/{103-d7c7a4640112e12b.js → 103-16bbfc93b461c964.js} +1 -1
  56. package/.next/static/chunks/2305-d9c0ebe361b73ca0.js +1 -0
  57. package/.next/static/chunks/4551-55b613d55dccf238.js +3 -0
  58. package/.next/static/chunks/595-8216ad2d62c67f74.js +1 -0
  59. package/.next/static/chunks/8413-8934ebbf72032aeb.js +1 -0
  60. package/.next/static/chunks/8616-f2548321574e7db4.js +1 -0
  61. package/.next/static/chunks/8777-5c798bf88b394495.js +2 -0
  62. package/.next/static/chunks/9585-3cde5ba088a8ed62.js +1 -0
  63. package/.next/static/chunks/app/[locale]/(main)/layout-ca292e50d803d7c9.js +1 -0
  64. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/{error-50b003170e06e080.js → error-abc8d80e856b51f7.js} +1 -1
  65. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{docs/not-found-54c902ef06951ef7.js → content/[id]/not-found-80873a4f07e4c1fa.js} +1 -1
  66. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/{page-40893f566745ce93.js → page-e1514b9458cdf8ba.js} +1 -1
  67. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{error-baa64fa4c4223c5a.js → error-749a31cba53c0392.js} +1 -1
  68. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{[id]/not-found-54c902ef06951ef7.js → not-found-80873a4f07e4c1fa.js} +1 -1
  69. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-e67fce9a42cdcb17.js +1 -0
  70. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/{error-25d990e8b9070b85.js → error-3bedf7ae95a288ad.js} +1 -1
  71. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{content/not-found-54c902ef06951ef7.js → docs/[...path]/not-found-80873a4f07e4c1fa.js} +1 -1
  72. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-ce23f165e662fada.js +1 -0
  73. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/{error-b2e339478ef5fc3c.js → error-53aef187c3e0b916.js} +1 -1
  74. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/{[...path]/not-found-54c902ef06951ef7.js → not-found-80873a4f07e4c1fa.js} +1 -1
  75. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-1fec319e5fb8adda.js +1 -0
  76. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{layout-152c0425b4ab707b.js → layout-c12bb85e1f228d2c.js} +1 -1
  77. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-77a3009649d52713.js +1 -0
  78. package/.next/static/chunks/app/[locale]/layout-a0ae0615250dfb10.js +1 -0
  79. package/.next/static/chunks/app/[locale]/not-found-ef8f0d997a8d1958.js +1 -0
  80. package/.next/static/chunks/app/[locale]/page-d818d5faaaa65110.js +1 -0
  81. package/.next/static/chunks/app/{layout-9da0fb84dadf33c7.js → layout-3165efcf5806a69a.js} +2 -2
  82. package/.next/static/chunks/dd4c4bf0-96a26eda28cf66af.js +1 -0
  83. package/package.json +1 -1
  84. package/.next/server/chunks/1284.js +0 -1
  85. package/.next/server/chunks/4511.js +0 -10
  86. package/.next/server/chunks/8437.js +0 -1
  87. package/.next/server/chunks/9365.js +0 -159
  88. package/.next/server/chunks/9779.js +0 -1
  89. package/.next/static/chunks/1512-bcbe9de70505c4b4.js +0 -1
  90. package/.next/static/chunks/5628-54af8d37763d0fc2.js +0 -2
  91. package/.next/static/chunks/595-4a4c5479774527be.js +0 -1
  92. package/.next/static/chunks/6469-f21a97a4be4323fc.js +0 -1
  93. package/.next/static/chunks/739-777eeb0518955b20.js +0 -3
  94. package/.next/static/chunks/8616-1a23f1b3261e5c9a.js +0 -1
  95. package/.next/static/chunks/9585-6909aaa9ada480a7.js +0 -1
  96. package/.next/static/chunks/app/[locale]/(main)/layout-4ff9fce162573e20.js +0 -1
  97. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-d0b9e457c198e9cc.js +0 -1
  98. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-8ac2f29afa97de42.js +0 -1
  99. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-5d42f3628daf8bcb.js +0 -1
  100. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-a1cf6a44ed1b9fdb.js +0 -1
  101. package/.next/static/chunks/app/[locale]/layout-cce757c03aa00c26.js +0 -1
  102. package/.next/static/chunks/app/[locale]/not-found-866d4969981ea653.js +0 -1
  103. package/.next/static/chunks/app/[locale]/page-432ede7486f346c7.js +0 -1
  104. /package/.next/static/{N9jNaqATWIBLZ67he57OV → E3-bpyILB3XxG7SeC55HZ}/_buildManifest.js +0 -0
  105. /package/.next/static/{N9jNaqATWIBLZ67he57OV → E3-bpyILB3XxG7SeC55HZ}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[595],{3192:(e,a,t)=>{"use strict";t.d(a,{Ay:()=>o,F3:()=>r,nQ:()=>l});var n=t(47034);let r="en_us",l="en-US",s=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:n.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:n.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:n.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:n.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:n.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:n.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:n.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:n.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:n.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:n.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:n.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:n.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:n.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:n.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:n.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:n.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:n.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:n.TW,crowdin:"zh-TW"}];function i(e){return s.find(a=>a.prefix===e)}let o={getAvailableLocales:function(){return s},getLanguagePaths:function(){return s.map(e=>e.prefix)},getInternalCodes:function(){return s.map(e=>e.internal)},getPathPrefixes:function(){return s.reduce((e,a)=>({...e,[a.internal]:"/"+a.prefix}),{})},getForUrlParam:i,getForInternalCode:function(e){return s.find(a=>a.internal===e)},getCrowdinLanguageId:function(e){let a=i(e);return(null==a?void 0:a.crowdin)||(null==a?void 0:a.prefix)},isRTL:function(e){var a;return(null==(a=i(e))?void 0:a.rtl)||!1},actualLocale:function(e){var a;if(!e||e===r)return null;let t=i(e);return null!=(a=null==t?void 0:t.file.toLowerCase())?a:null},resolveParam:function(e){return i(e).code},getUrlPrefixForCode:function(e){var a;return null==(a=s.find(a=>a.code===e))?void 0:a.prefix},getForCode:function(e){return s.find(a=>a.code===e)}}},28243:(e,a,t)=>{"use strict";t.d(a,{default:()=>U});var n=t(7893),r=t(65028),l=t.n(r),s=t(71330),i=t(28468),o=t(39851),c=t(68929),d=t(82601),u=t(37613),m=t(28081),f=t(95745),p=t(7208),x=t(40744),h=t(7233),y=t(46216),g=t(37709);y.bL,y.l9;let _=y.ZL;y.bm;let v=m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(y.hJ,{ref:a,className:(0,f.cn)("fixed inset-0 z-50 bg-black/80 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",t),...r})});v.displayName=y.hJ.displayName,m.forwardRef((e,a)=>{let{className:t,children:r,...l}=e;return(0,n.jsxs)(_,{children:[(0,n.jsx)(v,{}),(0,n.jsxs)(y.UC,{ref:a,className:(0,f.cn)("border-tertiary fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-primary p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:rounded-lg",t),...l,children:[r,(0,n.jsxs)(y.bm,{className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary data-[state=open]:text-secondary",children:[(0,n.jsx)(g.A,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}).displayName=y.UC.displayName,m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(y.hE,{ref:a,className:(0,f.cn)("text-lg leading-none font-semibold tracking-tight",t),...r})}).displayName=y.hE.displayName,m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(y.VY,{ref:a,className:(0,f.cn)("text-sm text-secondary",t),...r})}).displayName=y.VY.displayName;let N=m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(x.uB,{ref:a,className:(0,f.cn)("bg-primary-alt text-primary-alt flex h-full w-full flex-col overflow-hidden rounded-md",t),...r})});N.displayName=x.uB.displayName;let b=m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:"border-tertiary flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,n.jsx)(h.A,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,n.jsx)(x.uB.Input,{ref:a,className:(0,f.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-secondary disabled:cursor-not-allowed disabled:opacity-50",t),...r})]})});b.displayName=x.uB.Input.displayName;let j=m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(x.uB.List,{ref:a,className:(0,f.cn)("max-h-[300px] overflow-x-hidden overflow-y-auto",t),...r})});j.displayName=x.uB.List.displayName;let w=m.forwardRef((e,a)=>(0,n.jsx)(x.uB.Empty,{ref:a,className:"py-6 text-center text-sm",...e}));w.displayName=x.uB.Empty.displayName;let k=m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(x.uB.Group,{ref:a,className:(0,f.cn)("overflow-hidden p-1 text-primary [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-secondary",t),...r})});k.displayName=x.uB.Group.displayName,m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(x.uB.Separator,{ref:a,className:(0,f.cn)("-mx-1 h-px bg-border",t),...r})}).displayName=x.uB.Separator.displayName;let A=m.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(x.uB.Item,{ref:a,className:(0,f.cn)("data-[selected=true]:text-primary-alt relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected='true']:bg-secondary",t),...r})});A.displayName=x.uB.Item.displayName;var E=t(13870),L=t(48902);function R(e){let{flag:a,className:t}=e;return(0,n.jsx)(a,{width:24,className:(0,f.cn)("rounded-[3px]",t)})}var S=t(3192);let C=new RegExp("^/(?:".concat(S.Ay.getLanguagePaths().join("|"),")(?=/|$)"));function U(e){var a;let{locale:t,shownLocaleCodes:r,mobile:x,minimal:h}=e,y=(0,E.c)("LanguageSelect"),g=S.Ay.getAvailableLocales().filter(e=>null==r||e.code===S.F3||r.includes(e.code)),_=(0,u.rd)(),v=null!=(a=S.Ay.getForUrlParam(t))?a:S.Ay.getForUrlParam(L.Xn),U=[v,...g.filter(e=>e.code!=v.code)],[P,z]=(0,m.useState)(v.code),[B,F]=(0,m.useState)(!1);return(0,n.jsx)("div",{className:(0,f.cn)(h&&"w-full",!x&&!h&&l().socialLinks),children:(0,n.jsx)("div",{className:(0,f.cn)(h&&"w-full"),children:(0,n.jsxs)(p.AM,{open:B,onOpenChange:F,children:[(0,n.jsx)(p.Wv,{asChild:!0,children:h?(0,n.jsxs)("button",{className:"test-center flex h-8 w-full items-center justify-start rounded-sm border-none bg-transparent px-2 py-0 text-sm whitespace-nowrap ring-offset-background placeholder:text-secondary hover:bg-secondary focus:outline-hidden sm:h-7 sm:w-fit sm:max-w-32 sm:min-w-24 [&>svg:last-child]:hidden",children:[(0,n.jsx)(s.A,{className:"mr-2.5 size-3.5 shrink-0"}),(0,n.jsxs)("div",{className:"mx-auto inline-flex gap-2 sm:hidden",children:[(0,n.jsx)(R,{className:"rounded-xs!",flag:v.icon}),(0,n.jsx)("span",{className:"line-clamp-1 text-sm text-ellipsis",children:v.name})]}),(0,n.jsx)("span",{className:"line-clamp-1 hidden text-sm text-ellipsis sm:block",children:v.name})]}):(0,n.jsxs)(d.$,{variant:"outline",role:"combobox","aria-expanded":B,className:"justify-between border-none bg-transparent px-2 py-1",children:[(0,n.jsx)(i.A,{className:"h-5 w-5"}),x&&(0,n.jsxs)("div",{className:"mr-2 ml-3 inline-flex gap-2",children:[(0,n.jsx)(R,{className:"rounded-xs!",flag:v.icon}),v.name]}),(0,n.jsx)(o.A,{"data-state":B?"open":"closed",className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 data-[state=open]:rotate-180","aria-hidden":"true"})]})}),(0,n.jsx)(p.hl,{align:x?"start":"end",onOpenAutoFocus:e=>e.preventDefault(),className:(0,f.cn)("pointer-events-auto! p-0",!x&&"w-48 sm:w-48",h&&"w-[var(--radix-popover-trigger-width)]"),children:(0,n.jsxs)(N,{value:P,defaultValue:P,children:[(0,n.jsx)(b,{placeholder:y("placeholder")}),(0,n.jsxs)(j,{className:"[scrollbar-color:var(--background-color-inverse-secondary)_var(--background-color-primary)] overscroll-contain",children:[(0,n.jsx)(w,{children:y("no_results")}),(0,n.jsxs)(k,{children:[...U.map(e=>(0,n.jsxs)(A,{value:e.code,className:(0,f.cn)("inline-flex w-full items-center justify-start gap-3 hover:bg-secondary hover:text-primary-alt",P==e.code&&"pointer-events-none"),onSelect:e=>{z(e===P?"":e),F(!1);let a=S.Ay.getUrlPrefixForCode(e),{pathname:t,search:n,hash:r}=window.location;_.replace("/".concat(a).concat(t.replace(C,"")).concat(n).concat(r))},children:[(0,n.jsx)(R,{flag:e.icon})," ",e.name,(0,n.jsx)(c.A,{className:(0,f.cn)("ml-auto h-4 w-4",P===e.code?"opacity-100":"opacity-0")})]},e.code))]})]})]})})]})})})}},48902:(e,a,t)=>{"use strict";t.d(a,{Xn:()=>r,j4:()=>n});let n="latest",r="en"},63528:e=>{e.exports={container:"style_container__ie1qJ",MobileNavHamburger:"style_MobileNavHamburger__IuJku",top:"style_top__Bisv2",middle:"style_middle__87xDf",bottom:"style_bottom__Gyyoh",active:"style_active__7qQ7x"}},65028:e=>{e.exports={menuLink:"style_menuLink__ooJPH",active:"style_active__WMh_I",socialLinks:"style_socialLinks__QqMWr"}},67321:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var n=t(7893),r=t(61341),l=t(28081),s=t(95745);function i(e){let{isVisible:a,className:t,children:i}=e,o=(0,l.useRef)(null);return(0,l.useEffect)(()=>{a||document.querySelectorAll("html, body").forEach(e=>e.classList.remove("navScrollLock"))},[a]),(0,n.jsx)("div",{children:(0,n.jsx)(r.A,{nodeRef:o,in:a,timeout:200,classNames:"fade",unmountOnExit:!0,onEnter:function(){document.querySelectorAll("html, body").forEach(e=>e.classList.add("navScrollLock"))},onExited:function(){document.querySelectorAll("html, body").forEach(e=>e.classList.remove("navScrollLock"))},children:(0,n.jsx)("div",{ref:o,className:(0,s.cn)("fixed right-0 bottom-0 left-0 w-full overflow-y-auto px-8 py-0",t),children:(0,n.jsx)("div",{className:"innerFadeContainer mx-auto my-0 max-w-72 pt-8 pb-24",children:i})})})})}},71422:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var n=t(7893),r=t(95745),l=t(63528),s=t.n(l);function i(e){let{active:a,setOpen:t}=e;return(0,n.jsx)("button",{type:"button",className:(0,r.cn)(s().MobileNavHamburger,a&&s().active),onClick:()=>t(!a),children:(0,n.jsxs)("span",{className:s().container,children:[(0,n.jsx)("span",{className:s().top}),(0,n.jsx)("span",{className:s().middle}),(0,n.jsx)("span",{className:s().bottom})]})})}},71678:(e,a,t)=>{"use strict";t.d(a,{default:()=>s,o:()=>l});var n=t(7893),r=t(28081);let l=(0,r.createContext)(null);function s(e){let{children:a}=e,[t,s]=(0,r.useState)(null);return(0,n.jsx)(l.Provider,{value:{project:t,setProject:s},children:a})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8413],{7186:(e,t,n)=>{n.d(t,{A:()=>r});function r(e){return e}},20897:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(41574),l=n(28081),o=n.t(l,2),a=n(14551),i=o["use".trim()],u=n(7131),c=n(83294),s=n(88336),d=n(7893),f=n(39492);function p(e){let{Link:t,config:n,getPathname:o,...p}=function(e,t){var n,o,a;let f={...n=t||{},localePrefix:"object"==typeof(a=n.localePrefix)?a:{mode:a||"always"},localeCookie:!!((o=n.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof o&&o},localeDetection:n.localeDetection??!0,alternateLinks:n.alternateLinks??!0},p=f.pathnames,h=(0,l.forwardRef)(function({href:t,locale:n,...r},l){let o,a;"object"==typeof t?(o=t.pathname,a=t.params):o=t;let s=(0,u._x)(t),h=e(),m=(0,u.yL)(h)?i(h):h,g=s?v({locale:n||m,href:null==p?o:{pathname:o,params:a},forcePrefix:null!=n||void 0}):o;return(0,d.jsx)(c.default,{ref:l,href:"object"==typeof t?{...t,pathname:g}:g,locale:n,localeCookie:f.localeCookie,...r})});function v(e){let t,{forcePrefix:n,href:r,locale:l}=e;return null==p?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,s.Zn)(r.query))):t=r:t=(0,s.FP)({locale:l,...(0,s.TK)(r),pathnames:f.pathnames}),(0,s.x3)(t,l,f,n)}function m(e){return function(t,...n){return e(v(t),...n)}}return{config:f,Link:h,redirect:m(r.redirect),permanentRedirect:m(r.permanentRedirect),getPathname:v}}(a.Ym,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,r.usePathname)(),n=(0,a.Ym)();return(0,l.useMemo)(()=>{if(!t)return t;let r=t,l=(0,u.XP)(n,e.localePrefix);if((0,u.wO)(l,t))r=(0,u.MY)(t,l);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,u.bL)(n);(0,u.wO)(e,t)&&(r=(0,u.MY)(t,e))}return r},[e.localePrefix,n,t])}(n),t=(0,a.Ym)();return(0,l.useMemo)(()=>e&&n.pathnames?(0,s.aM)(t,e,n.pathnames):e,[t,e])},useRouter:function(){let e=(0,r.useRouter)(),t=(0,a.Ym)(),i=(0,r.usePathname)();return(0,l.useMemo)(()=>{function r(e){return function(r,l){let{locale:a,...u}=l||{},c=[o({href:r,locale:a||t,forcePrefix:null!=a||void 0})];Object.keys(u).length>0&&c.push(u),(0,f.A)(n.localeCookie,i,t,a),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,i,e])},getPathname:o}}},51389:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(59717).A)("book-marked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]])},56945:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(59717).A)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])},83304:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(59717).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},97461:(e,t,n)=>{n.d(t,{UC:()=>Q,YJ:()=>ef,In:()=>z,q7:()=>eg,VF:()=>ey,p4:()=>ew,JU:()=>ep,ZL:()=>Z,bL:()=>U,wn:()=>ek,PP:()=>eb,wv:()=>ej,l9:()=>W,WT:()=>q,LM:()=>ec});var r=n(28081),l=n(63220);function o(e,[t,n]){return Math.min(n,Math.max(t,e))}(0,Object.defineProperty)(o,"name",{value:"clamp",configurable:!0});var a=n(51016),i=n(93992),u=n(46988),c=n(25020),s=n(42019),d=n(5721),f=n(89087),p=n(39734),h=n(68285),v=n(14182),m=n(15673),g=n(17312),x=n(21851),w=n(85126),y=n(66325),S=n(45415),b=n(58307);function C(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(0,Object.defineProperty)(C,"name",{value:"usePrevious",configurable:!0});var k=n(9389),P=n(69536),j=n(79923),T=n(7893),R=Object.defineProperty,I=(e,t)=>R(e,"name",{value:t,configurable:!0}),M=[" ","Enter","ArrowUp","ArrowDown"],E=[" ","Enter"],L="Select",[D,A,K]=(0,i.N)(L),[H,B]=(0,c.A)(L,[K,v.Bk]),_=(0,v.Bk)(),[N,O]=H(L),[V,F]=H(L);function G(e){let{__scopeSelect:t,children:n,open:l,defaultOpen:o,onOpenChange:a,value:i,defaultValue:u,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:m,required:g,form:x,internal_do_not_use_render:w}=e,y=_(t),[b,C]=r.useState(null),[k,P]=r.useState(null),[j,R]=r.useState(!1),M=(0,s.jH)(d),[E,A]=(0,S.i)({prop:l,defaultProp:null!=o&&o,onChange:a,caller:L}),[K,H]=(0,S.i)({prop:i,defaultProp:u,onChange:c,caller:L}),B=r.useRef(null),O=r.useRef(K);r.useEffect(()=>{let e=x?null==b?void 0:b.ownerDocument.getElementById(x):null==b?void 0:b.form;if(e instanceof HTMLFormElement){let t=I(()=>H(O.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[x,b,H]);let F=!b||!!x||!!b.closest("form"),[G,U]=r.useState(new Set),W=(0,h.B)(),q=Array.from(G).map(e=>e.props.value).join(";"),z=r.useCallback(e=>{U(t=>new Set(t).add(e))},[]),Y=r.useCallback(e=>{U(t=>{let n=new Set(t);return n.delete(e),n})},[]),X={required:g,trigger:b,onTriggerChange:C,valueNode:k,onValueNodeChange:P,valueNodeHasChildren:j,onValueNodeHasChildrenChange:R,contentId:W,value:K,onValueChange:H,open:E,onOpenChange:A,dir:M,triggerPointerDownPosRef:B,disabled:m,name:f,autoComplete:p,form:x,nativeOptions:G,nativeSelectKey:q,isFormControl:F};return(0,T.jsx)(v.bL,{...y,children:(0,T.jsx)(N,{scope:t,...X,children:(0,T.jsx)(D.Provider,{scope:t,children:(0,T.jsx)(V,{scope:t,onNativeOptionAdd:z,onNativeOptionRemove:Y,children:eR(w)?w(X):n})})})})}I(G,"SelectProvider");var U=I(e=>{let{__scopeSelect:t,children:n,...r}=e;return(0,T.jsx)(G,{__scopeSelect:t,...r,internal_do_not_use_render:e=>{let{isFormControl:r}=e;return(0,T.jsxs)(T.Fragment,{children:[n,r?(0,T.jsx)(eT,{__scopeSelect:t}):null]})}})},"Select"),W=r.forwardRef(I(function(e,t){let{__scopeSelect:n,disabled:l=!1,...o}=e,i=_(n),c=O("SelectTrigger",n),s=c.disabled||l,d=(0,u.s)(t,c.onTriggerChange),f=A(n),p=r.useRef("touch"),[h,m,g]=eM(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===c.value),r=eE(t,e,n);void 0!==r&&c.onValueChange(r.value)}),w=I(e=>{s||(c.onOpenChange(!0),g()),e&&(c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})},"handleOpen");return(0,T.jsx)(v.Mz,{asChild:!0,...i,children:(0,T.jsx)(x.sG.button,{type:"button",role:"combobox","aria-controls":c.open?c.contentId:void 0,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":eI(c.value)?"":void 0,...o,ref:d,onClick:(0,a.mK)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&w(e)}),onPointerDown:(0,a.mK)(o.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,a.mK)(o.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&M.includes(e.key)&&(w(),e.preventDefault())})})})},"SelectTrigger")),q=r.forwardRef(I(function(e,t){let{__scopeSelect:n,className:l,style:o,children:a,placeholder:i="",...c}=e,s=O("SelectValue",n),{onValueNodeHasChildrenChange:d}=s,f=void 0!==a,p=(0,u.s)(t,s.onValueNodeChange);(0,b.N)(()=>{d(f)},[d,f]);let h=eI(s.value);return(0,T.jsx)(x.sG.span,{...c,asChild:!h&&c.asChild,ref:p,style:{pointerEvents:"none"},children:(0,T.jsx)(r.Fragment,{children:h?i:a},h?"placeholder":"value")})},"SelectValue")),z=r.forwardRef(I(function(e,t){let{__scopeSelect:n,children:r,...l}=e;return(0,T.jsx)(x.sG.span,{"aria-hidden":!0,...l,ref:t,children:r||"▼"})},"SelectIcon")),[Y,X]=H("SelectPortal",{forceMount:void 0}),Z=I(e=>{let{__scopeSelect:t,forceMount:n,...r}=e;return(0,T.jsx)(Y,{scope:e.__scopeSelect,forceMount:n,children:(0,T.jsx)(m.Z,{asChild:!0,...r})})},"SelectPortal"),J="SelectContent",Q=r.forwardRef(I(function(e,t){let n=X(J,e.__scopeSelect),{forceMount:l=n.forceMount,...o}=e,a=O(J,e.__scopeSelect),[i,u]=r.useState();return(0,b.N)(()=>{u(new DocumentFragment)},[]),(0,T.jsx)(g.C,{present:l||a.open,children:e=>{let{present:n}=e;return n?(0,T.jsx)(er,{...o,ref:t}):(0,T.jsx)($,{...o,fragment:i})}})},"SelectContent")),$=r.forwardRef(I(function(e,t){let{__scopeSelect:n,children:r,fragment:o}=e;return o?l.createPortal((0,T.jsx)(ee,{scope:n,children:(0,T.jsx)(D.Slot,{scope:n,children:(0,T.jsx)("div",{ref:t,children:r})})}),o):null},"SelectContentFragment")),[ee,et]=H(J),en=(0,w.TL)("SelectContent.RemoveScroll"),er=r.forwardRef(I(function(e,t){let{__scopeSelect:n}=e,{position:l="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:c,side:s,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:x,collisionPadding:w,sticky:y,hideWhenDetached:S,avoidCollisions:b,...C}=e,k=O(J,n),[R,M]=r.useState(null),[E,L]=r.useState(null),D=(0,u.s)(t,M),[K,H]=r.useState(null),[B,_]=r.useState(null),N=A(n),[V,F]=r.useState(!1),G=r.useRef(!1);r.useEffect(()=>{if(R)return(0,P.Eq)(R)},[R]),(0,f.Oh)();let U=r.useCallback(e=>{let[t,...n]=N().map(e=>e.ref.current),[r]=n.slice(-1),l=document.activeElement;for(let n of e)if(n===l||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&E&&(E.scrollTop=0),n===r&&E&&(E.scrollTop=E.scrollHeight),null==n||n.focus(),document.activeElement!==l))return},[N,E]),W=r.useCallback(()=>U([K,R]),[U,K,R]);r.useEffect(()=>{V&&W()},[V,W]);let{onOpenChange:q,triggerPointerDownPosRef:z}=k;r.useEffect(()=>{if(R){let e={x:0,y:0},t=I(t=>{var n,r,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(l=null==(n=z.current)?void 0:n.x)?l:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(r=z.current)?void 0:r.y)?o:0))}},"handlePointerMove"),n=I(n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(R)||q(!1),document.removeEventListener("pointermove",t),z.current=null},"handlePointerUp");return null!==z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[R,q,z]),r.useEffect(()=>{let e=I(()=>q(!1),"close");return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[q]);let[Y,X]=eM(e=>{let t=N().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eE(t,e,n);r&&setTimeout(()=>{var e;return null==(e=r.ref.current)?void 0:e.focus()})}),Z=r.useCallback((e,t,n)=>{let r=!G.current&&!n;(void 0!==k.value&&k.value===t||r)&&(H(e),r&&(G.current=!0))},[k.value]),Q=r.useCallback(()=>null==R?void 0:R.focus(),[R]),$=r.useCallback((e,t,n)=>{let r=!G.current&&!n;(void 0!==k.value&&k.value===t||r)&&_(e)},[k.value]),et="popper"===l?eo:el;return(0,T.jsx)(ee,{scope:n,content:R,viewport:E,onViewportChange:L,itemRefCallback:Z,selectedItem:K,onItemLeave:Q,itemTextRefCallback:$,focusSelectedItem:W,selectedItemText:B,position:l,isPositioned:V,searchRef:Y,children:(0,T.jsx)(j.A,{as:en,allowPinchZoom:!0,children:(0,T.jsx)(p.n,{asChild:!0,trapped:k.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.mK)(o,e=>{var t;null==(t=k.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,T.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>k.onOpenChange(!1),children:(0,T.jsx)(et,{role:"listbox",id:k.contentId,"data-state":k.open?"open":"closed",dir:k.dir,onContextMenu:e=>e.preventDefault(),...C,...et===eo?{side:s,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:x,collisionPadding:w,sticky:y,hideWhenDetached:S,avoidCollisions:b}:{},onPlaced:()=>F(!0),ref:D,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,a.mK)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||X(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=N().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>U(t)),e.preventDefault()}})})})})})})},"SelectContentImpl")),el=r.forwardRef(I(function(e,t){let{__scopeSelect:n,onPlaced:l,...a}=e,i=O(J,n),c=et(J,n),[s,d]=r.useState(null),[f,p]=r.useState(null),h=(0,u.s)(t,p),v=A(n),m=r.useRef(!1),g=r.useRef(!0),{viewport:w,selectedItem:y,selectedItemText:S,focusSelectedItem:C}=c,k=r.useCallback(()=>{if(i.trigger&&i.valueNode&&s&&f&&w&&y&&S){let e=i.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),r=S.getBoundingClientRect();if("rtl"!==i.dir){let l=r.left-t.left,a=n.left-l,i=e.left-a,u=e.width+i,c=Math.max(u,t.width),d=o(a,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=u+"px",s.style.left=d+"px"}else{let l=t.right-r.right,a=window.innerWidth-n.right-l,i=window.innerWidth-e.right-a,u=e.width+i,c=Math.max(u,t.width),d=o(a,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=u+"px",s.style.right=d+"px"}let a=v(),u=window.innerHeight-20,c=w.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),x=p+h+c+parseInt(d.paddingBottom,10)+g,b=Math.min(5*y.offsetHeight,x),C=window.getComputedStyle(w),k=parseInt(C.paddingTop,10),P=parseInt(C.paddingBottom,10),j=e.top+e.height/2-10,T=y.offsetHeight/2,R=p+h+(y.offsetTop+T);if(R<=j){let e=a.length>0&&y===a[a.length-1].ref.current;s.style.bottom="0px";let t=Math.max(u-j,T+(e?P:0)+(f.clientHeight-w.offsetTop-w.offsetHeight)+g);s.style.height=R+t+"px"}else{let e=a.length>0&&y===a[0].ref.current;s.style.top="0px";let t=Math.max(j,p+w.offsetTop+(e?k:0)+T);s.style.height=t+(x-R)+"px",w.scrollTop=R-j+w.offsetTop}s.style.margin="".concat(10,"px 0"),s.style.minHeight=b+"px",s.style.maxHeight=u+"px",null==l||l(),requestAnimationFrame(()=>m.current=!0)}},[v,i.trigger,i.valueNode,s,f,w,y,S,i.dir,l]);(0,b.N)(()=>k(),[k]);let[P,j]=r.useState();(0,b.N)(()=>{f&&j(window.getComputedStyle(f).zIndex)},[f]);let R=r.useCallback(e=>{e&&!0===g.current&&(k(),null==C||C(),g.current=!1)},[k,C]);return(0,T.jsx)(ea,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:m,onScrollButtonChange:R,children:(0,T.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:(0,T.jsx)(x.sG.div,{...a,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})},"SelectItemAlignedPosition")),eo=r.forwardRef(I(function(e,t){let{__scopeSelect:n,align:r="start",collisionPadding:l=10,...o}=e,a=_(n);return(0,T.jsx)(v.UC,{...a,...o,ref:t,align:r,collisionPadding:l,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[ea,ei]=H(J,{}),eu="SelectViewport",ec=r.forwardRef(I(function(e,t){let{__scopeSelect:n,nonce:l,...o}=e,i=et(eu,n),c=ei(eu,n),s=(0,u.s)(t,i.onViewportChange),d=r.useRef(0);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,T.jsx)(D.Slot,{scope:n,children:(0,T.jsx)(x.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,a.mK)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=c;if((null==r?void 0:r.current)&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,l=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(l<r){let o=l+e,a=Math.min(r,o),i=o-a;n.style.height=a+"px","0px"===n.style.bottom&&(t.scrollTop=i>0?i:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})},"SelectViewport")),[es,ed]=H("SelectGroup"),ef=r.forwardRef(I(function(e,t){let{__scopeSelect:n,...r}=e,l=(0,h.B)();return(0,T.jsx)(es,{scope:n,id:l,children:(0,T.jsx)(x.sG.div,{role:"group","aria-labelledby":l,...r,ref:t})})},"SelectGroup")),ep=r.forwardRef(I(function(e,t){let{__scopeSelect:n,...r}=e,l=ed("SelectLabel",n);return(0,T.jsx)(x.sG.div,{id:l.id,...r,ref:t})},"SelectLabel")),eh="SelectItem",[ev,em]=H(eh),eg=r.forwardRef(I(function(e,t){let{__scopeSelect:n,value:l,disabled:o=!1,textValue:i,...c}=e,s=O(eh,n),d=et(eh,n),f=s.value===l,[p,v]=r.useState(null!=i?i:""),[m,g]=r.useState(!1),w=(0,y.c)(e=>{var t;return null==(t=d.itemRefCallback)?void 0:t.call(d,e,l,o)}),S=(0,u.s)(t,w),b=(0,h.B)(),C=r.useRef("touch"),k=I(()=>{o||(s.onValueChange(l),s.onOpenChange(!1))},"handleSelect");return(0,T.jsx)(ev,{scope:n,value:l,disabled:o,textId:b,isSelected:f,onItemTextChange:r.useCallback(e=>{v(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,T.jsx)(D.ItemSlot,{scope:n,value:l,disabled:o,textValue:p,children:(0,T.jsx)(x.sG.div,{role:"option","aria-labelledby":b,"data-highlighted":m?"":void 0,"aria-selected":f&&m,"data-state":f?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...c,ref:S,onFocus:(0,a.mK)(c.onFocus,()=>g(!0)),onBlur:(0,a.mK)(c.onBlur,()=>g(!1)),onClick:(0,a.mK)(c.onClick,()=>{"mouse"!==C.current&&k()}),onPointerUp:(0,a.mK)(c.onPointerUp,()=>{"mouse"===C.current&&k()}),onPointerDown:(0,a.mK)(c.onPointerDown,e=>{C.current=e.pointerType}),onPointerMove:(0,a.mK)(c.onPointerMove,e=>{if(C.current=e.pointerType,o){var t;null==(t=d.onItemLeave)||t.call(d)}else"mouse"===C.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.mK)(c.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=d.onItemLeave)||t.call(d)}}),onKeyDown:(0,a.mK)(c.onKeyDown,e=>{var t;o||e.target!==e.currentTarget||((null==(t=d.searchRef)?void 0:t.current)===""||" "!==e.key)&&(E.includes(e.key)&&k()," "===e.key&&e.preventDefault())})})})})},"SelectItem")),ex="SelectItemText",ew=r.forwardRef(I(function(e,t){let{__scopeSelect:n,className:o,style:a,...i}=e,c=O(ex,n),s=et(ex,n),d=em(ex,n),f=F(ex,n),[p,h]=r.useState(null),v=(0,y.c)(e=>{var t;return null==(t=s.itemTextRefCallback)?void 0:t.call(s,e,d.value,d.disabled)}),m=(0,u.s)(t,h,d.onItemTextChange,v),g=null==p?void 0:p.textContent,w=r.useMemo(()=>(0,T.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:S,onNativeOptionRemove:C}=f;return(0,b.N)(()=>(S(w),()=>C(w)),[S,C,w]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(x.sG.span,{id:d.textId,...i,ref:m}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren&&!eI(c.value)?l.createPortal(i.children,c.valueNode):null]})},"SelectItemText")),ey=r.forwardRef(I(function(e,t){let{__scopeSelect:n,...r}=e;return em("SelectItemIndicator",n).isSelected?(0,T.jsx)(x.sG.span,{"aria-hidden":!0,...r,ref:t}):null},"SelectItemIndicator")),eS="SelectScrollUpButton",eb=r.forwardRef(I(function(e,t){let n=et(eS,e.__scopeSelect),l=ei(eS,e.__scopeSelect),[o,a]=r.useState(!1),i=(0,u.s)(t,l.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){a(t.scrollTop>0)};I(e,"handleScroll");let t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,T.jsx)(eP,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null},"SelectScrollUpButton")),eC="SelectScrollDownButton",ek=r.forwardRef(I(function(e,t){let n=et(eC,e.__scopeSelect),l=ei(eC,e.__scopeSelect),[o,a]=r.useState(!1),i=(0,u.s)(t,l.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)<e)};I(e,"handleScroll");let t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,T.jsx)(eP,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null},"SelectScrollDownButton")),eP=r.forwardRef(I(function(e,t){let{__scopeSelect:n,onAutoScroll:l,...o}=e,i=et("SelectScrollButton",n),u=r.useRef(null),c=A(n),s=r.useCallback(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return r.useEffect(()=>()=>s(),[s]),(0,b.N)(()=>{var e;let t=c().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[c]),(0,T.jsx)(x.sG.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,a.mK)(o.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(l,50))}),onPointerMove:(0,a.mK)(o.onPointerMove,()=>{var e;null==(e=i.onItemLeave)||e.call(i),null===u.current&&(u.current=window.setInterval(l,50))}),onPointerLeave:(0,a.mK)(o.onPointerLeave,()=>{s()})})},"SelectScrollButtonImpl")),ej=r.forwardRef(I(function(e,t){let{__scopeSelect:n,...r}=e;return(0,T.jsx)(x.sG.div,{"aria-hidden":!0,...r,ref:t})},"SelectSeparator")),eT=r.forwardRef(I(function(e,t){let{__scopeSelect:n,...l}=e,o=O("SelectBubbleInput",n),{value:a,onValueChange:i,required:c,disabled:s,name:d,autoComplete:f,form:p}=o,{nativeOptions:h,nativeSelectKey:v}=o,m=r.useRef(null),g=(0,u.s)(t,m),w=null!=a?a:"",y=C(w),S=Array.from(h).some(e=>{var t;return(null!=(t=e.props.value)?t:"")===""});return r.useEffect(()=>{let e=m.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(y!==w&&t){let n=new Event("change",{bubbles:!0});t.call(e,w),e.dispatchEvent(n)}},[y,w]),(0,T.jsxs)(x.sG.select,{"aria-hidden":!0,required:c,tabIndex:-1,name:d,autoComplete:f,disabled:s,form:p,onChange:e=>i(e.target.value),...l,style:{...k.Qg,...l.style},ref:g,defaultValue:w,children:[eI(a)&&!S?(0,T.jsx)("option",{value:""}):null,Array.from(h)]},v)},"SelectBubbleInput"));function eR(e){return"function"==typeof e}function eI(e){return""===e||void 0===e}function eM(e){let t=(0,y.c)(e),n=r.useRef(""),l=r.useRef(0),o=r.useCallback(e=>{t(n.current+e)},[t]),a=r.useCallback(()=>{n.current="",window.clearTimeout(l.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(l.current),[]),[n,o,a]}function eE(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=n?e.indexOf(n):-1,o=eL(e,Math.max(l,0));1===r.length&&(o=o.filter(e=>e!==n));let a=o.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function eL(e,t){return e.map((n,r)=>e[(t+r)%e.length])}I(eR,"isFunction"),I(eI,"shouldShowPlaceholder"),I(eM,"useTypeaheadSearch"),I(eE,"findNextItem"),I(eL,"wrapArray")}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8616],{3192:(e,n,t)=>{t.d(n,{Ay:()=>s,F3:()=>a,nQ:()=>l});var r=t(47034);let a="en_us",l="en-US",i=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:r.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:r.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:r.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:r.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:r.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:r.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:r.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:r.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:r.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:r.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:r.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:r.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:r.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:r.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:r.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:r.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:r.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:r.TW,crowdin:"zh-TW"}];function o(e){return i.find(n=>n.prefix===e)}let s={getAvailableLocales:function(){return i},getLanguagePaths:function(){return i.map(e=>e.prefix)},getInternalCodes:function(){return i.map(e=>e.internal)},getPathPrefixes:function(){return i.reduce((e,n)=>({...e,[n.internal]:"/"+n.prefix}),{})},getForUrlParam:o,getForInternalCode:function(e){return i.find(n=>n.internal===e)},getCrowdinLanguageId:function(e){let n=o(e);return(null==n?void 0:n.crowdin)||(null==n?void 0:n.prefix)},isRTL:function(e){var n;return(null==(n=o(e))?void 0:n.rtl)||!1},actualLocale:function(e){var n;if(!e||e===a)return null;let t=o(e);return null!=(n=null==t?void 0:t.file.toLowerCase())?n:null},resolveParam:function(e){return o(e).code},getUrlPrefixForCode:function(e){var n;return null==(n=i.find(n=>n.code===e))?void 0:n.prefix},getForCode:function(e){return i.find(n=>n.code===e)}}},7186:(e,n,t)=>{t.d(n,{A:()=>r});function r(e){return e}},20897:(e,n,t)=>{t.d(n,{A:()=>m});var r=t(41574),a=t(28081),l=t.t(a,2),i=t(14551),o=l["use".trim()],s=t(7131),c=t(83294),d=t(88336),u=t(7893),f=t(39492);function m(e){let{Link:n,config:t,getPathname:l,...m}=function(e,n){var t,l,i;let f={...t=n||{},localePrefix:"object"==typeof(i=t.localePrefix)?i:{mode:i||"always"},localeCookie:!!((l=t.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:t.localeDetection??!0,alternateLinks:t.alternateLinks??!0},m=f.pathnames,h=(0,a.forwardRef)(function({href:n,locale:t,...r},a){let l,i;"object"==typeof n?(l=n.pathname,i=n.params):l=n;let d=(0,s._x)(n),h=e(),x=(0,s.yL)(h)?o(h):h,v=d?p({locale:t||x,href:null==m?l:{pathname:l,params:i},forcePrefix:null!=t||void 0}):l;return(0,u.jsx)(c.default,{ref:a,href:"object"==typeof n?{...n,pathname:v}:v,locale:t,localeCookie:f.localeCookie,...r})});function p(e){let n,{forcePrefix:t,href:r,locale:a}=e;return null==m?"object"==typeof r?(n=r.pathname,r.query&&(n+=(0,d.Zn)(r.query))):n=r:n=(0,d.FP)({locale:a,...(0,d.TK)(r),pathnames:f.pathnames}),(0,d.x3)(n,a,f,t)}function x(e){return function(n,...t){return e(p(n),...t)}}return{config:f,Link:h,redirect:x(r.redirect),permanentRedirect:x(r.permanentRedirect),getPathname:p}}(i.Ym,e);return{...m,Link:n,usePathname:function(){let e=function(e){let n=(0,r.usePathname)(),t=(0,i.Ym)();return(0,a.useMemo)(()=>{if(!n)return n;let r=n,a=(0,s.XP)(t,e.localePrefix);if((0,s.wO)(a,n))r=(0,s.MY)(n,a);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,s.bL)(t);(0,s.wO)(e,n)&&(r=(0,s.MY)(n,e))}return r},[e.localePrefix,t,n])}(t),n=(0,i.Ym)();return(0,a.useMemo)(()=>e&&t.pathnames?(0,d.aM)(n,e,t.pathnames):e,[n,e])},useRouter:function(){let e=(0,r.useRouter)(),n=(0,i.Ym)(),o=(0,r.usePathname)();return(0,a.useMemo)(()=>{function r(e){return function(r,a){let{locale:i,...s}=a||{},c=[l({href:r,locale:i||n,forcePrefix:null!=i||void 0})];Object.keys(s).length>0&&c.push(s),(0,f.A)(t.localeCookie,o,n,i),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[n,o,e])},getPathname:l}}},21559:(e,n,t)=>{t.d(n,{default:()=>o});var r=t(7893),a=t(95745),l=t(28081),i=t(45585);let o=(0,l.forwardRef)(function(e,n){let{title:t,className:o,innerClassName:s,tagName:c,children:d,type:u,solid:f}=e,{open:m}=(0,l.useContext)(i.p);return(0,r.jsx)("aside",{"data-open":m==u,className:(0,a.cn)(o,"fixed z-30 h-[88vh] w-full overflow-hidden border-tertiary bg-primary transition-all duration-300 ease-in-out sm:h-[calc(100vh_-_9.5rem)] lg:top-[6rem]! lg:transition-none",f?"lg:static":"lg:sticky","left"==u&&"border-r data-[open=false]:-translate-x-full data-[open=false]:border-0 lg:border-r-0 lg:data-[open=false]:-translate-x-0","right"==u&&"border-l data-[open=false]:translate-x-full data-[open=false]:border-0 lg:border-l-0 lg:data-[open=false]:translate-x-0"),children:(0,r.jsxs)(c||"div",{ref:n,className:(0,a.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",s),children:[(0,r.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,r.jsx)("h3",{className:"text-sm font-semibold text-secondary",children:t})}),d]})})})},24989:(e,n,t)=>{t.d(n,{default:()=>c});var r=t(7893),a=t(37347),l=t(49777),i=t(27167),o=t(82601),s=t(13870);function c(){let[e,n]=(0,a.ZA)("tab"),t=(0,s.c)("DocsEntryTabs"),c=async e=>{await n(e),window.scrollTo(0,0)};return(0,r.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,r.jsx)(o.$,{title:t("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("home"),children:(0,r.jsx)(l.A,{className:"size-4"})}):(0,r.jsx)(o.$,{title:t("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("history"),children:(0,r.jsx)(i.A,{className:"size-4"})})})}},34882:(e,n,t)=>{t.d(n,{XO:()=>o,a8:()=>c});var r=t(7186),a=t(20897),l=t(3192);let i=(0,r.A)({locales:l.Ay.getInternalCodes(),defaultLocale:l.nQ,localePrefix:{mode:"always",prefixes:l.Ay.getPathPrefixes()}}),{Link:o,redirect:s,usePathname:c,useRouter:d}=(0,a.A)(i)},45585:(e,n,t)=>{t.d(n,{default:()=>o,p:()=>i});var r=t(7893),a=t(28081),l=t(34882);let i=(0,a.createContext)(null);function o(e){let{children:n}=e,t=(0,l.a8)(),[o,s]=(0,a.useState)("none");return(0,a.useEffect)(()=>{"none"===o?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[o]),(0,a.useEffect)(()=>{s("none")},[t]),(0,r.jsx)(i.Provider,{value:{open:o,setOpen:s},children:n})}},76365:(e,n,t)=>{t.d(n,{A:()=>d});var r=t(7893),a=t(28081),l=t(21559),i=t(95745),o=t(13870),s=t(96090);function c(e){let{node:n,activeId:t,collapsed:a,setCollapsed:l,first:o}=e,{heading:d,children:u}=n,f=!a[d.id],m=t===d.id||!f&&function e(n,t){return n.children.some(n=>n.heading.id===t||e(n,t))}(n,t),h=(0,r.jsx)("a",{href:"#".concat(d.id),className:(0,i.cn)("block py-1 text-secondary transition-colors hover:text-primary",m&&"text-primary",o&&"pt-0!"),onClick:e=>{var n;e.preventDefault(),null==(n=document.getElementById(d.id))||n.scrollIntoView({behavior:"smooth"})},children:d.value});return 0===u.length?(0,r.jsxs)("li",{className:"flex items-start gap-1",children:[(0,r.jsx)("span",{className:"size-4 shrink-0"}),h]}):(0,r.jsx)("li",{children:(0,r.jsxs)("details",{className:"group",open:f,onToggle:e=>l(d.id,!e.currentTarget.open),children:[(0,r.jsxs)("summary",{className:"flex list-none items-start gap-1 [&::-webkit-details-marker]:hidden",onClick:e=>e.preventDefault(),children:[(0,r.jsx)("button",{type:"button","aria-expanded":f,"aria-label":d.value,className:(0,i.cn)("shrink-0 cursor-pointer py-1 text-secondary hover:text-primary",o&&"pt-0!"),onClick:()=>l(d.id,f),children:(0,r.jsx)(s.default,{className:"size-4 group-open:rotate-180"})}),h]}),(0,r.jsx)("ul",{className:"space-y-1 pl-3",children:u.map(e=>(0,r.jsx)(c,{node:e,activeId:t,collapsed:a,setCollapsed:l},e.heading.id))})]})})}function d(e){let{headings:n,type:t,className:s,solid:d}=e,u=(0,o.c)("DocsNonContentRightSidebar"),[f,m]=(0,a.useState)(""),[h,p]=(0,a.useState)({}),[x,v]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1),y=(0,a.useRef)(null),_=(0,a.useMemo)(()=>n.filter(e=>e.depth<4),[n]),k=(0,a.useMemo)(()=>(function(e){let n=[],t=[];for(let r of e){let e={heading:r,children:[]};for(;t.length>0&&t[t.length-1].heading.depth>=r.depth;)t.pop();let a=t[t.length-1];(a?a.children:n).push(e),t.push(e)}return n})(_),[_]),w=(e,n)=>p(t=>t[e]===n?t:{...t,[e]:n});return(0,a.useEffect)(()=>{let e=()=>{let e=_.map(e=>document.getElementById(e.id)).filter(Boolean).find(e=>{if(e){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=window.innerHeight/2}return!1});e&&m(e.id)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[_]),(0,a.useEffect)(()=>{let e=()=>{if(y.current){let{scrollTop:e,scrollHeight:n,clientHeight:t}=y.current;v(e>0),b(e+t<n)}},n=y.current;return n&&(n.addEventListener("scroll",e),window.addEventListener("resize",e),e()),()=>{n&&n.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[_,h]),(0,r.jsx)(l.default,{type:t,title:u("title"),className:(0,i.cn)("shrink-0",s),tagName:"nav",solid:d,children:(0,r.jsxs)("div",{className:"relative",children:[x&&(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 left-0 h-12 bg-linear-to-b to-transparent"}),(0,r.jsx)("div",{ref:y,className:"scrollbar-thin max-h-[80vh] scrollbar-thumb-gray-300 scrollbar-track-transparent overflow-y-auto pr-4",children:(0,r.jsx)("ul",{className:"space-y-1 text-sm",children:k.map((e,n)=>(0,r.jsx)(c,{node:e,activeId:f,collapsed:h,setCollapsed:w,first:0===n},e.heading.id))})}),g&&(0,r.jsx)("div",{className:"from-background pointer-events-none absolute right-0 bottom-0 left-0 h-12 bg-linear-to-t to-transparent"})]})})}},93656:(e,n,t)=>{t.d(n,{default:()=>a});var r=t(41574);function a(e){let{main:n,history:t}=e;return"history"==(0,r.useSearchParams)().get("tab")&&t?t:n}}}]);
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8777],{2008:(e,t,r)=>{r.d(t,{i:()=>o,l:()=>u,n:()=>y,o:()=>i,r:()=>d,t:()=>m});var l=r(95801),n=r(79254),s=r(28081);let u={method:"throttle",timeMs:function(){if("undefined"==typeof window||!window.GestureEvent)return 50;try{let e=navigator.userAgent?.match(/version\/([\d\.]+) safari/i);return parseFloat(e[1])>=17?120:320}catch{return 320}}()};function i(e){return null===e||Array.isArray(e)&&0===e.length}function o(){let e=new Map;return{on(t,r){let l=e.get(t)||[];return l.push(r),e.set(t,l),()=>this.off(t,r)},off(t,r){let l=e.get(t);l&&e.set(t,l.filter(e=>e!==r))},emit(t,r){e.get(t)?.forEach(e=>e(r))}}}function a(e,t,r){let l=setTimeout(function(){e(),r.removeEventListener("abort",n)},t);function n(){clearTimeout(l),r.removeEventListener("abort",n)}r.addEventListener("abort",n)}function c(){let e=Promise;if(Promise.hasOwnProperty("withResolvers"))return Promise.withResolvers();let t=()=>{},r=()=>{};return{promise:new e((e,l)=>{t=e,r=l}),resolve:t,reject:r}}function h(){return new URLSearchParams(location.search)}var p=class{updateMap=new Map;options={history:"replace",scroll:!1,shallow:!0};timeMs=u.timeMs;transitions=new Set;resolvers=null;controller=null;lastFlushedAt=0;resetQueueOnNextPush=!1;push({key:e,query:t,options:r},n=u.timeMs){this.resetQueueOnNextPush&&(this.reset(),this.resetQueueOnNextPush=!1),(0,l.t)(7,e,t,r),this.updateMap.set(e,t),"push"===r.history&&(this.options.history="push"),r.scroll&&(this.options.scroll=!0),!1===r.shallow&&(this.options.shallow=!1),r.startTransition&&this.transitions.add(r.startTransition),(!Number.isFinite(this.timeMs)||n>this.timeMs)&&(this.timeMs=n)}getQueuedQuery(e){return this.updateMap.get(e)}getPendingPromise({getSearchParamsSnapshot:e=h}){return this.resolvers?.promise??Promise.resolve(e())}flush({getSearchParamsSnapshot:e=h,rateLimitFactor:t=1,...r},n){if(this.controller??=new AbortController,!Number.isFinite(this.timeMs))return(0,l.t)(8),Promise.resolve(e());if(this.resolvers)return this.resolvers.promise;this.resolvers=c();let s=()=>{this.lastFlushedAt=performance.now();let[t,l]=this.applyPendingUpdates({...r,autoResetQueueOnUpdate:r.autoResetQueueOnUpdate??!0,getSearchParamsSnapshot:e},n);null===l?(this.resolvers.resolve(t),this.resetQueueOnNextPush=!0):this.resolvers.reject(t),this.resolvers=null},u=()=>{let e=performance.now()-this.lastFlushedAt,r=this.timeMs,n=t*Math.max(0,r-e);(0,l.t)(9,n,r,t),0===n?s():a(s,n,this.controller.signal)};return a(u,0,this.controller.signal),this.resolvers.promise}abort(){return this.controller?.abort(),this.controller=new AbortController,this.resolvers?.resolve(new URLSearchParams),this.resolvers=null,this.reset()}reset(){let e=Array.from(this.updateMap.keys());return(0,l.t)(10,JSON.stringify(Object.fromEntries(this.updateMap))),this.updateMap.clear(),this.transitions.clear(),this.options={history:"replace",scroll:!1,shallow:!0},this.timeMs=u.timeMs,e}applyPendingUpdates(e,t){let{updateUrl:r,getSearchParamsSnapshot:s}=e,u=s();if((0,l.t)(11,this.updateMap.size,u.toString()),0===this.updateMap.size)return[u,null];let i=Array.from(this.updateMap.entries()),o={...this.options},a=Array.from(this.transitions);for(let[t,r]of(e.autoResetQueueOnUpdate&&this.reset(),(0,l.t)(12,i,o),i))null===r?u.delete(t):u=function(e,t,r){if("string"==typeof r)e.set(t,r);else{for(let l of(e.delete(t),r))e.append(t,l);e.has(t)||e.set(t,"")}return e}(u,t,r);if(t)try{u=t(u)}catch(e){return console.error((0,n.l)(502),i.map(([e])=>e).join(),e),this.resetQueueOnNextPush=!0,[u,e]}try{return!function(e,t){let r=t;for(let t=e.length-1;t>=0;t--){let l=e[t];if(!l)continue;let n=r;r=()=>l(n)}r()}(a,()=>r(u,o)),[u,null]}catch(e){return console.error((0,n.l)(429),i.map(([e])=>e).join(),e),[u,e]}}};let d=(0,n.o)("throttle-queue",()=>new p);var f=class{resolvers=c();controller=new AbortController;queuedValue=void 0;abort(){this.controller.abort(),this.queuedValue=void 0}push(e,t,r){return this.queuedValue=e,this.controller.abort(),this.controller=new AbortController,a(()=>{let t=this.resolvers;try{(0,l.t)(13,e);let n=r(e);(0,l.t)(14,this.queuedValue),this.queuedValue=void 0,this.resolvers=c(),n.then(e=>t.resolve(e)).catch(e=>t.reject(e))}catch(e){this.queuedValue=void 0,t.reject(e)}},t,this.controller.signal),this.resolvers.promise}},v=class{throttleQueue;queues=new Map;queuedQuerySync=o();constructor(e=new p){this.throttleQueue=e}push(e,t,r,n){if(!Number.isFinite(t))return Promise.resolve((r.getSearchParamsSnapshot??h)());let s=e.key,u=this.queues.get(s);u||((0,l.t)(15,s),u=new f,this.queues.set(s,u)),(0,l.t)(17,e);let i=()=>(this.throttleQueue.push(e),this.throttleQueue.flush(r,n).finally(()=>{this.queues.get(s)?.queuedValue===void 0&&((0,l.t)(16,s),this.queues.delete(s)),this.queuedQuerySync.emit(s)})),o=u.push(e,t,i);return this.queuedQuerySync.emit(s),o}abort(e){let t=this.queues.get(e);return t?((0,l.t)(18,e,t.queuedValue?.query),this.queues.delete(e),t.abort(),this.queuedQuerySync.emit(e),e=>(e.then(t.resolvers.resolve,t.resolvers.reject),e)):e=>e}abortAll(){for(let[e,t]of this.queues.entries())(0,l.t)(18,e,t.queuedValue?.query),t.abort(),t.resolvers.resolve(new URLSearchParams),this.queuedQuerySync.emit(e);this.queues.clear()}getQueuedQuery(e){let t=this.queues.get(e)?.queuedValue?.query;return void 0!==t?t:this.throttleQueue.getQueuedQuery(e)}};let m=(0,n.o)("debounce-controller",()=>new v(d));function y(e){return function(e,t,r){let l=(0,s.useCallback)(()=>{let t=Object.fromEntries(e.map(e=>[e,r(e)]));return[JSON.stringify(t),t]},[e.join(","),r]),n=(0,s.useRef)(null);return null===n.current&&(n.current=l()),(0,s.useSyncExternalStore)((0,s.useCallback)(r=>{let l=e.map(e=>t(e,r));return()=>l.forEach(e=>e())},[e.join(","),t]),()=>{let[e,t]=l();return n.current[0]===e?n.current[1]:(n.current=[e,t],t)},()=>n.current[1])}(e,(e,t)=>m.queuedQuerySync.on(e,t),e=>m.getQueuedQuery(e))}},27167:(e,t,r)=>{r.d(t,{A:()=>l});let l=(0,r(59717).A)("rotate-ccw-clock",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},37347:(e,t,r)=>{r.d(t,{ZA:()=>y});var l=r(2008),n=r(95801),s=r(79254),u=r(28081);function i(e,t){return Object.hasOwn(e,t)?e[t]:void 0}function o(e,t,r){try{return e(t)}catch(e){return r?(0,n.i)(25,t,e,r):(0,n.i)(24,t,e),null}}function a(e){function t(t){if(void 0===t)return null;let r=Array.isArray(t);return r&&void 0===t[0]?null:(t=r?t[0]:"string"==typeof t?t:"",o(e.parse,t))}return{type:"single",eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide(r){var l;return null!=(l=t(r))?l:e}}},withOptions(e){return{...this,...e}}}}function c(e,t){return e.valueOf()===t.valueOf()}a({parse:e=>e,serialize:String}),a({parse:e=>{let t=parseInt(e);return t==t?t:null},serialize:e=>""+Math.round(e)}),a({parse:e=>{let t=parseInt(e);return t==t?t-1:null},serialize:e=>""+Math.round(e+1)}),a({parse:e=>{let t=parseInt(e,16);return t==t?t:null},serialize:e=>{let t=Math.round(e).toString(16);return t<"0"||!(1&t.length)?t:"0"+t}}),a({parse:e=>{let t=parseFloat(e);return t==t?t:null},serialize:String}),a({parse:e=>"true"===e.toLowerCase(),serialize:String}),a({parse:e=>{let t=new Date(parseInt(e));return+t==+t?t:null},serialize:e=>""+e.valueOf(),eq:c}),a({parse:e=>{let t=new Date(e);return+t==+t&&h.parse(e)?t:null},serialize:e=>e.toISOString(),eq:c});let h=a({parse:e=>{let t=new Date(e.slice(0,10));return+t==+t&&h.serialize(t)===e.slice(0,10)?t:null},serialize:e=>e.toISOString().slice(0,10),eq:c}),p=(0,s.o)("sync-emitter",()=>(0,l.i)()),d={},f=(e,t)=>"defaultValue"===e?void 0:t;function v(e,t,r,n){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=!1,c=Object.entries(e).reduce((e,c)=>{var h,p,d;let[f,v]=c,m=t[f],y=i(n,m),g="multi"===v.type?[]:null,b=void 0===y?"multi"===v.type?r.getAll(m):r.get(m):y,w=i(u,f);return void 0!==w&&((d=null!=(h=i(s,m))?h:g)===b||null!==d&&null!==b&&"string"!=typeof d&&"string"!=typeof b&&d.length===b.length&&d.every((e,t)=>e===b[t]))?e[f]=w:(a=!0,e[f]=null!=(p=(0,l.o)(b)?null:o(v.parse,b,m))?p:null,s[m]=b),e},{});return a||(a=Object.keys(c).length!==Object.keys(u).length),[a,c]}function m(e,t){return Object.fromEntries(Object.keys(e).map(r=>{var l,n,s;return[r,null!=(s=null!=(n=e[r])?n:null==(l=t[r])?void 0:l.defaultValue)?s:null]}))}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{parse:r=e=>e,type:o,serialize:a,eq:c,defaultValue:h,...y}=t,[{[e]:g},b]=function(e){var t,r,o,a,c;let h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},y=(0,u.useId)(),g=(0,s.i)(),b=(0,s.a)(),{history:w=null!=(t=null==g?void 0:g.history)?t:"replace",scroll:O=null!=(r=null==g?void 0:g.scroll)&&r,shallow:S=null==(o=null==g?void 0:g.shallow)||o,throttleMs:q=l.l.timeMs,limitUrlUpdates:M=null==g?void 0:g.limitUrlUpdates,clearOnDefault:j=null==(a=null==g?void 0:g.clearOnDefault)||a,startTransition:A,urlKeys:k=d}=h,P=Object.keys(e).join(","),Q=(0,u.useRef)(e),x=Q.current,C=JSON.stringify(Object.entries(x),f)===JSON.stringify(Object.entries(e),f)&&Object.entries(e).every(e=>{var t,r,l;let[n,s]=e;if((null==(t=x[n])?void 0:t.startTransition)!==s.startTransition)return!1;let u=null==(r=x[n])?void 0:r.defaultValue,i=s.defaultValue;return!!Object.is(u,i)||void 0!==u&&void 0!==i&&(null==(l=s.eq)?void 0:l.call(s,u,i))===!0})?x:e;Q.current=C;let U=(0,u.useMemo)(()=>Object.fromEntries(Object.keys(e).map(e=>{var t;return[e,null!=(t=i(k,e))?t:e]})),[P,JSON.stringify(k)]),E=Object.values(U),N=(0,s.r)(E),R=N.searchParams,V=(0,u.useRef)(null),z=(0,u.useRef)(null),L=(0,l.n)(E),[T]=(0,u.useState)(()=>{let t={},[,r]=v(e,U,R,L,t);return[r,t]}),F=(0,u.useRef)(T[1]),[_,D]=(0,u.useState)(T[0]),I=(0,u.useRef)(_),J=e=>JSON.stringify([E.map(t=>[t,e.getAll(t)]),L]),$=J(R),B=()=>{let[t,r]=v(e,U,R,L,F.current,I.current);return t&&((0,n.t)(1,y,P,r),I.current=r,D(r)),t},H=Object.keys(F.current).join("&")!==E.join("&"),G=null===z.current||z.current===(null!=(c=N.pathname)?c:location.pathname);if(H)V.current=$,B(),F.current=Object.fromEntries(Object.entries(U).map(t=>{var r;let[l,n]=t;return[n,(null==(r=e[l])?void 0:r.type)==="multi"?R.getAll(n):R.get(n)]}));else{let e=!1;G&&V.current!==$&&(V.current=$,e=B()),!e&&_!==I.current&&(G||void 0===N.pathname&&V.current===J(new URLSearchParams(location.search)))&&D(I.current)}(0,u.useEffect)(()=>{var e;z.current=null!=(e=N.pathname)?e:location.pathname,B()},[$,N.pathname]),(0,u.useEffect)(()=>{let t=[];for(let[r,l]of Object.entries(U)){let s=t=>{let{state:s,query:u}=t;D(t=>{var i,o,a;return Object.is(null!=(o=t[r])?o:null,s)?((0,n.t)(2,y,P,l,s,null==(a=e[r])?void 0:a.defaultValue,I.current),t):(I.current={...I.current,[r]:s},F.current[l]=u,(0,n.t)(3,y,P,l,s,null==(i=e[r])?void 0:i.defaultValue,I.current),I.current)})};(0,n.t)(4,y,l,P),p.on(l,s),t.push([l,s])}return()=>{for(let[e,r]of t)(0,n.t)(5,y,e,P),p.off(e,r)}},[P,U]);let W=(0,u.useCallback)(function(e){var t,r,s,u,o,a,c,h,d,f,v,g,k,Q,x,E,R,V,z;let L,T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},F=null!=(t="function"==typeof e?e(m(I.current,C)):e)?t:Object.fromEntries(Object.keys(C).map(e=>[e,null]));(0,n.t)(6,y,P,F);let _=0,D=[];for(let[e,t]of Object.entries(F)){let n=i(C,e),m=U[e];if(!n||void 0===m||void 0===t)continue;(null!=(s=null!=(r=T.clearOnDefault)?r:n.clearOnDefault)?s:j)&&null!==t&&void 0!==n.defaultValue&&(null!=(u=n.eq)?u:function(e,t){return e===t})(t,n.defaultValue)&&(t=null);let y=null===t?null:(null!=(o=n.serialize)?o:String)(t);p.emit(m,{state:t,query:y});let P={key:m,query:y,options:{history:null!=(c=null!=(a=T.history)?a:n.history)?c:w,shallow:null!=(d=null!=(h=T.shallow)?h:n.shallow)?d:S,scroll:null!=(v=null!=(f=T.scroll)?f:n.scroll)?v:O,startTransition:null!=(k=null!=(g=T.startTransition)?g:n.startTransition)?k:A}},F=null!=(x=null!=(Q=T.limitUrlUpdates)?Q:n.limitUrlUpdates)?x:M;if((null==F?void 0:F.method)==="debounce"){let e=null!=(E=F.timeMs)?E:l.l.timeMs,t=l.t.push(P,e,N,b);_<e&&(L=t,_=e)}else{let e=null!=(z=null!=(V=null!=(R=null==F?void 0:F.timeMs)?R:T.throttleMs)?V:n.throttleMs)?z:q;D.push(l.t.abort(m)),l.r.push(P,e)}}let J=D.length?l.r.flush(N,b):l.r.getPendingPromise(N);for(let e of D)J=e(J);return null!=L?L:J},[P,w,S,O,q,null==M?void 0:M.method,null==M?void 0:M.timeMs,A,j,C,U,N.updateUrl,N.getSearchParamsSnapshot,N.rateLimitFactor,b]);return[(0,u.useMemo)(()=>m(_,C),[_,C]),W]}({[e]:{parse:r,type:o,serialize:a,eq:c,defaultValue:h}},y);return[g,(0,u.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b(r=>({[e]:"function"==typeof t?t(r[e]):t}),r)},[e,b])]}},49777:(e,t,r)=>{r.d(t,{A:()=>l});let l=(0,r(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},79254:(e,t,r)=>{r.d(t,{a:()=>f,c:()=>u,i:()=>d,l:()=>s,n:()=>h,o:()=>a,r:()=>p,s:()=>i});var l=r(28081);let n={303:"Multiple adapter contexts detected. This might happen in monorepos.",404:"nuqs requires an adapter to work with your framework.",409:"Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` (via the %s adapter) was about to load on top.",414:"Max safe URL length exceeded. Some browsers may not be able to accept this URL. Consider limiting the amount of state stored in the URL.",429:"URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O",500:"Empty search params cache. Search params can't be accessed in Layouts.",501:"Search params cache already populated. Have you called `parse` twice?",502:"`processUrlSearchParams` threw while processing key(s) `%s`. %O"};function s(e){return`[nuqs] ${n[e]}
2
+ See https://nuqs.dev/NUQS-${e}`}function u(e){if(0===e.size)return"";let t=[];for(let[r,l]of e.entries()){let e=r.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");t.push(`${e}=${l.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/[\x00-\x1F]/g,e=>encodeURIComponent(e))}`)}return"?"+t.join("&")}let i="2.10.1",o={};function a(e,t){let r=Symbol.for(`nuqs.${i}.${e}`),l=globalThis;if(null!=l[r])return l[r];let n=Object.isExtensible(l)?l:o;return n[r]??=t()}let c=function(e,t,r){let l=a(e,()=>new WeakMap);return l.has(t)||l.set(t,r()),l.get(t)}("adapter-context",l.createContext,()=>{let e=(0,l.createContext)({useAdapter(){throw Error(s(404))}});return e.displayName="NuqsAdapterContext",e});function h(e){return({children:t,defaultOptions:r,processUrlSearchParams:n,...s})=>(0,l.createElement)(c.Provider,{...s,value:{useAdapter:e,defaultOptions:r,processUrlSearchParams:n}},t)}function p(e){let t=(0,l.useContext)(c);if(!("useAdapter"in t))throw Error(s(404));return t.useAdapter(e)}"undefined"!=typeof window&&(window.__NuqsAdapterContext&&window.__NuqsAdapterContext!==c&&console.error(s(303)),window.__NuqsAdapterContext=c);let d=()=>(0,l.useContext)(c).defaultOptions,f=()=>(0,l.useContext)(c).processUrlSearchParams},95801:(e,t,r)=>{function l(e){}function n(e){}r.d(t,{i:()=>n,t:()=>l}),r(16298)}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9585],{1536:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.get(t.RESOURCEPATH)]})})},t.RESOURCEPATH="/synonym_sets",t}()},2504:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(94066));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},3740:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(){return t.RESOURCEPATH},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/nl_search_models"},enumerable:!1,configurable:!0}),t}()},4358:(t,e,r)=>{"use strict";var n=r(16298);Object.defineProperty(e,"__esModule",{value:!0});var i=r(13083),o=r(52800),a=r(12072),s=void 0!==n&&null!=n.versions&&null!=n.versions.node;e.default=function(t){function e(e,r,n){return t.call(this,e,r,n)||this}return i.__extends(e,t),e.prototype.create=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){if(!t)throw Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,e)]})})},e.prototype.upsert=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){if(!t)throw Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},e,{action:"upsert"}))]})})},e.prototype.update=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){if(!t)throw Error("No document provided");return null!=e.filter_by?[2,this.apiCall.patch(this.endpointPath(),t,Object.assign({},e))]:[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},e,{action:"update"}))]})})},e.prototype.delete=function(){return i.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),i.__generator(this,function(e){return[2,this.apiCall.delete(this.endpointPath(),t)]})})},e.prototype.createMany=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){return this.configuration.logger.warn("createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents"),[2,this.import(t,e)]})})},e.prototype.import=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){var r,n,a,u,c;return void 0===e&&(e={}),i.__generator(this,function(l){switch(l.label){case 0:if(r=i.__assign({throwOnFail:!0},e),Array.isArray(t)){if(0===t.length)throw new o.RequestMalformed("No documents provided");try{n=t.map(function(t){return JSON.stringify(t)}).join("\n")}catch(t){if(t instanceof RangeError&&t.message.includes("Too many properties to enumerate"))throw Error("".concat(t,"\n It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object\n\n Please try reducing the number of keys in your document, or using CURL to import your data.\n "));throw Error(t)}}else{var h;if(null==(h=n=t)||""===h||0===h.length)throw new o.RequestMalformed("No documents provided")}return[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:n,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0,enableKeepAlive:!!s})];case 1:if(a=l.sent(),!Array.isArray(t))return[2,a];if(!((c=(u=a.split("\n").map(function(t){return JSON.parse(t)})).filter(function(t){return!1===t.success})).length>0)||!r.throwOnFail)return[2,u];throw new o.ImportError("".concat(u.length-c.length," documents imported successfully, ").concat(c.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),u,{documentsInJSONLFormat:n,options:r,failedItems:c,successCount:u.length-c.length})}})})},e.prototype.importStream=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){var r,n,a;return void 0===e&&(e={}),i.__generator(this,function(u){switch(u.label){case 0:return r=i.__assign({throwOnFail:!0},e),[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:t,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0,enableKeepAlive:!!s})];case 1:if(!((a=(n=u.sent().split("\n").map(function(t){return JSON.parse(t)})).filter(function(t){return!1===t.success})).length>0)||!r.throwOnFail)return[2,n];throw new o.ImportError("".concat(n.length-a.length," documents imported successfully, ").concat(a.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),n,{documentsInJSONLFormat:t,options:r,failedItems:a,successCount:n.length-a.length})}})})},e.prototype.export=function(){return i.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),i.__generator(this,function(e){return[2,this.apiCall.get(this.endpointPath("export"),t)]})})},e.prototype.exportStream=function(){return i.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),i.__generator(this,function(e){return[2,this.apiCall.get(this.endpointPath("export"),t,{responseType:"stream"})]})})},e}(a.SearchOnlyDocuments)},5523:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57474));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(t){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name),"/items").concat(void 0===t?"":"/"+encodeURIComponent(t))},t}()},9855:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(36524));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},10058:t=>{!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=u(t),a=o[0],s=o[1],c=new i((a+s)*3/4-s),l=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[l++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),u=a(o),c=u.write(n,i);return c!==o&&(u=u.slice(0,c)),u}if(ArrayBuffer.isView(t))return h(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&T(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(t,SharedArrayBuffer)||t&&T(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var l=t.valueOf&&t.valueOf();if(null!=l&&l!==t)return s.from(l,e,r);var d=function(t){if(s.isBuffer(t)){var e=0|f(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(d)return d;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return c(t),a(t<0?0:0|f(t))}function h(t){for(var e=t.length<0?0:0|f(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(c(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return l(t)},s.allocUnsafeSlow=function(t){return l(t)};function f(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||T(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(t).length;default:if(i)return n?-1:S(t).length;e=(""+e).toLowerCase(),i=!0}}function d(t,e,r){var i,o,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=U[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return _(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return g(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function g(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(c(t,o)===c(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else -1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var h=!0,f=0;f<u;f++)if(c(t,o+f)!==c(e,f)){h=!1;break}if(h)return o}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),T(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(T(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?_(this,0,t):d.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,u=Math.min(o,a),c=this.slice(n,i),l=t.slice(e,r),h=0;h<u;++h)if(c[h]!==l[h]){o=c[h],a=l[h];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)};function _(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,u,c=t[i],l=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=r)switch(h){case 1:c<128&&(l=c);break;case 2:(192&(o=t[i+1]))==128&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}var f=n,p=f.length;if(p<=4096)return String.fromCharCode.apply(String,f);for(var d="",v=0;v<p;)d+=String.fromCharCode.apply(String,f.slice(v,v+=4096));return d}function m(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function C(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function w(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function b(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function P(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,u,c,l,h,f=this.length-e;if((void 0===r||r>f)&&(r=f),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,u=parseInt(e.substr(2*a,2),16);if((s=u)!=s)break;t[r+a]=u}return a}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,O(S(t,this.length-i),this,i,o);case"ascii":return a=e,s=r,O(E(t),this,a,s);case"latin1":case"binary":return function(t,e,r,n){return O(E(e),t,r,n)}(this,t,e,r);case"base64":return u=e,c=r,O(A(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,h=r,O(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-l),this,l,h);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUInt8=function(t,e){return t>>>=0,e||m(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||m(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||m(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||m(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||m(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||m(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||m(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||m(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||m(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||m(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||m(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||m(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||m(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||m(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;C(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;C(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);C(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);C(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return b(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return b(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return P(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return P(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),u=a.length;if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var R=/[^+/0-9A-Za-z-_]/g;function S(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function E(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function A(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function O(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function T(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var U=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,h=r?i-1:0,f=r?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=c}return(p?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,h=l>>1,f=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,v=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+h>=1?e+=f/u:e+=f*Math.pow(2,1-h),e*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[r+p]=255&a,p+=d,a/=256,c-=8);t[r+p-d]|=128*v}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}},a=!0;try{e[t](o,o.exports,n),a=!1}finally{a&&delete r[t]}return o.exports}n.ab="//",t.exports=n(72)}()},12072:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SearchOnlyDocuments=void 0;var n=r(13083),i=n.__importDefault(r(56869)),o=n.__importDefault(r(64661)),a=r(80521),s="/documents";e.SearchOnlyDocuments=function(){function t(t,e,r){this.collectionName=t,this.apiCall=e,this.configuration=r,this.requestWithCache=new i.default}return t.prototype.clearCache=function(){this.requestWithCache.clearCache()},t.prototype.search=function(t){return n.__awaiter(this,arguments,void 0,function(t,e){var r,i,o,s,u,c,l=void 0===e?{}:e,h=l.cacheSearchResultsForSeconds,f=void 0===h?this.configuration.cacheSearchResultsForSeconds:h,p=l.abortSignal,d=void 0===p?null:p;return n.__generator(this,function(e){return r={},!0===this.configuration.useServerSideSearchCache&&(r.use_cache=!0),o=(i=(0,a.normalizeArrayableParams)(t)).streamConfig,s=n.__rest(i,["streamConfig"]),c=!0===(u=n.__assign(n.__assign({},r),s)).conversation_stream,[2,this.requestWithCache.perform(this.apiCall,"get",{path:this.endpointPath("search"),queryParams:u,streamConfig:o,abortSignal:d,isStreamingRequest:c},{cacheResponseForSeconds:f})]})})},t.prototype.endpointPath=function(t){return"".concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(s).concat(void 0===t?"":"/"+t)},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return s},enumerable:!1,configurable:!0}),t}()},12661:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57474)),o=n.__importDefault(r(5523)),a=n.__importDefault(r(93118));e.default=function(){function t(t,e){this.name=t,this.apiCall=e,this.individualItems={},this._items=new o.default(this.name,e)}return t.prototype.upsert=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.items=function(t){return void 0===t?this._items:(void 0===this.individualItems[t]&&(this.individualItems[t]=new a.default(this.name,t,this.apiCall)),this.individualItems[t])},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},15746:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SearchOnlyCollection=void 0;var n=r(12072);e.SearchOnlyCollection=function(){function t(t,e,r){this.name=t,this.apiCall=e,this.configuration=r,this._documents=new n.SearchOnlyDocuments(this.name,this.apiCall,this.configuration)}return t.prototype.documents=function(){return this._documents},t}()},15887:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(3740));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},16940:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(65308));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},18587:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/debug")]})})},t}()},19505:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/stopwords"},enumerable:!1,configurable:!0}),t}()},19643:function(t,e,r){var n,i;!function(o,a){"use strict";void 0===(i="function"==typeof(n=a)?n.call(e,r,e,t):n)||(t.exports=i)}(0,function(){"use strict";var t=function(){},e="undefined",r=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],i={},o=null;function a(t,e){var r=t[e];if("function"==typeof r.bind)return r.bind(t);try{return Function.prototype.bind.call(r,t)}catch(e){return function(){return Function.prototype.apply.apply(r,[t,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function u(){for(var r=this.getLevel(),i=0;i<n.length;i++){var o=n[i];this[o]=i<r?t:this.methodFactory(o,r,this.name)}if(this.log=this.debug,typeof console===e&&r<this.levels.SILENT)return"No console available for logging"}function c(t){return function(){typeof console!==e&&(u.call(this),this[t].apply(this,arguments))}}function l(n,i,o){var u;return"debug"===(u=n)&&(u="log"),typeof console!==e&&("trace"===u&&r?s:void 0!==console[u]?a(console,u):void 0!==console.log?a(console,"log"):t)||c.apply(this,arguments)}function h(t,r){var a,s,c,h=this,f="loglevel";function p(){var t;if(typeof window!==e&&f){try{t=window.localStorage[f]}catch(t){}if(typeof t===e)try{var r=window.document.cookie,n=encodeURIComponent(f),i=r.indexOf(n+"=");-1!==i&&(t=/^([^;]+)/.exec(r.slice(i+n.length+1))[1])}catch(t){}return void 0===h.levels[t]&&(t=void 0),t}}function d(t){var e=t;if("string"==typeof e&&void 0!==h.levels[e.toUpperCase()]&&(e=h.levels[e.toUpperCase()]),"number"==typeof e&&e>=0&&e<=h.levels.SILENT)return e;throw TypeError("log.setLevel() called with invalid level: "+t)}"string"==typeof t?f+=":"+t:"symbol"==typeof t&&(f=void 0),h.name=t,h.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},h.methodFactory=r||l,h.getLevel=function(){return null!=c?c:null!=s?s:a},h.setLevel=function(t,r){return c=d(t),!1!==r&&function(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e&&f){try{window.localStorage[f]=r;return}catch(t){}try{window.document.cookie=encodeURIComponent(f)+"="+r+";"}catch(t){}}}(c),u.call(h)},h.setDefaultLevel=function(t){s=d(t),p()||h.setLevel(t,!1)},h.resetLevel=function(){if(c=null,typeof window!==e&&f){try{window.localStorage.removeItem(f)}catch(t){}try{window.document.cookie=encodeURIComponent(f)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}u.call(h)},h.enableAll=function(t){h.setLevel(h.levels.TRACE,t)},h.disableAll=function(t){h.setLevel(h.levels.SILENT,t)},h.rebuild=function(){if(o!==h&&(a=d(o.getLevel())),u.call(h),o===h)for(var t in i)i[t].rebuild()},a=d(o?o.getLevel():"WARN");var v=p();null!=v&&(c=d(v)),u.call(h)}(o=new h).getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw TypeError("You must supply a name when creating a logger.");var e=i[t];return e||(e=i[t]=new h(t,o.methodFactory)),e};var f=typeof window!==e?window.log:void 0;return o.noConflict=function(){return typeof window!==e&&window.log===o&&(window.log=f),o},o.getLoggers=function(){return i},o.default=o,o})},21182:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},24892:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(1536));e.default=function(){function t(t,e,r){this.synonymSetName=t,this.itemId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymSetName),"/items/").concat(encodeURIComponent(this.itemId))},t}()},26528:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(e,r,n){var i=this.constructor,o=t.call(this,e)||this;return o.name=i.name,o.httpBody=r,o.httpStatus=n,Object.setPrototypeOf(o,i.prototype),o}return n.__extends(e,t),e}(Error)},27385:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/conversations/models"},enumerable:!1,configurable:!0}),t}()},31065:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/metrics.json")]})})},t}()},33901:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},36524:(t,e,r)=>{"use strict";var n=r(10058).Buffer;Object.defineProperty(e,"__esModule",{value:!0});var i=r(13083),o=r(88523),a=r(80521),s="/keys";e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(e){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(r){return[2,this.apiCall.post(t.RESOURCEPATH,e)]})})},t.prototype.retrieve=function(){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(t){return[2,this.apiCall.get(s)]})})},t.prototype.generateScopedSearchKey=function(t,e){var r=JSON.stringify((0,a.normalizeArrayableParams)(e)),i=n.from((0,o.createHmac)("sha256",t).update(r).digest("base64")),s=t.substr(0,4),u="".concat(i).concat(s).concat(r);return n.from(u).toString("base64")},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return s},enumerable:!1,configurable:!0}),t}()},39267:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},40108:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(19505));e.default=function(){function t(t,e){this.stopwordId=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.stopwordId))},t}()},40717:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.importResults=r,i.payload=n,i}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},42142:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},46198:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i="/operations";e.default=function(){function t(t){this.apiCall=t}return t.prototype.perform=function(t){return n.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),n.__generator(this,function(r){return[2,this.apiCall.post("".concat(i,"/").concat(t),{},e)]})})},t.prototype.getSchemaChanges=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("".concat(i,"/schema_changes"))]})})},t}()},46308:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i="/aliases";e.default=function(){function t(t){this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(i)]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH,"/").concat(encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return i},enumerable:!1,configurable:!0}),t}()},47570:(t,e,r)=>{"use strict";r.d(e,{YQ:()=>i});var n=r(28081);function i(t,e,r,i){var o=this,a=(0,n.useRef)(null),s=(0,n.useRef)(0),u=(0,n.useRef)(0),c=(0,n.useRef)(null),l=(0,n.useRef)([]),h=(0,n.useRef)(),f=(0,n.useRef)(),p=(0,n.useRef)(t),d=(0,n.useRef)(!0),v=(0,n.useRef)(),y=(0,n.useRef)();p.current=t;var g="undefined"!=typeof window,_=!e&&0!==e&&g;if("function"!=typeof t)throw TypeError("Expected a function");e=+e||0;var m=!!(r=r||{}).leading,C=!("trailing"in r)||!!r.trailing,w=!!r.flushOnExit&&C,b="maxWait"in r,P="debounceOnServer"in r&&!!r.debounceOnServer,R=b?Math.max(+r.maxWait||0,e):null,S=(0,n.useMemo)(function(){var t=function(t){var e=l.current,r=h.current;return l.current=h.current=null,s.current=t,u.current=u.current||t,f.current=p.current.apply(r,e)},r=function(t,e){_&&cancelAnimationFrame(c.current),c.current=_?requestAnimationFrame(t):setTimeout(t,e)},n=function(t){if(!d.current)return!1;var r=t-a.current;return!a.current||r>=e||r<0||b&&t-s.current>=R},S=function(e){return c.current=null,C&&l.current?t(e):(l.current=h.current=null,f.current)},E=function t(){var i=Date.now();if(m&&u.current===s.current&&A(),n(i))return S(i);if(d.current){var o=e-(i-a.current);r(t,b?Math.min(o,R-(i-s.current)):o)}},A=function(){i&&i({})},O=function(){if(g||P){var i,u=Date.now(),p=n(u);if(l.current=[].slice.call(arguments),h.current=o,a.current=u,w&&!v.current&&(v.current=function(){var t;"hidden"===(null==(t=globalThis.document)?void 0:t.visibilityState)&&y.current.flush()},null==(i=globalThis.document)||null==i.addEventListener||i.addEventListener("visibilitychange",v.current)),p){if(!c.current&&d.current)return s.current=a.current,r(E,e),m?t(a.current):f.current;if(b)return r(E,e),t(a.current)}return c.current||r(E,e),f.current}};return O.cancel=function(){var t=c.current;t&&(_?cancelAnimationFrame(c.current):clearTimeout(c.current)),s.current=0,l.current=a.current=h.current=c.current=null,t&&i&&i({})},O.isPending=function(){return!!c.current},O.flush=function(){return c.current?S(Date.now()):f.current},O},[m,b,e,R,C,w,_,g,P,i]);return y.current=S,(0,n.useEffect)(function(){return d.current=!0,function(){var t;w&&y.current.flush(),v.current&&(null==(t=globalThis.document)||null==t.removeEventListener||t.removeEventListener("visibilitychange",v.current),v.current=null),d.current=!1}},[w]),S}},47684:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(46308));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},50360:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57675)),o=n.__importDefault(r(53798)),a=n.__importDefault(r(50529));e.default=function(){function t(t){this.apiCall=t,this.individualAnalyticsRules={},this.apiCall=t,this._analyticsRules=new i.default(this.apiCall),this._analyticsEvents=new a.default(this.apiCall)}return t.prototype.rules=function(t){return void 0===t?this._analyticsRules:(void 0===this.individualAnalyticsRules[t]&&(this.individualAnalyticsRules[t]=new o.default(t,this.apiCall)),this.individualAnalyticsRules[t])},t.prototype.events=function(){return this._analyticsEvents},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics"},enumerable:!1,configurable:!0}),t}()},50529:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t)]})})},t.prototype.retrieve=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.get(this.endpointPath(),t)]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics/events"},enumerable:!1,configurable:!0}),t}()},52641:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},52800:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ImportError=e.TypesenseError=e.ServerError=e.RequestUnauthorized=e.RequestMalformed=e.ObjectUnprocessable=e.ObjectNotFound=e.ObjectAlreadyExists=e.MissingConfigurationError=e.HTTPError=void 0;var n=r(13083);e.HTTPError=n.__importDefault(r(56066)).default,e.MissingConfigurationError=n.__importDefault(r(78444)).default,e.ObjectAlreadyExists=n.__importDefault(r(52641)).default,e.ObjectNotFound=n.__importDefault(r(75980)).default,e.ObjectUnprocessable=n.__importDefault(r(33901)).default,e.RequestMalformed=n.__importDefault(r(42142)).default,e.RequestUnauthorized=n.__importDefault(r(58479)).default,e.ServerError=n.__importDefault(r(68379)).default,e.ImportError=n.__importDefault(r(40717)).default,e.TypesenseError=n.__importDefault(r(26528)).default},53798:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57675));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},54619:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(1536)),o=n.__importDefault(r(83713)),a=n.__importDefault(r(24892));e.default=function(){function t(t,e){this.synonymSetName=t,this.apiCall=e,this.individualItems={},this._items=new o.default(this.synonymSetName,e)}return t.prototype.upsert=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.items=function(t){return void 0===t?this._items:(void 0===this.individualItems[t]&&(this.individualItems[t]=new a.default(this.synonymSetName,t,this.apiCall)),this.individualItems[t])},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymSetName))},t}()},54703:(t,e,r)=>{"use strict";e._t=void 0;var n=r(13083),i=n.__importDefault(r(72343));i.default;var o=n.__importDefault(r(74487));e._t=o.default,n.__importStar(r(52800)),i.default,o.default},56066:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},56869:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(){this.responseCache=new Map,this.responsePromiseCache=new Map}return t.prototype.clearCache=function(){this.responseCache=new Map,this.responsePromiseCache=new Map},t.prototype.perform=function(t,e,r,i){return n.__awaiter(this,void 0,void 0,function(){var o,a,s,u,c,l,h,f,p,d,v,y,g,_,m,C,w,b,P,R,S;return n.__generator(this,function(n){switch(n.label){case 0:if(s=void 0===(a=(o=i||{}).cacheResponseForSeconds)?120:a,c=void 0===(u=o.maxSize)?100:u,l=void 0===i||s<=0||c<=0,h=r.path,f=r.queryParams,p=r.body,d=r.headers,v=r.streamConfig,y=r.abortSignal,g=r.responseType,_=r.isStreamingRequest,l)return[2,this.executeRequest(t,e,h,f,p,d,{abortSignal:y,responseType:g,streamConfig:v,isStreamingRequest:_})];if(m=JSON.stringify(r),C=this.responseCache.get(m),w=Date.now(),C){if(w-C.requestTimestamp<1e3*s)return this.responseCache.delete(m),this.responseCache.set(m,C),[2,C.response];this.responseCache.delete(m)}if(b=this.responsePromiseCache.get(m)){if(w-b.requestTimestamp<1e3*s)return this.responsePromiseCache.delete(m),this.responsePromiseCache.set(m,b),[2,b.responsePromise];this.responsePromiseCache.delete(m)}return P=this.executeRequest(t,e,h,f,p,d,{abortSignal:y,responseType:g,streamConfig:v,isStreamingRequest:_}),this.responsePromiseCache.set(m,{requestTimestamp:w,responsePromise:P}),[4,P];case 1:return R=n.sent(),this.responseCache.set(m,{requestTimestamp:w,response:R}),this.responseCache.size>c&&(S=this.responseCache.keys().next().value)&&this.responseCache.delete(S),this.responsePromiseCache.size>c&&(S=this.responsePromiseCache.keys().next().value)&&this.responsePromiseCache.delete(S),[2,R]}})})},t.prototype.executeRequest=function(t,e,r,n,i,o,a){void 0===n&&(n={});var s=t[e];switch(e){case"get":return s.call(t,r,n,{abortSignal:null==a?void 0:a.abortSignal,responseType:null==a?void 0:a.responseType,streamConfig:null==a?void 0:a.streamConfig,isStreamingRequest:null==a?void 0:a.isStreamingRequest});case"delete":return s.call(t,r,n);case"post":return s.call(t,r,i,n,o||{},{abortSignal:null==a?void 0:a.abortSignal,responseType:null==a?void 0:a.responseType,streamConfig:null==a?void 0:a.streamConfig,isStreamingRequest:null==a?void 0:a.isStreamingRequest});case"put":case"patch":return s.call(t,r,i,n);default:throw Error("Unsupported method: ".concat(String(e)))}},t}()},57309:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrayableParams=void 0,e.arrayableParams={query_by:"query_by",query_by_weights:"query_by_weights",facet_by:"facet_by",group_by:"group_by",include_fields:"include_fields",exclude_fields:"exclude_fields",highlight_fields:"highlight_fields",highlight_full_fields:"highlight_full_fields",pinned_hits:"pinned_hits",hidden_hits:"hidden_hits",infix:"infix",override_tags:"override_tags",num_typos:"num_typos",prefix:"prefix",synonym_sets:"synonym_sets",sort_by:"sort_by"}},57474:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.get(t.RESOURCEPATH)]})})},t.RESOURCEPATH="/curation_sets",t}()},57675:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t,{},{})]})})},t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(t){return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){return e={},t&&(e.rule_tag=t),[2,this.apiCall.get(this.endpointPath(),e)]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics/rules"},enumerable:!1,configurable:!0}),t}()},58479:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},59871:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});let n=(t,e)=>e.some(e=>e instanceof RegExp?e.test(t):e===t),i=new Set(["https:","http:","file:"]);function o(t,e){if("string"!=typeof(e={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,removePath:!1,transformPath:!1,...e}).defaultProtocol||e.defaultProtocol.endsWith(":")||(e.defaultProtocol=`${e.defaultProtocol}:`),t=t.trim(),/^data:/i.test(t))return((t,{stripHash:e})=>{let r=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(t);if(!r)throw Error(`Invalid URL: ${t}`);let{type:n,data:i,hash:o}=r.groups,a=n.split(";"),s="base64"===a.at(-1);s&&a.pop();let u=a.shift()?.toLowerCase()??"",c=[...a.map(t=>{let[e,r=""]=t.split("=").map(t=>t.trim());return"charset"===e&&"us-ascii"===(r=r.toLowerCase())?"":`${e}${r?`=${r}`:""}`}).filter(Boolean)];s&&c.push("base64"),(c.length>0||u&&"text/plain"!==u)&&c.unshift(u);let l=e||!o?"":`#${o}`;return`data:${c.join(";")},${s?i.trim():i}${l}`})(t,e);if((t=>{try{let{protocol:e}=new URL(t);return e.endsWith(":")&&!e.includes(".")&&!i.has(e)}catch{return!1}})(t))return t;let r=t.startsWith("//");!r&&/^\.*\//.test(t)||(t=t.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,e.defaultProtocol));let o=new URL(t);if(e.forceHttp&&e.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(e.forceHttp&&"https:"===o.protocol&&(o.protocol="http:"),e.forceHttps&&"http:"===o.protocol&&(o.protocol="https:"),e.stripAuthentication&&(o.username="",o.password=""),e.stripHash?o.hash="":e.stripTextFragment&&(o.hash=o.hash.replace(/#?:~:text.*?$/i,"")),o.pathname){let t=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,e=0,r="";for(;;){let n=t.exec(o.pathname);if(!n)break;let i=n[0],a=n.index;r+=o.pathname.slice(e,a).replace(/\/{2,}/g,"/"),r+=i,e=a+i.length}r+=o.pathname.slice(e,o.pathname.length).replace(/\/{2,}/g,"/"),o.pathname=r}if(o.pathname)try{o.pathname=decodeURI(o.pathname).replace(/\\/g,"%5C")}catch{}if(!0===e.removeDirectoryIndex&&(e.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(e.removeDirectoryIndex)&&e.removeDirectoryIndex.length>0){let t=o.pathname.split("/").filter(Boolean),r=t.at(-1);r&&n(r,e.removeDirectoryIndex)&&(t.pop(),o.pathname=t.length>0?`/${t.join("/")}/`:"/")}if(e.removePath&&(o.pathname="/"),e.transformPath&&"function"==typeof e.transformPath){let t=o.pathname.split("/").filter(Boolean),r=e.transformPath(t);o.pathname=r?.length>0?`/${r.join("/")}`:"/"}if(o.hostname&&(o.hostname=o.hostname.replace(/\.$/,""),e.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(o.hostname)&&(o.hostname=o.hostname.replace(/^www\./,""))),Array.isArray(e.removeQueryParameters))for(let t of[...o.searchParams.keys()])n(t,e.removeQueryParameters)&&o.searchParams.delete(t);if(Array.isArray(e.keepQueryParameters)||!0!==e.removeQueryParameters||(o.search=""),Array.isArray(e.keepQueryParameters)&&e.keepQueryParameters.length>0)for(let t of[...o.searchParams.keys()])n(t,e.keepQueryParameters)||o.searchParams.delete(t);if(e.sortQueryParameters){let t=o.search;o.searchParams.sort();try{o.search=decodeURIComponent(o.search)}catch{}for(let e of t.slice(1).split("&").filter(t=>t&&!t.includes("="))){let t=decodeURIComponent(e);o.search=o.search.replace(`?${t}=`,`?${t}`).replace(`&${t}=`,`&${t}`)}}e.removeTrailingSlash&&(o.pathname=o.pathname.replace(/\/$/,"")),e.removeExplicitPort&&o.port&&(o.port="");let a=t;return t=o.toString(),e.removeSingleSlash||"/"!==o.pathname||a.endsWith("/")||""!==o.hash||(t=t.replace(/\/$/,"")),(e.removeTrailingSlash||"/"===o.pathname)&&""===o.hash&&e.removeSingleSlash&&(t=t.replace(/\/$/,"")),r&&!e.normalizeProtocol&&(t=t.replace(/^http:\/\//,"//")),e.stripProtocol&&(t=t.replace(/^(?:https?:)?\/\//,"")),t}},64661:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i="/collections";e.default=function(){function t(t){this.apiCall=t}return t.prototype.create=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.post(i,t,e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),n.__generator(this,function(e){return[2,this.apiCall.get(i,t)]})})},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return i},enumerable:!1,configurable:!0}),t}()},65308:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){var r,i;return n.__generator(this,function(n){switch(n.label){case 0:return r=Array.isArray(e)?e.map(function(t){return JSON.stringify(t)}).join("\n"):e,[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:{id:t},bodyParameters:r,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0})];case 1:return i=n.sent(),[2,Array.isArray(e)?i.split("\n").map(function(t){return JSON.parse(t)}):i]}})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return void 0===e?"".concat(t.RESOURCEPATH):"".concat(t.RESOURCEPATH,"/").concat(encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/stemming/dictionaries"},enumerable:!1,configurable:!0}),t}()},65674:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/health")]})})},t}()},65873:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Document=void 0;var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(4358));e.Document=function(){function t(t,e,r){this.collectionName=t,this.documentId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.delete(this.endpointPath(),t)]})})},t.prototype.update=function(t){return n.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),n.__generator(this,function(r){return[2,this.apiCall.patch(this.endpointPath(),t,e)]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.documentId))},t}()},66178:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importStar(r(19643)),o=r(52800);e.default=function(){function t(t){var e=this;this.nodes=t.nodes||[],this.nodes=this.nodes.map(function(t){return e.setDefaultPathInNode(t)}).map(function(t){return e.setDefaultPortInNode(t)}).map(function(t){return n.__assign({},t)}),null==t.randomizeNodes&&(t.randomizeNodes=!0),!0===t.randomizeNodes&&this.shuffleArray(this.nodes),this.nearestNode=t.nearestNode,this.nearestNode=this.setDefaultPathInNode(this.nearestNode),this.nearestNode=this.setDefaultPortInNode(this.nearestNode),this.connectionTimeoutSeconds=t.connectionTimeoutSeconds||t.timeoutSeconds||5,this.healthcheckIntervalSeconds=t.healthcheckIntervalSeconds||60,this.numRetries=(void 0!==t.numRetries&&t.numRetries>=0?t.numRetries:this.nodes.length+ +(null!=this.nearestNode))||3,this.retryIntervalSeconds=t.retryIntervalSeconds||.1,this.apiKey=t.apiKey,this.sendApiKeyAsQueryParam=t.sendApiKeyAsQueryParam,this.cacheSearchResultsForSeconds=t.cacheSearchResultsForSeconds||0,this.useServerSideSearchCache=t.useServerSideSearchCache||!1,this.axiosAdapter=t.axiosAdapter,this.logger=t.logger||i,this.logLevel=t.logLevel||"warn",this.logger.setLevel(this.logLevel),this.additionalHeaders=t.additionalHeaders,this.httpAgent=t.httpAgent,this.httpsAgent=t.httpsAgent,this.paramsSerializer=t.paramsSerializer,this.showDeprecationWarnings(t),this.validate()}return t.prototype.validate=function(){if(null==this.nodes||0===this.nodes.length||this.validateNodes())throw new o.MissingConfigurationError("Ensure that nodes[].protocol, nodes[].host and nodes[].port are set");if(null!=this.nearestNode&&this.isNodeMissingAnyParameters(this.nearestNode))throw new o.MissingConfigurationError("Ensure that nearestNodes.protocol, nearestNodes.host and nearestNodes.port are set");if(null==this.apiKey)throw new o.MissingConfigurationError("Ensure that apiKey is set");return!0},t.prototype.validateNodes=function(){var t=this;return this.nodes.some(function(e){return t.isNodeMissingAnyParameters(e)})},t.prototype.isNodeMissingAnyParameters=function(t){return!["protocol","host","port","path"].every(function(e){return t.hasOwnProperty(e)})&&null==t.url},t.prototype.setDefaultPathInNode=function(t){return null==t||t.hasOwnProperty("path")||(t.path=""),t},t.prototype.setDefaultPortInNode=function(t){if(null!=t&&!t.hasOwnProperty("port")&&t.hasOwnProperty("protocol"))switch(t.protocol){case"https":t.port=443;break;case"http":t.port=80}return t},t.prototype.showDeprecationWarnings=function(t){t.timeoutSeconds&&this.logger.warn("Deprecation warning: timeoutSeconds is now renamed to connectionTimeoutSeconds"),t.masterNode&&this.logger.warn("Deprecation warning: masterNode is now consolidated to nodes, starting with Typesense Server v0.12"),t.readReplicaNodes&&this.logger.warn("Deprecation warning: readReplicaNodes is now consolidated to nodes, starting with Typesense Server v0.12")},t.prototype.shuffleArray=function(t){for(var e,r=t.length-1;r>0;r--){var n=Math.floor(Math.random()*(r+1));e=[t[n],t[r]],t[r]=e[0],t[n]=e[1]}},t}()},67417:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(72158));e.default=function(){function t(t,e,r){this.collectionName=t,this.synonymId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return t.hasWarnedDeprecation||(console.warn("[typesense] 'synonym' APIs are deprecated starting with Typesense Server v30. Please migrate to synonym sets 'synonym_sets'."),t.hasWarnedDeprecation=!0),"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymId))},t.hasWarnedDeprecation=!1,t}()},68379:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},69015:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(94420));e.default=function(){function t(t,e){this.presetId=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.presetId))},t}()},69039:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(83292));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},69256:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(4358)),a=r(52800),s=n.__importDefault(r(98669)),u=n.__importDefault(r(70064)),c=n.__importDefault(r(72158)),l=n.__importDefault(r(67417)),h=r(65873);e.default=function(){function t(t,e,r){this.name=t,this.apiCall=e,this.configuration=r,this.individualDocuments={},this.individualOverrides={},this.individualSynonyms={},this.name=t,this.apiCall=e,this.configuration=r,this._documents=new o.default(this.name,this.apiCall,this.configuration),this._overrides=new s.default(this.name,this.apiCall),this._synonyms=new c.default(this.name,this.apiCall)}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.patch(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),n.__generator(this,function(e){return[2,this.apiCall.delete(this.endpointPath(),t)]})})},t.prototype.exists=function(){return n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.retrieve()];case 1:return e.sent(),[2,!0];case 2:if((t=e.sent())instanceof a.ObjectNotFound)return[2,!1];throw t;case 3:return[2]}})})},t.prototype.documents=function(t){return t?(void 0===this.individualDocuments[t]&&(this.individualDocuments[t]=new h.Document(this.name,t,this.apiCall)),this.individualDocuments[t]):this._documents},t.prototype.overrides=function(t){return void 0===t?this._overrides:(void 0===this.individualOverrides[t]&&(this.individualOverrides[t]=new u.default(this.name,t,this.apiCall)),this.individualOverrides[t])},t.prototype.synonyms=function(t){return void 0===t?this._synonyms:(void 0===this.individualSynonyms[t]&&(this.individualSynonyms[t]=new l.default(this.name,t,this.apiCall)),this.individualSynonyms[t])},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},70064:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(98669));e.default=function(){function t(t,e,r){this.collectionName=t,this.overrideId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.overrideId))},t}()},71869:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(56869)),o=r(80521);e.default=function(){function t(t,e,r){void 0===r&&(r=!1),this.apiCall=t,this.configuration=e,this.useTextContentType=r,this.requestWithCache=new i.default,this.logger=this.apiCall.logger}return t.prototype.clearCache=function(){this.requestWithCache.clearCache()},t.prototype.perform=function(t,e,r){return n.__awaiter(this,void 0,void 0,function(){var i,a,s,u,c,l,h;return n.__generator(this,function(f){return i=e?n.__assign({},e):{},a=null!=(h=null==r?void 0:r.cacheSearchResultsForSeconds)?h:this.configuration.cacheSearchResultsForSeconds,!0===this.configuration.useServerSideSearchCache&&(i.use_cache=!0),!0===t.union&&this.hasAnySearchObjectPagination(t)&&this.logger.warn("Individual `searches` pagination parameters are ignored when `union: true` is set. Use a top-level pagination parameter instead. See https://typesense.org/docs/29.0/api/federated-multi-search.html#union-search"),s={union:t.union,searches:t.searches.map(o.normalizeArrayableParams)},u=i.streamConfig,c=n.__rest(i,["streamConfig"]),l=(0,o.normalizeArrayableParams)(c),[2,this.requestWithCache.perform(this.apiCall,"post",{path:"/multi_search",body:s,queryParams:l,headers:this.useTextContentType?{"content-type":"text/plain"}:{},streamConfig:u,abortSignal:null==r?void 0:r.abortSignal,isStreamingRequest:this.isStreamingRequest(i)},void 0!==a?{cacheResponseForSeconds:a}:void 0)]})})},t.prototype.isStreamingRequest=function(t){return void 0!==t.streamConfig},t.prototype.hasAnySearchObjectPagination=function(t){return t.searches.some(function(t){return void 0!==t.page||void 0!==t.per_page||void 0!==t.offset||void 0!==t.limit||void 0!==t.limit_hits})},t}()},72158:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661));e.default=function(){function t(t,e){this.collectionName=t,this.apiCall=e}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return t.hasWarnedDeprecation||(console.warn("[typesense] 'synonyms' APIs are deprecated starting with Typesense Server v30. Please migrate to synonym sets ('synonym_sets')."),t.hasWarnedDeprecation=!0),"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/synonyms"},enumerable:!1,configurable:!0}),t.hasWarnedDeprecation=!1,t}()},72343:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(66178)),o=n.__importDefault(r(99680)),a=n.__importDefault(r(64661)),s=n.__importDefault(r(69256)),u=n.__importDefault(r(46308)),c=n.__importDefault(r(47684)),l=n.__importDefault(r(36524)),h=n.__importDefault(r(9855)),f=n.__importDefault(r(18587)),p=n.__importDefault(r(31065)),d=n.__importDefault(r(72639)),v=n.__importDefault(r(65674)),y=n.__importDefault(r(46198)),g=n.__importDefault(r(71869)),_=n.__importDefault(r(94420)),m=n.__importDefault(r(69015)),C=n.__importDefault(r(78513)),w=n.__importDefault(r(50360)),b=n.__importDefault(r(19505)),P=n.__importDefault(r(40108)),R=n.__importDefault(r(83292)),S=n.__importDefault(r(69039)),E=n.__importDefault(r(97872)),A=n.__importDefault(r(3740)),O=n.__importDefault(r(15887)),T=n.__importDefault(r(1536)),U=n.__importDefault(r(54619)),D=n.__importDefault(r(57474)),N=n.__importDefault(r(12661));e.default=function(){function t(t){var e;t.sendApiKeyAsQueryParam=null!=(e=t.sendApiKeyAsQueryParam)&&e,this.configuration=new i.default(t),this.apiCall=new o.default(this.configuration),this.debug=new f.default(this.apiCall),this.metrics=new p.default(this.apiCall),this.stats=new d.default(this.apiCall),this.health=new v.default(this.apiCall),this.operations=new y.default(this.apiCall),this.multiSearch=new g.default(this.apiCall,this.configuration),this._collections=new a.default(this.apiCall),this.individualCollections={},this._aliases=new u.default(this.apiCall),this.individualAliases={},this._keys=new l.default(this.apiCall),this.individualKeys={},this._presets=new _.default(this.apiCall),this.individualPresets={},this._stopwords=new b.default(this.apiCall),this.individualStopwords={},this.analytics=new w.default(this.apiCall),this.analyticsV1=new C.default(this.apiCall),this.stemming=new E.default(this.apiCall),this._conversations=new R.default(this.apiCall),this.individualConversations={},this._nlSearchModels=new A.default(this.apiCall),this.individualNLSearchModels={},this._synonymSets=new T.default(this.apiCall),this.individualSynonymSets={},this._curationSets=new D.default(this.apiCall),this.individualCurationSets={}}return t.prototype.collections=function(t){return void 0===t?this._collections:(void 0===this.individualCollections[t]&&(this.individualCollections[t]=new s.default(t,this.apiCall,this.configuration)),this.individualCollections[t])},t.prototype.aliases=function(t){return void 0===t?this._aliases:(void 0===this.individualAliases[t]&&(this.individualAliases[t]=new c.default(t,this.apiCall)),this.individualAliases[t])},t.prototype.keys=function(t){return void 0===t?this._keys:(void 0===this.individualKeys[t]&&(this.individualKeys[t]=new h.default(t,this.apiCall)),this.individualKeys[t])},t.prototype.presets=function(t){return void 0===t?this._presets:(void 0===this.individualPresets[t]&&(this.individualPresets[t]=new m.default(t,this.apiCall)),this.individualPresets[t])},t.prototype.stopwords=function(t){return void 0===t?this._stopwords:(void 0===this.individualStopwords[t]&&(this.individualStopwords[t]=new P.default(t,this.apiCall)),this.individualStopwords[t])},t.prototype.conversations=function(t){return void 0===t?this._conversations:(void 0===this.individualConversations[t]&&(this.individualConversations[t]=new S.default(t,this.apiCall)),this.individualConversations[t])},t.prototype.nlSearchModels=function(t){return void 0===t?this._nlSearchModels:(void 0===this.individualNLSearchModels[t]&&(this.individualNLSearchModels[t]=new O.default(t,this.apiCall)),this.individualNLSearchModels[t])},t.prototype.synonymSets=function(t){return void 0===t?this._synonymSets:(void 0===this.individualSynonymSets[t]&&(this.individualSynonymSets[t]=new U.default(t,this.apiCall)),this.individualSynonymSets[t])},t.prototype.curationSets=function(t){return void 0===t?this._curationSets:(void 0===this.individualCurationSets[t]&&(this.individualCurationSets[t]=new N.default(t,this.apiCall)),this.individualCurationSets[t])},t}()},72639:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/stats.json")]})})},t}()},73284:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(27385));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},74487:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(66178)),o=n.__importDefault(r(99680)),a=n.__importDefault(r(71869)),s=r(15746);e.default=function(){function t(t){var e;t.sendApiKeyAsQueryParam=null==(e=t.sendApiKeyAsQueryParam)||e,!0===t.sendApiKeyAsQueryParam&&(t.apiKey||"").length>2e3&&(console.warn("[typesense] API Key is longer than 2000 characters which is over the allowed limit, so disabling sending it as a query parameter."),t.sendApiKeyAsQueryParam=!1),this.configuration=new i.default(t),this.apiCall=new o.default(this.configuration),this.multiSearch=new a.default(this.apiCall,this.configuration,!0),this.individualCollections={}}return t.prototype.clearCache=function(){this.multiSearch.clearCache(),Object.entries(this.individualCollections).forEach(function(t){t[0],t[1].documents().clearCache()})},t.prototype.collections=function(t){if(t)return void 0===this.individualCollections[t]&&(this.individualCollections[t]=new s.SearchOnlyCollection(t,this.apiCall,this.configuration)),this.individualCollections[t];throw Error("Typesense.SearchClient only supports search operations, so the collectionName that needs to be searched must be specified. Use Typesense.Client if you need to access the collection object.")},t}()},75980:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},78444:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},78513:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(94066)),o=n.__importDefault(r(2504)),a=n.__importDefault(r(50529));e.default=function(){function t(t){this.apiCall=t,this.individualAnalyticsRules={},this.apiCall=t,this._analyticsRules=new i.default(this.apiCall),this._analyticsEvents=new a.default(this.apiCall)}return t.prototype.rules=function(e){return(t.hasWarnedDeprecation||(console.warn("[typesense] 'analyticsV1' is deprecated starting with Typesense Server v30 and will be removed in a future release. Please use 'analytics' instead."),t.hasWarnedDeprecation=!0),void 0===e)?this._analyticsRules:(void 0===this.individualAnalyticsRules[e]&&(this.individualAnalyticsRules[e]=new o.default(e,this.apiCall)),this.individualAnalyticsRules[e])},t.prototype.events=function(){return this._analyticsEvents},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics"},enumerable:!1,configurable:!0}),t.hasWarnedDeprecation=!1,t}()},80521:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeArrayableParams=function(t){var e=n.__assign({},t);if(!Object.keys(i.arrayableParams).filter(function(t){return Array.isArray(e[t])}).map(function(t){return e[t]=e[t].join(","),t}).length&&o(e))return e;if(!o(e))throw Error("Failed to normalize arrayable params: ".concat(JSON.stringify(e)));return e},e.toErrorWithMessage=function(t){if("object"==typeof t&&null!==t&&"message"in t&&"string"==typeof t.message)return t;try{if("string"==typeof t)return Error(t);return Error(JSON.stringify(t))}catch(e){return Error(String(t))}};var n=r(13083),i=r(57309);function o(t){return Object.keys(i.arrayableParams).filter(function(e){return void 0!==t[e]}).every(function(e){return!Array.isArray(t[e])})}},83292:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(27385)),o=n.__importDefault(r(73284)),a="/conversations";e.default=function(){function t(t){this.apiCall=t,this.individualConversationModels={},this.apiCall=t,this._conversationsModels=new i.default(this.apiCall)}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(a)]})})},t.prototype.models=function(t){return void 0===t?this._conversationsModels:(void 0===this.individualConversationModels[t]&&(this.individualConversationModels[t]=new o.default(t,this.apiCall)),this.individualConversationModels[t])},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return a},enumerable:!1,configurable:!0}),t}()},83713:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(1536));e.default=function(){function t(t,e){this.synonymSetName=t,this.apiCall=e}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(t){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymSetName),"/items").concat(void 0===t?"":"/"+encodeURIComponent(t))},t}()},88443:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},93118:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57474));e.default=function(){function t(t,e,r){this.name=t,this.itemId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.upsert=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name),"/items/").concat(encodeURIComponent(this.itemId))},t}()},94066:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics/rules"},enumerable:!1,configurable:!0}),t}()},94420:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=r(80521);e.default=function(){function t(t){this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){var r,o;return n.__generator(this,function(n){return"object"==typeof e.value&&"searches"in e.value?(r=e.value.searches.map(function(t){return(0,i.normalizeArrayableParams)(t)}),[2,this.apiCall.put(this.endpointPath(t),{value:{searches:r}})]):(o=(0,i.normalizeArrayableParams)(e.value),[2,this.apiCall.put(this.endpointPath(t),{value:o})])})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/presets"},enumerable:!1,configurable:!0}),t}()},94705:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},97872:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(65308)),o=n.__importDefault(r(16940));e.default=function(){function t(t){this.apiCall=t,this.individualStemmingDictionaries={},this.apiCall=t,this._stemmingDictionaries=new i.default(this.apiCall)}return t.prototype.dictionaries=function(t){return void 0===t?this._stemmingDictionaries:(void 0===this.individualStemmingDictionaries[t]&&(this.individualStemmingDictionaries[t]=new o.default(t,this.apiCall)),this.individualStemmingDictionaries[t])},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/stemming"},enumerable:!1,configurable:!0}),t}()},98669:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661));e.default=function(){function t(t,e){this.collectionName=t,this.apiCall=e}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(i.default.RESOURCEPATH,"/").concat(this.collectionName).concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/overrides"},enumerable:!1,configurable:!0}),t}()},99680:(t,e,r)=>{"use strict";var n=r(16298);Object.defineProperty(e,"__esModule",{value:!0});var i=r(13083),o=i.__importDefault(r(8583)),a=r(17784),s=r(17715),u=r(52800),c=i.__importDefault(r(26528)),l=r(80521),h=void 0!==n&&null!=n.versions&&null!=n.versions.node&&"undefined"==typeof window;e.default=function(){function t(t){this.configuration=t,this.apiKey=this.configuration.apiKey,this.nodes=null==this.configuration.nodes?this.configuration.nodes:JSON.parse(JSON.stringify(this.configuration.nodes)),this.nearestNode=null==this.configuration.nearestNode?this.configuration.nearestNode:JSON.parse(JSON.stringify(this.configuration.nearestNode)),this.connectionTimeoutSeconds=this.configuration.connectionTimeoutSeconds,this.healthcheckIntervalSeconds=this.configuration.healthcheckIntervalSeconds,this.numRetriesPerRequest=this.configuration.numRetries,this.retryIntervalSeconds=this.configuration.retryIntervalSeconds,this.sendApiKeyAsQueryParam=this.configuration.sendApiKeyAsQueryParam,this.additionalUserHeaders=this.configuration.additionalHeaders,this.logger=this.configuration.logger,this.initializeMetadataForNodes(),this.currentNodeIndex=-1}return t.prototype.get=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r){void 0===e&&(e={});var n=void 0===r?{}:r,o=n.abortSignal,a=void 0===o?null:o,s=n.responseType,u=void 0===s?void 0:s,c=n.streamConfig,l=void 0===c?void 0:c,h=n.isStreamingRequest;return i.__generator(this,function(r){return[2,this.performRequest("get",t,{queryParameters:e,abortSignal:a,responseType:u,streamConfig:l,isStreamingRequest:h})]})})},t.prototype.delete=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){return[2,this.performRequest("delete",t,{queryParameters:e,isStreamingRequest:!1})]})})},t.prototype.post=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r,n,o){void 0===e&&(e={}),void 0===r&&(r={}),void 0===n&&(n={});var a=void 0===o?{}:o,s=a.abortSignal,u=void 0===s?null:s,c=a.responseType,l=void 0===c?void 0:c,h=a.streamConfig,f=void 0===h?void 0:h,p=a.isStreamingRequest;return i.__generator(this,function(i){return[2,this.performRequest("post",t,{queryParameters:r,bodyParameters:e,additionalHeaders:n,abortSignal:u,responseType:l,streamConfig:f,isStreamingRequest:p})]})})},t.prototype.put=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r={}),i.__generator(this,function(n){return[2,this.performRequest("put",t,{queryParameters:r,bodyParameters:e,isStreamingRequest:!1})]})})},t.prototype.patch=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r={}),i.__generator(this,function(n){return[2,this.performRequest("patch",t,{queryParameters:r,bodyParameters:e,isStreamingRequest:!1})]})})},t.prototype.getAdapter=function(){if(this.configuration.axiosAdapter)return"function"==typeof this.configuration.axiosAdapter?this.configuration.axiosAdapter:"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent?o.default.getAdapter(this.configuration.axiosAdapter).bind(globalThis):o.default.getAdapter(this.configuration.axiosAdapter)},t.prototype.performRequest=function(t,e,r){return i.__awaiter(this,arguments,void 0,function(t,e,r){var n,u,c,l,f,p,d,v,y,g,_,m=r.queryParameters,C=void 0===m?null:m,w=r.bodyParameters,b=void 0===w?null:w,P=r.additionalHeaders,R=void 0===P?{}:P,S=r.abortSignal,E=void 0===S?null:S,A=r.responseType,O=void 0===A?void 0:A,T=r.skipConnectionTimeout,U=void 0!==T&&T,D=r.enableKeepAlive,N=void 0===D?void 0:D,I=r.streamConfig,j=void 0===I?void 0:I,k=r.isStreamingRequest;return i.__generator(this,function(r){switch(r.label){case 0:this.configuration.validate(),k&&(this.logger.debug("Request: Performing streaming request to ".concat(e)),h||"undefined"==typeof fetch||(this.logger.debug("Using fetch adapter for browser streaming"),O="stream")),n=Date.now(),c=!1,this.logger.debug("Request #".concat(n,": Performing ").concat(t.toUpperCase()," request: ").concat(e)),l=function(r){var l,p,d,m,w,P;return i.__generator(this,function(S){switch(S.label){case 0:if(l=f.getNextNode(n),f.logger.debug("Request #".concat(n,": Attempting ").concat(t.toUpperCase()," request Try #").concat(r," to Node ").concat(l.index)),E&&E.aborted)return[2,{value:Promise.reject(Error("Request aborted by caller."))}];p=void 0,S.label=1;case 1:return S.trys.push([1,3,5,6]),(d={method:t,url:f.uriFor(e,l),headers:Object.assign({},f.defaultHeaders(),R,f.additionalUserHeaders),maxContentLength:1/0,maxBodyLength:1/0,validateStatus:function(t){return t>0},transformResponse:[function(t,e){var r=t;return void 0!==e&&"string"==typeof t&&e["content-type"]&&e["content-type"].startsWith("application/json")&&(r=JSON.parse(t)),r}]}).adapter=k&&!h?"fetch":f.getAdapter(),!0!==U&&(d.timeout=1e3*f.connectionTimeoutSeconds),C&&0!==Object.keys(C).length&&(d.params=C),f.sendApiKeyAsQueryParam&&(d.params=d.params||{},d.params["x-typesense-api-key"]=f.apiKey),f.configuration.httpAgent?(f.logger.debug("Request #".concat(n,": Using custom httpAgent")),d.httpAgent=f.configuration.httpAgent):!0===N&&(h?(f.logger.debug("Request #".concat(n,": Enabling KeepAlive")),d.httpAgent=new a.Agent({keepAlive:!0})):f.logger.warn("Request #".concat(n,": Cannot use custom httpAgent in a browser environment to enable keepAlive"))),f.configuration.httpsAgent?(f.logger.debug("Request #".concat(n,": Using custom httpsAgent")),d.httpsAgent=f.configuration.httpsAgent):!0===N&&(h?(f.logger.debug("Request #".concat(n,": Enabling keepAlive")),d.httpsAgent=new s.Agent({keepAlive:!0})):f.logger.warn("Request #".concat(n,": Cannot use custom httpAgent in a browser environment to enable keepAlive"))),f.configuration.paramsSerializer&&(f.logger.debug("Request #".concat(n,": Using custom paramsSerializer")),d.paramsSerializer=f.configuration.paramsSerializer),b&&("string"==typeof b&&0!==b.length||"object"==typeof b&&0!==Object.keys(b).length)&&(d.data=b),E&&(m=o.default.CancelToken.source(),p=function(){c=!0,m.cancel()},E.addEventListener("abort",p),d.cancelToken=m.token),k?(d.responseType="stream",h||(d.headers=i.__assign(i.__assign({},d.headers),{Accept:"text/event-stream"}))):O&&(d.responseType=O),[4,(0,o.default)(d)];case 2:if((w=S.sent()).status>=1&&w.status<=499&&f.setNodeHealthcheck(l,!0),f.logger.debug("Request #".concat(n,": Request to Node ").concat(l.index," was made. Response Code was ").concat(w.status,".")),w.status>=200&&w.status<300){if(k)return[2,{value:f.handleStreamingResponse(w,j)}];return[2,{value:Promise.resolve(w.data)}]}if(w.status<500)return[2,{value:Promise.reject(f.customErrorForResponse(w,null==(v=w.data)?void 0:v.message,d.data))}];throw f.customErrorForResponse(w,null==(y=w.data)?void 0:y.message,d.data);case 3:if(P=S.sent(),c||f.setNodeHealthcheck(l,!1),u=P,f.logger.warn("Request #".concat(n,": Request to Node ").concat(l.index,' failed due to "').concat(null!=(g=null==P?void 0:P.code)?g:""," ").concat(P.message).concat(null==P.response?"":" - "+JSON.stringify(null==(_=P.response)?void 0:_.data),'"')),c)return[2,{value:Promise.reject(Error("Request aborted by caller."))}];if(k&&f.invokeOnErrorCallback(P,j),!(r<f.numRetriesPerRequest+1))return f.logger.debug("Request #".concat(n,": No retries left. Raising last error")),[2,{value:Promise.reject(u)}];return f.logger.warn("Request #".concat(n,": Sleeping for ").concat(f.retryIntervalSeconds,"s and then retrying request...")),[4,f.timer(f.retryIntervalSeconds)];case 4:return S.sent(),[3,6];case 5:return E&&p&&E.removeEventListener("abort",p),[7];case 6:return[2]}})},f=this,p=1,r.label=1;case 1:if(!(p<=this.numRetriesPerRequest+1))return[3,4];return[5,l(p)];case 2:if("object"==typeof(d=r.sent()))return[2,d.value];r.label=3;case 3:return p++,[3,1];case 4:return this.logger.debug("Request #".concat(n,": No retries left. Raising last error")),[2,Promise.reject(u)]}})})},t.prototype.processStreamingLine=function(t){if(!t.trim()||"data: [DONE]"===t)return null;if(t.startsWith("data: "))return this.processDataLine(t.slice(6).trim());if(t.trim().startsWith("{"))try{var e=JSON.parse(t.trim());if(e&&"object"==typeof e)return e.conversation_id||(e.conversation_id="unknown"),e.message||""===e.message||(e.message=""),e;return{conversation_id:"unknown",message:JSON.stringify(e)}}catch(t){}return{conversation_id:"unknown",message:t.trim()}},t.prototype.processDataLine=function(t){if(!t)return null;if(t.startsWith("{"))try{var e=JSON.parse(t);if(e&&"object"==typeof e)return e.conversation_id||(e.conversation_id="unknown"),e.message||""===e.message||(e.message=""),e;return{conversation_id:"unknown",message:JSON.stringify(e)}}catch(t){}return{conversation_id:"unknown",message:t}},t.prototype.handleStreamingResponse=function(t,e){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(r){return(this.logger.debug("Handling streaming response. Environment: ".concat(h?"Node.js":"Browser")),h&&t.data)?[2,this.handleNodeStreaming(t,e)]:h?(this.logger.debug("Processing non-streaming response"),this.invokeOnCompleteCallback(t.data,e),[2,Promise.resolve(t.data)]):[2,this.handleBrowserStreaming(t,e)]})})},t.prototype.handleNodeStreaming=function(t,e){var r=this;return this.logger.debug("Processing Node.js stream"),new Promise(function(n,i){var o=t.data,a=[],s="";o.on("data",function(t){var n;try{var o=t.toString(),u=(s+=o).split("\n");s=null!=(n=u.pop())?n:"",r.processStreamLines(u,a,e)}catch(t){i(t)}}),o.on("end",function(){if(s.trim().length>0){var i=s.split("\n");r.processStreamLines(i,a,e)}r.finalizeStreamResult(a,n,t,e)}),o.on("error",function(t){r.logger.error("Stream error: ".concat(t)),r.invokeOnErrorCallback(t,e),i(t)})})},t.prototype.handleBrowserStreaming=function(t,e){var r=this;return this.logger.debug("Processing browser stream"),new Promise(function(n,o){return i.__awaiter(r,void 0,void 0,function(){return i.__generator(this,function(r){try{if(t.data&&"function"==typeof t.data.getReader)return[2,this.handleBrowserReadableStream(t.data,n,o,t,e)];if("string"==typeof t.data)return[2,this.handleBrowserStringResponse(t.data,n,t,e)];if("object"==typeof t.data&&null!==t.data)return this.logger.debug("No stream found, but data object is available"),this.invokeOnCompleteCallback(t.data,e),[2,n(t.data)];return this.logger.error("No usable data found in response"),[2,o(Error("No usable data found in response"))]}catch(t){this.logger.error("Error processing streaming response: ".concat(t)),this.invokeOnErrorCallback(t,e),o(t)}return[2]})})})},t.prototype.handleBrowserReadableStream=function(t,e,r,n,o){return i.__awaiter(this,void 0,void 0,function(){var a,s,u,c,l,h,f,p,d,v;return i.__generator(this,function(i){switch(i.label){case 0:this.logger.debug("Found ReadableStream in response.data"),a=t.getReader(),s=[],u="",i.label=1;case 1:i.trys.push([1,5,,6]),i.label=2;case 2:return[4,a.read()];case 3:if(l=(c=i.sent()).done,h=c.value,l)return this.logger.debug("Stream reading complete"),u.trim()&&(f=u.split("\n"),this.processStreamLines(f,s,o)),[3,4];return p=new TextDecoder().decode(h),this.logger.debug("Received chunk: ".concat(p.length," bytes")),u+=p,u=(d=u.split("\n")).pop()||"",this.processStreamLines(d,s,o),[3,2];case 4:return this.finalizeStreamResult(s,e,n,o),[3,6];case 5:return v=i.sent(),this.logger.error("Stream error: ".concat(v)),this.invokeOnErrorCallback(v,o),r(v),[3,6];case 6:return[2]}})})},t.prototype.handleBrowserStringResponse=function(t,e,r,n){this.logger.debug("Processing text response as stream data");var i=[],o=t.split("\n");if(this.processStreamLines(o,i,n),i.length>0){var a=this.combineStreamingChunks(i);this.invokeOnCompleteCallback(a,n),e(a)}else this.logger.debug("No chunks processed, returning original API response"),this.invokeOnCompleteCallback(r.data,n),e(r.data)},t.prototype.processStreamLines=function(t,e,r){for(var n=0;n<t.length;n++){var i=t[n];if(i.trim()&&"data: [DONE]"!==i){var o=this.processStreamingLine(i);null!==o&&(this.invokeOnChunkCallback(o,r),e.push(o))}}},t.prototype.finalizeStreamResult=function(t,e,r,n){if(t.length>0){var i=this.combineStreamingChunks(t);this.logger.debug("Stream processing complete"),this.invokeOnCompleteCallback(i,n),e(i)}else this.logger.debug("No chunks processed, returning original API response"),this.invokeOnCompleteCallback(r.data,n),e(r.data)},t.prototype.combineStreamingChunks=function(t){if(0===t.length)return{};if(1===t.length)return t[0];var e=this.getMessageChunks(t);if(e.length>0)return this.combineMessageChunks(t,e);var r=t[t.length-1];if(!this.isCompleteSearchResponse(r))throw Error("Last chunk is not a complete search response");return r},t.prototype.getMessageChunks=function(t){return t.filter(this.isChunkMessage)},t.prototype.isChunkMessage=function(t){return"object"==typeof t&&null!==t&&"message"in t&&"conversation_id"in t},t.prototype.combineMessageChunks=function(t,e){this.logger.debug("Found ".concat(e.length," message chunks to combine"));var r=t[t.length-1];if(this.isCompleteSearchResponse(r))return r;var n=t.find(this.isCompleteSearchResponse);if(!n)throw Error("No metadata chunk found");return n},t.prototype.isCompleteSearchResponse=function(t){return"object"==typeof t&&null!==t&&Object.keys(t).length>0&&("results"in t||"found"in t||"hits"in t||"page"in t||"search_time_ms"in t)},t.prototype.getNextNode=function(t){if(void 0===t&&(t=0),null!=this.nearestNode){if(this.logger.debug("Request #".concat(t,": Nodes Health: Node ").concat(this.nearestNode.index," is ").concat(!0===this.nearestNode.isHealthy?"Healthy":"Unhealthy")),!0===this.nearestNode.isHealthy||this.nodeDueForHealthcheck(this.nearestNode,t))return this.logger.debug("Request #".concat(t,": Updated current node to Node ").concat(this.nearestNode.index)),this.nearestNode;this.logger.debug("Request #".concat(t,": Falling back to individual nodes"))}this.logger.debug("Request #".concat(t,": Nodes Health: ").concat(this.nodes.map(function(t){return"Node ".concat(t.index," is ").concat(!0===t.isHealthy?"Healthy":"Unhealthy")}).join(" || ")));for(var e=this.nodes[0],r=0;r<=this.nodes.length;r++)if(this.currentNodeIndex=(this.currentNodeIndex+1)%this.nodes.length,!0===(e=this.nodes[this.currentNodeIndex]).isHealthy||this.nodeDueForHealthcheck(e,t))return this.logger.debug("Request #".concat(t,": Updated current node to Node ").concat(e.index)),e;return this.logger.debug("Request #".concat(t,": No healthy nodes were found. Returning the next node, Node ").concat(e.index)),e},t.prototype.nodeDueForHealthcheck=function(t,e){void 0===e&&(e=0);var r=Date.now()-t.lastAccessTimestamp>1e3*this.healthcheckIntervalSeconds;return r&&this.logger.debug("Request #".concat(e,": Node ").concat(t.index," has exceeded healtcheckIntervalSeconds of ").concat(this.healthcheckIntervalSeconds,". Adding it back into rotation.")),r},t.prototype.initializeMetadataForNodes=function(){var t=this;null!=this.nearestNode&&(this.nearestNode.index="nearestNode",this.setNodeHealthcheck(this.nearestNode,!0)),this.nodes.forEach(function(e,r){e.index=r,t.setNodeHealthcheck(e,!0)})},t.prototype.setNodeHealthcheck=function(t,e){t.isHealthy=e,t.lastAccessTimestamp=Date.now()},t.prototype.uriFor=function(t,e){return null!=e.url?"".concat(e.url).concat(t):"".concat(e.protocol,"://").concat(e.host,":").concat(e.port).concat(e.path).concat(t)},t.prototype.defaultHeaders=function(){var t={};return this.sendApiKeyAsQueryParam||(t["X-TYPESENSE-API-KEY"]=this.apiKey),t["Content-Type"]="application/json",t},t.prototype.timer=function(t){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(e){return[2,new Promise(function(e){return setTimeout(e,1e3*t)})]})})},t.prototype.customErrorForResponse=function(t,e,r){var n="Request failed with HTTP code ".concat(t.status);"string"==typeof e&&""!==e.trim()&&(n+=" | Server said: ".concat(e));new c.default(n,r,t.status);return 400===t.status?new u.RequestMalformed(n,r,t.status):401===t.status?new u.RequestUnauthorized(n,r,t.status):404===t.status?new u.ObjectNotFound(n,r,t.status):409===t.status?new u.ObjectAlreadyExists(n,r,t.status):422===t.status?new u.ObjectUnprocessable(n,r,t.status):t.status>=500&&t.status<=599?new u.ServerError(n,r,t.status):new u.HTTPError(n,r,t.status)},t.prototype.invokeOnChunkCallback=function(t,e){if(null==e?void 0:e.onChunk)try{e.onChunk(t)}catch(t){this.logger.warn("Error in onChunk callback: ".concat(t))}},t.prototype.invokeOnCompleteCallback=function(t,e){if(null==e?void 0:e.onComplete)try{e.onComplete(t)}catch(t){this.logger.warn("Error in onComplete callback: ".concat(t))}},t.prototype.invokeOnErrorCallback=function(t,e){if(null==e?void 0:e.onError){var r=(0,l.toErrorWithMessage)(t);try{e.onError(r)}catch(t){this.logger.warn("Error in onError callback: ".concat(t))}}},t}()}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1969],{7131:(e,t,n)=>{"use strict";n.d(t,{FD:()=>P,MY:()=>o,PJ:()=>a,Wl:()=>l,XP:()=>f,_x:()=>u,bL:()=>p,po:()=>c,ql:()=>s,wO:()=>i,yL:()=>x});var r=n(16298);function u(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function o(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function a(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function i(e,t){return t===e||t.startsWith(`${e}/`)}function l(e,t,n){return"string"==typeof e?e:e[t]||n}function c(e){let t=function(){try{return"true"===r.env._next_intl_trailing_slash}catch{return!1}}(),[n,...u]=e.split("#"),o=u.join("#"),a=n;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return o&&(a+="#"+o),a}function s(e,t){let n=c(e),r=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(n).test(r)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||p(e)}function p(e){return"/"+e}function h(e){return e.includes("[[...")}function d(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let n=e.split("/"),r=t.split("/"),u=Math.max(n.length,r.length);for(let e=0;e<u;e++){let t=n[e],u=r[e];if(!t&&u)return -1;if(t&&!u)return 1;if(t||u){if(!m(t)&&m(u))return -1;if(m(t)&&!m(u))return 1;if(!d(t)&&d(u))return -1;if(d(t)&&!d(u))return 1;if(!h(t)&&h(u))return -1;if(h(t)&&!h(u))return 1}}return 0}function P(e){return e.sort(g)}function x(e){return"function"==typeof e.then}},39492:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(88336);function u(e,t,n,u){if(!e||u===n||null==u||!t)return;let o=(0,r.DT)(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let l=`${a}=${u};`;for(let[e,t]of Object.entries(i))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}},41574:(e,t,n)=>{"use strict";var r=n(95706);n.o(r,"permanentRedirect")&&n.d(t,{permanentRedirect:function(){return r.permanentRedirect}}),n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},50021:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(28081),u=n(41574);function o(){let e=(0,u.useRouter)();return(0,r.useEffect)(()=>{let t=new WebSocket("ws://localhost:3100");return t.onmessage=t=>{"refresh"===t.data&&(console.log("\uD83D\uDD04 File change detected, refreshing data..."),e.refresh())},t.onerror=()=>console.log("WS Watcher not running."),()=>t.close()},[]),null}},83294:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(19957),u=n(41574),o=n(28081),a=n(14551),i=n(39492),l=n(7893);function c(e){let{curLocale:t,linkRef:n,locale:o,localeCookie:a,onClick:c,prefetch:s,...f}=e,p=(0,u.usePathname)();return(0,l.jsx)(r,{ref:n,hrefLang:o,onClick:function(e){(0,i.A)(a,p,t,o),c&&c(e)},prefetch:!1,...f})}var s=(0,o.forwardRef)(function(e,t){let{locale:n,localeCookie:u,...o}=e,i=(0,a.Ym)();return null!=n&&n!==i?(0,l.jsx)(c,{curLocale:i,linkRef:t,locale:n,localeCookie:u,...o}):(0,l.jsx)(r,{ref:t,...o})})},88336:(e,t,n)=>{"use strict";n.d(t,{DT:()=>l,FP:()=>a,TK:()=>u,Zn:()=>o,aM:()=>i,x3:()=>c});var r=n(7131);function u(e){return"string"==typeof e?{pathname:e}:e}function o(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}function a({pathname:e,locale:t,params:n,pathnames:u,query:a}){function i(e){let i,l=u[e];return l?(i=(0,r.Wl)(l,t,e),n&&Object.entries(n).forEach(([e,t])=>{let n,r;Array.isArray(t)?(n=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(n=`\\[${e}\\]`,r=String(t)),i=i.replace(RegExp(n,"g"),r)}),i=new URL(i=i.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):i=e,i=(0,r.po)(i),a&&(i+=o(a)),i}if("string"==typeof e)return i(e);{let{pathname:t,...n}=e;return{...n,pathname:i(t)}}}function i(e,t,n){let u=(0,r.FD)(Object.keys(n)),o=decodeURI(t);for(let t of u){let u=n[t];if("string"==typeof u){if((0,r.ql)(u,o))return t}else if((0,r.ql)((0,r.Wl)(u,e,t),o))return t}return t}function l(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,n,u){let o,{mode:a}=n.localePrefix;if(void 0!==u)o=u;else if((0,r._x)(e)){let e=n.domains?.find(e=>e.locales.includes(t)),r=e?.localePrefix||a;"always"===r?o=!0:"as-needed"===r&&(o=e?t!==e.defaultLocale:t!==n.defaultLocale)}return o?(0,r.PJ)((0,r.XP)(t,n.localePrefix),e):e}},98285:(e,t,n)=>{Promise.resolve().then(n.bind(n,83294)),Promise.resolve().then(n.bind(n,50021))}},e=>{e.O(0,[9957,4551,7411,9029,7358],()=>e(e.s=98285)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4044],{17789:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});var s=t(7893);function n(e){let{width:r,height:t,className:n}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:t,className:n,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},30607:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>i});var s=t(7893),n=t(28081),a=t(99824);function i(e){let{error:r}=e;return(0,n.useEffect)(()=>console.error(r),[r]),(0,s.jsx)(a.A,{returnSuffix:"/content"})}},35865:(e,r,t)=>{"use strict";t.d(r,{c:()=>a});var s=t(40739);function n(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let a=n(0,s.c3);n(0,s.kc)},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>c});var s=t(7893),n=t(28081),a=t(19957),i=t.n(a);let c=(0,n.forwardRef)(function(e,r){let{prefetch:t=!1,...n}=e;return(0,s.jsx)(i(),{prefetch:t,...n,ref:r})})},41574:(e,r,t)=>{"use strict";var s=t(95706);t.o(s,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return s.permanentRedirect}}),t.o(s,"redirect")&&t.d(r,{redirect:function(){return s.redirect}}),t.o(s,"useParams")&&t.d(r,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(r,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(r,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(r,{useSearchParams:function(){return s.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},63352:(e,r,t)=>{Promise.resolve().then(t.bind(t,30607))},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>u});var s=t(7893),n=t(28081),a=t(85126),i=t(8295),c=t(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=n.forwardRef((e,r)=>{let{className:t,variant:n,size:i,asChild:u=!1,...d}=e,l=u?a.DX:"button";return(0,s.jsx)(l,{className:(0,c.cn)(o({variant:n,size:i,className:t})),ref:r,...d})});u.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>a});var s=t(3135),n=t(96915);function a(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,n.QP)((0,s.$)(r))}},99824:(e,r,t)=>{"use strict";t.d(r,{A:()=>h});var s=t(7893),n=t(41574),a=t(35865);let i=(0,t(59717).A)("file-question-mark",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);var c=t(49777),o=t(82601),u=t(17789),d=t(37040);function l(e){let{project:r,returnTo:t}=e,n=(0,a.c)("DocsPageError");return(0,s.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,s.jsx)(i,{className:"size-32 sm:size-44",strokeWidth:1.5}),(0,s.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:n("title")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("desc")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("suggestion")}),(0,s.jsxs)("div",{className:"mt-4 inline-flex gap-4",children:[(null==r?void 0:r.source_repo)&&(0,s.jsx)(o.$,{variant:"secondary",asChild:!0,children:(0,s.jsxs)(d.k,{href:r.source_repo,target:"_blank",children:[(0,s.jsx)(u.A,{className:"mr-2 h-4 w-4"}),n("submit")]})}),(0,s.jsx)(o.$,{asChild:!0,children:(0,s.jsxs)(d.k,{href:null!=t?t:"/",children:[(0,s.jsx)(c.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),n("return")]})})]})]})}function h(e){let{returnSuffix:r}=e,t=(0,n.useParams)();return(0,s.jsx)(l,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}}},e=>{e.O(0,[9957,739,2186,7411,9029,7358],()=>e(e.s=63352)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4044],{13870:(e,r,t)=>{"use strict";t.d(r,{c:()=>a});var s=t(14551);function n(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let a=n(0,s.c3);n(0,s.kc)},17789:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});var s=t(7893);function n(e){let{width:r,height:t,className:n}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:t,className:n,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},30607:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>i});var s=t(7893),n=t(28081),a=t(99824);function i(e){let{error:r}=e;return(0,n.useEffect)(()=>console.error(r),[r]),(0,s.jsx)(a.A,{returnSuffix:"/content"})}},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>c});var s=t(7893),n=t(28081),a=t(19957),i=t.n(a);let c=(0,n.forwardRef)(function(e,r){let{prefetch:t=!1,...n}=e;return(0,s.jsx)(i(),{prefetch:t,...n,ref:r})})},41574:(e,r,t)=>{"use strict";var s=t(95706);t.o(s,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return s.permanentRedirect}}),t.o(s,"redirect")&&t.d(r,{redirect:function(){return s.redirect}}),t.o(s,"useParams")&&t.d(r,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(r,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(r,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(r,{useSearchParams:function(){return s.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},63352:(e,r,t)=>{Promise.resolve().then(t.bind(t,30607))},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>u});var s=t(7893),n=t(28081),a=t(85126),i=t(8295),c=t(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=n.forwardRef((e,r)=>{let{className:t,variant:n,size:i,asChild:u=!1,...d}=e,l=u?a.DX:"button";return(0,s.jsx)(l,{className:(0,c.cn)(o({variant:n,size:i,className:t})),ref:r,...d})});u.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>a});var s=t(3135),n=t(96915);function a(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,n.QP)((0,s.$)(r))}},99824:(e,r,t)=>{"use strict";t.d(r,{A:()=>h});var s=t(7893),n=t(41574),a=t(13870);let i=(0,t(59717).A)("file-question-mark",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);var c=t(49777),o=t(82601),u=t(17789),d=t(37040);function l(e){let{project:r,returnTo:t}=e,n=(0,a.c)("DocsPageError");return(0,s.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,s.jsx)(i,{className:"size-32 sm:size-44",strokeWidth:1.5}),(0,s.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:n("title")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("desc")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("suggestion")}),(0,s.jsxs)("div",{className:"mt-4 inline-flex gap-4",children:[(null==r?void 0:r.source_repo)&&(0,s.jsx)(o.$,{variant:"secondary",asChild:!0,children:(0,s.jsxs)(d.k,{href:r.source_repo,target:"_blank",children:[(0,s.jsx)(u.A,{className:"mr-2 h-4 w-4"}),n("submit")]})}),(0,s.jsx)(o.$,{asChild:!0,children:(0,s.jsxs)(d.k,{href:null!=t?t:"/",children:[(0,s.jsx)(c.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),n("return")]})})]})]})}function h(e){let{returnSuffix:r}=e,t=(0,n.useParams)();return(0,s.jsx)(l,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}}},e=>{e.O(0,[9957,4551,2186,7411,9029,7358],()=>e(e.s=63352)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1166,2834,5014,5260],{24486:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(35865);let i=(0,t(59717).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var c=t(49777),o=t(82601),d=t(37040);function u(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(i,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(d.k,{href:null!=r?r:"/",children:[(0,a.jsx)(c.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(u,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},32133:(e,r,t)=>{Promise.resolve().then(t.bind(t,24486))},35865:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(40739);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>c});var a=t(7893),s=t(28081),n=t(19957),i=t.n(n);let c=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(i(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var a=t(7893),s=t(28081),n=t(85126),i=t(8295),c=t(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:d=!1,...u}=e,l=d?n.DX:"button";return(0,a.jsx)(l,{className:(0,c.cn)(o({variant:s,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,739,2186,7411,9029,7358],()=>e(e.s=32133)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1166,2834,5014,5260],{13870:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(14551);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},24486:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(13870);let i=(0,t(59717).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var c=t(49777),o=t(82601),d=t(37040);function u(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(i,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(d.k,{href:null!=r?r:"/",children:[(0,a.jsx)(c.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(u,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},32133:(e,r,t)=>{Promise.resolve().then(t.bind(t,24486))},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>c});var a=t(7893),s=t(28081),n=t(19957),i=t.n(n);let c=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(i(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var a=t(7893),s=t(28081),n=t(85126),i=t(8295),c=t(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:d=!1,...u}=e,l=d?n.DX:"button";return(0,a.jsx)(l,{className:(0,c.cn)(o({variant:s,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,4551,2186,7411,9029,7358],()=>e(e.s=32133)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{44431:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{title:s,className:r,children:t}=e,[d,m]=(0,i.useState)(!1);return(0,n.jsxs)("div",{className:(0,o.cn)(r,"w-full rounded-sm border border-secondary-dim"),children:[(0,n.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>m(!d),children:[(0,n.jsx)("span",{className:"font-medium",children:s}),(0,n.jsx)(l.default,{active:d})]}),d&&(0,n.jsx)("div",{className:"rounded-sm bg-primary-dim p-4",children:t})]})}},75450:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{name:s,defaultOpen:r,className:t,children:d}=e,[m,a]=(0,i.useState)(r);return(0,n.jsx)("tr",{children:(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,n.jsxs)("div",{className:"flex w-full cursor-pointer flex-row items-center rounded-sm border-none bg-primary-dim p-1.5 px-2 select-none hover:bg-secondary/50",onClick:()=>a(!m),"data-state":m?"open":"closed",children:[(0,n.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:s}),(0,n.jsx)("div",{className:"w-8",children:(0,n.jsx)(l.default,{className:"ml-auto h-4 w-4",active:m})})]}),m&&(0,n.jsx)("div",{className:(0,o.cn)(t,"mt-2 flex w-full flex-col rounded-md"),children:d})]})})})}},77139:(e,s,r)=>{"use strict";r.d(s,{default:()=>l});var n=r(7893),i=r(76365);function l(e){let{headings:s}=e;return(0,n.jsx)(i.A,{headings:s,type:"left",className:"left-0 hidden w-[96vw] sm:w-80 2xl:block",solid:!0})}},78377:(e,s,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,36315)),Promise.resolve().then(r.bind(r,83381)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,44431)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,77139)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,75450)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))}},e=>{e.O(0,[7138,5369,9957,739,2186,1512,93,5628,103,8616,7411,9029,7358],()=>e(e.s=78377)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{44431:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{title:s,className:r,children:t}=e,[d,m]=(0,i.useState)(!1);return(0,n.jsxs)("div",{className:(0,o.cn)(r,"w-full rounded-sm border border-secondary-dim"),children:[(0,n.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>m(!d),children:[(0,n.jsx)("span",{className:"font-medium",children:s}),(0,n.jsx)(l.default,{active:d})]}),d&&(0,n.jsx)("div",{className:"rounded-sm bg-primary-dim p-4",children:t})]})}},75450:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{name:s,defaultOpen:r,className:t,children:d}=e,[m,a]=(0,i.useState)(r);return(0,n.jsx)("tr",{children:(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,n.jsxs)("div",{className:"flex w-full cursor-pointer flex-row items-center rounded-sm border-none bg-primary-dim p-1.5 px-2 select-none hover:bg-secondary/50",onClick:()=>a(!m),"data-state":m?"open":"closed",children:[(0,n.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:s}),(0,n.jsx)("div",{className:"w-8",children:(0,n.jsx)(l.default,{className:"ml-auto h-4 w-4",active:m})})]}),m&&(0,n.jsx)("div",{className:(0,o.cn)(t,"mt-2 flex w-full flex-col rounded-md"),children:d})]})})})}},77139:(e,s,r)=>{"use strict";r.d(s,{default:()=>l});var n=r(7893),i=r(76365);function l(e){let{headings:s}=e;return(0,n.jsx)(i.A,{headings:s,type:"left",className:"left-0 hidden w-[96vw] sm:w-80 2xl:block",solid:!0})}},91943:(e,s,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,36315)),Promise.resolve().then(r.bind(r,83381)),Promise.resolve().then(r.bind(r,83294)),Promise.resolve().then(r.bind(r,93386)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,44431)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,77139)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,75450)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))}},e=>{e.O(0,[7138,5369,9957,4551,2186,2305,93,8777,103,8616,7411,9029,7358],()=>e(e.s=91943)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3652],{24486:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(35865);let c=(0,t(59717).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var i=t(49777),o=t(82601),u=t(37040);function d(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(c,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(u.k,{href:null!=r?r:"/",children:[(0,a.jsx)(i.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(d,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},35865:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(40739);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>i});var a=t(7893),s=t(28081),n=t(19957),c=t.n(n);let i=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(c(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},74720:(e,r,t)=>{Promise.resolve().then(t.bind(t,78177))},78177:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var a=t(7893),s=t(28081),n=t(24486);function c(e){let{error:r}=e;return(0,s.useEffect)(()=>console.error(r),[r]),(0,a.jsx)(n.default,{})}},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>u});var a=t(7893),s=t(28081),n=t(85126),c=t(8295),i=t(95745);let o=(0,c.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((e,r)=>{let{className:t,variant:s,size:c,asChild:u=!1,...d}=e,l=u?n.DX:"button";return(0,a.jsx)(l,{className:(0,i.cn)(o({variant:s,size:c,className:t})),ref:r,...d})});u.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,739,2186,7411,9029,7358],()=>e(e.s=74720)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3652],{13870:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(14551);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},24486:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(13870);let c=(0,t(59717).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var i=t(49777),o=t(82601),u=t(37040);function d(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(c,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(u.k,{href:null!=r?r:"/",children:[(0,a.jsx)(i.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(d,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>i});var a=t(7893),s=t(28081),n=t(19957),c=t.n(n);let i=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(c(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},74720:(e,r,t)=>{Promise.resolve().then(t.bind(t,78177))},78177:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var a=t(7893),s=t(28081),n=t(24486);function c(e){let{error:r}=e;return(0,s.useEffect)(()=>console.error(r),[r]),(0,a.jsx)(n.default,{})}},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>u});var a=t(7893),s=t(28081),n=t(85126),c=t(8295),i=t(95745);let o=(0,c.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((e,r)=>{let{className:t,variant:s,size:c,asChild:u=!1,...d}=e,l=u?n.DX:"button";return(0,a.jsx)(l,{className:(0,i.cn)(o({variant:s,size:c,className:t})),ref:r,...d})});u.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,4551,2186,7411,9029,7358],()=>e(e.s=74720)),_N_E=e.O()}]);