adminizer 4.2.0-build.45 → 4.2.0-build.46

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 (73) hide show
  1. package/assets/{VanillaJSONEditor-DfRefswH.js → VanillaJSONEditor-XGIlS4LL.js} +1 -1
  2. package/assets/add-BzeOQ-DB.js +1 -0
  3. package/assets/add-form-BLdLojfl.js +1 -0
  4. package/assets/add-group-Bx2s4UXM.js +1 -0
  5. package/assets/add-group-form-_VEBFz_S.js +1 -0
  6. package/assets/add-user-C3BY-sey.js +1 -0
  7. package/assets/add-user-form-BFAFyXuz.js +1 -0
  8. package/assets/app-layout-NMKA6xAa.js +1 -0
  9. package/assets/{app-shell-C1wDrRCe.js → app-shell-Dd-kA5uc.js} +1 -1
  10. package/assets/app-sidebar-C4Y6TSY3.js +1 -0
  11. package/assets/app-sidebar-header-DQnbMxfM.js +1 -0
  12. package/assets/app.js +7844 -74
  13. package/assets/{breadcrumbs-BVZtAG3J.js → breadcrumbs-D0gGjNVI.js} +1 -1
  14. package/assets/{catalog-CvJMAtEd.js → catalog-CEVSwmj8.js} +5 -15
  15. package/assets/{dashboard-Zsh-5yN2.js → dashboard-jLbWzL7K.js} +2 -2
  16. package/assets/date-picker-SAfAWPoh.js +1 -0
  17. package/assets/del-modal-Dj3n8iVJ.js +1 -0
  18. package/assets/{field-renderer-Dgj1S2Vi.js → field-renderer-C7qCVvAC.js} +3 -3
  19. package/assets/form-CYsLdORv.js +1 -0
  20. package/assets/form-DjAQC5zI.js +1 -0
  21. package/assets/{geo-json-vodY1YtH.js → geo-json-XGenv_Sy.js} +2 -17
  22. package/assets/{handsontable-C-ThjbaJ.js → handsontable-Dxb-hF7-.js} +1 -1
  23. package/assets/home-DfUM0yKC.js +2 -0
  24. package/assets/{icon-B-D8X0jg.js → icon-DQL8h8HI.js} +1 -1
  25. package/assets/init-user-DZtnQ7VL.js +1 -0
  26. package/assets/{input-error-F1DL-Fx6.js → input-error-BztTAmHq.js} +1 -1
  27. package/assets/list-B1FodBkq.js +1 -0
  28. package/assets/list-table-Du8TTXit.js +22 -0
  29. package/assets/login-2THGmUHc.js +1 -0
  30. package/assets/manifest.json +67 -133
  31. package/assets/{material-icon-DeSoGIhT.js → material-icon-CPvFwV5P.js} +1 -1
  32. package/assets/module-D9Jtygk_.js +1 -0
  33. package/assets/multi-select-e4PqgWYn.js +1 -0
  34. package/assets/{nav-footer-DQwIyd7c.js → nav-footer-B7wjmsPb.js} +1 -1
  35. package/assets/nav-main-Cx1BkIzi.js +1 -0
  36. package/assets/nav-user-BWl2j-y-.js +1 -0
  37. package/assets/pagination-render-D6MBqi0B.js +1 -0
  38. package/assets/register-Dks3YdiZ.js +1 -0
  39. package/assets/user-info-DTsggabP.js +1 -0
  40. package/assets/user-menu-content-Dnh2qpwQ.js +1 -0
  41. package/assets/welcome-HFROxPwP.js +1 -0
  42. package/package.json +1 -1
  43. package/assets/add-DujD3Z0j.js +0 -1
  44. package/assets/add-form-Ch5HOaI3.js +0 -1
  45. package/assets/add-group-form-CzjFRYQe.js +0 -1
  46. package/assets/add-group-xKUhiREd.js +0 -1
  47. package/assets/add-user-DpTQyN0Z.js +0 -1
  48. package/assets/add-user-form-DmgL9A2G.js +0 -1
  49. package/assets/app-layout-Dn8y3paC.js +0 -1
  50. package/assets/app-sidebar-BisOEG_p.js +0 -1
  51. package/assets/app-sidebar-header-CL1OSuV8.js +0 -11
  52. package/assets/chevrons-up-down-D3t3UGV7.js +0 -6
  53. package/assets/date-picker-DKdT6XTZ.js +0 -6
  54. package/assets/del-modal-DZ5wZWad.js +0 -11
  55. package/assets/form-Bgv171J2.js +0 -1
  56. package/assets/form-DcfEHbPb.js +0 -1
  57. package/assets/home-DOm3EaLO.js +0 -2
  58. package/assets/init-user-iMMcIQIW.js +0 -1
  59. package/assets/list-B-vY1rhM.js +0 -1
  60. package/assets/list-table-8sDi0ZKa.js +0 -52
  61. package/assets/loader-circle-Btx4NYNU.js +0 -6
  62. package/assets/login-C2J62v4_.js +0 -6
  63. package/assets/module-I4hW5UqT.js +0 -1
  64. package/assets/move-left-DWHsVHUF.js +0 -11
  65. package/assets/multi-select-Bu3n-kcV.js +0 -11
  66. package/assets/nav-main-DDQ-_Oed.js +0 -1
  67. package/assets/nav-user-BwBu-VwZ.js +0 -1
  68. package/assets/pagination-render-BoDDo2E1.js +0 -1
  69. package/assets/register-aPC0gjjS.js +0 -1
  70. package/assets/trash-2-CsxWwHNc.js +0 -6
  71. package/assets/user-info-CnB2lvpg.js +0 -1
  72. package/assets/user-menu-content-BFbaJw6v.js +0 -6
  73. package/assets/welcome-DB_D6KJV.js +0 -1
@@ -1,4 +1,4 @@
1
- import{$ as UT,W as Dt,a0 as XH,r as Th,j as zT}from"./app.js";import{u as $$}from"./use-appearance-J8J2w43p.js";var YT={},_h,GT;function on(){if(GT)return _h;GT=1;var t=function(e){return e&&e.Math===Math&&e};return _h=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof UT=="object"&&UT)||t(typeof _h=="object"&&_h)||function(){return this}()||Function("return this")(),_h}var sv={},av,KT;function Cn(){return KT||(KT=1,av=function(t){try{return!!t()}catch{return!0}}),av}var lv,qT;function go(){if(qT)return lv;qT=1;var t=Cn();return lv=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),lv}var uv,XT;function ow(){if(XT)return uv;XT=1;var t=Cn();return uv=!t(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),uv}var cv,ZT;function sn(){if(ZT)return cv;ZT=1;var t=ow(),e=Function.prototype.call;return cv=t?e.bind(e):function(){return e.apply(e,arguments)},cv}var hv={},QT;function F$(){if(QT)return hv;QT=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return hv.f=n?function(i){var o=e(this,i);return!!o&&o.enumerable}:t,hv}var dv,JT;function sw(){return JT||(JT=1,dv=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}}),dv}var fv,e_;function qt(){if(e_)return fv;e_=1;var t=ow(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return fv=t?r:function(i){return function(){return n.apply(i,arguments)}},fv}var gv,t_;function Nu(){if(t_)return gv;t_=1;var t=qt(),e=t({}.toString),n=t("".slice);return gv=function(r){return n(e(r),8,-1)},gv}var mv,n_;function V$(){if(n_)return mv;n_=1;var t=qt(),e=Cn(),n=Nu(),r=Object,i=t("".split);return mv=e(function(){return!r("z").propertyIsEnumerable(0)})?function(o){return n(o)==="String"?i(o,""):r(o)}:r,mv}var pv,r_;function uE(){return r_||(r_=1,pv=function(t){return t==null}),pv}var wv,i_;function Pf(){if(i_)return wv;i_=1;var t=uE(),e=TypeError;return wv=function(n){if(t(n))throw new e("Can't call method on "+n);return n},wv}var vv,o_;function Of(){if(o_)return vv;o_=1;var t=V$(),e=Pf();return vv=function(n){return t(e(n))},vv}var Cv,s_;function an(){if(s_)return Cv;s_=1;var t=typeof document=="object"&&document.all;return Cv=typeof t>"u"&&t!==void 0?function(e){return typeof e=="function"||e===t}:function(e){return typeof e=="function"},Cv}var yv,a_;function mo(){if(a_)return yv;a_=1;var t=an();return yv=function(e){return typeof e=="object"?e!==null:t(e)},yv}var bv,l_;function ah(){if(l_)return bv;l_=1;var t=on(),e=an(),n=function(r){return e(r)?r:void 0};return bv=function(r,i){return arguments.length<2?n(t[r]):t[r]&&t[r][i]},bv}var Sv,u_;function xf(){if(u_)return Sv;u_=1;var t=qt();return Sv=t({}.isPrototypeOf),Sv}var Rv,c_;function aw(){if(c_)return Rv;c_=1;var t=on(),e=t.navigator,n=e&&e.userAgent;return Rv=n?String(n):"",Rv}var Ev,h_;function W$(){if(h_)return Ev;h_=1;var t=on(),e=aw(),n=t.process,r=t.Deno,i=n&&n.versions||r&&r.version,o=i&&i.v8,s,a;return o&&(s=o.split("."),a=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!a&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(a=+s[1]))),Ev=a,Ev}var Tv,d_;function cE(){if(d_)return Tv;d_=1;var t=W$(),e=Cn(),n=on(),r=n.String;return Tv=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!r(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&t&&t<41}),Tv}var _v,f_;function ZH(){if(f_)return _v;f_=1;var t=cE();return _v=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol",_v}var Mv,g_;function hE(){if(g_)return Mv;g_=1;var t=ah(),e=an(),n=xf(),r=ZH(),i=Object;return Mv=r?function(o){return typeof o=="symbol"}:function(o){var s=t("Symbol");return e(s)&&n(s.prototype,i(o))},Mv}var Iv,m_;function lw(){if(m_)return Iv;m_=1;var t=String;return Iv=function(e){try{return t(e)}catch{return"Object"}},Iv}var Pv,p_;function pr(){if(p_)return Pv;p_=1;var t=an(),e=lw(),n=TypeError;return Pv=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")},Pv}var Ov,w_;function Af(){if(w_)return Ov;w_=1;var t=pr(),e=uE();return Ov=function(n,r){var i=n[r];return e(i)?void 0:t(i)},Ov}var xv,v_;function B$(){if(v_)return xv;v_=1;var t=sn(),e=an(),n=mo(),r=TypeError;return xv=function(i,o){var s,a;if(o==="string"&&e(s=i.toString)&&!n(a=t(s,i))||e(s=i.valueOf)&&!n(a=t(s,i))||o!=="string"&&e(s=i.toString)&&!n(a=t(s,i)))return a;throw new r("Can't convert object to primitive value")},xv}var Av={exports:{}},Hv,C_;function gl(){return C_||(C_=1,Hv=!1),Hv}var Nv,y_;function dE(){if(y_)return Nv;y_=1;var t=on(),e=Object.defineProperty;return Nv=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch{t[n]=r}return r},Nv}var b_;function fE(){if(b_)return Av.exports;b_=1;var t=gl(),e=on(),n=dE(),r="__core-js_shared__",i=Av.exports=e[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.42.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Av.exports}var Dv,S_;function QH(){if(S_)return Dv;S_=1;var t=fE();return Dv=function(e,n){return t[e]||(t[e]=n||{})},Dv}var kv,R_;function lh(){if(R_)return kv;R_=1;var t=Pf(),e=Object;return kv=function(n){return e(t(n))},kv}var Lv,E_;function po(){if(E_)return Lv;E_=1;var t=qt(),e=lh(),n=t({}.hasOwnProperty);return Lv=Object.hasOwn||function(i,o){return n(e(i),o)},Lv}var $v,T_;function JH(){if(T_)return $v;T_=1;var t=qt(),e=0,n=Math.random(),r=t(1 .toString);return $v=function(i){return"Symbol("+(i===void 0?"":i)+")_"+r(++e+n,36)},$v}var Fv,__;function Yo(){if(__)return Fv;__=1;var t=on(),e=QH(),n=po(),r=JH(),i=cE(),o=ZH(),s=t.Symbol,a=e("wks"),l=o?s.for||s:s&&s.withoutSetter||r;return Fv=function(u){return n(a,u)||(a[u]=i&&n(s,u)?s[u]:l("Symbol."+u)),a[u]},Fv}var Vv,M_;function j$(){if(M_)return Vv;M_=1;var t=sn(),e=mo(),n=hE(),r=Af(),i=B$(),o=Yo(),s=TypeError,a=o("toPrimitive");return Vv=function(l,u){if(!e(l)||n(l))return l;var c=r(l,a),h;if(c){if(u===void 0&&(u="default"),h=t(c,l,u),!e(h)||n(h))return h;throw new s("Can't convert object to primitive value")}return u===void 0&&(u="number"),i(l,u)},Vv}var Wv,I_;function e1(){if(I_)return Wv;I_=1;var t=j$(),e=hE();return Wv=function(n){var r=t(n,"string");return e(r)?r:r+""},Wv}var Bv,P_;function gE(){if(P_)return Bv;P_=1;var t=on(),e=mo(),n=t.document,r=e(n)&&e(n.createElement);return Bv=function(i){return r?n.createElement(i):{}},Bv}var jv,O_;function t1(){if(O_)return jv;O_=1;var t=go(),e=Cn(),n=gE();return jv=!t&&!e(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7}),jv}var x_;function n1(){if(x_)return sv;x_=1;var t=go(),e=sn(),n=F$(),r=sw(),i=Of(),o=e1(),s=po(),a=t1(),l=Object.getOwnPropertyDescriptor;return sv.f=t?l:function(c,h){if(c=i(c),h=o(h),a)try{return l(c,h)}catch{}if(s(c,h))return r(!e(n.f,c,h),c[h])},sv}var Uv={},zv,A_;function r1(){if(A_)return zv;A_=1;var t=go(),e=Cn();return zv=t&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),zv}var Yv,H_;function ln(){if(H_)return Yv;H_=1;var t=mo(),e=String,n=TypeError;return Yv=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")},Yv}var N_;function ml(){if(N_)return Uv;N_=1;var t=go(),e=t1(),n=r1(),r=ln(),i=e1(),o=TypeError,s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l="enumerable",u="configurable",c="writable";return Uv.f=t?n?function(d,f,g){if(r(d),f=i(f),r(g),typeof d=="function"&&f==="prototype"&&"value"in g&&c in g&&!g[c]){var C=a(d,f);C&&C[c]&&(d[f]=g.value,g={configurable:u in g?g[u]:C[u],enumerable:l in g?g[l]:C[l],writable:!1})}return s(d,f,g)}:s:function(d,f,g){if(r(d),f=i(f),r(g),e)try{return s(d,f,g)}catch{}if("get"in g||"set"in g)throw new o("Accessors not supported");return"value"in g&&(d[f]=g.value),d},Uv}var Gv,D_;function uh(){if(D_)return Gv;D_=1;var t=go(),e=ml(),n=sw();return Gv=t?function(r,i,o){return e.f(r,i,n(1,o))}:function(r,i,o){return r[i]=o,r},Gv}var Kv={exports:{}},qv,k_;function U$(){if(k_)return qv;k_=1;var t=go(),e=po(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,i=e(n,"name"),o=i&&(function(){}).name==="something",s=i&&(!t||t&&r(n,"name").configurable);return qv={EXISTS:i,PROPER:o,CONFIGURABLE:s},qv}var Xv,L_;function z$(){if(L_)return Xv;L_=1;var t=qt(),e=an(),n=fE(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(i){return r(i)}),Xv=n.inspectSource,Xv}var Zv,$_;function Y$(){if($_)return Zv;$_=1;var t=on(),e=an(),n=t.WeakMap;return Zv=e(n)&&/native code/.test(String(n)),Zv}var Qv,F_;function mE(){if(F_)return Qv;F_=1;var t=QH(),e=JH(),n=t("keys");return Qv=function(r){return n[r]||(n[r]=e(r))},Qv}var Jv,V_;function pE(){return V_||(V_=1,Jv={}),Jv}var eC,W_;function i1(){if(W_)return eC;W_=1;var t=Y$(),e=on(),n=mo(),r=uh(),i=po(),o=fE(),s=mE(),a=pE(),l="Object already initialized",u=e.TypeError,c=e.WeakMap,h,d,f,g=function(v){return f(v)?d(v):h(v,{})},C=function(v){return function(P){var O;if(!n(P)||(O=d(P)).type!==v)throw new u("Incompatible receiver, "+v+" required");return O}};if(t||o.state){var y=o.state||(o.state=new c);y.get=y.get,y.has=y.has,y.set=y.set,h=function(v,P){if(y.has(v))throw new u(l);return P.facade=v,y.set(v,P),P},d=function(v){return y.get(v)||{}},f=function(v){return y.has(v)}}else{var E=s("state");a[E]=!0,h=function(v,P){if(i(v,E))throw new u(l);return P.facade=v,r(v,E,P),P},d=function(v){return i(v,E)?v[E]:{}},f=function(v){return i(v,E)}}return eC={set:h,get:d,has:f,enforce:g,getterFor:C},eC}var B_;function o1(){if(B_)return Kv.exports;B_=1;var t=qt(),e=Cn(),n=an(),r=po(),i=go(),o=U$().CONFIGURABLE,s=z$(),a=i1(),l=a.enforce,u=a.get,c=String,h=Object.defineProperty,d=t("".slice),f=t("".replace),g=t([].join),C=i&&!e(function(){return h(function(){},"length",{value:8}).length!==8}),y=String(String).split("String"),E=Kv.exports=function(v,P,O){d(c(P),0,7)==="Symbol("&&(P="["+f(c(P),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),O&&O.getter&&(P="get "+P),O&&O.setter&&(P="set "+P),(!r(v,"name")||o&&v.name!==P)&&(i?h(v,"name",{value:P,configurable:!0}):v.name=P),C&&O&&r(O,"arity")&&v.length!==O.arity&&h(v,"length",{value:O.arity});try{O&&r(O,"constructor")&&O.constructor?i&&h(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch{}var L=l(v);return r(L,"source")||(L.source=g(y,typeof P=="string"?P:"")),v};return Function.prototype.toString=E(function(){return n(this)&&u(this).source||s(this)},"toString"),Kv.exports}var tC,j_;function wE(){if(j_)return tC;j_=1;var t=an(),e=ml(),n=o1(),r=dE();return tC=function(i,o,s,a){a||(a={});var l=a.enumerable,u=a.name!==void 0?a.name:o;if(t(s)&&n(s,u,a),a.global)l?i[o]=s:r(o,s);else{try{a.unsafe?i[o]&&(l=!0):delete i[o]}catch{}l?i[o]=s:e.f(i,o,{value:s,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i},tC}var nC={},rC,U_;function G$(){if(U_)return rC;U_=1;var t=Math.ceil,e=Math.floor;return rC=Math.trunc||function(r){var i=+r;return(i>0?e:t)(i)},rC}var iC,z_;function Hf(){if(z_)return iC;z_=1;var t=G$();return iC=function(e){var n=+e;return n!==n||n===0?0:t(n)},iC}var oC,Y_;function K$(){if(Y_)return oC;Y_=1;var t=Hf(),e=Math.max,n=Math.min;return oC=function(r,i){var o=t(r);return o<0?e(o+i,0):n(o,i)},oC}var sC,G_;function q$(){if(G_)return sC;G_=1;var t=Hf(),e=Math.min;return sC=function(n){var r=t(n);return r>0?e(r,9007199254740991):0},sC}var aC,K_;function ch(){if(K_)return aC;K_=1;var t=q$();return aC=function(e){return t(e.length)},aC}var lC,q_;function X$(){if(q_)return lC;q_=1;var t=Of(),e=K$(),n=ch(),r=function(i){return function(o,s,a){var l=t(o),u=n(l);if(u===0)return!i&&-1;var c=e(a,u),h;if(i&&s!==s){for(;u>c;)if(h=l[c++],h!==h)return!0}else for(;u>c;c++)if((i||c in l)&&l[c]===s)return i||c||0;return!i&&-1}};return lC={includes:r(!0),indexOf:r(!1)},lC}var uC,X_;function s1(){if(X_)return uC;X_=1;var t=qt(),e=po(),n=Of(),r=X$().indexOf,i=pE(),o=t([].push);return uC=function(s,a){var l=n(s),u=0,c=[],h;for(h in l)!e(i,h)&&e(l,h)&&o(c,h);for(;a.length>u;)e(l,h=a[u++])&&(~r(c,h)||o(c,h));return c},uC}var cC,Z_;function vE(){return Z_||(Z_=1,cC=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),cC}var Q_;function Z$(){if(Q_)return nC;Q_=1;var t=s1(),e=vE(),n=e.concat("length","prototype");return nC.f=Object.getOwnPropertyNames||function(i){return t(i,n)},nC}var hC={},J_;function Q$(){return J_||(J_=1,hC.f=Object.getOwnPropertySymbols),hC}var dC,eM;function J$(){if(eM)return dC;eM=1;var t=ah(),e=qt(),n=Z$(),r=Q$(),i=ln(),o=e([].concat);return dC=t("Reflect","ownKeys")||function(a){var l=n.f(i(a)),u=r.f;return u?o(l,u(a)):l},dC}var fC,tM;function a1(){if(tM)return fC;tM=1;var t=po(),e=J$(),n=n1(),r=ml();return fC=function(i,o,s){for(var a=e(o),l=r.f,u=n.f,c=0;c<a.length;c++){var h=a[c];!t(i,h)&&!(s&&t(s,h))&&l(i,h,u(o,h))}},fC}var gC,nM;function eF(){if(nM)return gC;nM=1;var t=Cn(),e=an(),n=/#|\.prototype\./,r=function(l,u){var c=o[i(l)];return c===a?!0:c===s?!1:e(u)?t(u):!!u},i=r.normalize=function(l){return String(l).replace(n,".").toLowerCase()},o=r.data={},s=r.NATIVE="N",a=r.POLYFILL="P";return gC=r,gC}var mC,rM;function dt(){if(rM)return mC;rM=1;var t=on(),e=n1().f,n=uh(),r=wE(),i=dE(),o=a1(),s=eF();return mC=function(a,l){var u=a.target,c=a.global,h=a.stat,d,f,g,C,y,E;if(c?f=t:h?f=t[u]||i(u,{}):f=t[u]&&t[u].prototype,f)for(g in l){if(y=l[g],a.dontCallGetSet?(E=e(f,g),C=E&&E.value):C=f[g],d=s(c?g:u+(h?".":"#")+g,a.forced),!d&&C!==void 0){if(typeof y==typeof C)continue;o(y,C)}(a.sham||C&&C.sham)&&n(y,"sham",!0),r(f,g,y,a)}},mC}var pC,iM;function Nf(){if(iM)return pC;iM=1;var t=ow(),e=Function.prototype,n=e.apply,r=e.call;return pC=typeof Reflect=="object"&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),pC}var wC,oM;function l1(){if(oM)return wC;oM=1;var t=qt(),e=pr();return wC=function(n,r,i){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[i]))}catch{}},wC}var vC,sM;function tF(){if(sM)return vC;sM=1;var t=mo();return vC=function(e){return t(e)||e===null},vC}var CC,aM;function nF(){if(aM)return CC;aM=1;var t=tF(),e=String,n=TypeError;return CC=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")},CC}var yC,lM;function u1(){if(lM)return yC;lM=1;var t=l1(),e=mo(),n=Pf(),r=nF();return yC=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,o={},s;try{s=t(Object.prototype,"__proto__","set"),s(o,[]),i=o instanceof Array}catch{}return function(l,u){return n(l),r(u),e(l)&&(i?s(l,u):l.__proto__=u),l}}():void 0),yC}var bC,uM;function rF(){if(uM)return bC;uM=1;var t=ml().f;return bC=function(e,n,r){r in e||t(e,r,{configurable:!0,get:function(){return n[r]},set:function(i){n[r]=i}})},bC}var SC,cM;function iF(){if(cM)return SC;cM=1;var t=an(),e=mo(),n=u1();return SC=function(r,i,o){var s,a;return n&&t(s=i.constructor)&&s!==o&&e(a=s.prototype)&&a!==o.prototype&&n(r,a),r},SC}var RC,hM;function oF(){if(hM)return RC;hM=1;var t=Yo(),e=t("toStringTag"),n={};return n[e]="z",RC=String(n)==="[object z]",RC}var EC,dM;function c1(){if(dM)return EC;dM=1;var t=oF(),e=an(),n=Nu(),r=Yo(),i=r("toStringTag"),o=Object,s=n(function(){return arguments}())==="Arguments",a=function(l,u){try{return l[u]}catch{}};return EC=t?n:function(l){var u,c,h;return l===void 0?"Undefined":l===null?"Null":typeof(c=a(u=o(l),i))=="string"?c:s?n(u):(h=n(u))==="Object"&&e(u.callee)?"Arguments":h},EC}var TC,fM;function uw(){if(fM)return TC;fM=1;var t=c1(),e=String;return TC=function(n){if(t(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(n)},TC}var _C,gM;function sF(){if(gM)return _C;gM=1;var t=uw();return _C=function(e,n){return e===void 0?arguments.length<2?"":n:t(e)},_C}var MC,mM;function aF(){if(mM)return MC;mM=1;var t=mo(),e=uh();return MC=function(n,r){t(r)&&"cause"in r&&e(n,"cause",r.cause)},MC}var IC,pM;function lF(){if(pM)return IC;pM=1;var t=qt(),e=Error,n=t("".replace),r=function(s){return String(new e(s).stack)}("zxcasd"),i=/\n\s*at [^:]*:[^\n]*/,o=i.test(r);return IC=function(s,a){if(o&&typeof s=="string"&&!e.prepareStackTrace)for(;a--;)s=n(s,i,"");return s},IC}var PC,wM;function uF(){if(wM)return PC;wM=1;var t=Cn(),e=sw();return PC=!t(function(){var n=new Error("a");return"stack"in n?(Object.defineProperty(n,"stack",e(1,7)),n.stack!==7):!0}),PC}var OC,vM;function cF(){if(vM)return OC;vM=1;var t=uh(),e=lF(),n=uF(),r=Error.captureStackTrace;return OC=function(i,o,s,a){n&&(r?r(i,o):t(i,"stack",e(s,a)))},OC}var xC,CM;function hF(){if(CM)return xC;CM=1;var t=ah(),e=po(),n=uh(),r=xf(),i=u1(),o=a1(),s=rF(),a=iF(),l=sF(),u=aF(),c=cF(),h=go(),d=gl();return xC=function(f,g,C,y){var E="stackTraceLimit",v=y?2:1,P=f.split("."),O=P[P.length-1],L=t.apply(null,P);if(L){var T=L.prototype;if(!d&&e(T,"cause")&&delete T.cause,!C)return L;var A=t("Error"),K=g(function(U,j){var Z=l(y?j:U,void 0),J=y?new L(U):new L;return Z!==void 0&&n(J,"message",Z),c(J,K,J.stack,2),this&&r(T,this)&&a(J,this,K),arguments.length>v&&u(J,arguments[v]),J});if(K.prototype=T,O!=="Error"?i?i(K,A):o(K,A,{name:!0}):h&&E in L&&(s(K,L,E),s(K,L,"prepareStackTrace")),o(K,L),!d)try{T.name!==O&&n(T,"name",O),T.constructor=K}catch{}return K}},xC}var yM;function dF(){if(yM)return YT;yM=1;var t=dt(),e=on(),n=Nf(),r=hF(),i="WebAssembly",o=e[i],s=new Error("e",{cause:7}).cause!==7,a=function(u,c){var h={};h[u]=r(u,c,s),t({global:!0,constructor:!0,arity:1,forced:s},h)},l=function(u,c){if(o&&o[u]){var h={};h[u]=r(i+"."+u,c,s),t({target:i,stat:!0,constructor:!0,arity:1,forced:s},h)}};return a("Error",function(u){return function(h){return n(u,this,arguments)}}),a("EvalError",function(u){return function(h){return n(u,this,arguments)}}),a("RangeError",function(u){return function(h){return n(u,this,arguments)}}),a("ReferenceError",function(u){return function(h){return n(u,this,arguments)}}),a("SyntaxError",function(u){return function(h){return n(u,this,arguments)}}),a("TypeError",function(u){return function(h){return n(u,this,arguments)}}),a("URIError",function(u){return function(h){return n(u,this,arguments)}}),l("CompileError",function(u){return function(h){return n(u,this,arguments)}}),l("LinkError",function(u){return function(h){return n(u,this,arguments)}}),l("RuntimeError",function(u){return function(h){return n(u,this,arguments)}}),YT}dF();var bM={},AC,SM;function h1(){if(SM)return AC;SM=1;var t=Nu();return AC=Array.isArray||function(n){return t(n)==="Array"},AC}var HC,RM;function d1(){if(RM)return HC;RM=1;var t=go(),e=h1(),n=TypeError,r=Object.getOwnPropertyDescriptor,i=t&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(o){return o instanceof TypeError}}();return HC=i?function(o,s){if(e(o)&&!r(o,"length").writable)throw new n("Cannot set read only .length");return o.length=s}:function(o,s){return o.length=s},HC}var NC,EM;function f1(){if(EM)return NC;EM=1;var t=TypeError,e=9007199254740991;return NC=function(n){if(n>e)throw t("Maximum allowed index exceeded");return n},NC}var TM;function fF(){if(TM)return bM;TM=1;var t=dt(),e=lh(),n=ch(),r=d1(),i=f1(),o=Cn(),s=o(function(){return[].push.call({length:4294967296},1)!==4294967297}),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(u){return u instanceof TypeError}},l=s||!a();return t({target:"Array",proto:!0,arity:1,forced:l},{push:function(c){var h=e(this),d=n(h),f=arguments.length;i(d+f);for(var g=0;g<f;g++)h[d]=arguments[g],d++;return r(h,d),d}}),bM}fF();var _M={},DC,MM;function gF(){if(MM)return DC;MM=1;var t=Nu(),e=qt();return DC=function(n){if(t(n)==="Function")return e(n)},DC}var kC,IM;function g1(){if(IM)return kC;IM=1;var t=gF(),e=pr(),n=ow(),r=t(t.bind);return kC=function(i,o){return e(i),o===void 0?i:n?r(i,o):function(){return i.apply(o,arguments)}},kC}var LC,PM;function m1(){return PM||(PM=1,LC={}),LC}var $C,OM;function mF(){if(OM)return $C;OM=1;var t=Yo(),e=m1(),n=t("iterator"),r=Array.prototype;return $C=function(i){return i!==void 0&&(e.Array===i||r[n]===i)},$C}var FC,xM;function CE(){if(xM)return FC;xM=1;var t=c1(),e=Af(),n=uE(),r=m1(),i=Yo(),o=i("iterator");return FC=function(s){if(!n(s))return e(s,o)||e(s,"@@iterator")||r[t(s)]},FC}var VC,AM;function pF(){if(AM)return VC;AM=1;var t=sn(),e=pr(),n=ln(),r=lw(),i=CE(),o=TypeError;return VC=function(s,a){var l=arguments.length<2?i(s):a;if(e(l))return n(t(l,s));throw new o(r(s)+" is not iterable")},VC}var WC,HM;function Yi(){if(HM)return WC;HM=1;var t=sn(),e=ln(),n=Af();return WC=function(r,i,o){var s,a;e(r);try{if(s=n(r,"return"),!s){if(i==="throw")throw o;return o}s=t(s,r)}catch(l){a=!0,s=l}if(i==="throw")throw o;if(a)throw s;return e(s),o},WC}var BC,NM;function hh(){if(NM)return BC;NM=1;var t=g1(),e=sn(),n=ln(),r=lw(),i=mF(),o=ch(),s=xf(),a=pF(),l=CE(),u=Yi(),c=TypeError,h=function(f,g){this.stopped=f,this.result=g},d=h.prototype;return BC=function(f,g,C){var y=C&&C.that,E=!!(C&&C.AS_ENTRIES),v=!!(C&&C.IS_RECORD),P=!!(C&&C.IS_ITERATOR),O=!!(C&&C.INTERRUPTED),L=t(g,y),T,A,K,U,j,Z,J,se=function(ue){return T&&u(T,"normal",ue),new h(!0,ue)},te=function(ue){return E?(n(ue),O?L(ue[0],ue[1],se):L(ue[0],ue[1])):O?L(ue,se):L(ue)};if(v)T=f.iterator;else if(P)T=f;else{if(A=l(f),!A)throw new c(r(f)+" is not iterable");if(i(A)){for(K=0,U=o(f);U>K;K++)if(j=te(f[K]),j&&s(d,j))return j;return new h(!1)}T=a(f,A)}for(Z=v?f.next:T.next;!(J=e(Z,T)).done;){try{j=te(J.value)}catch(ue){u(T,"throw",ue)}if(typeof j=="object"&&j&&s(d,j))return j}return new h(!1)},BC}var jC,DM;function p1(){if(DM)return jC;DM=1;var t=go(),e=ml(),n=sw();return jC=function(r,i,o){t?e.f(r,i,n(0,o)):r[i]=o},jC}var kM;function wF(){if(kM)return _M;kM=1;var t=dt(),e=hh(),n=p1();return t({target:"Object",stat:!0},{fromEntries:function(i){var o={};return e(i,function(s,a){n(o,s,a)},{AS_ENTRIES:!0}),o}}),_M}wF();var LM={},UC,$M;function Ps(){if($M)return UC;$M=1;var t=qt(),e=Set.prototype;return UC={Set,add:t(e.add),has:t(e.has),remove:t(e.delete),proto:e},UC}var zC,FM;function Du(){if(FM)return zC;FM=1;var t=Ps().has;return zC=function(e){return t(e),e},zC}var YC,VM;function ku(){if(VM)return YC;VM=1;var t=sn();return YC=function(e,n,r){for(var i=r?e:e.iterator,o=e.next,s,a;!(s=t(o,i)).done;)if(a=n(s.value),a!==void 0)return a},YC}var GC,WM;function Df(){if(WM)return GC;WM=1;var t=qt(),e=ku(),n=Ps(),r=n.Set,i=n.proto,o=t(i.forEach),s=t(i.keys),a=s(new r).next;return GC=function(l,u,c){return c?e({iterator:s(l),next:a},u):o(l,u)},GC}var KC,BM;function yE(){if(BM)return KC;BM=1;var t=Ps(),e=Df(),n=t.Set,r=t.add;return KC=function(i){var o=new n;return e(i,function(s){r(o,s)}),o},KC}var qC,jM;function kf(){if(jM)return qC;jM=1;var t=l1(),e=Ps();return qC=t(e.proto,"size","get")||function(n){return n.size},qC}var XC,UM;function Os(){return UM||(UM=1,XC=function(t){return{iterator:t,next:t.next,done:!1}}),XC}var ZC,zM;function Lu(){if(zM)return ZC;zM=1;var t=pr(),e=ln(),n=sn(),r=Hf(),i=Os(),o="Invalid size",s=RangeError,a=TypeError,l=Math.max,u=function(c,h){this.set=c,this.size=l(h,0),this.has=t(c.has),this.keys=t(c.keys)};return u.prototype={getIterator:function(){return i(e(n(this.keys,this.set)))},includes:function(c){return n(this.has,this.set,c)}},ZC=function(c){e(c);var h=+c.size;if(h!==h)throw new a(o);var d=r(h);if(d<0)throw new s(o);return new u(c,d)},ZC}var QC,YM;function vF(){if(YM)return QC;YM=1;var t=Du(),e=Ps(),n=yE(),r=kf(),i=Lu(),o=Df(),s=ku(),a=e.has,l=e.remove;return QC=function(c){var h=t(this),d=i(c),f=n(h);return r(h)<=d.size?o(h,function(g){d.includes(g)&&l(f,g)}):s(d.getIterator(),function(g){a(h,g)&&l(f,g)}),f},QC}var JC,GM;function $u(){if(GM)return JC;GM=1;var t=ah(),e=function(r){return{size:r,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},n=function(r){return{size:r,has:function(){return!0},keys:function(){throw new Error("e")}}};return JC=function(r,i){var o=t("Set");try{new o()[r](e(0));try{return new o()[r](e(-1)),!1}catch{if(!i)return!0;try{return new o()[r](n(-1/0)),!1}catch{var s=new o;return s.add(1),s.add(2),i(s[r](n(1/0)))}}}catch{return!1}},JC}var KM;function CF(){if(KM)return LM;KM=1;var t=dt(),e=vF(),n=$u(),r=!n("difference",function(i){return i.size===0});return t({target:"Set",proto:!0,real:!0,forced:r},{difference:e}),LM}CF();var qM={},ey,XM;function yF(){if(XM)return ey;XM=1;var t=Du(),e=Ps(),n=kf(),r=Lu(),i=Df(),o=ku(),s=e.Set,a=e.add,l=e.has;return ey=function(c){var h=t(this),d=r(c),f=new s;return n(h)>d.size?o(d.getIterator(),function(g){l(h,g)&&a(f,g)}):i(h,function(g){d.includes(g)&&a(f,g)}),f},ey}var ZM;function bF(){if(ZM)return qM;ZM=1;var t=dt(),e=Cn(),n=yF(),r=$u(),i=!r("intersection",function(o){return o.size===2&&o.has(1)&&o.has(2)})||e(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});return t({target:"Set",proto:!0,real:!0,forced:i},{intersection:n}),qM}bF();var QM={},ty,JM;function SF(){if(JM)return ty;JM=1;var t=Du(),e=Ps().has,n=kf(),r=Lu(),i=Df(),o=ku(),s=Yi();return ty=function(l){var u=t(this),c=r(l);if(n(u)<=c.size)return i(u,function(d){if(c.includes(d))return!1},!0)!==!1;var h=c.getIterator();return o(h,function(d){if(e(u,d))return s(h,"normal",!1)})!==!1},ty}var eI;function RF(){if(eI)return QM;eI=1;var t=dt(),e=SF(),n=$u(),r=!n("isDisjointFrom",function(i){return!i});return t({target:"Set",proto:!0,real:!0,forced:r},{isDisjointFrom:e}),QM}RF();var tI={},ny,nI;function EF(){if(nI)return ny;nI=1;var t=Du(),e=kf(),n=Df(),r=Lu();return ny=function(o){var s=t(this),a=r(o);return e(s)>a.size?!1:n(s,function(l){if(!a.includes(l))return!1},!0)!==!1},ny}var rI;function TF(){if(rI)return tI;rI=1;var t=dt(),e=EF(),n=$u(),r=!n("isSubsetOf",function(i){return i});return t({target:"Set",proto:!0,real:!0,forced:r},{isSubsetOf:e}),tI}TF();var iI={},ry,oI;function _F(){if(oI)return ry;oI=1;var t=Du(),e=Ps().has,n=kf(),r=Lu(),i=ku(),o=Yi();return ry=function(a){var l=t(this),u=r(a);if(n(l)<u.size)return!1;var c=u.getIterator();return i(c,function(h){if(!e(l,h))return o(c,"normal",!1)})!==!1},ry}var sI;function MF(){if(sI)return iI;sI=1;var t=dt(),e=_F(),n=$u(),r=!n("isSupersetOf",function(i){return!i});return t({target:"Set",proto:!0,real:!0,forced:r},{isSupersetOf:e}),iI}MF();var aI={},iy,lI;function IF(){if(lI)return iy;lI=1;var t=Du(),e=Ps(),n=yE(),r=Lu(),i=ku(),o=e.add,s=e.has,a=e.remove;return iy=function(u){var c=t(this),h=r(u).getIterator(),d=n(c);return i(h,function(f){s(c,f)?a(d,f):o(d,f)}),d},iy}var uI;function PF(){if(uI)return aI;uI=1;var t=dt(),e=IF(),n=$u();return t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:e}),aI}PF();var cI={},oy,hI;function OF(){if(hI)return oy;hI=1;var t=Du(),e=Ps().add,n=yE(),r=Lu(),i=ku();return oy=function(s){var a=t(this),l=r(s).getIterator(),u=n(a);return i(l,function(c){e(u,c)}),u},oy}var dI;function xF(){if(dI)return cI;dI=1;var t=dt(),e=OF(),n=$u();return t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:e}),cI}xF();var fI={},gI={},sy,mI;function AF(){if(mI)return sy;mI=1;var t=xf(),e=TypeError;return sy=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")},sy}var ay,pI;function HF(){if(pI)return ay;pI=1;var t=Cn();return ay=!t(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),ay}var ly,wI;function w1(){if(wI)return ly;wI=1;var t=po(),e=an(),n=lh(),r=mE(),i=HF(),o=r("IE_PROTO"),s=Object,a=s.prototype;return ly=i?s.getPrototypeOf:function(l){var u=n(l);if(t(u,o))return u[o];var c=u.constructor;return e(c)&&u instanceof c?c.prototype:u instanceof s?a:null},ly}var uy,vI;function NF(){if(vI)return uy;vI=1;var t=o1(),e=ml();return uy=function(n,r,i){return i.get&&t(i.get,r,{getter:!0}),i.set&&t(i.set,r,{setter:!0}),e.f(n,r,i)},uy}var cy={},hy,CI;function DF(){if(CI)return hy;CI=1;var t=s1(),e=vE();return hy=Object.keys||function(r){return t(r,e)},hy}var yI;function kF(){if(yI)return cy;yI=1;var t=go(),e=r1(),n=ml(),r=ln(),i=Of(),o=DF();return cy.f=t&&!e?Object.defineProperties:function(a,l){r(a);for(var u=i(l),c=o(l),h=c.length,d=0,f;h>d;)n.f(a,f=c[d++],u[f]);return a},cy}var dy,bI;function v1(){if(bI)return dy;bI=1;var t=ah();return dy=t("document","documentElement"),dy}var fy,SI;function bE(){if(SI)return fy;SI=1;var t=ln(),e=kF(),n=vE(),r=pE(),i=v1(),o=gE(),s=mE(),a=">",l="<",u="prototype",c="script",h=s("IE_PROTO"),d=function(){},f=function(v){return l+c+a+v+l+"/"+c+a},g=function(v){v.write(f("")),v.close();var P=v.parentWindow.Object;return v=null,P},C=function(){var v=o("iframe"),P="java"+c+":",O;return v.style.display="none",i.appendChild(v),v.src=String(P),O=v.contentWindow.document,O.open(),O.write(f("document.F=Object")),O.close(),O.F},y,E=function(){try{y=new ActiveXObject("htmlfile")}catch{}E=typeof document<"u"?document.domain&&y?g(y):C():g(y);for(var v=n.length;v--;)delete E[u][n[v]];return E()};return r[h]=!0,fy=Object.create||function(P,O){var L;return P!==null?(d[u]=t(P),L=new d,d[u]=null,L[h]=P):L=E(),O===void 0?L:e.f(L,O)},fy}var gy,RI;function C1(){if(RI)return gy;RI=1;var t=Cn(),e=an(),n=mo(),r=bE(),i=w1(),o=wE(),s=Yo(),a=gl(),l=s("iterator"),u=!1,c,h,d;[].keys&&(d=[].keys(),"next"in d?(h=i(i(d)),h!==Object.prototype&&(c=h)):u=!0);var f=!n(c)||t(function(){var g={};return c[l].call(g)!==g});return f?c={}:a&&(c=r(c)),e(c[l])||o(c,l,function(){return this}),gy={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:u},gy}var EI;function LF(){if(EI)return gI;EI=1;var t=dt(),e=on(),n=AF(),r=ln(),i=an(),o=w1(),s=NF(),a=p1(),l=Cn(),u=po(),c=Yo(),h=C1().IteratorPrototype,d=go(),f=gl(),g="constructor",C="Iterator",y=c("toStringTag"),E=TypeError,v=e[C],P=f||!i(v)||v.prototype!==h||!l(function(){v({})}),O=function(){if(n(this,h),o(this)===h)throw new E("Abstract class Iterator not directly constructable")},L=function(T,A){d?s(h,T,{configurable:!0,get:function(){return A},set:function(K){if(r(this),this===h)throw new E("You can't redefine this property");u(this,T)?this[T]=K:a(this,T,K)}}):h[T]=A};return u(h,y)||L(y,C),(P||!u(h,g)||h[g]===Object)&&L(g,O),O.prototype=h,t({global:!0,constructor:!0,forced:P},{Iterator:O}),gI}var TI;function $F(){return TI||(TI=1,LF()),fI}$F();var _I={},MI={},my,II;function FF(){if(II)return my;II=1;var t=wE();return my=function(e,n,r){for(var i in n)t(e,i,n[i],r);return e},my}var py,PI;function VF(){return PI||(PI=1,py=function(t,e){return{value:t,done:e}}),py}var wy,OI;function SE(){if(OI)return wy;OI=1;var t=sn(),e=bE(),n=uh(),r=FF(),i=Yo(),o=i1(),s=Af(),a=C1().IteratorPrototype,l=VF(),u=Yi(),c=i("toStringTag"),h="IteratorHelper",d="WrapForValidIterator",f=o.set,g=function(E){var v=o.getterFor(E?d:h);return r(e(a),{next:function(){var O=v(this);if(E)return O.nextHandler();if(O.done)return l(void 0,!0);try{var L=O.nextHandler();return O.returnHandlerResult?L:l(L,O.done)}catch(T){throw O.done=!0,T}},return:function(){var P=v(this),O=P.iterator;if(P.done=!0,E){var L=s(O,"return");return L?t(L,O):l(void 0,!0)}if(P.inner)try{u(P.inner.iterator,"normal")}catch(T){return u(O,"throw",T)}return O&&u(O,"normal"),l(void 0,!0)}})},C=g(!0),y=g(!1);return n(y,c,"Iterator Helper"),wy=function(E,v,P){var O=function(T,A){A?(A.iterator=T.iterator,A.next=T.next):A=T,A.type=v?d:h,A.returnHandlerResult=!!P,A.nextHandler=E,A.counter=0,A.done=!1,f(this,A)};return O.prototype=v?C:y,O},wy}var vy,xI;function y1(){if(xI)return vy;xI=1;var t=ln(),e=Yi();return vy=function(n,r,i,o){try{return o?r(t(i)[0],i[1]):r(i)}catch(s){e(n,"throw",s)}},vy}var Cy,AI;function pl(){if(AI)return Cy;AI=1;var t=on();return Cy=function(e,n){var r=t.Iterator,i=r&&r.prototype,o=i&&i[e],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(a){a instanceof n||(s=!1)}if(!s)return o},Cy}var HI;function WF(){if(HI)return MI;HI=1;var t=dt(),e=sn(),n=pr(),r=ln(),i=Os(),o=SE(),s=y1(),a=gl(),l=Yi(),u=pl(),c=!a&&u("filter",TypeError),h=o(function(){for(var d=this.iterator,f=this.predicate,g=this.next,C,y,E;;){if(C=r(e(g,d)),y=this.done=!!C.done,y)return;if(E=C.value,s(d,f,[E,this.counter++],!0))return E}});return t({target:"Iterator",proto:!0,real:!0,forced:a||c},{filter:function(f){r(this);try{n(f)}catch(g){l(this,"throw",g)}return c?e(c,this,f):new h(i(this),{predicate:f})}}),MI}var NI;function BF(){return NI||(NI=1,WF()),_I}BF();var DI={},kI={},LI;function jF(){if(LI)return kI;LI=1;var t=dt(),e=sn(),n=hh(),r=pr(),i=ln(),o=Os(),s=Yi(),a=pl(),l=a("forEach",TypeError);return t({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(c){i(this);try{r(c)}catch(f){s(this,"throw",f)}if(l)return e(l,this,c);var h=o(this),d=0;n(h,function(f){c(f,d++)},{IS_RECORD:!0})}}),kI}var $I;function UF(){return $I||($I=1,jF()),DI}UF();var FI={},VI={},WI;function zF(){if(WI)return VI;WI=1;var t=dt(),e=sn(),n=pr(),r=ln(),i=Os(),o=SE(),s=y1(),a=Yi(),l=pl(),u=gl(),c=!u&&l("map",TypeError),h=o(function(){var d=this.iterator,f=r(e(this.next,d)),g=this.done=!!f.done;if(!g)return s(d,this.mapper,[f.value,this.counter++],!0)});return t({target:"Iterator",proto:!0,real:!0,forced:u||c},{map:function(f){r(this);try{n(f)}catch(g){a(this,"throw",g)}return c?e(c,this,f):new h(i(this),{mapper:f})}}),VI}var BI;function YF(){return BI||(BI=1,zF()),FI}YF();var jI={},UI={},yy,zI;function RE(){if(zI)return yy;zI=1;var t=qt();return yy=t([].slice),yy}var by,YI;function b1(){if(YI)return by;YI=1;var t=TypeError;return by=function(e,n){if(e<n)throw new t("Not enough arguments");return e},by}var Sy,GI;function GF(){if(GI)return Sy;GI=1;var t=aw();return Sy=/(?:ipad|iphone|ipod).*applewebkit/i.test(t),Sy}var Ry,KI;function S1(){if(KI)return Ry;KI=1;var t=on(),e=aw(),n=Nu(),r=function(i){return e.slice(0,i.length)===i};return Ry=function(){return r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&typeof Bun.version=="string"?"BUN":t.Deno&&typeof Deno.version=="object"?"DENO":n(t.process)==="process"?"NODE":t.window&&t.document?"BROWSER":"REST"}(),Ry}var Ey,qI;function KF(){if(qI)return Ey;qI=1;var t=S1();return Ey=t==="NODE",Ey}var Ty,XI;function R1(){if(XI)return Ty;XI=1;var t=on(),e=Nf(),n=g1(),r=an(),i=po(),o=Cn(),s=v1(),a=RE(),l=gE(),u=b1(),c=GF(),h=KF(),d=t.setImmediate,f=t.clearImmediate,g=t.process,C=t.Dispatch,y=t.Function,E=t.MessageChannel,v=t.String,P=0,O={},L="onreadystatechange",T,A,K,U;o(function(){T=t.location});var j=function(te){if(i(O,te)){var ue=O[te];delete O[te],ue()}},Z=function(te){return function(){j(te)}},J=function(te){j(te.data)},se=function(te){t.postMessage(v(te),T.protocol+"//"+T.host)};return(!d||!f)&&(d=function(ue){u(arguments.length,1);var pt=r(ue)?ue:y(ue),be=a(arguments,1);return O[++P]=function(){e(pt,void 0,be)},A(P),P},f=function(ue){delete O[ue]},h?A=function(te){g.nextTick(Z(te))}:C&&C.now?A=function(te){C.now(Z(te))}:E&&!c?(K=new E,U=K.port2,K.port1.onmessage=J,A=n(U.postMessage,U)):t.addEventListener&&r(t.postMessage)&&!t.importScripts&&T&&T.protocol!=="file:"&&!o(se)?(A=se,t.addEventListener("message",J,!1)):L in l("script")?A=function(te){s.appendChild(l("script"))[L]=function(){s.removeChild(this),j(te)}}:A=function(te){setTimeout(Z(te),0)}),Ty={set:d,clear:f},Ty}var ZI;function qF(){if(ZI)return UI;ZI=1;var t=dt(),e=on(),n=R1().clear;return t({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==n},{clearImmediate:n}),UI}var QI={},_y,JI;function XF(){if(JI)return _y;JI=1;var t=on(),e=Nf(),n=an(),r=S1(),i=aw(),o=RE(),s=b1(),a=t.Function,l=/MSIE .\./.test(i)||r==="BUN"&&function(){var u=t.Bun.version.split(".");return u.length<3||u[0]==="0"&&(u[1]<3||u[1]==="3"&&u[2]==="0")}();return _y=function(u,c){var h=c?2:1;return l?function(d,f){var g=s(arguments.length,1)>h,C=n(d)?d:a(d),y=g?o(arguments,h):[],E=g?function(){e(C,this,y)}:C;return c?u(E,f):u(E)}:u},_y}var eP;function ZF(){if(eP)return QI;eP=1;var t=dt(),e=on(),n=R1().set,r=XF(),i=e.setImmediate?r(n,!1):n;return t({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==i},{setImmediate:i}),QI}var tP;function QF(){return tP||(tP=1,qF(),ZF()),jI}QF();/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */const{entries:E1,setPrototypeOf:nP,isFrozen:JF,getPrototypeOf:eV,getOwnPropertyDescriptor:tV}=Object;let{freeze:zn,seal:fo,create:T1}=Object,{apply:aR,construct:lR}=typeof Reflect<"u"&&Reflect;zn||(zn=function(e){return e});fo||(fo=function(e){return e});aR||(aR=function(e,n,r){return e.apply(n,r)});lR||(lR=function(e,n){return new e(...n)});const ig=Yn(Array.prototype.forEach),nV=Yn(Array.prototype.lastIndexOf),rP=Yn(Array.prototype.pop),Mh=Yn(Array.prototype.push),rV=Yn(Array.prototype.splice),Wm=Yn(String.prototype.toLowerCase),My=Yn(String.prototype.toString),iP=Yn(String.prototype.match),Ih=Yn(String.prototype.replace),iV=Yn(String.prototype.indexOf),oV=Yn(String.prototype.trim),xo=Yn(Object.prototype.hasOwnProperty),Dn=Yn(RegExp.prototype.test),Ph=sV(TypeError);function Yn(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return aR(t,e,r)}}function sV(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return lR(t,n)}}function Fe(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wm;nP&&nP(t,null);let r=e.length;for(;r--;){let i=e[r];if(typeof i=="string"){const o=n(i);o!==i&&(JF(e)||(e[r]=o),i=o)}t[i]=!0}return t}function aV(t){for(let e=0;e<t.length;e++)xo(t,e)||(t[e]=null);return t}function lu(t){const e=T1(null);for(const[n,r]of E1(t))xo(t,n)&&(Array.isArray(r)?e[n]=aV(r):r&&typeof r=="object"&&r.constructor===Object?e[n]=lu(r):e[n]=r);return e}function Oh(t,e){for(;t!==null;){const r=tV(t,e);if(r){if(r.get)return Yn(r.get);if(typeof r.value=="function")return Yn(r.value)}t=eV(t)}function n(){return null}return n}const oP=zn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Iy=zn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Py=zn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),lV=zn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Oy=zn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),uV=zn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),sP=zn(["#text"]),aP=zn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),xy=zn(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),lP=zn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),og=zn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),cV=fo(/\{\{[\w\W]*|[\w\W]*\}\}/gm),hV=fo(/<%[\w\W]*|[\w\W]*%>/gm),dV=fo(/\$\{[\w\W]*/gm),fV=fo(/^data-[\-\w.\u00B7-\uFFFF]+$/),gV=fo(/^aria-[\-\w]+$/),_1=fo(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mV=fo(/^(?:\w+script|data):/i),pV=fo(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),M1=fo(/^html$/i),wV=fo(/^[a-z][.\w]*(-[.\w]+)+$/i);var uP=Object.freeze({__proto__:null,ARIA_ATTR:gV,ATTR_WHITESPACE:pV,CUSTOM_ELEMENT:wV,DATA_ATTR:fV,DOCTYPE_NAME:M1,ERB_EXPR:hV,IS_ALLOWED_URI:_1,IS_SCRIPT_OR_DATA:mV,MUSTACHE_EXPR:cV,TMPLIT_EXPR:dV});const xh={element:1,text:3,progressingInstruction:7,comment:8,document:9},vV=function(){return typeof window>"u"?null:window},CV=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},cP=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function I1(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vV();const e=we=>I1(we);if(e.version="3.2.5",e.removed=[],!t||!t.document||t.document.nodeType!==xh.document||!t.Element)return e.isSupported=!1,e;let{document:n}=t;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:u,NamedNodeMap:c=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:d,trustedTypes:f}=t,g=l.prototype,C=Oh(g,"cloneNode"),y=Oh(g,"remove"),E=Oh(g,"nextSibling"),v=Oh(g,"childNodes"),P=Oh(g,"parentNode");if(typeof s=="function"){const we=n.createElement("template");we.content&&we.content.ownerDocument&&(n=we.content.ownerDocument)}let O,L="";const{implementation:T,createNodeIterator:A,createDocumentFragment:K,getElementsByTagName:U}=n,{importNode:j}=r;let Z=cP();e.isSupported=typeof E1=="function"&&typeof P=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:J,ERB_EXPR:se,TMPLIT_EXPR:te,DATA_ATTR:ue,ARIA_ATTR:pt,IS_SCRIPT_OR_DATA:be,ATTR_WHITESPACE:ke,CUSTOM_ELEMENT:wt}=uP;let{IS_ALLOWED_URI:fn}=uP,et=null;const m=Fe({},[...oP,...Iy,...Py,...Oy,...sP]);let w=null;const p=Fe({},[...aP,...xy,...lP,...og]);let I=Object.seal(T1(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),$=null,B=null,Y=!0,q=!0,b=!1,R=!0,S=!1,k=!0,_=!1,H=!1,W=!1,x=!1,N=!1,V=!1,F=!0,z=!1;const oe="user-content-";let ce=!0,Re=!1,Ne={},We=null;const Se=Fe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Le=null;const vt=Fe({},["audio","video","img","source","image","track"]);let yo=null;const Ns=Fe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ki="http://www.w3.org/1998/Math/MathML",Ct="http://www.w3.org/2000/svg",Zt="http://www.w3.org/1999/xhtml";let ft=Zt,yt=!1,$e=null;const qi=Fe({},[Ki,Ct,Zt],My);let yl=Fe({},["mi","mo","mn","ms","mtext"]),bl=Fe({},["annotation-xml"]);const A$=Fe({},["title","style","font","a","script"]);let Rh=null;const H$=["application/xhtml+xml","text/html"],N$="text/html";let gn=null,Uu=null;const D$=n.createElement("form"),AT=function(D){return D instanceof RegExp||D instanceof Function},iv=function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Uu&&Uu===D)){if((!D||typeof D!="object")&&(D={}),D=lu(D),Rh=H$.indexOf(D.PARSER_MEDIA_TYPE)===-1?N$:D.PARSER_MEDIA_TYPE,gn=Rh==="application/xhtml+xml"?My:Wm,et=xo(D,"ALLOWED_TAGS")?Fe({},D.ALLOWED_TAGS,gn):m,w=xo(D,"ALLOWED_ATTR")?Fe({},D.ALLOWED_ATTR,gn):p,$e=xo(D,"ALLOWED_NAMESPACES")?Fe({},D.ALLOWED_NAMESPACES,My):qi,yo=xo(D,"ADD_URI_SAFE_ATTR")?Fe(lu(Ns),D.ADD_URI_SAFE_ATTR,gn):Ns,Le=xo(D,"ADD_DATA_URI_TAGS")?Fe(lu(vt),D.ADD_DATA_URI_TAGS,gn):vt,We=xo(D,"FORBID_CONTENTS")?Fe({},D.FORBID_CONTENTS,gn):Se,$=xo(D,"FORBID_TAGS")?Fe({},D.FORBID_TAGS,gn):{},B=xo(D,"FORBID_ATTR")?Fe({},D.FORBID_ATTR,gn):{},Ne=xo(D,"USE_PROFILES")?D.USE_PROFILES:!1,Y=D.ALLOW_ARIA_ATTR!==!1,q=D.ALLOW_DATA_ATTR!==!1,b=D.ALLOW_UNKNOWN_PROTOCOLS||!1,R=D.ALLOW_SELF_CLOSE_IN_ATTR!==!1,S=D.SAFE_FOR_TEMPLATES||!1,k=D.SAFE_FOR_XML!==!1,_=D.WHOLE_DOCUMENT||!1,x=D.RETURN_DOM||!1,N=D.RETURN_DOM_FRAGMENT||!1,V=D.RETURN_TRUSTED_TYPE||!1,W=D.FORCE_BODY||!1,F=D.SANITIZE_DOM!==!1,z=D.SANITIZE_NAMED_PROPS||!1,ce=D.KEEP_CONTENT!==!1,Re=D.IN_PLACE||!1,fn=D.ALLOWED_URI_REGEXP||_1,ft=D.NAMESPACE||Zt,yl=D.MATHML_TEXT_INTEGRATION_POINTS||yl,bl=D.HTML_INTEGRATION_POINTS||bl,I=D.CUSTOM_ELEMENT_HANDLING||{},D.CUSTOM_ELEMENT_HANDLING&&AT(D.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(I.tagNameCheck=D.CUSTOM_ELEMENT_HANDLING.tagNameCheck),D.CUSTOM_ELEMENT_HANDLING&&AT(D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(I.attributeNameCheck=D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),D.CUSTOM_ELEMENT_HANDLING&&typeof D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(I.allowCustomizedBuiltInElements=D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),S&&(q=!1),N&&(x=!0),Ne&&(et=Fe({},sP),w=[],Ne.html===!0&&(Fe(et,oP),Fe(w,aP)),Ne.svg===!0&&(Fe(et,Iy),Fe(w,xy),Fe(w,og)),Ne.svgFilters===!0&&(Fe(et,Py),Fe(w,xy),Fe(w,og)),Ne.mathMl===!0&&(Fe(et,Oy),Fe(w,lP),Fe(w,og))),D.ADD_TAGS&&(et===m&&(et=lu(et)),Fe(et,D.ADD_TAGS,gn)),D.ADD_ATTR&&(w===p&&(w=lu(w)),Fe(w,D.ADD_ATTR,gn)),D.ADD_URI_SAFE_ATTR&&Fe(yo,D.ADD_URI_SAFE_ATTR,gn),D.FORBID_CONTENTS&&(We===Se&&(We=lu(We)),Fe(We,D.FORBID_CONTENTS,gn)),ce&&(et["#text"]=!0),_&&Fe(et,["html","head","body"]),et.table&&(Fe(et,["tbody"]),delete $.tbody),D.TRUSTED_TYPES_POLICY){if(typeof D.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ph('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof D.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ph('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=D.TRUSTED_TYPES_POLICY,L=O.createHTML("")}else O===void 0&&(O=CV(f,i)),O!==null&&typeof L=="string"&&(L=O.createHTML(""));zn&&zn(D),Uu=D}},HT=Fe({},[...Iy,...Py,...lV]),NT=Fe({},[...Oy,...uV]),k$=function(D){let ee=P(D);(!ee||!ee.tagName)&&(ee={namespaceURI:ft,tagName:"template"});const ge=Wm(D.tagName),_t=Wm(ee.tagName);return $e[D.namespaceURI]?D.namespaceURI===Ct?ee.namespaceURI===Zt?ge==="svg":ee.namespaceURI===Ki?ge==="svg"&&(_t==="annotation-xml"||yl[_t]):!!HT[ge]:D.namespaceURI===Ki?ee.namespaceURI===Zt?ge==="math":ee.namespaceURI===Ct?ge==="math"&&bl[_t]:!!NT[ge]:D.namespaceURI===Zt?ee.namespaceURI===Ct&&!bl[_t]||ee.namespaceURI===Ki&&!yl[_t]?!1:!NT[ge]&&(A$[ge]||!HT[ge]):!!(Rh==="application/xhtml+xml"&&$e[D.namespaceURI]):!1},Xo=function(D){Mh(e.removed,{element:D});try{P(D).removeChild(D)}catch{y(D)}},rg=function(D,ee){try{Mh(e.removed,{attribute:ee.getAttributeNode(D),from:ee})}catch{Mh(e.removed,{attribute:null,from:ee})}if(ee.removeAttribute(D),D==="is")if(x||N)try{Xo(ee)}catch{}else try{ee.setAttribute(D,"")}catch{}},DT=function(D){let ee=null,ge=null;if(W)D="<remove></remove>"+D;else{const yn=iP(D,/^[\r\n\t ]+/);ge=yn&&yn[0]}Rh==="application/xhtml+xml"&&ft===Zt&&(D='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+D+"</body></html>");const _t=O?O.createHTML(D):D;if(ft===Zt)try{ee=new d().parseFromString(_t,Rh)}catch{}if(!ee||!ee.documentElement){ee=T.createDocument(ft,"template",null);try{ee.documentElement.innerHTML=yt?L:_t}catch{}}const En=ee.body||ee.documentElement;return D&&ge&&En.insertBefore(n.createTextNode(ge),En.childNodes[0]||null),ft===Zt?U.call(ee,_?"html":"body")[0]:_?ee.documentElement:En},kT=function(D){return A.call(D.ownerDocument||D,D,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ov=function(D){return D instanceof h&&(typeof D.nodeName!="string"||typeof D.textContent!="string"||typeof D.removeChild!="function"||!(D.attributes instanceof c)||typeof D.removeAttribute!="function"||typeof D.setAttribute!="function"||typeof D.namespaceURI!="string"||typeof D.insertBefore!="function"||typeof D.hasChildNodes!="function")},LT=function(D){return typeof a=="function"&&D instanceof a};function Ds(we,D,ee){ig(we,ge=>{ge.call(e,D,ee,Uu)})}const $T=function(D){let ee=null;if(Ds(Z.beforeSanitizeElements,D,null),ov(D))return Xo(D),!0;const ge=gn(D.nodeName);if(Ds(Z.uponSanitizeElement,D,{tagName:ge,allowedTags:et}),D.hasChildNodes()&&!LT(D.firstElementChild)&&Dn(/<[/\w!]/g,D.innerHTML)&&Dn(/<[/\w!]/g,D.textContent)||D.nodeType===xh.progressingInstruction||k&&D.nodeType===xh.comment&&Dn(/<[/\w]/g,D.data))return Xo(D),!0;if(!et[ge]||$[ge]){if(!$[ge]&&VT(ge)&&(I.tagNameCheck instanceof RegExp&&Dn(I.tagNameCheck,ge)||I.tagNameCheck instanceof Function&&I.tagNameCheck(ge)))return!1;if(ce&&!We[ge]){const _t=P(D)||D.parentNode,En=v(D)||D.childNodes;if(En&&_t){const yn=En.length;for(let Jn=yn-1;Jn>=0;--Jn){const Zo=C(En[Jn],!0);Zo.__removalCount=(D.__removalCount||0)+1,_t.insertBefore(Zo,E(D))}}}return Xo(D),!0}return D instanceof l&&!k$(D)||(ge==="noscript"||ge==="noembed"||ge==="noframes")&&Dn(/<\/no(script|embed|frames)/i,D.innerHTML)?(Xo(D),!0):(S&&D.nodeType===xh.text&&(ee=D.textContent,ig([J,se,te],_t=>{ee=Ih(ee,_t," ")}),D.textContent!==ee&&(Mh(e.removed,{element:D.cloneNode()}),D.textContent=ee)),Ds(Z.afterSanitizeElements,D,null),!1)},FT=function(D,ee,ge){if(F&&(ee==="id"||ee==="name")&&(ge in n||ge in D$))return!1;if(!(q&&!B[ee]&&Dn(ue,ee))){if(!(Y&&Dn(pt,ee))){if(!w[ee]||B[ee]){if(!(VT(D)&&(I.tagNameCheck instanceof RegExp&&Dn(I.tagNameCheck,D)||I.tagNameCheck instanceof Function&&I.tagNameCheck(D))&&(I.attributeNameCheck instanceof RegExp&&Dn(I.attributeNameCheck,ee)||I.attributeNameCheck instanceof Function&&I.attributeNameCheck(ee))||ee==="is"&&I.allowCustomizedBuiltInElements&&(I.tagNameCheck instanceof RegExp&&Dn(I.tagNameCheck,ge)||I.tagNameCheck instanceof Function&&I.tagNameCheck(ge))))return!1}else if(!yo[ee]){if(!Dn(fn,Ih(ge,ke,""))){if(!((ee==="src"||ee==="xlink:href"||ee==="href")&&D!=="script"&&iV(ge,"data:")===0&&Le[D])){if(!(b&&!Dn(be,Ih(ge,ke,"")))){if(ge)return!1}}}}}}return!0},VT=function(D){return D!=="annotation-xml"&&iP(D,wt)},WT=function(D){Ds(Z.beforeSanitizeAttributes,D,null);const{attributes:ee}=D;if(!ee||ov(D))return;const ge={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:w,forceKeepAttr:void 0};let _t=ee.length;for(;_t--;){const En=ee[_t],{name:yn,namespaceURI:Jn,value:Zo}=En,Eh=gn(yn);let Nn=yn==="value"?Zo:oV(Zo);if(ge.attrName=Eh,ge.attrValue=Nn,ge.keepAttr=!0,ge.forceKeepAttr=void 0,Ds(Z.uponSanitizeAttribute,D,ge),Nn=ge.attrValue,z&&(Eh==="id"||Eh==="name")&&(rg(yn,D),Nn=oe+Nn),k&&Dn(/((--!?|])>)|<\/(style|title)/i,Nn)){rg(yn,D);continue}if(ge.forceKeepAttr||(rg(yn,D),!ge.keepAttr))continue;if(!R&&Dn(/\/>/i,Nn)){rg(yn,D);continue}S&&ig([J,se,te],jT=>{Nn=Ih(Nn,jT," ")});const BT=gn(D.nodeName);if(FT(BT,Eh,Nn)){if(O&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!Jn)switch(f.getAttributeType(BT,Eh)){case"TrustedHTML":{Nn=O.createHTML(Nn);break}case"TrustedScriptURL":{Nn=O.createScriptURL(Nn);break}}try{Jn?D.setAttributeNS(Jn,yn,Nn):D.setAttribute(yn,Nn),ov(D)?Xo(D):rP(e.removed)}catch{}}}Ds(Z.afterSanitizeAttributes,D,null)},L$=function we(D){let ee=null;const ge=kT(D);for(Ds(Z.beforeSanitizeShadowDOM,D,null);ee=ge.nextNode();)Ds(Z.uponSanitizeShadowNode,ee,null),$T(ee),WT(ee),ee.content instanceof o&&we(ee.content);Ds(Z.afterSanitizeShadowDOM,D,null)};return e.sanitize=function(we){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=null,ge=null,_t=null,En=null;if(yt=!we,yt&&(we="<!-->"),typeof we!="string"&&!LT(we))if(typeof we.toString=="function"){if(we=we.toString(),typeof we!="string")throw Ph("dirty is not a string, aborting")}else throw Ph("toString is not a function");if(!e.isSupported)return we;if(H||iv(D),e.removed=[],typeof we=="string"&&(Re=!1),Re){if(we.nodeName){const Zo=gn(we.nodeName);if(!et[Zo]||$[Zo])throw Ph("root node is forbidden and cannot be sanitized in-place")}}else if(we instanceof a)ee=DT("<!---->"),ge=ee.ownerDocument.importNode(we,!0),ge.nodeType===xh.element&&ge.nodeName==="BODY"||ge.nodeName==="HTML"?ee=ge:ee.appendChild(ge);else{if(!x&&!S&&!_&&we.indexOf("<")===-1)return O&&V?O.createHTML(we):we;if(ee=DT(we),!ee)return x?null:V?L:""}ee&&W&&Xo(ee.firstChild);const yn=kT(Re?we:ee);for(;_t=yn.nextNode();)$T(_t),WT(_t),_t.content instanceof o&&L$(_t.content);if(Re)return we;if(x){if(N)for(En=K.call(ee.ownerDocument);ee.firstChild;)En.appendChild(ee.firstChild);else En=ee;return(w.shadowroot||w.shadowrootmode)&&(En=j.call(r,En,!0)),En}let Jn=_?ee.outerHTML:ee.innerHTML;return _&&et["!doctype"]&&ee.ownerDocument&&ee.ownerDocument.doctype&&ee.ownerDocument.doctype.name&&Dn(M1,ee.ownerDocument.doctype.name)&&(Jn="<!DOCTYPE "+ee.ownerDocument.doctype.name+`>
1
+ import{a4 as UT,W as Dt,a5 as XH,r as Th,j as zT}from"./app.js";import{u as $$}from"./use-appearance-J8J2w43p.js";var YT={},_h,GT;function on(){if(GT)return _h;GT=1;var t=function(e){return e&&e.Math===Math&&e};return _h=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof UT=="object"&&UT)||t(typeof _h=="object"&&_h)||function(){return this}()||Function("return this")(),_h}var sv={},av,KT;function Cn(){return KT||(KT=1,av=function(t){try{return!!t()}catch{return!0}}),av}var lv,qT;function go(){if(qT)return lv;qT=1;var t=Cn();return lv=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),lv}var uv,XT;function ow(){if(XT)return uv;XT=1;var t=Cn();return uv=!t(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),uv}var cv,ZT;function sn(){if(ZT)return cv;ZT=1;var t=ow(),e=Function.prototype.call;return cv=t?e.bind(e):function(){return e.apply(e,arguments)},cv}var hv={},QT;function F$(){if(QT)return hv;QT=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return hv.f=n?function(i){var o=e(this,i);return!!o&&o.enumerable}:t,hv}var dv,JT;function sw(){return JT||(JT=1,dv=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}}),dv}var fv,e_;function qt(){if(e_)return fv;e_=1;var t=ow(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return fv=t?r:function(i){return function(){return n.apply(i,arguments)}},fv}var gv,t_;function Nu(){if(t_)return gv;t_=1;var t=qt(),e=t({}.toString),n=t("".slice);return gv=function(r){return n(e(r),8,-1)},gv}var mv,n_;function V$(){if(n_)return mv;n_=1;var t=qt(),e=Cn(),n=Nu(),r=Object,i=t("".split);return mv=e(function(){return!r("z").propertyIsEnumerable(0)})?function(o){return n(o)==="String"?i(o,""):r(o)}:r,mv}var pv,r_;function uE(){return r_||(r_=1,pv=function(t){return t==null}),pv}var wv,i_;function Pf(){if(i_)return wv;i_=1;var t=uE(),e=TypeError;return wv=function(n){if(t(n))throw new e("Can't call method on "+n);return n},wv}var vv,o_;function Of(){if(o_)return vv;o_=1;var t=V$(),e=Pf();return vv=function(n){return t(e(n))},vv}var Cv,s_;function an(){if(s_)return Cv;s_=1;var t=typeof document=="object"&&document.all;return Cv=typeof t>"u"&&t!==void 0?function(e){return typeof e=="function"||e===t}:function(e){return typeof e=="function"},Cv}var yv,a_;function mo(){if(a_)return yv;a_=1;var t=an();return yv=function(e){return typeof e=="object"?e!==null:t(e)},yv}var bv,l_;function ah(){if(l_)return bv;l_=1;var t=on(),e=an(),n=function(r){return e(r)?r:void 0};return bv=function(r,i){return arguments.length<2?n(t[r]):t[r]&&t[r][i]},bv}var Sv,u_;function xf(){if(u_)return Sv;u_=1;var t=qt();return Sv=t({}.isPrototypeOf),Sv}var Rv,c_;function aw(){if(c_)return Rv;c_=1;var t=on(),e=t.navigator,n=e&&e.userAgent;return Rv=n?String(n):"",Rv}var Ev,h_;function W$(){if(h_)return Ev;h_=1;var t=on(),e=aw(),n=t.process,r=t.Deno,i=n&&n.versions||r&&r.version,o=i&&i.v8,s,a;return o&&(s=o.split("."),a=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!a&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(a=+s[1]))),Ev=a,Ev}var Tv,d_;function cE(){if(d_)return Tv;d_=1;var t=W$(),e=Cn(),n=on(),r=n.String;return Tv=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!r(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&t&&t<41}),Tv}var _v,f_;function ZH(){if(f_)return _v;f_=1;var t=cE();return _v=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol",_v}var Mv,g_;function hE(){if(g_)return Mv;g_=1;var t=ah(),e=an(),n=xf(),r=ZH(),i=Object;return Mv=r?function(o){return typeof o=="symbol"}:function(o){var s=t("Symbol");return e(s)&&n(s.prototype,i(o))},Mv}var Iv,m_;function lw(){if(m_)return Iv;m_=1;var t=String;return Iv=function(e){try{return t(e)}catch{return"Object"}},Iv}var Pv,p_;function pr(){if(p_)return Pv;p_=1;var t=an(),e=lw(),n=TypeError;return Pv=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")},Pv}var Ov,w_;function Af(){if(w_)return Ov;w_=1;var t=pr(),e=uE();return Ov=function(n,r){var i=n[r];return e(i)?void 0:t(i)},Ov}var xv,v_;function B$(){if(v_)return xv;v_=1;var t=sn(),e=an(),n=mo(),r=TypeError;return xv=function(i,o){var s,a;if(o==="string"&&e(s=i.toString)&&!n(a=t(s,i))||e(s=i.valueOf)&&!n(a=t(s,i))||o!=="string"&&e(s=i.toString)&&!n(a=t(s,i)))return a;throw new r("Can't convert object to primitive value")},xv}var Av={exports:{}},Hv,C_;function gl(){return C_||(C_=1,Hv=!1),Hv}var Nv,y_;function dE(){if(y_)return Nv;y_=1;var t=on(),e=Object.defineProperty;return Nv=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch{t[n]=r}return r},Nv}var b_;function fE(){if(b_)return Av.exports;b_=1;var t=gl(),e=on(),n=dE(),r="__core-js_shared__",i=Av.exports=e[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.42.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Av.exports}var Dv,S_;function QH(){if(S_)return Dv;S_=1;var t=fE();return Dv=function(e,n){return t[e]||(t[e]=n||{})},Dv}var kv,R_;function lh(){if(R_)return kv;R_=1;var t=Pf(),e=Object;return kv=function(n){return e(t(n))},kv}var Lv,E_;function po(){if(E_)return Lv;E_=1;var t=qt(),e=lh(),n=t({}.hasOwnProperty);return Lv=Object.hasOwn||function(i,o){return n(e(i),o)},Lv}var $v,T_;function JH(){if(T_)return $v;T_=1;var t=qt(),e=0,n=Math.random(),r=t(1 .toString);return $v=function(i){return"Symbol("+(i===void 0?"":i)+")_"+r(++e+n,36)},$v}var Fv,__;function Yo(){if(__)return Fv;__=1;var t=on(),e=QH(),n=po(),r=JH(),i=cE(),o=ZH(),s=t.Symbol,a=e("wks"),l=o?s.for||s:s&&s.withoutSetter||r;return Fv=function(u){return n(a,u)||(a[u]=i&&n(s,u)?s[u]:l("Symbol."+u)),a[u]},Fv}var Vv,M_;function j$(){if(M_)return Vv;M_=1;var t=sn(),e=mo(),n=hE(),r=Af(),i=B$(),o=Yo(),s=TypeError,a=o("toPrimitive");return Vv=function(l,u){if(!e(l)||n(l))return l;var c=r(l,a),h;if(c){if(u===void 0&&(u="default"),h=t(c,l,u),!e(h)||n(h))return h;throw new s("Can't convert object to primitive value")}return u===void 0&&(u="number"),i(l,u)},Vv}var Wv,I_;function e1(){if(I_)return Wv;I_=1;var t=j$(),e=hE();return Wv=function(n){var r=t(n,"string");return e(r)?r:r+""},Wv}var Bv,P_;function gE(){if(P_)return Bv;P_=1;var t=on(),e=mo(),n=t.document,r=e(n)&&e(n.createElement);return Bv=function(i){return r?n.createElement(i):{}},Bv}var jv,O_;function t1(){if(O_)return jv;O_=1;var t=go(),e=Cn(),n=gE();return jv=!t&&!e(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7}),jv}var x_;function n1(){if(x_)return sv;x_=1;var t=go(),e=sn(),n=F$(),r=sw(),i=Of(),o=e1(),s=po(),a=t1(),l=Object.getOwnPropertyDescriptor;return sv.f=t?l:function(c,h){if(c=i(c),h=o(h),a)try{return l(c,h)}catch{}if(s(c,h))return r(!e(n.f,c,h),c[h])},sv}var Uv={},zv,A_;function r1(){if(A_)return zv;A_=1;var t=go(),e=Cn();return zv=t&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),zv}var Yv,H_;function ln(){if(H_)return Yv;H_=1;var t=mo(),e=String,n=TypeError;return Yv=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")},Yv}var N_;function ml(){if(N_)return Uv;N_=1;var t=go(),e=t1(),n=r1(),r=ln(),i=e1(),o=TypeError,s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l="enumerable",u="configurable",c="writable";return Uv.f=t?n?function(d,f,g){if(r(d),f=i(f),r(g),typeof d=="function"&&f==="prototype"&&"value"in g&&c in g&&!g[c]){var C=a(d,f);C&&C[c]&&(d[f]=g.value,g={configurable:u in g?g[u]:C[u],enumerable:l in g?g[l]:C[l],writable:!1})}return s(d,f,g)}:s:function(d,f,g){if(r(d),f=i(f),r(g),e)try{return s(d,f,g)}catch{}if("get"in g||"set"in g)throw new o("Accessors not supported");return"value"in g&&(d[f]=g.value),d},Uv}var Gv,D_;function uh(){if(D_)return Gv;D_=1;var t=go(),e=ml(),n=sw();return Gv=t?function(r,i,o){return e.f(r,i,n(1,o))}:function(r,i,o){return r[i]=o,r},Gv}var Kv={exports:{}},qv,k_;function U$(){if(k_)return qv;k_=1;var t=go(),e=po(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,i=e(n,"name"),o=i&&(function(){}).name==="something",s=i&&(!t||t&&r(n,"name").configurable);return qv={EXISTS:i,PROPER:o,CONFIGURABLE:s},qv}var Xv,L_;function z$(){if(L_)return Xv;L_=1;var t=qt(),e=an(),n=fE(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(i){return r(i)}),Xv=n.inspectSource,Xv}var Zv,$_;function Y$(){if($_)return Zv;$_=1;var t=on(),e=an(),n=t.WeakMap;return Zv=e(n)&&/native code/.test(String(n)),Zv}var Qv,F_;function mE(){if(F_)return Qv;F_=1;var t=QH(),e=JH(),n=t("keys");return Qv=function(r){return n[r]||(n[r]=e(r))},Qv}var Jv,V_;function pE(){return V_||(V_=1,Jv={}),Jv}var eC,W_;function i1(){if(W_)return eC;W_=1;var t=Y$(),e=on(),n=mo(),r=uh(),i=po(),o=fE(),s=mE(),a=pE(),l="Object already initialized",u=e.TypeError,c=e.WeakMap,h,d,f,g=function(v){return f(v)?d(v):h(v,{})},C=function(v){return function(P){var O;if(!n(P)||(O=d(P)).type!==v)throw new u("Incompatible receiver, "+v+" required");return O}};if(t||o.state){var y=o.state||(o.state=new c);y.get=y.get,y.has=y.has,y.set=y.set,h=function(v,P){if(y.has(v))throw new u(l);return P.facade=v,y.set(v,P),P},d=function(v){return y.get(v)||{}},f=function(v){return y.has(v)}}else{var E=s("state");a[E]=!0,h=function(v,P){if(i(v,E))throw new u(l);return P.facade=v,r(v,E,P),P},d=function(v){return i(v,E)?v[E]:{}},f=function(v){return i(v,E)}}return eC={set:h,get:d,has:f,enforce:g,getterFor:C},eC}var B_;function o1(){if(B_)return Kv.exports;B_=1;var t=qt(),e=Cn(),n=an(),r=po(),i=go(),o=U$().CONFIGURABLE,s=z$(),a=i1(),l=a.enforce,u=a.get,c=String,h=Object.defineProperty,d=t("".slice),f=t("".replace),g=t([].join),C=i&&!e(function(){return h(function(){},"length",{value:8}).length!==8}),y=String(String).split("String"),E=Kv.exports=function(v,P,O){d(c(P),0,7)==="Symbol("&&(P="["+f(c(P),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),O&&O.getter&&(P="get "+P),O&&O.setter&&(P="set "+P),(!r(v,"name")||o&&v.name!==P)&&(i?h(v,"name",{value:P,configurable:!0}):v.name=P),C&&O&&r(O,"arity")&&v.length!==O.arity&&h(v,"length",{value:O.arity});try{O&&r(O,"constructor")&&O.constructor?i&&h(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch{}var L=l(v);return r(L,"source")||(L.source=g(y,typeof P=="string"?P:"")),v};return Function.prototype.toString=E(function(){return n(this)&&u(this).source||s(this)},"toString"),Kv.exports}var tC,j_;function wE(){if(j_)return tC;j_=1;var t=an(),e=ml(),n=o1(),r=dE();return tC=function(i,o,s,a){a||(a={});var l=a.enumerable,u=a.name!==void 0?a.name:o;if(t(s)&&n(s,u,a),a.global)l?i[o]=s:r(o,s);else{try{a.unsafe?i[o]&&(l=!0):delete i[o]}catch{}l?i[o]=s:e.f(i,o,{value:s,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i},tC}var nC={},rC,U_;function G$(){if(U_)return rC;U_=1;var t=Math.ceil,e=Math.floor;return rC=Math.trunc||function(r){var i=+r;return(i>0?e:t)(i)},rC}var iC,z_;function Hf(){if(z_)return iC;z_=1;var t=G$();return iC=function(e){var n=+e;return n!==n||n===0?0:t(n)},iC}var oC,Y_;function K$(){if(Y_)return oC;Y_=1;var t=Hf(),e=Math.max,n=Math.min;return oC=function(r,i){var o=t(r);return o<0?e(o+i,0):n(o,i)},oC}var sC,G_;function q$(){if(G_)return sC;G_=1;var t=Hf(),e=Math.min;return sC=function(n){var r=t(n);return r>0?e(r,9007199254740991):0},sC}var aC,K_;function ch(){if(K_)return aC;K_=1;var t=q$();return aC=function(e){return t(e.length)},aC}var lC,q_;function X$(){if(q_)return lC;q_=1;var t=Of(),e=K$(),n=ch(),r=function(i){return function(o,s,a){var l=t(o),u=n(l);if(u===0)return!i&&-1;var c=e(a,u),h;if(i&&s!==s){for(;u>c;)if(h=l[c++],h!==h)return!0}else for(;u>c;c++)if((i||c in l)&&l[c]===s)return i||c||0;return!i&&-1}};return lC={includes:r(!0),indexOf:r(!1)},lC}var uC,X_;function s1(){if(X_)return uC;X_=1;var t=qt(),e=po(),n=Of(),r=X$().indexOf,i=pE(),o=t([].push);return uC=function(s,a){var l=n(s),u=0,c=[],h;for(h in l)!e(i,h)&&e(l,h)&&o(c,h);for(;a.length>u;)e(l,h=a[u++])&&(~r(c,h)||o(c,h));return c},uC}var cC,Z_;function vE(){return Z_||(Z_=1,cC=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),cC}var Q_;function Z$(){if(Q_)return nC;Q_=1;var t=s1(),e=vE(),n=e.concat("length","prototype");return nC.f=Object.getOwnPropertyNames||function(i){return t(i,n)},nC}var hC={},J_;function Q$(){return J_||(J_=1,hC.f=Object.getOwnPropertySymbols),hC}var dC,eM;function J$(){if(eM)return dC;eM=1;var t=ah(),e=qt(),n=Z$(),r=Q$(),i=ln(),o=e([].concat);return dC=t("Reflect","ownKeys")||function(a){var l=n.f(i(a)),u=r.f;return u?o(l,u(a)):l},dC}var fC,tM;function a1(){if(tM)return fC;tM=1;var t=po(),e=J$(),n=n1(),r=ml();return fC=function(i,o,s){for(var a=e(o),l=r.f,u=n.f,c=0;c<a.length;c++){var h=a[c];!t(i,h)&&!(s&&t(s,h))&&l(i,h,u(o,h))}},fC}var gC,nM;function eF(){if(nM)return gC;nM=1;var t=Cn(),e=an(),n=/#|\.prototype\./,r=function(l,u){var c=o[i(l)];return c===a?!0:c===s?!1:e(u)?t(u):!!u},i=r.normalize=function(l){return String(l).replace(n,".").toLowerCase()},o=r.data={},s=r.NATIVE="N",a=r.POLYFILL="P";return gC=r,gC}var mC,rM;function dt(){if(rM)return mC;rM=1;var t=on(),e=n1().f,n=uh(),r=wE(),i=dE(),o=a1(),s=eF();return mC=function(a,l){var u=a.target,c=a.global,h=a.stat,d,f,g,C,y,E;if(c?f=t:h?f=t[u]||i(u,{}):f=t[u]&&t[u].prototype,f)for(g in l){if(y=l[g],a.dontCallGetSet?(E=e(f,g),C=E&&E.value):C=f[g],d=s(c?g:u+(h?".":"#")+g,a.forced),!d&&C!==void 0){if(typeof y==typeof C)continue;o(y,C)}(a.sham||C&&C.sham)&&n(y,"sham",!0),r(f,g,y,a)}},mC}var pC,iM;function Nf(){if(iM)return pC;iM=1;var t=ow(),e=Function.prototype,n=e.apply,r=e.call;return pC=typeof Reflect=="object"&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),pC}var wC,oM;function l1(){if(oM)return wC;oM=1;var t=qt(),e=pr();return wC=function(n,r,i){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[i]))}catch{}},wC}var vC,sM;function tF(){if(sM)return vC;sM=1;var t=mo();return vC=function(e){return t(e)||e===null},vC}var CC,aM;function nF(){if(aM)return CC;aM=1;var t=tF(),e=String,n=TypeError;return CC=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")},CC}var yC,lM;function u1(){if(lM)return yC;lM=1;var t=l1(),e=mo(),n=Pf(),r=nF();return yC=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,o={},s;try{s=t(Object.prototype,"__proto__","set"),s(o,[]),i=o instanceof Array}catch{}return function(l,u){return n(l),r(u),e(l)&&(i?s(l,u):l.__proto__=u),l}}():void 0),yC}var bC,uM;function rF(){if(uM)return bC;uM=1;var t=ml().f;return bC=function(e,n,r){r in e||t(e,r,{configurable:!0,get:function(){return n[r]},set:function(i){n[r]=i}})},bC}var SC,cM;function iF(){if(cM)return SC;cM=1;var t=an(),e=mo(),n=u1();return SC=function(r,i,o){var s,a;return n&&t(s=i.constructor)&&s!==o&&e(a=s.prototype)&&a!==o.prototype&&n(r,a),r},SC}var RC,hM;function oF(){if(hM)return RC;hM=1;var t=Yo(),e=t("toStringTag"),n={};return n[e]="z",RC=String(n)==="[object z]",RC}var EC,dM;function c1(){if(dM)return EC;dM=1;var t=oF(),e=an(),n=Nu(),r=Yo(),i=r("toStringTag"),o=Object,s=n(function(){return arguments}())==="Arguments",a=function(l,u){try{return l[u]}catch{}};return EC=t?n:function(l){var u,c,h;return l===void 0?"Undefined":l===null?"Null":typeof(c=a(u=o(l),i))=="string"?c:s?n(u):(h=n(u))==="Object"&&e(u.callee)?"Arguments":h},EC}var TC,fM;function uw(){if(fM)return TC;fM=1;var t=c1(),e=String;return TC=function(n){if(t(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(n)},TC}var _C,gM;function sF(){if(gM)return _C;gM=1;var t=uw();return _C=function(e,n){return e===void 0?arguments.length<2?"":n:t(e)},_C}var MC,mM;function aF(){if(mM)return MC;mM=1;var t=mo(),e=uh();return MC=function(n,r){t(r)&&"cause"in r&&e(n,"cause",r.cause)},MC}var IC,pM;function lF(){if(pM)return IC;pM=1;var t=qt(),e=Error,n=t("".replace),r=function(s){return String(new e(s).stack)}("zxcasd"),i=/\n\s*at [^:]*:[^\n]*/,o=i.test(r);return IC=function(s,a){if(o&&typeof s=="string"&&!e.prepareStackTrace)for(;a--;)s=n(s,i,"");return s},IC}var PC,wM;function uF(){if(wM)return PC;wM=1;var t=Cn(),e=sw();return PC=!t(function(){var n=new Error("a");return"stack"in n?(Object.defineProperty(n,"stack",e(1,7)),n.stack!==7):!0}),PC}var OC,vM;function cF(){if(vM)return OC;vM=1;var t=uh(),e=lF(),n=uF(),r=Error.captureStackTrace;return OC=function(i,o,s,a){n&&(r?r(i,o):t(i,"stack",e(s,a)))},OC}var xC,CM;function hF(){if(CM)return xC;CM=1;var t=ah(),e=po(),n=uh(),r=xf(),i=u1(),o=a1(),s=rF(),a=iF(),l=sF(),u=aF(),c=cF(),h=go(),d=gl();return xC=function(f,g,C,y){var E="stackTraceLimit",v=y?2:1,P=f.split("."),O=P[P.length-1],L=t.apply(null,P);if(L){var T=L.prototype;if(!d&&e(T,"cause")&&delete T.cause,!C)return L;var A=t("Error"),K=g(function(U,j){var Z=l(y?j:U,void 0),J=y?new L(U):new L;return Z!==void 0&&n(J,"message",Z),c(J,K,J.stack,2),this&&r(T,this)&&a(J,this,K),arguments.length>v&&u(J,arguments[v]),J});if(K.prototype=T,O!=="Error"?i?i(K,A):o(K,A,{name:!0}):h&&E in L&&(s(K,L,E),s(K,L,"prepareStackTrace")),o(K,L),!d)try{T.name!==O&&n(T,"name",O),T.constructor=K}catch{}return K}},xC}var yM;function dF(){if(yM)return YT;yM=1;var t=dt(),e=on(),n=Nf(),r=hF(),i="WebAssembly",o=e[i],s=new Error("e",{cause:7}).cause!==7,a=function(u,c){var h={};h[u]=r(u,c,s),t({global:!0,constructor:!0,arity:1,forced:s},h)},l=function(u,c){if(o&&o[u]){var h={};h[u]=r(i+"."+u,c,s),t({target:i,stat:!0,constructor:!0,arity:1,forced:s},h)}};return a("Error",function(u){return function(h){return n(u,this,arguments)}}),a("EvalError",function(u){return function(h){return n(u,this,arguments)}}),a("RangeError",function(u){return function(h){return n(u,this,arguments)}}),a("ReferenceError",function(u){return function(h){return n(u,this,arguments)}}),a("SyntaxError",function(u){return function(h){return n(u,this,arguments)}}),a("TypeError",function(u){return function(h){return n(u,this,arguments)}}),a("URIError",function(u){return function(h){return n(u,this,arguments)}}),l("CompileError",function(u){return function(h){return n(u,this,arguments)}}),l("LinkError",function(u){return function(h){return n(u,this,arguments)}}),l("RuntimeError",function(u){return function(h){return n(u,this,arguments)}}),YT}dF();var bM={},AC,SM;function h1(){if(SM)return AC;SM=1;var t=Nu();return AC=Array.isArray||function(n){return t(n)==="Array"},AC}var HC,RM;function d1(){if(RM)return HC;RM=1;var t=go(),e=h1(),n=TypeError,r=Object.getOwnPropertyDescriptor,i=t&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(o){return o instanceof TypeError}}();return HC=i?function(o,s){if(e(o)&&!r(o,"length").writable)throw new n("Cannot set read only .length");return o.length=s}:function(o,s){return o.length=s},HC}var NC,EM;function f1(){if(EM)return NC;EM=1;var t=TypeError,e=9007199254740991;return NC=function(n){if(n>e)throw t("Maximum allowed index exceeded");return n},NC}var TM;function fF(){if(TM)return bM;TM=1;var t=dt(),e=lh(),n=ch(),r=d1(),i=f1(),o=Cn(),s=o(function(){return[].push.call({length:4294967296},1)!==4294967297}),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(u){return u instanceof TypeError}},l=s||!a();return t({target:"Array",proto:!0,arity:1,forced:l},{push:function(c){var h=e(this),d=n(h),f=arguments.length;i(d+f);for(var g=0;g<f;g++)h[d]=arguments[g],d++;return r(h,d),d}}),bM}fF();var _M={},DC,MM;function gF(){if(MM)return DC;MM=1;var t=Nu(),e=qt();return DC=function(n){if(t(n)==="Function")return e(n)},DC}var kC,IM;function g1(){if(IM)return kC;IM=1;var t=gF(),e=pr(),n=ow(),r=t(t.bind);return kC=function(i,o){return e(i),o===void 0?i:n?r(i,o):function(){return i.apply(o,arguments)}},kC}var LC,PM;function m1(){return PM||(PM=1,LC={}),LC}var $C,OM;function mF(){if(OM)return $C;OM=1;var t=Yo(),e=m1(),n=t("iterator"),r=Array.prototype;return $C=function(i){return i!==void 0&&(e.Array===i||r[n]===i)},$C}var FC,xM;function CE(){if(xM)return FC;xM=1;var t=c1(),e=Af(),n=uE(),r=m1(),i=Yo(),o=i("iterator");return FC=function(s){if(!n(s))return e(s,o)||e(s,"@@iterator")||r[t(s)]},FC}var VC,AM;function pF(){if(AM)return VC;AM=1;var t=sn(),e=pr(),n=ln(),r=lw(),i=CE(),o=TypeError;return VC=function(s,a){var l=arguments.length<2?i(s):a;if(e(l))return n(t(l,s));throw new o(r(s)+" is not iterable")},VC}var WC,HM;function Yi(){if(HM)return WC;HM=1;var t=sn(),e=ln(),n=Af();return WC=function(r,i,o){var s,a;e(r);try{if(s=n(r,"return"),!s){if(i==="throw")throw o;return o}s=t(s,r)}catch(l){a=!0,s=l}if(i==="throw")throw o;if(a)throw s;return e(s),o},WC}var BC,NM;function hh(){if(NM)return BC;NM=1;var t=g1(),e=sn(),n=ln(),r=lw(),i=mF(),o=ch(),s=xf(),a=pF(),l=CE(),u=Yi(),c=TypeError,h=function(f,g){this.stopped=f,this.result=g},d=h.prototype;return BC=function(f,g,C){var y=C&&C.that,E=!!(C&&C.AS_ENTRIES),v=!!(C&&C.IS_RECORD),P=!!(C&&C.IS_ITERATOR),O=!!(C&&C.INTERRUPTED),L=t(g,y),T,A,K,U,j,Z,J,se=function(ue){return T&&u(T,"normal",ue),new h(!0,ue)},te=function(ue){return E?(n(ue),O?L(ue[0],ue[1],se):L(ue[0],ue[1])):O?L(ue,se):L(ue)};if(v)T=f.iterator;else if(P)T=f;else{if(A=l(f),!A)throw new c(r(f)+" is not iterable");if(i(A)){for(K=0,U=o(f);U>K;K++)if(j=te(f[K]),j&&s(d,j))return j;return new h(!1)}T=a(f,A)}for(Z=v?f.next:T.next;!(J=e(Z,T)).done;){try{j=te(J.value)}catch(ue){u(T,"throw",ue)}if(typeof j=="object"&&j&&s(d,j))return j}return new h(!1)},BC}var jC,DM;function p1(){if(DM)return jC;DM=1;var t=go(),e=ml(),n=sw();return jC=function(r,i,o){t?e.f(r,i,n(0,o)):r[i]=o},jC}var kM;function wF(){if(kM)return _M;kM=1;var t=dt(),e=hh(),n=p1();return t({target:"Object",stat:!0},{fromEntries:function(i){var o={};return e(i,function(s,a){n(o,s,a)},{AS_ENTRIES:!0}),o}}),_M}wF();var LM={},UC,$M;function Ps(){if($M)return UC;$M=1;var t=qt(),e=Set.prototype;return UC={Set,add:t(e.add),has:t(e.has),remove:t(e.delete),proto:e},UC}var zC,FM;function Du(){if(FM)return zC;FM=1;var t=Ps().has;return zC=function(e){return t(e),e},zC}var YC,VM;function ku(){if(VM)return YC;VM=1;var t=sn();return YC=function(e,n,r){for(var i=r?e:e.iterator,o=e.next,s,a;!(s=t(o,i)).done;)if(a=n(s.value),a!==void 0)return a},YC}var GC,WM;function Df(){if(WM)return GC;WM=1;var t=qt(),e=ku(),n=Ps(),r=n.Set,i=n.proto,o=t(i.forEach),s=t(i.keys),a=s(new r).next;return GC=function(l,u,c){return c?e({iterator:s(l),next:a},u):o(l,u)},GC}var KC,BM;function yE(){if(BM)return KC;BM=1;var t=Ps(),e=Df(),n=t.Set,r=t.add;return KC=function(i){var o=new n;return e(i,function(s){r(o,s)}),o},KC}var qC,jM;function kf(){if(jM)return qC;jM=1;var t=l1(),e=Ps();return qC=t(e.proto,"size","get")||function(n){return n.size},qC}var XC,UM;function Os(){return UM||(UM=1,XC=function(t){return{iterator:t,next:t.next,done:!1}}),XC}var ZC,zM;function Lu(){if(zM)return ZC;zM=1;var t=pr(),e=ln(),n=sn(),r=Hf(),i=Os(),o="Invalid size",s=RangeError,a=TypeError,l=Math.max,u=function(c,h){this.set=c,this.size=l(h,0),this.has=t(c.has),this.keys=t(c.keys)};return u.prototype={getIterator:function(){return i(e(n(this.keys,this.set)))},includes:function(c){return n(this.has,this.set,c)}},ZC=function(c){e(c);var h=+c.size;if(h!==h)throw new a(o);var d=r(h);if(d<0)throw new s(o);return new u(c,d)},ZC}var QC,YM;function vF(){if(YM)return QC;YM=1;var t=Du(),e=Ps(),n=yE(),r=kf(),i=Lu(),o=Df(),s=ku(),a=e.has,l=e.remove;return QC=function(c){var h=t(this),d=i(c),f=n(h);return r(h)<=d.size?o(h,function(g){d.includes(g)&&l(f,g)}):s(d.getIterator(),function(g){a(h,g)&&l(f,g)}),f},QC}var JC,GM;function $u(){if(GM)return JC;GM=1;var t=ah(),e=function(r){return{size:r,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},n=function(r){return{size:r,has:function(){return!0},keys:function(){throw new Error("e")}}};return JC=function(r,i){var o=t("Set");try{new o()[r](e(0));try{return new o()[r](e(-1)),!1}catch{if(!i)return!0;try{return new o()[r](n(-1/0)),!1}catch{var s=new o;return s.add(1),s.add(2),i(s[r](n(1/0)))}}}catch{return!1}},JC}var KM;function CF(){if(KM)return LM;KM=1;var t=dt(),e=vF(),n=$u(),r=!n("difference",function(i){return i.size===0});return t({target:"Set",proto:!0,real:!0,forced:r},{difference:e}),LM}CF();var qM={},ey,XM;function yF(){if(XM)return ey;XM=1;var t=Du(),e=Ps(),n=kf(),r=Lu(),i=Df(),o=ku(),s=e.Set,a=e.add,l=e.has;return ey=function(c){var h=t(this),d=r(c),f=new s;return n(h)>d.size?o(d.getIterator(),function(g){l(h,g)&&a(f,g)}):i(h,function(g){d.includes(g)&&a(f,g)}),f},ey}var ZM;function bF(){if(ZM)return qM;ZM=1;var t=dt(),e=Cn(),n=yF(),r=$u(),i=!r("intersection",function(o){return o.size===2&&o.has(1)&&o.has(2)})||e(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});return t({target:"Set",proto:!0,real:!0,forced:i},{intersection:n}),qM}bF();var QM={},ty,JM;function SF(){if(JM)return ty;JM=1;var t=Du(),e=Ps().has,n=kf(),r=Lu(),i=Df(),o=ku(),s=Yi();return ty=function(l){var u=t(this),c=r(l);if(n(u)<=c.size)return i(u,function(d){if(c.includes(d))return!1},!0)!==!1;var h=c.getIterator();return o(h,function(d){if(e(u,d))return s(h,"normal",!1)})!==!1},ty}var eI;function RF(){if(eI)return QM;eI=1;var t=dt(),e=SF(),n=$u(),r=!n("isDisjointFrom",function(i){return!i});return t({target:"Set",proto:!0,real:!0,forced:r},{isDisjointFrom:e}),QM}RF();var tI={},ny,nI;function EF(){if(nI)return ny;nI=1;var t=Du(),e=kf(),n=Df(),r=Lu();return ny=function(o){var s=t(this),a=r(o);return e(s)>a.size?!1:n(s,function(l){if(!a.includes(l))return!1},!0)!==!1},ny}var rI;function TF(){if(rI)return tI;rI=1;var t=dt(),e=EF(),n=$u(),r=!n("isSubsetOf",function(i){return i});return t({target:"Set",proto:!0,real:!0,forced:r},{isSubsetOf:e}),tI}TF();var iI={},ry,oI;function _F(){if(oI)return ry;oI=1;var t=Du(),e=Ps().has,n=kf(),r=Lu(),i=ku(),o=Yi();return ry=function(a){var l=t(this),u=r(a);if(n(l)<u.size)return!1;var c=u.getIterator();return i(c,function(h){if(!e(l,h))return o(c,"normal",!1)})!==!1},ry}var sI;function MF(){if(sI)return iI;sI=1;var t=dt(),e=_F(),n=$u(),r=!n("isSupersetOf",function(i){return!i});return t({target:"Set",proto:!0,real:!0,forced:r},{isSupersetOf:e}),iI}MF();var aI={},iy,lI;function IF(){if(lI)return iy;lI=1;var t=Du(),e=Ps(),n=yE(),r=Lu(),i=ku(),o=e.add,s=e.has,a=e.remove;return iy=function(u){var c=t(this),h=r(u).getIterator(),d=n(c);return i(h,function(f){s(c,f)?a(d,f):o(d,f)}),d},iy}var uI;function PF(){if(uI)return aI;uI=1;var t=dt(),e=IF(),n=$u();return t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:e}),aI}PF();var cI={},oy,hI;function OF(){if(hI)return oy;hI=1;var t=Du(),e=Ps().add,n=yE(),r=Lu(),i=ku();return oy=function(s){var a=t(this),l=r(s).getIterator(),u=n(a);return i(l,function(c){e(u,c)}),u},oy}var dI;function xF(){if(dI)return cI;dI=1;var t=dt(),e=OF(),n=$u();return t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:e}),cI}xF();var fI={},gI={},sy,mI;function AF(){if(mI)return sy;mI=1;var t=xf(),e=TypeError;return sy=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")},sy}var ay,pI;function HF(){if(pI)return ay;pI=1;var t=Cn();return ay=!t(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),ay}var ly,wI;function w1(){if(wI)return ly;wI=1;var t=po(),e=an(),n=lh(),r=mE(),i=HF(),o=r("IE_PROTO"),s=Object,a=s.prototype;return ly=i?s.getPrototypeOf:function(l){var u=n(l);if(t(u,o))return u[o];var c=u.constructor;return e(c)&&u instanceof c?c.prototype:u instanceof s?a:null},ly}var uy,vI;function NF(){if(vI)return uy;vI=1;var t=o1(),e=ml();return uy=function(n,r,i){return i.get&&t(i.get,r,{getter:!0}),i.set&&t(i.set,r,{setter:!0}),e.f(n,r,i)},uy}var cy={},hy,CI;function DF(){if(CI)return hy;CI=1;var t=s1(),e=vE();return hy=Object.keys||function(r){return t(r,e)},hy}var yI;function kF(){if(yI)return cy;yI=1;var t=go(),e=r1(),n=ml(),r=ln(),i=Of(),o=DF();return cy.f=t&&!e?Object.defineProperties:function(a,l){r(a);for(var u=i(l),c=o(l),h=c.length,d=0,f;h>d;)n.f(a,f=c[d++],u[f]);return a},cy}var dy,bI;function v1(){if(bI)return dy;bI=1;var t=ah();return dy=t("document","documentElement"),dy}var fy,SI;function bE(){if(SI)return fy;SI=1;var t=ln(),e=kF(),n=vE(),r=pE(),i=v1(),o=gE(),s=mE(),a=">",l="<",u="prototype",c="script",h=s("IE_PROTO"),d=function(){},f=function(v){return l+c+a+v+l+"/"+c+a},g=function(v){v.write(f("")),v.close();var P=v.parentWindow.Object;return v=null,P},C=function(){var v=o("iframe"),P="java"+c+":",O;return v.style.display="none",i.appendChild(v),v.src=String(P),O=v.contentWindow.document,O.open(),O.write(f("document.F=Object")),O.close(),O.F},y,E=function(){try{y=new ActiveXObject("htmlfile")}catch{}E=typeof document<"u"?document.domain&&y?g(y):C():g(y);for(var v=n.length;v--;)delete E[u][n[v]];return E()};return r[h]=!0,fy=Object.create||function(P,O){var L;return P!==null?(d[u]=t(P),L=new d,d[u]=null,L[h]=P):L=E(),O===void 0?L:e.f(L,O)},fy}var gy,RI;function C1(){if(RI)return gy;RI=1;var t=Cn(),e=an(),n=mo(),r=bE(),i=w1(),o=wE(),s=Yo(),a=gl(),l=s("iterator"),u=!1,c,h,d;[].keys&&(d=[].keys(),"next"in d?(h=i(i(d)),h!==Object.prototype&&(c=h)):u=!0);var f=!n(c)||t(function(){var g={};return c[l].call(g)!==g});return f?c={}:a&&(c=r(c)),e(c[l])||o(c,l,function(){return this}),gy={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:u},gy}var EI;function LF(){if(EI)return gI;EI=1;var t=dt(),e=on(),n=AF(),r=ln(),i=an(),o=w1(),s=NF(),a=p1(),l=Cn(),u=po(),c=Yo(),h=C1().IteratorPrototype,d=go(),f=gl(),g="constructor",C="Iterator",y=c("toStringTag"),E=TypeError,v=e[C],P=f||!i(v)||v.prototype!==h||!l(function(){v({})}),O=function(){if(n(this,h),o(this)===h)throw new E("Abstract class Iterator not directly constructable")},L=function(T,A){d?s(h,T,{configurable:!0,get:function(){return A},set:function(K){if(r(this),this===h)throw new E("You can't redefine this property");u(this,T)?this[T]=K:a(this,T,K)}}):h[T]=A};return u(h,y)||L(y,C),(P||!u(h,g)||h[g]===Object)&&L(g,O),O.prototype=h,t({global:!0,constructor:!0,forced:P},{Iterator:O}),gI}var TI;function $F(){return TI||(TI=1,LF()),fI}$F();var _I={},MI={},my,II;function FF(){if(II)return my;II=1;var t=wE();return my=function(e,n,r){for(var i in n)t(e,i,n[i],r);return e},my}var py,PI;function VF(){return PI||(PI=1,py=function(t,e){return{value:t,done:e}}),py}var wy,OI;function SE(){if(OI)return wy;OI=1;var t=sn(),e=bE(),n=uh(),r=FF(),i=Yo(),o=i1(),s=Af(),a=C1().IteratorPrototype,l=VF(),u=Yi(),c=i("toStringTag"),h="IteratorHelper",d="WrapForValidIterator",f=o.set,g=function(E){var v=o.getterFor(E?d:h);return r(e(a),{next:function(){var O=v(this);if(E)return O.nextHandler();if(O.done)return l(void 0,!0);try{var L=O.nextHandler();return O.returnHandlerResult?L:l(L,O.done)}catch(T){throw O.done=!0,T}},return:function(){var P=v(this),O=P.iterator;if(P.done=!0,E){var L=s(O,"return");return L?t(L,O):l(void 0,!0)}if(P.inner)try{u(P.inner.iterator,"normal")}catch(T){return u(O,"throw",T)}return O&&u(O,"normal"),l(void 0,!0)}})},C=g(!0),y=g(!1);return n(y,c,"Iterator Helper"),wy=function(E,v,P){var O=function(T,A){A?(A.iterator=T.iterator,A.next=T.next):A=T,A.type=v?d:h,A.returnHandlerResult=!!P,A.nextHandler=E,A.counter=0,A.done=!1,f(this,A)};return O.prototype=v?C:y,O},wy}var vy,xI;function y1(){if(xI)return vy;xI=1;var t=ln(),e=Yi();return vy=function(n,r,i,o){try{return o?r(t(i)[0],i[1]):r(i)}catch(s){e(n,"throw",s)}},vy}var Cy,AI;function pl(){if(AI)return Cy;AI=1;var t=on();return Cy=function(e,n){var r=t.Iterator,i=r&&r.prototype,o=i&&i[e],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(a){a instanceof n||(s=!1)}if(!s)return o},Cy}var HI;function WF(){if(HI)return MI;HI=1;var t=dt(),e=sn(),n=pr(),r=ln(),i=Os(),o=SE(),s=y1(),a=gl(),l=Yi(),u=pl(),c=!a&&u("filter",TypeError),h=o(function(){for(var d=this.iterator,f=this.predicate,g=this.next,C,y,E;;){if(C=r(e(g,d)),y=this.done=!!C.done,y)return;if(E=C.value,s(d,f,[E,this.counter++],!0))return E}});return t({target:"Iterator",proto:!0,real:!0,forced:a||c},{filter:function(f){r(this);try{n(f)}catch(g){l(this,"throw",g)}return c?e(c,this,f):new h(i(this),{predicate:f})}}),MI}var NI;function BF(){return NI||(NI=1,WF()),_I}BF();var DI={},kI={},LI;function jF(){if(LI)return kI;LI=1;var t=dt(),e=sn(),n=hh(),r=pr(),i=ln(),o=Os(),s=Yi(),a=pl(),l=a("forEach",TypeError);return t({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(c){i(this);try{r(c)}catch(f){s(this,"throw",f)}if(l)return e(l,this,c);var h=o(this),d=0;n(h,function(f){c(f,d++)},{IS_RECORD:!0})}}),kI}var $I;function UF(){return $I||($I=1,jF()),DI}UF();var FI={},VI={},WI;function zF(){if(WI)return VI;WI=1;var t=dt(),e=sn(),n=pr(),r=ln(),i=Os(),o=SE(),s=y1(),a=Yi(),l=pl(),u=gl(),c=!u&&l("map",TypeError),h=o(function(){var d=this.iterator,f=r(e(this.next,d)),g=this.done=!!f.done;if(!g)return s(d,this.mapper,[f.value,this.counter++],!0)});return t({target:"Iterator",proto:!0,real:!0,forced:u||c},{map:function(f){r(this);try{n(f)}catch(g){a(this,"throw",g)}return c?e(c,this,f):new h(i(this),{mapper:f})}}),VI}var BI;function YF(){return BI||(BI=1,zF()),FI}YF();var jI={},UI={},yy,zI;function RE(){if(zI)return yy;zI=1;var t=qt();return yy=t([].slice),yy}var by,YI;function b1(){if(YI)return by;YI=1;var t=TypeError;return by=function(e,n){if(e<n)throw new t("Not enough arguments");return e},by}var Sy,GI;function GF(){if(GI)return Sy;GI=1;var t=aw();return Sy=/(?:ipad|iphone|ipod).*applewebkit/i.test(t),Sy}var Ry,KI;function S1(){if(KI)return Ry;KI=1;var t=on(),e=aw(),n=Nu(),r=function(i){return e.slice(0,i.length)===i};return Ry=function(){return r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&typeof Bun.version=="string"?"BUN":t.Deno&&typeof Deno.version=="object"?"DENO":n(t.process)==="process"?"NODE":t.window&&t.document?"BROWSER":"REST"}(),Ry}var Ey,qI;function KF(){if(qI)return Ey;qI=1;var t=S1();return Ey=t==="NODE",Ey}var Ty,XI;function R1(){if(XI)return Ty;XI=1;var t=on(),e=Nf(),n=g1(),r=an(),i=po(),o=Cn(),s=v1(),a=RE(),l=gE(),u=b1(),c=GF(),h=KF(),d=t.setImmediate,f=t.clearImmediate,g=t.process,C=t.Dispatch,y=t.Function,E=t.MessageChannel,v=t.String,P=0,O={},L="onreadystatechange",T,A,K,U;o(function(){T=t.location});var j=function(te){if(i(O,te)){var ue=O[te];delete O[te],ue()}},Z=function(te){return function(){j(te)}},J=function(te){j(te.data)},se=function(te){t.postMessage(v(te),T.protocol+"//"+T.host)};return(!d||!f)&&(d=function(ue){u(arguments.length,1);var pt=r(ue)?ue:y(ue),be=a(arguments,1);return O[++P]=function(){e(pt,void 0,be)},A(P),P},f=function(ue){delete O[ue]},h?A=function(te){g.nextTick(Z(te))}:C&&C.now?A=function(te){C.now(Z(te))}:E&&!c?(K=new E,U=K.port2,K.port1.onmessage=J,A=n(U.postMessage,U)):t.addEventListener&&r(t.postMessage)&&!t.importScripts&&T&&T.protocol!=="file:"&&!o(se)?(A=se,t.addEventListener("message",J,!1)):L in l("script")?A=function(te){s.appendChild(l("script"))[L]=function(){s.removeChild(this),j(te)}}:A=function(te){setTimeout(Z(te),0)}),Ty={set:d,clear:f},Ty}var ZI;function qF(){if(ZI)return UI;ZI=1;var t=dt(),e=on(),n=R1().clear;return t({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==n},{clearImmediate:n}),UI}var QI={},_y,JI;function XF(){if(JI)return _y;JI=1;var t=on(),e=Nf(),n=an(),r=S1(),i=aw(),o=RE(),s=b1(),a=t.Function,l=/MSIE .\./.test(i)||r==="BUN"&&function(){var u=t.Bun.version.split(".");return u.length<3||u[0]==="0"&&(u[1]<3||u[1]==="3"&&u[2]==="0")}();return _y=function(u,c){var h=c?2:1;return l?function(d,f){var g=s(arguments.length,1)>h,C=n(d)?d:a(d),y=g?o(arguments,h):[],E=g?function(){e(C,this,y)}:C;return c?u(E,f):u(E)}:u},_y}var eP;function ZF(){if(eP)return QI;eP=1;var t=dt(),e=on(),n=R1().set,r=XF(),i=e.setImmediate?r(n,!1):n;return t({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==i},{setImmediate:i}),QI}var tP;function QF(){return tP||(tP=1,qF(),ZF()),jI}QF();/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */const{entries:E1,setPrototypeOf:nP,isFrozen:JF,getPrototypeOf:eV,getOwnPropertyDescriptor:tV}=Object;let{freeze:zn,seal:fo,create:T1}=Object,{apply:aR,construct:lR}=typeof Reflect<"u"&&Reflect;zn||(zn=function(e){return e});fo||(fo=function(e){return e});aR||(aR=function(e,n,r){return e.apply(n,r)});lR||(lR=function(e,n){return new e(...n)});const ig=Yn(Array.prototype.forEach),nV=Yn(Array.prototype.lastIndexOf),rP=Yn(Array.prototype.pop),Mh=Yn(Array.prototype.push),rV=Yn(Array.prototype.splice),Wm=Yn(String.prototype.toLowerCase),My=Yn(String.prototype.toString),iP=Yn(String.prototype.match),Ih=Yn(String.prototype.replace),iV=Yn(String.prototype.indexOf),oV=Yn(String.prototype.trim),xo=Yn(Object.prototype.hasOwnProperty),Dn=Yn(RegExp.prototype.test),Ph=sV(TypeError);function Yn(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return aR(t,e,r)}}function sV(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return lR(t,n)}}function Fe(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wm;nP&&nP(t,null);let r=e.length;for(;r--;){let i=e[r];if(typeof i=="string"){const o=n(i);o!==i&&(JF(e)||(e[r]=o),i=o)}t[i]=!0}return t}function aV(t){for(let e=0;e<t.length;e++)xo(t,e)||(t[e]=null);return t}function lu(t){const e=T1(null);for(const[n,r]of E1(t))xo(t,n)&&(Array.isArray(r)?e[n]=aV(r):r&&typeof r=="object"&&r.constructor===Object?e[n]=lu(r):e[n]=r);return e}function Oh(t,e){for(;t!==null;){const r=tV(t,e);if(r){if(r.get)return Yn(r.get);if(typeof r.value=="function")return Yn(r.value)}t=eV(t)}function n(){return null}return n}const oP=zn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Iy=zn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Py=zn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),lV=zn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Oy=zn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),uV=zn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),sP=zn(["#text"]),aP=zn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),xy=zn(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),lP=zn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),og=zn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),cV=fo(/\{\{[\w\W]*|[\w\W]*\}\}/gm),hV=fo(/<%[\w\W]*|[\w\W]*%>/gm),dV=fo(/\$\{[\w\W]*/gm),fV=fo(/^data-[\-\w.\u00B7-\uFFFF]+$/),gV=fo(/^aria-[\-\w]+$/),_1=fo(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mV=fo(/^(?:\w+script|data):/i),pV=fo(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),M1=fo(/^html$/i),wV=fo(/^[a-z][.\w]*(-[.\w]+)+$/i);var uP=Object.freeze({__proto__:null,ARIA_ATTR:gV,ATTR_WHITESPACE:pV,CUSTOM_ELEMENT:wV,DATA_ATTR:fV,DOCTYPE_NAME:M1,ERB_EXPR:hV,IS_ALLOWED_URI:_1,IS_SCRIPT_OR_DATA:mV,MUSTACHE_EXPR:cV,TMPLIT_EXPR:dV});const xh={element:1,text:3,progressingInstruction:7,comment:8,document:9},vV=function(){return typeof window>"u"?null:window},CV=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},cP=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function I1(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vV();const e=we=>I1(we);if(e.version="3.2.5",e.removed=[],!t||!t.document||t.document.nodeType!==xh.document||!t.Element)return e.isSupported=!1,e;let{document:n}=t;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:u,NamedNodeMap:c=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:d,trustedTypes:f}=t,g=l.prototype,C=Oh(g,"cloneNode"),y=Oh(g,"remove"),E=Oh(g,"nextSibling"),v=Oh(g,"childNodes"),P=Oh(g,"parentNode");if(typeof s=="function"){const we=n.createElement("template");we.content&&we.content.ownerDocument&&(n=we.content.ownerDocument)}let O,L="";const{implementation:T,createNodeIterator:A,createDocumentFragment:K,getElementsByTagName:U}=n,{importNode:j}=r;let Z=cP();e.isSupported=typeof E1=="function"&&typeof P=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:J,ERB_EXPR:se,TMPLIT_EXPR:te,DATA_ATTR:ue,ARIA_ATTR:pt,IS_SCRIPT_OR_DATA:be,ATTR_WHITESPACE:ke,CUSTOM_ELEMENT:wt}=uP;let{IS_ALLOWED_URI:fn}=uP,et=null;const m=Fe({},[...oP,...Iy,...Py,...Oy,...sP]);let w=null;const p=Fe({},[...aP,...xy,...lP,...og]);let I=Object.seal(T1(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),$=null,B=null,Y=!0,q=!0,b=!1,R=!0,S=!1,k=!0,_=!1,H=!1,W=!1,x=!1,N=!1,V=!1,F=!0,z=!1;const oe="user-content-";let ce=!0,Re=!1,Ne={},We=null;const Se=Fe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Le=null;const vt=Fe({},["audio","video","img","source","image","track"]);let yo=null;const Ns=Fe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ki="http://www.w3.org/1998/Math/MathML",Ct="http://www.w3.org/2000/svg",Zt="http://www.w3.org/1999/xhtml";let ft=Zt,yt=!1,$e=null;const qi=Fe({},[Ki,Ct,Zt],My);let yl=Fe({},["mi","mo","mn","ms","mtext"]),bl=Fe({},["annotation-xml"]);const A$=Fe({},["title","style","font","a","script"]);let Rh=null;const H$=["application/xhtml+xml","text/html"],N$="text/html";let gn=null,Uu=null;const D$=n.createElement("form"),AT=function(D){return D instanceof RegExp||D instanceof Function},iv=function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Uu&&Uu===D)){if((!D||typeof D!="object")&&(D={}),D=lu(D),Rh=H$.indexOf(D.PARSER_MEDIA_TYPE)===-1?N$:D.PARSER_MEDIA_TYPE,gn=Rh==="application/xhtml+xml"?My:Wm,et=xo(D,"ALLOWED_TAGS")?Fe({},D.ALLOWED_TAGS,gn):m,w=xo(D,"ALLOWED_ATTR")?Fe({},D.ALLOWED_ATTR,gn):p,$e=xo(D,"ALLOWED_NAMESPACES")?Fe({},D.ALLOWED_NAMESPACES,My):qi,yo=xo(D,"ADD_URI_SAFE_ATTR")?Fe(lu(Ns),D.ADD_URI_SAFE_ATTR,gn):Ns,Le=xo(D,"ADD_DATA_URI_TAGS")?Fe(lu(vt),D.ADD_DATA_URI_TAGS,gn):vt,We=xo(D,"FORBID_CONTENTS")?Fe({},D.FORBID_CONTENTS,gn):Se,$=xo(D,"FORBID_TAGS")?Fe({},D.FORBID_TAGS,gn):{},B=xo(D,"FORBID_ATTR")?Fe({},D.FORBID_ATTR,gn):{},Ne=xo(D,"USE_PROFILES")?D.USE_PROFILES:!1,Y=D.ALLOW_ARIA_ATTR!==!1,q=D.ALLOW_DATA_ATTR!==!1,b=D.ALLOW_UNKNOWN_PROTOCOLS||!1,R=D.ALLOW_SELF_CLOSE_IN_ATTR!==!1,S=D.SAFE_FOR_TEMPLATES||!1,k=D.SAFE_FOR_XML!==!1,_=D.WHOLE_DOCUMENT||!1,x=D.RETURN_DOM||!1,N=D.RETURN_DOM_FRAGMENT||!1,V=D.RETURN_TRUSTED_TYPE||!1,W=D.FORCE_BODY||!1,F=D.SANITIZE_DOM!==!1,z=D.SANITIZE_NAMED_PROPS||!1,ce=D.KEEP_CONTENT!==!1,Re=D.IN_PLACE||!1,fn=D.ALLOWED_URI_REGEXP||_1,ft=D.NAMESPACE||Zt,yl=D.MATHML_TEXT_INTEGRATION_POINTS||yl,bl=D.HTML_INTEGRATION_POINTS||bl,I=D.CUSTOM_ELEMENT_HANDLING||{},D.CUSTOM_ELEMENT_HANDLING&&AT(D.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(I.tagNameCheck=D.CUSTOM_ELEMENT_HANDLING.tagNameCheck),D.CUSTOM_ELEMENT_HANDLING&&AT(D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(I.attributeNameCheck=D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),D.CUSTOM_ELEMENT_HANDLING&&typeof D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(I.allowCustomizedBuiltInElements=D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),S&&(q=!1),N&&(x=!0),Ne&&(et=Fe({},sP),w=[],Ne.html===!0&&(Fe(et,oP),Fe(w,aP)),Ne.svg===!0&&(Fe(et,Iy),Fe(w,xy),Fe(w,og)),Ne.svgFilters===!0&&(Fe(et,Py),Fe(w,xy),Fe(w,og)),Ne.mathMl===!0&&(Fe(et,Oy),Fe(w,lP),Fe(w,og))),D.ADD_TAGS&&(et===m&&(et=lu(et)),Fe(et,D.ADD_TAGS,gn)),D.ADD_ATTR&&(w===p&&(w=lu(w)),Fe(w,D.ADD_ATTR,gn)),D.ADD_URI_SAFE_ATTR&&Fe(yo,D.ADD_URI_SAFE_ATTR,gn),D.FORBID_CONTENTS&&(We===Se&&(We=lu(We)),Fe(We,D.FORBID_CONTENTS,gn)),ce&&(et["#text"]=!0),_&&Fe(et,["html","head","body"]),et.table&&(Fe(et,["tbody"]),delete $.tbody),D.TRUSTED_TYPES_POLICY){if(typeof D.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ph('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof D.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ph('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=D.TRUSTED_TYPES_POLICY,L=O.createHTML("")}else O===void 0&&(O=CV(f,i)),O!==null&&typeof L=="string"&&(L=O.createHTML(""));zn&&zn(D),Uu=D}},HT=Fe({},[...Iy,...Py,...lV]),NT=Fe({},[...Oy,...uV]),k$=function(D){let ee=P(D);(!ee||!ee.tagName)&&(ee={namespaceURI:ft,tagName:"template"});const ge=Wm(D.tagName),_t=Wm(ee.tagName);return $e[D.namespaceURI]?D.namespaceURI===Ct?ee.namespaceURI===Zt?ge==="svg":ee.namespaceURI===Ki?ge==="svg"&&(_t==="annotation-xml"||yl[_t]):!!HT[ge]:D.namespaceURI===Ki?ee.namespaceURI===Zt?ge==="math":ee.namespaceURI===Ct?ge==="math"&&bl[_t]:!!NT[ge]:D.namespaceURI===Zt?ee.namespaceURI===Ct&&!bl[_t]||ee.namespaceURI===Ki&&!yl[_t]?!1:!NT[ge]&&(A$[ge]||!HT[ge]):!!(Rh==="application/xhtml+xml"&&$e[D.namespaceURI]):!1},Xo=function(D){Mh(e.removed,{element:D});try{P(D).removeChild(D)}catch{y(D)}},rg=function(D,ee){try{Mh(e.removed,{attribute:ee.getAttributeNode(D),from:ee})}catch{Mh(e.removed,{attribute:null,from:ee})}if(ee.removeAttribute(D),D==="is")if(x||N)try{Xo(ee)}catch{}else try{ee.setAttribute(D,"")}catch{}},DT=function(D){let ee=null,ge=null;if(W)D="<remove></remove>"+D;else{const yn=iP(D,/^[\r\n\t ]+/);ge=yn&&yn[0]}Rh==="application/xhtml+xml"&&ft===Zt&&(D='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+D+"</body></html>");const _t=O?O.createHTML(D):D;if(ft===Zt)try{ee=new d().parseFromString(_t,Rh)}catch{}if(!ee||!ee.documentElement){ee=T.createDocument(ft,"template",null);try{ee.documentElement.innerHTML=yt?L:_t}catch{}}const En=ee.body||ee.documentElement;return D&&ge&&En.insertBefore(n.createTextNode(ge),En.childNodes[0]||null),ft===Zt?U.call(ee,_?"html":"body")[0]:_?ee.documentElement:En},kT=function(D){return A.call(D.ownerDocument||D,D,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ov=function(D){return D instanceof h&&(typeof D.nodeName!="string"||typeof D.textContent!="string"||typeof D.removeChild!="function"||!(D.attributes instanceof c)||typeof D.removeAttribute!="function"||typeof D.setAttribute!="function"||typeof D.namespaceURI!="string"||typeof D.insertBefore!="function"||typeof D.hasChildNodes!="function")},LT=function(D){return typeof a=="function"&&D instanceof a};function Ds(we,D,ee){ig(we,ge=>{ge.call(e,D,ee,Uu)})}const $T=function(D){let ee=null;if(Ds(Z.beforeSanitizeElements,D,null),ov(D))return Xo(D),!0;const ge=gn(D.nodeName);if(Ds(Z.uponSanitizeElement,D,{tagName:ge,allowedTags:et}),D.hasChildNodes()&&!LT(D.firstElementChild)&&Dn(/<[/\w!]/g,D.innerHTML)&&Dn(/<[/\w!]/g,D.textContent)||D.nodeType===xh.progressingInstruction||k&&D.nodeType===xh.comment&&Dn(/<[/\w]/g,D.data))return Xo(D),!0;if(!et[ge]||$[ge]){if(!$[ge]&&VT(ge)&&(I.tagNameCheck instanceof RegExp&&Dn(I.tagNameCheck,ge)||I.tagNameCheck instanceof Function&&I.tagNameCheck(ge)))return!1;if(ce&&!We[ge]){const _t=P(D)||D.parentNode,En=v(D)||D.childNodes;if(En&&_t){const yn=En.length;for(let Jn=yn-1;Jn>=0;--Jn){const Zo=C(En[Jn],!0);Zo.__removalCount=(D.__removalCount||0)+1,_t.insertBefore(Zo,E(D))}}}return Xo(D),!0}return D instanceof l&&!k$(D)||(ge==="noscript"||ge==="noembed"||ge==="noframes")&&Dn(/<\/no(script|embed|frames)/i,D.innerHTML)?(Xo(D),!0):(S&&D.nodeType===xh.text&&(ee=D.textContent,ig([J,se,te],_t=>{ee=Ih(ee,_t," ")}),D.textContent!==ee&&(Mh(e.removed,{element:D.cloneNode()}),D.textContent=ee)),Ds(Z.afterSanitizeElements,D,null),!1)},FT=function(D,ee,ge){if(F&&(ee==="id"||ee==="name")&&(ge in n||ge in D$))return!1;if(!(q&&!B[ee]&&Dn(ue,ee))){if(!(Y&&Dn(pt,ee))){if(!w[ee]||B[ee]){if(!(VT(D)&&(I.tagNameCheck instanceof RegExp&&Dn(I.tagNameCheck,D)||I.tagNameCheck instanceof Function&&I.tagNameCheck(D))&&(I.attributeNameCheck instanceof RegExp&&Dn(I.attributeNameCheck,ee)||I.attributeNameCheck instanceof Function&&I.attributeNameCheck(ee))||ee==="is"&&I.allowCustomizedBuiltInElements&&(I.tagNameCheck instanceof RegExp&&Dn(I.tagNameCheck,ge)||I.tagNameCheck instanceof Function&&I.tagNameCheck(ge))))return!1}else if(!yo[ee]){if(!Dn(fn,Ih(ge,ke,""))){if(!((ee==="src"||ee==="xlink:href"||ee==="href")&&D!=="script"&&iV(ge,"data:")===0&&Le[D])){if(!(b&&!Dn(be,Ih(ge,ke,"")))){if(ge)return!1}}}}}}return!0},VT=function(D){return D!=="annotation-xml"&&iP(D,wt)},WT=function(D){Ds(Z.beforeSanitizeAttributes,D,null);const{attributes:ee}=D;if(!ee||ov(D))return;const ge={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:w,forceKeepAttr:void 0};let _t=ee.length;for(;_t--;){const En=ee[_t],{name:yn,namespaceURI:Jn,value:Zo}=En,Eh=gn(yn);let Nn=yn==="value"?Zo:oV(Zo);if(ge.attrName=Eh,ge.attrValue=Nn,ge.keepAttr=!0,ge.forceKeepAttr=void 0,Ds(Z.uponSanitizeAttribute,D,ge),Nn=ge.attrValue,z&&(Eh==="id"||Eh==="name")&&(rg(yn,D),Nn=oe+Nn),k&&Dn(/((--!?|])>)|<\/(style|title)/i,Nn)){rg(yn,D);continue}if(ge.forceKeepAttr||(rg(yn,D),!ge.keepAttr))continue;if(!R&&Dn(/\/>/i,Nn)){rg(yn,D);continue}S&&ig([J,se,te],jT=>{Nn=Ih(Nn,jT," ")});const BT=gn(D.nodeName);if(FT(BT,Eh,Nn)){if(O&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!Jn)switch(f.getAttributeType(BT,Eh)){case"TrustedHTML":{Nn=O.createHTML(Nn);break}case"TrustedScriptURL":{Nn=O.createScriptURL(Nn);break}}try{Jn?D.setAttributeNS(Jn,yn,Nn):D.setAttribute(yn,Nn),ov(D)?Xo(D):rP(e.removed)}catch{}}}Ds(Z.afterSanitizeAttributes,D,null)},L$=function we(D){let ee=null;const ge=kT(D);for(Ds(Z.beforeSanitizeShadowDOM,D,null);ee=ge.nextNode();)Ds(Z.uponSanitizeShadowNode,ee,null),$T(ee),WT(ee),ee.content instanceof o&&we(ee.content);Ds(Z.afterSanitizeShadowDOM,D,null)};return e.sanitize=function(we){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=null,ge=null,_t=null,En=null;if(yt=!we,yt&&(we="<!-->"),typeof we!="string"&&!LT(we))if(typeof we.toString=="function"){if(we=we.toString(),typeof we!="string")throw Ph("dirty is not a string, aborting")}else throw Ph("toString is not a function");if(!e.isSupported)return we;if(H||iv(D),e.removed=[],typeof we=="string"&&(Re=!1),Re){if(we.nodeName){const Zo=gn(we.nodeName);if(!et[Zo]||$[Zo])throw Ph("root node is forbidden and cannot be sanitized in-place")}}else if(we instanceof a)ee=DT("<!---->"),ge=ee.ownerDocument.importNode(we,!0),ge.nodeType===xh.element&&ge.nodeName==="BODY"||ge.nodeName==="HTML"?ee=ge:ee.appendChild(ge);else{if(!x&&!S&&!_&&we.indexOf("<")===-1)return O&&V?O.createHTML(we):we;if(ee=DT(we),!ee)return x?null:V?L:""}ee&&W&&Xo(ee.firstChild);const yn=kT(Re?we:ee);for(;_t=yn.nextNode();)$T(_t),WT(_t),_t.content instanceof o&&L$(_t.content);if(Re)return we;if(x){if(N)for(En=K.call(ee.ownerDocument);ee.firstChild;)En.appendChild(ee.firstChild);else En=ee;return(w.shadowroot||w.shadowrootmode)&&(En=j.call(r,En,!0)),En}let Jn=_?ee.outerHTML:ee.innerHTML;return _&&et["!doctype"]&&ee.ownerDocument&&ee.ownerDocument.doctype&&ee.ownerDocument.doctype.name&&Dn(M1,ee.ownerDocument.doctype.name)&&(Jn="<!DOCTYPE "+ee.ownerDocument.doctype.name+`>
2
2
  `+Jn),S&&ig([J,se,te],Zo=>{Jn=Ih(Jn,Zo," ")}),O&&V?O.createHTML(Jn):Jn},e.setConfig=function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};iv(we),H=!0},e.clearConfig=function(){Uu=null,H=!1},e.isValidAttribute=function(we,D,ee){Uu||iv({});const ge=gn(we),_t=gn(D);return FT(ge,_t,ee)},e.addHook=function(we,D){typeof D=="function"&&Mh(Z[we],D)},e.removeHook=function(we,D){if(D!==void 0){const ee=nV(Z[we],D);return ee===-1?void 0:rV(Z[we],ee,1)[0]}return rP(Z[we])},e.removeHooks=function(we){Z[we]=[]},e.removeAllHooks=function(){Z=cP()},e}var yV=I1();//! moment.js
3
3
  //! version : 2.30.1
4
4
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./VanillaJSONEditor-XGIlS4LL.js","./app.js","./app-B6cCPfWk.css","./debounce-qdyXyOeG.js","./index-Vcq4gwWv.js","./use-appearance-J8J2w43p.js","./form-state-702tb_BV.js","./add-form-BLdLojfl.js","./icon-DQL8h8HI.js","./field-renderer-C7qCVvAC.js","./dynamic-controls-CSVVCONh.js","./multi-select-e4PqgWYn.js","./field-renderer-BlBZuSiD.css","./input-error-BztTAmHq.js","./add-group-form-_VEBFz_S.js","./add-user-form-BFAFyXuz.js","./material-icon-CPvFwV5P.js","./app-shell-Dd-kA5uc.js","./app-sidebar-header-DQnbMxfM.js","./breadcrumbs-D0gGjNVI.js","./nav-user-BWl2j-y-.js","./user-info-DTsggabP.js","./user-menu-content-Dnh2qpwQ.js","./app-sidebar-C4Y6TSY3.js","./nav-main-Cx1BkIzi.js","./date-picker-SAfAWPoh.js","./form-CYsLdORv.js","./geo-json-XGenv_Sy.js","./handsontable-Dxb-hF7-.js","./list-table-Du8TTXit.js","./del-modal-Dj3n8iVJ.js","./pagination-render-D6MBqi0B.js","./monaco-editor-9fDiyfuW.js","./use-window-size-DLSEoR6e.js","./nav-footer-B7wjmsPb.js","./toast-editor-1Pul3oMs.js"])))=>i.map(i=>d[i]);
2
+ import{q as E,r as u,j as o,_ as x,$ as v,a0 as t}from"./app.js";const P=(m,r,_)=>{const e=m[r];return e?typeof e=="function"?e():Promise.resolve(e):new Promise((s,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+r+(r.split("/").length!==_?". Note that variables only represent file names one level deep.":""))))})};function I(){const m=E(),[r,_]=u.useState(null),[e,s]=u.useState(null),n=m.props.controls,l=async()=>{const{component:i,props:p}=n[0],d=(await P(Object.assign({"../components/VanillaJSONEditor.tsx":()=>t(()=>import("./VanillaJSONEditor-XGIlS4LL.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"../components/add-form.tsx":()=>t(()=>import("./add-form-BLdLojfl.js"),__vite__mapDeps([7,1,2,8,9,10,11,12,6,13]),import.meta.url),"../components/add-group-form.tsx":()=>t(()=>import("./add-group-form-_VEBFz_S.js"),__vite__mapDeps([14,1,2,8]),import.meta.url),"../components/add-user-form.tsx":()=>t(()=>import("./add-user-form-BFAFyXuz.js"),__vite__mapDeps([15,1,2,8,13,16]),import.meta.url),"../components/app-shell.tsx":()=>t(()=>import("./app-shell-Dd-kA5uc.js"),__vite__mapDeps([17,1,2]),import.meta.url),"../components/app-sidebar-header.tsx":()=>t(()=>import("./app-sidebar-header-DQnbMxfM.js"),__vite__mapDeps([18,1,2,19,20,21,22,8,5]),import.meta.url),"../components/app-sidebar.tsx":()=>t(()=>import("./app-sidebar-C4Y6TSY3.js"),__vite__mapDeps([23,1,2,24,16]),import.meta.url),"../components/breadcrumbs.tsx":()=>t(()=>import("./breadcrumbs-D0gGjNVI.js"),__vite__mapDeps([19,1,2]),import.meta.url),"../components/date-picker.tsx":()=>t(()=>import("./date-picker-SAfAWPoh.js"),__vite__mapDeps([25,1,2]),import.meta.url),"../components/dynamic-controls.tsx":()=>t(()=>import("./dynamic-controls-CSVVCONh.js"),__vite__mapDeps([10,1,2]),import.meta.url),"../components/field-renderer.tsx":()=>t(()=>import("./field-renderer-C7qCVvAC.js"),__vite__mapDeps([9,1,2,10,11,12]),import.meta.url),"../components/form.tsx":()=>t(()=>import("./form-CYsLdORv.js"),__vite__mapDeps([26,1,2,6,7,8,9,10,11,12,13]),import.meta.url),"../components/geo-json.tsx":()=>t(()=>import("./geo-json-XGenv_Sy.js"),__vite__mapDeps([27,1,2]),import.meta.url),"../components/handsontable.tsx":()=>t(()=>import("./handsontable-Dxb-hF7-.js"),__vite__mapDeps([28,1,2,5]),import.meta.url),"../components/icon.tsx":()=>t(()=>import("./icon-DQL8h8HI.js"),__vite__mapDeps([8,1,2]),import.meta.url),"../components/input-error.tsx":()=>t(()=>import("./input-error-BztTAmHq.js"),__vite__mapDeps([13,1,2]),import.meta.url),"../components/list-table.tsx":()=>t(()=>import("./list-table-Du8TTXit.js"),__vite__mapDeps([29,1,2,8,16,30,31]),import.meta.url),"../components/material-icon.tsx":()=>t(()=>import("./material-icon-CPvFwV5P.js"),__vite__mapDeps([16,1,2]),import.meta.url),"../components/monaco-editor.tsx":()=>t(()=>import("./monaco-editor-9fDiyfuW.js"),__vite__mapDeps([32,1,2,5,33]),import.meta.url),"../components/multi-select.tsx":()=>t(()=>import("./multi-select-e4PqgWYn.js"),__vite__mapDeps([11,1,2]),import.meta.url),"../components/nav-footer.tsx":()=>t(()=>import("./nav-footer-B7wjmsPb.js"),__vite__mapDeps([34,1,2,8]),import.meta.url),"../components/nav-main.tsx":()=>t(()=>import("./nav-main-Cx1BkIzi.js"),__vite__mapDeps([24,1,2,16]),import.meta.url),"../components/nav-user.tsx":()=>t(()=>import("./nav-user-BWl2j-y-.js"),__vite__mapDeps([20,1,2,21,22]),import.meta.url),"../components/pagination-render.tsx":()=>t(()=>import("./pagination-render-D6MBqi0B.js"),__vite__mapDeps([31,1,2]),import.meta.url),"../components/toast-editor.tsx":()=>t(()=>import("./toast-editor-1Pul3oMs.js"),__vite__mapDeps([35,1,2,4,33,5]),import.meta.url),"../components/user-info.tsx":()=>t(()=>import("./user-info-DTsggabP.js"),__vite__mapDeps([21,1,2]),import.meta.url),"../components/user-menu-content.tsx":()=>t(()=>import("./user-menu-content-Dnh2qpwQ.js"),__vite__mapDeps([22,1,2,21]),import.meta.url)}),`../components/${i}.tsx`,3)).default;_(o.jsx(d,{...p}))},c=async()=>{const{component:i}=n[1],a=(await import(i)).default;s(o.jsx(a,{message:"Hello from Component B"}))};return o.jsxs(o.Fragment,{children:[o.jsx(x,{title:"Home"}),o.jsx("div",{children:o.jsx(v,{href:"/page",children:"Page"})}),o.jsx("div",{children:o.jsx("h1",{children:"Is Home"})}),o.jsxs("div",{children:[o.jsx("button",{onClick:l,children:"Загрузить компонент"}),o.jsx("p",{}),r||o.jsx("p",{children:"Нажмите кнопку, чтобы загрузить компонент"})]}),o.jsx("p",{}),o.jsxs("div",{children:[o.jsx("button",{onClick:c,children:"Загрузить компонент"}),o.jsx("p",{}),e||o.jsx("p",{children:"Нажмите кнопку, чтобы загрузить компонент"})]})]})}export{I as default};
@@ -1 +1 @@
1
- import{c as i,aw as r,j as a}from"./app.js";function p(l){const e=i.c(10);let s,o,t;e[0]!==l?({iconNode:s,className:o,...t}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=t):(s=e[1],o=e[2],t=e[3]);let n;e[4]!==o?(n=r("h-4 w-4",o),e[4]=o,e[5]=n):n=e[5];let c;return e[6]!==s||e[7]!==t||e[8]!==n?(c=a.jsx(s,{className:n,...t}),e[6]=s,e[7]=t,e[8]=n,e[9]=c):c=e[9],c}export{p as Icon};
1
+ import{c as i,aK as r,j as a}from"./app.js";function p(l){const e=i.c(10);let s,o,t;e[0]!==l?({iconNode:s,className:o,...t}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=t):(s=e[1],o=e[2],t=e[3]);let n;e[4]!==o?(n=r("h-4 w-4",o),e[4]=o,e[5]=n):n=e[5];let c;return e[6]!==s||e[7]!==t||e[8]!==n?(c=a.jsx(s,{className:n,...t}),e[6]=s,e[7]=t,e[8]=n,e[9]=c):c=e[9],c}export{p as Icon};
@@ -0,0 +1 @@
1
+ import{c as ae,q as ie,a1 as pe,r as ne,j as r,a as K,I as re,S as ce,b as de,B as me,T as fe,h as ue,i as he,e as be,t as xe}from"./app.js";import le from"./input-error-BztTAmHq.js";import{i as we}from"./use-appearance-J8J2w43p.js";function _e(){const e=ae.c(110),s=ie();let V;e[0]!==s.props.defaultLocale?(V={locale:s.props.defaultLocale,confirmPassword:"",password:"",login:""},e[0]=s.props.defaultLocale,e[1]=V):V=e[1];const{post:M,data:l,setData:Q,processing:o,setError:W,errors:t,clearErrors:X}=pe(V);let R;e[2]===Symbol.for("react.memo_cache_sentinel")?(R=[],e[2]=R):R=e[2],ne.useEffect(ve,R);let U;e[3]!==l.confirmPassword||e[4]!==l.password||e[5]!==s.props.confirmError||e[6]!==s.props.submitLink||e[7]!==M||e[8]!==W?(U=i=>{if(i.preventDefault(),l.password!==l.confirmPassword){W("confirmPassword",s.props.confirmError);return}M(s.props.submitLink,{onSuccess:Le,onError:je})},e[3]=l.confirmPassword,e[4]=l.password,e[5]=s.props.confirmError,e[6]=s.props.submitLink,e[7]=M,e[8]=W,e[9]=U):U=e[9];const Y=U;let z;e[10]!==X||e[11]!==Q?(z=(i,te)=>{X(),Q(i,te)},e[10]=X,e[11]=Q,e[12]=z):z=e[12];const a=z;let O;e[13]===Symbol.for("react.memo_cache_sentinel")?(O=r.jsx(fe,{position:"top-center",richColors:!0,closeButton:!0}),e[13]=O):O=e[13];let p;e[14]!==s.props.header.title?(p=r.jsx("h1",{className:"font-medium mb-2 text-xl",children:s.props.header.title}),e[14]=s.props.header.title,e[15]=p):p=e[15];let n;e[16]!==s.props.header.desc?(n=r.jsx("p",{className:"text-muted-foreground text-sm",children:s.props.header.desc}),e[16]=s.props.header.desc,e[17]=n):n=e[17];let A;e[18]===Symbol.for("react.memo_cache_sentinel")?(A=r.jsx("span",{className:"text-red-500",children:"*"}),e[18]=A):A=e[18];let c;e[19]!==s.props.loginLabel?(c=r.jsxs(K,{htmlFor:"login",children:[s.props.loginLabel,A]}),e[19]=s.props.loginLabel,e[20]=c):c=e[20];const Z=`${t.login?"border-red-500":""}`;let d;e[21]!==a?(d=i=>{a("login",i.target.value)},e[21]=a,e[22]=d):d=e[22];let m;e[23]!==l.login||e[24]!==s.props.loginLabel||e[25]!==o||e[26]!==d||e[27]!==Z?(m=r.jsx(re,{id:"login",className:Z,type:"text",required:!0,tabIndex:1,autoComplete:"username",value:l.login,disabled:o,onChange:d,placeholder:s.props.loginLabel}),e[23]=l.login,e[24]=s.props.loginLabel,e[25]=o,e[26]=d,e[27]=Z,e[28]=m):m=e[28];let f;e[29]!==t.login?(f=r.jsx(le,{message:t.login}),e[29]=t.login,e[30]=f):f=e[30];let u;e[31]!==m||e[32]!==f?(u=r.jsxs("div",{className:"relative",children:[m,f]}),e[31]=m,e[32]=f,e[33]=u):u=e[33];let h;e[34]!==u||e[35]!==c?(h=r.jsxs("div",{className:"grid gap-4",children:[c,u]}),e[34]=u,e[35]=c,e[36]=h):h=e[36];let G;e[37]===Symbol.for("react.memo_cache_sentinel")?(G=r.jsx("span",{className:"text-red-500",children:"*"}),e[37]=G):G=e[37];let b;e[38]!==s.props.passwordLabel?(b=r.jsxs(K,{htmlFor:"password",children:[s.props.passwordLabel,G]}),e[38]=s.props.passwordLabel,e[39]=b):b=e[39];const ee=`${t.password?"border-red-500":""}`;let x;e[40]!==a?(x=i=>{a("password",i.target.value)},e[40]=a,e[41]=x):x=e[41];let w;e[42]!==l.password||e[43]!==s.props.passwordLabel||e[44]!==o||e[45]!==ee||e[46]!==x?(w=r.jsx(re,{id:"password",className:ee,type:"password",required:!0,tabIndex:1,autoComplete:"new-password",value:l.password,disabled:o,onChange:x,placeholder:s.props.passwordLabel}),e[42]=l.password,e[43]=s.props.passwordLabel,e[44]=o,e[45]=ee,e[46]=x,e[47]=w):w=e[47];let g;e[48]!==t.password?(g=r.jsx(le,{message:t.password}),e[48]=t.password,e[49]=g):g=e[49];let j;e[50]!==w||e[51]!==g?(j=r.jsxs("div",{className:"relative",children:[w,g]}),e[50]=w,e[51]=g,e[52]=j):j=e[52];let L;e[53]!==b||e[54]!==j?(L=r.jsxs("div",{className:"grid gap-4",children:[b,j]}),e[53]=b,e[54]=j,e[55]=L):L=e[55];let H;e[56]===Symbol.for("react.memo_cache_sentinel")?(H=r.jsx("span",{className:"text-red-500",children:"*"}),e[56]=H):H=e[56];let v;e[57]!==s.props.confirmPasswordLabel?(v=r.jsxs(K,{htmlFor:"confirmPassword",children:[s.props.confirmPasswordLabel,H]}),e[57]=s.props.confirmPasswordLabel,e[58]=v):v=e[58];const se=`${t.confirmPassword?"border-red-500":""}`;let N;e[59]!==a?(N=i=>{a("confirmPassword",i.target.value)},e[59]=a,e[60]=N):N=e[60];let P;e[61]!==l.confirmPassword||e[62]!==s.props.confirmPasswordLabel||e[63]!==o||e[64]!==se||e[65]!==N?(P=r.jsx(re,{id:"confirmPassword",className:se,type:"password",required:!0,tabIndex:1,autoComplete:"new-password",value:l.confirmPassword,disabled:o,onChange:N,placeholder:s.props.confirmPasswordLabel}),e[61]=l.confirmPassword,e[62]=s.props.confirmPasswordLabel,e[63]=o,e[64]=se,e[65]=N,e[66]=P):P=e[66];let S;e[67]!==t.confirmPassword?(S=r.jsx(le,{message:t.confirmPassword}),e[67]=t.confirmPassword,e[68]=S):S=e[68];let _;e[69]!==P||e[70]!==S?(_=r.jsxs("div",{className:"relative",children:[P,S]}),e[69]=P,e[70]=S,e[71]=_):_=e[71];let y;e[72]!==v||e[73]!==_?(y=r.jsxs("div",{className:"grid gap-4",children:[v,_]}),e[72]=v,e[73]=_,e[74]=y):y=e[74];let C;e[75]!==s.props.localeLabel?(C=r.jsx(K,{htmlFor:"locale",children:s.props.localeLabel}),e[75]=s.props.localeLabel,e[76]=C):C=e[76];let E;e[77]!==a?(E=i=>a("locale",i),e[77]=a,e[78]=E):E=e[78];const oe=s.props.defaultLocale;let I;e[79]!==s.props.localeLabel?(I=r.jsx(ce,{className:"w-full cursor-pointer",children:r.jsx(de,{placeholder:s.props.localeLabel})}),e[79]=s.props.localeLabel,e[80]=I):I=e[80];let B;e[81]!==s.props.locales?(B=s.props.locales.map(ge),e[81]=s.props.locales,e[82]=B):B=e[82];let k;e[83]!==B?(k=r.jsx(ue,{children:B}),e[83]=B,e[84]=k):k=e[84];let q;e[85]!==s.props.defaultLocale||e[86]!==o||e[87]!==E||e[88]!==I||e[89]!==k?(q=r.jsxs(he,{onValueChange:E,defaultValue:oe,disabled:o,children:[I,k]}),e[85]=s.props.defaultLocale,e[86]=o,e[87]=E,e[88]=I,e[89]=k,e[90]=q):q=e[90];let F;e[91]!==C||e[92]!==q?(F=r.jsxs("div",{className:"grid gap-4",children:[C,q]}),e[91]=C,e[92]=q,e[93]=F):F=e[93];let T;e[94]!==s.props.submitButton||e[95]!==o?(T=r.jsx("div",{className:"flex gap-4",children:r.jsx(me,{type:"submit",className:"w-fit",disabled:o,children:s.props.submitButton})}),e[94]=s.props.submitButton,e[95]=o,e[96]=T):T=e[96];let $;e[97]!==h||e[98]!==L||e[99]!==y||e[100]!==F||e[101]!==T?($=r.jsxs("div",{className:"grid gap-5",children:[h,L,y,F,T]}),e[97]=h,e[98]=L,e[99]=y,e[100]=F,e[101]=T,e[102]=$):$=e[102];let D;e[103]!==Y||e[104]!==$?(D=r.jsx("form",{onSubmit:Y,className:"mt-6",children:$}),e[103]=Y,e[104]=$,e[105]=D):D=e[105];let J;return e[106]!==D||e[107]!==p||e[108]!==n?(J=r.jsxs("div",{className:"bg-sidebar flex min-h-svh w-full justify-center items-center",children:[O,r.jsxs("div",{className:"rounded-xl border bg-card text-card-foreground shadow p-6 max-w-sm w-full h-fit",children:[p,n,D]})]}),e[106]=D,e[107]=p,e[108]=n,e[109]=J):J=e[109],J}function ge(e){return r.jsx(be,{value:e,children:e.toLocaleUpperCase()},e)}function je(e){for(const s of Object.keys(e))xe.error(e[s])}function Le(){}function ve(){we()}export{_e as default};
@@ -1 +1 @@
1
- import{c,j as n,aw as m}from"./app.js";function p(l){const e=c.c(8);let s,t,r;e[0]!==l?({message:s,className:r,...t}=l,e[0]=l,e[1]=s,e[2]=t,e[3]=r):(s=e[1],t=e[2],r=e[3]);const o=r===void 0?"":r;let a;return e[4]!==o||e[5]!==s||e[6]!==t?(a=s?n.jsx("p",{...t,className:m("text-sm text-red-600 dark:text-red-400",o),children:s}):null,e[4]=o,e[5]=s,e[6]=t,e[7]=a):a=e[7],a}export{p as default};
1
+ import{c,j as n,aK as m}from"./app.js";function p(l){const e=c.c(8);let s,t,r;e[0]!==l?({message:s,className:r,...t}=l,e[0]=l,e[1]=s,e[2]=t,e[3]=r):(s=e[1],t=e[2],r=e[3]);const o=r===void 0?"":r;let a;return e[4]!==o||e[5]!==s||e[6]!==t?(a=s?n.jsx("p",{...t,className:m("text-sm text-red-600 dark:text-red-400",o),children:s}):null,e[4]=o,e[5]=s,e[6]=t,e[7]=a):a=e[7],a}export{p as default};
@@ -0,0 +1 @@
1
+ import{j as o}from"./app.js";import{A as r}from"./app-layout-NMKA6xAa.js";import t from"./list-table-Du8TTXit.js";import"./app-shell-Dd-kA5uc.js";import"./app-sidebar-C4Y6TSY3.js";import"./nav-main-Cx1BkIzi.js";import"./material-icon-CPvFwV5P.js";import"./app-sidebar-header-DQnbMxfM.js";import"./breadcrumbs-D0gGjNVI.js";import"./nav-user-BWl2j-y-.js";import"./user-info-DTsggabP.js";import"./user-menu-content-Dnh2qpwQ.js";import"./icon-DQL8h8HI.js";import"./use-appearance-J8J2w43p.js";import"./del-modal-Dj3n8iVJ.js";import"./pagination-render-D6MBqi0B.js";const m=[],A=()=>o.jsx(r,{breadcrumbs:m,className:"overflow-auto h-[calc(100svh-16px)]",children:o.jsx(t,{})});export{A as default};
@@ -0,0 +1,22 @@
1
+ import{r as $,j as c,B as z,bp as qe,bq as Ue,br as Ke,c as Xe,bs as fe,bt as Ve,bu as Je,I as Qe,bv as Pe,bw as We,bx as Ye,by as Ze,q as be,t as ve,o as B,T as et,$ as q,bz as tt,bA as nt,u as we,v as Re,w as xe,x as _e,y as $e,i as ot,S as rt,b as it,h as lt,e as st,b4 as J,p as ut,bB as at,b2 as gt}from"./app.js";import{Icon as T}from"./icon-DQL8h8HI.js";import U from"./material-icon-CPvFwV5P.js";import{D as dt}from"./del-modal-Dj3n8iVJ.js";import ct from"./pagination-render-D6MBqi0B.js";function ft(e,n,t,o,r){return $.useMemo(()=>Object.entries(e).map(([i,l])=>({accessorKey:i,header:()=>c.jsxs("div",{className:`flex flex-col gap-1 text-center max-w-[300px] ${l.direction?"text-chart-1":""}`,children:[c.jsxs(z,{variant:"ghost",className:"cursor-pointer hover:text-inherit",onClick:()=>{if(n){const s=l.direction==="asc"?"desc":"asc";n(l.data,s)}},children:[c.jsx("span",{className:"overflow-hidden text-ellipsis",children:l.title}),l.direction?c.jsx(T,{iconNode:l.direction==="asc"?qe:Ue,className:"size-3"}):c.jsx(T,{iconNode:Ke,className:"size-3"})]}),r&&t&&c.jsx("input",{type:"text",defaultValue:l.searchColumnValue,className:"text-xs p-1 border rounded mb-2 text-foreground",onChange:s=>{t(l.data,s.target.value)},onKeyDown:s=>{s.key==="Enter"&&o&&o()}})]}),cell:({row:s})=>{var u;return c.jsx("div",{className:"text-center max-w-[300px] overflow-hidden text-ellipsis",children:(u=s.getValue(i))==null?void 0:u.toString()})}})),[e,n,r,t])}/**
2
+ * table-core
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */function L(e,n){return typeof e=="function"?e(n):e}function D(e,n){return t=>{n.setState(o=>({...o,[e]:L(t,o[e])}))}}function Z(e){return e instanceof Function}function pt(e){return Array.isArray(e)&&e.every(n=>typeof n=="number")}function mt(e,n){const t=[],o=r=>{r.forEach(i=>{t.push(i);const l=n(i);l!=null&&l.length&&o(l)})};return o(e),t}function w(e,n,t){let o=[],r;return i=>{let l;t.key&&t.debug&&(l=Date.now());const s=e(i);if(!(s.length!==o.length||s.some((d,h)=>o[h]!==d)))return r;o=s;let a;if(t.key&&t.debug&&(a=Date.now()),r=n(...s),t==null||t.onChange==null||t.onChange(r),t.key&&t.debug&&t!=null&&t.debug()){const d=Math.round((Date.now()-l)*100)/100,h=Math.round((Date.now()-a)*100)/100,f=h/16,g=(p,m)=>{for(p=String(p);p.length<m;)p=" "+p;return p};console.info(`%c⏱ ${g(h,5)} /${g(d,5)} ms`,`
11
+ font-size: .6rem;
12
+ font-weight: bold;
13
+ color: hsl(${Math.max(0,Math.min(120-120*f,120))}deg 100% 31%);`,t==null?void 0:t.key)}return r}}function R(e,n,t,o){return{debug:()=>{var r;return(r=e==null?void 0:e.debugAll)!=null?r:e[n]},key:!1,onChange:o}}function ht(e,n,t,o){const r=()=>{var l;return(l=i.getValue())!=null?l:e.options.renderFallbackValue},i={id:`${n.id}_${t.id}`,row:n,column:t,getValue:()=>n.getValue(o),renderValue:r,getContext:w(()=>[e,t,n,i],(l,s,u,a)=>({table:l,column:s,row:u,cell:a,getValue:a.getValue,renderValue:a.renderValue}),R(e.options,"debugCells"))};return e._features.forEach(l=>{l.createCell==null||l.createCell(i,t,n,e)},{}),i}function St(e,n,t,o){var r,i;const s={...e._getDefaultColumnDef(),...n},u=s.accessorKey;let a=(r=(i=s.id)!=null?i:u?typeof String.prototype.replaceAll=="function"?u.replaceAll(".","_"):u.replace(/\./g,"_"):void 0)!=null?r:typeof s.header=="string"?s.header:void 0,d;if(s.accessorFn?d=s.accessorFn:u&&(u.includes(".")?d=f=>{let g=f;for(const m of u.split(".")){var p;g=(p=g)==null?void 0:p[m]}return g}:d=f=>f[s.accessorKey]),!a)throw new Error;let h={id:`${String(a)}`,accessorFn:d,parent:o,depth:t,columnDef:s,columns:[],getFlatColumns:w(()=>[!0],()=>{var f;return[h,...(f=h.columns)==null?void 0:f.flatMap(g=>g.getFlatColumns())]},R(e.options,"debugColumns")),getLeafColumns:w(()=>[e._getOrderColumnsFn()],f=>{var g;if((g=h.columns)!=null&&g.length){let p=h.columns.flatMap(m=>m.getLeafColumns());return f(p)}return[h]},R(e.options,"debugColumns"))};for(const f of e._features)f.createColumn==null||f.createColumn(h,e);return h}const V="debugHeaders";function Fe(e,n,t){var o;let i={id:(o=t.id)!=null?o:n.id,column:n,index:t.index,isPlaceholder:!!t.isPlaceholder,placeholderId:t.placeholderId,depth:t.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const l=[],s=u=>{u.subHeaders&&u.subHeaders.length&&u.subHeaders.map(s),l.push(u)};return s(i),l},getContext:()=>({table:e,header:i,column:n})};return e._features.forEach(l=>{l.createHeader==null||l.createHeader(i,e)}),i}const Ct={createTable:e=>{e.getHeaderGroups=w(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o,r)=>{var i,l;const s=(i=o==null?void 0:o.map(h=>t.find(f=>f.id===h)).filter(Boolean))!=null?i:[],u=(l=r==null?void 0:r.map(h=>t.find(f=>f.id===h)).filter(Boolean))!=null?l:[],a=t.filter(h=>!(o!=null&&o.includes(h.id))&&!(r!=null&&r.includes(h.id)));return Q(n,[...s,...a,...u],e)},R(e.options,V)),e.getCenterHeaderGroups=w(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o,r)=>(t=t.filter(i=>!(o!=null&&o.includes(i.id))&&!(r!=null&&r.includes(i.id))),Q(n,t,e,"center")),R(e.options,V)),e.getLeftHeaderGroups=w(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(n,t,o)=>{var r;const i=(r=o==null?void 0:o.map(l=>t.find(s=>s.id===l)).filter(Boolean))!=null?r:[];return Q(n,i,e,"left")},R(e.options,V)),e.getRightHeaderGroups=w(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(n,t,o)=>{var r;const i=(r=o==null?void 0:o.map(l=>t.find(s=>s.id===l)).filter(Boolean))!=null?r:[];return Q(n,i,e,"right")},R(e.options,V)),e.getFooterGroups=w(()=>[e.getHeaderGroups()],n=>[...n].reverse(),R(e.options,V)),e.getLeftFooterGroups=w(()=>[e.getLeftHeaderGroups()],n=>[...n].reverse(),R(e.options,V)),e.getCenterFooterGroups=w(()=>[e.getCenterHeaderGroups()],n=>[...n].reverse(),R(e.options,V)),e.getRightFooterGroups=w(()=>[e.getRightHeaderGroups()],n=>[...n].reverse(),R(e.options,V)),e.getFlatHeaders=w(()=>[e.getHeaderGroups()],n=>n.map(t=>t.headers).flat(),R(e.options,V)),e.getLeftFlatHeaders=w(()=>[e.getLeftHeaderGroups()],n=>n.map(t=>t.headers).flat(),R(e.options,V)),e.getCenterFlatHeaders=w(()=>[e.getCenterHeaderGroups()],n=>n.map(t=>t.headers).flat(),R(e.options,V)),e.getRightFlatHeaders=w(()=>[e.getRightHeaderGroups()],n=>n.map(t=>t.headers).flat(),R(e.options,V)),e.getCenterLeafHeaders=w(()=>[e.getCenterFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),R(e.options,V)),e.getLeftLeafHeaders=w(()=>[e.getLeftFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),R(e.options,V)),e.getRightLeafHeaders=w(()=>[e.getRightFlatHeaders()],n=>n.filter(t=>{var o;return!((o=t.subHeaders)!=null&&o.length)}),R(e.options,V)),e.getLeafHeaders=w(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(n,t,o)=>{var r,i,l,s,u,a;return[...(r=(i=n[0])==null?void 0:i.headers)!=null?r:[],...(l=(s=t[0])==null?void 0:s.headers)!=null?l:[],...(u=(a=o[0])==null?void 0:a.headers)!=null?u:[]].map(d=>d.getLeafHeaders()).flat()},R(e.options,V))}};function Q(e,n,t,o){var r,i;let l=0;const s=function(f,g){g===void 0&&(g=1),l=Math.max(l,g),f.filter(p=>p.getIsVisible()).forEach(p=>{var m;(m=p.columns)!=null&&m.length&&s(p.columns,g+1)},0)};s(e);let u=[];const a=(f,g)=>{const p={depth:g,id:[o,`${g}`].filter(Boolean).join("_"),headers:[]},m=[];f.forEach(C=>{const v=[...m].reverse()[0],x=C.column.depth===p.depth;let _,F=!1;if(x&&C.column.parent?_=C.column.parent:(_=C.column,F=!0),v&&(v==null?void 0:v.column)===_)v.subHeaders.push(C);else{const M=Fe(t,_,{id:[o,g,_.id,C==null?void 0:C.id].filter(Boolean).join("_"),isPlaceholder:F,placeholderId:F?`${m.filter(I=>I.column===_).length}`:void 0,depth:g,index:m.length});M.subHeaders.push(C),m.push(M)}p.headers.push(C),C.headerGroup=p}),u.push(p),g>0&&a(m,g-1)},d=n.map((f,g)=>Fe(t,f,{depth:l,index:g}));a(d,l-1),u.reverse();const h=f=>f.filter(p=>p.column.getIsVisible()).map(p=>{let m=0,C=0,v=[0];p.subHeaders&&p.subHeaders.length?(v=[],h(p.subHeaders).forEach(_=>{let{colSpan:F,rowSpan:M}=_;m+=F,v.push(M)})):m=1;const x=Math.min(...v);return C=C+x,p.colSpan=m,p.rowSpan=C,{colSpan:m,rowSpan:C}});return h((r=(i=u[0])==null?void 0:i.headers)!=null?r:[]),u}const vt=(e,n,t,o,r,i,l)=>{let s={id:n,index:o,original:t,depth:r,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:u=>{if(s._valuesCache.hasOwnProperty(u))return s._valuesCache[u];const a=e.getColumn(u);if(a!=null&&a.accessorFn)return s._valuesCache[u]=a.accessorFn(s.original,o),s._valuesCache[u]},getUniqueValues:u=>{if(s._uniqueValuesCache.hasOwnProperty(u))return s._uniqueValuesCache[u];const a=e.getColumn(u);if(a!=null&&a.accessorFn)return a.columnDef.getUniqueValues?(s._uniqueValuesCache[u]=a.columnDef.getUniqueValues(s.original,o),s._uniqueValuesCache[u]):(s._uniqueValuesCache[u]=[s.getValue(u)],s._uniqueValuesCache[u])},renderValue:u=>{var a;return(a=s.getValue(u))!=null?a:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>mt(s.subRows,u=>u.subRows),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let u=[],a=s;for(;;){const d=a.getParentRow();if(!d)break;u.push(d),a=d}return u.reverse()},getAllCells:w(()=>[e.getAllLeafColumns()],u=>u.map(a=>ht(e,s,a,a.id)),R(e.options,"debugRows")),_getAllCellsByColumnId:w(()=>[s.getAllCells()],u=>u.reduce((a,d)=>(a[d.column.id]=d,a),{}),R(e.options,"debugRows"))};for(let u=0;u<e._features.length;u++){const a=e._features[u];a==null||a.createRow==null||a.createRow(s,e)}return s},wt={createColumn:(e,n)=>{e._getFacetedRowModel=n.options.getFacetedRowModel&&n.options.getFacetedRowModel(n,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():n.getPreFilteredRowModel(),e._getFacetedUniqueValues=n.options.getFacetedUniqueValues&&n.options.getFacetedUniqueValues(n,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=n.options.getFacetedMinMaxValues&&n.options.getFacetedMinMaxValues(n,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},Ie=(e,n,t)=>{var o,r;const i=t==null||(o=t.toString())==null?void 0:o.toLowerCase();return!!(!((r=e.getValue(n))==null||(r=r.toString())==null||(r=r.toLowerCase())==null)&&r.includes(i))};Ie.autoRemove=e=>E(e);const ye=(e,n,t)=>{var o;return!!(!((o=e.getValue(n))==null||(o=o.toString())==null)&&o.includes(t))};ye.autoRemove=e=>E(e);const De=(e,n,t)=>{var o;return((o=e.getValue(n))==null||(o=o.toString())==null?void 0:o.toLowerCase())===(t==null?void 0:t.toLowerCase())};De.autoRemove=e=>E(e);const Ee=(e,n,t)=>{var o;return(o=e.getValue(n))==null?void 0:o.includes(t)};Ee.autoRemove=e=>E(e);const je=(e,n,t)=>!t.some(o=>{var r;return!((r=e.getValue(n))!=null&&r.includes(o))});je.autoRemove=e=>E(e)||!(e!=null&&e.length);const Ae=(e,n,t)=>t.some(o=>{var r;return(r=e.getValue(n))==null?void 0:r.includes(o)});Ae.autoRemove=e=>E(e)||!(e!=null&&e.length);const Ge=(e,n,t)=>e.getValue(n)===t;Ge.autoRemove=e=>E(e);const He=(e,n,t)=>e.getValue(n)==t;He.autoRemove=e=>E(e);const pe=(e,n,t)=>{let[o,r]=t;const i=e.getValue(n);return i>=o&&i<=r};pe.resolveFilterValue=e=>{let[n,t]=e,o=typeof n!="number"?parseFloat(n):n,r=typeof t!="number"?parseFloat(t):t,i=n===null||Number.isNaN(o)?-1/0:o,l=t===null||Number.isNaN(r)?1/0:r;if(i>l){const s=i;i=l,l=s}return[i,l]};pe.autoRemove=e=>E(e)||E(e[0])&&E(e[1]);const H={includesString:Ie,includesStringSensitive:ye,equalsString:De,arrIncludes:Ee,arrIncludesAll:je,arrIncludesSome:Ae,equals:Ge,weakEquals:He,inNumberRange:pe};function E(e){return e==null||e===""}const Rt={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:D("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,n)=>{e.getAutoFilterFn=()=>{const t=n.getCoreRowModel().flatRows[0],o=t==null?void 0:t.getValue(e.id);return typeof o=="string"?H.includesString:typeof o=="number"?H.inNumberRange:typeof o=="boolean"||o!==null&&typeof o=="object"?H.equals:Array.isArray(o)?H.arrIncludes:H.weakEquals},e.getFilterFn=()=>{var t,o;return Z(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(t=(o=n.options.filterFns)==null?void 0:o[e.columnDef.filterFn])!=null?t:H[e.columnDef.filterFn]},e.getCanFilter=()=>{var t,o,r;return((t=e.columnDef.enableColumnFilter)!=null?t:!0)&&((o=n.options.enableColumnFilters)!=null?o:!0)&&((r=n.options.enableFilters)!=null?r:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var t;return(t=n.getState().columnFilters)==null||(t=t.find(o=>o.id===e.id))==null?void 0:t.value},e.getFilterIndex=()=>{var t,o;return(t=(o=n.getState().columnFilters)==null?void 0:o.findIndex(r=>r.id===e.id))!=null?t:-1},e.setFilterValue=t=>{n.setColumnFilters(o=>{const r=e.getFilterFn(),i=o==null?void 0:o.find(d=>d.id===e.id),l=L(t,i?i.value:void 0);if(Me(r,l,e)){var s;return(s=o==null?void 0:o.filter(d=>d.id!==e.id))!=null?s:[]}const u={id:e.id,value:l};if(i){var a;return(a=o==null?void 0:o.map(d=>d.id===e.id?u:d))!=null?a:[]}return o!=null&&o.length?[...o,u]:[u]})}},createRow:(e,n)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=n=>{const t=e.getAllLeafColumns(),o=r=>{var i;return(i=L(n,r))==null?void 0:i.filter(l=>{const s=t.find(u=>u.id===l.id);if(s){const u=s.getFilterFn();if(Me(u,l.value,s))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(o)},e.resetColumnFilters=n=>{var t,o;e.setColumnFilters(n?[]:(t=(o=e.initialState)==null?void 0:o.columnFilters)!=null?t:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function Me(e,n,t){return(e&&e.autoRemove?e.autoRemove(n,t):!1)||typeof n>"u"||typeof n=="string"&&!n}const xt=(e,n,t)=>t.reduce((o,r)=>{const i=r.getValue(e);return o+(typeof i=="number"?i:0)},0),_t=(e,n,t)=>{let o;return t.forEach(r=>{const i=r.getValue(e);i!=null&&(o>i||o===void 0&&i>=i)&&(o=i)}),o},$t=(e,n,t)=>{let o;return t.forEach(r=>{const i=r.getValue(e);i!=null&&(o<i||o===void 0&&i>=i)&&(o=i)}),o},Ft=(e,n,t)=>{let o,r;return t.forEach(i=>{const l=i.getValue(e);l!=null&&(o===void 0?l>=l&&(o=r=l):(o>l&&(o=l),r<l&&(r=l)))}),[o,r]},Mt=(e,n)=>{let t=0,o=0;if(n.forEach(r=>{let i=r.getValue(e);i!=null&&(i=+i)>=i&&(++t,o+=i)}),t)return o/t},Vt=(e,n)=>{if(!n.length)return;const t=n.map(i=>i.getValue(e));if(!pt(t))return;if(t.length===1)return t[0];const o=Math.floor(t.length/2),r=t.sort((i,l)=>i-l);return t.length%2!==0?r[o]:(r[o-1]+r[o])/2},Pt=(e,n)=>Array.from(new Set(n.map(t=>t.getValue(e))).values()),It=(e,n)=>new Set(n.map(t=>t.getValue(e))).size,yt=(e,n)=>n.length,te={sum:xt,min:_t,max:$t,extent:Ft,mean:Mt,median:Vt,unique:Pt,uniqueCount:It,count:yt},Dt={getDefaultColumnDef:()=>({aggregatedCell:e=>{var n,t;return(n=(t=e.getValue())==null||t.toString==null?void 0:t.toString())!=null?n:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:D("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,n)=>{e.toggleGrouping=()=>{n.setGrouping(t=>t!=null&&t.includes(e.id)?t.filter(o=>o!==e.id):[...t??[],e.id])},e.getCanGroup=()=>{var t,o;return((t=e.columnDef.enableGrouping)!=null?t:!0)&&((o=n.options.enableGrouping)!=null?o:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.includes(e.id)},e.getGroupedIndex=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const t=n.getCoreRowModel().flatRows[0],o=t==null?void 0:t.getValue(e.id);if(typeof o=="number")return te.sum;if(Object.prototype.toString.call(o)==="[object Date]")return te.extent},e.getAggregationFn=()=>{var t,o;if(!e)throw new Error;return Z(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(t=(o=n.options.aggregationFns)==null?void 0:o[e.columnDef.aggregationFn])!=null?t:te[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=n=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(n),e.resetGrouping=n=>{var t,o;e.setGrouping(n?[]:(t=(o=e.initialState)==null?void 0:o.grouping)!=null?t:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,n)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=t=>{if(e._groupingValuesCache.hasOwnProperty(t))return e._groupingValuesCache[t];const o=n.getColumn(t);return o!=null&&o.columnDef.getGroupingValue?(e._groupingValuesCache[t]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[t]):e.getValue(t)},e._groupingValuesCache={}},createCell:(e,n,t,o)=>{e.getIsGrouped=()=>n.getIsGrouped()&&n.id===t.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&n.getIsGrouped(),e.getIsAggregated=()=>{var r;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((r=t.subRows)!=null&&r.length)}}};function Et(e,n,t){if(!(n!=null&&n.length)||!t)return e;const o=e.filter(i=>!n.includes(i.id));return t==="remove"?o:[...n.map(i=>e.find(l=>l.id===i)).filter(Boolean),...o]}const jt={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:D("columnOrder",e)}),createColumn:(e,n)=>{e.getIndex=w(t=>[X(n,t)],t=>t.findIndex(o=>o.id===e.id),R(n.options,"debugColumns")),e.getIsFirstColumn=t=>{var o;return((o=X(n,t)[0])==null?void 0:o.id)===e.id},e.getIsLastColumn=t=>{var o;const r=X(n,t);return((o=r[r.length-1])==null?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=n=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(n),e.resetColumnOrder=n=>{var t;e.setColumnOrder(n?[]:(t=e.initialState.columnOrder)!=null?t:[])},e._getOrderColumnsFn=w(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(n,t,o)=>r=>{let i=[];if(!(n!=null&&n.length))i=r;else{const l=[...n],s=[...r];for(;s.length&&l.length;){const u=l.shift(),a=s.findIndex(d=>d.id===u);a>-1&&i.push(s.splice(a,1)[0])}i=[...i,...s]}return Et(i,t,o)},R(e.options,"debugTable"))}},ne=()=>({left:[],right:[]}),At={getInitialState:e=>({columnPinning:ne(),...e}),getDefaultOptions:e=>({onColumnPinningChange:D("columnPinning",e)}),createColumn:(e,n)=>{e.pin=t=>{const o=e.getLeafColumns().map(r=>r.id).filter(Boolean);n.setColumnPinning(r=>{var i,l;if(t==="right"){var s,u;return{left:((s=r==null?void 0:r.left)!=null?s:[]).filter(h=>!(o!=null&&o.includes(h))),right:[...((u=r==null?void 0:r.right)!=null?u:[]).filter(h=>!(o!=null&&o.includes(h))),...o]}}if(t==="left"){var a,d;return{left:[...((a=r==null?void 0:r.left)!=null?a:[]).filter(h=>!(o!=null&&o.includes(h))),...o],right:((d=r==null?void 0:r.right)!=null?d:[]).filter(h=>!(o!=null&&o.includes(h)))}}return{left:((i=r==null?void 0:r.left)!=null?i:[]).filter(h=>!(o!=null&&o.includes(h))),right:((l=r==null?void 0:r.right)!=null?l:[]).filter(h=>!(o!=null&&o.includes(h)))}})},e.getCanPin=()=>e.getLeafColumns().some(o=>{var r,i,l;return((r=o.columnDef.enablePinning)!=null?r:!0)&&((i=(l=n.options.enableColumnPinning)!=null?l:n.options.enablePinning)!=null?i:!0)}),e.getIsPinned=()=>{const t=e.getLeafColumns().map(s=>s.id),{left:o,right:r}=n.getState().columnPinning,i=t.some(s=>o==null?void 0:o.includes(s)),l=t.some(s=>r==null?void 0:r.includes(s));return i?"left":l?"right":!1},e.getPinnedIndex=()=>{var t,o;const r=e.getIsPinned();return r?(t=(o=n.getState().columnPinning)==null||(o=o[r])==null?void 0:o.indexOf(e.id))!=null?t:-1:0}},createRow:(e,n)=>{e.getCenterVisibleCells=w(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left,n.getState().columnPinning.right],(t,o,r)=>{const i=[...o??[],...r??[]];return t.filter(l=>!i.includes(l.column.id))},R(n.options,"debugRows")),e.getLeftVisibleCells=w(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left],(t,o)=>(o??[]).map(i=>t.find(l=>l.column.id===i)).filter(Boolean).map(i=>({...i,position:"left"})),R(n.options,"debugRows")),e.getRightVisibleCells=w(()=>[e._getAllVisibleCells(),n.getState().columnPinning.right],(t,o)=>(o??[]).map(i=>t.find(l=>l.column.id===i)).filter(Boolean).map(i=>({...i,position:"right"})),R(n.options,"debugRows"))},createTable:e=>{e.setColumnPinning=n=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(n),e.resetColumnPinning=n=>{var t,o;return e.setColumnPinning(n?ne():(t=(o=e.initialState)==null?void 0:o.columnPinning)!=null?t:ne())},e.getIsSomeColumnsPinned=n=>{var t;const o=e.getState().columnPinning;if(!n){var r,i;return!!((r=o.left)!=null&&r.length||(i=o.right)!=null&&i.length)}return!!((t=o[n])!=null&&t.length)},e.getLeftLeafColumns=w(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(n,t)=>(t??[]).map(o=>n.find(r=>r.id===o)).filter(Boolean),R(e.options,"debugColumns")),e.getRightLeafColumns=w(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(n,t)=>(t??[]).map(o=>n.find(r=>r.id===o)).filter(Boolean),R(e.options,"debugColumns")),e.getCenterLeafColumns=w(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,o)=>{const r=[...t??[],...o??[]];return n.filter(i=>!r.includes(i.id))},R(e.options,"debugColumns"))}};function Gt(e){return e||(typeof document<"u"?document:null)}const W={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},oe=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Ht={getDefaultColumnDef:()=>W,getInitialState:e=>({columnSizing:{},columnSizingInfo:oe(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:D("columnSizing",e),onColumnSizingInfoChange:D("columnSizingInfo",e)}),createColumn:(e,n)=>{e.getSize=()=>{var t,o,r;const i=n.getState().columnSizing[e.id];return Math.min(Math.max((t=e.columnDef.minSize)!=null?t:W.minSize,(o=i??e.columnDef.size)!=null?o:W.size),(r=e.columnDef.maxSize)!=null?r:W.maxSize)},e.getStart=w(t=>[t,X(n,t),n.getState().columnSizing],(t,o)=>o.slice(0,e.getIndex(t)).reduce((r,i)=>r+i.getSize(),0),R(n.options,"debugColumns")),e.getAfter=w(t=>[t,X(n,t),n.getState().columnSizing],(t,o)=>o.slice(e.getIndex(t)+1).reduce((r,i)=>r+i.getSize(),0),R(n.options,"debugColumns")),e.resetSize=()=>{n.setColumnSizing(t=>{let{[e.id]:o,...r}=t;return r})},e.getCanResize=()=>{var t,o;return((t=e.columnDef.enableResizing)!=null?t:!0)&&((o=n.options.enableColumnResizing)!=null?o:!0)},e.getIsResizing=()=>n.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,n)=>{e.getSize=()=>{let t=0;const o=r=>{if(r.subHeaders.length)r.subHeaders.forEach(o);else{var i;t+=(i=r.column.getSize())!=null?i:0}};return o(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=t=>{const o=n.getColumn(e.column.id),r=o==null?void 0:o.getCanResize();return i=>{if(!o||!r||(i.persist==null||i.persist(),re(i)&&i.touches&&i.touches.length>1))return;const l=e.getSize(),s=e?e.getLeafHeaders().map(v=>[v.column.id,v.column.getSize()]):[[o.id,o.getSize()]],u=re(i)?Math.round(i.touches[0].clientX):i.clientX,a={},d=(v,x)=>{typeof x=="number"&&(n.setColumnSizingInfo(_=>{var F,M;const I=n.options.columnResizeDirection==="rtl"?-1:1,N=(x-((F=_==null?void 0:_.startOffset)!=null?F:0))*I,A=Math.max(N/((M=_==null?void 0:_.startSize)!=null?M:0),-.999999);return _.columnSizingStart.forEach(b=>{let[ee,k]=b;a[ee]=Math.round(Math.max(k+k*A,0)*100)/100}),{..._,deltaOffset:N,deltaPercentage:A}}),(n.options.columnResizeMode==="onChange"||v==="end")&&n.setColumnSizing(_=>({..._,...a})))},h=v=>d("move",v),f=v=>{d("end",v),n.setColumnSizingInfo(x=>({...x,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},g=Gt(t),p={moveHandler:v=>h(v.clientX),upHandler:v=>{g==null||g.removeEventListener("mousemove",p.moveHandler),g==null||g.removeEventListener("mouseup",p.upHandler),f(v.clientX)}},m={moveHandler:v=>(v.cancelable&&(v.preventDefault(),v.stopPropagation()),h(v.touches[0].clientX),!1),upHandler:v=>{var x;g==null||g.removeEventListener("touchmove",m.moveHandler),g==null||g.removeEventListener("touchend",m.upHandler),v.cancelable&&(v.preventDefault(),v.stopPropagation()),f((x=v.touches[0])==null?void 0:x.clientX)}},C=zt()?{passive:!1}:!1;re(i)?(g==null||g.addEventListener("touchmove",m.moveHandler,C),g==null||g.addEventListener("touchend",m.upHandler,C)):(g==null||g.addEventListener("mousemove",p.moveHandler,C),g==null||g.addEventListener("mouseup",p.upHandler,C)),n.setColumnSizingInfo(v=>({...v,startOffset:u,startSize:l,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:o.id}))}}},createTable:e=>{e.setColumnSizing=n=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(n),e.setColumnSizingInfo=n=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(n),e.resetColumnSizing=n=>{var t;e.setColumnSizing(n?{}:(t=e.initialState.columnSizing)!=null?t:{})},e.resetHeaderSizeInfo=n=>{var t;e.setColumnSizingInfo(n?oe():(t=e.initialState.columnSizingInfo)!=null?t:oe())},e.getTotalSize=()=>{var n,t;return(n=(t=e.getHeaderGroups()[0])==null?void 0:t.headers.reduce((o,r)=>o+r.getSize(),0))!=null?n:0},e.getLeftTotalSize=()=>{var n,t;return(n=(t=e.getLeftHeaderGroups()[0])==null?void 0:t.headers.reduce((o,r)=>o+r.getSize(),0))!=null?n:0},e.getCenterTotalSize=()=>{var n,t;return(n=(t=e.getCenterHeaderGroups()[0])==null?void 0:t.headers.reduce((o,r)=>o+r.getSize(),0))!=null?n:0},e.getRightTotalSize=()=>{var n,t;return(n=(t=e.getRightHeaderGroups()[0])==null?void 0:t.headers.reduce((o,r)=>o+r.getSize(),0))!=null?n:0}}};let Y=null;function zt(){if(typeof Y=="boolean")return Y;let e=!1;try{const n={get passive(){return e=!0,!1}},t=()=>{};window.addEventListener("test",t,n),window.removeEventListener("test",t)}catch{e=!1}return Y=e,Y}function re(e){return e.type==="touchstart"}const Lt={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:D("columnVisibility",e)}),createColumn:(e,n)=>{e.toggleVisibility=t=>{e.getCanHide()&&n.setColumnVisibility(o=>({...o,[e.id]:t??!e.getIsVisible()}))},e.getIsVisible=()=>{var t,o;const r=e.columns;return(t=r.length?r.some(i=>i.getIsVisible()):(o=n.getState().columnVisibility)==null?void 0:o[e.id])!=null?t:!0},e.getCanHide=()=>{var t,o;return((t=e.columnDef.enableHiding)!=null?t:!0)&&((o=n.options.enableHiding)!=null?o:!0)},e.getToggleVisibilityHandler=()=>t=>{e.toggleVisibility==null||e.toggleVisibility(t.target.checked)}},createRow:(e,n)=>{e._getAllVisibleCells=w(()=>[e.getAllCells(),n.getState().columnVisibility],t=>t.filter(o=>o.column.getIsVisible()),R(n.options,"debugRows")),e.getVisibleCells=w(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(t,o,r)=>[...t,...o,...r],R(n.options,"debugRows"))},createTable:e=>{const n=(t,o)=>w(()=>[o(),o().filter(r=>r.getIsVisible()).map(r=>r.id).join("_")],r=>r.filter(i=>i.getIsVisible==null?void 0:i.getIsVisible()),R(e.options,"debugColumns"));e.getVisibleFlatColumns=n("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=n("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=n("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=n("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=n("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var o;e.setColumnVisibility(t?{}:(o=e.initialState.columnVisibility)!=null?o:{})},e.toggleAllColumnsVisible=t=>{var o;t=(o=t)!=null?o:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((r,i)=>({...r,[i.id]:t||!(i.getCanHide!=null&&i.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(t=>!(t.getIsVisible!=null&&t.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(t=>t.getIsVisible==null?void 0:t.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var o;e.toggleAllColumnsVisible((o=t.target)==null?void 0:o.checked)}}};function X(e,n){return n?n==="center"?e.getCenterVisibleLeafColumns():n==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Ot={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Nt={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:D("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:n=>{var t;const o=(t=e.getCoreRowModel().flatRows[0])==null||(t=t._getAllCellsByColumnId()[n.id])==null?void 0:t.getValue();return typeof o=="string"||typeof o=="number"}}),createColumn:(e,n)=>{e.getCanGlobalFilter=()=>{var t,o,r,i;return((t=e.columnDef.enableGlobalFilter)!=null?t:!0)&&((o=n.options.enableGlobalFilter)!=null?o:!0)&&((r=n.options.enableFilters)!=null?r:!0)&&((i=n.options.getColumnCanGlobalFilter==null?void 0:n.options.getColumnCanGlobalFilter(e))!=null?i:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>H.includesString,e.getGlobalFilterFn=()=>{var n,t;const{globalFilterFn:o}=e.options;return Z(o)?o:o==="auto"?e.getGlobalAutoFilterFn():(n=(t=e.options.filterFns)==null?void 0:t[o])!=null?n:H[o]},e.setGlobalFilter=n=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(n)},e.resetGlobalFilter=n=>{e.setGlobalFilter(n?void 0:e.initialState.globalFilter)}}},Tt={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:D("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let n=!1,t=!1;e._autoResetExpanded=()=>{var o,r;if(!n){e._queue(()=>{n=!0});return}if((o=(r=e.options.autoResetAll)!=null?r:e.options.autoResetExpanded)!=null?o:!e.options.manualExpanding){if(t)return;t=!0,e._queue(()=>{e.resetExpanded(),t=!1})}},e.setExpanded=o=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(o),e.toggleAllRowsExpanded=o=>{o??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=o=>{var r,i;e.setExpanded(o?{}:(r=(i=e.initialState)==null?void 0:i.expanded)!=null?r:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(o=>o.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>o=>{o.persist==null||o.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const o=e.getState().expanded;return o===!0||Object.values(o).some(Boolean)},e.getIsAllRowsExpanded=()=>{const o=e.getState().expanded;return typeof o=="boolean"?o===!0:!(!Object.keys(o).length||e.getRowModel().flatRows.some(r=>!r.getIsExpanded()))},e.getExpandedDepth=()=>{let o=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(i=>{const l=i.split(".");o=Math.max(o,l.length)}),o},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,n)=>{e.toggleExpanded=t=>{n.setExpanded(o=>{var r;const i=o===!0?!0:!!(o!=null&&o[e.id]);let l={};if(o===!0?Object.keys(n.getRowModel().rowsById).forEach(s=>{l[s]=!0}):l=o,t=(r=t)!=null?r:!i,!i&&t)return{...l,[e.id]:!0};if(i&&!t){const{[e.id]:s,...u}=l;return u}return o})},e.getIsExpanded=()=>{var t;const o=n.getState().expanded;return!!((t=n.options.getIsRowExpanded==null?void 0:n.options.getIsRowExpanded(e))!=null?t:o===!0||o!=null&&o[e.id])},e.getCanExpand=()=>{var t,o,r;return(t=n.options.getRowCanExpand==null?void 0:n.options.getRowCanExpand(e))!=null?t:((o=n.options.enableExpanding)!=null?o:!0)&&!!((r=e.subRows)!=null&&r.length)},e.getIsAllParentsExpanded=()=>{let t=!0,o=e;for(;t&&o.parentId;)o=n.getRow(o.parentId,!0),t=o.getIsExpanded();return t},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},ue=0,ae=10,ie=()=>({pageIndex:ue,pageSize:ae}),kt={getInitialState:e=>({...e,pagination:{...ie(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:D("pagination",e)}),createTable:e=>{let n=!1,t=!1;e._autoResetPageIndex=()=>{var o,r;if(!n){e._queue(()=>{n=!0});return}if((o=(r=e.options.autoResetAll)!=null?r:e.options.autoResetPageIndex)!=null?o:!e.options.manualPagination){if(t)return;t=!0,e._queue(()=>{e.resetPageIndex(),t=!1})}},e.setPagination=o=>{const r=i=>L(o,i);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(r)},e.resetPagination=o=>{var r;e.setPagination(o?ie():(r=e.initialState.pagination)!=null?r:ie())},e.setPageIndex=o=>{e.setPagination(r=>{let i=L(o,r.pageIndex);const l=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,l)),{...r,pageIndex:i}})},e.resetPageIndex=o=>{var r,i;e.setPageIndex(o?ue:(r=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageIndex)!=null?r:ue)},e.resetPageSize=o=>{var r,i;e.setPageSize(o?ae:(r=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageSize)!=null?r:ae)},e.setPageSize=o=>{e.setPagination(r=>{const i=Math.max(1,L(o,r.pageSize)),l=r.pageSize*r.pageIndex,s=Math.floor(l/i);return{...r,pageIndex:s,pageSize:i}})},e.setPageCount=o=>e.setPagination(r=>{var i;let l=L(o,(i=e.options.pageCount)!=null?i:-1);return typeof l=="number"&&(l=Math.max(-1,l)),{...r,pageCount:l}}),e.getPageOptions=w(()=>[e.getPageCount()],o=>{let r=[];return o&&o>0&&(r=[...new Array(o)].fill(null).map((i,l)=>l)),r},R(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:o}=e.getState().pagination,r=e.getPageCount();return r===-1?!0:r===0?!1:o<r-1},e.previousPage=()=>e.setPageIndex(o=>o-1),e.nextPage=()=>e.setPageIndex(o=>o+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var o;return(o=e.options.pageCount)!=null?o:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var o;return(o=e.options.rowCount)!=null?o:e.getPrePaginationRowModel().rows.length}}},le=()=>({top:[],bottom:[]}),Bt={getInitialState:e=>({rowPinning:le(),...e}),getDefaultOptions:e=>({onRowPinningChange:D("rowPinning",e)}),createRow:(e,n)=>{e.pin=(t,o,r)=>{const i=o?e.getLeafRows().map(u=>{let{id:a}=u;return a}):[],l=r?e.getParentRows().map(u=>{let{id:a}=u;return a}):[],s=new Set([...l,e.id,...i]);n.setRowPinning(u=>{var a,d;if(t==="bottom"){var h,f;return{top:((h=u==null?void 0:u.top)!=null?h:[]).filter(m=>!(s!=null&&s.has(m))),bottom:[...((f=u==null?void 0:u.bottom)!=null?f:[]).filter(m=>!(s!=null&&s.has(m))),...Array.from(s)]}}if(t==="top"){var g,p;return{top:[...((g=u==null?void 0:u.top)!=null?g:[]).filter(m=>!(s!=null&&s.has(m))),...Array.from(s)],bottom:((p=u==null?void 0:u.bottom)!=null?p:[]).filter(m=>!(s!=null&&s.has(m)))}}return{top:((a=u==null?void 0:u.top)!=null?a:[]).filter(m=>!(s!=null&&s.has(m))),bottom:((d=u==null?void 0:u.bottom)!=null?d:[]).filter(m=>!(s!=null&&s.has(m)))}})},e.getCanPin=()=>{var t;const{enableRowPinning:o,enablePinning:r}=n.options;return typeof o=="function"?o(e):(t=o??r)!=null?t:!0},e.getIsPinned=()=>{const t=[e.id],{top:o,bottom:r}=n.getState().rowPinning,i=t.some(s=>o==null?void 0:o.includes(s)),l=t.some(s=>r==null?void 0:r.includes(s));return i?"top":l?"bottom":!1},e.getPinnedIndex=()=>{var t,o;const r=e.getIsPinned();if(!r)return-1;const i=(t=r==="top"?n.getTopRows():n.getBottomRows())==null?void 0:t.map(l=>{let{id:s}=l;return s});return(o=i==null?void 0:i.indexOf(e.id))!=null?o:-1}},createTable:e=>{e.setRowPinning=n=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(n),e.resetRowPinning=n=>{var t,o;return e.setRowPinning(n?le():(t=(o=e.initialState)==null?void 0:o.rowPinning)!=null?t:le())},e.getIsSomeRowsPinned=n=>{var t;const o=e.getState().rowPinning;if(!n){var r,i;return!!((r=o.top)!=null&&r.length||(i=o.bottom)!=null&&i.length)}return!!((t=o[n])!=null&&t.length)},e._getPinnedRows=(n,t,o)=>{var r;return((r=e.options.keepPinnedRows)==null||r?(t??[]).map(l=>{const s=e.getRow(l,!0);return s.getIsAllParentsExpanded()?s:null}):(t??[]).map(l=>n.find(s=>s.id===l))).filter(Boolean).map(l=>({...l,position:o}))},e.getTopRows=w(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(n,t)=>e._getPinnedRows(n,t,"top"),R(e.options,"debugRows")),e.getBottomRows=w(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(n,t)=>e._getPinnedRows(n,t,"bottom"),R(e.options,"debugRows")),e.getCenterRows=w(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(n,t,o)=>{const r=new Set([...t??[],...o??[]]);return n.filter(i=>!r.has(i.id))},R(e.options,"debugRows"))}},qt={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:D("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=n=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(n),e.resetRowSelection=n=>{var t;return e.setRowSelection(n?{}:(t=e.initialState.rowSelection)!=null?t:{})},e.toggleAllRowsSelected=n=>{e.setRowSelection(t=>{n=typeof n<"u"?n:!e.getIsAllRowsSelected();const o={...t},r=e.getPreGroupedRowModel().flatRows;return n?r.forEach(i=>{i.getCanSelect()&&(o[i.id]=!0)}):r.forEach(i=>{delete o[i.id]}),o})},e.toggleAllPageRowsSelected=n=>e.setRowSelection(t=>{const o=typeof n<"u"?n:!e.getIsAllPageRowsSelected(),r={...t};return e.getRowModel().rows.forEach(i=>{ge(r,i.id,o,!0,e)}),r}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=w(()=>[e.getState().rowSelection,e.getCoreRowModel()],(n,t)=>Object.keys(n).length?se(e,t):{rows:[],flatRows:[],rowsById:{}},R(e.options,"debugTable")),e.getFilteredSelectedRowModel=w(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(n,t)=>Object.keys(n).length?se(e,t):{rows:[],flatRows:[],rowsById:{}},R(e.options,"debugTable")),e.getGroupedSelectedRowModel=w(()=>[e.getState().rowSelection,e.getSortedRowModel()],(n,t)=>Object.keys(n).length?se(e,t):{rows:[],flatRows:[],rowsById:{}},R(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const n=e.getFilteredRowModel().flatRows,{rowSelection:t}=e.getState();let o=!!(n.length&&Object.keys(t).length);return o&&n.some(r=>r.getCanSelect()&&!t[r.id])&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const n=e.getPaginationRowModel().flatRows.filter(r=>r.getCanSelect()),{rowSelection:t}=e.getState();let o=!!n.length;return o&&n.some(r=>!t[r.id])&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var n;const t=Object.keys((n=e.getState().rowSelection)!=null?n:{}).length;return t>0&&t<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const n=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:n.filter(t=>t.getCanSelect()).some(t=>t.getIsSelected()||t.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>n=>{e.toggleAllRowsSelected(n.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>n=>{e.toggleAllPageRowsSelected(n.target.checked)}},createRow:(e,n)=>{e.toggleSelected=(t,o)=>{const r=e.getIsSelected();n.setRowSelection(i=>{var l;if(t=typeof t<"u"?t:!r,e.getCanSelect()&&r===t)return i;const s={...i};return ge(s,e.id,t,(l=o==null?void 0:o.selectChildren)!=null?l:!0,n),s})},e.getIsSelected=()=>{const{rowSelection:t}=n.getState();return me(e,t)},e.getIsSomeSelected=()=>{const{rowSelection:t}=n.getState();return de(e,t)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:t}=n.getState();return de(e,t)==="all"},e.getCanSelect=()=>{var t;return typeof n.options.enableRowSelection=="function"?n.options.enableRowSelection(e):(t=n.options.enableRowSelection)!=null?t:!0},e.getCanSelectSubRows=()=>{var t;return typeof n.options.enableSubRowSelection=="function"?n.options.enableSubRowSelection(e):(t=n.options.enableSubRowSelection)!=null?t:!0},e.getCanMultiSelect=()=>{var t;return typeof n.options.enableMultiRowSelection=="function"?n.options.enableMultiRowSelection(e):(t=n.options.enableMultiRowSelection)!=null?t:!0},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return o=>{var r;t&&e.toggleSelected((r=o.target)==null?void 0:r.checked)}}}},ge=(e,n,t,o,r)=>{var i;const l=r.getRow(n,!0);t?(l.getCanMultiSelect()||Object.keys(e).forEach(s=>delete e[s]),l.getCanSelect()&&(e[n]=!0)):delete e[n],o&&(i=l.subRows)!=null&&i.length&&l.getCanSelectSubRows()&&l.subRows.forEach(s=>ge(e,s.id,t,o,r))};function se(e,n){const t=e.getState().rowSelection,o=[],r={},i=function(l,s){return l.map(u=>{var a;const d=me(u,t);if(d&&(o.push(u),r[u.id]=u),(a=u.subRows)!=null&&a.length&&(u={...u,subRows:i(u.subRows)}),d)return u}).filter(Boolean)};return{rows:i(n.rows),flatRows:o,rowsById:r}}function me(e,n){var t;return(t=n[e.id])!=null?t:!1}function de(e,n,t){var o;if(!((o=e.subRows)!=null&&o.length))return!1;let r=!0,i=!1;return e.subRows.forEach(l=>{if(!(i&&!r)&&(l.getCanSelect()&&(me(l,n)?i=!0:r=!1),l.subRows&&l.subRows.length)){const s=de(l,n);s==="all"?i=!0:(s==="some"&&(i=!0),r=!1)}}),r?"all":i?"some":!1}const ce=/([0-9]+)/gm,Ut=(e,n,t)=>ze(O(e.getValue(t)).toLowerCase(),O(n.getValue(t)).toLowerCase()),Kt=(e,n,t)=>ze(O(e.getValue(t)),O(n.getValue(t))),Xt=(e,n,t)=>he(O(e.getValue(t)).toLowerCase(),O(n.getValue(t)).toLowerCase()),Jt=(e,n,t)=>he(O(e.getValue(t)),O(n.getValue(t))),Qt=(e,n,t)=>{const o=e.getValue(t),r=n.getValue(t);return o>r?1:o<r?-1:0},Wt=(e,n,t)=>he(e.getValue(t),n.getValue(t));function he(e,n){return e===n?0:e>n?1:-1}function O(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function ze(e,n){const t=e.split(ce).filter(Boolean),o=n.split(ce).filter(Boolean);for(;t.length&&o.length;){const r=t.shift(),i=o.shift(),l=parseInt(r,10),s=parseInt(i,10),u=[l,s].sort();if(isNaN(u[0])){if(r>i)return 1;if(i>r)return-1;continue}if(isNaN(u[1]))return isNaN(l)?-1:1;if(l>s)return 1;if(s>l)return-1}return t.length-o.length}const K={alphanumeric:Ut,alphanumericCaseSensitive:Kt,text:Xt,textCaseSensitive:Jt,datetime:Qt,basic:Wt},Yt={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:D("sorting",e),isMultiSortEvent:n=>n.shiftKey}),createColumn:(e,n)=>{e.getAutoSortingFn=()=>{const t=n.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const r of t){const i=r==null?void 0:r.getValue(e.id);if(Object.prototype.toString.call(i)==="[object Date]")return K.datetime;if(typeof i=="string"&&(o=!0,i.split(ce).length>1))return K.alphanumeric}return o?K.text:K.basic},e.getAutoSortDir=()=>{const t=n.getFilteredRowModel().flatRows[0];return typeof(t==null?void 0:t.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var t,o;if(!e)throw new Error;return Z(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(t=(o=n.options.sortingFns)==null?void 0:o[e.columnDef.sortingFn])!=null?t:K[e.columnDef.sortingFn]},e.toggleSorting=(t,o)=>{const r=e.getNextSortingOrder(),i=typeof t<"u"&&t!==null;n.setSorting(l=>{const s=l==null?void 0:l.find(g=>g.id===e.id),u=l==null?void 0:l.findIndex(g=>g.id===e.id);let a=[],d,h=i?t:r==="desc";if(l!=null&&l.length&&e.getCanMultiSort()&&o?s?d="toggle":d="add":l!=null&&l.length&&u!==l.length-1?d="replace":s?d="toggle":d="replace",d==="toggle"&&(i||r||(d="remove")),d==="add"){var f;a=[...l,{id:e.id,desc:h}],a.splice(0,a.length-((f=n.options.maxMultiSortColCount)!=null?f:Number.MAX_SAFE_INTEGER))}else d==="toggle"?a=l.map(g=>g.id===e.id?{...g,desc:h}:g):d==="remove"?a=l.filter(g=>g.id!==e.id):a=[{id:e.id,desc:h}];return a})},e.getFirstSortDir=()=>{var t,o;return((t=(o=e.columnDef.sortDescFirst)!=null?o:n.options.sortDescFirst)!=null?t:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=t=>{var o,r;const i=e.getFirstSortDir(),l=e.getIsSorted();return l?l!==i&&((o=n.options.enableSortingRemoval)==null||o)&&(!(t&&(r=n.options.enableMultiRemove)!=null)||r)?!1:l==="desc"?"asc":"desc":i},e.getCanSort=()=>{var t,o;return((t=e.columnDef.enableSorting)!=null?t:!0)&&((o=n.options.enableSorting)!=null?o:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var t,o;return(t=(o=e.columnDef.enableMultiSort)!=null?o:n.options.enableMultiSort)!=null?t:!!e.accessorFn},e.getIsSorted=()=>{var t;const o=(t=n.getState().sorting)==null?void 0:t.find(r=>r.id===e.id);return o?o.desc?"desc":"asc":!1},e.getSortIndex=()=>{var t,o;return(t=(o=n.getState().sorting)==null?void 0:o.findIndex(r=>r.id===e.id))!=null?t:-1},e.clearSorting=()=>{n.setSorting(t=>t!=null&&t.length?t.filter(o=>o.id!==e.id):[])},e.getToggleSortingHandler=()=>{const t=e.getCanSort();return o=>{t&&(o.persist==null||o.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?n.options.isMultiSortEvent==null?void 0:n.options.isMultiSortEvent(o):!1))}}},createTable:e=>{e.setSorting=n=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(n),e.resetSorting=n=>{var t,o;e.setSorting(n?[]:(t=(o=e.initialState)==null?void 0:o.sorting)!=null?t:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Zt=[Ct,Lt,jt,At,wt,Rt,Ot,Nt,Yt,Dt,Tt,kt,Bt,qt,Ht];function bt(e){var n,t;const o=[...Zt,...(n=e._features)!=null?n:[]];let r={_features:o};const i=r._features.reduce((f,g)=>Object.assign(f,g.getDefaultOptions==null?void 0:g.getDefaultOptions(r)),{}),l=f=>r.options.mergeOptions?r.options.mergeOptions(i,f):{...i,...f};let u={...{},...(t=e.initialState)!=null?t:{}};r._features.forEach(f=>{var g;u=(g=f.getInitialState==null?void 0:f.getInitialState(u))!=null?g:u});const a=[];let d=!1;const h={_features:o,options:{...i,...e},initialState:u,_queue:f=>{a.push(f),d||(d=!0,Promise.resolve().then(()=>{for(;a.length;)a.shift()();d=!1}).catch(g=>setTimeout(()=>{throw g})))},reset:()=>{r.setState(r.initialState)},setOptions:f=>{const g=L(f,r.options);r.options=l(g)},getState:()=>r.options.state,setState:f=>{r.options.onStateChange==null||r.options.onStateChange(f)},_getRowId:(f,g,p)=>{var m;return(m=r.options.getRowId==null?void 0:r.options.getRowId(f,g,p))!=null?m:`${p?[p.id,g].join("."):g}`},getCoreRowModel:()=>(r._getCoreRowModel||(r._getCoreRowModel=r.options.getCoreRowModel(r)),r._getCoreRowModel()),getRowModel:()=>r.getPaginationRowModel(),getRow:(f,g)=>{let p=(g?r.getPrePaginationRowModel():r.getRowModel()).rowsById[f];if(!p&&(p=r.getCoreRowModel().rowsById[f],!p))throw new Error;return p},_getDefaultColumnDef:w(()=>[r.options.defaultColumn],f=>{var g;return f=(g=f)!=null?g:{},{header:p=>{const m=p.header.column.columnDef;return m.accessorKey?m.accessorKey:m.accessorFn?m.id:null},cell:p=>{var m,C;return(m=(C=p.renderValue())==null||C.toString==null?void 0:C.toString())!=null?m:null},...r._features.reduce((p,m)=>Object.assign(p,m.getDefaultColumnDef==null?void 0:m.getDefaultColumnDef()),{}),...f}},R(e,"debugColumns")),_getColumnDefs:()=>r.options.columns,getAllColumns:w(()=>[r._getColumnDefs()],f=>{const g=function(p,m,C){return C===void 0&&(C=0),p.map(v=>{const x=St(r,v,C,m),_=v;return x.columns=_.columns?g(_.columns,x,C+1):[],x})};return g(f)},R(e,"debugColumns")),getAllFlatColumns:w(()=>[r.getAllColumns()],f=>f.flatMap(g=>g.getFlatColumns()),R(e,"debugColumns")),_getAllFlatColumnsById:w(()=>[r.getAllFlatColumns()],f=>f.reduce((g,p)=>(g[p.id]=p,g),{}),R(e,"debugColumns")),getAllLeafColumns:w(()=>[r.getAllColumns(),r._getOrderColumnsFn()],(f,g)=>{let p=f.flatMap(m=>m.getLeafColumns());return g(p)},R(e,"debugColumns")),getColumn:f=>r._getAllFlatColumnsById()[f]};Object.assign(r,h);for(let f=0;f<r._features.length;f++){const g=r._features[f];g==null||g.createTable==null||g.createTable(r)}return r}function en(){return e=>w(()=>[e.options.data],n=>{const t={rows:[],flatRows:[],rowsById:{}},o=function(r,i,l){i===void 0&&(i=0);const s=[];for(let a=0;a<r.length;a++){const d=vt(e,e._getRowId(r[a],a,l),r[a],a,i,void 0,l==null?void 0:l.id);if(t.flatRows.push(d),t.rowsById[d.id]=d,s.push(d),e.options.getSubRows){var u;d.originalSubRows=e.options.getSubRows(r[a],a),(u=d.originalSubRows)!=null&&u.length&&(d.subRows=o(d.originalSubRows,i+1,d))}}return s};return t.rows=o(n),t},R(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function tn(e){const n=[],t=o=>{var r;n.push(o),(r=o.subRows)!=null&&r.length&&o.getIsExpanded()&&o.subRows.forEach(t)};return e.rows.forEach(t),{rows:n,flatRows:e.flatRows,rowsById:e.rowsById}}function nn(e){return n=>w(()=>[n.getState().pagination,n.getPrePaginationRowModel(),n.options.paginateExpandedRows?void 0:n.getState().expanded],(t,o)=>{if(!o.rows.length)return o;const{pageSize:r,pageIndex:i}=t;let{rows:l,flatRows:s,rowsById:u}=o;const a=r*i,d=a+r;l=l.slice(a,d);let h;n.options.paginateExpandedRows?h={rows:l,flatRows:s,rowsById:u}:h=tn({rows:l,flatRows:s,rowsById:u}),h.flatRows=[];const f=g=>{h.flatRows.push(g),g.subRows.length&&g.subRows.forEach(f)};return h.rows.forEach(f),h},R(n.options,"debugTable"))}function on(){return e=>w(()=>[e.getState().sorting,e.getPreSortedRowModel()],(n,t)=>{if(!t.rows.length||!(n!=null&&n.length))return t;const o=e.getState().sorting,r=[],i=o.filter(u=>{var a;return(a=e.getColumn(u.id))==null?void 0:a.getCanSort()}),l={};i.forEach(u=>{const a=e.getColumn(u.id);a&&(l[u.id]={sortUndefined:a.columnDef.sortUndefined,invertSorting:a.columnDef.invertSorting,sortingFn:a.getSortingFn()})});const s=u=>{const a=u.map(d=>({...d}));return a.sort((d,h)=>{for(let g=0;g<i.length;g+=1){var f;const p=i[g],m=l[p.id],C=m.sortUndefined,v=(f=p==null?void 0:p.desc)!=null?f:!1;let x=0;if(C){const _=d.getValue(p.id),F=h.getValue(p.id),M=_===void 0,I=F===void 0;if(M||I){if(C==="first")return M?-1:1;if(C==="last")return M?1:-1;x=M&&I?0:M?C:-C}}if(x===0&&(x=m.sortingFn(d,h,p.id)),x!==0)return v&&(x*=-1),m.invertSorting&&(x*=-1),x}return d.index-h.index}),a.forEach(d=>{var h;r.push(d),(h=d.subRows)!=null&&h.length&&(d.subRows=s(d.subRows))}),a};return{rows:s(t.rows),flatRows:r,rowsById:t.rowsById}},R(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
14
+ * react-table
15
+ *
16
+ * Copyright (c) TanStack
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE.md file in the root directory of this source tree.
20
+ *
21
+ * @license MIT
22
+ */function Le(e,n){return e?rn(e)?$.createElement(e,n):e:null}function rn(e){return ln(e)||typeof e=="function"||sn(e)}function ln(e){return typeof e=="function"&&(()=>{const n=Object.getPrototypeOf(e);return n.prototype&&n.prototype.isReactComponent})()}function sn(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function un(e){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=$.useState(()=>({current:bt(n)})),[o,r]=$.useState(()=>t.current.initialState);return t.current.setOptions(i=>({...i,...e,state:{...o,...e.state},onStateChange:l=>{r(l),e.onStateChange==null||e.onStateChange(l)}})),t.current}function an(e){var N;const n=Xe.c(28),{columns:t,data:o,notFoundContent:r,globalSearch:i,onGlobalSearch:l,searchValue:s,handleSearch:u,searchTxt:a}=e,d=i===void 0?!1:i;let h,f,g;n[0]===Symbol.for("react.memo_cache_sentinel")?(h=en(),f=nn(),g=on(),n[0]=h,n[1]=f,n[2]=g):(h=n[0],f=n[1],g=n[2]);let p;n[3]!==t||n[4]!==o?(p={data:o,columns:t,getCoreRowModel:h,getPaginationRowModel:f,getSortedRowModel:g,enableSorting:!1,manualPagination:!0},n[3]=t,n[4]=o,n[5]=p):p=n[5];const m=un(p);let C;n[6]!==d||n[7]!==u||n[8]!==l||n[9]!==a||n[10]!==s?(C=d&&l&&c.jsxs("div",{className:"flex gap-2 p-2",children:[c.jsx(Qe,{type:"text",defaultValue:s,placeholder:a,className:"w-full max-w-[200px] p-2 border rounded",onChange:A=>{l(A.target.value)},onKeyDown:A=>{A.key==="Enter"&&u&&u()}}),c.jsx(z,{variant:"outline",size:"icon",onClick:u,children:c.jsx(T,{iconNode:Pe,className:"size-5"})})]}),n[6]=d,n[7]=u,n[8]=l,n[9]=a,n[10]=s,n[11]=C):C=n[11];let v;n[12]!==m?(v=m.getHeaderGroups().map(cn),n[12]=m,n[13]=v):v=n[13];let x;n[14]!==v?(x=c.jsx(We,{className:"sticky top-0 z-10 bg-background shadow",children:v}),n[14]=v,n[15]=x):x=n[15];let _;n[16]!==t||n[17]!==r||n[18]!==m?(_=(N=m.getRowModel().rows)!=null&&N.length?m.getRowModel().rows.map(gn):c.jsx(fe,{children:c.jsx(Ve,{colSpan:t.length,className:"h-24 text-center",children:r})}),n[16]=t,n[17]=r,n[18]=m,n[19]=_):_=n[19];let F;n[20]!==_?(F=c.jsx(Ye,{children:_}),n[20]=_,n[21]=F):F=n[21];let M;n[22]!==F||n[23]!==x?(M=c.jsxs(Ze,{children:[x,F]}),n[22]=F,n[23]=x,n[24]=M):M=n[24];let I;return n[25]!==M||n[26]!==C?(I=c.jsxs("div",{className:"rounded-md border",children:[C,M]}),n[25]=M,n[26]=C,n[27]=I):I=n[27],I}function gn(e){return c.jsx(fe,{"data-state":e.getIsSelected()&&"selected",children:e.getVisibleCells().map(dn)},e.id)}function dn(e){return c.jsx(Ve,{className:e.column.getIndex()===0?"sticky left-0 bg-background":"",children:Le(e.column.columnDef.cell,e.getContext())},e.id)}function cn(e){return c.jsx(fe,{children:e.headers.map(fn)},e.id)}function fn(e){return c.jsx(Je,{children:e.isPlaceholder?null:Le(e.column.columnDef.header,e.getContext())},e.id)}function pn(e,n,t,o){const r=Math.ceil(e/n),i=(t-1)*n+1,l=Math.min(t*n,e),s=[];s.push({label:"Previous",active:!1});let u=Math.max(1,t-Math.floor(o/2)),a=Math.min(r,u+o-1);a-u+1<o&&(u=Math.max(1,a-o+1));for(let d=u;d<=a;d++)s.push({label:d.toString(),active:d===t});return s.push({label:"Next",active:!1}),{total:e,per_page:n,current_page:t,last_page:r,next_page_url:t<r?!0:null,prev_page_url:t>1?!0:null,from:i,to:l,links:s,showPages:o}}const wn=()=>{var k;const e=be(),n=e.props.data,[t,o]=$.useState(!1),[r,i]=$.useState(""),[l,s]=$.useState(!1),[u,a]=$.useState(1),[d,h]=$.useState("5"),[f,g]=$.useState("1"),[p,m]=$.useState("desc"),C=$.useRef([]);$.useEffect(()=>{const S=new URLSearchParams(window.location.search);i(S.get("globalSearch")||""),s(!!S.get("globalSearch")),a(parseInt(S.get("page")||"1")),h(S.get("count")||"5"),g(S.get("column")||"1"),m(S.get("direction")||"desc");const y=S.getAll("searchColumn"),j=S.getAll("searchColumnValue");C.current=y.map((G,P)=>({key:G,value:j[P]}))},[]),$.useEffect(()=>{document.body.removeAttribute("style")},[n]);let v=[{accessorKey:"actions",header:()=>c.jsx("div",{className:"text-center",children:e.props.header.thActionsTitle}),cell:({row:S})=>{var y,j,G;return c.jsx("div",{className:"text-center",children:c.jsxs(we,{children:[c.jsx(Re,{asChild:!0,className:"cursor-pointer",children:c.jsx(z,{variant:"outline",size:"icon",children:c.jsx(xe,{})})}),c.jsxs(_e,{className:"w-46",side:"right",align:"start",children:[c.jsxs($e,{children:[((y=e.props.header.crudActions)==null?void 0:y.editTitle)&&c.jsx(J,{asChild:!0,className:"cursor-pointer",children:c.jsxs(q,{href:`${e.props.header.entity.uri}/edit/${S.original.id}`,children:[c.jsx(T,{iconNode:ut}),e.props.header.crudActions.editTitle]})}),((j=e.props.header.crudActions)==null?void 0:j.viewsTitle)&&c.jsx(J,{asChild:!0,className:"cursor-pointer",children:c.jsxs(q,{href:`${e.props.header.entity.uri}/view/${S.original.id}`,children:[c.jsx(T,{iconNode:at}),e.props.header.crudActions.viewsTitle]})}),((G=e.props.header.crudActions)==null?void 0:G.deleteTitle)&&c.jsx(J,{asChild:!0,className:"cursor-pointer",children:c.jsx(dt,{btnTitle:e.props.header.crudActions.deleteTitle,delModal:e.props.header.delModal,btnCLass:"font-normal text-destructive hover:text-destructive w-full cursor-pointer justify-start",link:`${e.props.header.entity.uri}/remove/${S.original.id}?referTo=${encodeURIComponent(window.location.search)}`})})]}),e.props.header.inlineActions&&e.props.header.inlineActions.length>0&&c.jsxs(c.Fragment,{children:[c.jsx(gt,{}),e.props.header.inlineActions.map(P=>c.jsx(J,{asChild:!0,className:"cursor-pointer",children:P.type==="blank"?c.jsxs("a",{target:"_blank",href:P.link,children:[P.icon&&c.jsx(U,{name:P.icon,className:"!text-[18px] mr-2"}),c.jsx("span",{children:P.title})]}):c.jsxs(q,{href:`${P.link}/${S.original.id}?id=${S.original.id}&entity=${e.props.header.entity.name}`,children:[P.icon&&c.jsx(U,{name:P.icon,className:"!text-[18px] mr-2"}),c.jsx("span",{children:P.title})]})},P.id))]})]})]})})}}];const x=$.useMemo(()=>pn(n.recordsFiltered,parseInt(d),u,5),[n.recordsFiltered,d,u,r]);$.useEffect(()=>{e.props.flash&&(e.props.flash.success&&ve.success(e.props.flash.success),e.props.flash.error&&ve.error(e.props.flash.error))},[e.props.flash]);const _=$.useCallback(S=>{h(S),a(1),o(!0),B.visit(`${e.props.header.entity.uri}?count=${S}&page=1`,{preserveState:!0,only:["data","columns","header"],onSuccess:()=>o(!1)})},[n]),F=$.useCallback((S,y,j,G)=>{const P=S!==void 0?S:u,Oe=y!==void 0?y:p,Ne=j!==void 0?j:f,Se=G!==void 0?G:r,Te=`count=${d}&page=${P}&column=${Ne}&direction=${Oe}`,ke=Se?`&globalSearch=${Se}`:"",Be=C.current.map(Ce=>`&searchColumn=${Ce.key}&searchColumnValue=${Ce.value}`).join("");return`${Te}${ke}${Be}`},[n,d,u,f,p,r]),M=$.useCallback(S=>{a(S),o(!0),B.visit(`${e.props.header.entity.uri}?${F(S)}`,{preserveState:!0,only:["data","columns","header"],onSuccess:()=>o(!1)})},[F,e.props.header.entity.uri]),I=$.useCallback((S,y)=>{g(S),m(y),o(!0),B.visit(`${e.props.header.entity.uri}?${F(void 0,y,S)}`,{preserveState:!0,only:["data","columns","header"],onSuccess:()=>o(!1)})},[d,u,r]),N=$.useCallback(S=>{i(S),a(1)},[n]),A=$.useCallback(()=>{o(!0),B.visit(`${e.props.header.entity.uri}?${F(1)}`,{preserveState:!0,only:["data","columns","header"],onSuccess:()=>o(!1)})},[n,r]),b=$.useCallback((S,y)=>{a(1);const j=C.current.findIndex(G=>G.key===S);j>=0&&C.current.splice(j,1),y&&C.current.push({key:S,value:y})},[n]),ee=()=>{s(!1),i(""),C.current=[],a(1),g("1"),m("desc"),B.visit(`${e.props.header.entity.uri}?count=${d}&page=1`,{preserveState:!0,preserveScroll:!0,only:["data","columns","header"],onSuccess:()=>o(!1)})};return v=[...v,...ft(e.props.columns,I,b,A,l)],c.jsxs(c.Fragment,{children:[c.jsx(et,{position:"top-center",richColors:!0,closeButton:!0}),c.jsxs("div",{className:`flex h-auto flex-1 flex-col gap-4 rounded-xl p-4 ${t?"opacity-50":""}`,children:[c.jsxs("div",{className:"flex gap-2 sticky top-0 z-10 bg-background py-3",children:[((k=e.props.header.crudActions)==null?void 0:k.createTitle)&&c.jsx(z,{asChild:!0,children:c.jsxs(q,{href:`${e.props.header.entity.uri}/add`,children:[c.jsx(T,{iconNode:tt}),e.props.header.crudActions.createTitle]})}),c.jsxs(z,{className:"transition-none cursor-pointer",variant:l?"destructive":"outline",onClick:()=>{l?ee():s(!0)},children:[c.jsx(T,{iconNode:l?nt:Pe}),l?e.props.header.resetBtn:e.props.header.searchBtn]}),e.props.header.actions.length>0&&c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"gap-2 ml-6 hidden lg:flex",children:e.props.header.actions.map(S=>c.jsx(z,{asChild:!0,variant:"outline",children:S.type==="blank"?c.jsxs("a",{href:S.link,target:"_blank",children:[S.icon&&c.jsx(U,{name:S.icon,className:"!text-[18px]"}),S.title]}):c.jsxs(q,{href:S.link,children:[S.icon&&c.jsx(U,{name:S.icon,className:"!text-[18px]"}),S.title]})},S.id))||null}),c.jsx("div",{className:"block lg:hidden ml-6",children:c.jsxs(we,{children:[c.jsx(Re,{asChild:!0,children:c.jsx(z,{variant:"outline",size:"icon",children:c.jsx(xe,{})})}),c.jsx(_e,{className:"w-fit",side:"right",align:"start",children:c.jsx($e,{className:"grid gap-2",children:e.props.header.actions.map(S=>c.jsx(z,{asChild:!0,variant:"outline",children:c.jsxs("a",{href:S.link,target:"_blank",children:[c.jsx(U,{name:S.icon,className:"!text-[18px]"}),S.title]})},S.id))||null})})]})})]})]}),c.jsx(an,{columns:v,data:n.data,searchValue:r,searchTxt:e.props.header.searchBtn,notFoundContent:e.props.header.notFoundContent,globalSearch:l,onGlobalSearch:N,handleSearch:A},new Date().getTime()),c.jsxs("div",{className:"mt-4 flex flex-wrap justify-center md:justify-between gap-4 items-end",children:[c.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-1 gap-4 items-center justify-items-center md:justify-items-normal",children:[c.jsxs("p",{className:"text-sm text-foreground/70",children:["Show ",x.from," - ",x.to," of ",x.total]}),c.jsx("div",{className:"max-w-fit",children:c.jsxs(ot,{onValueChange:S=>_(S),value:d,children:[c.jsx(rt,{className:"w-full cursor-pointer",children:c.jsx(it,{placeholder:d})}),c.jsx(lt,{children:["5","10","50"].map(S=>c.jsx(st,{value:S,children:S},S))})]})})]}),c.jsx("div",{children:n.data.length>0&&c.jsx(ct,{pagination:x,pageChange:M,currentPage:u})})]})]})]})};export{wn as default};