@tnf-dev/react 1.0.1-10 → 1.0.1-12

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 (44) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/components/inbox/inbox.cjs +8 -8
  3. package/dist/cjs/components/inbox/inbox.d.cts +1 -1
  4. package/dist/cjs/components/inbox/index.cjs +3 -3
  5. package/dist/cjs/components/inbox/index.d.cts +1 -1
  6. package/dist/cjs/components/inbox/notification-item/actions.d.cts +1 -1
  7. package/dist/cjs/components/inbox/notification-item/index.d.cts +1 -1
  8. package/dist/cjs/components/index.cjs +3 -3
  9. package/dist/cjs/components/index.d.cts +1 -1
  10. package/dist/cjs/contexts/TeknifyProvider.cjs +1 -1
  11. package/dist/cjs/contexts/TeknifyProvider.d.cts +1 -1
  12. package/dist/cjs/contexts/index.cjs +1 -1
  13. package/dist/cjs/contexts/index.d.cts +1 -1
  14. package/dist/cjs/dto/index.d.cts +1 -1
  15. package/dist/cjs/dto/notifications/index.d.cts +1 -1
  16. package/dist/cjs/dto/notifications/notification.interface.d.cts +1 -1
  17. package/dist/cjs/hooks/index.cjs +1 -1
  18. package/dist/cjs/hooks/index.d.cts +1 -1
  19. package/dist/cjs/hooks/useNotifications.cjs +1 -1
  20. package/dist/cjs/hooks/useNotifications.d.cts +1 -1
  21. package/dist/cjs/index.cjs +3 -3
  22. package/dist/cjs/index.d.cts +2 -2
  23. package/dist/esm/components/inbox/inbox.d.ts +1 -1
  24. package/dist/esm/components/inbox/inbox.js +3 -3
  25. package/dist/esm/components/inbox/index.d.ts +1 -1
  26. package/dist/esm/components/inbox/index.js +3 -3
  27. package/dist/esm/components/inbox/notification-item/actions.d.ts +1 -1
  28. package/dist/esm/components/inbox/notification-item/index.d.ts +1 -1
  29. package/dist/esm/components/index.d.ts +1 -1
  30. package/dist/esm/components/index.js +3 -3
  31. package/dist/esm/contexts/TeknifyProvider.d.ts +1 -1
  32. package/dist/esm/contexts/TeknifyProvider.js +1 -1
  33. package/dist/esm/contexts/index.d.ts +1 -1
  34. package/dist/esm/contexts/index.js +1 -1
  35. package/dist/esm/dto/index.d.ts +1 -1
  36. package/dist/esm/dto/notifications/index.d.ts +1 -1
  37. package/dist/esm/dto/notifications/notification.interface.d.ts +1 -1
  38. package/dist/esm/hooks/index.d.ts +1 -1
  39. package/dist/esm/hooks/index.js +1 -1
  40. package/dist/esm/hooks/useNotifications.d.ts +1 -1
  41. package/dist/esm/hooks/useNotifications.js +1 -1
  42. package/dist/esm/index.d.ts +2 -2
  43. package/dist/esm/index.js +3 -3
  44. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  "use client"
2
- "use strict";var wi=Object.create;var We=Object.defineProperty;var Ci=Object.getOwnPropertyDescriptor;var Ei=Object.getOwnPropertyNames;var Oi=Object.getPrototypeOf,Ti=Object.prototype.hasOwnProperty;var ee=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ki=(e,r)=>{for(var n in r)We(e,n,{get:r[n],enumerable:!0})},Et=(e,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Ei(r))!Ti.call(e,i)&&i!==n&&We(e,i,{get:()=>r[i],enumerable:!(t=Ci(r,i))||t.enumerable});return e};var ae=(e,r,n)=>(n=e!=null?wi(Oi(e)):{},Et(r||!e||!e.__esModule?We(n,"default",{value:e,enumerable:!0}):n,e)),Ni=e=>Et(We({},"__esModule",{value:!0}),e);var kt=ee(I=>{"use strict";var H=typeof Symbol=="function"&&Symbol.for,Tr=H?Symbol.for("react.element"):60103,kr=H?Symbol.for("react.portal"):60106,ze=H?Symbol.for("react.fragment"):60107,Be=H?Symbol.for("react.strict_mode"):60108,Ue=H?Symbol.for("react.profiler"):60114,qe=H?Symbol.for("react.provider"):60109,He=H?Symbol.for("react.context"):60110,Nr=H?Symbol.for("react.async_mode"):60111,Ye=H?Symbol.for("react.concurrent_mode"):60111,Je=H?Symbol.for("react.forward_ref"):60112,Ge=H?Symbol.for("react.suspense"):60113,Ai=H?Symbol.for("react.suspense_list"):60120,Ke=H?Symbol.for("react.memo"):60115,Xe=H?Symbol.for("react.lazy"):60116,Ii=H?Symbol.for("react.block"):60121,ji=H?Symbol.for("react.fundamental"):60117,Mi=H?Symbol.for("react.responder"):60118,Di=H?Symbol.for("react.scope"):60119;function Z(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case Tr:switch(e=e.type,e){case Nr:case Ye:case ze:case Ue:case Be:case Ge:return e;default:switch(e=e&&e.$$typeof,e){case He:case Je:case Xe:case Ke:case qe:return e;default:return r}}case kr:return r}}}function Tt(e){return Z(e)===Ye}I.AsyncMode=Nr;I.ConcurrentMode=Ye;I.ContextConsumer=He;I.ContextProvider=qe;I.Element=Tr;I.ForwardRef=Je;I.Fragment=ze;I.Lazy=Xe;I.Memo=Ke;I.Portal=kr;I.Profiler=Ue;I.StrictMode=Be;I.Suspense=Ge;I.isAsyncMode=function(e){return Tt(e)||Z(e)===Nr};I.isConcurrentMode=Tt;I.isContextConsumer=function(e){return Z(e)===He};I.isContextProvider=function(e){return Z(e)===qe};I.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Tr};I.isForwardRef=function(e){return Z(e)===Je};I.isFragment=function(e){return Z(e)===ze};I.isLazy=function(e){return Z(e)===Xe};I.isMemo=function(e){return Z(e)===Ke};I.isPortal=function(e){return Z(e)===kr};I.isProfiler=function(e){return Z(e)===Ue};I.isStrictMode=function(e){return Z(e)===Be};I.isSuspense=function(e){return Z(e)===Ge};I.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ze||e===Ye||e===Ue||e===Be||e===Ge||e===Ai||typeof e=="object"&&e!==null&&(e.$$typeof===Xe||e.$$typeof===Ke||e.$$typeof===qe||e.$$typeof===He||e.$$typeof===Je||e.$$typeof===ji||e.$$typeof===Mi||e.$$typeof===Di||e.$$typeof===Ii)};I.typeOf=Z});var Nt=ee(j=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,t=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,L=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function W(m){return typeof m=="string"||typeof m=="function"||m===t||m===l||m===o||m===i||m===p||m===v||typeof m=="object"&&m!==null&&(m.$$typeof===C||m.$$typeof===y||m.$$typeof===a||m.$$typeof===s||m.$$typeof===d||m.$$typeof===L||m.$$typeof===F||m.$$typeof===_||m.$$typeof===S)}function g(m){if(typeof m=="object"&&m!==null){var Or=m.$$typeof;switch(Or){case r:var Fe=m.type;switch(Fe){case u:case l:case t:case o:case i:case p:return Fe;default:var Ct=Fe&&Fe.$$typeof;switch(Ct){case s:case d:case C:case y:case a:return Ct;default:return Or}}case n:return Or}}}var $=u,z=l,q=s,de=a,Q=r,pe=d,Cr=t,Er=C,c=y,h=n,E=o,w=i,x=p,O=!1;function P(m){return O||(O=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(m)||g(m)===u}function R(m){return g(m)===l}function T(m){return g(m)===s}function A(m){return g(m)===a}function k(m){return typeof m=="object"&&m!==null&&m.$$typeof===r}function X(m){return g(m)===d}function G(m){return g(m)===t}function oe(m){return g(m)===C}function bi(m){return g(m)===y}function xi(m){return g(m)===n}function Si(m){return g(m)===o}function Pi(m){return g(m)===i}function Ri(m){return g(m)===p}j.AsyncMode=$,j.ConcurrentMode=z,j.ContextConsumer=q,j.ContextProvider=de,j.Element=Q,j.ForwardRef=pe,j.Fragment=Cr,j.Lazy=Er,j.Memo=c,j.Portal=h,j.Profiler=E,j.StrictMode=w,j.Suspense=x,j.isAsyncMode=P,j.isConcurrentMode=R,j.isContextConsumer=T,j.isContextProvider=A,j.isElement=k,j.isForwardRef=X,j.isFragment=G,j.isLazy=oe,j.isMemo=bi,j.isPortal=xi,j.isProfiler=Si,j.isStrictMode=Pi,j.isSuspense=Ri,j.isValidElementType=W,j.typeOf=g}()});var Ze=ee((ru,_r)=>{"use strict";process.env.NODE_ENV==="production"?_r.exports=kt():_r.exports=Nt()});var jr=ee((tu,Dt)=>{"use strict";var Ar=Ze(),Li={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Vi={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Fi={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ir={};Ir[Ar.ForwardRef]=Fi;Ir[Ar.Memo]=jt;function _t(e){return Ar.isMemo(e)?jt:Ir[e.$$typeof]||Li}var Wi=Object.defineProperty,$i=Object.getOwnPropertyNames,At=Object.getOwnPropertySymbols,zi=Object.getOwnPropertyDescriptor,Bi=Object.getPrototypeOf,It=Object.prototype;function Mt(e,r,n){if(typeof r!="string"){if(It){var t=Bi(r);t&&t!==It&&Mt(e,t,n)}var i=$i(r);At&&(i=i.concat(At(r)));for(var o=_t(e),a=_t(r),s=0;s<i.length;++s){var u=i[s];if(!Vi[u]&&!(n&&n[u])&&!(a&&a[u])&&!(o&&o[u])){var l=zi(r,u);try{Wi(e,u,l)}catch{}}}}return e}Dt.exports=Mt});var Ft=ee((iu,Vt)=>{"use strict";var Lt=Object.getOwnPropertySymbols,Hi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable;function Ji(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Gi(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;var t=Object.getOwnPropertyNames(r).map(function(o){return r[o]});if(t.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}Vt.exports=Gi()?Object.assign:function(e,r){for(var n,t=Ji(e),i,o=1;o<arguments.length;o++){n=Object(arguments[o]);for(var a in n)Hi.call(n,a)&&(t[a]=n[a]);if(Lt){i=Lt(n);for(var s=0;s<i.length;s++)Yi.call(n,i[s])&&(t[i[s]]=n[i[s]])}}return t}});var Qe=ee((ou,Wt)=>{"use strict";var Ki="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Wt.exports=Ki});var Mr=ee((au,$t)=>{"use strict";$t.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Ht=ee((su,qt)=>{"use strict";var Dr=function(){};process.env.NODE_ENV!=="production"&&(zt=Qe(),er={},Bt=Mr(),Dr=function(e){var r="Warning: "+e;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}});var zt,er,Bt;function Ut(e,r,n,t,i){if(process.env.NODE_ENV!=="production"){for(var o in e)if(Bt(e,o)){var a;try{if(typeof e[o]!="function"){var s=Error((t||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](r,o,t,n,null,zt)}catch(l){a=l}if(a&&!(a instanceof Error)&&Dr((t||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in er)){er[a.message]=!0;var u=i?i():"";Dr("Failed "+n+" type: "+a.message+(u??""))}}}}Ut.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(er={})};qt.exports=Ut});var Gt=ee((uu,Jt)=>{"use strict";var Xi=Ze(),Zi=Ft(),ge=Qe(),Lr=Mr(),Yt=Ht(),be=function(){};process.env.NODE_ENV!=="production"&&(be=function(e){var r="Warning: "+e;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}});function rr(){return null}Jt.exports=function(e,r){var n=typeof Symbol=="function"&&Symbol.iterator,t="@@iterator";function i(c){var h=c&&(n&&c[n]||c[t]);if(typeof h=="function")return h}var o="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(),arrayOf:v,element:y(),elementType:C(),instanceOf:S,node:W(),objectOf:F,oneOf:L,oneOfType:_,shape:$,exact:z};function s(c,h){return c===h?c!==0||1/c===1/h:c!==c&&h!==h}function u(c,h){this.message=c,this.data=h&&typeof h=="object"?h:{},this.stack=""}u.prototype=Error.prototype;function l(c){if(process.env.NODE_ENV!=="production")var h={},E=0;function w(O,P,R,T,A,k,X){if(T=T||o,k=k||R,X!==ge){if(r){var G=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw G.name="Invariant Violation",G}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var oe=T+":"+R;!h[oe]&&E<3&&(be("You are manually calling a React.PropTypes validation function for the `"+k+"` prop on `"+T+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),h[oe]=!0,E++)}}return P[R]==null?O?P[R]===null?new u("The "+A+" `"+k+"` is marked as required "+("in `"+T+"`, but its value is `null`.")):new u("The "+A+" `"+k+"` is marked as required in "+("`"+T+"`, but its value is `undefined`.")):null:c(P,R,T,A,k)}var x=w.bind(null,!1);return x.isRequired=w.bind(null,!0),x}function d(c){function h(E,w,x,O,P,R){var T=E[w],A=Q(T);if(A!==c){var k=pe(T);return new u("Invalid "+O+" `"+P+"` of type "+("`"+k+"` supplied to `"+x+"`, expected ")+("`"+c+"`."),{expectedType:c})}return null}return l(h)}function p(){return l(rr)}function v(c){function h(E,w,x,O,P){if(typeof c!="function")return new u("Property `"+P+"` of component `"+x+"` has invalid PropType notation inside arrayOf.");var R=E[w];if(!Array.isArray(R)){var T=Q(R);return new u("Invalid "+O+" `"+P+"` of type "+("`"+T+"` supplied to `"+x+"`, expected an array."))}for(var A=0;A<R.length;A++){var k=c(R,A,x,O,P+"["+A+"]",ge);if(k instanceof Error)return k}return null}return l(h)}function y(){function c(h,E,w,x,O){var P=h[E];if(!e(P)){var R=Q(P);return new u("Invalid "+x+" `"+O+"` of type "+("`"+R+"` supplied to `"+w+"`, expected a single ReactElement."))}return null}return l(c)}function C(){function c(h,E,w,x,O){var P=h[E];if(!Xi.isValidElementType(P)){var R=Q(P);return new u("Invalid "+x+" `"+O+"` of type "+("`"+R+"` supplied to `"+w+"`, expected a single ReactElement type."))}return null}return l(c)}function S(c){function h(E,w,x,O,P){if(!(E[w]instanceof c)){var R=c.name||o,T=Er(E[w]);return new u("Invalid "+O+" `"+P+"` of type "+("`"+T+"` supplied to `"+x+"`, expected ")+("instance of `"+R+"`."))}return null}return l(h)}function L(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&(arguments.length>1?be("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):be("Invalid argument supplied to oneOf, expected an array.")),rr;function h(E,w,x,O,P){for(var R=E[w],T=0;T<c.length;T++)if(s(R,c[T]))return null;var A=JSON.stringify(c,function(X,G){var oe=pe(G);return oe==="symbol"?String(G):G});return new u("Invalid "+O+" `"+P+"` of value `"+String(R)+"` "+("supplied to `"+x+"`, expected one of "+A+"."))}return l(h)}function F(c){function h(E,w,x,O,P){if(typeof c!="function")return new u("Property `"+P+"` of component `"+x+"` has invalid PropType notation inside objectOf.");var R=E[w],T=Q(R);if(T!=="object")return new u("Invalid "+O+" `"+P+"` of type "+("`"+T+"` supplied to `"+x+"`, expected an object."));for(var A in R)if(Lr(R,A)){var k=c(R,A,x,O,P+"."+A,ge);if(k instanceof Error)return k}return null}return l(h)}function _(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&be("Invalid argument supplied to oneOfType, expected an instance of array."),rr;for(var h=0;h<c.length;h++){var E=c[h];if(typeof E!="function")return be("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Cr(E)+" at index "+h+"."),rr}function w(x,O,P,R,T){for(var A=[],k=0;k<c.length;k++){var X=c[k],G=X(x,O,P,R,T,ge);if(G==null)return null;G.data&&Lr(G.data,"expectedType")&&A.push(G.data.expectedType)}var oe=A.length>0?", expected one of type ["+A.join(", ")+"]":"";return new u("Invalid "+R+" `"+T+"` supplied to "+("`"+P+"`"+oe+"."))}return l(w)}function W(){function c(h,E,w,x,O){return q(h[E])?null:new u("Invalid "+x+" `"+O+"` supplied to "+("`"+w+"`, expected a ReactNode."))}return l(c)}function g(c,h,E,w,x){return new u((c||"React class")+": "+h+" type `"+E+"."+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+x+"`.")}function $(c){function h(E,w,x,O,P){var R=E[w],T=Q(R);if(T!=="object")return new u("Invalid "+O+" `"+P+"` of type `"+T+"` "+("supplied to `"+x+"`, expected `object`."));for(var A in c){var k=c[A];if(typeof k!="function")return g(x,O,P,A,pe(k));var X=k(R,A,x,O,P+"."+A,ge);if(X)return X}return null}return l(h)}function z(c){function h(E,w,x,O,P){var R=E[w],T=Q(R);if(T!=="object")return new u("Invalid "+O+" `"+P+"` of type `"+T+"` "+("supplied to `"+x+"`, expected `object`."));var A=Zi({},E[w],c);for(var k in A){var X=c[k];if(Lr(c,k)&&typeof X!="function")return g(x,O,P,k,pe(X));if(!X)return new u("Invalid "+O+" `"+P+"` key `"+k+"` supplied to `"+x+"`.\nBad object: "+JSON.stringify(E[w],null," ")+`
3
- Valid keys: `+JSON.stringify(Object.keys(c),null," "));var G=X(R,k,x,O,P+"."+k,ge);if(G)return G}return null}return l(h)}function q(c){switch(typeof c){case"number":case"string":case"undefined":return!0;case"boolean":return!c;case"object":if(Array.isArray(c))return c.every(q);if(c===null||e(c))return!0;var h=i(c);if(h){var E=h.call(c),w;if(h!==c.entries){for(;!(w=E.next()).done;)if(!q(w.value))return!1}else for(;!(w=E.next()).done;){var x=w.value;if(x&&!q(x[1]))return!1}}else return!1;return!0;default:return!1}}function de(c,h){return c==="symbol"?!0:h?h["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&h instanceof Symbol:!1}function Q(c){var h=typeof c;return Array.isArray(c)?"array":c instanceof RegExp?"object":de(h,c)?"symbol":h}function pe(c){if(typeof c>"u"||c===null)return""+c;var h=Q(c);if(h==="object"){if(c instanceof Date)return"date";if(c instanceof RegExp)return"regexp"}return h}function Cr(c){var h=pe(c);switch(h){case"array":case"object":return"an "+h;case"boolean":case"date":case"regexp":return"a "+h;default:return h}}function Er(c){return!c.constructor||!c.constructor.name?o:c.constructor.name}return a.checkPropTypes=Yt,a.resetWarningCache=Yt.resetWarningCache,a.PropTypes=a,a}});var Qt=ee((fu,Zt)=>{"use strict";var Qi=Qe();function Kt(){}function Xt(){}Xt.resetWarningCache=Kt;Zt.exports=function(){function e(t,i,o,a,s,u){if(u!==Qi){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function r(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:Xt,resetWarningCache:Kt};return n.PropTypes=n,n}});var tn=ee((lu,Vr)=>{"use strict";process.env.NODE_ENV!=="production"?(en=Ze(),rn=!0,Vr.exports=Gt()(en.isElement,rn)):Vr.exports=Qt()();var en,rn});var nn=ee(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.default=eo;function eo(e){return e.displayName||e.name||(typeof e=="string"&&e.length>0?e:"Unknown")}});var Js={};ki(Js,{Bell:()=>br,Button:()=>te,Empty:()=>xr,Inbox:()=>gi,Loader:()=>Sr,NotificationHeader:()=>Pr,NotificationItem:()=>Rr,NotificationPopover:()=>wr});module.exports=Ni(Js);function Ot(e){var r,n,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(n=Ot(e[r]))&&(t&&(t+=" "),t+=n)}else for(n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function _i(){for(var e,r,n=0,t="",i=arguments.length;n<i;n++)(e=arguments[n])&&(r=Ot(e))&&(t&&(t+=" "),t+=r);return t}var D=_i;var Rt=require("react");function M(){return M=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},M.apply(null,arguments)}function $e(e,r){if(e==null)return{};var n={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(r.indexOf(t)!==-1)continue;n[t]=e[t]}return n}var V=ae(require("react")),fs=ae(jr());var re=ae(require("react"));var Ui=process.env.NODE_ENV==="production";function qi(e,r){if(!Ui){if(e)return;var n="Warning: "+r;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var N=qi;var Ce=ae(tn()),on=ae(jr()),an=ae(nn());function tr(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function nr(){return nr=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},nr.apply(this,arguments)}function ro(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r}function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ir(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function to(e){var r=function(n){ro(t,n);function t(){for(var o,a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=n.call.apply(n,[this].concat(s))||this,tr(se(se(o)),"cachedTheme",void 0),tr(se(se(o)),"lastOuterTheme",void 0),tr(se(se(o)),"lastTheme",void 0),tr(se(se(o)),"renderProvider",function(l){var d=o.props.children;return re.default.createElement(e.Provider,{value:o.getTheme(l)},d)}),o}var i=t.prototype;return i.getTheme=function(a){if(this.props.theme!==this.lastTheme||a!==this.lastOuterTheme||!this.cachedTheme)if(this.lastOuterTheme=a,this.lastTheme=this.props.theme,typeof this.lastTheme=="function"){var s=this.props.theme;this.cachedTheme=s(a),process.env.NODE_ENV!=="production"&&N(ir(this.cachedTheme),"[ThemeProvider] Please return an object from your theme function")}else{var u=this.props.theme;process.env.NODE_ENV!=="production"&&N(ir(u),"[ThemeProvider] Please make your theme prop a plain object"),this.cachedTheme=a?nr({},a,u):u}return this.cachedTheme},i.render=function(){var a=this.props.children;return a?re.default.createElement(e.Consumer,null,this.renderProvider):null},t}(re.default.Component);return process.env.NODE_ENV!=="production"&&(r.propTypes={children:Ce.default.node,theme:Ce.default.oneOfType([Ce.default.shape({}),Ce.default.func]).isRequired}),r}function no(e){return function(n){var t=re.default.forwardRef(function(i,o){return re.default.createElement(e.Consumer,null,function(a){return process.env.NODE_ENV!=="production"&&N(ir(a),"[theming] Please use withTheme only with the ThemeProvider"),re.default.createElement(n,nr({theme:a,ref:o},i))})});return process.env.NODE_ENV!=="production"&&(t.displayName="WithTheme("+(0,an.default)(n)+")"),(0,on.default)(t,n),t}}function io(e){var r=function(){var t=re.default.useContext(e);return process.env.NODE_ENV!=="production"&&N(ir(t),"[theming] Please use useTheme only with the ThemeProvider"),t};return r}function sn(e){return{context:e,withTheme:no(e),useTheme:io(e),ThemeProvider:to(e)}}var Wr=(0,re.createContext)(),$r=sn(Wr),oo=$r.withTheme,ao=$r.ThemeProvider,so=$r.useTheme;var un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uo=(typeof window>"u"?"undefined":un(window))==="object"&&(typeof document>"u"?"undefined":un(document))==="object"&&document.nodeType===9,ie=uo;function he(e){"@babel/helpers - typeof";return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},he(e)}function fn(e,r){if(he(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r||"default");if(he(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function ln(e){var r=fn(e,"string");return he(r)=="symbol"?r:r+""}function cn(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,ln(t.key),t)}}function or(e,r,n){return r&&cn(e.prototype,r),n&&cn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ar(e,r){return ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},ar(e,r)}function zr(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,ar(e,r)}function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var fo={}.constructor;function Hr(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Hr);if(e.constructor!==fo)return e;var r={};for(var n in e)r[n]=Hr(e[n]);return r}function xe(e,r,n){e===void 0&&(e="unnamed");var t=n.jss,i=Hr(r),o=t.plugins.onCreateRule(e,i,n);return o||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&N(!1,"[JSS] Unknown rule "+e),null)}var dn=function(r,n){for(var t="",i=0;i<r.length&&r[i]!=="!important";i++)t&&(t+=n),t+=r[i];return t},ue=function(r){if(!Array.isArray(r))return r;var n="";if(Array.isArray(r[0]))for(var t=0;t<r.length&&r[t]!=="!important";t++)n&&(n+=", "),n+=dn(r[t]," ");else n=dn(r,", ");return r[r.length-1]==="!important"&&(n+=" !important"),n};function Se(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
2
+ "use strict";var wi=Object.create;var We=Object.defineProperty;var Ci=Object.getOwnPropertyDescriptor;var Ei=Object.getOwnPropertyNames;var Oi=Object.getPrototypeOf,Ti=Object.prototype.hasOwnProperty;var ee=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ki=(e,r)=>{for(var n in r)We(e,n,{get:r[n],enumerable:!0})},Et=(e,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Ei(r))!Ti.call(e,i)&&i!==n&&We(e,i,{get:()=>r[i],enumerable:!(t=Ci(r,i))||t.enumerable});return e};var ae=(e,r,n)=>(n=e!=null?wi(Oi(e)):{},Et(r||!e||!e.__esModule?We(n,"default",{value:e,enumerable:!0}):n,e)),Ni=e=>Et(We({},"__esModule",{value:!0}),e);var kt=ee(I=>{"use strict";var H=typeof Symbol=="function"&&Symbol.for,Tr=H?Symbol.for("react.element"):60103,kr=H?Symbol.for("react.portal"):60106,ze=H?Symbol.for("react.fragment"):60107,Be=H?Symbol.for("react.strict_mode"):60108,Ue=H?Symbol.for("react.profiler"):60114,qe=H?Symbol.for("react.provider"):60109,He=H?Symbol.for("react.context"):60110,Nr=H?Symbol.for("react.async_mode"):60111,Ye=H?Symbol.for("react.concurrent_mode"):60111,Je=H?Symbol.for("react.forward_ref"):60112,Ge=H?Symbol.for("react.suspense"):60113,Ai=H?Symbol.for("react.suspense_list"):60120,Ke=H?Symbol.for("react.memo"):60115,Xe=H?Symbol.for("react.lazy"):60116,Ii=H?Symbol.for("react.block"):60121,ji=H?Symbol.for("react.fundamental"):60117,Mi=H?Symbol.for("react.responder"):60118,Di=H?Symbol.for("react.scope"):60119;function Z(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case Tr:switch(e=e.type,e){case Nr:case Ye:case ze:case Ue:case Be:case Ge:return e;default:switch(e=e&&e.$$typeof,e){case He:case Je:case Xe:case Ke:case qe:return e;default:return r}}case kr:return r}}}function Tt(e){return Z(e)===Ye}I.AsyncMode=Nr;I.ConcurrentMode=Ye;I.ContextConsumer=He;I.ContextProvider=qe;I.Element=Tr;I.ForwardRef=Je;I.Fragment=ze;I.Lazy=Xe;I.Memo=Ke;I.Portal=kr;I.Profiler=Ue;I.StrictMode=Be;I.Suspense=Ge;I.isAsyncMode=function(e){return Tt(e)||Z(e)===Nr};I.isConcurrentMode=Tt;I.isContextConsumer=function(e){return Z(e)===He};I.isContextProvider=function(e){return Z(e)===qe};I.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Tr};I.isForwardRef=function(e){return Z(e)===Je};I.isFragment=function(e){return Z(e)===ze};I.isLazy=function(e){return Z(e)===Xe};I.isMemo=function(e){return Z(e)===Ke};I.isPortal=function(e){return Z(e)===kr};I.isProfiler=function(e){return Z(e)===Ue};I.isStrictMode=function(e){return Z(e)===Be};I.isSuspense=function(e){return Z(e)===Ge};I.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ze||e===Ye||e===Ue||e===Be||e===Ge||e===Ai||typeof e=="object"&&e!==null&&(e.$$typeof===Xe||e.$$typeof===Ke||e.$$typeof===qe||e.$$typeof===He||e.$$typeof===Je||e.$$typeof===ji||e.$$typeof===Mi||e.$$typeof===Di||e.$$typeof===Ii)};I.typeOf=Z});var Nt=ee(j=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,t=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,L=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function z(m){return typeof m=="string"||typeof m=="function"||m===t||m===l||m===o||m===i||m===p||m===v||typeof m=="object"&&m!==null&&(m.$$typeof===C||m.$$typeof===y||m.$$typeof===a||m.$$typeof===s||m.$$typeof===d||m.$$typeof===L||m.$$typeof===F||m.$$typeof===_||m.$$typeof===S)}function g(m){if(typeof m=="object"&&m!==null){var Or=m.$$typeof;switch(Or){case r:var Fe=m.type;switch(Fe){case u:case l:case t:case o:case i:case p:return Fe;default:var Ct=Fe&&Fe.$$typeof;switch(Ct){case s:case d:case C:case y:case a:return Ct;default:return Or}}case n:return Or}}}var B=u,W=l,$=s,de=a,Q=r,pe=d,Cr=t,Er=C,c=y,h=n,E=o,w=i,x=p,O=!1;function P(m){return O||(O=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(m)||g(m)===u}function R(m){return g(m)===l}function T(m){return g(m)===s}function A(m){return g(m)===a}function k(m){return typeof m=="object"&&m!==null&&m.$$typeof===r}function X(m){return g(m)===d}function G(m){return g(m)===t}function oe(m){return g(m)===C}function bi(m){return g(m)===y}function xi(m){return g(m)===n}function Si(m){return g(m)===o}function Pi(m){return g(m)===i}function Ri(m){return g(m)===p}j.AsyncMode=B,j.ConcurrentMode=W,j.ContextConsumer=$,j.ContextProvider=de,j.Element=Q,j.ForwardRef=pe,j.Fragment=Cr,j.Lazy=Er,j.Memo=c,j.Portal=h,j.Profiler=E,j.StrictMode=w,j.Suspense=x,j.isAsyncMode=P,j.isConcurrentMode=R,j.isContextConsumer=T,j.isContextProvider=A,j.isElement=k,j.isForwardRef=X,j.isFragment=G,j.isLazy=oe,j.isMemo=bi,j.isPortal=xi,j.isProfiler=Si,j.isStrictMode=Pi,j.isSuspense=Ri,j.isValidElementType=z,j.typeOf=g}()});var Ze=ee((ru,_r)=>{"use strict";process.env.NODE_ENV==="production"?_r.exports=kt():_r.exports=Nt()});var jr=ee((tu,Dt)=>{"use strict";var Ar=Ze(),Li={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Vi={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Fi={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ir={};Ir[Ar.ForwardRef]=Fi;Ir[Ar.Memo]=jt;function _t(e){return Ar.isMemo(e)?jt:Ir[e.$$typeof]||Li}var Wi=Object.defineProperty,$i=Object.getOwnPropertyNames,At=Object.getOwnPropertySymbols,zi=Object.getOwnPropertyDescriptor,Bi=Object.getPrototypeOf,It=Object.prototype;function Mt(e,r,n){if(typeof r!="string"){if(It){var t=Bi(r);t&&t!==It&&Mt(e,t,n)}var i=$i(r);At&&(i=i.concat(At(r)));for(var o=_t(e),a=_t(r),s=0;s<i.length;++s){var u=i[s];if(!Vi[u]&&!(n&&n[u])&&!(a&&a[u])&&!(o&&o[u])){var l=zi(r,u);try{Wi(e,u,l)}catch{}}}}return e}Dt.exports=Mt});var Ft=ee((iu,Vt)=>{"use strict";var Lt=Object.getOwnPropertySymbols,Hi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable;function Ji(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Gi(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;var t=Object.getOwnPropertyNames(r).map(function(o){return r[o]});if(t.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}Vt.exports=Gi()?Object.assign:function(e,r){for(var n,t=Ji(e),i,o=1;o<arguments.length;o++){n=Object(arguments[o]);for(var a in n)Hi.call(n,a)&&(t[a]=n[a]);if(Lt){i=Lt(n);for(var s=0;s<i.length;s++)Yi.call(n,i[s])&&(t[i[s]]=n[i[s]])}}return t}});var Qe=ee((ou,Wt)=>{"use strict";var Ki="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Wt.exports=Ki});var Mr=ee((au,$t)=>{"use strict";$t.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Ht=ee((su,qt)=>{"use strict";var Dr=function(){};process.env.NODE_ENV!=="production"&&(zt=Qe(),er={},Bt=Mr(),Dr=function(e){var r="Warning: "+e;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}});var zt,er,Bt;function Ut(e,r,n,t,i){if(process.env.NODE_ENV!=="production"){for(var o in e)if(Bt(e,o)){var a;try{if(typeof e[o]!="function"){var s=Error((t||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](r,o,t,n,null,zt)}catch(l){a=l}if(a&&!(a instanceof Error)&&Dr((t||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in er)){er[a.message]=!0;var u=i?i():"";Dr("Failed "+n+" type: "+a.message+(u??""))}}}}Ut.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(er={})};qt.exports=Ut});var Gt=ee((uu,Jt)=>{"use strict";var Xi=Ze(),Zi=Ft(),ge=Qe(),Lr=Mr(),Yt=Ht(),be=function(){};process.env.NODE_ENV!=="production"&&(be=function(e){var r="Warning: "+e;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}});function rr(){return null}Jt.exports=function(e,r){var n=typeof Symbol=="function"&&Symbol.iterator,t="@@iterator";function i(c){var h=c&&(n&&c[n]||c[t]);if(typeof h=="function")return h}var o="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(),arrayOf:v,element:y(),elementType:C(),instanceOf:S,node:z(),objectOf:F,oneOf:L,oneOfType:_,shape:B,exact:W};function s(c,h){return c===h?c!==0||1/c===1/h:c!==c&&h!==h}function u(c,h){this.message=c,this.data=h&&typeof h=="object"?h:{},this.stack=""}u.prototype=Error.prototype;function l(c){if(process.env.NODE_ENV!=="production")var h={},E=0;function w(O,P,R,T,A,k,X){if(T=T||o,k=k||R,X!==ge){if(r){var G=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw G.name="Invariant Violation",G}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var oe=T+":"+R;!h[oe]&&E<3&&(be("You are manually calling a React.PropTypes validation function for the `"+k+"` prop on `"+T+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),h[oe]=!0,E++)}}return P[R]==null?O?P[R]===null?new u("The "+A+" `"+k+"` is marked as required "+("in `"+T+"`, but its value is `null`.")):new u("The "+A+" `"+k+"` is marked as required in "+("`"+T+"`, but its value is `undefined`.")):null:c(P,R,T,A,k)}var x=w.bind(null,!1);return x.isRequired=w.bind(null,!0),x}function d(c){function h(E,w,x,O,P,R){var T=E[w],A=Q(T);if(A!==c){var k=pe(T);return new u("Invalid "+O+" `"+P+"` of type "+("`"+k+"` supplied to `"+x+"`, expected ")+("`"+c+"`."),{expectedType:c})}return null}return l(h)}function p(){return l(rr)}function v(c){function h(E,w,x,O,P){if(typeof c!="function")return new u("Property `"+P+"` of component `"+x+"` has invalid PropType notation inside arrayOf.");var R=E[w];if(!Array.isArray(R)){var T=Q(R);return new u("Invalid "+O+" `"+P+"` of type "+("`"+T+"` supplied to `"+x+"`, expected an array."))}for(var A=0;A<R.length;A++){var k=c(R,A,x,O,P+"["+A+"]",ge);if(k instanceof Error)return k}return null}return l(h)}function y(){function c(h,E,w,x,O){var P=h[E];if(!e(P)){var R=Q(P);return new u("Invalid "+x+" `"+O+"` of type "+("`"+R+"` supplied to `"+w+"`, expected a single ReactElement."))}return null}return l(c)}function C(){function c(h,E,w,x,O){var P=h[E];if(!Xi.isValidElementType(P)){var R=Q(P);return new u("Invalid "+x+" `"+O+"` of type "+("`"+R+"` supplied to `"+w+"`, expected a single ReactElement type."))}return null}return l(c)}function S(c){function h(E,w,x,O,P){if(!(E[w]instanceof c)){var R=c.name||o,T=Er(E[w]);return new u("Invalid "+O+" `"+P+"` of type "+("`"+T+"` supplied to `"+x+"`, expected ")+("instance of `"+R+"`."))}return null}return l(h)}function L(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&(arguments.length>1?be("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):be("Invalid argument supplied to oneOf, expected an array.")),rr;function h(E,w,x,O,P){for(var R=E[w],T=0;T<c.length;T++)if(s(R,c[T]))return null;var A=JSON.stringify(c,function(X,G){var oe=pe(G);return oe==="symbol"?String(G):G});return new u("Invalid "+O+" `"+P+"` of value `"+String(R)+"` "+("supplied to `"+x+"`, expected one of "+A+"."))}return l(h)}function F(c){function h(E,w,x,O,P){if(typeof c!="function")return new u("Property `"+P+"` of component `"+x+"` has invalid PropType notation inside objectOf.");var R=E[w],T=Q(R);if(T!=="object")return new u("Invalid "+O+" `"+P+"` of type "+("`"+T+"` supplied to `"+x+"`, expected an object."));for(var A in R)if(Lr(R,A)){var k=c(R,A,x,O,P+"."+A,ge);if(k instanceof Error)return k}return null}return l(h)}function _(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&be("Invalid argument supplied to oneOfType, expected an instance of array."),rr;for(var h=0;h<c.length;h++){var E=c[h];if(typeof E!="function")return be("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Cr(E)+" at index "+h+"."),rr}function w(x,O,P,R,T){for(var A=[],k=0;k<c.length;k++){var X=c[k],G=X(x,O,P,R,T,ge);if(G==null)return null;G.data&&Lr(G.data,"expectedType")&&A.push(G.data.expectedType)}var oe=A.length>0?", expected one of type ["+A.join(", ")+"]":"";return new u("Invalid "+R+" `"+T+"` supplied to "+("`"+P+"`"+oe+"."))}return l(w)}function z(){function c(h,E,w,x,O){return $(h[E])?null:new u("Invalid "+x+" `"+O+"` supplied to "+("`"+w+"`, expected a ReactNode."))}return l(c)}function g(c,h,E,w,x){return new u((c||"React class")+": "+h+" type `"+E+"."+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+x+"`.")}function B(c){function h(E,w,x,O,P){var R=E[w],T=Q(R);if(T!=="object")return new u("Invalid "+O+" `"+P+"` of type `"+T+"` "+("supplied to `"+x+"`, expected `object`."));for(var A in c){var k=c[A];if(typeof k!="function")return g(x,O,P,A,pe(k));var X=k(R,A,x,O,P+"."+A,ge);if(X)return X}return null}return l(h)}function W(c){function h(E,w,x,O,P){var R=E[w],T=Q(R);if(T!=="object")return new u("Invalid "+O+" `"+P+"` of type `"+T+"` "+("supplied to `"+x+"`, expected `object`."));var A=Zi({},E[w],c);for(var k in A){var X=c[k];if(Lr(c,k)&&typeof X!="function")return g(x,O,P,k,pe(X));if(!X)return new u("Invalid "+O+" `"+P+"` key `"+k+"` supplied to `"+x+"`.\nBad object: "+JSON.stringify(E[w],null," ")+`
3
+ Valid keys: `+JSON.stringify(Object.keys(c),null," "));var G=X(R,k,x,O,P+"."+k,ge);if(G)return G}return null}return l(h)}function $(c){switch(typeof c){case"number":case"string":case"undefined":return!0;case"boolean":return!c;case"object":if(Array.isArray(c))return c.every($);if(c===null||e(c))return!0;var h=i(c);if(h){var E=h.call(c),w;if(h!==c.entries){for(;!(w=E.next()).done;)if(!$(w.value))return!1}else for(;!(w=E.next()).done;){var x=w.value;if(x&&!$(x[1]))return!1}}else return!1;return!0;default:return!1}}function de(c,h){return c==="symbol"?!0:h?h["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&h instanceof Symbol:!1}function Q(c){var h=typeof c;return Array.isArray(c)?"array":c instanceof RegExp?"object":de(h,c)?"symbol":h}function pe(c){if(typeof c>"u"||c===null)return""+c;var h=Q(c);if(h==="object"){if(c instanceof Date)return"date";if(c instanceof RegExp)return"regexp"}return h}function Cr(c){var h=pe(c);switch(h){case"array":case"object":return"an "+h;case"boolean":case"date":case"regexp":return"a "+h;default:return h}}function Er(c){return!c.constructor||!c.constructor.name?o:c.constructor.name}return a.checkPropTypes=Yt,a.resetWarningCache=Yt.resetWarningCache,a.PropTypes=a,a}});var Qt=ee((fu,Zt)=>{"use strict";var Qi=Qe();function Kt(){}function Xt(){}Xt.resetWarningCache=Kt;Zt.exports=function(){function e(t,i,o,a,s,u){if(u!==Qi){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function r(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:Xt,resetWarningCache:Kt};return n.PropTypes=n,n}});var tn=ee((lu,Vr)=>{"use strict";process.env.NODE_ENV!=="production"?(en=Ze(),rn=!0,Vr.exports=Gt()(en.isElement,rn)):Vr.exports=Qt()();var en,rn});var nn=ee(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.default=eo;function eo(e){return e.displayName||e.name||(typeof e=="string"&&e.length>0?e:"Unknown")}});var Js={};ki(Js,{Bell:()=>br,Button:()=>te,Empty:()=>xr,Inbox:()=>gi,Loader:()=>Sr,NotificationHeader:()=>Pr,NotificationItem:()=>Rr,NotificationPopover:()=>wr});module.exports=Ni(Js);function Ot(e){var r,n,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(n=Ot(e[r]))&&(t&&(t+=" "),t+=n)}else for(n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function _i(){for(var e,r,n=0,t="",i=arguments.length;n<i;n++)(e=arguments[n])&&(r=Ot(e))&&(t&&(t+=" "),t+=r);return t}var D=_i;var Rt=require("react");function M(){return M=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},M.apply(null,arguments)}function $e(e,r){if(e==null)return{};var n={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(r.indexOf(t)!==-1)continue;n[t]=e[t]}return n}var V=ae(require("react")),fs=ae(jr());var re=ae(require("react"));var Ui=process.env.NODE_ENV==="production";function qi(e,r){if(!Ui){if(e)return;var n="Warning: "+r;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var N=qi;var Ce=ae(tn()),on=ae(jr()),an=ae(nn());function tr(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function nr(){return nr=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},nr.apply(this,arguments)}function ro(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r}function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ir(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function to(e){var r=function(n){ro(t,n);function t(){for(var o,a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=n.call.apply(n,[this].concat(s))||this,tr(se(se(o)),"cachedTheme",void 0),tr(se(se(o)),"lastOuterTheme",void 0),tr(se(se(o)),"lastTheme",void 0),tr(se(se(o)),"renderProvider",function(l){var d=o.props.children;return re.default.createElement(e.Provider,{value:o.getTheme(l)},d)}),o}var i=t.prototype;return i.getTheme=function(a){if(this.props.theme!==this.lastTheme||a!==this.lastOuterTheme||!this.cachedTheme)if(this.lastOuterTheme=a,this.lastTheme=this.props.theme,typeof this.lastTheme=="function"){var s=this.props.theme;this.cachedTheme=s(a),process.env.NODE_ENV!=="production"&&N(ir(this.cachedTheme),"[ThemeProvider] Please return an object from your theme function")}else{var u=this.props.theme;process.env.NODE_ENV!=="production"&&N(ir(u),"[ThemeProvider] Please make your theme prop a plain object"),this.cachedTheme=a?nr({},a,u):u}return this.cachedTheme},i.render=function(){var a=this.props.children;return a?re.default.createElement(e.Consumer,null,this.renderProvider):null},t}(re.default.Component);return process.env.NODE_ENV!=="production"&&(r.propTypes={children:Ce.default.node,theme:Ce.default.oneOfType([Ce.default.shape({}),Ce.default.func]).isRequired}),r}function no(e){return function(n){var t=re.default.forwardRef(function(i,o){return re.default.createElement(e.Consumer,null,function(a){return process.env.NODE_ENV!=="production"&&N(ir(a),"[theming] Please use withTheme only with the ThemeProvider"),re.default.createElement(n,nr({theme:a,ref:o},i))})});return process.env.NODE_ENV!=="production"&&(t.displayName="WithTheme("+(0,an.default)(n)+")"),(0,on.default)(t,n),t}}function io(e){var r=function(){var t=re.default.useContext(e);return process.env.NODE_ENV!=="production"&&N(ir(t),"[theming] Please use useTheme only with the ThemeProvider"),t};return r}function sn(e){return{context:e,withTheme:no(e),useTheme:io(e),ThemeProvider:to(e)}}var Wr=(0,re.createContext)(),$r=sn(Wr),oo=$r.withTheme,ao=$r.ThemeProvider,so=$r.useTheme;var un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uo=(typeof window>"u"?"undefined":un(window))==="object"&&(typeof document>"u"?"undefined":un(document))==="object"&&document.nodeType===9,ie=uo;function he(e){"@babel/helpers - typeof";return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},he(e)}function fn(e,r){if(he(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r||"default");if(he(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function ln(e){var r=fn(e,"string");return he(r)=="symbol"?r:r+""}function cn(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,ln(t.key),t)}}function or(e,r,n){return r&&cn(e.prototype,r),n&&cn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ar(e,r){return ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},ar(e,r)}function zr(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,ar(e,r)}function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var fo={}.constructor;function Hr(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Hr);if(e.constructor!==fo)return e;var r={};for(var n in e)r[n]=Hr(e[n]);return r}function xe(e,r,n){e===void 0&&(e="unnamed");var t=n.jss,i=Hr(r),o=t.plugins.onCreateRule(e,i,n);return o||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&N(!1,"[JSS] Unknown rule "+e),null)}var dn=function(r,n){for(var t="",i=0;i<r.length&&r[i]!=="!important";i++)t&&(t+=n),t+=r[i];return t},ue=function(r){if(!Array.isArray(r))return r;var n="";if(Array.isArray(r[0]))for(var t=0;t<r.length&&r[t]!=="!important";t++)n&&(n+=", "),n+=dn(r[t]," ");else n=dn(r,", ");return r[r.length-1]==="!important"&&(n+=" !important"),n};function Se(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
4
4
  `,space:" "}}function Ee(e,r){for(var n="",t=0;t<r;t++)n+=" ";return n+e}function Te(e,r,n){n===void 0&&(n={});var t="";if(!r)return t;var i=n,o=i.indent,a=o===void 0?0:o,s=r.fallbacks;n.format===!1&&(a=-1/0);var u=Se(n),l=u.linebreak,d=u.space;if(e&&a++,s)if(Array.isArray(s))for(var p=0;p<s.length;p++){var v=s[p];for(var y in v){var C=v[y];C!=null&&(t&&(t+=l),t+=Ee(y+":"+d+ue(C)+";",a))}}else for(var S in s){var L=s[S];L!=null&&(t&&(t+=l),t+=Ee(S+":"+d+ue(L)+";",a))}for(var F in r){var _=r[F];_!=null&&F!=="fallbacks"&&(t&&(t+=l),t+=Ee(F+":"+d+ue(_)+";",a))}return!t&&!n.allowEmpty||!e?t:(a--,t&&(t=""+l+t+l),Ee(""+e+d+"{"+t,a)+Ee("}",a))}var lo=/([[\].#*$><+~=|^:(),"'`\s])/g,pn=typeof CSS<"u"&&CSS.escape,Qr=function(e){return pn?pn(e):e.replace(lo,"\\$1")},xn=function(){function e(n,t,i){this.type="style",this.isProcessed=!1;var o=i.sheet,a=i.Renderer;this.key=n,this.options=i,this.style=t,o?this.renderer=o.renderer:a&&(this.renderer=new a)}var r=e.prototype;return r.prop=function(t,i,o){if(i===void 0)return this.style[t];var a=o?o.force:!1;if(!a&&this.style[t]===i)return this;var s=i;(!o||o.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(i,t,this));var u=s==null||s===!1,l=t in this.style;if(u&&!l&&!a)return this;var d=u&&l;if(d?delete this.style[t]:this.style[t]=s,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,s),this;var p=this.options.sheet;return p&&p.attached&&process.env.NODE_ENV!=="production"&&N(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),Yr=function(e){zr(r,e);function r(t,i,o){var a;a=e.call(this,t,i,o)||this;var s=o.selector,u=o.scoped,l=o.sheet,d=o.generateId;return s?a.selectorText=s:u!==!1&&(a.id=d(Br(Br(a)),l),a.selectorText="."+Qr(a.id)),a}var n=r.prototype;return n.applyTo=function(i){var o=this.renderer;if(o){var a=this.toJSON();for(var s in a)o.setProperty(i,s,a[s])}return this},n.toJSON=function(){var i={};for(var o in this.style){var a=this.style[o];typeof a!="object"?i[o]=a:Array.isArray(a)&&(i[o]=ue(a))}return i},n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?M({},i,{allowEmpty:!0}):i;return Te(this.selectorText,this.style,s)},or(r,[{key:"selector",set:function(i){if(i!==this.selectorText){this.selectorText=i;var o=this.renderer,a=this.renderable;if(!(!a||!o)){var s=o.setSelector(a,i);s||o.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),r}(xn),co={onCreateRule:function(r,n,t){return r[0]==="@"||t.parent&&t.parent.type==="keyframes"?null:new Yr(r,n,t)}},Ur={indent:1,children:!0},po=/@([\w-]+)/,ho=function(){function e(n,t,i){this.type="conditional",this.isProcessed=!1,this.key=n;var o=n.match(po);this.at=o?o[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new ke(M({},i,{parent:this}));for(var a in t)this.rules.add(a,t[a]);this.rules.process()}var r=e.prototype;return r.getRule=function(t){return this.rules.get(t)},r.indexOf=function(t){return this.rules.indexOf(t)},r.addRule=function(t,i,o){var a=this.rules.add(t,i,o);return a?(this.options.jss.plugins.onProcessRule(a),a):null},r.replaceRule=function(t,i,o){var a=this.rules.replace(t,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},r.toString=function(t){t===void 0&&(t=Ur);var i=Se(t),o=i.linebreak;if(t.indent==null&&(t.indent=Ur.indent),t.children==null&&(t.children=Ur.children),t.children===!1)return this.query+" {}";var a=this.rules.toString(t);return a?this.query+" {"+o+a+o+"}":""},e}(),mo=/@container|@media|@supports\s+/,vo={onCreateRule:function(r,n,t){return mo.test(r)?new ho(r,n,t):null}},qr={indent:1,children:!0},yo=/@keyframes\s+([\w-]+)/,Jr=function(){function e(n,t,i){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=n.match(yo);o&&o[1]?this.name=o[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&N(!1,"[JSS] Bad keyframes name "+n)),this.key=this.type+"-"+this.name,this.options=i;var a=i.scoped,s=i.sheet,u=i.generateId;this.id=a===!1?this.name:Qr(u(this,s)),this.rules=new ke(M({},i,{parent:this}));for(var l in t)this.rules.add(l,t[l],M({},i,{parent:this}));this.rules.process()}var r=e.prototype;return r.toString=function(t){t===void 0&&(t=qr);var i=Se(t),o=i.linebreak;if(t.indent==null&&(t.indent=qr.indent),t.children==null&&(t.children=qr.children),t.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(t);return a&&(a=""+o+a+o),this.at+" "+this.id+" {"+a+"}"},e}(),go=/@keyframes\s+/,bo=/\$([\w-]+)/g,Gr=function(r,n){return typeof r=="string"?r.replace(bo,function(t,i){return i in n?n[i]:(process.env.NODE_ENV!=="production"&&N(!1,'[JSS] Referenced keyframes rule "'+i+'" is not defined.'),t)}):r},hn=function(r,n,t){var i=r[n],o=Gr(i,t);o!==i&&(r[n]=o)},xo={onCreateRule:function(r,n,t){return typeof r=="string"&&go.test(r)?new Jr(r,n,t):null},onProcessStyle:function(r,n,t){return n.type!=="style"||!t||("animation-name"in r&&hn(r,"animation-name",t.keyframes),"animation"in r&&hn(r,"animation",t.keyframes)),r},onChangeValue:function(r,n,t){var i=t.options.sheet;if(!i)return r;switch(n){case"animation":return Gr(r,i.keyframes);case"animation-name":return Gr(r,i.keyframes);default:return r}}},So=function(e){zr(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?M({},i,{allowEmpty:!0}):i;return Te(this.key,this.style,s)},r}(xn),Po={onCreateRule:function(r,n,t){return t.parent&&t.parent.type==="keyframes"?new So(r,n,t):null}},Ro=function(){function e(n,t,i){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=t,this.options=i}var r=e.prototype;return r.toString=function(t){var i=Se(t),o=i.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s<this.style.length;s++)a+=Te(this.at,this.style[s]),this.style[s+1]&&(a+=o);return a}return Te(this.at,this.style,t)},e}(),wo=/@font-face/,Co={onCreateRule:function(r,n,t){return wo.test(r)?new Ro(r,n,t):null}},Eo=function(){function e(n,t,i){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=n,this.style=t,this.options=i}var r=e.prototype;return r.toString=function(t){return Te(this.key,this.style,t)},e}(),Oo={onCreateRule:function(r,n,t){return r==="@viewport"||r==="@-ms-viewport"?new Eo(r,n,t):null}},To=function(){function e(n,t,i){this.type="simple",this.isProcessed=!1,this.key=n,this.value=t,this.options=i}var r=e.prototype;return r.toString=function(t){if(Array.isArray(this.value)){for(var i="",o=0;o<this.value.length;o++)i+=this.key+" "+this.value[o]+";",this.value[o+1]&&(i+=`
5
5
  `);return i}return this.key+" "+this.value+";"},e}(),ko={"@charset":!0,"@import":!0,"@namespace":!0},No={onCreateRule:function(r,n,t){return r in ko?new To(r,n,t):null}},mn=[co,vo,xo,Po,Co,Oo,No],_o={process:!0},vn={force:!0,process:!0},ke=function(){function e(n){this.map={},this.raw={},this.index=[],this.counter=0,this.options=n,this.classes=n.classes,this.keyframes=n.keyframes}var r=e.prototype;return r.add=function(t,i,o){var a=this.options,s=a.parent,u=a.sheet,l=a.jss,d=a.Renderer,p=a.generateId,v=a.scoped,y=M({classes:this.classes,parent:s,sheet:u,jss:l,Renderer:d,generateId:p,scoped:v,name:t,keyframes:this.keyframes,selector:void 0},o),C=t;t in this.raw&&(C=t+"-d"+this.counter++),this.raw[C]=i,C in this.classes&&(y.selector="."+Qr(this.classes[C]));var S=xe(C,i,y);if(!S)return null;this.register(S);var L=y.index===void 0?this.index.length:y.index;return this.index.splice(L,0,S),S},r.replace=function(t,i,o){var a=this.get(t),s=this.index.indexOf(a);a&&this.remove(a);var u=o;return s!==-1&&(u=M({},o,{index:s})),this.add(t,i,u)},r.get=function(t){return this.map[t]},r.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},r.indexOf=function(t){return this.index.indexOf(t)},r.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},r.register=function(t){this.map[t.key]=t,t instanceof Yr?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof Jr&&this.keyframes&&(this.keyframes[t.name]=t.id)},r.unregister=function(t){delete this.map[t.key],t instanceof Yr?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof Jr&&delete this.keyframes[t.name]},r.update=function(){var t,i,o;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(t=arguments.length<=0?void 0:arguments[0],i=arguments.length<=1?void 0:arguments[1],o=arguments.length<=2?void 0:arguments[2]):(i=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.get(t),i,o);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],i,o)},r.updateOne=function(t,i,o){o===void 0&&(o=_o);var a=this.options,s=a.jss.plugins,u=a.sheet;if(t.rules instanceof e){t.rules.update(i,o);return}var l=t.style;if(s.onUpdate(i,t,u,o),o.process&&l&&l!==t.style){s.onProcessStyle(t.style,t,u);for(var d in t.style){var p=t.style[d],v=l[d];p!==v&&t.prop(d,p,vn)}for(var y in l){var C=t.style[y],S=l[y];C==null&&C!==S&&t.prop(y,null,vn)}}},r.toString=function(t){for(var i="",o=this.options.sheet,a=o?o.options.link:!1,s=Se(t),u=s.linebreak,l=0;l<this.index.length;l++){var d=this.index[l],p=d.toString(t);!p&&!a||(i&&(i+=u),i+=p)}return i},e}(),Sn=function(){function e(n,t){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=M({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ke(this.options);for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var r=e.prototype;return r.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},r.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},r.addRule=function(t,i,o){var a=this.queue;this.attached&&!a&&(this.queue=[]);var s=this.rules.add(t,i,o);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(a?a.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},r.replaceRule=function(t,i,o){var a=this.rules.get(t);if(!a)return this.addRule(t,i,o);var s=this.rules.replace(t,i,o);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?a.renderable&&this.renderer.replaceRule(a.renderable,s):this.renderer.deleteRule(a)),s):(this.deployed=!1,s)},r.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},r.addRules=function(t,i){var o=[];for(var a in t){var s=this.addRule(a,t[a],i);s&&o.push(s)}return o},r.getRule=function(t){return this.rules.get(t)},r.deleteRule=function(t){var i=typeof t=="object"?t:this.rules.get(t);return!i||this.attached&&!i.renderable?!1:(this.rules.remove(i),this.attached&&i.renderable&&this.renderer?this.renderer.deleteRule(i.renderable):!0)},r.indexOf=function(t){return this.rules.indexOf(t)},r.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},r.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},r.updateOne=function(t,i,o){return this.rules.updateOne(t,i,o),this},r.toString=function(t){return this.rules.toString(t)},e}(),Ao=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var r=e.prototype;return r.onCreateRule=function(t,i,o){for(var a=0;a<this.registry.onCreateRule.length;a++){var s=this.registry.onCreateRule[a](t,i,o);if(s)return s}return null},r.onProcessRule=function(t){if(!t.isProcessed){for(var i=t.options.sheet,o=0;o<this.registry.onProcessRule.length;o++)this.registry.onProcessRule[o](t,i);t.style&&this.onProcessStyle(t.style,t,i),t.isProcessed=!0}},r.onProcessStyle=function(t,i,o){for(var a=0;a<this.registry.onProcessStyle.length;a++)i.style=this.registry.onProcessStyle[a](i.style,i,o)},r.onProcessSheet=function(t){for(var i=0;i<this.registry.onProcessSheet.length;i++)this.registry.onProcessSheet[i](t)},r.onUpdate=function(t,i,o,a){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](t,i,o,a)},r.onChangeValue=function(t,i,o){for(var a=t,s=0;s<this.registry.onChangeValue.length;s++)a=this.registry.onChangeValue[s](a,i,o);return a},r.use=function(t,i){i===void 0&&(i={queue:"external"});var o=this.plugins[i.queue];o.indexOf(t)===-1&&(o.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,s){for(var u in s)u in a?a[u].push(s[u]):process.env.NODE_ENV!=="production"&&N(!1,'[JSS] Unknown hook "'+u+'".');return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Io=function(){function e(){this.registry=[]}var r=e.prototype;return r.add=function(t){var i=this.registry,o=t.options.index;if(i.indexOf(t)===-1){if(i.length===0||o>=this.index){i.push(t);return}for(var a=0;a<i.length;a++)if(i[a].options.index>o){i.splice(a,0,t);return}}},r.reset=function(){this.registry=[]},r.remove=function(t){var i=this.registry.indexOf(t);this.registry.splice(i,1)},r.toString=function(t){for(var i=t===void 0?{}:t,o=i.attached,a=$e(i,["attached"]),s=Se(a),u=s.linebreak,l="",d=0;d<this.registry.length;d++){var p=this.registry[d];o!=null&&p.attached!==o||(l&&(l+=u),l+=p.toString(a))}return l},or(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Oe=new Io,Kr=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Xr="2f1acc6c3a606b082e5eef5e54414ffb";Kr[Xr]==null&&(Kr[Xr]=0);var yn=Kr[Xr]++,jo=1e10,Zr=function(r){r===void 0&&(r={});var n=0,t=function(o,a){n+=1,n>jo&&process.env.NODE_ENV!=="production"&&N(!1,"[JSS] You might have a memory leak. Rule counter is at "+n+".");var s="",u="";return a&&(a.options.classNamePrefix&&(u=a.options.classNamePrefix),a.options.jss.id!=null&&(s=String(a.options.jss.id))),r.minify?""+(u||"c")+yn+s+n:u+o.key+"-"+yn+(s?"-"+s:"")+"-"+n};return t},Pn=function(r){var n;return function(){return n||(n=r()),n}},Mo=function(r,n){try{return r.attributeStyleMap?r.attributeStyleMap.get(n):r.style.getPropertyValue(n)}catch{return""}},Do=function(r,n,t){try{var i=t;if(Array.isArray(t)&&(i=ue(t)),r.attributeStyleMap)r.attributeStyleMap.set(n,i);else{var o=i?i.indexOf("!important"):-1,a=o>-1?i.substr(0,o-1):i;r.style.setProperty(n,a,o>-1?"important":"")}}catch{return!1}return!0},Lo=function(r,n){try{r.attributeStyleMap?r.attributeStyleMap.delete(n):r.style.removeProperty(n)}catch(t){process.env.NODE_ENV!=="production"&&N(!1,'[JSS] DOMException "'+t.message+'" was thrown. Tried to remove property "'+n+'".')}},Vo=function(r,n){return r.selectorText=n,r.selectorText===n},Rn=Pn(function(){return document.querySelector("head")});function Fo(e,r){for(var n=0;n<e.length;n++){var t=e[n];if(t.attached&&t.options.index>r.index&&t.options.insertionPoint===r.insertionPoint)return t}return null}function Wo(e,r){for(var n=e.length-1;n>=0;n--){var t=e[n];if(t.attached&&t.options.insertionPoint===r.insertionPoint)return t}return null}function $o(e){for(var r=Rn(),n=0;n<r.childNodes.length;n++){var t=r.childNodes[n];if(t.nodeType===8&&t.nodeValue.trim()===e)return t}return null}function zo(e){var r=Oe.registry;if(r.length>0){var n=Fo(r,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=Wo(r,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var t=e.insertionPoint;if(t&&typeof t=="string"){var i=$o(t);if(i)return{parent:i.parentNode,node:i.nextSibling};process.env.NODE_ENV!=="production"&&N(!1,'[JSS] Insertion point "'+t+'" not found.')}return!1}function Bo(e,r){var n=r.insertionPoint,t=zo(r);if(t!==!1&&t.parent){t.parent.insertBefore(e,t.node);return}if(n&&typeof n.nodeType=="number"){var i=n,o=i.parentNode;o?o.insertBefore(e,i.nextSibling):process.env.NODE_ENV!=="production"&&N(!1,"[JSS] Insertion point is not in the DOM.");return}Rn().appendChild(e)}var Uo=Pn(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),gn=function(r,n,t){try{"insertRule"in r?r.insertRule(n,t):"appendRule"in r&&r.appendRule(n)}catch(i){return process.env.NODE_ENV!=="production"&&N(!1,"[JSS] "+i.message),!1}return r.cssRules[t]},bn=function(r,n){var t=r.cssRules.length;return n===void 0||n>t?t:n},qo=function(){var r=document.createElement("style");return r.textContent=`
6
6
  `,r},Ho=function(){function e(n){this.getPropertyValue=Mo,this.setProperty=Do,this.removeProperty=Lo,this.setSelector=Vo,this.hasInsertedRules=!1,this.cssRules=[],n&&Oe.add(n),this.sheet=n;var t=this.sheet?this.sheet.options:{},i=t.media,o=t.meta,a=t.element;this.element=a||qo(),this.element.setAttribute("data-jss",""),i&&this.element.setAttribute("media",i),o&&this.element.setAttribute("data-meta",o);var s=Uo();s&&this.element.setAttribute("nonce",s)}var r=e.prototype;return r.attach=function(){if(!(this.element.parentNode||!this.sheet)){Bo(this.element,this.sheet.options);var t=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},r.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
@@ -10,7 +10,7 @@ Valid keys: `+JSON.stringify(Object.keys(c),null," "));var G=X(R,k,x,O,P+"."+k,
10
10
  `+r.toString());return}var a=o.options.parent;if(a){var s=a.rules.raw[e.extend];me(s,r,n,t)}return}if(Array.isArray(e.extend)){for(var u=0;u<e.extend.length;u++){var l=e.extend[u],d=typeof l=="string"?M({},e,{extend:l}):e.extend[u];me(d,r,n,t)}return}for(var p in e.extend){if(p==="extend"){me(e.extend.extend,r,n,t);continue}if(ur(e.extend[p])){p in t||(t[p]={}),me(e.extend[p],r,n,t[p]);continue}t[p]=e.extend[p]}}function fa(e,r,n,t){for(var i in e)if(i!=="extend"){if(ur(t[i])&&ur(e[i])){me(e[i],r,n,t[i]);continue}if(ur(e[i])){t[i]=me(e[i],r,n);continue}t[i]=e[i]}}function me(e,r,n,t){return t===void 0&&(t={}),ua(e,r,n,t),fa(e,r,n,t),t}function la(){function e(n,t,i){return"extend"in n?me(n,t,i):n}function r(n,t,i){if(t!=="extend")return n;if(n==null||n===!1){for(var o in i[st])i.prop(o,null);return i[st]=null,null}if(typeof n=="object"){for(var a in n)i.prop(a,n[a]);i[st]=n}return null}return{onProcessStyle:e,onChangeValue:r}}var _n=la;var An=/\s*,\s*/g,ca=/&/g,da=/\$([\w-]+)/g;function pa(){function e(i,o){return function(a,s){var u=i.getRule(s)||o&&o.getRule(s);return u?u.selector:(process.env.NODE_ENV!=="production"&&N(!1,'[JSS] Could not find the referenced rule "'+s+'" in "'+(i.options.meta||i.toString())+'".'),s)}}function r(i,o){for(var a=o.split(An),s=i.split(An),u="",l=0;l<a.length;l++)for(var d=a[l],p=0;p<s.length;p++){var v=s[p];u&&(u+=", "),u+=v.indexOf("&")!==-1?v.replace(ca,d):d+" "+v}return u}function n(i,o,a){if(a)return M({},a,{index:a.index+1});var s=i.options.nestingLevel;s=s===void 0?1:s+1;var u=M({},i.options,{nestingLevel:s,index:o.indexOf(i)+1});return delete u.name,u}function t(i,o,a){if(o.type!=="style")return i;var s=o,u=s.options.parent,l,d;for(var p in i){var v=p.indexOf("&")!==-1,y=p[0]==="@";if(!(!v&&!y)){if(l=n(s,u,l),v){var C=r(p,s.selector);d||(d=e(u,a)),C=C.replace(da,d);var S=s.key+"-"+p;"replaceRule"in u?u.replaceRule(S,i[p],M({},l,{selector:C})):u.addRule(S,i[p],M({},l,{selector:C}))}else y&&u.addRule(p,{},l).addRule(s.key,i[p],{selector:s.selector});delete i[p]}}return i}return{onProcessStyle:t}}var In=pa;function ut(e,r){if(!r)return!0;if(Array.isArray(r)){for(var n=0;n<r.length;n++){var t=ut(e,r[n]);if(!t)return!1}return!0}if(r.indexOf(" ")>-1)return ut(e,r.split(" "));var i=e.options.parent;if(r[0]==="$"){var o=i.getRule(r.substr(1));return o?o===e?(process.env.NODE_ENV!=="production"&&N(!1,`[JSS] Cyclic composition detected.
11
11
  `+e.toString()),!1):(i.classes[e.key]+=" "+i.classes[o.key],!0):(process.env.NODE_ENV!=="production"&&N(!1,`[JSS] Referenced rule is not defined.
12
12
  `+e.toString()),!1)}return i.classes[e.key]+=" "+r,!0}function ha(){function e(r,n){return"composes"in r&&(ut(n,r.composes),delete r.composes),r}return{onProcessStyle:e}}var jn=ha;var ma=/[A-Z]/g,va=/^ms-/,ft={};function ya(e){return"-"+e.toLowerCase()}function ga(e){if(ft.hasOwnProperty(e))return ft[e];var r=e.replace(ma,ya);return ft[e]=va.test(r)?"-"+r:r}var lt=ga;function fr(e){var r={};for(var n in e){var t=n.indexOf("--")===0?n:lt(n);r[t]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?r.fallbacks=e.fallbacks.map(fr):r.fallbacks=fr(e.fallbacks)),r}function ba(){function e(n){if(Array.isArray(n)){for(var t=0;t<n.length;t++)n[t]=fr(n[t]);return n}return fr(n)}function r(n,t,i){if(t.indexOf("--")===0)return n;var o=lt(t);return t===o?n:(i.prop(o,n),null)}return{onProcessStyle:e,onChangeValue:r}}var Mn=ba;var f=sr&&CSS?CSS.px:"px",lr=sr&&CSS?CSS.ms:"ms",Re=sr&&CSS?CSS.percent:"%",xa={"animation-delay":lr,"animation-duration":lr,"background-position":f,"background-position-x":f,"background-position-y":f,"background-size":f,border:f,"border-bottom":f,"border-bottom-left-radius":f,"border-bottom-right-radius":f,"border-bottom-width":f,"border-left":f,"border-left-width":f,"border-radius":f,"border-right":f,"border-right-width":f,"border-top":f,"border-top-left-radius":f,"border-top-right-radius":f,"border-top-width":f,"border-width":f,"border-block":f,"border-block-end":f,"border-block-end-width":f,"border-block-start":f,"border-block-start-width":f,"border-block-width":f,"border-inline":f,"border-inline-end":f,"border-inline-end-width":f,"border-inline-start":f,"border-inline-start-width":f,"border-inline-width":f,"border-start-start-radius":f,"border-start-end-radius":f,"border-end-start-radius":f,"border-end-end-radius":f,margin:f,"margin-bottom":f,"margin-left":f,"margin-right":f,"margin-top":f,"margin-block":f,"margin-block-end":f,"margin-block-start":f,"margin-inline":f,"margin-inline-end":f,"margin-inline-start":f,padding:f,"padding-bottom":f,"padding-left":f,"padding-right":f,"padding-top":f,"padding-block":f,"padding-block-end":f,"padding-block-start":f,"padding-inline":f,"padding-inline-end":f,"padding-inline-start":f,"mask-position-x":f,"mask-position-y":f,"mask-size":f,height:f,width:f,"min-height":f,"max-height":f,"min-width":f,"max-width":f,bottom:f,left:f,top:f,right:f,inset:f,"inset-block":f,"inset-block-end":f,"inset-block-start":f,"inset-inline":f,"inset-inline-end":f,"inset-inline-start":f,"box-shadow":f,"text-shadow":f,"column-gap":f,"column-rule":f,"column-rule-width":f,"column-width":f,"font-size":f,"font-size-delta":f,"letter-spacing":f,"text-decoration-thickness":f,"text-indent":f,"text-stroke":f,"text-stroke-width":f,"word-spacing":f,motion:f,"motion-offset":f,outline:f,"outline-offset":f,"outline-width":f,perspective:f,"perspective-origin-x":Re,"perspective-origin-y":Re,"transform-origin":Re,"transform-origin-x":Re,"transform-origin-y":Re,"transform-origin-z":Re,"transition-delay":lr,"transition-duration":lr,"vertical-align":f,"flex-basis":f,"shape-margin":f,size:f,gap:f,grid:f,"grid-gap":f,"row-gap":f,"grid-row-gap":f,"grid-column-gap":f,"grid-template-rows":f,"grid-template-columns":f,"grid-auto-rows":f,"grid-auto-columns":f,"box-shadow-x":f,"box-shadow-y":f,"box-shadow-blur":f,"box-shadow-spread":f,"font-line-height":f,"text-shadow-x":f,"text-shadow-y":f,"text-shadow-blur":f};function Dn(e){var r=/(-[a-z])/g,n=function(a){return a[1].toUpperCase()},t={};for(var i in e)t[i]=e[i],t[i.replace(r,n)]=e[i];return t}var Sa=Dn(xa);function _e(e,r,n){if(r==null)return r;if(Array.isArray(r))for(var t=0;t<r.length;t++)r[t]=_e(e,r[t],n);else if(typeof r=="object")if(e==="fallbacks")for(var i in r)r[i]=_e(i,r[i],n);else for(var o in r)r[o]=_e(e+"-"+o,r[o],n);else if(typeof r=="number"&&isNaN(r)===!1){var a=n[e]||Sa[e];return a&&!(r===0&&a===f)?typeof a=="function"?a(r).toString():""+r+a:r.toString()}return r}function Pa(e){e===void 0&&(e={});var r=Dn(e);function n(i,o){if(o.type!=="style")return i;for(var a in i)i[a]=_e(a,i[a],r);return i}function t(i,o){return _e(o,i,r)}return{onProcessStyle:n,onChangeValue:t}}var Ln=Pa;var Ra={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0},wa={position:!0,size:!0},cr={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}},ct={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},"border-bottom":{width:"border-bottom-width",style:"border-bottom-style",color:"border-bottom-color"},"border-top":{width:"border-top-width",style:"border-top-style",color:"border-top-color"},"border-left":{width:"border-left-width",style:"border-left-style",color:"border-left-color"},"border-right":{width:"border-right-width",style:"border-right-style",color:"border-right-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}};function Ca(e,r,n){return e.map(function(t){return Fn(t,r,n,!1,!0)})}function Vn(e,r,n,t){return n[r]==null?e:e.length===0?[]:Array.isArray(e[0])?Vn(e[0],r,n,t):typeof e[0]=="object"?Ca(e,r,t):[e]}function Fn(e,r,n,t,i){if(!(cr[r]||ct[r]))return[];var o=[];if(ct[r]&&(e=Ea(e,n,ct[r],t)),Object.keys(e).length)for(var a in cr[r]){if(e[a]){Array.isArray(e[a])?o.push(wa[a]===null?e[a]:e[a].join(" ")):o.push(e[a]);continue}cr[r][a]!=null&&o.push(cr[r][a])}return!o.length||i?o:[o]}function Ea(e,r,n,t){for(var i in n){var o=n[i];if(typeof e[i]<"u"&&(t||!r.prop(o))){var a,s=Ae((a={},a[o]=e[i],a),r)[o];t?r.style.fallbacks[o]=s:r.style[o]=s}delete e[i]}return e}function Ae(e,r,n){for(var t in e){var i=e[t];if(Array.isArray(i)){if(!Array.isArray(i[0])){if(t==="fallbacks"){for(var o=0;o<e.fallbacks.length;o++)e.fallbacks[o]=Ae(e.fallbacks[o],r,!0);continue}e[t]=Vn(i,t,Ra,r),e[t].length||delete e[t]}}else if(typeof i=="object"){if(t==="fallbacks"){e.fallbacks=Ae(e.fallbacks,r,!0);continue}e[t]=Fn(i,t,r,n),e[t].length||delete e[t]}else e[t]===""&&delete e[t]}return e}function Oa(){function e(r,n){if(!r||n.type!=="style")return r;if(Array.isArray(r)){for(var t=0;t<r.length;t++)r[t]=Ae(r[t],n);return r}return Ae(r,n)}return{onProcessStyle:e}}var Wn=Oa;function Ie(e,r){(r==null||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function $n(e){if(Array.isArray(e))return Ie(e)}function zn(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bn(e,r){if(e){if(typeof e=="string")return Ie(e,r);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ie(e,r):void 0}}function Un(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
13
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qn(e){return $n(e)||zn(e)||Bn(e)||Un()}var je="",dt="",Gn="",Kn="",Ta=ie&&"ontouchstart"in document.documentElement;if(ie){dr={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Hn=document.createElement("p"),pr=Hn.style,Yn="Transform";for(hr in dr)if(hr+Yn in pr){je=hr,dt=dr[hr];break}je==="Webkit"&&"msHyphens"in pr&&(je="ms",dt=dr.ms,Kn="edge"),je==="Webkit"&&"-apple-trailing-word"in pr&&(Gn="apple")}var dr,Hn,pr,Yn,hr,b={js:je,css:dt,vendor:Gn,browser:Kn,isTouch:Ta};function Xn(e){return e[1]==="-"||b.js==="ms"?e:"@"+b.css+"keyframes"+e.substr(10)}var ka={noPrefill:["appearance"],supportedProperty:function(r){return r!=="appearance"?!1:b.js==="ms"?"-webkit-"+r:b.css+r}},Na={noPrefill:["color-adjust"],supportedProperty:function(r){return r!=="color-adjust"?!1:b.js==="Webkit"?b.css+"print-"+r:r}},_a=/[-\s]+(.)?/g;function Aa(e,r){return r?r.toUpperCase():""}function pt(e){return e.replace(_a,Aa)}function ce(e){return pt("-"+e)}var Ia={noPrefill:["mask"],supportedProperty:function(r,n){if(!/^mask/.test(r))return!1;if(b.js==="Webkit"){var t="mask-image";if(pt(t)in n)return r;if(b.js+ce(t)in n)return b.css+r}return r}},ja={noPrefill:["text-orientation"],supportedProperty:function(r){return r!=="text-orientation"?!1:b.vendor==="apple"&&!b.isTouch?b.css+r:r}},Ma={noPrefill:["transform"],supportedProperty:function(r,n,t){return r!=="transform"?!1:t.transform?r:b.css+r}},Da={noPrefill:["transition"],supportedProperty:function(r,n,t){return r!=="transition"?!1:t.transition?r:b.css+r}},La={noPrefill:["writing-mode"],supportedProperty:function(r){return r!=="writing-mode"?!1:b.js==="Webkit"||b.js==="ms"&&b.browser!=="edge"?b.css+r:r}},Va={noPrefill:["user-select"],supportedProperty:function(r){return r!=="user-select"?!1:b.js==="Moz"||b.js==="ms"||b.vendor==="apple"?b.css+r:r}},Fa={supportedProperty:function(r,n){if(!/^break-/.test(r))return!1;if(b.js==="Webkit"){var t="WebkitColumn"+ce(r);return t in n?b.css+"column-"+r:!1}if(b.js==="Moz"){var i="page"+ce(r);return i in n?"page-"+r:!1}return!1}},Wa={supportedProperty:function(r,n){if(!/^(border|margin|padding)-inline/.test(r))return!1;if(b.js==="Moz")return r;var t=r.replace("-inline","");return b.js+ce(t)in n?b.css+t:!1}},$a={supportedProperty:function(r,n){return pt(r)in n?r:!1}},za={supportedProperty:function(r,n){var t=ce(r);return r[0]==="-"||r[0]==="-"&&r[1]==="-"?r:b.js+t in n?b.css+r:b.js!=="Webkit"&&"Webkit"+t in n?"-webkit-"+r:!1}},Ba={supportedProperty:function(r){return r.substring(0,11)!=="scroll-snap"?!1:b.js==="ms"?""+b.css+r:r}},Ua={supportedProperty:function(r){return r!=="overscroll-behavior"?!1:b.js==="ms"?b.css+"scroll-chaining":r}},qa={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Ha={supportedProperty:function(r,n){var t=qa[r];return t&&b.js+ce(t)in n?b.css+t:!1}},Zn={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ya=Object.keys(Zn),Ja=function(r){return b.css+r},Ga={supportedProperty:function(r,n,t){var i=t.multiple;if(Ya.indexOf(r)>-1){var o=Zn[r];if(!Array.isArray(o))return b.js+ce(o)in n?b.css+o:!1;if(!i)return!1;for(var a=0;a<o.length;a++)if(!(b.js+ce(o[0])in n))return!1;return o.map(Ja)}return!1}},Qn=[ka,Na,Ia,ja,Ma,Da,La,Va,Fa,Wa,$a,za,Ba,Ua,Ha,Ga],Jn=Qn.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),Ka=Qn.filter(function(e){return e.noPrefill}).reduce(function(e,r){return e.push.apply(e,qn(r.noPrefill)),e},[]),Me,ve={};if(ie){Me=document.createElement("p"),mr=window.getComputedStyle(document.documentElement,"");for(vr in mr)isNaN(vr)||(ve[mr[vr]]=mr[vr]);Ka.forEach(function(e){return delete ve[e]})}var mr,vr;function yr(e,r){if(r===void 0&&(r={}),!Me)return e;if(process.env.NODE_ENV!=="benchmark"&&ve[e]!=null)return ve[e];(e==="transition"||e==="transform")&&(r[e]=e in Me.style);for(var n=0;n<Jn.length&&(ve[e]=Jn[n](e,Me.style,r),!ve[e]);n++);try{Me.style[e]=""}catch{return!1}return ve[e]}var we={},Xa={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Za=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,le;function Qa(e,r,n){if(r==="var")return"var";if(r==="all")return"all";if(n==="all")return", all";var t=r?yr(r):", "+yr(n);return t||r||n}ie&&(le=document.createElement("p"));function ht(e,r){var n=r;if(!le||e==="content")return r;if(typeof n!="string"||!isNaN(parseInt(n,10)))return n;var t=e+n;if(process.env.NODE_ENV!=="benchmark"&&we[t]!=null)return we[t];try{le.style[e]=n}catch{return we[t]=!1,!1}if(Xa[e])n=n.replace(Za,Qa);else if(le.style[e]===""&&(n=b.css+n,n==="-ms-flex"&&(le.style[e]="-ms-flexbox"),le.style[e]=n,le.style[e]===""))return we[t]=!1,!1;return le.style[e]="",we[t]=n,we[t]}function es(){function e(i){if(i.type==="keyframes"){var o=i;o.at=Xn(o.at)}}function r(i){for(var o in i){var a=i[o];if(o==="fallbacks"&&Array.isArray(a)){i[o]=a.map(r);continue}var s=!1,u=yr(o);u&&u!==o&&(s=!0);var l=!1,d=ht(u,ue(a));d&&d!==a&&(l=!0),(s||l)&&(s&&delete i[o],i[u||o]=d||a)}return i}function n(i,o){return o.type!=="style"?i:r(i)}function t(i,o){return ht(o,ue(i))||i}return{onProcessRule:e,onProcessStyle:n,onChangeValue:t}}var ei=es;function rs(){var e=function(n,t){return n.length===t.length?n>t?1:-1:n.length-t.length};return{onProcessStyle:function(n,t){if(t.type!=="style")return n;for(var i={},o=Object.keys(n).sort(e),a=0;a<o.length;a++)i[o[a]]=n[o[a]];return i}}}var ri=rs;var ts=function(r){return r===void 0&&(r={}),{plugins:[Cn(),On(r.observable),Tn(),Nn(),_n(),In(),jn(),Mn(),Ln(r.defaultUnit),Wn(),ei(),ri()]}},gr=ts;function ns(e){var r={};return function(n){return r[n]===void 0&&(r[n]=e(n)),r[n]}}var ti=ns;var is=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Hf=ti(function(e){return is.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var os=1e4,as=Ne(gr()),ss=function(r){r===void 0&&(r=as);var n=new Map,t=0,i,o=function(){return(!i||i.rules.index.length>os)&&(i=r.createStyleSheet().attach()),i};function a(){var s=arguments,u=JSON.stringify(s),l=n.get(u);if(l)return l.className;var d=[];for(var p in s){var v=s[p];if(!Array.isArray(v)){d.push(v);continue}for(var y=0;y<v.length;y++)d.push(v[y])}for(var C={},S=[],L=0;L<d.length;L++){var F=d[L];if(F){var _=F;if(typeof F=="string"){var W=n.get(F);W&&(W.labels.length&&S.push.apply(S,W.labels),_=W.style)}_.label&&S.indexOf(_.label)===-1&&S.push(_.label),Object.assign(C,_)}}delete C.label;var g=S.length===0?"css":S.join("-"),$=g+"-"+t++;o().addRule($,C);var z=o().classes[$],q={style:C,labels:S,className:z};return n.set(u,q),n.set(z,q),z}return a.getSheet=o,a},us=ss(),ni=us;var ls=Number.MIN_SAFE_INTEGER||-1e9,cs=function(){return ls++},ds=(0,V.createContext)({classNamePrefix:"",disableStylesGeneration:!1,isSSR:!ie}),ii=new Map,vt=function(r,n){var t=r.managers;if(t)return t[n]||(t[n]=new et),t[n];var i=ii.get(n);return i||(i=new et,ii.set(n,i)),i},oi=function(r){var n=r.sheet,t=r.context,i=r.index,o=r.theme;if(n){var a=vt(t,i);a.manage(o),t.registry&&t.registry.add(n)}},ps=function(r){if(r.sheet){var n=vt(r.context,r.index);n.unmanage(r.theme)}},hs=Ne(gr()),si=new WeakMap,ui=function(r){return si.get(r)},ms=function(r,n){si.set(r,n)},vs=function(r){var n=r.styles;return typeof n!="function"?n:(process.env.NODE_ENV!=="production"&&N(n.length!==0,"[JSS] <"+(r.name||"Hook")+` />'s styles function doesn't rely on the "theme" argument. We recommend declaring styles as an object instead.`),n(r.theme))};function ys(e,r){var n;e.context.id&&e.context.id.minify!=null&&(n=e.context.id.minify);var t=e.context.classNamePrefix||"";e.name&&!n&&(t+=e.name.replace(/\s/g,"-")+"-");var i="";return e.name&&(i=e.name+", "),i+=typeof e.styles=="function"?"Themed":"Unthemed",M({},e.sheetOptions,{index:e.index,meta:i,classNamePrefix:t,link:r,generateId:e.sheetOptions&&e.sheetOptions.generateId?e.sheetOptions.generateId:e.context.generateId})}var gs=function(r){if(!r.context.disableStylesGeneration){var n=vt(r.context,r.index),t=n.get(r.theme);if(t)return t;var i=r.context.jss||hs,o=vs(r),a=rt(o),s=i.createStyleSheet(o,ys(r,a!==null));return ms(s,{dynamicStyles:a,styles:o}),n.add(r.theme,s),s}},bs=function(r,n){for(var t in n)r.deleteRule(n[t])},xs=function(r,n,t){for(var i in t)n.updateOne(t[i],r)},Ss=function(r,n){var t=ui(r);if(t){var i={};for(var o in t.dynamicStyles)for(var a=r.rules.index.length,s=r.addRule(o,t.dynamicStyles[o]),u=a;u<r.rules.index.length;u++){var l=r.rules.index[u];r.updateOne(l,n),i[s===l?o:l.key]=l}return i}},Ps=function(r,n){if(!n)return r.classes;var t=ui(r);if(!t)return r.classes;var i={};for(var o in t.styles)i[o]=r.classes[o],o in n&&(i[o]+=" "+r.classes[n[o].key]);return i};function ai(e){return e?V.useEffect:V.default.useInsertionEffect||V.useLayoutEffect}var mt={},Y=function(r,n){n===void 0&&(n={});var t=n,i=t.index,o=i===void 0?cs():i,a=t.theming,s=t.name,u=$e(t,["index","theming","name"]),l=a&&a.context||Wr,d=function(y){return typeof r=="function"&&(y||(0,V.useContext)(l))||mt},p={};return function(y){var C=(0,V.useRef)(!0),S=(0,V.useContext)(ds),L=d(y&&y.theme),F=(0,V.useMemo)(function(){var $=gs({context:S,styles:r,name:s,theme:L,index:o,sheetOptions:u});return $&&S.isSSR&&oi({index:o,context:S,sheet:$,theme:L}),[$,$?Ss($,y):null]},[S,L]),_=F[0],W=F[1];ai(S.isSSR)(function(){_&&W&&!C.current&&xs(y,_,W)},[y]),ai(S.isSSR)(function(){return _&&oi({index:o,context:S,sheet:_,theme:L}),function(){_&&(ps({index:o,context:S,sheet:_,theme:L}),W&&bs(_,W))}},[_]);var g=(0,V.useMemo)(function(){return _&&W?Ps(_,W):p},[_,W]);return(0,V.useDebugValue)(g),(0,V.useDebugValue)(L===mt?"No theme":L),(0,V.useEffect)(function(){C.current=!1}),g}};var fl=Symbol("react-jss-styled");var Rs=function(r){return r===void 0&&(r=ni),function(t,i){var o=arguments;if(i&&i.css){var a=r(i.css),s=Object.assign({},i);s.className=i.className?i.className+" "+a:a,delete s.css,o[1]=s}return V.createElement.apply(void 0,o)}},ll=Rs();var U="teknify";var yt=require("react/jsx-runtime"),ws=e=>(0,yt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",...e,children:(0,yt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"})}),gt=ws;var bt=require("react/jsx-runtime"),Cs=e=>(0,bt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",...e,children:(0,bt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"})}),xt=Cs;var St=require("react/jsx-runtime"),Es=e=>(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",...e,children:(0,St.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),Pt=Es;var De=require("react/jsx-runtime"),Os=Y({button:e=>({width:40,height:40,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",backgroundColor:"#fff",border:"none",cursor:"pointer",transition:"all 0.2s ease-in-out",position:"relative","&:hover":{backgroundColor:"#f5f5f5"},...e.active&&{backgroundColor:"#f1f1f1"}}),badge:{position:"absolute",top:0,right:0,padding:"2px 6px",height:18,minWidth:18,backgroundColor:"red",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:100,color:"#fff",fontSize:10,visibility:"hidden",opacity:0,transition:"all 0.2s ease-in-out",scale:.8,userSelect:"none"},badgeOpen:{visibility:"visible",opacity:1,scale:1}},{name:U}),Ts=({className:e,counts:r,active:n,...t})=>{let i=Os({counts:r,active:n}),o=(0,Rt.useMemo)(()=>r<=99?`${r}`:"99+",[r]),a=(0,Rt.useMemo)(()=>r>0,[r]);return(0,De.jsxs)("button",{...t,className:`${i.button} ${e}`,children:[(0,De.jsx)(xt,{width:24,height:24}),(0,De.jsx)("div",{className:D(i.badge,a&&i.badgeOpen),children:o})]})},br=Ts;var fi=require("react/jsx-runtime"),ks=Y({button:e=>({textDecoration:"none",background:`var(--${e.variant}-color)`,borderRadius:"var(--border-radius)",color:e.variant==="tertiary"?"#000":"#fff",fontWeight:500,border:"none",cursor:"pointer",fontSize:12,...e.icon?{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"}:{minWidth:100,padding:"8px 12px"},"&:hover":{background:`var(--${e.variant}-color-darker)`}})},{name:U}),Ns=({className:e,variant:r="tertiary",icon:n=!1,...t})=>{let i=ks({variant:r,icon:n});return(0,fi.jsx)("button",{...t,className:D(i.button,e)})},te=Ns;var li=require("react/jsx-runtime"),_s=Y({empty:{textAlign:"center",padding:"20px 0"}},{name:U}),As=()=>{let e=_s();return(0,li.jsx)("div",{className:D(e.empty),children:"No notifications"})},xr=As;var Ve=require("react"),yi=ae(require("react-infinite-scroller"),1);var J=require("react");var Is=require("@tnf-dev/js"),wt=require("react");var js=require("react/jsx-runtime"),ci=(0,wt.createContext)({applicationId:"",subscriberId:""});var di=()=>{let{client:e}=(0,J.useContext)(ci),[r,n]=(0,J.useState)([]),[t,i]=(0,J.useState)(!1),[o,a]=(0,J.useState)(null),[s,u]=(0,J.useState)(!1),[l,d]=(0,J.useState)(!0),[p,v]=(0,J.useState)(!0),[y,C]=(0,J.useState)(),[S,L]=(0,J.useState)(0),F=(0,J.useCallback)(async g=>{try{await e.notification.markAsRead(g),n($=>$.map(z=>z._id===g?{...z,isRead:!0}:z))}catch{}},[]),_=(0,J.useCallback)(async()=>{if(!s)try{u(!0);let g=await e.notification.getNotifications({...y?{cursor:y}:{}});n($=>[...$,...g.data.filter(z=>!$.find(q=>q._id===z._id)).map(z=>({...z,markAsRead:()=>F(z._id)}))]),v(!!g.pagination.continueCursor),C(g.pagination.continueCursor),L(g.unread)}catch(g){i(!0),g instanceof Error?a(g):a(new Error("Unknown error"))}finally{u(!1),d(!1)}},[s,y,F]);(0,J.useEffect)(()=>{_()},[]),(0,J.useEffect)(()=>{let g=$=>{n(z=>[...$.filter(q=>{let de=z.findIndex(Q=>Q._id===q._id);return de&&(z[de]={...q,markAsRead:()=>F(q._id)}),de===-1}).map(q=>({...q,markAsRead:()=>F(q._id)})),...z])};return e.notification.on(g),()=>{e.notification.off(g)}},[F]);let W=(0,J.useCallback)(()=>{_()},[_]);return{notifications:r,isLoading:s,isFirstLoad:l,isError:t,error:o,hasMore:p,unread:S,fetchMore:W}};var pi=require("react/jsx-runtime"),Ms=Y({loader:{textAlign:"center",padding:"20px 0"}}),Ds=()=>{let e=Ms();return(0,pi.jsx)("div",{className:D(e.loader),children:"Loading..."})},Sr=Ds;var Le=require("react/jsx-runtime"),Ls=Y({notificationHeader:{padding:"10px 15px",borderBottom:"1px solid #0001",display:"flex",justifyContent:"space-between",background:"var(--card-background-color)",borderRadius:"5px 5px 0 0",height:36,alignItems:"center"},notificationHeaderTitle:{fontSize:15,fontWeight:600,flex:1}},{name:U}),Vs=()=>{let e=Ls();return(0,Le.jsxs)("div",{className:D(e.notificationHeader),children:[(0,Le.jsx)("h2",{className:D(e.notificationHeaderTitle),children:"Notifications"}),(0,Le.jsx)("div",{})]})},Pr=Vs;var mi=ae(require("sanitize-html"),1);var ye=require("react/jsx-runtime"),Fs=Y({actions:{position:"absolute",top:5,right:5,display:"flex",gap:5,padding:0,background:"#fafafa",borderRadius:5},button:{background:"transparent","&:hover":{background:"#fafafa"}}},{name:U}),Ws=({notification:e})=>{let r=Fs();return(0,ye.jsxs)("div",{className:D(r.actions,`${U}-actions`),children:[!e.isRead&&(0,ye.jsx)(te,{icon:!0,onClick:e.markAsRead,className:D(r.button),children:(0,ye.jsx)(Pt,{width:12,height:12})}),(0,ye.jsx)(te,{icon:!0,className:D(r.button),children:(0,ye.jsx)(gt,{width:12,height:12})})]})},hi=Ws;var K=require("react/jsx-runtime"),$s=Y({notificationItem:{padding:"10px 15px",display:"flex",flexWrap:"wrap",columnGap:10,flexDirection:"column",margin:10,background:"var(--card-background-color)",borderRadius:10,border:"1px solid #ddd",position:"relative",[`& .${U}-actions`]:{visibility:"hidden",opacity:0,transition:"0.3s ease-in-out"},[`&:hover .${U}-actions`]:{visibility:"visible",opacity:1}},notificationItemImage:{width:24,height:24,objectFit:"cover"},notificationItemTitle:{fontSize:14,fontWeight:600,paddingBottom:5,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},notificationItemBody:{fontSize:14,lineClamp:2,overflow:"hidden",textOverflow:"ellipsis"},notificationItemActions:{display:"flex",gap:8,marginTop:10,alignItems:"center",justifyContent:"flex-end",width:"100%"},unreadDot:{width:7,height:7,borderRadius:100,background:"var(--primary-color)",position:"relative","&::before":{content:'""',position:"absolute",top:-3,left:-3,width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:100,background:"var(--primary-color)",opacity:.2}}},{name:U}),zs=({notification:e})=>{let r=$s();return(0,K.jsxs)("div",{className:D(r.notificationItem),children:[(0,K.jsxs)("div",{style:{display:"flex",gap:10,width:"100%"},children:[(0,K.jsx)("div",{children:e.icon&&(0,K.jsx)("img",{src:e.icon,alt:e.title,width:32,height:32,className:D(r.notificationItemImage)})}),(0,K.jsxs)("div",{style:{flex:1,overflow:"hidden"},children:[(0,K.jsx)("h3",{className:D(r.notificationItemTitle),children:e.title}),(0,K.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,mi.default)(e.message)},className:D(r.notificationItemBody)})]}),!e.isRead&&(0,K.jsx)("div",{className:D(r.unreadDot)})]}),(0,K.jsxs)("div",{className:D(r.notificationItemActions),children:[e.secondary_action&&(0,K.jsx)("a",{href:e.secondary_action.href,target:e.secondary_action.target,rel:e.secondary_action.rel,children:(0,K.jsx)(te,{variant:"secondary",children:e.secondary_action.label})}),e.primary_action&&(0,K.jsx)("a",{href:e.primary_action.href,target:e.primary_action.target,rel:e.primary_action.rel,children:(0,K.jsx)(te,{variant:"primary",children:e.primary_action.label})})]}),(0,K.jsx)(hi,{notification:e})]})},Rr=zs;var ne=require("react");var vi=require("react/jsx-runtime"),Bs=Y({popover:{width:"100%",height:"100%",maxWidth:400,maxHeight:500,boxShadow:"0 10px 40px #0001",position:"fixed",background:"#fff",borderRadius:10,visibility:"hidden",opacity:0,scale:.8,transition:"all 0.3s",backgroundColor:"var(--background-color)",border:"1px solid var(--card-background-color)"},popoverOpen:{top:0,left:0,visibility:"visible",opacity:1,scale:1}},{name:U}),Us=({open:e,anchorElement:r,onClose:n,children:t})=>{let i=Bs(),[o,a]=(0,ne.useState)(null),[s,u]=(0,ne.useState)(typeof window>"u"?0:window.innerWidth),l=(0,ne.useMemo)(()=>{if(!r)return 0;let v=r.getBoundingClientRect();return v.top+v.height+20},[r,s]),d=(0,ne.useMemo)(()=>r?r.getBoundingClientRect().left+10:0,[r,s]),p=(0,ne.useMemo)(()=>{if(!o||!r)return!0;let v=r.getBoundingClientRect(),y=o.getBoundingClientRect();return v.left+y.width>s},[o,r,s]);return(0,ne.useEffect)(()=>{let v=()=>{e&&(n==null||n())};return window.addEventListener("click",v),()=>{window.removeEventListener("click",v)}},[e]),(0,ne.useEffect)(()=>{let v=()=>{u(window.innerWidth)};return window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}},[]),(0,vi.jsx)("div",{className:D(i.popover,e&&i.popoverOpen),style:{top:l,left:d,...p?{transform:"translateX(calc(-100% + 20px))"}:{}},ref:a,onClick:v=>{v.stopPropagation()},children:t})},wr=Us;var B=require("react/jsx-runtime"),qs=Y({inboxContent:{height:"100%",display:"flex",flexDirection:"column"},inboxContentList:{flex:1,overflowY:"auto"}},{name:U}),Hs={Bell:br,Button:te,NotificationHeader:Pr,Empty:xr,Loader:Sr,NotificationItem:Rr,NotificationPopover:wr},Ys=({components:e})=>{let[r,n]=(0,Ve.useState)(null),[t,i]=(0,Ve.useState)(!1),{Bell:o,Empty:a,Loader:s,NotificationHeader:u,NotificationItem:l,NotificationPopover:d}={...Hs,...e},p=(0,Ve.useCallback)(()=>{i(g=>!g)},[]),{notifications:v,unread:y,isFirstLoad:C,hasMore:S,fetchMore:L,isError:F,error:_}=di(),W=qs();return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(o,{onClick:g=>{g.stopPropagation(),p()},ref:n,active:t,counts:y}),(0,B.jsx)(d,{open:t,anchorElement:r,onClose:p,children:(0,B.jsxs)("div",{className:D(W.inboxContent),children:[(0,B.jsx)(u,{}),(0,B.jsx)("div",{className:D(W.inboxContentList),children:(0,B.jsx)(yi.default,{loadMore:L,hasMore:S,loader:(0,B.jsx)(s,{},0),useWindow:!1,children:C?(0,B.jsx)(B.Fragment,{}):(0,B.jsx)(B.Fragment,{children:v.length?(0,B.jsx)(B.Fragment,{children:v.map(g=>(0,B.jsx)(l,{notification:g},g._id))}):(0,B.jsx)(a,{})})})})]})})]})},gi=Ys;0&&(module.exports={Bell,Button,Empty,Inbox,Loader,NotificationHeader,NotificationItem,NotificationPopover});
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qn(e){return $n(e)||zn(e)||Bn(e)||Un()}var je="",dt="",Gn="",Kn="",Ta=ie&&"ontouchstart"in document.documentElement;if(ie){dr={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Hn=document.createElement("p"),pr=Hn.style,Yn="Transform";for(hr in dr)if(hr+Yn in pr){je=hr,dt=dr[hr];break}je==="Webkit"&&"msHyphens"in pr&&(je="ms",dt=dr.ms,Kn="edge"),je==="Webkit"&&"-apple-trailing-word"in pr&&(Gn="apple")}var dr,Hn,pr,Yn,hr,b={js:je,css:dt,vendor:Gn,browser:Kn,isTouch:Ta};function Xn(e){return e[1]==="-"||b.js==="ms"?e:"@"+b.css+"keyframes"+e.substr(10)}var ka={noPrefill:["appearance"],supportedProperty:function(r){return r!=="appearance"?!1:b.js==="ms"?"-webkit-"+r:b.css+r}},Na={noPrefill:["color-adjust"],supportedProperty:function(r){return r!=="color-adjust"?!1:b.js==="Webkit"?b.css+"print-"+r:r}},_a=/[-\s]+(.)?/g;function Aa(e,r){return r?r.toUpperCase():""}function pt(e){return e.replace(_a,Aa)}function ce(e){return pt("-"+e)}var Ia={noPrefill:["mask"],supportedProperty:function(r,n){if(!/^mask/.test(r))return!1;if(b.js==="Webkit"){var t="mask-image";if(pt(t)in n)return r;if(b.js+ce(t)in n)return b.css+r}return r}},ja={noPrefill:["text-orientation"],supportedProperty:function(r){return r!=="text-orientation"?!1:b.vendor==="apple"&&!b.isTouch?b.css+r:r}},Ma={noPrefill:["transform"],supportedProperty:function(r,n,t){return r!=="transform"?!1:t.transform?r:b.css+r}},Da={noPrefill:["transition"],supportedProperty:function(r,n,t){return r!=="transition"?!1:t.transition?r:b.css+r}},La={noPrefill:["writing-mode"],supportedProperty:function(r){return r!=="writing-mode"?!1:b.js==="Webkit"||b.js==="ms"&&b.browser!=="edge"?b.css+r:r}},Va={noPrefill:["user-select"],supportedProperty:function(r){return r!=="user-select"?!1:b.js==="Moz"||b.js==="ms"||b.vendor==="apple"?b.css+r:r}},Fa={supportedProperty:function(r,n){if(!/^break-/.test(r))return!1;if(b.js==="Webkit"){var t="WebkitColumn"+ce(r);return t in n?b.css+"column-"+r:!1}if(b.js==="Moz"){var i="page"+ce(r);return i in n?"page-"+r:!1}return!1}},Wa={supportedProperty:function(r,n){if(!/^(border|margin|padding)-inline/.test(r))return!1;if(b.js==="Moz")return r;var t=r.replace("-inline","");return b.js+ce(t)in n?b.css+t:!1}},$a={supportedProperty:function(r,n){return pt(r)in n?r:!1}},za={supportedProperty:function(r,n){var t=ce(r);return r[0]==="-"||r[0]==="-"&&r[1]==="-"?r:b.js+t in n?b.css+r:b.js!=="Webkit"&&"Webkit"+t in n?"-webkit-"+r:!1}},Ba={supportedProperty:function(r){return r.substring(0,11)!=="scroll-snap"?!1:b.js==="ms"?""+b.css+r:r}},Ua={supportedProperty:function(r){return r!=="overscroll-behavior"?!1:b.js==="ms"?b.css+"scroll-chaining":r}},qa={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Ha={supportedProperty:function(r,n){var t=qa[r];return t&&b.js+ce(t)in n?b.css+t:!1}},Zn={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ya=Object.keys(Zn),Ja=function(r){return b.css+r},Ga={supportedProperty:function(r,n,t){var i=t.multiple;if(Ya.indexOf(r)>-1){var o=Zn[r];if(!Array.isArray(o))return b.js+ce(o)in n?b.css+o:!1;if(!i)return!1;for(var a=0;a<o.length;a++)if(!(b.js+ce(o[0])in n))return!1;return o.map(Ja)}return!1}},Qn=[ka,Na,Ia,ja,Ma,Da,La,Va,Fa,Wa,$a,za,Ba,Ua,Ha,Ga],Jn=Qn.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),Ka=Qn.filter(function(e){return e.noPrefill}).reduce(function(e,r){return e.push.apply(e,qn(r.noPrefill)),e},[]),Me,ve={};if(ie){Me=document.createElement("p"),mr=window.getComputedStyle(document.documentElement,"");for(vr in mr)isNaN(vr)||(ve[mr[vr]]=mr[vr]);Ka.forEach(function(e){return delete ve[e]})}var mr,vr;function yr(e,r){if(r===void 0&&(r={}),!Me)return e;if(process.env.NODE_ENV!=="benchmark"&&ve[e]!=null)return ve[e];(e==="transition"||e==="transform")&&(r[e]=e in Me.style);for(var n=0;n<Jn.length&&(ve[e]=Jn[n](e,Me.style,r),!ve[e]);n++);try{Me.style[e]=""}catch{return!1}return ve[e]}var we={},Xa={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Za=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,le;function Qa(e,r,n){if(r==="var")return"var";if(r==="all")return"all";if(n==="all")return", all";var t=r?yr(r):", "+yr(n);return t||r||n}ie&&(le=document.createElement("p"));function ht(e,r){var n=r;if(!le||e==="content")return r;if(typeof n!="string"||!isNaN(parseInt(n,10)))return n;var t=e+n;if(process.env.NODE_ENV!=="benchmark"&&we[t]!=null)return we[t];try{le.style[e]=n}catch{return we[t]=!1,!1}if(Xa[e])n=n.replace(Za,Qa);else if(le.style[e]===""&&(n=b.css+n,n==="-ms-flex"&&(le.style[e]="-ms-flexbox"),le.style[e]=n,le.style[e]===""))return we[t]=!1,!1;return le.style[e]="",we[t]=n,we[t]}function es(){function e(i){if(i.type==="keyframes"){var o=i;o.at=Xn(o.at)}}function r(i){for(var o in i){var a=i[o];if(o==="fallbacks"&&Array.isArray(a)){i[o]=a.map(r);continue}var s=!1,u=yr(o);u&&u!==o&&(s=!0);var l=!1,d=ht(u,ue(a));d&&d!==a&&(l=!0),(s||l)&&(s&&delete i[o],i[u||o]=d||a)}return i}function n(i,o){return o.type!=="style"?i:r(i)}function t(i,o){return ht(o,ue(i))||i}return{onProcessRule:e,onProcessStyle:n,onChangeValue:t}}var ei=es;function rs(){var e=function(n,t){return n.length===t.length?n>t?1:-1:n.length-t.length};return{onProcessStyle:function(n,t){if(t.type!=="style")return n;for(var i={},o=Object.keys(n).sort(e),a=0;a<o.length;a++)i[o[a]]=n[o[a]];return i}}}var ri=rs;var ts=function(r){return r===void 0&&(r={}),{plugins:[Cn(),On(r.observable),Tn(),Nn(),_n(),In(),jn(),Mn(),Ln(r.defaultUnit),Wn(),ei(),ri()]}},gr=ts;function ns(e){var r={};return function(n){return r[n]===void 0&&(r[n]=e(n)),r[n]}}var ti=ns;var is=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Hf=ti(function(e){return is.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var os=1e4,as=Ne(gr()),ss=function(r){r===void 0&&(r=as);var n=new Map,t=0,i,o=function(){return(!i||i.rules.index.length>os)&&(i=r.createStyleSheet().attach()),i};function a(){var s=arguments,u=JSON.stringify(s),l=n.get(u);if(l)return l.className;var d=[];for(var p in s){var v=s[p];if(!Array.isArray(v)){d.push(v);continue}for(var y=0;y<v.length;y++)d.push(v[y])}for(var C={},S=[],L=0;L<d.length;L++){var F=d[L];if(F){var _=F;if(typeof F=="string"){var z=n.get(F);z&&(z.labels.length&&S.push.apply(S,z.labels),_=z.style)}_.label&&S.indexOf(_.label)===-1&&S.push(_.label),Object.assign(C,_)}}delete C.label;var g=S.length===0?"css":S.join("-"),B=g+"-"+t++;o().addRule(B,C);var W=o().classes[B],$={style:C,labels:S,className:W};return n.set(u,$),n.set(W,$),W}return a.getSheet=o,a},us=ss(),ni=us;var ls=Number.MIN_SAFE_INTEGER||-1e9,cs=function(){return ls++},ds=(0,V.createContext)({classNamePrefix:"",disableStylesGeneration:!1,isSSR:!ie}),ii=new Map,vt=function(r,n){var t=r.managers;if(t)return t[n]||(t[n]=new et),t[n];var i=ii.get(n);return i||(i=new et,ii.set(n,i)),i},oi=function(r){var n=r.sheet,t=r.context,i=r.index,o=r.theme;if(n){var a=vt(t,i);a.manage(o),t.registry&&t.registry.add(n)}},ps=function(r){if(r.sheet){var n=vt(r.context,r.index);n.unmanage(r.theme)}},hs=Ne(gr()),si=new WeakMap,ui=function(r){return si.get(r)},ms=function(r,n){si.set(r,n)},vs=function(r){var n=r.styles;return typeof n!="function"?n:(process.env.NODE_ENV!=="production"&&N(n.length!==0,"[JSS] <"+(r.name||"Hook")+` />'s styles function doesn't rely on the "theme" argument. We recommend declaring styles as an object instead.`),n(r.theme))};function ys(e,r){var n;e.context.id&&e.context.id.minify!=null&&(n=e.context.id.minify);var t=e.context.classNamePrefix||"";e.name&&!n&&(t+=e.name.replace(/\s/g,"-")+"-");var i="";return e.name&&(i=e.name+", "),i+=typeof e.styles=="function"?"Themed":"Unthemed",M({},e.sheetOptions,{index:e.index,meta:i,classNamePrefix:t,link:r,generateId:e.sheetOptions&&e.sheetOptions.generateId?e.sheetOptions.generateId:e.context.generateId})}var gs=function(r){if(!r.context.disableStylesGeneration){var n=vt(r.context,r.index),t=n.get(r.theme);if(t)return t;var i=r.context.jss||hs,o=vs(r),a=rt(o),s=i.createStyleSheet(o,ys(r,a!==null));return ms(s,{dynamicStyles:a,styles:o}),n.add(r.theme,s),s}},bs=function(r,n){for(var t in n)r.deleteRule(n[t])},xs=function(r,n,t){for(var i in t)n.updateOne(t[i],r)},Ss=function(r,n){var t=ui(r);if(t){var i={};for(var o in t.dynamicStyles)for(var a=r.rules.index.length,s=r.addRule(o,t.dynamicStyles[o]),u=a;u<r.rules.index.length;u++){var l=r.rules.index[u];r.updateOne(l,n),i[s===l?o:l.key]=l}return i}},Ps=function(r,n){if(!n)return r.classes;var t=ui(r);if(!t)return r.classes;var i={};for(var o in t.styles)i[o]=r.classes[o],o in n&&(i[o]+=" "+r.classes[n[o].key]);return i};function ai(e){return e?V.useEffect:V.default.useInsertionEffect||V.useLayoutEffect}var mt={},Y=function(r,n){n===void 0&&(n={});var t=n,i=t.index,o=i===void 0?cs():i,a=t.theming,s=t.name,u=$e(t,["index","theming","name"]),l=a&&a.context||Wr,d=function(y){return typeof r=="function"&&(y||(0,V.useContext)(l))||mt},p={};return function(y){var C=(0,V.useRef)(!0),S=(0,V.useContext)(ds),L=d(y&&y.theme),F=(0,V.useMemo)(function(){var B=gs({context:S,styles:r,name:s,theme:L,index:o,sheetOptions:u});return B&&S.isSSR&&oi({index:o,context:S,sheet:B,theme:L}),[B,B?Ss(B,y):null]},[S,L]),_=F[0],z=F[1];ai(S.isSSR)(function(){_&&z&&!C.current&&xs(y,_,z)},[y]),ai(S.isSSR)(function(){return _&&oi({index:o,context:S,sheet:_,theme:L}),function(){_&&(ps({index:o,context:S,sheet:_,theme:L}),z&&bs(_,z))}},[_]);var g=(0,V.useMemo)(function(){return _&&z?Ps(_,z):p},[_,z]);return(0,V.useDebugValue)(g),(0,V.useDebugValue)(L===mt?"No theme":L),(0,V.useEffect)(function(){C.current=!1}),g}};var fl=Symbol("react-jss-styled");var Rs=function(r){return r===void 0&&(r=ni),function(t,i){var o=arguments;if(i&&i.css){var a=r(i.css),s=Object.assign({},i);s.className=i.className?i.className+" "+a:a,delete s.css,o[1]=s}return V.createElement.apply(void 0,o)}},ll=Rs();var q="teknify";var yt=require("react/jsx-runtime"),ws=e=>(0,yt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",...e,children:(0,yt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"})}),gt=ws;var bt=require("react/jsx-runtime"),Cs=e=>(0,bt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",...e,children:(0,bt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"})}),xt=Cs;var St=require("react/jsx-runtime"),Es=e=>(0,St.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",...e,children:(0,St.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),Pt=Es;var De=require("react/jsx-runtime"),Os=Y({button:e=>({width:40,height:40,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",backgroundColor:"#fff",border:"none",cursor:"pointer",transition:"all 0.2s ease-in-out",position:"relative","&:hover":{backgroundColor:"#f5f5f5"},...e.active&&{backgroundColor:"#f1f1f1"}}),badge:{position:"absolute",top:0,right:0,padding:"2px 6px",height:18,minWidth:18,backgroundColor:"red",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:100,color:"#fff",fontSize:10,visibility:"hidden",opacity:0,transition:"all 0.2s ease-in-out",scale:.8,userSelect:"none"},badgeOpen:{visibility:"visible",opacity:1,scale:1}},{name:q}),Ts=({className:e,counts:r,active:n,...t})=>{let i=Os({counts:r,active:n}),o=(0,Rt.useMemo)(()=>r<=99?`${r}`:"99+",[r]),a=(0,Rt.useMemo)(()=>r>0,[r]);return(0,De.jsxs)("button",{...t,className:`${i.button} ${e}`,children:[(0,De.jsx)(xt,{width:24,height:24}),(0,De.jsx)("div",{className:D(i.badge,a&&i.badgeOpen),children:o})]})},br=Ts;var fi=require("react/jsx-runtime"),ks=Y({button:e=>({textDecoration:"none",background:`var(--${e.variant}-color)`,borderRadius:"var(--border-radius)",color:e.variant==="tertiary"?"#000":"#fff",fontWeight:500,border:"none",cursor:"pointer",fontSize:12,...e.icon?{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"}:{minWidth:100,padding:"8px 12px"},"&:hover":{background:`var(--${e.variant}-color-darker)`}})},{name:q}),Ns=({className:e,variant:r="tertiary",icon:n=!1,...t})=>{let i=ks({variant:r,icon:n});return(0,fi.jsx)("button",{...t,className:D(i.button,e)})},te=Ns;var li=require("react/jsx-runtime"),_s=Y({empty:{textAlign:"center",padding:"20px 0"}},{name:q}),As=()=>{let e=_s();return(0,li.jsx)("div",{className:D(e.empty),children:"No notifications"})},xr=As;var Ve=require("react"),yi=ae(require("react-infinite-scroller"),1);var J=require("react");var Is=require("@teknify/js"),wt=require("react");var js=require("react/jsx-runtime"),ci=(0,wt.createContext)({applicationId:"",subscriberId:""});var di=()=>{let{client:e}=(0,J.useContext)(ci),[r,n]=(0,J.useState)([]),[t,i]=(0,J.useState)(!1),[o,a]=(0,J.useState)(null),[s,u]=(0,J.useState)(!1),[l,d]=(0,J.useState)(!0),[p,v]=(0,J.useState)(!0),[y,C]=(0,J.useState)(),[S,L]=(0,J.useState)(0),F=(0,J.useCallback)(async g=>{try{n(B=>B.map(W=>W._id===g?{...W,isRead:!0}:W)),await e.notification.markAsRead(g)}catch{n(W=>W.map($=>$._id===g?{...$,isRead:!1}:$))}},[]),_=(0,J.useCallback)(async()=>{if(!s)try{u(!0);let g=await e.notification.getNotifications({...y?{cursor:y}:{}});n(B=>[...B,...g.data.filter(W=>!B.find($=>$._id===W._id)).map(W=>({...W,markAsRead:()=>F(W._id)}))]),v(!!g.pagination.continueCursor),C(g.pagination.continueCursor),L(g.unread)}catch(g){i(!0),g instanceof Error?a(g):a(new Error("Unknown error"))}finally{u(!1),d(!1)}},[s,y,F]);(0,J.useEffect)(()=>{_()},[]),(0,J.useEffect)(()=>{let g=B=>{n(W=>[...B.filter($=>{let de=W.findIndex(Q=>Q._id===$._id);return de&&(W[de]={...$,markAsRead:()=>F($._id)}),de===-1}).map($=>({...$,markAsRead:()=>F($._id)})),...W])};return e.notification.on(g),()=>{e.notification.off(g)}},[F]);let z=(0,J.useCallback)(()=>{_()},[_]);return{notifications:r,isLoading:s,isFirstLoad:l,isError:t,error:o,hasMore:p,unread:S,fetchMore:z}};var pi=require("react/jsx-runtime"),Ms=Y({loader:{textAlign:"center",padding:"20px 0"}}),Ds=()=>{let e=Ms();return(0,pi.jsx)("div",{className:D(e.loader),children:"Loading..."})},Sr=Ds;var Le=require("react/jsx-runtime"),Ls=Y({notificationHeader:{padding:"10px 15px",borderBottom:"1px solid #0001",display:"flex",justifyContent:"space-between",background:"var(--card-background-color)",borderRadius:"5px 5px 0 0",height:36,alignItems:"center"},notificationHeaderTitle:{fontSize:15,fontWeight:600,flex:1}},{name:q}),Vs=()=>{let e=Ls();return(0,Le.jsxs)("div",{className:D(e.notificationHeader),children:[(0,Le.jsx)("h2",{className:D(e.notificationHeaderTitle),children:"Notifications"}),(0,Le.jsx)("div",{})]})},Pr=Vs;var mi=ae(require("sanitize-html"),1);var ye=require("react/jsx-runtime"),Fs=Y({actions:{position:"absolute",top:5,right:5,display:"flex",gap:5,padding:0,background:"#fafafa",borderRadius:5},button:{background:"transparent","&:hover":{background:"#fafafa"}}},{name:q}),Ws=({notification:e})=>{let r=Fs();return(0,ye.jsxs)("div",{className:D(r.actions,`${q}-actions`),children:[!e.isRead&&(0,ye.jsx)(te,{icon:!0,onClick:e.markAsRead,className:D(r.button),children:(0,ye.jsx)(Pt,{width:12,height:12})}),(0,ye.jsx)(te,{icon:!0,className:D(r.button),children:(0,ye.jsx)(gt,{width:12,height:12})})]})},hi=Ws;var K=require("react/jsx-runtime"),$s=Y({notificationItem:{padding:"10px 15px",display:"flex",flexWrap:"wrap",columnGap:10,flexDirection:"column",margin:10,background:"var(--card-background-color)",borderRadius:10,border:"1px solid #ddd",position:"relative",[`& .${q}-actions`]:{visibility:"hidden",opacity:0,transition:"0.3s ease-in-out"},[`&:hover .${q}-actions`]:{visibility:"visible",opacity:1}},notificationItemImage:{width:24,height:24,objectFit:"cover"},notificationItemTitle:{fontSize:14,fontWeight:600,paddingBottom:5,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},notificationItemBody:{fontSize:14,lineClamp:2,overflow:"hidden",textOverflow:"ellipsis"},notificationItemActions:{display:"flex",gap:8,marginTop:10,alignItems:"center",justifyContent:"flex-end",width:"100%"},unreadDot:{width:7,height:7,borderRadius:100,background:"var(--primary-color)",position:"relative","&::before":{content:'""',position:"absolute",top:-3,left:-3,width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:100,background:"var(--primary-color)",opacity:.2}}},{name:q}),zs=({notification:e})=>{let r=$s();return(0,K.jsxs)("div",{className:D(r.notificationItem),children:[(0,K.jsxs)("div",{style:{display:"flex",gap:10,width:"100%"},children:[(0,K.jsx)("div",{children:e.icon&&(0,K.jsx)("img",{src:e.icon,alt:e.title,width:32,height:32,className:D(r.notificationItemImage)})}),(0,K.jsxs)("div",{style:{flex:1,overflow:"hidden"},children:[(0,K.jsx)("h3",{className:D(r.notificationItemTitle),children:e.title}),(0,K.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,mi.default)(e.message)},className:D(r.notificationItemBody)})]}),!e.isRead&&(0,K.jsx)("div",{className:D(r.unreadDot)})]}),(0,K.jsxs)("div",{className:D(r.notificationItemActions),children:[e.secondary_action&&(0,K.jsx)("a",{href:e.secondary_action.href,target:e.secondary_action.target,rel:e.secondary_action.rel,children:(0,K.jsx)(te,{variant:"secondary",children:e.secondary_action.label})}),e.primary_action&&(0,K.jsx)("a",{href:e.primary_action.href,target:e.primary_action.target,rel:e.primary_action.rel,children:(0,K.jsx)(te,{variant:"primary",children:e.primary_action.label})})]}),(0,K.jsx)(hi,{notification:e})]})},Rr=zs;var ne=require("react");var vi=require("react/jsx-runtime"),Bs=Y({popover:{width:"100%",height:"100%",maxWidth:400,maxHeight:500,boxShadow:"0 10px 40px #0001",position:"fixed",background:"#fff",borderRadius:10,visibility:"hidden",opacity:0,scale:.8,transition:"all 0.3s",backgroundColor:"var(--background-color)",border:"1px solid var(--card-background-color)"},popoverOpen:{top:0,left:0,visibility:"visible",opacity:1,scale:1}},{name:q}),Us=({open:e,anchorElement:r,onClose:n,children:t})=>{let i=Bs(),[o,a]=(0,ne.useState)(null),[s,u]=(0,ne.useState)(typeof window>"u"?0:window.innerWidth),l=(0,ne.useMemo)(()=>{if(!r)return 0;let v=r.getBoundingClientRect();return v.top+v.height+20},[r,s]),d=(0,ne.useMemo)(()=>r?r.getBoundingClientRect().left+10:0,[r,s]),p=(0,ne.useMemo)(()=>{if(!o||!r)return!0;let v=r.getBoundingClientRect(),y=o.getBoundingClientRect();return v.left+y.width>s},[o,r,s]);return(0,ne.useEffect)(()=>{let v=()=>{e&&(n==null||n())};return window.addEventListener("click",v),()=>{window.removeEventListener("click",v)}},[e]),(0,ne.useEffect)(()=>{let v=()=>{u(window.innerWidth)};return window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}},[]),(0,vi.jsx)("div",{className:D(i.popover,e&&i.popoverOpen),style:{top:l,left:d,...p?{transform:"translateX(calc(-100% + 20px))"}:{}},ref:a,onClick:v=>{v.stopPropagation()},children:t})},wr=Us;var U=require("react/jsx-runtime"),qs=Y({inboxContent:{height:"100%",display:"flex",flexDirection:"column"},inboxContentList:{flex:1,overflowY:"auto"}},{name:q}),Hs={Bell:br,Button:te,NotificationHeader:Pr,Empty:xr,Loader:Sr,NotificationItem:Rr,NotificationPopover:wr},Ys=({components:e})=>{let[r,n]=(0,Ve.useState)(null),[t,i]=(0,Ve.useState)(!1),{Bell:o,Empty:a,Loader:s,NotificationHeader:u,NotificationItem:l,NotificationPopover:d}={...Hs,...e},p=(0,Ve.useCallback)(()=>{i(g=>!g)},[]),{notifications:v,unread:y,isFirstLoad:C,hasMore:S,fetchMore:L,isError:F,error:_}=di(),z=qs();return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(o,{onClick:g=>{g.stopPropagation(),p()},ref:n,active:t,counts:y}),(0,U.jsx)(d,{open:t,anchorElement:r,onClose:p,children:(0,U.jsxs)("div",{className:D(z.inboxContent),children:[(0,U.jsx)(u,{}),(0,U.jsx)("div",{className:D(z.inboxContentList),children:(0,U.jsx)(yi.default,{loadMore:L,hasMore:S,loader:(0,U.jsx)(s,{},0),useWindow:!1,children:C?(0,U.jsx)(U.Fragment,{}):(0,U.jsx)(U.Fragment,{children:v.length?(0,U.jsx)(U.Fragment,{children:v.map(g=>(0,U.jsx)(l,{notification:g},g._id))}):(0,U.jsx)(a,{})})})})]})})]})},gi=Ys;0&&(module.exports={Bell,Button,Empty,Inbox,Loader,NotificationHeader,NotificationItem,NotificationPopover});
14
14
  /*! Bundled license information:
15
15
 
16
16
  react-is/cjs/react-is.production.min.js:
@@ -8,4 +8,4 @@ export { default as NotificationItem, NotificationItemProps } from './inbox/noti
8
8
  export { default as NotificationPopover, NotificationPopoverProps } from './inbox/popover.cjs';
9
9
  import 'react';
10
10
  import '../dto/notifications/notification.interface.cjs';
11
- import '@tnf-dev/core';
11
+ import '@teknify/core';
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  "use strict";var Bn=Object.create;var Ee=Object.defineProperty;var Xn=Object.getOwnPropertyDescriptor;var Zn=Object.getOwnPropertyNames;var Qn=Object.getPrototypeOf,ei=Object.prototype.hasOwnProperty;var J=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),ri=(t,r)=>{for(var n in r)Ee(t,n,{get:r[n],enumerable:!0})},tt=(t,r,n,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Zn(r))!ei.call(t,i)&&i!==n&&Ee(t,i,{get:()=>r[i],enumerable:!(e=Xn(r,i))||e.enumerable});return t};var se=(t,r,n)=>(n=t!=null?Bn(Qn(t)):{},tt(r||!t||!t.__esModule?Ee(n,"default",{value:t,enumerable:!0}):n,t)),ti=t=>tt(Ee({},"__esModule",{value:!0}),t);var at=J(A=>{"use strict";var $=typeof Symbol=="function"&&Symbol.for,cr=$?Symbol.for("react.element"):60103,dr=$?Symbol.for("react.portal"):60106,Ce=$?Symbol.for("react.fragment"):60107,Ae=$?Symbol.for("react.strict_mode"):60108,_e=$?Symbol.for("react.profiler"):60114,je=$?Symbol.for("react.provider"):60109,Ne=$?Symbol.for("react.context"):60110,hr=$?Symbol.for("react.async_mode"):60111,Ie=$?Symbol.for("react.concurrent_mode"):60111,Me=$?Symbol.for("react.forward_ref"):60112,De=$?Symbol.for("react.suspense"):60113,ii=$?Symbol.for("react.suspense_list"):60120,Ve=$?Symbol.for("react.memo"):60115,$e=$?Symbol.for("react.lazy"):60116,oi=$?Symbol.for("react.block"):60121,ai=$?Symbol.for("react.fundamental"):60117,si=$?Symbol.for("react.responder"):60118,ui=$?Symbol.for("react.scope"):60119;function q(t){if(typeof t=="object"&&t!==null){var r=t.$$typeof;switch(r){case cr:switch(t=t.type,t){case hr:case Ie:case Ce:case _e:case Ae:case De:return t;default:switch(t=t&&t.$$typeof,t){case Ne:case Me:case $e:case Ve:case je:return t;default:return r}}case dr:return r}}}function ot(t){return q(t)===Ie}A.AsyncMode=hr;A.ConcurrentMode=Ie;A.ContextConsumer=Ne;A.ContextProvider=je;A.Element=cr;A.ForwardRef=Me;A.Fragment=Ce;A.Lazy=$e;A.Memo=Ve;A.Portal=dr;A.Profiler=_e;A.StrictMode=Ae;A.Suspense=De;A.isAsyncMode=function(t){return ot(t)||q(t)===hr};A.isConcurrentMode=ot;A.isContextConsumer=function(t){return q(t)===Ne};A.isContextProvider=function(t){return q(t)===je};A.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===cr};A.isForwardRef=function(t){return q(t)===Me};A.isFragment=function(t){return q(t)===Ce};A.isLazy=function(t){return q(t)===$e};A.isMemo=function(t){return q(t)===Ve};A.isPortal=function(t){return q(t)===dr};A.isProfiler=function(t){return q(t)===_e};A.isStrictMode=function(t){return q(t)===Ae};A.isSuspense=function(t){return q(t)===De};A.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Ce||t===Ie||t===_e||t===Ae||t===De||t===ii||typeof t=="object"&&t!==null&&(t.$$typeof===$e||t.$$typeof===Ve||t.$$typeof===je||t.$$typeof===Ne||t.$$typeof===Me||t.$$typeof===ai||t.$$typeof===si||t.$$typeof===ui||t.$$typeof===oi)};A.typeOf=q});var st=J(_=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,e=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,v=t?Symbol.for("react.suspense"):60113,N=t?Symbol.for("react.suspense_list"):60120,x=t?Symbol.for("react.memo"):60115,E=t?Symbol.for("react.lazy"):60116,R=t?Symbol.for("react.block"):60121,V=t?Symbol.for("react.fundamental"):60117,L=t?Symbol.for("react.responder"):60118,I=t?Symbol.for("react.scope"):60119;function W(p){return typeof p=="string"||typeof p=="function"||p===e||p===l||p===o||p===i||p===v||p===N||typeof p=="object"&&p!==null&&(p.$$typeof===E||p.$$typeof===x||p.$$typeof===a||p.$$typeof===s||p.$$typeof===d||p.$$typeof===V||p.$$typeof===L||p.$$typeof===I||p.$$typeof===R)}function D(p){if(typeof p=="object"&&p!==null){var lr=p.$$typeof;switch(lr){case r:var Oe=p.type;switch(Oe){case u:case l:case e:case o:case i:case v:return Oe;default:var rt=Oe&&Oe.$$typeof;switch(rt){case s:case d:case E:case x:case a:return rt;default:return lr}}case n:return lr}}}var F=u,te=l,H=s,sr=a,Y=r,ne=d,ur=e,fr=E,c=x,h=n,P=o,S=i,y=v,w=!1;function g(p){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),b(p)||D(p)===u}function b(p){return D(p)===l}function T(p){return D(p)===s}function C(p){return D(p)===a}function O(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}function U(p){return D(p)===d}function z(p){return D(p)===e}function B(p){return D(p)===E}function Jn(p){return D(p)===x}function Yn(p){return D(p)===n}function Gn(p){return D(p)===o}function Hn(p){return D(p)===i}function Kn(p){return D(p)===v}_.AsyncMode=F,_.ConcurrentMode=te,_.ContextConsumer=H,_.ContextProvider=sr,_.Element=Y,_.ForwardRef=ne,_.Fragment=ur,_.Lazy=fr,_.Memo=c,_.Portal=h,_.Profiler=P,_.StrictMode=S,_.Suspense=y,_.isAsyncMode=g,_.isConcurrentMode=b,_.isContextConsumer=T,_.isContextProvider=C,_.isElement=O,_.isForwardRef=U,_.isFragment=z,_.isLazy=B,_.isMemo=Jn,_.isPortal=Yn,_.isProfiler=Gn,_.isStrictMode=Hn,_.isSuspense=Kn,_.isValidElementType=W,_.typeOf=D}()});var We=J((ss,vr)=>{"use strict";process.env.NODE_ENV==="production"?vr.exports=at():vr.exports=st()});var yr=J((us,ht)=>{"use strict";var pr=We(),fi={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},li={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ci={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ct={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},mr={};mr[pr.ForwardRef]=ci;mr[pr.Memo]=ct;function ut(t){return pr.isMemo(t)?ct:mr[t.$$typeof]||fi}var di=Object.defineProperty,hi=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,vi=Object.getOwnPropertyDescriptor,pi=Object.getPrototypeOf,lt=Object.prototype;function dt(t,r,n){if(typeof r!="string"){if(lt){var e=pi(r);e&&e!==lt&&dt(t,e,n)}var i=hi(r);ft&&(i=i.concat(ft(r)));for(var o=ut(t),a=ut(r),s=0;s<i.length;++s){var u=i[s];if(!li[u]&&!(n&&n[u])&&!(a&&a[u])&&!(o&&o[u])){var l=vi(r,u);try{di(t,u,l)}catch{}}}}return t}ht.exports=dt});var mt=J((ls,pt)=>{"use strict";var vt=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable;function Si(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function xi(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;var e=Object.getOwnPropertyNames(r).map(function(o){return r[o]});if(e.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}pt.exports=xi()?Object.assign:function(t,r){for(var n,e=Si(t),i,o=1;o<arguments.length;o++){n=Object(arguments[o]);for(var a in n)gi.call(n,a)&&(e[a]=n[a]);if(vt){i=vt(n);for(var s=0;s<i.length;s++)bi.call(n,i[s])&&(e[i[s]]=n[i[s]])}}return e}});var ze=J((cs,yt)=>{"use strict";var Pi="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";yt.exports=Pi});var gr=J((ds,gt)=>{"use strict";gt.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Rt=J((hs,Pt)=>{"use strict";var br=function(){};process.env.NODE_ENV!=="production"&&(bt=ze(),Le={},St=gr(),br=function(t){var r="Warning: "+t;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}});var bt,Le,St;function xt(t,r,n,e,i){if(process.env.NODE_ENV!=="production"){for(var o in t)if(St(t,o)){var a;try{if(typeof t[o]!="function"){var s=Error((e||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=t[o](r,o,e,n,null,bt)}catch(l){a=l}if(a&&!(a instanceof Error)&&br((e||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in Le)){Le[a.message]=!0;var u=i?i():"";br("Failed "+n+" type: "+a.message+(u??""))}}}}xt.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(Le={})};Pt.exports=xt});var Ot=J((vs,Tt)=>{"use strict";var Ri=We(),wi=mt(),ue=ze(),Sr=gr(),wt=Rt(),fe=function(){};process.env.NODE_ENV!=="production"&&(fe=function(t){var r="Warning: "+t;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}});function Ue(){return null}Tt.exports=function(t,r){var n=typeof Symbol=="function"&&Symbol.iterator,e="@@iterator";function i(c){var h=c&&(n&&c[n]||c[e]);if(typeof h=="function")return h}var o="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:v(),arrayOf:N,element:x(),elementType:E(),instanceOf:R,node:W(),objectOf:L,oneOf:V,oneOfType:I,shape:F,exact:te};function s(c,h){return c===h?c!==0||1/c===1/h:c!==c&&h!==h}function u(c,h){this.message=c,this.data=h&&typeof h=="object"?h:{},this.stack=""}u.prototype=Error.prototype;function l(c){if(process.env.NODE_ENV!=="production")var h={},P=0;function S(w,g,b,T,C,O,U){if(T=T||o,O=O||b,U!==ue){if(r){var z=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw z.name="Invariant Violation",z}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var B=T+":"+b;!h[B]&&P<3&&(fe("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+T+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),h[B]=!0,P++)}}return g[b]==null?w?g[b]===null?new u("The "+C+" `"+O+"` is marked as required "+("in `"+T+"`, but its value is `null`.")):new u("The "+C+" `"+O+"` is marked as required in "+("`"+T+"`, but its value is `undefined`.")):null:c(g,b,T,C,O)}var y=S.bind(null,!1);return y.isRequired=S.bind(null,!0),y}function d(c){function h(P,S,y,w,g,b){var T=P[S],C=Y(T);if(C!==c){var O=ne(T);return new u("Invalid "+w+" `"+g+"` of type "+("`"+O+"` supplied to `"+y+"`, expected ")+("`"+c+"`."),{expectedType:c})}return null}return l(h)}function v(){return l(Ue)}function N(c){function h(P,S,y,w,g){if(typeof c!="function")return new u("Property `"+g+"` of component `"+y+"` has invalid PropType notation inside arrayOf.");var b=P[S];if(!Array.isArray(b)){var T=Y(b);return new u("Invalid "+w+" `"+g+"` of type "+("`"+T+"` supplied to `"+y+"`, expected an array."))}for(var C=0;C<b.length;C++){var O=c(b,C,y,w,g+"["+C+"]",ue);if(O instanceof Error)return O}return null}return l(h)}function x(){function c(h,P,S,y,w){var g=h[P];if(!t(g)){var b=Y(g);return new u("Invalid "+y+" `"+w+"` of type "+("`"+b+"` supplied to `"+S+"`, expected a single ReactElement."))}return null}return l(c)}function E(){function c(h,P,S,y,w){var g=h[P];if(!Ri.isValidElementType(g)){var b=Y(g);return new u("Invalid "+y+" `"+w+"` of type "+("`"+b+"` supplied to `"+S+"`, expected a single ReactElement type."))}return null}return l(c)}function R(c){function h(P,S,y,w,g){if(!(P[S]instanceof c)){var b=c.name||o,T=fr(P[S]);return new u("Invalid "+w+" `"+g+"` of type "+("`"+T+"` supplied to `"+y+"`, expected ")+("instance of `"+b+"`."))}return null}return l(h)}function V(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&(arguments.length>1?fe("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):fe("Invalid argument supplied to oneOf, expected an array.")),Ue;function h(P,S,y,w,g){for(var b=P[S],T=0;T<c.length;T++)if(s(b,c[T]))return null;var C=JSON.stringify(c,function(U,z){var B=ne(z);return B==="symbol"?String(z):z});return new u("Invalid "+w+" `"+g+"` of value `"+String(b)+"` "+("supplied to `"+y+"`, expected one of "+C+"."))}return l(h)}function L(c){function h(P,S,y,w,g){if(typeof c!="function")return new u("Property `"+g+"` of component `"+y+"` has invalid PropType notation inside objectOf.");var b=P[S],T=Y(b);if(T!=="object")return new u("Invalid "+w+" `"+g+"` of type "+("`"+T+"` supplied to `"+y+"`, expected an object."));for(var C in b)if(Sr(b,C)){var O=c(b,C,y,w,g+"."+C,ue);if(O instanceof Error)return O}return null}return l(h)}function I(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&fe("Invalid argument supplied to oneOfType, expected an instance of array."),Ue;for(var h=0;h<c.length;h++){var P=c[h];if(typeof P!="function")return fe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ur(P)+" at index "+h+"."),Ue}function S(y,w,g,b,T){for(var C=[],O=0;O<c.length;O++){var U=c[O],z=U(y,w,g,b,T,ue);if(z==null)return null;z.data&&Sr(z.data,"expectedType")&&C.push(z.data.expectedType)}var B=C.length>0?", expected one of type ["+C.join(", ")+"]":"";return new u("Invalid "+b+" `"+T+"` supplied to "+("`"+g+"`"+B+"."))}return l(S)}function W(){function c(h,P,S,y,w){return H(h[P])?null:new u("Invalid "+y+" `"+w+"` supplied to "+("`"+S+"`, expected a ReactNode."))}return l(c)}function D(c,h,P,S,y){return new u((c||"React class")+": "+h+" type `"+P+"."+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+y+"`.")}function F(c){function h(P,S,y,w,g){var b=P[S],T=Y(b);if(T!=="object")return new u("Invalid "+w+" `"+g+"` of type `"+T+"` "+("supplied to `"+y+"`, expected `object`."));for(var C in c){var O=c[C];if(typeof O!="function")return D(y,w,g,C,ne(O));var U=O(b,C,y,w,g+"."+C,ue);if(U)return U}return null}return l(h)}function te(c){function h(P,S,y,w,g){var b=P[S],T=Y(b);if(T!=="object")return new u("Invalid "+w+" `"+g+"` of type `"+T+"` "+("supplied to `"+y+"`, expected `object`."));var C=wi({},P[S],c);for(var O in C){var U=c[O];if(Sr(c,O)&&typeof U!="function")return D(y,w,g,O,ne(U));if(!U)return new u("Invalid "+w+" `"+g+"` key `"+O+"` supplied to `"+y+"`.\nBad object: "+JSON.stringify(P[S],null," ")+`
3
- Valid keys: `+JSON.stringify(Object.keys(c),null," "));var z=U(b,O,y,w,g+"."+O,ue);if(z)return z}return null}return l(h)}function H(c){switch(typeof c){case"number":case"string":case"undefined":return!0;case"boolean":return!c;case"object":if(Array.isArray(c))return c.every(H);if(c===null||t(c))return!0;var h=i(c);if(h){var P=h.call(c),S;if(h!==c.entries){for(;!(S=P.next()).done;)if(!H(S.value))return!1}else for(;!(S=P.next()).done;){var y=S.value;if(y&&!H(y[1]))return!1}}else return!1;return!0;default:return!1}}function sr(c,h){return c==="symbol"?!0:h?h["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&h instanceof Symbol:!1}function Y(c){var h=typeof c;return Array.isArray(c)?"array":c instanceof RegExp?"object":sr(h,c)?"symbol":h}function ne(c){if(typeof c>"u"||c===null)return""+c;var h=Y(c);if(h==="object"){if(c instanceof Date)return"date";if(c instanceof RegExp)return"regexp"}return h}function ur(c){var h=ne(c);switch(h){case"array":case"object":return"an "+h;case"boolean":case"date":case"regexp":return"a "+h;default:return h}}function fr(c){return!c.constructor||!c.constructor.name?o:c.constructor.name}return a.checkPropTypes=wt,a.resetWarningCache=wt.resetWarningCache,a.PropTypes=a,a}});var At=J((ps,Ct)=>{"use strict";var Ti=ze();function Et(){}function kt(){}kt.resetWarningCache=Et;Ct.exports=function(){function t(e,i,o,a,s,u){if(u!==Ti){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}t.isRequired=t;function r(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:kt,resetWarningCache:Et};return n.PropTypes=n,n}});var Nt=J((ms,xr)=>{"use strict";process.env.NODE_ENV!=="production"?(_t=We(),jt=!0,xr.exports=Ot()(_t.isElement,jt)):xr.exports=At()();var _t,jt});var It=J(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.default=Oi;function Oi(t){return t.displayName||t.name||(typeof t=="string"&&t.length>0?t:"Unknown")}});var es={};ri(es,{TeknifyContext:()=>Fn,default:()=>Qa});module.exports=ti(es);var qn=require("@tnf-dev/js"),ar=require("react");function nt(t){var r,n,e="";if(typeof t=="string"||typeof t=="number")e+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=nt(t[r]))&&(e&&(e+=" "),e+=n)}else for(n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function ni(){for(var t,r,n=0,e="",i=arguments.length;n<i;n++)(t=arguments[n])&&(r=nt(t))&&(e&&(e+=" "),e+=r);return e}var it=ni;function j(){return j=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)({}).hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},j.apply(null,arguments)}function ke(t,r){if(t==null)return{};var n={};for(var e in t)if({}.hasOwnProperty.call(t,e)){if(r.indexOf(e)!==-1)continue;n[e]=t[e]}return n}var M=se(require("react")),Ma=se(yr());var G=se(require("react"));var mi=process.env.NODE_ENV==="production";function yi(t,r){if(!mi){if(t)return;var n="Warning: "+r;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var k=yi;var pe=se(Nt()),Mt=se(yr()),Dt=se(It());function qe(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function Fe(){return Fe=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},Fe.apply(this,arguments)}function Ei(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function X(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Je(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function ki(t){var r=function(n){Ei(e,n);function e(){for(var o,a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=n.call.apply(n,[this].concat(s))||this,qe(X(X(o)),"cachedTheme",void 0),qe(X(X(o)),"lastOuterTheme",void 0),qe(X(X(o)),"lastTheme",void 0),qe(X(X(o)),"renderProvider",function(l){var d=o.props.children;return G.default.createElement(t.Provider,{value:o.getTheme(l)},d)}),o}var i=e.prototype;return i.getTheme=function(a){if(this.props.theme!==this.lastTheme||a!==this.lastOuterTheme||!this.cachedTheme)if(this.lastOuterTheme=a,this.lastTheme=this.props.theme,typeof this.lastTheme=="function"){var s=this.props.theme;this.cachedTheme=s(a),process.env.NODE_ENV!=="production"&&k(Je(this.cachedTheme),"[ThemeProvider] Please return an object from your theme function")}else{var u=this.props.theme;process.env.NODE_ENV!=="production"&&k(Je(u),"[ThemeProvider] Please make your theme prop a plain object"),this.cachedTheme=a?Fe({},a,u):u}return this.cachedTheme},i.render=function(){var a=this.props.children;return a?G.default.createElement(t.Consumer,null,this.renderProvider):null},e}(G.default.Component);return process.env.NODE_ENV!=="production"&&(r.propTypes={children:pe.default.node,theme:pe.default.oneOfType([pe.default.shape({}),pe.default.func]).isRequired}),r}function Ci(t){return function(n){var e=G.default.forwardRef(function(i,o){return G.default.createElement(t.Consumer,null,function(a){return process.env.NODE_ENV!=="production"&&k(Je(a),"[theming] Please use withTheme only with the ThemeProvider"),G.default.createElement(n,Fe({theme:a,ref:o},i))})});return process.env.NODE_ENV!=="production"&&(e.displayName="WithTheme("+(0,Dt.default)(n)+")"),(0,Mt.default)(e,n),e}}function Ai(t){var r=function(){var e=G.default.useContext(t);return process.env.NODE_ENV!=="production"&&k(Je(e),"[theming] Please use useTheme only with the ThemeProvider"),e};return r}function Vt(t){return{context:t,withTheme:Ci(t),useTheme:Ai(t),ThemeProvider:ki(t)}}var Rr=(0,G.createContext)(),wr=Vt(Rr),_i=wr.withTheme,ji=wr.ThemeProvider,Ni=wr.useTheme;var $t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ii=(typeof window>"u"?"undefined":$t(window))==="object"&&(typeof document>"u"?"undefined":$t(document))==="object"&&document.nodeType===9,K=Ii;function ie(t){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ie(t)}function Wt(t,r){if(ie(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var e=n.call(t,r||"default");if(ie(e)!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function zt(t){var r=Wt(t,"string");return ie(r)=="symbol"?r:r+""}function Lt(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,zt(e.key),e)}}function Ye(t,r,n){return r&&Lt(t.prototype,r),n&&Lt(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ge(t,r){return Ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},Ge(t,r)}function Tr(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,Ge(t,r)}function Or(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Mi={}.constructor;function Cr(t){if(t==null||typeof t!="object")return t;if(Array.isArray(t))return t.map(Cr);if(t.constructor!==Mi)return t;var r={};for(var n in t)r[n]=Cr(t[n]);return r}function le(t,r,n){t===void 0&&(t="unnamed");var e=n.jss,i=Cr(r),o=e.plugins.onCreateRule(t,i,n);return o||(t[0]==="@"&&process.env.NODE_ENV!=="production"&&k(!1,"[JSS] Unknown rule "+t),null)}var Ut=function(r,n){for(var e="",i=0;i<r.length&&r[i]!=="!important";i++)e&&(e+=n),e+=r[i];return e},Z=function(r){if(!Array.isArray(r))return r;var n="";if(Array.isArray(r[0]))for(var e=0;e<r.length&&r[e]!=="!important";e++)n&&(n+=", "),n+=Ut(r[e]," ");else n=Ut(r,", ");return r[r.length-1]==="!important"&&(n+=" !important"),n};function ce(t){return t&&t.format===!1?{linebreak:"",space:""}:{linebreak:`
3
+ Valid keys: `+JSON.stringify(Object.keys(c),null," "));var z=U(b,O,y,w,g+"."+O,ue);if(z)return z}return null}return l(h)}function H(c){switch(typeof c){case"number":case"string":case"undefined":return!0;case"boolean":return!c;case"object":if(Array.isArray(c))return c.every(H);if(c===null||t(c))return!0;var h=i(c);if(h){var P=h.call(c),S;if(h!==c.entries){for(;!(S=P.next()).done;)if(!H(S.value))return!1}else for(;!(S=P.next()).done;){var y=S.value;if(y&&!H(y[1]))return!1}}else return!1;return!0;default:return!1}}function sr(c,h){return c==="symbol"?!0:h?h["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&h instanceof Symbol:!1}function Y(c){var h=typeof c;return Array.isArray(c)?"array":c instanceof RegExp?"object":sr(h,c)?"symbol":h}function ne(c){if(typeof c>"u"||c===null)return""+c;var h=Y(c);if(h==="object"){if(c instanceof Date)return"date";if(c instanceof RegExp)return"regexp"}return h}function ur(c){var h=ne(c);switch(h){case"array":case"object":return"an "+h;case"boolean":case"date":case"regexp":return"a "+h;default:return h}}function fr(c){return!c.constructor||!c.constructor.name?o:c.constructor.name}return a.checkPropTypes=wt,a.resetWarningCache=wt.resetWarningCache,a.PropTypes=a,a}});var At=J((ps,Ct)=>{"use strict";var Ti=ze();function Et(){}function kt(){}kt.resetWarningCache=Et;Ct.exports=function(){function t(e,i,o,a,s,u){if(u!==Ti){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}t.isRequired=t;function r(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:kt,resetWarningCache:Et};return n.PropTypes=n,n}});var Nt=J((ms,xr)=>{"use strict";process.env.NODE_ENV!=="production"?(_t=We(),jt=!0,xr.exports=Ot()(_t.isElement,jt)):xr.exports=At()();var _t,jt});var It=J(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.default=Oi;function Oi(t){return t.displayName||t.name||(typeof t=="string"&&t.length>0?t:"Unknown")}});var es={};ri(es,{TeknifyContext:()=>Fn,default:()=>Qa});module.exports=ti(es);var qn=require("@teknify/js"),ar=require("react");function nt(t){var r,n,e="";if(typeof t=="string"||typeof t=="number")e+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=nt(t[r]))&&(e&&(e+=" "),e+=n)}else for(n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function ni(){for(var t,r,n=0,e="",i=arguments.length;n<i;n++)(t=arguments[n])&&(r=nt(t))&&(e&&(e+=" "),e+=r);return e}var it=ni;function j(){return j=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)({}).hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},j.apply(null,arguments)}function ke(t,r){if(t==null)return{};var n={};for(var e in t)if({}.hasOwnProperty.call(t,e)){if(r.indexOf(e)!==-1)continue;n[e]=t[e]}return n}var M=se(require("react")),Ma=se(yr());var G=se(require("react"));var mi=process.env.NODE_ENV==="production";function yi(t,r){if(!mi){if(t)return;var n="Warning: "+r;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var k=yi;var pe=se(Nt()),Mt=se(yr()),Dt=se(It());function qe(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function Fe(){return Fe=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},Fe.apply(this,arguments)}function Ei(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function X(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Je(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function ki(t){var r=function(n){Ei(e,n);function e(){for(var o,a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=n.call.apply(n,[this].concat(s))||this,qe(X(X(o)),"cachedTheme",void 0),qe(X(X(o)),"lastOuterTheme",void 0),qe(X(X(o)),"lastTheme",void 0),qe(X(X(o)),"renderProvider",function(l){var d=o.props.children;return G.default.createElement(t.Provider,{value:o.getTheme(l)},d)}),o}var i=e.prototype;return i.getTheme=function(a){if(this.props.theme!==this.lastTheme||a!==this.lastOuterTheme||!this.cachedTheme)if(this.lastOuterTheme=a,this.lastTheme=this.props.theme,typeof this.lastTheme=="function"){var s=this.props.theme;this.cachedTheme=s(a),process.env.NODE_ENV!=="production"&&k(Je(this.cachedTheme),"[ThemeProvider] Please return an object from your theme function")}else{var u=this.props.theme;process.env.NODE_ENV!=="production"&&k(Je(u),"[ThemeProvider] Please make your theme prop a plain object"),this.cachedTheme=a?Fe({},a,u):u}return this.cachedTheme},i.render=function(){var a=this.props.children;return a?G.default.createElement(t.Consumer,null,this.renderProvider):null},e}(G.default.Component);return process.env.NODE_ENV!=="production"&&(r.propTypes={children:pe.default.node,theme:pe.default.oneOfType([pe.default.shape({}),pe.default.func]).isRequired}),r}function Ci(t){return function(n){var e=G.default.forwardRef(function(i,o){return G.default.createElement(t.Consumer,null,function(a){return process.env.NODE_ENV!=="production"&&k(Je(a),"[theming] Please use withTheme only with the ThemeProvider"),G.default.createElement(n,Fe({theme:a,ref:o},i))})});return process.env.NODE_ENV!=="production"&&(e.displayName="WithTheme("+(0,Dt.default)(n)+")"),(0,Mt.default)(e,n),e}}function Ai(t){var r=function(){var e=G.default.useContext(t);return process.env.NODE_ENV!=="production"&&k(Je(e),"[theming] Please use useTheme only with the ThemeProvider"),e};return r}function Vt(t){return{context:t,withTheme:Ci(t),useTheme:Ai(t),ThemeProvider:ki(t)}}var Rr=(0,G.createContext)(),wr=Vt(Rr),_i=wr.withTheme,ji=wr.ThemeProvider,Ni=wr.useTheme;var $t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ii=(typeof window>"u"?"undefined":$t(window))==="object"&&(typeof document>"u"?"undefined":$t(document))==="object"&&document.nodeType===9,K=Ii;function ie(t){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ie(t)}function Wt(t,r){if(ie(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var e=n.call(t,r||"default");if(ie(e)!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function zt(t){var r=Wt(t,"string");return ie(r)=="symbol"?r:r+""}function Lt(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,zt(e.key),e)}}function Ye(t,r,n){return r&&Lt(t.prototype,r),n&&Lt(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ge(t,r){return Ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},Ge(t,r)}function Tr(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,Ge(t,r)}function Or(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Mi={}.constructor;function Cr(t){if(t==null||typeof t!="object")return t;if(Array.isArray(t))return t.map(Cr);if(t.constructor!==Mi)return t;var r={};for(var n in t)r[n]=Cr(t[n]);return r}function le(t,r,n){t===void 0&&(t="unnamed");var e=n.jss,i=Cr(r),o=e.plugins.onCreateRule(t,i,n);return o||(t[0]==="@"&&process.env.NODE_ENV!=="production"&&k(!1,"[JSS] Unknown rule "+t),null)}var Ut=function(r,n){for(var e="",i=0;i<r.length&&r[i]!=="!important";i++)e&&(e+=n),e+=r[i];return e},Z=function(r){if(!Array.isArray(r))return r;var n="";if(Array.isArray(r[0]))for(var e=0;e<r.length&&r[e]!=="!important";e++)n&&(n+=", "),n+=Ut(r[e]," ");else n=Ut(r,", ");return r[r.length-1]==="!important"&&(n+=" !important"),n};function ce(t){return t&&t.format===!1?{linebreak:"",space:""}:{linebreak:`
4
4
  `,space:" "}}function me(t,r){for(var n="",e=0;e<r;e++)n+=" ";return n+t}function ge(t,r,n){n===void 0&&(n={});var e="";if(!r)return e;var i=n,o=i.indent,a=o===void 0?0:o,s=r.fallbacks;n.format===!1&&(a=-1/0);var u=ce(n),l=u.linebreak,d=u.space;if(t&&a++,s)if(Array.isArray(s))for(var v=0;v<s.length;v++){var N=s[v];for(var x in N){var E=N[x];E!=null&&(e&&(e+=l),e+=me(x+":"+d+Z(E)+";",a))}}else for(var R in s){var V=s[R];V!=null&&(e&&(e+=l),e+=me(R+":"+d+Z(V)+";",a))}for(var L in r){var I=r[L];I!=null&&L!=="fallbacks"&&(e&&(e+=l),e+=me(L+":"+d+Z(I)+";",a))}return!e&&!n.allowEmpty||!t?e:(a--,e&&(e=""+l+e+l),me(""+t+d+"{"+e,a)+me("}",a))}var Di=/([[\].#*$><+~=|^:(),"'`\s])/g,qt=typeof CSS<"u"&&CSS.escape,Dr=function(t){return qt?qt(t):t.replace(Di,"\\$1")},Bt=function(){function t(n,e,i){this.type="style",this.isProcessed=!1;var o=i.sheet,a=i.Renderer;this.key=n,this.options=i,this.style=e,o?this.renderer=o.renderer:a&&(this.renderer=new a)}var r=t.prototype;return r.prop=function(e,i,o){if(i===void 0)return this.style[e];var a=o?o.force:!1;if(!a&&this.style[e]===i)return this;var s=i;(!o||o.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(i,e,this));var u=s==null||s===!1,l=e in this.style;if(u&&!l&&!a)return this;var d=u&&l;if(d?delete this.style[e]:this.style[e]=s,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,s),this;var v=this.options.sheet;return v&&v.attached&&process.env.NODE_ENV!=="production"&&k(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},t}(),Ar=function(t){Tr(r,t);function r(e,i,o){var a;a=t.call(this,e,i,o)||this;var s=o.selector,u=o.scoped,l=o.sheet,d=o.generateId;return s?a.selectorText=s:u!==!1&&(a.id=d(Or(Or(a)),l),a.selectorText="."+Dr(a.id)),a}var n=r.prototype;return n.applyTo=function(i){var o=this.renderer;if(o){var a=this.toJSON();for(var s in a)o.setProperty(i,s,a[s])}return this},n.toJSON=function(){var i={};for(var o in this.style){var a=this.style[o];typeof a!="object"?i[o]=a:Array.isArray(a)&&(i[o]=Z(a))}return i},n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?j({},i,{allowEmpty:!0}):i;return ge(this.selectorText,this.style,s)},Ye(r,[{key:"selector",set:function(i){if(i!==this.selectorText){this.selectorText=i;var o=this.renderer,a=this.renderable;if(!(!a||!o)){var s=o.setSelector(a,i);s||o.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),r}(Bt),Vi={onCreateRule:function(r,n,e){return r[0]==="@"||e.parent&&e.parent.type==="keyframes"?null:new Ar(r,n,e)}},Er={indent:1,children:!0},$i=/@([\w-]+)/,Wi=function(){function t(n,e,i){this.type="conditional",this.isProcessed=!1,this.key=n;var o=n.match($i);this.at=o?o[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new be(j({},i,{parent:this}));for(var a in e)this.rules.add(a,e[a]);this.rules.process()}var r=t.prototype;return r.getRule=function(e){return this.rules.get(e)},r.indexOf=function(e){return this.rules.indexOf(e)},r.addRule=function(e,i,o){var a=this.rules.add(e,i,o);return a?(this.options.jss.plugins.onProcessRule(a),a):null},r.replaceRule=function(e,i,o){var a=this.rules.replace(e,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},r.toString=function(e){e===void 0&&(e=Er);var i=ce(e),o=i.linebreak;if(e.indent==null&&(e.indent=Er.indent),e.children==null&&(e.children=Er.children),e.children===!1)return this.query+" {}";var a=this.rules.toString(e);return a?this.query+" {"+o+a+o+"}":""},t}(),zi=/@container|@media|@supports\s+/,Li={onCreateRule:function(r,n,e){return zi.test(r)?new Wi(r,n,e):null}},kr={indent:1,children:!0},Ui=/@keyframes\s+([\w-]+)/,_r=function(){function t(n,e,i){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=n.match(Ui);o&&o[1]?this.name=o[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&k(!1,"[JSS] Bad keyframes name "+n)),this.key=this.type+"-"+this.name,this.options=i;var a=i.scoped,s=i.sheet,u=i.generateId;this.id=a===!1?this.name:Dr(u(this,s)),this.rules=new be(j({},i,{parent:this}));for(var l in e)this.rules.add(l,e[l],j({},i,{parent:this}));this.rules.process()}var r=t.prototype;return r.toString=function(e){e===void 0&&(e=kr);var i=ce(e),o=i.linebreak;if(e.indent==null&&(e.indent=kr.indent),e.children==null&&(e.children=kr.children),e.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(e);return a&&(a=""+o+a+o),this.at+" "+this.id+" {"+a+"}"},t}(),qi=/@keyframes\s+/,Fi=/\$([\w-]+)/g,jr=function(r,n){return typeof r=="string"?r.replace(Fi,function(e,i){return i in n?n[i]:(process.env.NODE_ENV!=="production"&&k(!1,'[JSS] Referenced keyframes rule "'+i+'" is not defined.'),e)}):r},Ft=function(r,n,e){var i=r[n],o=jr(i,e);o!==i&&(r[n]=o)},Ji={onCreateRule:function(r,n,e){return typeof r=="string"&&qi.test(r)?new _r(r,n,e):null},onProcessStyle:function(r,n,e){return n.type!=="style"||!e||("animation-name"in r&&Ft(r,"animation-name",e.keyframes),"animation"in r&&Ft(r,"animation",e.keyframes)),r},onChangeValue:function(r,n,e){var i=e.options.sheet;if(!i)return r;switch(n){case"animation":return jr(r,i.keyframes);case"animation-name":return jr(r,i.keyframes);default:return r}}},Yi=function(t){Tr(r,t);function r(){return t.apply(this,arguments)||this}var n=r.prototype;return n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?j({},i,{allowEmpty:!0}):i;return ge(this.key,this.style,s)},r}(Bt),Gi={onCreateRule:function(r,n,e){return e.parent&&e.parent.type==="keyframes"?new Yi(r,n,e):null}},Hi=function(){function t(n,e,i){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=e,this.options=i}var r=t.prototype;return r.toString=function(e){var i=ce(e),o=i.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s<this.style.length;s++)a+=ge(this.at,this.style[s]),this.style[s+1]&&(a+=o);return a}return ge(this.at,this.style,e)},t}(),Ki=/@font-face/,Bi={onCreateRule:function(r,n,e){return Ki.test(r)?new Hi(r,n,e):null}},Xi=function(){function t(n,e,i){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=n,this.style=e,this.options=i}var r=t.prototype;return r.toString=function(e){return ge(this.key,this.style,e)},t}(),Zi={onCreateRule:function(r,n,e){return r==="@viewport"||r==="@-ms-viewport"?new Xi(r,n,e):null}},Qi=function(){function t(n,e,i){this.type="simple",this.isProcessed=!1,this.key=n,this.value=e,this.options=i}var r=t.prototype;return r.toString=function(e){if(Array.isArray(this.value)){for(var i="",o=0;o<this.value.length;o++)i+=this.key+" "+this.value[o]+";",this.value[o+1]&&(i+=`
5
5
  `);return i}return this.key+" "+this.value+";"},t}(),eo={"@charset":!0,"@import":!0,"@namespace":!0},ro={onCreateRule:function(r,n,e){return r in eo?new Qi(r,n,e):null}},Jt=[Vi,Li,Ji,Gi,Bi,Zi,ro],to={process:!0},Yt={force:!0,process:!0},be=function(){function t(n){this.map={},this.raw={},this.index=[],this.counter=0,this.options=n,this.classes=n.classes,this.keyframes=n.keyframes}var r=t.prototype;return r.add=function(e,i,o){var a=this.options,s=a.parent,u=a.sheet,l=a.jss,d=a.Renderer,v=a.generateId,N=a.scoped,x=j({classes:this.classes,parent:s,sheet:u,jss:l,Renderer:d,generateId:v,scoped:N,name:e,keyframes:this.keyframes,selector:void 0},o),E=e;e in this.raw&&(E=e+"-d"+this.counter++),this.raw[E]=i,E in this.classes&&(x.selector="."+Dr(this.classes[E]));var R=le(E,i,x);if(!R)return null;this.register(R);var V=x.index===void 0?this.index.length:x.index;return this.index.splice(V,0,R),R},r.replace=function(e,i,o){var a=this.get(e),s=this.index.indexOf(a);a&&this.remove(a);var u=o;return s!==-1&&(u=j({},o,{index:s})),this.add(e,i,u)},r.get=function(e){return this.map[e]},r.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},r.indexOf=function(e){return this.index.indexOf(e)},r.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},r.register=function(e){this.map[e.key]=e,e instanceof Ar?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof _r&&this.keyframes&&(this.keyframes[e.name]=e.id)},r.unregister=function(e){delete this.map[e.key],e instanceof Ar?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof _r&&delete this.keyframes[e.name]},r.update=function(){var e,i,o;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(e=arguments.length<=0?void 0:arguments[0],i=arguments.length<=1?void 0:arguments[1],o=arguments.length<=2?void 0:arguments[2]):(i=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),i,o);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],i,o)},r.updateOne=function(e,i,o){o===void 0&&(o=to);var a=this.options,s=a.jss.plugins,u=a.sheet;if(e.rules instanceof t){e.rules.update(i,o);return}var l=e.style;if(s.onUpdate(i,e,u,o),o.process&&l&&l!==e.style){s.onProcessStyle(e.style,e,u);for(var d in e.style){var v=e.style[d],N=l[d];v!==N&&e.prop(d,v,Yt)}for(var x in l){var E=e.style[x],R=l[x];E==null&&E!==R&&e.prop(x,null,Yt)}}},r.toString=function(e){for(var i="",o=this.options.sheet,a=o?o.options.link:!1,s=ce(e),u=s.linebreak,l=0;l<this.index.length;l++){var d=this.index[l],v=d.toString(e);!v&&!a||(i&&(i+=u),i+=v)}return i},t}(),Xt=function(){function t(n,e){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=j({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new be(this.options);for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var r=t.prototype;return r.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},r.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},r.addRule=function(e,i,o){var a=this.queue;this.attached&&!a&&(this.queue=[]);var s=this.rules.add(e,i,o);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(a?a.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},r.replaceRule=function(e,i,o){var a=this.rules.get(e);if(!a)return this.addRule(e,i,o);var s=this.rules.replace(e,i,o);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?a.renderable&&this.renderer.replaceRule(a.renderable,s):this.renderer.deleteRule(a)),s):(this.deployed=!1,s)},r.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},r.addRules=function(e,i){var o=[];for(var a in e){var s=this.addRule(a,e[a],i);s&&o.push(s)}return o},r.getRule=function(e){return this.rules.get(e)},r.deleteRule=function(e){var i=typeof e=="object"?e:this.rules.get(e);return!i||this.attached&&!i.renderable?!1:(this.rules.remove(i),this.attached&&i.renderable&&this.renderer?this.renderer.deleteRule(i.renderable):!0)},r.indexOf=function(e){return this.rules.indexOf(e)},r.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},r.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},r.updateOne=function(e,i,o){return this.rules.updateOne(e,i,o),this},r.toString=function(e){return this.rules.toString(e)},t}(),no=function(){function t(){this.plugins={internal:[],external:[]},this.registry={}}var r=t.prototype;return r.onCreateRule=function(e,i,o){for(var a=0;a<this.registry.onCreateRule.length;a++){var s=this.registry.onCreateRule[a](e,i,o);if(s)return s}return null},r.onProcessRule=function(e){if(!e.isProcessed){for(var i=e.options.sheet,o=0;o<this.registry.onProcessRule.length;o++)this.registry.onProcessRule[o](e,i);e.style&&this.onProcessStyle(e.style,e,i),e.isProcessed=!0}},r.onProcessStyle=function(e,i,o){for(var a=0;a<this.registry.onProcessStyle.length;a++)i.style=this.registry.onProcessStyle[a](i.style,i,o)},r.onProcessSheet=function(e){for(var i=0;i<this.registry.onProcessSheet.length;i++)this.registry.onProcessSheet[i](e)},r.onUpdate=function(e,i,o,a){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](e,i,o,a)},r.onChangeValue=function(e,i,o){for(var a=e,s=0;s<this.registry.onChangeValue.length;s++)a=this.registry.onChangeValue[s](a,i,o);return a},r.use=function(e,i){i===void 0&&(i={queue:"external"});var o=this.plugins[i.queue];o.indexOf(e)===-1&&(o.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,s){for(var u in s)u in a?a[u].push(s[u]):process.env.NODE_ENV!=="production"&&k(!1,'[JSS] Unknown hook "'+u+'".');return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),io=function(){function t(){this.registry=[]}var r=t.prototype;return r.add=function(e){var i=this.registry,o=e.options.index;if(i.indexOf(e)===-1){if(i.length===0||o>=this.index){i.push(e);return}for(var a=0;a<i.length;a++)if(i[a].options.index>o){i.splice(a,0,e);return}}},r.reset=function(){this.registry=[]},r.remove=function(e){var i=this.registry.indexOf(e);this.registry.splice(i,1)},r.toString=function(e){for(var i=e===void 0?{}:e,o=i.attached,a=ke(i,["attached"]),s=ce(a),u=s.linebreak,l="",d=0;d<this.registry.length;d++){var v=this.registry[d];o!=null&&v.attached!==o||(l&&(l+=u),l+=v.toString(a))}return l},Ye(t,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),t}(),ye=new io,Nr=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Ir="2f1acc6c3a606b082e5eef5e54414ffb";Nr[Ir]==null&&(Nr[Ir]=0);var Gt=Nr[Ir]++,oo=1e10,Mr=function(r){r===void 0&&(r={});var n=0,e=function(o,a){n+=1,n>oo&&process.env.NODE_ENV!=="production"&&k(!1,"[JSS] You might have a memory leak. Rule counter is at "+n+".");var s="",u="";return a&&(a.options.classNamePrefix&&(u=a.options.classNamePrefix),a.options.jss.id!=null&&(s=String(a.options.jss.id))),r.minify?""+(u||"c")+Gt+s+n:u+o.key+"-"+Gt+(s?"-"+s:"")+"-"+n};return e},Zt=function(r){var n;return function(){return n||(n=r()),n}},ao=function(r,n){try{return r.attributeStyleMap?r.attributeStyleMap.get(n):r.style.getPropertyValue(n)}catch{return""}},so=function(r,n,e){try{var i=e;if(Array.isArray(e)&&(i=Z(e)),r.attributeStyleMap)r.attributeStyleMap.set(n,i);else{var o=i?i.indexOf("!important"):-1,a=o>-1?i.substr(0,o-1):i;r.style.setProperty(n,a,o>-1?"important":"")}}catch{return!1}return!0},uo=function(r,n){try{r.attributeStyleMap?r.attributeStyleMap.delete(n):r.style.removeProperty(n)}catch(e){process.env.NODE_ENV!=="production"&&k(!1,'[JSS] DOMException "'+e.message+'" was thrown. Tried to remove property "'+n+'".')}},fo=function(r,n){return r.selectorText=n,r.selectorText===n},Qt=Zt(function(){return document.querySelector("head")});function lo(t,r){for(var n=0;n<t.length;n++){var e=t[n];if(e.attached&&e.options.index>r.index&&e.options.insertionPoint===r.insertionPoint)return e}return null}function co(t,r){for(var n=t.length-1;n>=0;n--){var e=t[n];if(e.attached&&e.options.insertionPoint===r.insertionPoint)return e}return null}function ho(t){for(var r=Qt(),n=0;n<r.childNodes.length;n++){var e=r.childNodes[n];if(e.nodeType===8&&e.nodeValue.trim()===t)return e}return null}function vo(t){var r=ye.registry;if(r.length>0){var n=lo(r,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=co(r,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var e=t.insertionPoint;if(e&&typeof e=="string"){var i=ho(e);if(i)return{parent:i.parentNode,node:i.nextSibling};process.env.NODE_ENV!=="production"&&k(!1,'[JSS] Insertion point "'+e+'" not found.')}return!1}function po(t,r){var n=r.insertionPoint,e=vo(r);if(e!==!1&&e.parent){e.parent.insertBefore(t,e.node);return}if(n&&typeof n.nodeType=="number"){var i=n,o=i.parentNode;o?o.insertBefore(t,i.nextSibling):process.env.NODE_ENV!=="production"&&k(!1,"[JSS] Insertion point is not in the DOM.");return}Qt().appendChild(t)}var mo=Zt(function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}),Ht=function(r,n,e){try{"insertRule"in r?r.insertRule(n,e):"appendRule"in r&&r.appendRule(n)}catch(i){return process.env.NODE_ENV!=="production"&&k(!1,"[JSS] "+i.message),!1}return r.cssRules[e]},Kt=function(r,n){var e=r.cssRules.length;return n===void 0||n>e?e:n},yo=function(){var r=document.createElement("style");return r.textContent=`
6
6
  `,r},go=function(){function t(n){this.getPropertyValue=ao,this.setProperty=so,this.removeProperty=uo,this.setSelector=fo,this.hasInsertedRules=!1,this.cssRules=[],n&&ye.add(n),this.sheet=n;var e=this.sheet?this.sheet.options:{},i=e.media,o=e.meta,a=e.element;this.element=a||yo(),this.element.setAttribute("data-jss",""),i&&this.element.setAttribute("media",i),o&&this.element.setAttribute("data-meta",o);var s=mo();s&&this.element.setAttribute("nonce",s)}var r=t.prototype;return r.attach=function(){if(!(this.element.parentNode||!this.sheet)){po(this.element,this.sheet.options);var e=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},r.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { FC, PropsWithChildren } from 'react';
3
- import { TeknifyClient } from '@tnf-dev/js';
3
+ import { TeknifyClient } from '@teknify/js';
4
4
 
5
5
  interface NotekProviderProps extends PropsWithChildren {
6
6
  applicationId: string;